aws-sdk-lambda 1.68.0 → 1.69.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +126 -22
- data/lib/aws-sdk-lambda/client_api.rb +16 -0
- data/lib/aws-sdk-lambda/types.rb +149 -28
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6e5446090d0d2c6a6fcfa1cabd4f7007a996af3b5cfb56ea0c7b3f2be0df196
|
4
|
+
data.tar.gz: a9db29ebdda17099d4457f8d62c00d14ee769d652d8a8ab86d71f6f165aa5afd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adfc250c78ccf75dd016a588f205d27de038ac89c5eb42771e0f312c7f01250916af8030a79364ef0ace56041c40900751b2ce30810e05db069c647014ee5150
|
7
|
+
data.tar.gz: 984ce4077463df389435ad6e4ff60beef6747627901ac60acc4dc77ef2558b9a1abbb1ea273d47f37353973b2ebbef6495942b37d9ef52fa75836b275f255186
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2021-09-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for Lambda functions powered by AWS Graviton2 processors. Customers can now select the CPU architecture for their functions.
|
8
|
+
|
4
9
|
1.68.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -404,7 +404,8 @@ module Aws::Lambda
|
|
404
404
|
# use a function. You can apply the policy at the function level, or
|
405
405
|
# specify a qualifier to restrict access to a single version or alias.
|
406
406
|
# 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.
|
407
|
+
# Name (ARN) of that version or alias to invoke the function. Note:
|
408
|
+
# Lambda does not support adding policies to version $LATEST.
|
408
409
|
#
|
409
410
|
# To grant permission to another account, specify the account ID as the
|
410
411
|
# `Principal`. For Amazon Web Services services, the principal is a
|
@@ -458,6 +459,9 @@ module Aws::Lambda
|
|
458
459
|
# resource that invokes the function. For example, an Amazon S3 bucket
|
459
460
|
# or Amazon SNS topic.
|
460
461
|
#
|
462
|
+
# Note that Lambda configures the comparison using the `StringLike`
|
463
|
+
# operator.
|
464
|
+
#
|
461
465
|
# @option params [String] :source_account
|
462
466
|
# For Amazon S3, the ID of the account that owns the resource. Use this
|
463
467
|
# together with `SourceArn` to ensure that the resource is owned by the
|
@@ -650,15 +654,13 @@ module Aws::Lambda
|
|
650
654
|
# Creates a mapping between an event source and an Lambda function.
|
651
655
|
# Lambda reads items from the event source and triggers the function.
|
652
656
|
#
|
653
|
-
# For details about each event source type, see the following topics.
|
654
|
-
# particular, each of the topics describes the required and optional
|
655
|
-
# parameters for the specific event source.
|
657
|
+
# For details about each event source type, see the following topics.
|
656
658
|
#
|
657
659
|
# * [ Configuring a Dynamo DB stream as an event source][1]
|
658
660
|
#
|
659
661
|
# * [ Configuring a Kinesis stream as an event source][2]
|
660
662
|
#
|
661
|
-
# * [ Configuring an SQS queue as an event source][3]
|
663
|
+
# * [ Configuring an Amazon SQS queue as an event source][3]
|
662
664
|
#
|
663
665
|
# * [ Configuring an MQ broker as an event source][4]
|
664
666
|
#
|
@@ -727,11 +729,16 @@ module Aws::Lambda
|
|
727
729
|
# only the function name, it's limited to 64 characters in length.
|
728
730
|
#
|
729
731
|
# @option params [Boolean] :enabled
|
730
|
-
#
|
731
|
-
# polling and invocation.
|
732
|
+
# When true, the event source mapping is active. When false, Lambda
|
733
|
+
# pauses polling and invocation.
|
734
|
+
#
|
735
|
+
# Default: True
|
732
736
|
#
|
733
737
|
# @option params [Integer] :batch_size
|
734
|
-
# The maximum number of
|
738
|
+
# The maximum number of records in each batch that Lambda pulls from
|
739
|
+
# your stream or queue and sends to your function. Lambda passes all of
|
740
|
+
# the records in the batch to the function in a single call, up to the
|
741
|
+
# payload limit for synchronous invocation (6 MB).
|
735
742
|
#
|
736
743
|
# * **Amazon Kinesis** - Default 100. Max 10,000.
|
737
744
|
#
|
@@ -746,8 +753,14 @@ module Aws::Lambda
|
|
746
753
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
747
754
|
#
|
748
755
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
749
|
-
# (Streams and SQS standard queues) The maximum amount of time
|
750
|
-
# records before invoking the
|
756
|
+
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
757
|
+
# in seconds, that Lambda spends gathering records before invoking the
|
758
|
+
# function.
|
759
|
+
#
|
760
|
+
# Default: 0
|
761
|
+
#
|
762
|
+
# Related setting: When you set `BatchSize` to a value greater than 10,
|
763
|
+
# you must set `MaximumBatchingWindowInSeconds` to at least 1.
|
751
764
|
#
|
752
765
|
# @option params [Integer] :parallelization_factor
|
753
766
|
# (Streams only) The number of batches to process from each shard
|
@@ -921,7 +934,10 @@ module Aws::Lambda
|
|
921
934
|
# You set the package type to `Zip` if the deployment package is a [.zip
|
922
935
|
# file archive][4]. For a .zip file archive, the code property specifies
|
923
936
|
# the location of the .zip file. You must also specify the handler and
|
924
|
-
# runtime properties.
|
937
|
+
# runtime properties. The code in the deployment package must be
|
938
|
+
# compatible with the target instruction set architecture of the
|
939
|
+
# function (`x86-64` or `arm64`). If you do not specify the
|
940
|
+
# architecture, the default value is `x86-64`.
|
925
941
|
#
|
926
942
|
# When you create a function, Lambda provisions an instance of the
|
927
943
|
# function and its supporting resources. If your function connects to a
|
@@ -1111,6 +1127,11 @@ module Aws::Lambda
|
|
1111
1127
|
# set of signing profiles, which define the trusted publishers for this
|
1112
1128
|
# function.
|
1113
1129
|
#
|
1130
|
+
# @option params [Array<String>] :architectures
|
1131
|
+
# The instruction set architecture that the function supports. Enter a
|
1132
|
+
# string array with one of the valid values. The default value is
|
1133
|
+
# `x86_64`.
|
1134
|
+
#
|
1114
1135
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1115
1136
|
#
|
1116
1137
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -1144,6 +1165,7 @@ module Aws::Lambda
|
|
1144
1165
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
1145
1166
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
1146
1167
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
1168
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
1147
1169
|
#
|
1148
1170
|
# @example Request syntax with placeholder values
|
1149
1171
|
#
|
@@ -1196,6 +1218,7 @@ module Aws::Lambda
|
|
1196
1218
|
# working_directory: "WorkingDirectory",
|
1197
1219
|
# },
|
1198
1220
|
# code_signing_config_arn: "CodeSigningConfigArn",
|
1221
|
+
# architectures: ["x86_64"], # accepts x86_64, arm64
|
1199
1222
|
# })
|
1200
1223
|
#
|
1201
1224
|
# @example Response structure
|
@@ -1250,6 +1273,8 @@ module Aws::Lambda
|
|
1250
1273
|
# resp.image_config_response.error.message #=> String
|
1251
1274
|
# resp.signing_profile_version_arn #=> String
|
1252
1275
|
# resp.signing_job_arn #=> String
|
1276
|
+
# resp.architectures #=> Array
|
1277
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
1253
1278
|
#
|
1254
1279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
1255
1280
|
#
|
@@ -1936,6 +1961,8 @@ module Aws::Lambda
|
|
1936
1961
|
# resp.configuration.image_config_response.error.message #=> String
|
1937
1962
|
# resp.configuration.signing_profile_version_arn #=> String
|
1938
1963
|
# resp.configuration.signing_job_arn #=> String
|
1964
|
+
# resp.configuration.architectures #=> Array
|
1965
|
+
# resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
|
1939
1966
|
# resp.code.repository_type #=> String
|
1940
1967
|
# resp.code.location #=> String
|
1941
1968
|
# resp.code.image_uri #=> String
|
@@ -2103,6 +2130,7 @@ module Aws::Lambda
|
|
2103
2130
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
2104
2131
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
2105
2132
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
2133
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
2106
2134
|
#
|
2107
2135
|
# @example Request syntax with placeholder values
|
2108
2136
|
#
|
@@ -2163,6 +2191,8 @@ module Aws::Lambda
|
|
2163
2191
|
# resp.image_config_response.error.message #=> String
|
2164
2192
|
# resp.signing_profile_version_arn #=> String
|
2165
2193
|
# resp.signing_job_arn #=> String
|
2194
|
+
# resp.architectures #=> Array
|
2195
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
2166
2196
|
#
|
2167
2197
|
#
|
2168
2198
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2261,6 +2291,7 @@ module Aws::Lambda
|
|
2261
2291
|
# * {Types::GetLayerVersionResponse#version #version} => Integer
|
2262
2292
|
# * {Types::GetLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array<String>
|
2263
2293
|
# * {Types::GetLayerVersionResponse#license_info #license_info} => String
|
2294
|
+
# * {Types::GetLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
|
2264
2295
|
#
|
2265
2296
|
# @example Request syntax with placeholder values
|
2266
2297
|
#
|
@@ -2284,6 +2315,8 @@ module Aws::Lambda
|
|
2284
2315
|
# resp.compatible_runtimes #=> Array
|
2285
2316
|
# 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
2317
|
# resp.license_info #=> String
|
2318
|
+
# resp.compatible_architectures #=> Array
|
2319
|
+
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
2287
2320
|
#
|
2288
2321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion AWS API Documentation
|
2289
2322
|
#
|
@@ -2314,6 +2347,7 @@ module Aws::Lambda
|
|
2314
2347
|
# * {Types::GetLayerVersionResponse#version #version} => Integer
|
2315
2348
|
# * {Types::GetLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array<String>
|
2316
2349
|
# * {Types::GetLayerVersionResponse#license_info #license_info} => String
|
2350
|
+
# * {Types::GetLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
|
2317
2351
|
#
|
2318
2352
|
# @example Request syntax with placeholder values
|
2319
2353
|
#
|
@@ -2336,6 +2370,8 @@ module Aws::Lambda
|
|
2336
2370
|
# resp.compatible_runtimes #=> Array
|
2337
2371
|
# 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
2372
|
# resp.license_info #=> String
|
2373
|
+
# resp.compatible_architectures #=> Array
|
2374
|
+
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
2339
2375
|
#
|
2340
2376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn AWS API Documentation
|
2341
2377
|
#
|
@@ -2576,7 +2612,8 @@ module Aws::Lambda
|
|
2576
2612
|
# role has permission to invoke the function.
|
2577
2613
|
#
|
2578
2614
|
# @option params [String] :log_type
|
2579
|
-
# Set to `Tail` to include the execution log in the response.
|
2615
|
+
# Set to `Tail` to include the execution log in the response. Applies to
|
2616
|
+
# synchronously invoked functions only.
|
2580
2617
|
#
|
2581
2618
|
# @option params [String] :client_context
|
2582
2619
|
# Up to 3583 bytes of base64-encoded data about the invoking client to
|
@@ -3059,6 +3096,8 @@ module Aws::Lambda
|
|
3059
3096
|
# resp.functions[0].image_config_response.error.message #=> String
|
3060
3097
|
# resp.functions[0].signing_profile_version_arn #=> String
|
3061
3098
|
# resp.functions[0].signing_job_arn #=> String
|
3099
|
+
# resp.functions[0].architectures #=> Array
|
3100
|
+
# resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3062
3101
|
#
|
3063
3102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
3064
3103
|
#
|
@@ -3116,6 +3155,8 @@ module Aws::Lambda
|
|
3116
3155
|
# Lists the versions of an [Lambda layer][1]. Versions that have been
|
3117
3156
|
# deleted aren't listed. Specify a [runtime identifier][2] to list only
|
3118
3157
|
# versions that indicate that they're compatible with that runtime.
|
3158
|
+
# Specify a compatible architecture to include only layer versions that
|
3159
|
+
# are compatible with that architecture.
|
3119
3160
|
#
|
3120
3161
|
#
|
3121
3162
|
#
|
@@ -3134,6 +3175,13 @@ module Aws::Lambda
|
|
3134
3175
|
# @option params [Integer] :max_items
|
3135
3176
|
# The maximum number of versions to return.
|
3136
3177
|
#
|
3178
|
+
# @option params [String] :compatible_architecture
|
3179
|
+
# The compatible [instruction set architecture][1].
|
3180
|
+
#
|
3181
|
+
#
|
3182
|
+
#
|
3183
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3184
|
+
#
|
3137
3185
|
# @return [Types::ListLayerVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3138
3186
|
#
|
3139
3187
|
# * {Types::ListLayerVersionsResponse#next_marker #next_marker} => String
|
@@ -3148,6 +3196,7 @@ module Aws::Lambda
|
|
3148
3196
|
# layer_name: "LayerName", # required
|
3149
3197
|
# marker: "String",
|
3150
3198
|
# max_items: 1,
|
3199
|
+
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
3151
3200
|
# })
|
3152
3201
|
#
|
3153
3202
|
# @example Response structure
|
@@ -3161,6 +3210,8 @@ module Aws::Lambda
|
|
3161
3210
|
# resp.layer_versions[0].compatible_runtimes #=> Array
|
3162
3211
|
# 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
3212
|
# resp.layer_versions[0].license_info #=> String
|
3213
|
+
# resp.layer_versions[0].compatible_architectures #=> Array
|
3214
|
+
# resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
3164
3215
|
#
|
3165
3216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
|
3166
3217
|
#
|
@@ -3173,12 +3224,15 @@ module Aws::Lambda
|
|
3173
3224
|
|
3174
3225
|
# Lists [Lambda layers][1] and shows information about the latest
|
3175
3226
|
# version of each. Specify a [runtime identifier][2] to list only layers
|
3176
|
-
# that indicate that they're compatible with that runtime.
|
3227
|
+
# that indicate that they're compatible with that runtime. Specify a
|
3228
|
+
# compatible architecture to include only layers that are compatible
|
3229
|
+
# with that [instruction set architecture][3].
|
3177
3230
|
#
|
3178
3231
|
#
|
3179
3232
|
#
|
3180
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
3233
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html
|
3181
3234
|
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
3235
|
+
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3182
3236
|
#
|
3183
3237
|
# @option params [String] :compatible_runtime
|
3184
3238
|
# A runtime identifier. For example, `go1.x`.
|
@@ -3189,6 +3243,13 @@ module Aws::Lambda
|
|
3189
3243
|
# @option params [Integer] :max_items
|
3190
3244
|
# The maximum number of layers to return.
|
3191
3245
|
#
|
3246
|
+
# @option params [String] :compatible_architecture
|
3247
|
+
# The compatible [instruction set architecture][1].
|
3248
|
+
#
|
3249
|
+
#
|
3250
|
+
#
|
3251
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3252
|
+
#
|
3192
3253
|
# @return [Types::ListLayersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3193
3254
|
#
|
3194
3255
|
# * {Types::ListLayersResponse#next_marker #next_marker} => String
|
@@ -3202,6 +3263,7 @@ module Aws::Lambda
|
|
3202
3263
|
# 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
3264
|
# marker: "String",
|
3204
3265
|
# max_items: 1,
|
3266
|
+
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
3205
3267
|
# })
|
3206
3268
|
#
|
3207
3269
|
# @example Response structure
|
@@ -3217,6 +3279,8 @@ module Aws::Lambda
|
|
3217
3279
|
# resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
|
3218
3280
|
# 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
3281
|
# resp.layers[0].latest_matching_version.license_info #=> String
|
3282
|
+
# resp.layers[0].latest_matching_version.compatible_architectures #=> Array
|
3283
|
+
# resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
3220
3284
|
#
|
3221
3285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
|
3222
3286
|
#
|
@@ -3296,7 +3360,8 @@ module Aws::Lambda
|
|
3296
3360
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
3297
3361
|
#
|
3298
3362
|
# @option params [required, String] :resource
|
3299
|
-
# The function's Amazon Resource Name (ARN).
|
3363
|
+
# The function's Amazon Resource Name (ARN). Note: Lambda does not
|
3364
|
+
# support adding tags to aliases or versions.
|
3300
3365
|
#
|
3301
3366
|
# @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3302
3367
|
#
|
@@ -3422,6 +3487,8 @@ module Aws::Lambda
|
|
3422
3487
|
# resp.versions[0].image_config_response.error.message #=> String
|
3423
3488
|
# resp.versions[0].signing_profile_version_arn #=> String
|
3424
3489
|
# resp.versions[0].signing_job_arn #=> String
|
3490
|
+
# resp.versions[0].architectures #=> Array
|
3491
|
+
# resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3425
3492
|
#
|
3426
3493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
3427
3494
|
#
|
@@ -3474,6 +3541,13 @@ module Aws::Lambda
|
|
3474
3541
|
#
|
3475
3542
|
# [1]: https://spdx.org/licenses/
|
3476
3543
|
#
|
3544
|
+
# @option params [Array<String>] :compatible_architectures
|
3545
|
+
# A list of compatible [instruction set architectures][1].
|
3546
|
+
#
|
3547
|
+
#
|
3548
|
+
#
|
3549
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
|
3550
|
+
#
|
3477
3551
|
# @return [Types::PublishLayerVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3478
3552
|
#
|
3479
3553
|
# * {Types::PublishLayerVersionResponse#content #content} => Types::LayerVersionContentOutput
|
@@ -3484,6 +3558,7 @@ module Aws::Lambda
|
|
3484
3558
|
# * {Types::PublishLayerVersionResponse#version #version} => Integer
|
3485
3559
|
# * {Types::PublishLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array<String>
|
3486
3560
|
# * {Types::PublishLayerVersionResponse#license_info #license_info} => String
|
3561
|
+
# * {Types::PublishLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
|
3487
3562
|
#
|
3488
3563
|
# @example Request syntax with placeholder values
|
3489
3564
|
#
|
@@ -3498,6 +3573,7 @@ module Aws::Lambda
|
|
3498
3573
|
# },
|
3499
3574
|
# 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
3575
|
# license_info: "LicenseInfo",
|
3576
|
+
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
3501
3577
|
# })
|
3502
3578
|
#
|
3503
3579
|
# @example Response structure
|
@@ -3515,6 +3591,8 @@ module Aws::Lambda
|
|
3515
3591
|
# resp.compatible_runtimes #=> Array
|
3516
3592
|
# 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
3593
|
# resp.license_info #=> String
|
3594
|
+
# resp.compatible_architectures #=> Array
|
3595
|
+
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
3518
3596
|
#
|
3519
3597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
|
3520
3598
|
#
|
@@ -3605,6 +3683,7 @@ module Aws::Lambda
|
|
3605
3683
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
3606
3684
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
3607
3685
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
3686
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
3608
3687
|
#
|
3609
3688
|
# @example Request syntax with placeholder values
|
3610
3689
|
#
|
@@ -3667,6 +3746,8 @@ module Aws::Lambda
|
|
3667
3746
|
# resp.image_config_response.error.message #=> String
|
3668
3747
|
# resp.signing_profile_version_arn #=> String
|
3669
3748
|
# resp.signing_job_arn #=> String
|
3749
|
+
# resp.architectures #=> Array
|
3750
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
3670
3751
|
#
|
3671
3752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
3672
3753
|
#
|
@@ -4296,11 +4377,16 @@ module Aws::Lambda
|
|
4296
4377
|
# only the function name, it's limited to 64 characters in length.
|
4297
4378
|
#
|
4298
4379
|
# @option params [Boolean] :enabled
|
4299
|
-
#
|
4300
|
-
# polling and invocation.
|
4380
|
+
# When true, the event source mapping is active. When false, Lambda
|
4381
|
+
# pauses polling and invocation.
|
4382
|
+
#
|
4383
|
+
# Default: True
|
4301
4384
|
#
|
4302
4385
|
# @option params [Integer] :batch_size
|
4303
|
-
# The maximum number of
|
4386
|
+
# The maximum number of records in each batch that Lambda pulls from
|
4387
|
+
# your stream or queue and sends to your function. Lambda passes all of
|
4388
|
+
# the records in the batch to the function in a single call, up to the
|
4389
|
+
# payload limit for synchronous invocation (6 MB).
|
4304
4390
|
#
|
4305
4391
|
# * **Amazon Kinesis** - Default 100. Max 10,000.
|
4306
4392
|
#
|
@@ -4315,8 +4401,14 @@ module Aws::Lambda
|
|
4315
4401
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
4316
4402
|
#
|
4317
4403
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
4318
|
-
# (Streams and SQS standard queues) The maximum amount of time
|
4319
|
-
# records before invoking the
|
4404
|
+
# (Streams and Amazon SQS standard queues) The maximum amount of time,
|
4405
|
+
# in seconds, that Lambda spends gathering records before invoking the
|
4406
|
+
# function.
|
4407
|
+
#
|
4408
|
+
# Default: 0
|
4409
|
+
#
|
4410
|
+
# Related setting: When you set `BatchSize` to a value greater than 10,
|
4411
|
+
# you must set `MaximumBatchingWindowInSeconds` to at least 1.
|
4320
4412
|
#
|
4321
4413
|
# @option params [Types::DestinationConfig] :destination_config
|
4322
4414
|
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
|
@@ -4514,6 +4606,11 @@ module Aws::Lambda
|
|
4514
4606
|
# specified. Use this option to avoid modifying a function that has
|
4515
4607
|
# changed since you last read it.
|
4516
4608
|
#
|
4609
|
+
# @option params [Array<String>] :architectures
|
4610
|
+
# The instruction set architecture that the function supports. Enter a
|
4611
|
+
# string array with one of the valid values. The default value is
|
4612
|
+
# `x86_64`.
|
4613
|
+
#
|
4517
4614
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4518
4615
|
#
|
4519
4616
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -4547,6 +4644,7 @@ module Aws::Lambda
|
|
4547
4644
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
4548
4645
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
4549
4646
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
4647
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
4550
4648
|
#
|
4551
4649
|
# @example Request syntax with placeholder values
|
4552
4650
|
#
|
@@ -4560,6 +4658,7 @@ module Aws::Lambda
|
|
4560
4658
|
# publish: false,
|
4561
4659
|
# dry_run: false,
|
4562
4660
|
# revision_id: "String",
|
4661
|
+
# architectures: ["x86_64"], # accepts x86_64, arm64
|
4563
4662
|
# })
|
4564
4663
|
#
|
4565
4664
|
# @example Response structure
|
@@ -4614,6 +4713,8 @@ module Aws::Lambda
|
|
4614
4713
|
# resp.image_config_response.error.message #=> String
|
4615
4714
|
# resp.signing_profile_version_arn #=> String
|
4616
4715
|
# resp.signing_job_arn #=> String
|
4716
|
+
# resp.architectures #=> Array
|
4717
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
4617
4718
|
#
|
4618
4719
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
4619
4720
|
#
|
@@ -4760,7 +4861,7 @@ module Aws::Lambda
|
|
4760
4861
|
#
|
4761
4862
|
# @option params [Types::ImageConfig] :image_config
|
4762
4863
|
# [Container image configuration values][1] that override the values in
|
4763
|
-
# the container image
|
4864
|
+
# the container image Docker file.
|
4764
4865
|
#
|
4765
4866
|
#
|
4766
4867
|
#
|
@@ -4799,6 +4900,7 @@ module Aws::Lambda
|
|
4799
4900
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
4800
4901
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
4801
4902
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
4903
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
4802
4904
|
#
|
4803
4905
|
# @example Request syntax with placeholder values
|
4804
4906
|
#
|
@@ -4893,6 +4995,8 @@ module Aws::Lambda
|
|
4893
4995
|
# resp.image_config_response.error.message #=> String
|
4894
4996
|
# resp.signing_profile_version_arn #=> String
|
4895
4997
|
# resp.signing_job_arn #=> String
|
4998
|
+
# resp.architectures #=> Array
|
4999
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
4896
5000
|
#
|
4897
5001
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
4898
5002
|
#
|
@@ -5007,7 +5111,7 @@ module Aws::Lambda
|
|
5007
5111
|
params: params,
|
5008
5112
|
config: config)
|
5009
5113
|
context[:gem_name] = 'aws-sdk-lambda'
|
5010
|
-
context[:gem_version] = '1.
|
5114
|
+
context[:gem_version] = '1.69.0'
|
5011
5115
|
Seahorse::Client::Request.new(handlers, context)
|
5012
5116
|
end
|
5013
5117
|
|
@@ -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"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -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/
|
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
|
-
#
|
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
|
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
|
718
|
-
#
|
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
|
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
|
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
|
-
#
|
1635
|
-
#
|
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
|
-
#
|
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
|
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
|
5252
|
-
#
|
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
|
5695
|
+
# in the container image Docker file.
|
5575
5696
|
#
|
5576
5697
|
#
|
5577
5698
|
#
|
data/lib/aws-sdk-lambda.rb
CHANGED
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.
|
4
|
+
version: 1.69.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-09-
|
11
|
+
date: 2021-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|