The code has been refactored to use a different method for retrieving the S3 bucket name. Previously, the method getStateBucketName was used to obtain the bucket name, but it has been replaced with getObjectBucketName. This change ensures that the correct bucket name is used when fetching the object metadata from the S3 client
The code has been refactored to use a different method for retrieving the S3 bucket name. Previously, the method getStateBucketName was used to obtain the bucket name, but it has been replaced with getObjectBucketName. This change ensures that the correct bucket name is used when fetching the object metadata from the S3 client