InvalidArgumentException: Found 1 error while validating the input provided for the ListObjectsV2 operation: [Bucket] is missing and is a required parameter in /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Api/Validator.php:65 Stack trace: #0 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Middleware.php(88): Aws\Api\Validator->validate('ListObjectsV2', Object(Aws\Api\StructureShape), Array) #1 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(639): Aws\Middleware::Aws\{closure}(Object(Aws\Command), NULL) #2 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(662): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #3 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(596): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #4 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(615): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #5 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Middleware.php(58): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #6 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/SSECMiddleware.php(59): Aws\Middleware::Aws\{closure}(Object(Aws\Command), NULL) #7 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/IdempotencyTokenMiddleware.php(77): Aws\S3\SSECMiddleware->__invoke(Object(Aws\Command), NULL) #8 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(64): Aws\IdempotencyTokenMiddleware->__invoke(Object(Aws\Command)) #9 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(58): Aws\AwsClient->executeAsync(Object(Aws\Command)) #10 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(86): Aws\AwsClient->execute(Object(Aws\Command)) #11 /home/eshancollegemgmt/public_html/s3_scripts/count_file_in_s3.php(46): Aws\AwsClient->__call('listObjectsV2', Array) #12 {main}