aws-sdk-lambda 1.67.0 → 1.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6269e80db03aada59ff66b12d0b978ac07bedab526869aee48878b37e86c5d96
4
- data.tar.gz: 120262d0f64b35695acd00a8aaf0671be25105ae89bf642363db9a4533ee0625
3
+ metadata.gz: d4b0a75f2ab0a783eaaa99865976b949c2d4484f5684b3437a32327739a103fd
4
+ data.tar.gz: 6da24e6a1290b61c775f60a8c04c61b8d5a0b6ccd66a94aca225f58f6be98bc8
5
5
  SHA512:
6
- metadata.gz: 35056a14aa72d86c0587a9b2e9f746c99033dc6eb41d8dc9c864f68739dd2de3e10fe214a29d623f7a3c0c52ff83aea694d1751aa2d88813f44aff6b3d716861
7
- data.tar.gz: 91e80a8c95f31b32525918347bd4cf111d8e0a5b30bc30f2181d944284c7830ff75569e98662097c300d76469724625609db416bdcd0ad8e4597f8e3e4b16ab8
6
+ metadata.gz: 9e853f18fbb2e8ccbdd3a8824f9128542806e968bd123b5257371fcb15b8ccb163118b6df8c60a41fb3f930ea1bae00bb5ee4b3fa64227667df3a9e25c079c6c
7
+ data.tar.gz: d0f069182a93e1570234ec7fd122cb6bf8337f9fc315023efe29eee54d9fd4921965fa84cfcd59da5872033078ca0d4b8aa29170014fa0736ad32d3239fcd4cd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.71.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.70.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.69.0 (2021-09-29)
15
+ ------------------
16
+
17
+ * Feature - Adds support for Lambda functions powered by AWS Graviton2 processors. Customers can now select the CPU architecture for their functions.
18
+
19
+ 1.68.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.67.0 (2021-08-12)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.71.0
@@ -275,6 +275,15 @@ module Aws::Lambda
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -404,7 +413,8 @@ module Aws::Lambda
404
413
  # use a function. You can apply the policy at the function level, or
405
414
  # specify a qualifier to restrict access to a single version or alias.
406
415
  # If you use a qualifier, the invoker must use the full Amazon Resource
407
- # Name (ARN) of that version or alias to invoke the function.
416
+ # Name (ARN) of that version or alias to invoke the function. Note:
417
+ # Lambda does not support adding policies to version $LATEST.
408
418
  #
409
419
  # To grant permission to another account, specify the account ID as the
410
420
  # `Principal`. For Amazon Web Services services, the principal is a
@@ -458,6 +468,9 @@ module Aws::Lambda
458
468
  # resource that invokes the function. For example, an Amazon S3 bucket
459
469
  # or Amazon SNS topic.
460
470
  #
471
+ # Note that Lambda configures the comparison using the `StringLike`
472
+ # operator.
473
+ #
461
474
  # @option params [String] :source_account
462
475
  # For Amazon S3, the ID of the account that owns the resource. Use this
463
476
  # together with `SourceArn` to ensure that the resource is owned by the
@@ -650,15 +663,13 @@ module Aws::Lambda
650
663
  # Creates a mapping between an event source and an Lambda function.
651
664
  # Lambda reads items from the event source and triggers the function.
652
665
  #
653
- # For details about each event source type, see the following topics. In
654
- # particular, each of the topics describes the required and optional
655
- # parameters for the specific event source.
666
+ # For details about each event source type, see the following topics.
656
667
  #
657
668
  # * [ Configuring a Dynamo DB stream as an event source][1]
658
669
  #
659
670
  # * [ Configuring a Kinesis stream as an event source][2]
660
671
  #
661
- # * [ Configuring an SQS queue as an event source][3]
672
+ # * [ Configuring an Amazon SQS queue as an event source][3]
662
673
  #
663
674
  # * [ Configuring an MQ broker as an event source][4]
664
675
  #
@@ -727,11 +738,16 @@ module Aws::Lambda
727
738
  # only the function name, it's limited to 64 characters in length.
728
739
  #
729
740
  # @option params [Boolean] :enabled
730
- # If true, the event source mapping is active. Set to false to pause
731
- # polling and invocation.
741
+ # When true, the event source mapping is active. When false, Lambda
742
+ # pauses polling and invocation.
743
+ #
744
+ # Default: True
732
745
  #
733
746
  # @option params [Integer] :batch_size
734
- # The maximum number of items to retrieve in a single batch.
747
+ # The maximum number of records in each batch that Lambda pulls from
748
+ # your stream or queue and sends to your function. Lambda passes all of
749
+ # the records in the batch to the function in a single call, up to the
750
+ # payload limit for synchronous invocation (6 MB).
735
751
  #
736
752
  # * **Amazon Kinesis** - Default 100. Max 10,000.
737
753
  #
@@ -746,8 +762,14 @@ module Aws::Lambda
746
762
  # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
747
763
  #
748
764
  # @option params [Integer] :maximum_batching_window_in_seconds
749
- # (Streams and SQS standard queues) The maximum amount of time to gather
750
- # records before invoking the function, in seconds.
765
+ # (Streams and Amazon SQS standard queues) The maximum amount of time,
766
+ # in seconds, that Lambda spends gathering records before invoking the
767
+ # function.
768
+ #
769
+ # Default: 0
770
+ #
771
+ # Related setting: When you set `BatchSize` to a value greater than 10,
772
+ # you must set `MaximumBatchingWindowInSeconds` to at least 1.
751
773
  #
752
774
  # @option params [Integer] :parallelization_factor
753
775
  # (Streams only) The number of batches to process from each shard
@@ -921,7 +943,10 @@ module Aws::Lambda
921
943
  # You set the package type to `Zip` if the deployment package is a [.zip
922
944
  # file archive][4]. For a .zip file archive, the code property specifies
923
945
  # the location of the .zip file. You must also specify the handler and
924
- # runtime properties.
946
+ # runtime properties. The code in the deployment package must be
947
+ # compatible with the target instruction set architecture of the
948
+ # function (`x86-64` or `arm64`). If you do not specify the
949
+ # architecture, the default value is `x86-64`.
925
950
  #
