lib/plugins/aws/customResources/resources/s3/lib/bucket.js/getConfiguration
function getConfiguration(config) {
  const { bucketName, region } = config;
  const s3 = new AWS.S3({ region });
  const Bucket = bucketName;
  const payload = {
    Bucket,
  };
  return s3
    .getBucketNotificationConfiguration(payload)
    .promise()
    .then(data => data);
}