```log
2023-05-24 13:16:46,354 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.11.21 Python/3.11.3 Linux/5.10.178-162.673.amzn2.x86_64 docker/x86_64.amzn.2
2023-05-24 13:16:46,354 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['s3api', 'put-object', '--bucket', 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3', '--key', 'test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv', '--body', 'annual-enterprise-survey-2021-financial-year-provisional-csv.csv', '--storage-class', 'STANDARD', '--debug']
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_s3 at 0x7f21c36f2e80>
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_ddb at 0x7f21c37300e0>
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.configure.configure.ConfigureCommand'>>
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x7f21c387bce0>
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x7f21c3893920>
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function alias_opsworks_cm at 0x7f21c36f93a0>
2023-05-24 13:16:46,366 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_history_commands at 0x7f21c376eac0>
2023-05-24 13:16:46,367 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.devcommands.CLIDevCommand'>>
2023-05-24 13:16:46,367 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_waiters at 0x7f21c36f9260>
2023-05-24 13:16:46,367 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7f21c35aab10>>
2023-05-24 13:16:46,367 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/data/cli.json
2023-05-24 13:16:46,369 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_types at 0x7f21c3644540>
2023-05-24 13:16:46,369 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function no_sign_request at 0x7f21c3644860>
2023-05-24 13:16:46,369 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_verify_ssl at 0x7f21c36447c0>
2023-05-24 13:16:46,369 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_read_timeout at 0x7f21c36449a0>
2023-05-24 13:16:46,369 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_connect_timeout at 0x7f21c3644900>
2023-05-24 13:16:46,369 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <built-in method update of dict object at 0x7f21c35a8580>
2023-05-24 13:16:46,370 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.11.21 Python/3.11.3 Linux/5.10.178-162.673.amzn2.x86_64 docker/x86_64.amzn.2 prompt/off
2023-05-24 13:16:46,370 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['s3api', 'put-object', '--bucket', 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3', '--key', 'test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv', '--body', 'annual-enterprise-survey-2021-financial-year-provisional-csv.csv', '--storage-class', 'STANDARD', '--debug']
2023-05-24 13:16:46,370 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x7f21c36f37e0>
2023-05-24 13:16:46,370 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x7f21c3c574c0>
2023-05-24 13:16:46,370 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x7f21c35728e0>
2023-05-24 13:16:46,371 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function no_pager_handler at 0x7f21c3c33ce0>
2023-05-24 13:16:46,371 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x7f21c3ca0e00>
2023-05-24 13:16:46,372 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/
2023-05-24 13:16:46,374 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x7f21c3763380>
2023-05-24 13:16:46,374 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x7f21c3720360>
2023-05-24 13:16:46,387 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/data/s3/2006-03-01/service-2.json
2023-05-24 13:16:46,399 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3api: calling handler <function add_waiters at 0x7f21c36f9260>
2023-05-24 13:16:46,410 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/data/s3/2006-03-01/waiters-2.json
2023-05-24 13:16:46,410 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3api: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7f21c35aab10>>
2023-05-24 13:16:46,411 - MainThread - awscli.clidriver - DEBUG - OrderedDict([('acl', <awscli.arguments.CLIArgument object at 0x7f21c27ce750>), ('body', <awscli.arguments.CLIArgument object at 0x7f21c29100d0>), ('bucket', <awscli.arguments.CLIArgument object at 0x7f21c2910250>), ('cache-control', <awscli.arguments.CLIArgument object at 0x7f21c2910390>), ('content-disposition', <awscli.arguments.CLIArgument object at 0x7f21c2910490>), ('content-encoding', <awscli.arguments.CLIArgument object at 0x7f21c29105d0>), ('content-language', <awscli.arguments.CLIArgument object at 0x7f21c2910690>), ('content-length', <awscli.arguments.CLIArgument object at 0x7f21c2910850>), ('content-md5', <awscli.arguments.CLIArgument object at 0x7f21c2910950>), ('content-type', <awscli.arguments.CLIArgument object at 0x7f21c2910b90>), ('checksum-algorithm', <awscli.arguments.CLIArgument object at 0x7f21c2910d10>), ('checksum-crc32', <awscli.arguments.CLIArgument object at 0x7f21c2910e90>), ('checksum-crc32-c', <awscli.arguments.CLIArgument object at 0x7f21c2911110>), ('checksum-sha1', <awscli.arguments.CLIArgument object at 0x7f21c2911250>), ('checksum-sha256', <awscli.arguments.CLIArgument object at 0x7f21c2911490>), ('expires', <awscli.arguments.CLIArgument object at 0x7f21c2911710>), ('grant-full-control', <awscli.arguments.CLIArgument object at 0x7f21c2911810>), ('grant-read', <awscli.arguments.CLIArgument object at 0x7f21c2911910>), ('grant-read-acp', <awscli.arguments.CLIArgument object at 0x7f21c2911ad0>), ('grant-write-acp', <awscli.arguments.CLIArgument object at 0x7f21c2911cd0>), ('key', <awscli.arguments.CLIArgument object at 0x7f21c2911f50>), ('metadata', <awscli.arguments.CLIArgument object at 0x7f21c29120d0>), ('server-side-encryption', <awscli.arguments.CLIArgument object at 0x7f21c2912250>), ('storage-class', <awscli.arguments.CLIArgument object at 0x7f21c2912490>), ('website-redirect-location', <awscli.arguments.CLIArgument object at 0x7f21c2912590>), ('sse-customer-algorithm', <awscli.arguments.CLIArgument object at 0x7f21c2912650>), ('sse-customer-key', <awscli.arguments.CLIArgument object at 0x7f21c2912610>), ('sse-customer-key-md5', <awscli.arguments.CLIArgument object at 0x7f21c2912850>), ('ssekms-key-id', <awscli.arguments.CLIArgument object at 0x7f21c2912990>), ('ssekms-encryption-context', <awscli.arguments.CLIArgument object at 0x7f21c2911650>), ('bucket-key-enabled', <awscli.arguments.BooleanArgument object at 0x7f21c2912bd0>), ('no-bucket-key-enabled', <awscli.arguments.BooleanArgument object at 0x7f21c2784510>), ('request-payer', <awscli.arguments.CLIArgument object at 0x7f21c2912d10>), ('tagging', <awscli.arguments.CLIArgument object at 0x7f21c2912e90>), ('object-lock-mode', <awscli.arguments.CLIArgument object at 0x7f21c2912fd0>), ('object-lock-retain-until-date', <awscli.arguments.CLIArgument object at 0x7f21c2913090>), ('object-lock-legal-hold-status', <awscli.arguments.CLIArgument object at 0x7f21c2913110>), ('expected-bucket-owner', <awscli.arguments.CLIArgument object at 0x7f21c2913290>)])
2023-05-24 13:16:46,412 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.put-object: calling handler <function add_streaming_output_arg at 0x7f21c36f3ce0>
2023-05-24 13:16:46,412 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.put-object: calling handler <function add_cli_input_json at 0x7f21c3ca13a0>
2023-05-24 13:16:46,412 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.put-object: calling handler <function add_cli_input_yaml at 0x7f21c3ca1760>
2023-05-24 13:16:46,412 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.put-object: calling handler <function unify_paging_params at 0x7f21c3730720>
2023-05-24 13:16:46,423 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/data/s3/2006-03-01/paginators-1.json
2023-05-24 13:16:46,424 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.s3api.put-object: calling handler <function add_generate_skeleton at 0x7f21c361ad40>
2023-05-24 13:16:46,424 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.s3api.put-object: calling handler <bound method OverrideRequiredArgsArgument.override_required_args of <awscli.customizations.cliinput.CliInputJSONArgument object at 0x7f21c2913590>>
2023-05-24 13:16:46,424 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.s3api.put-object: calling handler <bound method OverrideRequiredArgsArgument.override_required_args of <awscli.customizations.cliinput.CliInputYAMLArgument object at 0x7f21c2779b10>>
2023-05-24 13:16:46,424 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.s3api.put-object: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x7f21c27aa590>>
2023-05-24 13:16:46,424 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3api_put-object: calling handler <function add_waiters at 0x7f21c36f9260>
2023-05-24 13:16:46,424 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3api_put-object: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x7f21c35aab10>>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.acl: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.body: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.s3.put-object: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f21c3c77e90>
2023-05-24 13:16:46,426 - MainThread - awscli.arguments - DEBUG - Unpacked value of 'annual-enterprise-survey-2021-financial-year-provisional-csv.csv' for parameter "body": <_io.BufferedReader name='annual-enterprise-survey-2021-financial-year-provisional-csv.csv'>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.bucket: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.s3.put-object: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f21c3c77e90>
2023-05-24 13:16:46,426 - MainThread - awscli.arguments - DEBUG - Unpacked value of 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3' for parameter "bucket": 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3'
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.cache-control: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.content-disposition: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,426 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.content-encoding: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.content-language: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.content-length: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.content-md5: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.content-type: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.checksum-algorithm: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.checksum-crc32: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.checksum-crc32-c: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.checksum-sha1: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.checksum-sha256: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.expires: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.grant-full-control: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,427 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.grant-read: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.grant-read-acp: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.grant-write-acp: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.key: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.s3.put-object: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f21c3c77e90>
2023-05-24 13:16:46,428 - MainThread - awscli.arguments - DEBUG - Unpacked value of 'test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv' for parameter "key": 'test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv'
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.metadata: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.server-side-encryption: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.storage-class: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.s3.put-object: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f21c3c77e90>
2023-05-24 13:16:46,428 - MainThread - awscli.arguments - DEBUG - Unpacked value of 'STANDARD' for parameter "storage_class": 'STANDARD'
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.website-redirect-location: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.sse-customer-algorithm: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,428 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.sse-customer-key: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.sse-customer-key-md5: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.ssekms-key-id: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.ssekms-encryption-context: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.bucket-key-enabled: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.request-payer: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.tagging: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.object-lock-mode: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.object-lock-retain-until-date: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.object-lock-legal-hold-status: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.expected-bucket-owner: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,429 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.cli-input-json: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,430 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.cli-input-yaml: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,430 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.s3.put-object.generate-cli-skeleton: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f21c35d4b10>
2023-05-24 13:16:46,430 - MainThread - botocore.hooks - DEBUG - Event calling-command.s3api.put-object: calling handler <bound method CliInputArgument.add_to_call_parameters of <awscli.customizations.cliinput.CliInputJSONArgument object at 0x7f21c2913590>>
2023-05-24 13:16:46,430 - MainThread - botocore.hooks - DEBUG - Event calling-command.s3api.put-object: calling handler <bound method CliInputArgument.add_to_call_parameters of <awscli.customizations.cliinput.CliInputYAMLArgument object at 0x7f21c2779b10>>
2023-05-24 13:16:46,430 - MainThread - botocore.hooks - DEBUG - Event calling-command.s3api.put-object: calling handler <bound method GenerateCliSkeletonArgument.generate_skeleton of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x7f21c27aa590>>
2023-05-24 13:16:46,430 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: env
2023-05-24 13:16:46,430 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role
2023-05-24 13:16:46,430 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role-with-web-identity
2023-05-24 13:16:46,430 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: sso
2023-05-24 13:16:46,430 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file
2023-05-24 13:16:46,431 - MainThread - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials
2023-05-24 13:16:46,432 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/data/endpoints.json
2023-05-24 13:16:46,446 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f21c58e4540>
2023-05-24 13:16:46,459 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/data/s3/2006-03-01/endpoint-rule-set-1.json
2023-05-24 13:16:46,464 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/data/partitions.json
2023-05-24 13:16:46,466 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f21c60ea700>
2023-05-24 13:16:46,466 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f21c60ea480>
2023-05-24 13:16:46,470 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60)
2023-05-24 13:16:46,472 - MainThread - botocore.utils - DEBUG - Registering S3 region redirector handler
2023-05-24 13:16:46,472 - MainThread - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler <function customize_endpoint_resolver_builtins at 0x7f21c596e480>
2023-05-24 13:16:46,472 - MainThread - botocore.hooks - DEBUG - Event before-endpoint-resolution.s3: calling handler <bound method S3RegionRedirectorv2.redirect_from_cache of <botocore.utils.S3RegionRedirectorv2 object at 0x7f21c23a0210>>
2023-05-24 13:16:46,473 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Bucket': 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3', 'Region': 'ap-northeast-1', 'UseFIPS': False, 'UseDualStack': False, 'ForcePathStyle': False, 'Accelerate': False, 'UseGlobalEndpoint': False, 'DisableMultiRegionAccessPoints': False, 'UseArnRegion': True}
2023-05-24 13:16:46,473 - MainThread - botocore.regions - DEBUG - Endpoint provider result: https://ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3.op-01427051a3dc18b69.s3-outposts.ap-northeast-1.amazonaws.com
2023-05-24 13:16:46,473 - MainThread - botocore.regions - DEBUG - Selecting from endpoint provider's list of auth schemes: "sigv4". User selected auth scheme is: "None"
2023-05-24 13:16:46,473 - MainThread - botocore.regions - DEBUG - Selected auth type "v4" as "v4" with signing context params: {'region': 'ap-northeast-1', 'signing_name': 's3-outposts', 'disableDoubleEncoding': True}
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.s3.PutObject: calling handler <function base64_decode_input_blobs at 0x7f21c3572980>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function validate_ascii_metadata at 0x7f21c596cfe0>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function sse_md5 at 0x7f21c596c2c0>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function convert_body_to_file_like_object at 0x7f21c596d9e0>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function validate_bucket_name at 0x7f21c596c220>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function remove_bucket_from_url_paths_from_model at 0x7f21c596e2a0>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <bound method S3RegionRedirectorv2.annotate_request_context of <botocore.utils.S3RegionRedirectorv2 object at 0x7f21c23a0210>>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function generate_idempotent_uuid at 0x7f21c596c040>
2023-05-24 13:16:46,474 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler <function conditionally_calculate_md5 at 0x7f21c642aac0>
2023-05-24 13:16:46,487 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler <function add_expect_header at 0x7f21c596c5e0>
2023-05-24 13:16:46,487 - MainThread - botocore.handlers - DEBUG - Adding expect 100 continue header to request.
2023-05-24 13:16:46,487 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler <function inject_api_version_header_if_needed at 0x7f21c596db20>
2023-05-24 13:16:46,487 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=PutObject) with params: {'url_path': '/test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv', 'query_string': {}, 'method': 'PUT', 'headers': {'x-amz-storage-class': 'STANDARD', 'User-Agent': 'aws-cli/2.11.21 Python/3.11.3 Linux/5.10.178-162.673.amzn2.x86_64 docker/x86_64.amzn.2 prompt/off command/s3api.put-object', 'Content-MD5': '51JgAkMTlMqiqj/BGg8Jyg==', 'Expect': '100-continue'}, 'body': <_io.BufferedReader name='annual-enterprise-survey-2021-financial-year-provisional-csv.csv'>, 'auth_path': '/ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3/test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv', 'url': 'https://ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3.op-01427051a3dc18b69.s3-outposts.ap-northeast-1.amazonaws.com/test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv', 'context': {'client_region': 'ap-northeast-1', 'client_config': <botocore.config.Config object at 0x7f21c35ac8d0>, 'has_streaming_input': True, 'auth_type': 'v4', 'signing': {'region': 'ap-northeast-1', 'signing_name': 's3-outposts', 'disableDoubleEncoding': True}, 's3_redirect': {'redirected': False, 'bucket': 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3', 'params': {'Body': <_io.BufferedReader name='annual-enterprise-survey-2021-financial-year-provisional-csv.csv'>, 'Bucket': 'ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3', 'Key': 'test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv', 'StorageClass': 'STANDARD'}}}}
2023-05-24 13:16:46,487 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f21c276bed0>>
2023-05-24 13:16:46,487 - MainThread - botocore.hooks - DEBUG - Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x7f21c594fec0>
2023-05-24 13:16:46,487 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.PutObject: calling handler <function remove_arn_from_signing_path at 0x7f21c596e3e0>
2023-05-24 13:16:46,488 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2023-05-24 13:16:46,488 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
PUT
/test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv
content-md5:51JgAkMTlMqiqj/BGg8Jyg==
host:ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3.op-01427051a3dc18b69.s3-outposts.ap-northeast-1.amazonaws.com
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20230524T131646Z
x-amz-storage-class:STANDARD
content-md5;host;x-amz-content-sha256;x-amz-date;x-amz-storage-class
UNSIGNED-PAYLOAD
2023-05-24 13:16:46,488 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20230524T131646Z
20230524/ap-northeast-1/s3-outposts/aws4_request
336a1a9ca339d691e57377d29ecfb0382180f4b46d3be7dcb1827a51b48d185a
2023-05-24 13:16:46,488 - MainThread - botocore.auth - DEBUG - Signature:
fb55a1034cb517bd5fbfff3a5241ea2071d9bf3320b103596c284972b4000d5e
2023-05-24 13:16:46,488 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=PUT, url=https://ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3.op-01427051a3dc18b69.s3-outposts.ap-northeast-1.amazonaws.com/test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv, headers={'x-amz-storage-class': b'STANDARD', 'User-Agent': b'aws-cli/2.11.21 Python/3.11.3 Linux/5.10.178-162.673.amzn2.x86_64 docker/x86_64.amzn.2 prompt/off command/s3api.put-object', 'Content-MD5': b'51JgAkMTlMqiqj/BGg8Jyg==', 'Expect': b'100-continue', 'X-Amz-Date': b'20230524T131646Z', 'X-Amz-Content-SHA256': b'UNSIGNED-PAYLOAD', 'Authorization': b'AWS4-HMAC-SHA256 Credential=AKIAYR27EH6MARMG5SZK/20230524/ap-northeast-1/s3-outposts/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date;x-amz-storage-class, Signature=fb55a1034cb517bd5fbfff3a5241ea2071d9bf3320b103596c284972b4000d5e', 'Content-Length': '6617174'}>
2023-05-24 13:16:46,489 - MainThread - botocore.httpsession - DEBUG - Certificate path: /usr/local/aws-cli/v2/2.11.21/dist/awscli/botocore/cacert.pem
2023-05-24 13:16:46,489 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3.op-01427051a3dc18b69.s3-outposts.ap-northeast-1.amazonaws.com:443
2023-05-24 13:16:46,543 - MainThread - botocore.awsrequest - DEBUG - Waiting for 100 Continue response.
2023-05-24 13:16:46,869 - MainThread - botocore.awsrequest - DEBUG - Received a non 100 Continue response from the server, NOT sending request body.
2023-05-24 13:16:46,869 - MainThread - urllib3.connectionpool - DEBUG - https://ipass-datala-o01427051a3dc18b69nmaa8betpfvhubhf2siqapn10--op-s3.op-01427051a3dc18b69.s3-outposts.ap-northeast-1.amazonaws.com:443 "PUT /test/annual-enterprise-survey-2021-financial-year-provisional-csv.csv HTTP/1.1" 400 356
2023-05-24 13:16:46,870 - MainThread - botocore.parsers - DEBUG - Response headers: {'Content-Type': 'application/xml', 'Server': 'AmazonS3', 'x-amz-id-2': '0r2IV18Qxq7fXPBU41XX17ImyVYyB3dYCQBiHiNkjm7FUetZlb4HRU3FztNhmhZGhKUk+AAU+wnQrw6j2v/UsyYR+ZaegOC/', 'x-amz-request-id': 'A8280A188BD2A92E', 'Date': 'Wed, 24 May 2023 13:16:46 GMT', 'Content-Length': '356', 'Connection': 'close'}
2023-05-24 13:16:46,870 - MainThread - botocore.parsers - DEBUG - Response body:
b'<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InvalidStorageClass</Code><Message>The storage class you specified is not valid</Message><StorageClassRequested>STANDARD</StorageClassRequested><RequestId>A8280A188BD2A92E</RequestId><HostId>0r2IV18Qxq7fXPBU41XX17ImyVYyB3dYCQBiHiNkjm7FUetZlb4HRU3FztNhmhZGhKUk+AAU+wnQrw6j2v/UsyYR+ZaegOC/</HostId></Error>'
2023-05-24 13:16:46,872 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x7f21c23bb7d0>>
2023-05-24 13:16:46,872 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2023-05-24 13:16:46,872 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirectorv2.redirect_from_error of <botocore.utils.S3RegionRedirectorv2 object at 0x7f21c23a0210>>
2023-05-24 13:16:46,872 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.PutObject: calling handler <function enhance_error_msg at 0x7f21c36f3420>
2023-05-24 13:16:46,872 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.PutObject: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x7f21c355d690>>
2023-05-24 13:16:46,873 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
File "awscli/clidriver.py", line 460, in main
File "awscli/clidriver.py", line 595, in __call__
File "awscli/clidriver.py", line 798, in __call__
File "awscli/clidriver.py", line 929, in invoke
File "awscli/clidriver.py", line 941, in _make_client_call
File "awscli/botocore/client.py", line 341, in _api_call
File "awscli/botocore/client.py", line 697, in _make_api_call
botocore.exceptions.ClientError: An error occurred (InvalidStorageClass) when calling the PutObject operation: The storage class you specified is not valid
An error occurred (InvalidStorageClass) when calling the PutObject operation: The storage class you specified is not valid
```