926
951
  # When you create a function, Lambda provisions an instance of the
927
952
  # function and its supporting resources. If your function connects to a
@@ -1111,6 +1136,11 @@ module Aws::Lambda
1111
1136
  # set of signing profiles, which define the trusted publishers for this
1112
1137
  # function.
1113
1138
  #
1139
+ # @option params [Array<String>] :architectures
1140
+ # The instruction set architecture that the function supports. Enter a
1141
+ # string array with one of the valid values. The default value is
1142
+ # `x86_64`.
1143
+ #
1114
1144
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1115
1145
  #
1116
1146
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -1144,6 +1174,7 @@ module Aws::Lambda
1144
1174
  # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
1145
1175
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
1146
1176
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
1177
+ # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
1147
1178
  #
1148
1179
  # @example Request syntax with placeholder values
1149
1180
  #
@@ -1196,6 +1227,7 @@ module Aws::Lambda
1196
1227
  # working_directory: "WorkingDirectory",
1197
1228
  # },
1198
1229
  # code_signing_config_arn: "CodeSigningConfigArn",
1230
+ # architectures: ["x86_64"], # accepts x86_64, arm64
1199
1231
  # })
1200
1232
  #
1201
1233
  # @example Response structure
@@ -1250,6 +1282,8 @@ module Aws::Lambda
1250
1282
  # resp.image_config_response.error.message #=> String
1251
1283
  # resp.signing_profile_version_arn #=> String
1252
1284
  # resp.signing_job_arn #=> String
1285
+ # resp.architectures #=> Array
1286
+ # resp.architectures[0] #=> String, one of "x86_64", "arm64"
1253
1287
  #
1254
1288
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1255
1289
  #
@@ -1936,6 +1970,8 @@ module Aws::Lambda
1936
1970
  # resp.configuration.image_config_response.error.message #=> String
1937
1971
  # resp.configuration.signing_profile_version_arn #=> String
1938
1972
  # resp.configuration.signing_job_arn #=> String
1973
+ # resp.configuration.architectures #=> Array
1974
+ # resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
1939
1975
  # resp.code.repository_type #=> String
1940
1976
  # resp.code.location #=> String
1941
1977
  # resp.code.image_uri #=> String
@@ -2103,6 +2139,7 @@ module Aws::Lambda
2103
2139
  # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
2104
2140
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
2105
2141
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
2142
+ # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
2106
2143
  #
2107
2144
  # @example Request syntax with placeholder values
2108
2145
  #
@@ -2163,6 +2200,8 @@ module Aws::Lambda
2163
2200
  # resp.image_config_response.error.message #=> String
2164
2201
  # resp.signing_profile_version_arn #=> String
2165
2202
  # resp.signing_job_arn #=> String
2203
+ # resp.architectures #=> Array
2204
+ # resp.architectures[0] #=> String, one of "x86_64", "arm64"
2166
2205
  #
2167
2206
  #
2168
2207
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2261,6 +2300,7 @@ module Aws::Lambda
2261
2300
  # * {Types::GetLayerVersionResponse#version #version} => Integer
2262
2301
  # * {Types::GetLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array&lt;String&gt;
2263
2302
  # * {Types::GetLayerVersionResponse#license_info #license_info} => String
2303
+ # * {Types::GetLayerVersionResponse#compatible_architectures #compatible_architectures} => Array&lt;String&gt;
2264
2304
  #
2265
2305
  # @example Request syntax with placeholder values
2266
2306
  #
@@ -2284,6 +2324,8 @@ module Aws::Lambda
2284
2324
  # resp.compatible_runtimes #=> Array
2285
2325
  # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2286
2326
  # resp.license_info #=> String
2327
+ # resp.compatible_architectures #=> Array
2328
+ # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
2287
2329
  #
2288
2330
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
2289
2331
  #
@@ -2314,6 +2356,7 @@ module Aws::Lambda
2314
2356
  # * {Types::GetLayerVersionResponse#version #version} => Integer
2315
2357
  # * {Types::GetLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array&lt;String&gt;
2316
2358
  # * {Types::GetLayerVersionResponse#license_info #license_info} => String
2359
+ # * {Types::GetLayerVersionResponse#compatible_architectures #compatible_architectures} => Array&lt;String&gt;
2317
2360
  #
2318
2361
  # @example Request syntax with placeholder values
2319
2362
  #
@@ -2336,6 +2379,8 @@ module Aws::Lambda
2336
2379
  # resp.compatible_runtimes #=> Array
2337
2380
  # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
2338
2381
  # resp.license_info #=> String
2382
+ # resp.compatible_architectures #=> Array
2383
+ # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
2339
2384
  #
2340
2385
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
2341
2386
  #
@@ -2576,7 +2621,8 @@ module Aws::Lambda
2576
2621
  # role has permission to invoke the function.
2577
2622
  #
2578
2623
  # @option params [String] :log_type
2579
- # Set to `Tail` to include the execution log in the response.
2624
+ # Set to `Tail` to include the execution log in the response. Applies to
2625
+ # synchronously invoked functions only.
2580
2626
  #
2581
2627
  # @option params [String] :client_context
2582
2628
  # Up to 3583 bytes of base64-encoded data about the invoking client to
@@ -3059,6 +3105,8 @@ module Aws::Lambda
3059
3105
  # resp.functions[0].image_config_response.error.message #=> String
3060
3106
  # resp.functions[0].signing_profile_version_arn #=> String
3061
3107
  # resp.functions[0].signing_job_arn #=> String
3108
+ # resp.functions[0].architectures #=> Array
3109
+ # resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3062
3110
  #
3063
3111
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3064
3112
  #
@@ -3116,6 +3164,8 @@ module Aws::Lambda
3116
3164
  # Lists the versions of an [Lambda layer][1]. Versions that have been
3117
3165
  # deleted aren't listed. Specify a [runtime identifier][2] to list only
3118
3166
  # versions that indicate that they're compatible with that runtime.
3167
+ # Specify a compatible architecture to include only layer versions that
3168
+ # are compatible with that architecture.
3119
3169
  #
3120
3170
  #
