Ensure that following AWS permissions are assigned to top level resource and buckets resource.
Following in an example of policy with VSR (Veritas System Recovery) required permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListAllMyBuckets",
"s3:CreateBucket",
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject",
"s3:RestoreObject",
],
"Resource": [
"arn:aws:s3:::BucketName/*"
]
}
]
}
NOTE - If above permissions are not assigned the configuration may fail with error - "The server was unable to complete the requested operation."