Error thrown

Class 'Aws\S3\BucketEndpointArnLiddleware' not found