3121
3171
  #
@@ -3134,6 +3184,13 @@ module Aws::Lambda
3134
3184
  # @option params [Integer] :max_items
3135
3185
  # The maximum number of versions to return.
3136
3186
  #
3187
+ # @option params [String] :compatible_architecture
3188
+ # The compatible [instruction set architecture][1].
3189
+ #
3190
+ #
3191
+ #
3192
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3193
+ #
3137
3194
  # @return [Types::ListLayerVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3138
3195
  #
3139
3196
  # * {Types::ListLayerVersionsResponse#next_marker #next_marker} => String
@@ -3148,6 +3205,7 @@ module Aws::Lambda
3148
3205
  # layer_name: "LayerName", # required
3149
3206
  # marker: "String",
3150
3207
  # max_items: 1,
3208
+ # compatible_architecture: "x86_64", # accepts x86_64, arm64
3151
3209
  # })
3152
3210
  #
3153
3211
  # @example Response structure
@@ -3161,6 +3219,8 @@ module Aws::Lambda
3161
3219
  # resp.layer_versions[0].compatible_runtimes #=> Array
3162
3220
  # resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3163
3221
  # resp.layer_versions[0].license_info #=> String
3222
+ # resp.layer_versions[0].compatible_architectures #=> Array
3223
+ # resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
3164
3224
  #
3165
3225
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
3166
3226
  #
@@ -3173,12 +3233,15 @@ module Aws::Lambda
3173
3233
 
3174
3234
  # Lists [Lambda layers][1] and shows information about the latest
3175
3235
  # version of each. Specify a [runtime identifier][2] to list only layers
3176
- # that indicate that they're compatible with that runtime.
3236
+ # that indicate that they're compatible with that runtime. Specify a
3237
+ # compatible architecture to include only layers that are compatible
3238
+ # with that [instruction set architecture][3].
3177
3239
  #
3178
3240
  #
3179
3241
  #
3180
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
3242
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html
3181
3243
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
3244
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3182
3245
  #
3183
3246
  # @option params [String] :compatible_runtime
3184
3247
  # A runtime identifier. For example, `go1.x`.
@@ -3189,6 +3252,13 @@ module Aws::Lambda
3189
3252
  # @option params [Integer] :max_items
3190
3253
  # The maximum number of layers to return.
3191
3254
  #
3255
+ # @option params [String] :compatible_architecture
3256
+ # The compatible [instruction set architecture][1].
3257
+ #
3258
+ #
3259
+ #
3260
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3261
+ #
3192
3262
  # @return [Types::ListLayersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3193
3263
  #
3194
3264
  # * {Types::ListLayersResponse#next_marker #next_marker} => String
@@ -3202,6 +3272,7 @@ module Aws::Lambda
3202
3272
  # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3203
3273
  # marker: "String",
3204
3274
  # max_items: 1,
3275
+ # compatible_architecture: "x86_64", # accepts x86_64, arm64
3205
3276
  # })
3206
3277
  #
3207
3278
  # @example Response structure
@@ -3217,6 +3288,8 @@ module Aws::Lambda
3217
3288
  # resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
3218
3289
  # resp.layers[0].latest_matching_version.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3219
3290
  # resp.layers[0].latest_matching_version.license_info #=> String
3291
+ # resp.layers[0].latest_matching_version.compatible_architectures #=> Array
3292
+ # resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
3220
3293
  #
3221
3294
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
3222
3295
  #
@@ -3296,7 +3369,8 @@ module Aws::Lambda
3296
3369
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
3297
3370
  #
3298
3371
  # @option params [required, String] :resource
3299
- # The function's Amazon Resource Name (ARN).
3372
+ # The function's Amazon Resource Name (ARN). Note: Lambda does not
3373
+ # support adding tags to aliases or versions.
3300
3374
  #
3301
3375
  # @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3302
3376
  #
@@ -3422,6 +3496,8 @@ module Aws::Lambda
3422
3496
  # resp.versions[0].image_config_response.error.message #=> String
3423
3497
  # resp.versions[0].signing_profile_version_arn #=> String
3424
3498
  # resp.versions[0].signing_job_arn #=> String
3499
+ # resp.versions[0].architectures #=> Array
3500
+ # resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3425
3501
  #
3426
3502
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
3427
3503
  #
@@ -3474,6 +3550,13 @@ module Aws::Lambda
3474
3550
  #
3475
3551
  # [1]: https://spdx.org/licenses/
3476
3552
  #
3553
+ # @option params [Array<String>] :compatible_architectures
3554
+ # A list of compatible [instruction set architectures][1].
3555
+ #
3556
+ #
3557
+ #
3558
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3559
+ #
3477
3560
  # @return [Types::PublishLayerVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3478
3561
  #
3479
3562
  # * {Types::PublishLayerVersionResponse#content #content} => Types::LayerVersionContentOutput
@@ -3484,6 +3567,7 @@ module Aws::Lambda
3484
3567
  # * {Types::PublishLayerVersionResponse#version #version} => Integer
3485
3568
  # * {Types::PublishLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array&lt;String&gt;
3486
3569
  # * {Types::PublishLayerVersionResponse#license_info #license_info} => String
3570
+ # * {Types::PublishLayerVersionResponse#compatible_architectures #compatible_architectures} => Array&lt;String&gt;
3487
3571
  #
3488
3572
  # @example Request syntax with placeholder values
3489
3573
  #
@@ -3498,6 +3582,7 @@ module Aws::Lambda
3498
3582
  # },
3499
3583
  # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3500
3584
  # license_info: "LicenseInfo",
3585
+ # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
3501
3586
  # })
3502
3587
  #
3503
3588
  # @example Response structure
@@ -3515,6 +3600,8 @@ module Aws::Lambda
3515
3600
  # resp.compatible_runtimes #=> Array
3516
3601
  # resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
3517
3602
  # resp.license_info #=> String
3603
+ # resp.compatible_architectures #=> Array
3604
+ # resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
3518
3605
  #
3519
3606
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
3520
3607
  #
@@ -3605,6 +3692,7 @@ module Aws::Lambda
3605
3692
  # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
