aws-sdk-lambda 1.65.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +149 -44
- data/lib/aws-sdk-lambda/client_api.rb +16 -0
- data/lib/aws-sdk-lambda/types.rb +159 -38
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +5 -5
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,26 @@
|
|
|
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
|
+
|
|
9
|
+
1.68.0 (2021-09-01)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.67.0 (2021-08-12)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Lambda Python 3.9 runtime launch
|
|
18
|
+
|
|
19
|
+
1.66.0 (2021-07-30)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
23
|
+
|
|
4
24
|
1.65.0 (2021-07-28)
|
|
5
25
|
------------------
|
|
6
26
|
|
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,12 +1165,13 @@ 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
|
#
|
|
1150
1172
|
# resp = client.create_function({
|
|
1151
1173
|
# function_name: "FunctionName", # required
|
|
1152
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
1174
|
+
# 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
|
|
1153
1175
|
# role: "RoleArn", # required
|
|
1154
1176
|
# handler: "Handler",
|
|
1155
1177
|
# code: { # required
|
|
@@ -1196,13 +1218,14 @@ 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
|
|
1202
1225
|
#
|
|
1203
1226
|
# resp.function_name #=> String
|
|
1204
1227
|
# resp.function_arn #=> String
|
|
1205
|
-
# resp.runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
1228
|
+
# resp.runtime #=> 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"
|
|
1206
1229
|
# resp.role #=> String
|
|
1207
1230
|
# resp.handler #=> String
|
|
1208
1231
|
# resp.code_size #=> Integer
|
|
@@ -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
|
#
|
|
@@ -1888,7 +1913,7 @@ module Aws::Lambda
|
|
|
1888
1913
|
#
|
|
1889
1914
|
# resp.configuration.function_name #=> String
|
|
1890
1915
|
# resp.configuration.function_arn #=> String
|
|
1891
|
-
# resp.configuration.runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
1916
|
+
# resp.configuration.runtime #=> 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"
|
|
1892
1917
|
# resp.configuration.role #=> String
|
|
1893
1918
|
# resp.configuration.handler #=> String
|
|
1894
1919
|
# resp.configuration.code_size #=> Integer
|
|
@@ -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
|
#
|
|
@@ -2115,7 +2143,7 @@ module Aws::Lambda
|
|
|
2115
2143
|
#
|
|
2116
2144
|
# resp.function_name #=> String
|
|
2117
2145
|
# resp.function_arn #=> String
|
|
2118
|
-
# resp.runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
2146
|
+
# resp.runtime #=> 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"
|
|
2119
2147
|
# resp.role #=> String
|
|
2120
2148
|
# resp.handler #=> String
|
|
2121
2149
|
# resp.code_size #=> Integer
|
|
@@ -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
|
#
|
|
@@ -2282,8 +2313,10 @@ module Aws::Lambda
|
|
|
2282
2313
|
# resp.created_date #=> Time
|
|
2283
2314
|
# resp.version #=> Integer
|
|
2284
2315
|
# resp.compatible_runtimes #=> Array
|
|
2285
|
-
# 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
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
|
#
|
|
@@ -2334,8 +2368,10 @@ module Aws::Lambda
|
|
|
2334
2368
|
# resp.created_date #=> Time
|
|
2335
2369
|
# resp.version #=> Integer
|
|
2336
2370
|
# resp.compatible_runtimes #=> Array
|
|
2337
|
-
# 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
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
|
|
@@ -2970,10 +3007,11 @@ module Aws::Lambda
|
|
|
2970
3007
|
# </note>
|
|
2971
3008
|
#
|
|
2972
3009
|
# @option params [String] :master_region
|
|
2973
|
-
# For Lambda@Edge functions, the Region of the
|
|
2974
|
-
# example, `us-east-1` filters the list of
|
|
2975
|
-
# Lambda@Edge functions replicated from a
|
|
2976
|
-
# Virginia). If specified, you must set
|
|
3010
|
+
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
|
3011
|
+
# master function. For example, `us-east-1` filters the list of
|
|
3012
|
+
# functions to only include Lambda@Edge functions replicated from a
|
|
3013
|
+
# master function in US East (N. Virginia). If specified, you must set
|
|
3014
|
+
# `FunctionVersion` to `ALL`.
|
|
2977
3015
|
#
|
|
2978
3016
|
# @option params [String] :function_version
|
|
2979
3017
|
# Set to `ALL` to include entries for all published versions of each
|
|
@@ -3010,7 +3048,7 @@ module Aws::Lambda
|
|
|
3010
3048
|
# resp.functions #=> Array
|
|
3011
3049
|
# resp.functions[0].function_name #=> String
|
|
3012
3050
|
# resp.functions[0].function_arn #=> String
|
|
3013
|
-
# resp.functions[0].runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
3051
|
+
# resp.functions[0].runtime #=> 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"
|
|
3014
3052
|
# resp.functions[0].role #=> String
|
|
3015
3053
|
# resp.functions[0].handler #=> String
|
|
3016
3054
|
# resp.functions[0].code_size #=> Integer
|
|
@@ -3058,6 +3096,8 @@ module Aws::Lambda
|
|
|
3058
3096
|
# resp.functions[0].image_config_response.error.message #=> String
|
|
3059
3097
|
# resp.functions[0].signing_profile_version_arn #=> String
|
|
3060
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"
|
|
3061
3101
|
#
|
|
3062
3102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
|
3063
3103
|
#
|
|
@@ -3115,6 +3155,8 @@ module Aws::Lambda
|
|
|
3115
3155
|
# Lists the versions of an [Lambda layer][1]. Versions that have been
|
|
3116
3156
|
# deleted aren't listed. Specify a [runtime identifier][2] to list only
|
|
3117
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.
|
|
3118
3160
|
#
|
|
3119
3161
|
#
|
|
3120
3162
|
#
|
|
@@ -3133,6 +3175,13 @@ module Aws::Lambda
|
|
|
3133
3175
|
# @option params [Integer] :max_items
|
|
3134
3176
|
# The maximum number of versions to return.
|
|
3135
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
|
+
#
|
|
3136
3185
|
# @return [Types::ListLayerVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3137
3186
|
#
|
|
3138
3187
|
# * {Types::ListLayerVersionsResponse#next_marker #next_marker} => String
|
|
@@ -3143,10 +3192,11 @@ module Aws::Lambda
|
|
|
3143
3192
|
# @example Request syntax with placeholder values
|
|
3144
3193
|
#
|
|
3145
3194
|
# resp = client.list_layer_versions({
|
|
3146
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
3195
|
+
# 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
|
|
3147
3196
|
# layer_name: "LayerName", # required
|
|
3148
3197
|
# marker: "String",
|
|
3149
3198
|
# max_items: 1,
|
|
3199
|
+
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
|
3150
3200
|
# })
|
|
3151
3201
|
#
|
|
3152
3202
|
# @example Response structure
|
|
@@ -3158,8 +3208,10 @@ module Aws::Lambda
|
|
|
3158
3208
|
# resp.layer_versions[0].description #=> String
|
|
3159
3209
|
# resp.layer_versions[0].created_date #=> Time
|
|
3160
3210
|
# resp.layer_versions[0].compatible_runtimes #=> Array
|
|
3161
|
-
# 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
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"
|
|
3162
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"
|
|
3163
3215
|
#
|
|
3164
3216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions AWS API Documentation
|
|
3165
3217
|
#
|
|
@@ -3172,12 +3224,15 @@ module Aws::Lambda
|
|
|
3172
3224
|
|
|
3173
3225
|
# Lists [Lambda layers][1] and shows information about the latest
|
|
3174
3226
|
# version of each. Specify a [runtime identifier][2] to list only layers
|
|
3175
|
-
# 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].
|
|
3176
3230
|
#
|
|
3177
3231
|
#
|
|
3178
3232
|
#
|
|
3179
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
|
3233
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html
|
|
3180
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
|
|
3181
3236
|
#
|
|
3182
3237
|
# @option params [String] :compatible_runtime
|
|
3183
3238
|
# A runtime identifier. For example, `go1.x`.
|
|
@@ -3188,6 +3243,13 @@ module Aws::Lambda
|
|
|
3188
3243
|
# @option params [Integer] :max_items
|
|
3189
3244
|
# The maximum number of layers to return.
|
|
3190
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
|
+
#
|
|
3191
3253
|
# @return [Types::ListLayersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3192
3254
|
#
|
|
3193
3255
|
# * {Types::ListLayersResponse#next_marker #next_marker} => String
|
|
@@ -3198,9 +3260,10 @@ module Aws::Lambda
|
|
|
3198
3260
|
# @example Request syntax with placeholder values
|
|
3199
3261
|
#
|
|
3200
3262
|
# resp = client.list_layers({
|
|
3201
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
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
|
|
3202
3264
|
# marker: "String",
|
|
3203
3265
|
# max_items: 1,
|
|
3266
|
+
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
|
3204
3267
|
# })
|
|
3205
3268
|
#
|
|
3206
3269
|
# @example Response structure
|
|
@@ -3214,8 +3277,10 @@ module Aws::Lambda
|
|
|
3214
3277
|
# resp.layers[0].latest_matching_version.description #=> String
|
|
3215
3278
|
# resp.layers[0].latest_matching_version.created_date #=> Time
|
|
3216
3279
|
# resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
|
|
3217
|
-
# 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
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"
|
|
3218
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"
|
|
3219
3284
|
#
|
|
3220
3285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers AWS API Documentation
|
|
3221
3286
|
#
|
|
@@ -3295,7 +3360,8 @@ module Aws::Lambda
|
|
|
3295
3360
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
|
|
3296
3361
|
#
|
|
3297
3362
|
# @option params [required, String] :resource
|
|
3298
|
-
# 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.
|
|
3299
3365
|
#
|
|
3300
3366
|
# @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3301
3367
|
#
|
|
@@ -3373,7 +3439,7 @@ module Aws::Lambda
|
|
|
3373
3439
|
# resp.versions #=> Array
|
|
3374
3440
|
# resp.versions[0].function_name #=> String
|
|
3375
3441
|
# resp.versions[0].function_arn #=> String
|
|
3376
|
-
# resp.versions[0].runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
3442
|
+
# resp.versions[0].runtime #=> 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"
|
|
3377
3443
|
# resp.versions[0].role #=> String
|
|
3378
3444
|
# resp.versions[0].handler #=> String
|
|
3379
3445
|
# resp.versions[0].code_size #=> Integer
|
|
@@ -3421,6 +3487,8 @@ module Aws::Lambda
|
|
|
3421
3487
|
# resp.versions[0].image_config_response.error.message #=> String
|
|
3422
3488
|
# resp.versions[0].signing_profile_version_arn #=> String
|
|
3423
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"
|
|
3424
3492
|
#
|
|
3425
3493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
|
3426
3494
|
#
|
|
@@ -3473,6 +3541,13 @@ module Aws::Lambda
|
|
|
3473
3541
|
#
|
|
3474
3542
|
# [1]: https://spdx.org/licenses/
|
|
3475
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
|
+
#
|
|
3476
3551
|
# @return [Types::PublishLayerVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3477
3552
|
#
|
|
3478
3553
|
# * {Types::PublishLayerVersionResponse#content #content} => Types::LayerVersionContentOutput
|
|
@@ -3483,6 +3558,7 @@ module Aws::Lambda
|
|
|
3483
3558
|
# * {Types::PublishLayerVersionResponse#version #version} => Integer
|
|
3484
3559
|
# * {Types::PublishLayerVersionResponse#compatible_runtimes #compatible_runtimes} => Array<String>
|
|
3485
3560
|
# * {Types::PublishLayerVersionResponse#license_info #license_info} => String
|
|
3561
|
+
# * {Types::PublishLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
|
|
3486
3562
|
#
|
|
3487
3563
|
# @example Request syntax with placeholder values
|
|
3488
3564
|
#
|
|
@@ -3495,8 +3571,9 @@ module Aws::Lambda
|
|
|
3495
3571
|
# s3_object_version: "S3ObjectVersion",
|
|
3496
3572
|
# zip_file: "data",
|
|
3497
3573
|
# },
|
|
3498
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
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
|
|
3499
3575
|
# license_info: "LicenseInfo",
|
|
3576
|
+
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
|
3500
3577
|
# })
|
|
3501
3578
|
#
|
|
3502
3579
|
# @example Response structure
|
|
@@ -3512,8 +3589,10 @@ module Aws::Lambda
|
|
|
3512
3589
|
# resp.created_date #=> Time
|
|
3513
3590
|
# resp.version #=> Integer
|
|
3514
3591
|
# resp.compatible_runtimes #=> Array
|
|
3515
|
-
# 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
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"
|
|
3516
3593
|
# resp.license_info #=> String
|
|
3594
|
+
# resp.compatible_architectures #=> Array
|
|
3595
|
+
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
|
3517
3596
|
#
|
|
3518
3597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion AWS API Documentation
|
|
3519
3598
|
#
|
|
@@ -3604,6 +3683,7 @@ module Aws::Lambda
|
|
|
3604
3683
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
|
3605
3684
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
|
3606
3685
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
|
3686
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
|
3607
3687
|
#
|
|
3608
3688
|
# @example Request syntax with placeholder values
|
|
3609
3689
|
#
|
|
@@ -3618,7 +3698,7 @@ module Aws::Lambda
|
|
|
3618
3698
|
#
|
|
3619
3699
|
# resp.function_name #=> String
|
|
3620
3700
|
# resp.function_arn #=> String
|
|
3621
|
-
# resp.runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
3701
|
+
# resp.runtime #=> 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"
|
|
3622
3702
|
# resp.role #=> String
|
|
3623
3703
|
# resp.handler #=> String
|
|
3624
3704
|
# resp.code_size #=> Integer
|
|
@@ -3666,6 +3746,8 @@ module Aws::Lambda
|
|
|
3666
3746
|
# resp.image_config_response.error.message #=> String
|
|
3667
3747
|
# resp.signing_profile_version_arn #=> String
|
|
3668
3748
|
# resp.signing_job_arn #=> String
|
|
3749
|
+
# resp.architectures #=> Array
|
|
3750
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
|
3669
3751
|
#
|
|
3670
3752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
|
3671
3753
|
#
|
|
@@ -4295,11 +4377,16 @@ module Aws::Lambda
|
|
|
4295
4377
|
# only the function name, it's limited to 64 characters in length.
|
|
4296
4378
|
#
|
|
4297
4379
|
# @option params [Boolean] :enabled
|
|
4298
|
-
#
|
|
4299
|
-
# polling and invocation.
|
|
4380
|
+
# When true, the event source mapping is active. When false, Lambda
|
|
4381
|
+
# pauses polling and invocation.
|
|
4382
|
+
#
|
|
4383
|
+
# Default: True
|
|
4300
4384
|
#
|
|
4301
4385
|
# @option params [Integer] :batch_size
|
|
4302
|
-
# 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).
|
|
4303
4390
|
#
|
|
4304
4391
|
# * **Amazon Kinesis** - Default 100. Max 10,000.
|
|
4305
4392
|
#
|
|
@@ -4314,8 +4401,14 @@ module Aws::Lambda
|
|
|
4314
4401
|
# * **Self-Managed Apache Kafka** - Default 100. Max 10,000.
|
|
4315
4402
|
#
|
|
4316
4403
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
|
4317
|
-
# (Streams and SQS standard queues) The maximum amount of time
|
|
4318
|
-
# 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.
|
|
4319
4412
|
#
|
|
4320
4413
|
# @option params [Types::DestinationConfig] :destination_config
|
|
4321
4414
|
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
|
|
@@ -4513,6 +4606,11 @@ module Aws::Lambda
|
|
|
4513
4606
|
# specified. Use this option to avoid modifying a function that has
|
|
4514
4607
|
# changed since you last read it.
|
|
4515
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
|
+
#
|
|
4516
4614
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4517
4615
|
#
|
|
4518
4616
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
|
@@ -4546,6 +4644,7 @@ module Aws::Lambda
|
|
|
4546
4644
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
|
4547
4645
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
|
4548
4646
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
|
4647
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
|
4549
4648
|
#
|
|
4550
4649
|
# @example Request syntax with placeholder values
|
|
4551
4650
|
#
|
|
@@ -4559,13 +4658,14 @@ module Aws::Lambda
|
|
|
4559
4658
|
# publish: false,
|
|
4560
4659
|
# dry_run: false,
|
|
4561
4660
|
# revision_id: "String",
|
|
4661
|
+
# architectures: ["x86_64"], # accepts x86_64, arm64
|
|
4562
4662
|
# })
|
|
4563
4663
|
#
|
|
4564
4664
|
# @example Response structure
|
|
4565
4665
|
#
|
|
4566
4666
|
# resp.function_name #=> String
|
|
4567
4667
|
# resp.function_arn #=> String
|
|
4568
|
-
# resp.runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
4668
|
+
# resp.runtime #=> 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"
|
|
4569
4669
|
# resp.role #=> String
|
|
4570
4670
|
# resp.handler #=> String
|
|
4571
4671
|
# resp.code_size #=> Integer
|
|
@@ -4613,6 +4713,8 @@ module Aws::Lambda
|
|
|
4613
4713
|
# resp.image_config_response.error.message #=> String
|
|
4614
4714
|
# resp.signing_profile_version_arn #=> String
|
|
4615
4715
|
# resp.signing_job_arn #=> String
|
|
4716
|
+
# resp.architectures #=> Array
|
|
4717
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
|
4616
4718
|
#
|
|
4617
4719
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
|
4618
4720
|
#
|
|
@@ -4759,7 +4861,7 @@ module Aws::Lambda
|
|
|
4759
4861
|
#
|
|
4760
4862
|
# @option params [Types::ImageConfig] :image_config
|
|
4761
4863
|
# [Container image configuration values][1] that override the values in
|
|
4762
|
-
# the container image
|
|
4864
|
+
# the container image Docker file.
|
|
4763
4865
|
#
|
|
4764
4866
|
#
|
|
4765
4867
|
#
|
|
@@ -4798,6 +4900,7 @@ module Aws::Lambda
|
|
|
4798
4900
|
# * {Types::FunctionConfiguration#image_config_response #image_config_response} => Types::ImageConfigResponse
|
|
4799
4901
|
# * {Types::FunctionConfiguration#signing_profile_version_arn #signing_profile_version_arn} => String
|
|
4800
4902
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
|
4903
|
+
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
|
4801
4904
|
#
|
|
4802
4905
|
# @example Request syntax with placeholder values
|
|
4803
4906
|
#
|
|
@@ -4817,7 +4920,7 @@ module Aws::Lambda
|
|
|
4817
4920
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
4818
4921
|
# },
|
|
4819
4922
|
# },
|
|
4820
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
4923
|
+
# 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
|
|
4821
4924
|
# dead_letter_config: {
|
|
4822
4925
|
# target_arn: "ResourceArn",
|
|
4823
4926
|
# },
|
|
@@ -4844,7 +4947,7 @@ module Aws::Lambda
|
|
|
4844
4947
|
#
|
|
4845
4948
|
# resp.function_name #=> String
|
|
4846
4949
|
# resp.function_arn #=> String
|
|
4847
|
-
# resp.runtime #=> 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", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
|
4950
|
+
# resp.runtime #=> 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"
|
|
4848
4951
|
# resp.role #=> String
|
|
4849
4952
|
# resp.handler #=> String
|
|
4850
4953
|
# resp.code_size #=> Integer
|
|
@@ -4892,6 +4995,8 @@ module Aws::Lambda
|
|
|
4892
4995
|
# resp.image_config_response.error.message #=> String
|
|
4893
4996
|
# resp.signing_profile_version_arn #=> String
|
|
4894
4997
|
# resp.signing_job_arn #=> String
|
|
4998
|
+
# resp.architectures #=> Array
|
|
4999
|
+
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
|
4895
5000
|
#
|
|
4896
5001
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
|
4897
5002
|
#
|
|
@@ -5006,7 +5111,7 @@ module Aws::Lambda
|
|
|
5006
5111
|
params: params,
|
|
5007
5112
|
config: config)
|
|
5008
5113
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
5009
|
-
context[:gem_version] = '1.
|
|
5114
|
+
context[:gem_version] = '1.69.0'
|
|
5010
5115
|
Seahorse::Client::Request.new(handlers, context)
|
|
5011
5116
|
end
|
|
5012
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
|
|
@@ -812,7 +826,7 @@ module Aws::Lambda
|
|
|
812
826
|
#
|
|
813
827
|
# {
|
|
814
828
|
# function_name: "FunctionName", # required
|
|
815
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
829
|
+
# 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
|
|
816
830
|
# role: "RoleArn", # required
|
|
817
831
|
# handler: "Handler",
|
|
818
832
|
# code: { # required
|
|
@@ -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
|
|
@@ -3698,11 +3760,11 @@ module Aws::Lambda
|
|
|
3698
3760
|
# }
|
|
3699
3761
|
#
|
|
3700
3762
|
# @!attribute [rw] master_region
|
|
3701
|
-
# For Lambda@Edge functions, the Region of the
|
|
3702
|
-
# example, `us-east-1` filters the list of
|
|
3703
|
-
# Lambda@Edge functions replicated from a
|
|
3704
|
-
# (N. Virginia). If specified, you must set
|
|
3705
|
-
# `ALL`.
|
|
3763
|
+
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
|
3764
|
+
# master function. For example, `us-east-1` filters the list of
|
|
3765
|
+
# functions to only include Lambda@Edge functions replicated from a
|
|
3766
|
+
# master function in US East (N. Virginia). If specified, you must set
|
|
3767
|
+
# `FunctionVersion` to `ALL`.
|
|
3706
3768
|
# @return [String]
|
|
3707
3769
|
#
|
|
3708
3770
|
# @!attribute [rw] function_version
|
|
@@ -3755,10 +3817,11 @@ module Aws::Lambda
|
|
|
3755
3817
|
# data as a hash:
|
|
3756
3818
|
#
|
|
3757
3819
|
# {
|
|
3758
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
3820
|
+
# 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
|
|
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
|
|
@@ -3810,9 +3882,10 @@ module Aws::Lambda
|
|
|
3810
3882
|
# data as a hash:
|
|
3811
3883
|
#
|
|
3812
3884
|
# {
|
|
3813
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
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
|
|
@@ -4174,8 +4257,9 @@ module Aws::Lambda
|
|
|
4174
4257
|
# s3_object_version: "S3ObjectVersion",
|
|
4175
4258
|
# zip_file: "data",
|
|
4176
4259
|
# },
|
|
4177
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
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
|
|
@@ -5421,7 +5542,7 @@ module Aws::Lambda
|
|
|
5421
5542
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
|
5422
5543
|
# },
|
|
5423
5544
|
# },
|
|
5424
|
-
# 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, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
|
5545
|
+
# 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
|
|
5425
5546
|
# dead_letter_config: {
|
|
5426
5547
|
# target_arn: "ResourceArn",
|
|
5427
5548
|
# },
|
|
@@ -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-
|
|
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
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.120.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.
|
|
32
|
+
version: 3.120.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: '
|
|
80
|
+
version: '2.3'
|
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
|
83
83
|
- - ">="
|