Command outputs incorrect number of records
Describe the bug
The following command:
aws --profile REDACTED lambda list-layer-versions --layer-name REDACTED --query 'LayerVersions[0]' --output text
outputs 2 lines instead of just 1:
2024-09-03T18:01:38.874+0000 arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:65 65
2024-03-12T15:44:03.797+0000 arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:15 15
The same command that has --output option set to json or yaml outputs the correct number of records.
Expected Behavior
The command outputs the correct number of records.
Current Behavior
The command outputs the incorrect number of records
Reproduction Steps
See description
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.15.43
Environment details (OS name and version, etc.)
aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64 prompt/off
Thanks for reaching out. I tried to reproduce this issue but wasn't able to. I tested on 2.15.43 as well as a more recent version and got the same results, when running:
aws lambda list-layer-versions --layer-name mylayer --query 'LayerVersions[0]' --output text
I get:
2023-11-29T16:49:34.419+0000 arn:aws:lambda:us-west-2:<account-id>:layer:mylayer:7 7
COMPATIBLERUNTIMES python3.11
Could you provide debug logs (with any sensitive info redacted) by adding --debug to help with investigating the issue? I'm wondering if there's something like a pagination configuration that could explain the discrepancy here.
2024-09-04 09:26:33,768 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64
2024-09-04 09:26:33,768 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['--profile', 'REDACTED', 'lambda', 'list-layer-versions', '--layer-name', 'REDACTED', '--query', 'LayerVersions[0]', '--output', 'text', '--debug']
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_s3 at 0x10775af20>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_ddb at 0x1075823e0>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.configure.configure.ConfigureCommand'>>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x1074d6ca0>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x107504360>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function alias_opsworks_cm at 0x10776afc0>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_history_commands at 0x1075e5580>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.devcommands.CLIDevCommand'>>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_waiters at 0x107769f80>
2024-09-04 09:26:33,803 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x107821090>>
2024-09-04 09:26:33,803 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/data/cli.json
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_types at 0x107698ea0>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function no_sign_request at 0x1076991c0>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_verify_ssl at 0x107699120>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_read_timeout at 0x107699300>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_connect_timeout at 0x107699260>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <built-in method update of dict object at 0x10781a400>
2024-09-04 09:26:33,804 - MainThread - botocore.session - DEBUG - Setting config variable for profile to 'REDACTED'
2024-09-04 09:26:33,804 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64 prompt/off
2024-09-04 09:26:33,804 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['--profile', 'REDACTED', 'lambda', 'list-layer-versions', '--layer-name', 'REDACTED', '--query', 'LayerVersions[0]', '--output', 'text', '--debug']
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x10775b920>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x106f9f560>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x1077e84a0>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function no_pager_handler at 0x106e52de0>
2024-09-04 09:26:33,804 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x106fb7420>
2024-09-04 09:26:33,805 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/
2024-09-04 09:26:33,812 - MainThread - botocore.credentials - DEBUG - Skipping environment variable credential check because profile name was explicitly set.
2024-09-04 09:26:33,812 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x1075e4d60>
2024-09-04 09:26:33,812 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x10755e480>
2024-09-04 09:26:33,826 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/data/lambda/2015-03-31/service-2.json
2024-09-04 09:26:33,830 - MainThread - botocore.hooks - DEBUG - Event building-command-table.lambda: calling handler functools.partial(<function _remove_commands at 0x1076b5440>, commands_to_remove=['invoke-with-response-stream'])
2024-09-04 09:26:33,830 - MainThread - awscli.customizations.removals - DEBUG - Removing operation: invoke-with-response-stream
2024-09-04 09:26:33,830 - MainThread - botocore.hooks - DEBUG - Event building-command-table.lambda: calling handler <function _add_wizard_command at 0x1077d3380>
2024-09-04 09:26:33,830 - MainThread - botocore.hooks - DEBUG - Event building-command-table.lambda: calling handler <function add_waiters at 0x107769f80>
2024-09-04 09:26:33,844 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/data/lambda/2015-03-31/waiters-2.json
2024-09-04 09:26:33,844 - MainThread - botocore.hooks - DEBUG - Event building-command-table.lambda: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x107821090>>
2024-09-04 09:26:33,844 - MainThread - awscli.clidriver - DEBUG - OrderedDict([('compatible-runtime', <awscli.arguments.CLIArgument object at 0x107a19e10>), ('layer-name', <awscli.arguments.CLIArgument object at 0x107a1a090>), ('marker', <awscli.arguments.CLIArgument object at 0x107a1a2d0>), ('max-items', <awscli.arguments.CLIArgument object at 0x107a1a450>), ('compatible-architecture', <awscli.arguments.CLIArgument object at 0x107a1a650>)])
2024-09-04 09:26:33,844 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.lambda.list-layer-versions: calling handler <function add_streaming_output_arg at 0x10775bf60>
2024-09-04 09:26:33,844 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.lambda.list-layer-versions: calling handler <function add_cli_input_json at 0x106fd0180>
2024-09-04 09:26:33,844 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.lambda.list-layer-versions: calling handler <function add_cli_input_yaml at 0x106fd0220>
2024-09-04 09:26:33,845 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.lambda.list-layer-versions: calling handler <function unify_paging_params at 0x107582b60>
2024-09-04 09:26:33,859 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/data/lambda/2015-03-31/paginators-1.json
2024-09-04 09:26:33,859 - MainThread - awscli.customizations.paginate - DEBUG - Modifying paging parameters for operation: ListLayerVersions
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.lambda.list-layer-versions: calling handler <function add_generate_skeleton at 0x107677560>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.lambda.list-layer-versions: calling handler <bound method OverrideRequiredArgsArgument.override_required_args of <awscli.customizations.cliinput.CliInputJSONArgument object at 0x107a1a950>>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.lambda.list-layer-versions: calling handler <bound method OverrideRequiredArgsArgument.override_required_args of <awscli.customizations.cliinput.CliInputYAMLArgument object at 0x106c49150>>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.lambda.list-layer-versions: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x107a2d650>>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event building-command-table.lambda_list-layer-versions: calling handler <function add_waiters at 0x107769f80>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event building-command-table.lambda_list-layer-versions: calling handler <bound method AliasSubCommandInjector.on_building_command_table of <awscli.alias.AliasSubCommandInjector object at 0x107821090>>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event operation-args-parsed.lambda.list-layer-versions: calling handler functools.partial(<function check_should_enable_pagination at 0x107582ca0>, ['marker', 'max-items'], {'max-items': <awscli.arguments.CLIArgument object at 0x107a1a450>}, OrderedDict([('compatible-runtime', <awscli.arguments.CLIArgument object at 0x107a19e10>), ('layer-name', <awscli.arguments.CLIArgument object at 0x107a1a090>), ('marker', <awscli.arguments.CLIArgument object at 0x107a1a2d0>), ('max-items', <awscli.customizations.paginate.PageArgument object at 0x107a2d290>), ('compatible-architecture', <awscli.arguments.CLIArgument object at 0x107a1a650>), ('cli-input-json', <awscli.customizations.cliinput.CliInputJSONArgument object at 0x107a1a950>), ('cli-input-yaml', <awscli.customizations.cliinput.CliInputYAMLArgument object at 0x106c49150>), ('starting-token', <awscli.customizations.paginate.PageArgument object at 0x107a1ffd0>), ('page-size', <awscli.customizations.paginate.PageArgument object at 0x107a2d190>), ('generate-cli-skeleton', <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x107a2d650>)]))
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.compatible-runtime: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.layer-name: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.lambda.list-layer-versions: calling handler <awscli.argprocess.ParamShorthandParser object at 0x106e96fd0>
2024-09-04 09:26:33,859 - MainThread - awscli.arguments - DEBUG - Unpacked value of 'REDACTED' for parameter "layer_name": 'REDACTED'
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.marker: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.max-items: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.compatible-architecture: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.cli-input-json: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.cli-input-yaml: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,859 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.starting-token: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,860 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.page-size: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,860 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.lambda.list-layer-versions.generate-cli-skeleton: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10638bbd0>
2024-09-04 09:26:33,860 - MainThread - botocore.hooks - DEBUG - Event calling-command.lambda.list-layer-versions: calling handler <bound method CliInputArgument.add_to_call_parameters of <awscli.customizations.cliinput.CliInputJSONArgument object at 0x107a1a950>>
2024-09-04 09:26:33,860 - MainThread - botocore.hooks - DEBUG - Event calling-command.lambda.list-layer-versions: calling handler <bound method CliInputArgument.add_to_call_parameters of <awscli.customizations.cliinput.CliInputYAMLArgument object at 0x106c49150>>
2024-09-04 09:26:33,860 - MainThread - botocore.hooks - DEBUG - Event calling-command.lambda.list-layer-versions: calling handler <bound method GenerateCliSkeletonArgument.generate_skeleton of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x107a2d650>>
2024-09-04 09:26:33,860 - MainThread - botocore.hooks - DEBUG - Event calling-command.lambda.list-layer-versions: calling handler functools.partial(<function check_should_enable_pagination_call_parameters at 0x107583100>, ['Marker', 'MaxItems'])
2024-09-04 09:26:33,861 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role
2024-09-04 09:26:33,861 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role-with-web-identity
2024-09-04 09:26:33,861 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: sso
2024-09-04 09:26:33,861 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file
2024-09-04 09:26:33,861 - MainThread - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials
2024-09-04 09:26:33,862 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/data/endpoints.json
2024-09-04 09:26:33,868 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x106137b00>
2024-09-04 09:26:33,880 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/data/lambda/2015-03-31/endpoint-rule-set-1.json
2024-09-04 09:26:33,880 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/data/partitions.json
2024-09-04 09:26:33,881 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.lambda: calling handler <function add_generate_presigned_url at 0x10608c360>
2024-09-04 09:26:33,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for lambda via: environment_service
2024-09-04 09:26:33,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for lambda via: environment_global
2024-09-04 09:26:33,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for lambda via: config_service
2024-09-04 09:26:33,881 - MainThread - botocore.configprovider - DEBUG - Looking for endpoint for lambda via: config_global
2024-09-04 09:26:33,881 - MainThread - botocore.configprovider - DEBUG - No configured endpoint found.
2024-09-04 09:26:33,882 - MainThread - botocore.endpoint - DEBUG - Setting lambda timeout as (60, 60)
2024-09-04 09:26:33,883 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Region': 'us-east-1', 'UseDualStack': False, 'UseFIPS': False}
2024-09-04 09:26:33,883 - MainThread - botocore.regions - DEBUG - Endpoint provider result: https://lambda.us-east-1.amazonaws.com
2024-09-04 09:26:33,883 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.lambda.ListLayerVersions: calling handler <function base64_decode_input_blobs at 0x1077e8540>
2024-09-04 09:26:33,883 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.lambda.ListLayerVersions: calling handler <function generate_idempotent_uuid at 0x106165f80>
2024-09-04 09:26:33,883 - MainThread - botocore.hooks - DEBUG - Event before-call.lambda.ListLayerVersions: calling handler <function inject_api_version_header_if_needed at 0x106167a60>
2024-09-04 09:26:33,883 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=ListLayerVersions) with params: {'url_path': '/2018-10-31/layers/REDACTED/versions', 'query_string': {}, 'method': 'GET', 'headers': {'User-Agent': 'aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64 prompt/off command/lambda.list-layer-versions'}, 'body': b'', 'url': 'https://lambda.us-east-1.amazonaws.com/2018-10-31/layers/REDACTED/versions', 'context': {'client_region': 'us-east-1', 'client_config': <botocore.config.Config object at 0x107f50d10>, 'has_streaming_input': False, 'auth_type': None}}
2024-09-04 09:26:33,883 - MainThread - botocore.hooks - DEBUG - Event request-created.lambda.ListLayerVersions: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x107bfdbd0>>
2024-09-04 09:26:33,883 - MainThread - botocore.hooks - DEBUG - Event choose-signer.lambda.ListLayerVersions: calling handler <function set_operation_specific_signer at 0x106165e40>
2024-09-04 09:26:33,883 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2024-09-04 09:26:33,883 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
GET
/2018-10-31/layers/REDACTED/versions
host:lambda.us-east-1.amazonaws.com
x-amz-date:20240904T162633Z
host;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2024-09-04 09:26:33,883 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20240904T162633Z
20240904/us-east-1/lambda/aws4_request
REDACTED
2024-09-04 09:26:33,883 - MainThread - botocore.auth - DEBUG - Signature:
REDACTED
2024-09-04 09:26:33,883 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=https://lambda.us-east-1.amazonaws.com/2018-10-31/layers/REDACTED/versions, headers={'User-Agent': b'aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64 prompt/off command/lambda.list-layer-versions', 'X-Amz-Date': b'20240904T162633Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=REDACTED/20240904/us-east-1/lambda/aws4_request, SignedHeaders=host;x-amz-date, Signature=REDACTED'}>
2024-09-04 09:26:33,883 - MainThread - botocore.httpsession - DEBUG - Certificate path: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/cacert.pem
2024-09-04 09:26:33,883 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com:443
2024-09-04 09:26:34,516 - MainThread - urllib3.connectionpool - DEBUG - https://lambda.us-east-1.amazonaws.com:443 "GET /2018-10-31/layers/REDACTED/versions HTTP/1.1" 200 12219
2024-09-04 09:26:34,517 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Wed, 04 Sep 2024 16:26:34 GMT', 'Content-Type': 'application/json', 'Content-Length': '12219', 'Connection': 'keep-alive', 'x-amzn-RequestId': '86c9f5b8-5c4b-4eb8-8ad8-72790f361ebd'}
2024-09-04 09:26:34,517 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"LayerVersions":[{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:67","Version":67,"CreatedDate":"2024-09-04T16:16:40.165+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:66","Version":66,"CreatedDate":"2024-09-03T21:10:52.415+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:65","Version":65,"CreatedDate":"2024-09-03T18:01:38.874+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:64","Version":64,"CreatedDate":"2024-09-03T18:00:32.675+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:63","Version":63,"CreatedDate":"2024-09-03T17:45:31.981+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:62","Version":62,"CreatedDate":"2024-09-03T17:36:46.955+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:61","Version":61,"CreatedDate":"2024-09-03T17:26:03.425+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:60","Version":60,"CreatedDate":"2024-09-03T17:19:16.509+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:59","Version":59,"CreatedDate":"2024-09-03T16:11:01.756+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:58","Version":58,"CreatedDate":"2024-09-03T16:07:20.731+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:57","Version":57,"CreatedDate":"2024-09-03T16:03:23.596+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:56","Version":56,"CreatedDate":"2024-09-03T15:41:21.544+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:55","Version":55,"CreatedDate":"2024-09-02T06:55:21.684+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:54","Version":54,"CreatedDate":"2024-08-29T08:47:32.796+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:53","Version":53,"CreatedDate":"2024-08-28T16:11:33.532+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:52","Version":52,"CreatedDate":"2024-08-21T21:35:05.678+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:51","Version":51,"CreatedDate":"2024-08-21T21:20:43.198+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:50","Version":50,"CreatedDate":"2024-08-21T21:17:25.125+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:49","Version":49,"CreatedDate":"2024-08-21T20:06:14.458+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:48","Version":48,"CreatedDate":"2024-08-21T19:50:45.221+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:47","Version":47,"CreatedDate":"2024-08-21T19:42:21.639+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:46","Version":46,"CreatedDate":"2024-08-20T19:49:14.527+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:45","Version":45,"CreatedDate":"2024-08-20T18:16:01.639+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:44","Version":44,"CreatedDate":"2024-08-20T17:30:09.133+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:43","Version":43,"CreatedDate":"2024-08-20T16:33:50.683+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:42","Version":42,"CreatedDate":"2024-08-20T16:29:52.596+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:41","Version":41,"CreatedDate":"2024-08-16T06:07:44.864+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:40","Version":40,"CreatedDate":"2024-08-15T11:46:13.246+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:39","Version":39,"CreatedDate":"2024-08-15T11:10:53.708+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:38","Version":38,"CreatedDate":"2024-08-15T11:05:30.131+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:37","Version":37,"CreatedDate":"2024-08-14T19:12:37.327+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:36","Version":36,"CreatedDate":"2024-08-14T17:29:47.063+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:35","Version":35,"CreatedDate":"2024-08-14T11:57:20.281+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:34","Version":34,"CreatedDate":"2024-08-14T06:46:30.337+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:33","Version":33,"CreatedDate":"2024-06-07T20:13:13.488+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:32","Version":32,"CreatedDate":"2024-04-17T16:58:13.569+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:31","Version":31,"CreatedDate":"2024-04-09T20:12:26.328+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:30","Version":30,"CreatedDate":"2024-04-09T20:07:59.967+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:29","Version":29,"CreatedDate":"2024-03-19T22:22:27.280+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:28","Version":28,"CreatedDate":"2024-03-19T17:43:22.914+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:27","Version":27,"CreatedDate":"2024-03-19T16:46:50.704+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:26","Version":26,"CreatedDate":"2024-03-18T22:05:29.958+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:25","Version":25,"CreatedDate":"2024-03-12T17:46:07.113+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:24","Version":24,"CreatedDate":"2024-03-12T17:39:12.175+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:23","Version":23,"CreatedDate":"2024-03-12T17:29:15.672+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:22","Version":22,"CreatedDate":"2024-03-12T17:25:23.532+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:21","Version":21,"CreatedDate":"2024-03-12T17:21:08.742+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:20","Version":20,"CreatedDate":"2024-03-12T16:58:32.435+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:19","Version":19,"CreatedDate":"2024-03-12T16:52:39.665+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:18","Version":18,"CreatedDate":"2024-03-12T16:14:09.316+0000","CompatibleArchitectures":null}],"NextMarker":"sO+mEQJefBjPIeg+l6HFuu309W/bIGIUQptIP+pUjkxV2fDiudxAr92hiuIB452uzXCMwQmcdar2UBoTKKmjFhxWv/Pn7JoLobDF2Djmn1fW8gBpgx/ohnHIW65rjdJiTY4/o9j7sDrseZu8BqDuBAlPzEmpYayMYAs8TDMrIoqmYuUlUz/PlxZ9KDdBxlpUbrVPcKQLRG9aj4WEtu+GVjhKrQh1yJQB7C7SNTBBadwPOKOoVE92+CZoG3nLSo1EKNxN2MOvEO/tSv5s7QLWztvKTYsp2IfVDwmOyvwGVxdvi1jtfU/mME++cTvP67JHOExH+i5HTPoz2Hp1SU04jAaKaxBAvbxsk6RU8w84we2kaDtf3KshDii5tkliF7DA"}'
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event needs-retry.lambda.ListLayerVersions: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x107f52810>>
2024-09-04 09:26:34,521 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event after-call.lambda.ListLayerVersions: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x107f50d90>>
2024-09-04T16:16:40.165+0000 arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:67 67
2024-09-04 09:26:34,521 - MainThread - botocore.regions - DEBUG - Calling endpoint provider with parameters: {'Region': 'us-east-1', 'UseDualStack': False, 'UseFIPS': False}
2024-09-04 09:26:34,521 - MainThread - botocore.regions - DEBUG - Endpoint provider result: https://lambda.us-east-1.amazonaws.com
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event provide-client-params.lambda.ListLayerVersions: calling handler <function base64_decode_input_blobs at 0x1077e8540>
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.lambda.ListLayerVersions: calling handler <function generate_idempotent_uuid at 0x106165f80>
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event before-call.lambda.ListLayerVersions: calling handler <function inject_api_version_header_if_needed at 0x106167a60>
2024-09-04 09:26:34,521 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=ListLayerVersions) with params: {'url_path': '/2018-10-31/layers/REDACTED/versions', 'query_string': {'Marker': 'sO+mEQJefBjPIeg+l6HFuu309W/bIGIUQptIP+pUjkxV2fDiudxAr92hiuIB452uzXCMwQmcdar2UBoTKKmjFhxWv/Pn7JoLobDF2Djmn1fW8gBpgx/ohnHIW65rjdJiTY4/o9j7sDrseZu8BqDuBAlPzEmpYayMYAs8TDMrIoqmYuUlUz/PlxZ9KDdBxlpUbrVPcKQLRG9aj4WEtu+GVjhKrQh1yJQB7C7SNTBBadwPOKOoVE92+CZoG3nLSo1EKNxN2MOvEO/tSv5s7QLWztvKTYsp2IfVDwmOyvwGVxdvi1jtfU/mME++cTvP67JHOExH+i5HTPoz2Hp1SU04jAaKaxBAvbxsk6RU8w84we2kaDtf3KshDii5tkliF7DA'}, 'method': 'GET', 'headers': {'User-Agent': 'aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64 prompt/off command/lambda.list-layer-versions'}, 'body': b'', 'url': 'https://lambda.us-east-1.amazonaws.com/2018-10-31/layers/REDACTED/versions?Marker=sO%2BmEQJefBjPIeg%2Bl6HFuu309W%2FbIGIUQptIP%2BpUjkxV2fDiudxAr92hiuIB452uzXCMwQmcdar2UBoTKKmjFhxWv%2FPn7JoLobDF2Djmn1fW8gBpgx%2FohnHIW65rjdJiTY4%2Fo9j7sDrseZu8BqDuBAlPzEmpYayMYAs8TDMrIoqmYuUlUz%2FPlxZ9KDdBxlpUbrVPcKQLRG9aj4WEtu%2BGVjhKrQh1yJQB7C7SNTBBadwPOKOoVE92%2BCZoG3nLSo1EKNxN2MOvEO%2FtSv5s7QLWztvKTYsp2IfVDwmOyvwGVxdvi1jtfU%2FmME%2B%2BcTvP67JHOExH%2Bi5HTPoz2Hp1SU04jAaKaxBAvbxsk6RU8w84we2kaDtf3KshDii5tkliF7DA', 'context': {'client_region': 'us-east-1', 'client_config': <botocore.config.Config object at 0x107f50d10>, 'has_streaming_input': False, 'auth_type': None}}
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event request-created.lambda.ListLayerVersions: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x107bfdbd0>>
2024-09-04 09:26:34,521 - MainThread - botocore.hooks - DEBUG - Event choose-signer.lambda.ListLayerVersions: calling handler <function set_operation_specific_signer at 0x106165e40>
2024-09-04 09:26:34,521 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2024-09-04 09:26:34,521 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
GET
/2018-10-31/layers/REDACTED/versions
Marker=sO%2BmEQJefBjPIeg%2Bl6HFuu309W%2FbIGIUQptIP%2BpUjkxV2fDiudxAr92hiuIB452uzXCMwQmcdar2UBoTKKmjFhxWv%2FPn7JoLobDF2Djmn1fW8gBpgx%2FohnHIW65rjdJiTY4%2Fo9j7sDrseZu8BqDuBAlPzEmpYayMYAs8TDMrIoqmYuUlUz%2FPlxZ9KDdBxlpUbrVPcKQLRG9aj4WEtu%2BGVjhKrQh1yJQB7C7SNTBBadwPOKOoVE92%2BCZoG3nLSo1EKNxN2MOvEO%2FtSv5s7QLWztvKTYsp2IfVDwmOyvwGVxdvi1jtfU%2FmME%2B%2BcTvP67JHOExH%2Bi5HTPoz2Hp1SU04jAaKaxBAvbxsk6RU8w84we2kaDtf3KshDii5tkliF7DA
host:lambda.us-east-1.amazonaws.com
x-amz-date:20240904T162634Z
host;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2024-09-04 09:26:34,521 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20240904T162634Z
20240904/us-east-1/lambda/aws4_request
REDACTED
2024-09-04 09:26:34,522 - MainThread - botocore.auth - DEBUG - Signature:
REDACTED
2024-09-04 09:26:34,522 - MainThread - botocore.endpoint - DEBUG - Sending http request: <AWSPreparedRequest stream_output=False, method=GET, url=https://lambda.us-east-1.amazonaws.com/2018-10-31/layers/REDACTED/versions?Marker=sO%2BmEQJefBjPIeg%2Bl6HFuu309W%2FbIGIUQptIP%2BpUjkxV2fDiudxAr92hiuIB452uzXCMwQmcdar2UBoTKKmjFhxWv%2FPn7JoLobDF2Djmn1fW8gBpgx%2FohnHIW65rjdJiTY4%2Fo9j7sDrseZu8BqDuBAlPzEmpYayMYAs8TDMrIoqmYuUlUz%2FPlxZ9KDdBxlpUbrVPcKQLRG9aj4WEtu%2BGVjhKrQh1yJQB7C7SNTBBadwPOKOoVE92%2BCZoG3nLSo1EKNxN2MOvEO%2FtSv5s7QLWztvKTYsp2IfVDwmOyvwGVxdvi1jtfU%2FmME%2B%2BcTvP67JHOExH%2Bi5HTPoz2Hp1SU04jAaKaxBAvbxsk6RU8w84we2kaDtf3KshDii5tkliF7DA, headers={'User-Agent': b'aws-cli/2.15.43 Python/3.11.9 Darwin/22.6.0 source/arm64 prompt/off command/lambda.list-layer-versions', 'X-Amz-Date': b'20240904T162634Z', 'Authorization': b'AWS4-HMAC-SHA256 Credential=REDACTED/20240904/us-east-1/lambda/aws4_request, SignedHeaders=host;x-amz-date, Signature=REDACTED'}>
2024-09-04 09:26:34,522 - MainThread - botocore.httpsession - DEBUG - Certificate path: /opt/homebrew/Cellar/awscli/2.15.43/libexec/lib/python3.11/site-packages/awscli/botocore/cacert.pem
2024-09-04 09:26:34,618 - MainThread - urllib3.connectionpool - DEBUG - https://lambda.us-east-1.amazonaws.com:443 "GET /2018-10-31/layers/REDACTED/versions?Marker=sO%2BmEQJefBjPIeg%2Bl6HFuu309W%2FbIGIUQptIP%2BpUjkxV2fDiudxAr92hiuIB452uzXCMwQmcdar2UBoTKKmjFhxWv%2FPn7JoLobDF2Djmn1fW8gBpgx%2FohnHIW65rjdJiTY4%2Fo9j7sDrseZu8BqDuBAlPzEmpYayMYAs8TDMrIoqmYuUlUz%2FPlxZ9KDdBxlpUbrVPcKQLRG9aj4WEtu%2BGVjhKrQh1yJQB7C7SNTBBadwPOKOoVE92%2BCZoG3nLSo1EKNxN2MOvEO%2FtSv5s7QLWztvKTYsp2IfVDwmOyvwGVxdvi1jtfU%2FmME%2B%2BcTvP67JHOExH%2Bi5HTPoz2Hp1SU04jAaKaxBAvbxsk6RU8w84we2kaDtf3KshDii5tkliF7DA HTTP/1.1" 200 3405
2024-09-04 09:26:34,618 - MainThread - botocore.parsers - DEBUG - Response headers: {'Date': 'Wed, 04 Sep 2024 16:26:34 GMT', 'Content-Type': 'application/json', 'Content-Length': '3405', 'Connection': 'keep-alive', 'x-amzn-RequestId': 'd03ee121-f2ed-4edf-8d7c-4a44e8d26ca6'}
2024-09-04 09:26:34,619 - MainThread - botocore.parsers - DEBUG - Response body:
b'{"LayerVersions":[{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:17","Version":17,"CreatedDate":"2024-03-12T16:10:00.942+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:16","Version":16,"CreatedDate":"2024-03-12T15:47:20.504+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:15","Version":15,"CreatedDate":"2024-03-12T15:44:03.797+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:14","Version":14,"CreatedDate":"2024-03-12T15:39:48.853+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:13","Version":13,"CreatedDate":"2024-03-11T23:44:51.106+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":null,"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:12","Version":12,"CreatedDate":"2024-03-11T23:42:43.512+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.10"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:11","Version":11,"CreatedDate":"2024-03-11T20:27:34.421+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.10"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:10","Version":10,"CreatedDate":"2024-03-11T18:58:53.918+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.10"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:9","Version":9,"CreatedDate":"2024-03-11T16:24:04.013+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.10"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:8","Version":8,"CreatedDate":"2024-03-11T16:15:08.881+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.9"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:7","Version":7,"CreatedDate":"2024-03-07T00:19:42.855+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.9"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:6","Version":6,"CreatedDate":"2024-03-06T23:50:01.865+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.9"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:5","Version":5,"CreatedDate":"2024-03-06T23:38:50.615+0000","CompatibleArchitectures":null},{"CompatibleRuntimes":["python3.9"],"LicenseInfo":null,"Description":null,"LayerVersionArn":"arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:4","Version":4,"CreatedDate":"2024-03-06T22:47:07.898+0000","CompatibleArchitectures":null}],"NextMarker":null}'
2024-09-04 09:26:34,621 - MainThread - botocore.hooks - DEBUG - Event needs-retry.lambda.ListLayerVersions: calling handler <bound method RetryHandler.needs_retry of <botocore.retries.standard.RetryHandler object at 0x107f52810>>
2024-09-04 09:26:34,621 - MainThread - botocore.retries.standard - DEBUG - Not retrying request.
2024-09-04 09:26:34,622 - MainThread - botocore.hooks - DEBUG - Event after-call.lambda.ListLayerVersions: calling handler <bound method RetryQuotaChecker.release_retry_quota of <botocore.retries.standard.RetryQuotaChecker object at 0x107f50d90>>
2024-03-12T16:10:00.942+0000 arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:17 17
Are those the complete logs? I only see one layer there in the output.
There are two there. The first is about 30 or so lines up from the bottom:
2024-09-04T16:16:40.165+0000 arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:67 67
the second is at the bottom:
2024-03-12T16:10:00.942+0000 arn:aws:lambda:us-east-1:REDACTED:layer:REDACTED:17 17
Ah ok, this is probably due to pagination then. The MaxItems for the ListLayerVersions API is 50, so it's automatically fetching that next list of results. Can you try specifying --max-items 1 to limit the results returned or --no-cli-pager to disable pagination?
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.
Got this problem since a few days. This is my output:
aws lambda list-layer-versions --layer-name XXX --query LayerVersions[0].LayerVersionArn ---output text
arn:aws:lambda:eu-west-1:XXX:layer:XXX:52
arn:aws:lambda:eu-west-1:XXX:layer:XXX:2
Adding --max-items 1 returns:
arn:aws:lambda:eu-west-1:190222863637:layer:scex-common_dev:52
None
Adding --no-cli-pager makes no difference but adding --no-paginate fixes the problem.
However, the behavior is not ideal.