3606
3693
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
3607
3694
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
3695
+ # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
3608
3696
  #
3609
3697
  # @example Request syntax with placeholder values
3610
3698
  #
@@ -3667,6 +3755,8 @@ module Aws::Lambda
3667
3755
  # resp.image_config_response.error.message #=> String
3668
3756
  # resp.signing_profile_version_arn #=> String
3669
3757
  # resp.signing_job_arn #=> String
3758
+ # resp.architectures #=> Array
3759
+ # resp.architectures[0] #=> String, one of "x86_64", "arm64"
3670
3760
  #
3671
3761
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
3672
3762
  #
@@ -4296,11 +4386,16 @@ module Aws::Lambda
4296
4386
  # only the function name, it's limited to 64 characters in length.
4297
4387
  #
4298
4388
  # @option params [Boolean] :enabled
4299
- # If true, the event source mapping is active. Set to false to pause
4300
- # polling and invocation.
4389
+ # When true, the event source mapping is active. When false, Lambda
4390
+ # pauses polling and invocation.
4391
+ #
4392
+ # Default: True
4301
4393
  #
4302
4394
  # @option params [Integer] :batch_size
4303
- # The maximum number of items to retrieve in a single batch.
4395
+ # The maximum number of records in each batch that Lambda pulls from
4396
+ # your stream or queue and sends to your function. Lambda passes all of
4397
+ # the records in the batch to the function in a single call, up to the
4398
+ # payload limit for synchronous invocation (6 MB).
4304
4399
  #
4305
4400
  # * **Amazon Kinesis** - Default 100. Max 10,000.
4306
4401
  #
@@ -4315,8 +4410,14 @@ module Aws::Lambda
4315
4410
  # * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
4316
4411
  #
4317
4412
  # @option params [Integer] :maximum_batching_window_in_seconds
4318
- # (Streams and SQS standard queues) The maximum amount of time to gather
4319
- # records before invoking the function, in seconds.
4413
+ # (Streams and Amazon SQS standard queues) The maximum amount of time,
4414
+ # in seconds, that Lambda spends gathering records before invoking the
4415
+ # function.
4416
+ #
4417
+ # Default: 0
4418
+ #
4419
+ # Related setting: When you set `BatchSize` to a value greater than 10,
4420
+ # you must set `MaximumBatchingWindowInSeconds` to at least 1.
4320
4421
  #
4321
4422
  # @option params [Types::DestinationConfig] :destination_config
4322
4423
  # (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
@@ -4514,6 +4615,11 @@ module Aws::Lambda
4514
4615
  # specified. Use this option to avoid modifying a function that has
4515
4616
  # changed since you last read it.
4516
4617
  #
4618
+ # @option params [Array<String>] :architectures
4619
+ # The instruction set architecture that the function supports. Enter a
4620
+ # string array with one of the valid values. The default value is
4621
+ # `x86_64`.
4622
+ #
4517
4623
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4518
4624
  #
4519
4625
  # * {Types::FunctionConfiguration#function_name #function_name} => String
@@ -4547,6 +4653,7 @@ module Aws::Lambda
4547
4653
  # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
4548
4654
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
4549
4655
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4656
+ # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
4550
4657
  #
4551
4658
  # @example Request syntax with placeholder values
4552
4659
  #
@@ -4560,6 +4667,7 @@ module Aws::Lambda
4560
4667
  # publish: false,
4561
4668
  # dry_run: false,
4562
4669
  # revision_id: "String",
4670
+ # architectures: ["x86_64"], # accepts x86_64, arm64
4563
4671
  # })
4564
4672
  #
4565
4673
  # @example Response structure
@@ -4614,6 +4722,8 @@ module Aws::Lambda
4614
4722
  # resp.image_config_response.error.message #=> String
4615
4723
  # resp.signing_profile_version_arn #=> String
4616
4724
  # resp.signing_job_arn #=> String
4725
+ # resp.architectures #=> Array
4726
+ # resp.architectures[0] #=> String, one of "x86_64", "arm64"
4617
4727
  #
4618
4728
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
4619
4729
  #
@@ -4760,7 +4870,7 @@ module Aws::Lambda
4760
4870
  #
4761
4871
  # @option params [Types::ImageConfig] :image_config
4762
4872
  # [Container image configuration values][1] that override the values in
4763
- # the container image Dockerfile.
4873
+ # the container image Docker file.
4764
4874
  #
4765
4875
  #
4766
4876
  #
@@ -4799,6 +4909,7 @@ module Aws::Lambda
4799
4909
  # * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
4800
4910
  # * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
4801
4911
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4912
+ # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
4802
4913
  #
4803
4914
  # @example Request syntax with placeholder values
4804
4915
  #
@@ -4893,6 +5004,8 @@ module Aws::Lambda
4893
5004
  # resp.image_config_response.error.message #=> String
4894
5005
  # resp.signing_profile_version_arn #=> String
4895
5006
  # resp.signing_job_arn #=> String
5007
+ # resp.architectures #=> Array
5008
+ # resp.architectures[0] #=> String, one of "x86_64", "arm64"
4896
5009
  #
4897
5010
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
4898
5011
  #
@@ -5007,7 +5120,7 @@ module Aws::Lambda
5007
5120
  params: params,
5008
5121
  config: config)
5009
5122
  context[:gem_name] = 'aws-sdk-lambda'
5010
- context[:gem_version] = '1.67.0'
5123
+ context[:gem_version] = '1.71.0'
5011
5124
  Seahorse::Client::Request.new(handlers, context)
5012
5125
  end
5013
5126
 
@@ -27,6 +27,8 @@ module Aws::Lambda
27
27
  AliasList = Shapes::ListShape.new(name: 'AliasList')
28
28
  AliasRoutingConfiguration = Shapes::StructureShape.new(name: 'AliasRoutingConfiguration')
29
29
  AllowedPublishers = Shapes::StructureShape.new(name: 'AllowedPublishers')
30
+ Architecture = Shapes::StringShape.new(name: 'Architecture')
31
+ ArchitecturesList = Shapes::ListShape.new(name: 'ArchitecturesList')
30
32
  Arn = Shapes::StringShape.new(name: 'Arn')
31
33
  BatchSize = Shapes::IntegerShape.new(name: 'BatchSize')
32
34
  BisectBatchOnFunctionError = Shapes::BooleanShape.new(name: 'BisectBatchOnFunctionError')
@@ -42,6 +44,7 @@ module Aws::Lambda
42
44
  CodeSigningPolicy = Shapes::StringShape.new(name: 'CodeSigningPolicy')
43
45
  CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
44
46
  CodeVerificationFailedException = Shapes::StructureShape.new(name: 'CodeVerificationFailedException')
47
+ CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
45
48
  CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
46
49
  Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
47
50
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
@@ -355,6 +358,8 @@ module Aws::Lambda
355
358
  AllowedPublishers.add_member(:signing_profile_version_arns, Shapes::ShapeRef.new(shape: SigningProfileVersionArns, required: true, location_name: "SigningProfileVersionArns"))
356
359
  AllowedPublishers.struct_class = Types::AllowedPublishers
357
360
 
361
+ ArchitecturesList.member = Shapes::ShapeRef.new(shape: Architecture)
362
+
358
363
  CodeSigningConfig.add_member(:code_signing_config_id, Shapes::ShapeRef.new(shape: CodeSigningConfigId, required: true, location_name: "CodeSigningConfigId"))
359
364
  CodeSigningConfig.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, required: true, location_name: "CodeSigningConfigArn"))
360
365
  CodeSigningConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -380,6 +385,8 @@ module Aws::Lambda
380
385
  CodeVerificationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
381
386
  CodeVerificationFailedException.struct_class = Types::CodeVerificationFailedException
382
387
 
388
+ CompatibleArchitectures.member = Shapes::ShapeRef.new(shape: Architecture)
389
+
383
390
  CompatibleRuntimes.member = Shapes::ShapeRef.new(shape: Runtime)
384
391
 
385
392
  Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
@@ -440,6 +447,7 @@ module Aws::Lambda
440
447
  CreateFunctionRequest.add_member(:file_system_configs, Shapes::ShapeRef.new(shape: FileSystemConfigList, location_name: "FileSystemConfigs"))
441
448
  CreateFunctionRequest.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig"))
442
449
  CreateFunctionRequest.add_member(:code_signing_config_arn, Shapes::ShapeRef.new(shape: CodeSigningConfigArn, location_name: "CodeSigningConfigArn"))
450
+ CreateFunctionRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
443
451
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
444
452
 
445
453
  DeadLetterConfig.add_member(:target_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "TargetArn"))
@@ -613,6 +621,7 @@ module Aws::Lambda
613
621
  FunctionConfiguration.add_member(:image_config_response, Shapes::ShapeRef.new(shape: ImageConfigResponse, location_name: "ImageConfigResponse"))
614
622
  FunctionConfiguration.add_member(:signing_profile_version_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningProfileVersionArn"))
615
623
  FunctionConfiguration.add_member(:signing_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SigningJobArn"))
624
+ FunctionConfiguration.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
616
625
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
617
626
 
618
627
  FunctionEventInvokeConfig.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
@@ -701,6 +710,7 @@ module Aws::Lambda
701
710
  GetLayerVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: LayerVersionNumber, location_name: "Version"))
702
711
  GetLayerVersionResponse.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
703
712
  GetLayerVersionResponse.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
713
+ GetLayerVersionResponse.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
704
714
  GetLayerVersionResponse.struct_class = Types::GetLayerVersionResponse
705
715
 
706
716
  GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -837,6 +847,7 @@ module Aws::Lambda
837
847
  LayerVersionsListItem.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedDate"))
838
848
  LayerVersionsListItem.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
839
849
  LayerVersionsListItem.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
850
+ LayerVersionsListItem.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
840
851
  LayerVersionsListItem.struct_class = Types::LayerVersionsListItem
841
852
 
842
853
  LayersList.member = Shapes::ShapeRef.new(shape: LayersListItem)
@@ -908,6 +919,7 @@ module Aws::Lambda
908
919
  ListLayerVersionsRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
909
920
  ListLayerVersionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
910
921
  ListLayerVersionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxLayerListItems, location: "querystring", location_name: "MaxItems"))
922
+ ListLayerVersionsRequest.add_member(:compatible_architecture, Shapes::ShapeRef.new(shape: Architecture, location: "querystring", location_name: "CompatibleArchitecture"))
911
923
  ListLayerVersionsRequest.struct_class = Types::ListLayerVersionsRequest
912
924
 
913
925
  ListLayerVersionsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
@@ -917,6 +929,7 @@ module Aws::Lambda
917
929
  ListLayersRequest.add_member(:compatible_runtime, Shapes::ShapeRef.new(shape: Runtime, location: "querystring", location_name: "CompatibleRuntime"))
918
930
  ListLayersRequest.add_member(:marker, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "Marker"))
919
931
  ListLayersRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxLayerListItems, location: "querystring", location_name: "MaxItems"))
932
+ ListLayersRequest.add_member(:compatible_architecture, Shapes::ShapeRef.new(shape: Architecture, location: "querystring", location_name: "CompatibleArchitecture"))
920
933
  ListLayersRequest.struct_class = Types::ListLayersRequest
921
934
 
922
935
  ListLayersResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
@@ -981,6 +994,7 @@ module Aws::Lambda
981
994
  PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
982
995
  PublishLayerVersionRequest.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
983
996
  PublishLayerVersionRequest.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
997
+ PublishLayerVersionRequest.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
984
998
  PublishLayerVersionRequest.struct_class = Types::PublishLayerVersionRequest
985
999
 
986
1000
  PublishLayerVersionResponse.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentOutput, location_name: "Content"))
@@ -991,6 +1005,7 @@ module Aws::Lambda
991
1005
  PublishLayerVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: LayerVersionNumber, location_name: "Version"))
992
1006
  PublishLayerVersionResponse.add_member(:compatible_runtimes, Shapes::ShapeRef.new(shape: CompatibleRuntimes, location_name: "CompatibleRuntimes"))
993
1007
  PublishLayerVersionResponse.add_member(:license_info, Shapes::ShapeRef.new(shape: LicenseInfo, location_name: "LicenseInfo"))
1008
+ PublishLayerVersionResponse.add_member(:compatible_architectures, Shapes::ShapeRef.new(shape: CompatibleArchitectures, location_name: "CompatibleArchitectures"))
994
1009
  PublishLayerVersionResponse.struct_class = Types::PublishLayerVersionResponse
995
1010
 
996
1011
  PublishVersionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -1162,6 +1177,7 @@ module Aws::Lambda
1162
1177
  UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
1163
1178
  UpdateFunctionCodeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1164
1179
  UpdateFunctionCodeRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "RevisionId"))
1180
+ UpdateFunctionCodeRequest.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitecturesList, location_name: "Architectures"))
1165
1181
  UpdateFunctionCodeRequest.struct_class = Types::UpdateFunctionCodeRequest
1166
1182
 
1167
1183
  UpdateFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -205,6 +205,9 @@ module Aws::Lambda
205
205
  # For Amazon Web Services services, the ARN of the Amazon Web Services
206
206
  # resource that invokes the function. For example, an Amazon S3 bucket
207
207
  # or Amazon SNS topic.
208
+ #
209
+ # Note that Lambda configures the comparison using the `StringLike`
210
+ # operator.
208
211
  # @return [String]
209
212
  #
210
213
  # @!attribute [rw] source_account
@@ -497,7 +500,7 @@ module Aws::Lambda
497
500
  #
498
501
  #
499
502
  #
500
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
503
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html
501
504
  # @return [Integer]
502
505
  #
503
506
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency AWS API Documentation
@@ -693,12 +696,17 @@ module Aws::Lambda
693
696
  # @return [String]
694
697
  #
695
698
  # @!attribute [rw] enabled
696
- # If true, the event source mapping is active. Set to false to pause
697
- # polling and invocation.
699
+ # When true, the event source mapping is active. When false, Lambda
700
+ # pauses polling and invocation.
701
+ #
702
+ # Default: True
698
703
  # @return [Boolean]
699
704
  #
700
705
  # @!attribute [rw] batch_size
701
- # The maximum number of items to retrieve in a single batch.
706
+ # The maximum number of records in each batch that Lambda pulls from
707
+ # your stream or queue and sends to your function. Lambda passes all
708
+ # of the records in the batch to the function in a single call, up to
709
+ # the payload limit for synchronous invocation (6 MB).
702
710
  #
703
711
  # * **Amazon Kinesis** - Default 100. Max 10,000.
704
712
  #
@@ -714,8 +722,14 @@ module Aws::Lambda
714
722
  # @return [Integer]
715
723
  #
716
724
  # @!attribute [rw] maximum_batching_window_in_seconds
717
- # (Streams and SQS standard queues) The maximum amount of time to
718
- # gather records before invoking the function, in seconds.
725
+ # (Streams and Amazon SQS standard queues) The maximum amount of time,
726
+ # in seconds, that Lambda spends gathering records before invoking the
727
+ # function.
728
+ #
729
+ # Default: 0
730
+ #
731
+ # Related setting: When you set `BatchSize` to a value greater than
732
+ # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
719
733
  # @return [Integer]
720
734
  #
721
735
  # @!attribute [rw] parallelization_factor
@@ -859,6 +873,7 @@ module Aws::Lambda
859
873
  # working_directory: "WorkingDirectory",
860
874
  # },
861
875
  # code_signing_config_arn: "CodeSigningConfigArn",
876
+ # architectures: ["x86_64"], # accepts x86_64, arm64
862
877
  # }
863
878
  #
864
879
  # @!attribute [rw] function_name
@@ -1018,6 +1033,12 @@ module Aws::Lambda
1018
1033
  # this function.
1019
1034
  # @return [String]
1020
1035
  #
1036
+ # @!attribute [rw] architectures
1037
+ # The instruction set architecture that the function supports. Enter a
1038
+ # string array with one of the valid values. The default value is
1039
+ # `x86_64`.
1040
+ # @return [Array<String>]
1041
+ #
1021
1042
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1022
1043
  #
1023
1044
  class CreateFunctionRequest < Struct.new(
@@ -1040,7 +1061,8 @@ module Aws::Lambda
1040
1061
  :layers,
1041
1062
  :file_system_configs,
1042
1063
  :image_config,
1043
- :code_signing_config_arn)
1064
+ :code_signing_config_arn,
1065
+ :architectures)
1044
1066
  SENSITIVE = []
1045
1067
  include Aws::Structure
1046
1068
  end
@@ -1444,7 +1466,7 @@ module Aws::Lambda
1444
1466
  include Aws::Structure
1445
1467
  end
1446
1468
 
1447
- # An error occured when reading from or writing to a connected file
1469
+ # An error occurred when reading from or writing to a connected file
1448
1470
  # system.
1449
1471
  #
1450
1472
  # @!attribute [rw] type
@@ -1626,13 +1648,27 @@ module Aws::Lambda
1626
1648
  # @return [Time]
1627
1649
  #
1628
1650
  # @!attribute [rw] batch_size
1629
- # The maximum number of items to retrieve in a single batch.
1651
+ # The maximum number of records in each batch that Lambda pulls from
1652
+ # your stream or queue and sends to your function. Lambda passes all
1653
+ # of the records in the batch to the function in a single call, up to
1654
+ # the payload limit for synchronous invocation (6 MB).
1655
+ #
1656
+ # Default value: Varies by service. For Amazon SQS, the default is 10.
1657
+ # For all other services, the default is 100.
1658
+ #
1659
+ # Related setting: When you set `BatchSize` to a value greater than
1660
+ # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
1630
1661
  # @return [Integer]
1631
1662
  #
1632
1663
  # @!attribute [rw] maximum_batching_window_in_seconds
1633
- # (Streams and Amazon SQS standard queues) The maximum amount of time
1634
- # to gather records before invoking the function, in seconds. The
1635
- # default value is zero.
1664
+ # (Streams and Amazon SQS standard queues) The maximum amount of time,
1665
+ # in seconds, that Lambda spends gathering records before invoking the
1666
+ # function.
1667
+ #
1668
+ # Default: 0
1669
+ #
1670
+ # Related setting: When you set `BatchSize` to a value greater than
1671
+ # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
1636
1672
  # @return [Integer]
1637
1673
  #
1638
1674
  # @!attribute [rw] parallelization_factor
@@ -2018,6 +2054,12 @@ module Aws::Lambda
2018
2054
  # The ARN of the signing job.
2019
2055
  # @return [String]
2020
2056
  #
2057
+ # @!attribute [rw] architectures
2058
+ # The instruction set architecture that the function supports.
2059
+ # Architecture is a string array with one of the valid values. The
2060
+ # default architecture value is `x86_64`.
2061
+ # @return [Array<String>]
2062
+ #
2021
2063
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
2022
2064
  #
2023
2065
  class FunctionConfiguration < Struct.new(
@@ -2051,7 +2093,8 @@ module Aws::Lambda
2051
2093
  :package_type,
2052
2094
  :image_config_response,
2053
2095
  :signing_profile_version_arn,
2054
- :signing_job_arn)
2096
+ :signing_job_arn,
2097
+ :architectures)
2055
2098
  SENSITIVE = []
2056
2099
  include Aws::Structure
2057
2100
  end
@@ -2595,6 +2638,14 @@ module Aws::Lambda
2595
2638
  # The layer's software license.
2596
2639
  # @return [String]
2597
2640
  #
2641
+ # @!attribute [rw] compatible_architectures
2642
+ # A list of compatible [instruction set architectures][1].
2643
+ #
2644
+ #
2645
+ #
2646
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
2647
+ # @return [Array<String>]
2648
+ #
2598
2649
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionResponse AWS API Documentation
2599
2650
  #
2600
2651
  class GetLayerVersionResponse < Struct.new(
@@ -2605,7 +2656,8 @@ module Aws::Lambda
2605
2656
  :created_date,
2606
2657
  :version,
2607
2658
  :compatible_runtimes,
2608
- :license_info)
2659
+ :license_info,
2660
+ :compatible_architectures)
2609
2661
  SENSITIVE = []
2610
2662
  include Aws::Structure
2611
2663
  end
@@ -2997,7 +3049,8 @@ module Aws::Lambda
2997
3049
  # @return [String]
2998
3050
  #
2999
3051
  # @!attribute [rw] log_type
3000
- # Set to `Tail` to include the execution log in the response.
3052
+ # Set to `Tail` to include the execution log in the response. Applies
3053
+ # to synchronously invoked functions only.
3001
3054
  # @return [String]
3002
3055
  #
3003
3056
  # @!attribute [rw] client_context
@@ -3342,6 +3395,14 @@ module Aws::Lambda
3342
3395
  # The layer's open-source license.
3343
3396
  # @return [String]
3344
3397
  #
3398
+ # @!attribute [rw] compatible_architectures
3399
+ # A list of compatible [instruction set architectures][1].
3400
+ #
3401
+ #
3402
+ #
3403
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3404
+ # @return [Array<String>]
3405
+ #
3345
3406
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/LayerVersionsListItem AWS API Documentation
3346
3407
  #
3347
3408
  class LayerVersionsListItem < Struct.new(
@@ -3350,7 +3411,8 @@ module Aws::Lambda
3350
3411
  :description,
3351
3412
  :created_date,
3352
3413
  :compatible_runtimes,
3353
- :license_info)
3414
+ :license_info,
3415
+ :compatible_architectures)
3354
3416
  SENSITIVE = []
3355
3417
  include Aws::Structure
3356
3418
  end
@@ -3759,6 +3821,7 @@ module Aws::Lambda
3759
3821
  # layer_name: "LayerName", # required
3760
3822
  # marker: "String",
3761
3823
  # max_items: 1,
3824
+ # compatible_architecture: "x86_64", # accepts x86_64, arm64
3762
3825
  # }
3763
3826
  #
3764
3827
  # @!attribute [rw] compatible_runtime
@@ -3777,13 +3840,22 @@ module Aws::Lambda
3777
3840
  # The maximum number of versions to return.
3778
3841
  # @return [Integer]
3779
3842
  #
3843
+ # @!attribute [rw] compatible_architecture
3844
+ # The compatible [instruction set architecture][1].
3845
+ #
3846
+ #
3847
+ #
3848
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3849
+ # @return [String]
3850
+ #
3780
3851
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersionsRequest AWS API Documentation
3781
3852
  #
3782
3853
  class ListLayerVersionsRequest < Struct.new(
3783
3854
  :compatible_runtime,
3784
3855
  :layer_name,
3785
3856
  :marker,
3786
- :max_items)
3857
+ :max_items,
3858
+ :compatible_architecture)
3787
3859
  SENSITIVE = []
3788
3860
  include Aws::Structure
3789
3861
  end
@@ -3813,6 +3885,7 @@ module Aws::Lambda
3813
3885
  # compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
3814
3886
  # marker: "String",
3815
3887
  # max_items: 1,
3888
+ # compatible_architecture: "x86_64", # accepts x86_64, arm64
3816
3889
  # }
3817
3890
  #
3818
3891
  # @!attribute [rw] compatible_runtime
@@ -3827,12 +3900,21 @@ module Aws::Lambda
3827
3900
  # The maximum number of layers to return.
3828
3901
  # @return [Integer]
3829
3902
  #
3903
+ # @!attribute [rw] compatible_architecture
3904
+ # The compatible [instruction set architecture][1].
3905
+ #
3906
+ #
3907
+ #
3908
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
3909
+ # @return [String]
3910
+ #
3830
3911
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayersRequest AWS API Documentation
3831
3912
  #
3832
3913
  class ListLayersRequest < Struct.new(
3833
3914
  :compatible_runtime,
3834
3915
  :marker,
3835
- :max_items)
3916
+ :max_items,
3917
+ :compatible_architecture)
3836
3918
  SENSITIVE = []
3837
3919
  include Aws::Structure
3838
3920
  end
@@ -3924,7 +4006,8 @@ module Aws::Lambda
3924
4006
  # }
3925
4007
  #
3926
4008
  # @!attribute [rw] resource
3927
- # The function's Amazon Resource Name (ARN).
4009
+ # The function's Amazon Resource Name (ARN). Note: Lambda does not
4010
+ # support adding tags to aliases or versions.
3928
4011
  # @return [String]
3929
4012
  #
3930
4013
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
@@ -4176,6 +4259,7 @@ module Aws::Lambda
4176
4259
  # },
4177
4260
  # compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
4178
4261
  # license_info: "LicenseInfo",
4262
+ # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
4179
4263
  # }
4180
4264
  #
4181
4265
  # @!attribute [rw] layer_name
@@ -4214,6 +4298,14 @@ module Aws::Lambda
4214
4298
  # [1]: https://spdx.org/licenses/
4215
4299
  # @return [String]
4216
4300
  #
4301
+ # @!attribute [rw] compatible_architectures
4302
+ # A list of compatible [instruction set architectures][1].
4303
+ #
4304
+ #
4305
+ #
4306
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
4307
+ # @return [Array<String>]
4308
+ #
4217
4309
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionRequest AWS API Documentation
4218
4310
  #
4219
4311
  class PublishLayerVersionRequest < Struct.new(
@@ -4221,7 +4313,8 @@ module Aws::Lambda
4221
4313
  :description,
4222
4314
  :content,
4223
4315
  :compatible_runtimes,
4224
- :license_info)
4316
+ :license_info,
4317
+ :compatible_architectures)
4225
4318
  SENSITIVE = []
4226
4319
  include Aws::Structure
4227
4320
  end
@@ -4263,6 +4356,14 @@ module Aws::Lambda
4263
4356
  # The layer's software license.
4264
4357
  # @return [String]
4265
4358
  #
4359
+ # @!attribute [rw] compatible_architectures
4360
+ # A list of compatible [instruction set architectures][1].
4361
+ #
4362
+ #
4363
+ #
4364
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
4365
+ # @return [Array<String>]
4366
+ #
4266
4367
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersionResponse AWS API Documentation
4267
4368
  #
4268
4369
  class PublishLayerVersionResponse < Struct.new(
@@ -4273,7 +4374,8 @@ module Aws::Lambda
4273
4374
  :created_date,
4274
4375
  :version,
4275
4376
  :compatible_runtimes,
4276
- :license_info)
4377
+ :license_info,
4378
+ :compatible_architectures)
4277
4379
  SENSITIVE = []
4278
4380
  include Aws::Structure
4279
4381
  end
@@ -5227,12 +5329,17 @@ module Aws::Lambda
5227
5329
  # @return [String]
5228
5330
  #
5229
5331
  # @!attribute [rw] enabled
5230
- # If true, the event source mapping is active. Set to false to pause
5231
- # polling and invocation.
5332
+ # When true, the event source mapping is active. When false, Lambda
5333
+ # pauses polling and invocation.
5334
+ #
5335
+ # Default: True
5232
5336
  # @return [Boolean]
5233
5337
  #
5234
5338
  # @!attribute [rw] batch_size
5235
- # The maximum number of items to retrieve in a single batch.
5339
+ # The maximum number of records in each batch that Lambda pulls from
5340
+ # your stream or queue and sends to your function. Lambda passes all
5341
+ # of the records in the batch to the function in a single call, up to
5342
+ # the payload limit for synchronous invocation (6 MB).
5236
5343
  #
5237
5344
  # * **Amazon Kinesis** - Default 100. Max 10,000.
5238
5345
  #
@@ -5248,8 +5355,14 @@ module Aws::Lambda
5248
5355
  # @return [Integer]
5249
5356
  #
5250
5357
  # @!attribute [rw] maximum_batching_window_in_seconds
5251
- # (Streams and SQS standard queues) The maximum amount of time to
5252
- # gather records before invoking the function, in seconds.
5358
+ # (Streams and Amazon SQS standard queues) The maximum amount of time,
5359
+ # in seconds, that Lambda spends gathering records before invoking the
5360
+ # function.
5361
+ #
5362
+ # Default: 0
5363
+ #
5364
+ # Related setting: When you set `BatchSize` to a value greater than
5365
+ # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
5253
5366
  # @return [Integer]
5254
5367
  #
5255
5368
  # @!attribute [rw] destination_config
@@ -5326,6 +5439,7 @@ module Aws::Lambda
5326
5439
  # publish: false,
5327
5440
  # dry_run: false,
5328
5441
  # revision_id: "String",
5442
+ # architectures: ["x86_64"], # accepts x86_64, arm64
5329
5443
  # }
5330
5444
  #
5331
5445
  # @!attribute [rw] function_name
@@ -5386,6 +5500,12 @@ module Aws::Lambda
5386
5500
  # changed since you last read it.
5387
5501
  # @return [String]
5388
5502
  #
5503
+ # @!attribute [rw] architectures
5504
+ # The instruction set architecture that the function supports. Enter a
5505
+ # string array with one of the valid values. The default value is
5506
+ # `x86_64`.
5507
+ # @return [Array<String>]
5508
+ #
5389
5509
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
5390
5510
  #
5391
5511
  class UpdateFunctionCodeRequest < Struct.new(
@@ -5397,7 +5517,8 @@ module Aws::Lambda
5397
5517
  :image_uri,
5398
5518
  :publish,
5399
5519
  :dry_run,
5400
- :revision_id)
5520
+ :revision_id,
5521
+ :architectures)
5401
5522
  SENSITIVE = [:zip_file]
5402
5523
  include Aws::Structure
5403
5524
  end
@@ -5571,7 +5692,7 @@ module Aws::Lambda
5571
5692
  #
5572
5693
  # @!attribute [rw] image_config
5573
5694
  # [Container image configuration values][1] that override the values
5574
- # in the container image Dockerfile.
5695
+ # in the container image Docker file.
5575
5696
  #
5576
5697
  #
5577
5698
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lambda/customizations'
49
49
  # @!group service
50
50
  module Aws::Lambda
51
51
 
52
- GEM_VERSION = '1.67.0'
52
+ GEM_VERSION = '1.71.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-12 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.119.0
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.119.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: '0'
80
+ version: '2.3'
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="