aws-sdk-lambda 1.86.0 → 1.88.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +336 -271
- data/lib/aws-sdk-lambda/client_api.rb +32 -0
- data/lib/aws-sdk-lambda/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-lambda/endpoint_provider.rb +75 -75
- data/lib/aws-sdk-lambda/errors.rb +63 -0
- data/lib/aws-sdk-lambda/types.rb +496 -286
- data/lib/aws-sdk-lambda/waiters.rb +59 -7
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
@@ -441,27 +441,28 @@ module Aws::Lambda
|
|
441
441
|
req.send_request(options)
|
442
442
|
end
|
443
443
|
|
444
|
-
# Grants an Amazon Web Services
|
445
|
-
# permission to use a function. You can apply
|
446
|
-
# level, or specify a qualifier to restrict
|
447
|
-
# or alias. If you use a qualifier, the
|
448
|
-
# Resource Name (ARN) of that version
|
449
|
-
# Note: Lambda does not support adding
|
444
|
+
# Grants an Amazon Web Service, Amazon Web Services account, or Amazon
|
445
|
+
# Web Services organization permission to use a function. You can apply
|
446
|
+
# the policy at the function level, or specify a qualifier to restrict
|
447
|
+
# access to a single version or alias. If you use a qualifier, the
|
448
|
+
# invoker must use the full Amazon Resource Name (ARN) of that version
|
449
|
+
# or alias to invoke the function. Note: Lambda does not support adding
|
450
|
+
# policies to version $LATEST.
|
450
451
|
#
|
451
452
|
# To grant permission to another account, specify the account ID as the
|
452
453
|
# `Principal`. To grant permission to an organization defined in
|
453
454
|
# Organizations, specify the organization ID as the `PrincipalOrgID`.
|
454
|
-
# For Amazon Web Services
|
455
|
-
#
|
456
|
-
# `sns.amazonaws.com`. For Amazon Web Services
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
# This
|
455
|
+
# For Amazon Web Services, the principal is a domain-style identifier
|
456
|
+
# that the service defines, such as `s3.amazonaws.com` or
|
457
|
+
# `sns.amazonaws.com`. For Amazon Web Services, you can also specify the
|
458
|
+
# ARN of the associated resource as the `SourceArn`. If you grant
|
459
|
+
# permission to a service principal without specifying the source, other
|
460
|
+
# accounts could potentially configure resources in their account to
|
461
|
+
# invoke your Lambda function.
|
462
|
+
#
|
463
|
+
# This operation adds a statement to a resource-based permissions policy
|
463
464
|
# for the function. For more information about function policies, see
|
464
|
-
# [
|
465
|
+
# [Using resource-based policies for Lambda][1].
|
465
466
|
#
|
466
467
|
#
|
467
468
|
#
|
@@ -472,13 +473,13 @@ module Aws::Lambda
|
|
472
473
|
#
|
473
474
|
# **Name formats**
|
474
475
|
#
|
475
|
-
# * **Function name**
|
476
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
476
477
|
# (with alias).
|
477
478
|
#
|
478
|
-
# * **Function ARN**
|
479
|
+
# * **Function ARN** –
|
479
480
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
480
481
|
#
|
481
|
-
# * **Partial ARN**
|
482
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
482
483
|
#
|
483
484
|
# You can append a version number or alias to any of the formats. The
|
484
485
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -493,34 +494,33 @@ module Aws::Lambda
|
|
493
494
|
# `lambda:InvokeFunction` or `lambda:GetFunction`.
|
494
495
|
#
|
495
496
|
# @option params [required, String] :principal
|
496
|
-
# The Amazon Web
|
497
|
-
# If you specify a service, use `SourceArn` or `SourceAccount`
|
498
|
-
# who can invoke the function through that service.
|
497
|
+
# The Amazon Web Service or Amazon Web Services account that invokes the
|
498
|
+
# function. If you specify a service, use `SourceArn` or `SourceAccount`
|
499
|
+
# to limit who can invoke the function through that service.
|
499
500
|
#
|
500
501
|
# @option params [String] :source_arn
|
501
|
-
# For Amazon Web Services
|
502
|
-
#
|
503
|
-
#
|
502
|
+
# For Amazon Web Services, the ARN of the Amazon Web Services resource
|
503
|
+
# that invokes the function. For example, an Amazon S3 bucket or Amazon
|
504
|
+
# SNS topic.
|
504
505
|
#
|
505
506
|
# Note that Lambda configures the comparison using the `StringLike`
|
506
507
|
# operator.
|
507
508
|
#
|
508
509
|
# @option params [String] :source_account
|
509
|
-
# For Amazon
|
510
|
-
# together with `SourceArn` to ensure that
|
511
|
-
# specified account. It is possible for an Amazon
|
512
|
-
# deleted by its owner and recreated by another account.
|
510
|
+
# For Amazon Web Service, the ID of the Amazon Web Services account that
|
511
|
+
# owns the resource. Use this together with `SourceArn` to ensure that
|
512
|
+
# the specified account owns the resource. It is possible for an Amazon
|
513
|
+
# S3 bucket to be deleted by its owner and recreated by another account.
|
513
514
|
#
|
514
515
|
# @option params [String] :event_source_token
|
515
|
-
# For Alexa Smart Home functions, a token that
|
516
|
-
# invoker.
|
516
|
+
# For Alexa Smart Home functions, a token that the invoker must supply.
|
517
517
|
#
|
518
518
|
# @option params [String] :qualifier
|
519
519
|
# Specify a version or alias to add permissions to a published version
|
520
520
|
# of the function.
|
521
521
|
#
|
522
522
|
# @option params [String] :revision_id
|
523
|
-
#
|
523
|
+
# Update the policy only if the revision ID matches the ID that's
|
524
524
|
# specified. Use this option to avoid modifying a policy that has
|
525
525
|
# changed since you last read it.
|
526
526
|
#
|
@@ -531,9 +531,9 @@ module Aws::Lambda
|
|
531
531
|
#
|
532
532
|
# @option params [String] :function_url_auth_type
|
533
533
|
# The type of authentication that your function URL uses. Set to
|
534
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
534
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
535
535
|
# only. Set to `NONE` if you want to bypass IAM authentication to create
|
536
|
-
# a public endpoint. For more information, see [
|
536
|
+
# a public endpoint. For more information, see [Security and auth model
|
537
537
|
# for Lambda function URLs][1].
|
538
538
|
#
|
539
539
|
#
|
@@ -665,7 +665,7 @@ module Aws::Lambda
|
|
665
665
|
#
|
666
666
|
#
|
667
667
|
#
|
668
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
668
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html
|
669
669
|
#
|
670
670
|
# @option params [String] :description
|
671
671
|
# Descriptive name for this code signing configuration.
|
@@ -793,6 +793,8 @@ module Aws::Lambda
|
|
793
793
|
# * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
|
794
794
|
# cluster.
|
795
795
|
#
|
796
|
+
# * **Amazon MQ** - The ARN of the broker.
|
797
|
+
#
|
796
798
|
# @option params [required, String] :function_name
|
797
799
|
# The name of the Lambda function.
|
798
800
|
#
|
@@ -838,23 +840,31 @@ module Aws::Lambda
|
|
838
840
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
839
841
|
#
|
840
842
|
# @option params [Types::FilterCriteria] :filter_criteria
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
843
|
+
# An object that defines the filter criteria that determine whether
|
844
|
+
# Lambda should process an event. For more information, see [Lambda
|
845
|
+
# event filtering][1].
|
844
846
|
#
|
845
847
|
#
|
846
848
|
#
|
847
849
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
848
850
|
#
|
849
851
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
#
|
854
|
-
#
|
855
|
-
#
|
856
|
-
#
|
857
|
-
#
|
852
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
853
|
+
# records before invoking the function. You can configure
|
854
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
855
|
+
# seconds in increments of seconds.
|
856
|
+
#
|
857
|
+
# For streams and Amazon SQS event sources, the default batching window
|
858
|
+
# is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
|
859
|
+
# event sources, the default batching window is 500 ms. Note that
|
860
|
+
# because you can only change `MaximumBatchingWindowInSeconds` in
|
861
|
+
# increments of seconds, you cannot revert back to the 500 ms default
|
862
|
+
# batching window after you have changed it. To restore the default
|
863
|
+
# batching window, you must create a new event source mapping.
|
864
|
+
#
|
865
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
866
|
+
# set `BatchSize` to a value greater than 10, you must set
|
867
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
858
868
|
#
|
859
869
|
# @option params [Integer] :parallelization_factor
|
860
870
|
# (Streams only) The number of batches to process from each shard
|
@@ -1045,21 +1055,21 @@ module Aws::Lambda
|
|
1045
1055
|
# [deployment package][1] and an [execution role][2]. The deployment
|
1046
1056
|
# package is a .zip file archive or container image that contains your
|
1047
1057
|
# function code. The execution role grants the function permission to
|
1048
|
-
# use Amazon Web Services
|
1049
|
-
#
|
1058
|
+
# use Amazon Web Services, such as Amazon CloudWatch Logs for log
|
1059
|
+
# streaming and X-Ray for request tracing.
|
1050
1060
|
#
|
1051
|
-
#
|
1052
|
-
#
|
1061
|
+
# If the deployment package is a [container image][3], then you set the
|
1062
|
+
# package type to `Image`. For a container image, the code property must
|
1053
1063
|
# include the URI of a container image in the Amazon ECR registry. You
|
1054
1064
|
# do not need to specify the handler and runtime properties.
|
1055
1065
|
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
# the location of the .zip file. You must also specify the
|
1059
|
-
# runtime properties. The code in the deployment package
|
1060
|
-
# compatible with the target instruction set architecture of the
|
1066
|
+
# If the deployment package is a [.zip file archive][4], then you set
|
1067
|
+
# the package type to `Zip`. For a .zip file archive, the code property
|
1068
|
+
# specifies the location of the .zip file. You must also specify the
|
1069
|
+
# handler and runtime properties. The code in the deployment package
|
1070
|
+
# must be compatible with the target instruction set architecture of the
|
1061
1071
|
# function (`x86-64` or `arm64`). If you do not specify the
|
1062
|
-
# architecture, the default value is `x86-64`.
|
1072
|
+
# architecture, then the default value is `x86-64`.
|
1063
1073
|
#
|
1064
1074
|
# When you create a function, Lambda provisions an instance of the
|
1065
1075
|
# function and its supporting resources. If your function connects to a
|
@@ -1067,7 +1077,7 @@ module Aws::Lambda
|
|
1067
1077
|
# can't invoke or modify the function. The `State`, `StateReason`, and
|
1068
1078
|
# `StateReasonCode` fields in the response from GetFunctionConfiguration
|
1069
1079
|
# indicate when the function is ready to invoke. For more information,
|
1070
|
-
# see [
|
1080
|
+
# see [Lambda function states][5].
|
1071
1081
|
#
|
1072
1082
|
# A function has an unpublished version, and can have published versions
|
1073
1083
|
# and aliases. The unpublished version changes when you update your
|
@@ -1089,19 +1099,20 @@ module Aws::Lambda
|
|
1089
1099
|
# a code-signing configuration. When a user attempts to deploy a code
|
1090
1100
|
# package with UpdateFunctionCode, Lambda checks that the code package
|
1091
1101
|
# has a valid signature from a trusted publisher. The code-signing
|
1092
|
-
# configuration includes set
|
1102
|
+
# configuration includes set of signing profiles, which define the
|
1093
1103
|
# trusted publishers for this function.
|
1094
1104
|
#
|
1095
|
-
# If another account or an Amazon Web
|
1096
|
-
# function, use AddPermission to grant permission by
|
1097
|
-
# resource-based
|
1098
|
-
# level, on a version, or on
|
1105
|
+
# If another Amazon Web Services account or an Amazon Web Service
|
1106
|
+
# invokes your function, use AddPermission to grant permission by
|
1107
|
+
# creating a resource-based Identity and Access Management (IAM) policy.
|
1108
|
+
# You can grant permissions at the function level, on a version, or on
|
1109
|
+
# an alias.
|
1099
1110
|
#
|
1100
1111
|
# To invoke your function directly, use Invoke. To invoke your function
|
1101
|
-
# in response to events in other Amazon Web Services
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1112
|
+
# in response to events in other Amazon Web Services, create an event
|
1113
|
+
# source mapping (CreateEventSourceMapping), or configure a function
|
1114
|
+
# trigger in the other service. For more information, see [Invoking
|
1115
|
+
# Lambda functions][6].
|
1105
1116
|
#
|
1106
1117
|
#
|
1107
1118
|
#
|
@@ -1117,12 +1128,12 @@ module Aws::Lambda
|
|
1117
1128
|
#
|
1118
1129
|
# **Name formats**
|
1119
1130
|
#
|
1120
|
-
# * **Function name**
|
1131
|
+
# * **Function name** – `my-function`.
|
1121
1132
|
#
|
1122
|
-
# * **Function ARN**
|
1133
|
+
# * **Function ARN** –
|
1123
1134
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1124
1135
|
#
|
1125
|
-
# * **Partial ARN**
|
1136
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1126
1137
|
#
|
1127
1138
|
# The length constraint applies only to the full ARN. If you specify
|
1128
1139
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1139,15 +1150,15 @@ module Aws::Lambda
|
|
1139
1150
|
# The Amazon Resource Name (ARN) of the function's execution role.
|
1140
1151
|
#
|
1141
1152
|
# @option params [String] :handler
|
1142
|
-
# The name of the method within your code that Lambda calls to
|
1143
|
-
#
|
1144
|
-
#
|
1153
|
+
# The name of the method within your code that Lambda calls to run your
|
1154
|
+
# function. Handler is required if the deployment package is a .zip file
|
1155
|
+
# archive. The format includes the file name. It can also include
|
1145
1156
|
# namespaces and other qualifiers, depending on the runtime. For more
|
1146
|
-
# information, see [
|
1157
|
+
# information, see [Lambda programming model][1].
|
1147
1158
|
#
|
1148
1159
|
#
|
1149
1160
|
#
|
1150
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
1161
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
|
1151
1162
|
#
|
1152
1163
|
# @option params [required, Types::FunctionCode] :code
|
1153
1164
|
# The code for the function.
|
@@ -1158,8 +1169,8 @@ module Aws::Lambda
|
|
1158
1169
|
# @option params [Integer] :timeout
|
1159
1170
|
# The amount of time (in seconds) that Lambda allows a function to run
|
1160
1171
|
# before stopping it. The default is 3 seconds. The maximum allowed
|
1161
|
-
# value is 900 seconds. For
|
1162
|
-
#
|
1172
|
+
# value is 900 seconds. For more information, see [Lambda execution
|
1173
|
+
# environment][1].
|
1163
1174
|
#
|
1164
1175
|
#
|
1165
1176
|
#
|
@@ -1172,7 +1183,7 @@ module Aws::Lambda
|
|
1172
1183
|
#
|
1173
1184
|
#
|
1174
1185
|
#
|
1175
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
1186
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
|
1176
1187
|
#
|
1177
1188
|
# @option params [Boolean] :publish
|
1178
1189
|
# Set to true to publish the first version of the function during
|
@@ -1181,9 +1192,9 @@ module Aws::Lambda
|
|
1181
1192
|
# @option params [Types::VpcConfig] :vpc_config
|
1182
1193
|
# For network connectivity to Amazon Web Services resources in a VPC,
|
1183
1194
|
# specify a list of security groups and subnets in the VPC. When you
|
1184
|
-
# connect a function to a VPC, it can
|
1185
|
-
#
|
1186
|
-
#
|
1195
|
+
# connect a function to a VPC, it can access resources and the internet
|
1196
|
+
# only through that VPC. For more information, see [Configuring a Lambda
|
1197
|
+
# function to access resources in a VPC][1].
|
1187
1198
|
#
|
1188
1199
|
#
|
1189
1200
|
#
|
@@ -1191,25 +1202,25 @@ module Aws::Lambda
|
|
1191
1202
|
#
|
1192
1203
|
# @option params [String] :package_type
|
1193
1204
|
# The type of deployment package. Set to `Image` for container image and
|
1194
|
-
# set `Zip` for
|
1205
|
+
# set to `Zip` for .zip file archive.
|
1195
1206
|
#
|
1196
1207
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
1197
|
-
# A dead
|
1208
|
+
# A dead-letter queue configuration that specifies the queue or topic
|
1198
1209
|
# where Lambda sends asynchronous events when they fail processing. For
|
1199
|
-
# more information, see [Dead
|
1210
|
+
# more information, see [Dead-letter queues][1].
|
1200
1211
|
#
|
1201
1212
|
#
|
1202
1213
|
#
|
1203
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
1214
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
1204
1215
|
#
|
1205
1216
|
# @option params [Types::Environment] :environment
|
1206
1217
|
# Environment variables that are accessible from function code during
|
1207
1218
|
# execution.
|
1208
1219
|
#
|
1209
1220
|
# @option params [String] :kms_key_arn
|
1210
|
-
# The ARN of the
|
1211
|
-
#
|
1212
|
-
#
|
1221
|
+
# The ARN of the Key Management Service (KMS) key that's used to
|
1222
|
+
# encrypt your function's environment variables. If it's not provided,
|
1223
|
+
# Lambda uses a default service key.
|
1213
1224
|
#
|
1214
1225
|
# @option params [Types::TracingConfig] :tracing_config
|
1215
1226
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
@@ -1257,8 +1268,15 @@ module Aws::Lambda
|
|
1257
1268
|
# default value is `x86_64`.
|
1258
1269
|
#
|
1259
1270
|
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
1260
|
-
# The size of the function
|
1261
|
-
# 512, but can be any whole number between 512 and
|
1271
|
+
# The size of the function's `/tmp` directory in MB. The default value
|
1272
|
+
# is 512, but can be any whole number between 512 and 10,240 MB.
|
1273
|
+
#
|
1274
|
+
# @option params [Types::SnapStart] :snap_start
|
1275
|
+
# The function's [SnapStart][1] setting.
|
1276
|
+
#
|
1277
|
+
#
|
1278
|
+
#
|
1279
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
1262
1280
|
#
|
1263
1281
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1264
1282
|
#
|
@@ -1295,12 +1313,13 @@ module Aws::Lambda
|
|
1295
1313
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
1296
1314
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
1297
1315
|
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
1316
|
+
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
1298
1317
|
#
|
1299
1318
|
# @example Request syntax with placeholder values
|
1300
1319
|
#
|
1301
1320
|
# resp = client.create_function({
|
1302
1321
|
# function_name: "FunctionName", # required
|
1303
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
1322
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
1304
1323
|
# role: "RoleArn", # required
|
1305
1324
|
# handler: "Handler",
|
1306
1325
|
# code: { # required
|
@@ -1351,13 +1370,16 @@ module Aws::Lambda
|
|
1351
1370
|
# ephemeral_storage: {
|
1352
1371
|
# size: 1, # required
|
1353
1372
|
# },
|
1373
|
+
# snap_start: {
|
1374
|
+
# apply_on: "PublishedVersions", # accepts PublishedVersions, None
|
1375
|
+
# },
|
1354
1376
|
# })
|
1355
1377
|
#
|
1356
1378
|
# @example Response structure
|
1357
1379
|
#
|
1358
1380
|
# resp.function_name #=> String
|
1359
1381
|
# resp.function_arn #=> String
|
1360
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
1382
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
1361
1383
|
# resp.role #=> String
|
1362
1384
|
# resp.handler #=> String
|
1363
1385
|
# resp.code_size #=> Integer
|
@@ -1388,10 +1410,10 @@ module Aws::Lambda
|
|
1388
1410
|
# resp.layers[0].signing_job_arn #=> String
|
1389
1411
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
1390
1412
|
# resp.state_reason #=> String
|
1391
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
1413
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
1392
1414
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
1393
1415
|
# resp.last_update_status_reason #=> String
|
1394
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
1416
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
1395
1417
|
# resp.file_system_configs #=> Array
|
1396
1418
|
# resp.file_system_configs[0].arn #=> String
|
1397
1419
|
# resp.file_system_configs[0].local_mount_path #=> String
|
@@ -1408,6 +1430,8 @@ module Aws::Lambda
|
|
1408
1430
|
# resp.architectures #=> Array
|
1409
1431
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
1410
1432
|
# resp.ephemeral_storage.size #=> Integer
|
1433
|
+
# resp.snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
1434
|
+
# resp.snap_start.optimization_status #=> String, one of "On", "Off"
|
1411
1435
|
#
|
1412
1436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
1413
1437
|
#
|
@@ -1427,12 +1451,12 @@ module Aws::Lambda
|
|
1427
1451
|
#
|
1428
1452
|
# **Name formats**
|
1429
1453
|
#
|
1430
|
-
# * **Function name**
|
1454
|
+
# * **Function name** – `my-function`.
|
1431
1455
|
#
|
1432
|
-
# * **Function ARN**
|
1456
|
+
# * **Function ARN** –
|
1433
1457
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1434
1458
|
#
|
1435
|
-
# * **Partial ARN**
|
1459
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1436
1460
|
#
|
1437
1461
|
# The length constraint applies only to the full ARN. If you specify
|
1438
1462
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1442,9 +1466,9 @@ module Aws::Lambda
|
|
1442
1466
|
#
|
1443
1467
|
# @option params [required, String] :auth_type
|
1444
1468
|
# The type of authentication that your function URL uses. Set to
|
1445
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
1469
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
1446
1470
|
# only. Set to `NONE` if you want to bypass IAM authentication to create
|
1447
|
-
# a public endpoint. For more information, see [
|
1471
|
+
# a public endpoint. For more information, see [Security and auth model
|
1448
1472
|
# for Lambda function URLs][1].
|
1449
1473
|
#
|
1450
1474
|
#
|
@@ -1672,30 +1696,30 @@ module Aws::Lambda
|
|
1672
1696
|
# deleted.
|
1673
1697
|
#
|
1674
1698
|
# To delete Lambda event source mappings that invoke a function, use
|
1675
|
-
# DeleteEventSourceMapping. For Amazon Web Services
|
1676
|
-
#
|
1677
|
-
#
|
1699
|
+
# DeleteEventSourceMapping. For Amazon Web Services and resources that
|
1700
|
+
# invoke your function directly, delete the trigger in the service where
|
1701
|
+
# you originally configured it.
|
1678
1702
|
#
|
1679
1703
|
# @option params [required, String] :function_name
|
1680
1704
|
# The name of the Lambda function or version.
|
1681
1705
|
#
|
1682
1706
|
# **Name formats**
|
1683
1707
|
#
|
1684
|
-
# * **Function name**
|
1708
|
+
# * **Function name** – `my-function` (name-only), `my-function:1` (with
|
1685
1709
|
# version).
|
1686
1710
|
#
|
1687
|
-
# * **Function ARN**
|
1711
|
+
# * **Function ARN** –
|
1688
1712
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1689
1713
|
#
|
1690
|
-
# * **Partial ARN**
|
1714
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1691
1715
|
#
|
1692
1716
|
# You can append a version number or alias to any of the formats. The
|
1693
1717
|
# length constraint applies only to the full ARN. If you specify only
|
1694
1718
|
# the function name, it is limited to 64 characters in length.
|
1695
1719
|
#
|
1696
1720
|
# @option params [String] :qualifier
|
1697
|
-
# Specify a version to delete. You can't delete a version that
|
1698
|
-
#
|
1721
|
+
# Specify a version to delete. You can't delete a version that an alias
|
1722
|
+
# references.
|
1699
1723
|
#
|
1700
1724
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1701
1725
|
#
|
@@ -1756,12 +1780,12 @@ module Aws::Lambda
|
|
1756
1780
|
#
|
1757
1781
|
# **Name formats**
|
1758
1782
|
#
|
1759
|
-
# * **Function name**
|
1783
|
+
# * **Function name** – `my-function`.
|
1760
1784
|
#
|
1761
|
-
# * **Function ARN**
|
1785
|
+
# * **Function ARN** –
|
1762
1786
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1763
1787
|
#
|
1764
|
-
# * **Partial ARN**
|
1788
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1765
1789
|
#
|
1766
1790
|
# The length constraint applies only to the full ARN. If you specify
|
1767
1791
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1836,12 +1860,12 @@ module Aws::Lambda
|
|
1836
1860
|
#
|
1837
1861
|
# **Name formats**
|
1838
1862
|
#
|
1839
|
-
# * **Function name**
|
1863
|
+
# * **Function name** – `my-function`.
|
1840
1864
|
#
|
1841
|
-
# * **Function ARN**
|
1865
|
+
# * **Function ARN** –
|
1842
1866
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1843
1867
|
#
|
1844
|
-
# * **Partial ARN**
|
1868
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1845
1869
|
#
|
1846
1870
|
# The length constraint applies only to the full ARN. If you specify
|
1847
1871
|
# only the function name, it is limited to 64 characters in length.
|
@@ -1906,12 +1930,12 @@ module Aws::Lambda
|
|
1906
1930
|
#
|
1907
1931
|
# **Name formats**
|
1908
1932
|
#
|
1909
|
-
# * **Function name**
|
1933
|
+
# * **Function name** – `my-function`.
|
1910
1934
|
#
|
1911
|
-
# * **Function ARN**
|
1935
|
+
# * **Function ARN** –
|
1912
1936
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
1913
1937
|
#
|
1914
|
-
# * **Partial ARN**
|
1938
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
1915
1939
|
#
|
1916
1940
|
# The length constraint applies only to the full ARN. If you specify
|
1917
1941
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2157,13 +2181,13 @@ module Aws::Lambda
|
|
2157
2181
|
#
|
2158
2182
|
# **Name formats**
|
2159
2183
|
#
|
2160
|
-
# * **Function name**
|
2184
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2161
2185
|
# (with alias).
|
2162
2186
|
#
|
2163
|
-
# * **Function ARN**
|
2187
|
+
# * **Function ARN** –
|
2164
2188
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2165
2189
|
#
|
2166
|
-
# * **Partial ARN**
|
2190
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2167
2191
|
#
|
2168
2192
|
# You can append a version number or alias to any of the formats. The
|
2169
2193
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2191,7 +2215,7 @@ module Aws::Lambda
|
|
2191
2215
|
#
|
2192
2216
|
# resp.configuration.function_name #=> String
|
2193
2217
|
# resp.configuration.function_arn #=> String
|
2194
|
-
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
2218
|
+
# resp.configuration.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
2195
2219
|
# resp.configuration.role #=> String
|
2196
2220
|
# resp.configuration.handler #=> String
|
2197
2221
|
# resp.configuration.code_size #=> Integer
|
@@ -2222,10 +2246,10 @@ module Aws::Lambda
|
|
2222
2246
|
# resp.configuration.layers[0].signing_job_arn #=> String
|
2223
2247
|
# resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
2224
2248
|
# resp.configuration.state_reason #=> String
|
2225
|
-
# resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
2249
|
+
# resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
2226
2250
|
# resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
2227
2251
|
# resp.configuration.last_update_status_reason #=> String
|
2228
|
-
# resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
2252
|
+
# resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
2229
2253
|
# resp.configuration.file_system_configs #=> Array
|
2230
2254
|
# resp.configuration.file_system_configs[0].arn #=> String
|
2231
2255
|
# resp.configuration.file_system_configs[0].local_mount_path #=> String
|
@@ -2242,6 +2266,8 @@ module Aws::Lambda
|
|
2242
2266
|
# resp.configuration.architectures #=> Array
|
2243
2267
|
# resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
|
2244
2268
|
# resp.configuration.ephemeral_storage.size #=> Integer
|
2269
|
+
# resp.configuration.snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
2270
|
+
# resp.configuration.snap_start.optimization_status #=> String, one of "On", "Off"
|
2245
2271
|
# resp.code.repository_type #=> String
|
2246
2272
|
# resp.code.location #=> String
|
2247
2273
|
# resp.code.image_uri #=> String
|
@@ -2317,12 +2343,12 @@ module Aws::Lambda
|
|
2317
2343
|
#
|
2318
2344
|
# **Name formats**
|
2319
2345
|
#
|
2320
|
-
# * **Function name**
|
2346
|
+
# * **Function name** – `my-function`.
|
2321
2347
|
#
|
2322
|
-
# * **Function ARN**
|
2348
|
+
# * **Function ARN** –
|
2323
2349
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2324
2350
|
#
|
2325
|
-
# * **Partial ARN**
|
2351
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2326
2352
|
#
|
2327
2353
|
# The length constraint applies only to the full ARN. If you specify
|
2328
2354
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2362,13 +2388,13 @@ module Aws::Lambda
|
|
2362
2388
|
#
|
2363
2389
|
# **Name formats**
|
2364
2390
|
#
|
2365
|
-
# * **Function name**
|
2391
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2366
2392
|
# (with alias).
|
2367
2393
|
#
|
2368
|
-
# * **Function ARN**
|
2394
|
+
# * **Function ARN** –
|
2369
2395
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2370
2396
|
#
|
2371
|
-
# * **Partial ARN**
|
2397
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2372
2398
|
#
|
2373
2399
|
# You can append a version number or alias to any of the formats. The
|
2374
2400
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2413,6 +2439,7 @@ module Aws::Lambda
|
|
2413
2439
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
2414
2440
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
2415
2441
|
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
2442
|
+
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
2416
2443
|
#
|
2417
2444
|
# @example Request syntax with placeholder values
|
2418
2445
|
#
|
@@ -2425,7 +2452,7 @@ module Aws::Lambda
|
|
2425
2452
|
#
|
2426
2453
|
# resp.function_name #=> String
|
2427
2454
|
# resp.function_arn #=> String
|
2428
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
2455
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
2429
2456
|
# resp.role #=> String
|
2430
2457
|
# resp.handler #=> String
|
2431
2458
|
# resp.code_size #=> Integer
|
@@ -2456,10 +2483,10 @@ module Aws::Lambda
|
|
2456
2483
|
# resp.layers[0].signing_job_arn #=> String
|
2457
2484
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
2458
2485
|
# resp.state_reason #=> String
|
2459
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
2486
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
2460
2487
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
2461
2488
|
# resp.last_update_status_reason #=> String
|
2462
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
2489
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
2463
2490
|
# resp.file_system_configs #=> Array
|
2464
2491
|
# resp.file_system_configs[0].arn #=> String
|
2465
2492
|
# resp.file_system_configs[0].local_mount_path #=> String
|
@@ -2476,12 +2503,15 @@ module Aws::Lambda
|
|
2476
2503
|
# resp.architectures #=> Array
|
2477
2504
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
2478
2505
|
# resp.ephemeral_storage.size #=> Integer
|
2506
|
+
# resp.snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
2507
|
+
# resp.snap_start.optimization_status #=> String, one of "On", "Off"
|
2479
2508
|
#
|
2480
2509
|
#
|
2481
2510
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
2482
2511
|
#
|
2483
2512
|
# * function_active
|
2484
2513
|
# * function_updated
|
2514
|
+
# * published_version_active
|
2485
2515
|
#
|
2486
2516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration AWS API Documentation
|
2487
2517
|
#
|
@@ -2558,12 +2588,12 @@ module Aws::Lambda
|
|
2558
2588
|
#
|
2559
2589
|
# **Name formats**
|
2560
2590
|
#
|
2561
|
-
# * **Function name**
|
2591
|
+
# * **Function name** – `my-function`.
|
2562
2592
|
#
|
2563
|
-
# * **Function ARN**
|
2593
|
+
# * **Function ARN** –
|
2564
2594
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2565
2595
|
#
|
2566
|
-
# * **Partial ARN**
|
2596
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2567
2597
|
#
|
2568
2598
|
# The length constraint applies only to the full ARN. If you specify
|
2569
2599
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2659,7 +2689,7 @@ module Aws::Lambda
|
|
2659
2689
|
# resp.created_date #=> Time
|
2660
2690
|
# resp.version #=> Integer
|
2661
2691
|
# resp.compatible_runtimes #=> Array
|
2662
|
-
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
2692
|
+
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
2663
2693
|
# resp.license_info #=> String
|
2664
2694
|
# resp.compatible_architectures #=> Array
|
2665
2695
|
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
@@ -2714,7 +2744,7 @@ module Aws::Lambda
|
|
2714
2744
|
# resp.created_date #=> Time
|
2715
2745
|
# resp.version #=> Integer
|
2716
2746
|
# resp.compatible_runtimes #=> Array
|
2717
|
-
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
2747
|
+
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
2718
2748
|
# resp.license_info #=> String
|
2719
2749
|
# resp.compatible_architectures #=> Array
|
2720
2750
|
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
@@ -2779,13 +2809,13 @@ module Aws::Lambda
|
|
2779
2809
|
#
|
2780
2810
|
# **Name formats**
|
2781
2811
|
#
|
2782
|
-
# * **Function name**
|
2812
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2783
2813
|
# (with alias).
|
2784
2814
|
#
|
2785
|
-
# * **Function ARN**
|
2815
|
+
# * **Function ARN** –
|
2786
2816
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2787
2817
|
#
|
2788
|
-
# * **Partial ARN**
|
2818
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2789
2819
|
#
|
2790
2820
|
# You can append a version number or alias to any of the formats. The
|
2791
2821
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2828,12 +2858,12 @@ module Aws::Lambda
|
|
2828
2858
|
#
|
2829
2859
|
# **Name formats**
|
2830
2860
|
#
|
2831
|
-
# * **Function name**
|
2861
|
+
# * **Function name** – `my-function`.
|
2832
2862
|
#
|
2833
|
-
# * **Function ARN**
|
2863
|
+
# * **Function ARN** –
|
2834
2864
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2835
2865
|
#
|
2836
|
-
# * **Partial ARN**
|
2866
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2837
2867
|
#
|
2838
2868
|
# The length constraint applies only to the full ARN. If you specify
|
2839
2869
|
# only the function name, it is limited to 64 characters in length.
|
@@ -2888,7 +2918,8 @@ module Aws::Lambda
|
|
2888
2918
|
# Retry behavior varies by error type, client, event source, and
|
2889
2919
|
# invocation type. For example, if you invoke a function asynchronously
|
2890
2920
|
# and it returns an error, Lambda executes the function up to two more
|
2891
|
-
# times. For more information, see [
|
2921
|
+
# times. For more information, see [Error handling and automatic retries
|
2922
|
+
# in Lambda][4].
|
2892
2923
|
#
|
2893
2924
|
# For [asynchronous invocation][5], Lambda adds events to a queue before
|
2894
2925
|
# sending them to your function. If your function does not have enough
|
@@ -2899,17 +2930,17 @@ module Aws::Lambda
|
|
2899
2930
|
#
|
2900
2931
|
# The status code in the API response doesn't reflect function errors.
|
2901
2932
|
# Error codes are reserved for errors that prevent your function from
|
2902
|
-
# executing, such as permissions errors, [
|
2933
|
+
# executing, such as permissions errors, [quota][7] errors, or issues
|
2903
2934
|
# with your function's code and configuration. For example, Lambda
|
2904
|
-
# returns `TooManyRequestsException` if
|
2905
|
-
#
|
2935
|
+
# returns `TooManyRequestsException` if running the function would cause
|
2936
|
+
# you to exceed a concurrency limit at either the account level
|
2906
2937
|
# (`ConcurrentInvocationLimitExceeded`) or function level
|
2907
2938
|
# (`ReservedFunctionConcurrentInvocationLimitExceeded`).
|
2908
2939
|
#
|
2909
|
-
# For functions with a long timeout, your client might
|
2910
|
-
#
|
2911
|
-
#
|
2912
|
-
#
|
2940
|
+
# For functions with a long timeout, your client might disconnect during
|
2941
|
+
# synchronous invocation while it waits for a response. Configure your
|
2942
|
+
# HTTP client, SDK, firewall, proxy, or operating system to allow for
|
2943
|
+
# long connections with timeout or keep-alive settings.
|
2913
2944
|
#
|
2914
2945
|
# This operation requires permission for the [lambda:InvokeFunction][8]
|
2915
2946
|
# action. For details on how to set up permissions for cross-account
|
@@ -2920,10 +2951,10 @@ module Aws::Lambda
|
|
2920
2951
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html
|
2921
2952
|
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html
|
2922
2953
|
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html
|
2923
|
-
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/retries
|
2954
|
+
# [4]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html
|
2924
2955
|
# [5]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
|
2925
|
-
# [6]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
2926
|
-
# [7]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
|
2956
|
+
# [6]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
2957
|
+
# [7]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
|
2927
2958
|
# [8]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html
|
2928
2959
|
# [9]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke
|
2929
2960
|
#
|
@@ -2932,13 +2963,13 @@ module Aws::Lambda
|
|
2932
2963
|
#
|
2933
2964
|
# **Name formats**
|
2934
2965
|
#
|
2935
|
-
# * **Function name**
|
2966
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
2936
2967
|
# (with alias).
|
2937
2968
|
#
|
2938
|
-
# * **Function ARN**
|
2969
|
+
# * **Function ARN** –
|
2939
2970
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
2940
2971
|
#
|
2941
|
-
# * **Partial ARN**
|
2972
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
2942
2973
|
#
|
2943
2974
|
# You can append a version number or alias to any of the formats. The
|
2944
2975
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -2947,16 +2978,16 @@ module Aws::Lambda
|
|
2947
2978
|
# @option params [String] :invocation_type
|
2948
2979
|
# Choose from the following options.
|
2949
2980
|
#
|
2950
|
-
# * `RequestResponse` (default)
|
2981
|
+
# * `RequestResponse` (default) – Invoke the function synchronously.
|
2951
2982
|
# Keep the connection open until the function returns a response or
|
2952
2983
|
# times out. The API response includes the function response and
|
2953
2984
|
# additional data.
|
2954
2985
|
#
|
2955
|
-
# * `Event`
|
2956
|
-
# multiple times to the function's dead-letter queue (if
|
2986
|
+
# * `Event` – Invoke the function asynchronously. Send events that fail
|
2987
|
+
# multiple times to the function's dead-letter queue (if one is
|
2957
2988
|
# configured). The API response only includes a status code.
|
2958
2989
|
#
|
2959
|
-
# * `DryRun`
|
2990
|
+
# * `DryRun` – Validate parameter values and verify that the user or
|
2960
2991
|
# role has permission to invoke the function.
|
2961
2992
|
#
|
2962
2993
|
# @option params [String] :log_type
|
@@ -2964,7 +2995,7 @@ module Aws::Lambda
|
|
2964
2995
|
# synchronously invoked functions only.
|
2965
2996
|
#
|
2966
2997
|
# @option params [String] :client_context
|
2967
|
-
# Up to
|
2998
|
+
# Up to 3,583 bytes of base64-encoded data about the invoking client to
|
2968
2999
|
# pass to the function in the context object.
|
2969
3000
|
#
|
2970
3001
|
# @option params [String, StringIO, File] :payload
|
@@ -3023,12 +3054,12 @@ module Aws::Lambda
|
|
3023
3054
|
#
|
3024
3055
|
# **Name formats**
|
3025
3056
|
#
|
3026
|
-
# * **Function name**
|
3057
|
+
# * **Function name** – `my-function`.
|
3027
3058
|
#
|
3028
|
-
# * **Function ARN**
|
3059
|
+
# * **Function ARN** –
|
3029
3060
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3030
3061
|
#
|
3031
|
-
# * **Partial ARN**
|
3062
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3032
3063
|
#
|
3033
3064
|
# The length constraint applies only to the full ARN. If you specify
|
3034
3065
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3195,6 +3226,8 @@ module Aws::Lambda
|
|
3195
3226
|
# * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
|
3196
3227
|
# cluster.
|
3197
3228
|
#
|
3229
|
+
# * **Amazon MQ** - The ARN of the broker.
|
3230
|
+
#
|
3198
3231
|
# @option params [String] :function_name
|
3199
3232
|
# The name of the Lambda function.
|
3200
3233
|
#
|
@@ -3355,12 +3388,12 @@ module Aws::Lambda
|
|
3355
3388
|
#
|
3356
3389
|
# **Name formats**
|
3357
3390
|
#
|
3358
|
-
# * **Function name**
|
3391
|
+
# * **Function name** – `my-function`.
|
3359
3392
|
#
|
3360
|
-
# * **Function ARN**
|
3393
|
+
# * **Function ARN** –
|
3361
3394
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3362
3395
|
#
|
3363
|
-
# * **Partial ARN**
|
3396
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3364
3397
|
#
|
3365
3398
|
# The length constraint applies only to the full ARN. If you specify
|
3366
3399
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3424,7 +3457,7 @@ module Aws::Lambda
|
|
3424
3457
|
# Set `FunctionVersion` to `ALL` to include all published versions of
|
3425
3458
|
# each function in addition to the unpublished version.
|
3426
3459
|
#
|
3427
|
-
# <note markdown="1"> The `ListFunctions`
|
3460
|
+
# <note markdown="1"> The `ListFunctions` operation returns a subset of the
|
3428
3461
|
# FunctionConfiguration fields. To get the additional fields (State,
|
3429
3462
|
# StateReasonCode, StateReason, LastUpdateStatus,
|
3430
3463
|
# LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or
|
@@ -3435,7 +3468,7 @@ module Aws::Lambda
|
|
3435
3468
|
# @option params [String] :master_region
|
3436
3469
|
# For Lambda@Edge functions, the Amazon Web Services Region of the
|
3437
3470
|
# master function. For example, `us-east-1` filters the list of
|
3438
|
-
# functions to only
|
3471
|
+
# functions to include only Lambda@Edge functions replicated from a
|
3439
3472
|
# master function in US East (N. Virginia). If specified, you must set
|
3440
3473
|
# `FunctionVersion` to `ALL`.
|
3441
3474
|
#
|
@@ -3474,7 +3507,7 @@ module Aws::Lambda
|
|
3474
3507
|
# resp.functions #=> Array
|
3475
3508
|
# resp.functions[0].function_name #=> String
|
3476
3509
|
# resp.functions[0].function_arn #=> String
|
3477
|
-
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
3510
|
+
# resp.functions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
3478
3511
|
# resp.functions[0].role #=> String
|
3479
3512
|
# resp.functions[0].handler #=> String
|
3480
3513
|
# resp.functions[0].code_size #=> Integer
|
@@ -3505,10 +3538,10 @@ module Aws::Lambda
|
|
3505
3538
|
# resp.functions[0].layers[0].signing_job_arn #=> String
|
3506
3539
|
# resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
3507
3540
|
# resp.functions[0].state_reason #=> String
|
3508
|
-
# resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
3541
|
+
# resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
3509
3542
|
# resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
3510
3543
|
# resp.functions[0].last_update_status_reason #=> String
|
3511
|
-
# resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
3544
|
+
# resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
3512
3545
|
# resp.functions[0].file_system_configs #=> Array
|
3513
3546
|
# resp.functions[0].file_system_configs[0].arn #=> String
|
3514
3547
|
# resp.functions[0].file_system_configs[0].local_mount_path #=> String
|
@@ -3525,6 +3558,8 @@ module Aws::Lambda
|
|
3525
3558
|
# resp.functions[0].architectures #=> Array
|
3526
3559
|
# resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3527
3560
|
# resp.functions[0].ephemeral_storage.size #=> Integer
|
3561
|
+
# resp.functions[0].snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
3562
|
+
# resp.functions[0].snap_start.optimization_status #=> String, one of "On", "Off"
|
3528
3563
|
#
|
3529
3564
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
3530
3565
|
#
|
@@ -3619,7 +3654,7 @@ module Aws::Lambda
|
|
3619
3654
|
# @example Request syntax with placeholder values
|
3620
3655
|
#
|
3621
3656
|
# resp = client.list_layer_versions({
|
3622
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3657
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
3623
3658
|
# layer_name: "LayerName", # required
|
3624
3659
|
# marker: "String",
|
3625
3660
|
# max_items: 1,
|
@@ -3635,7 +3670,7 @@ module Aws::Lambda
|
|
3635
3670
|
# resp.layer_versions[0].description #=> String
|
3636
3671
|
# resp.layer_versions[0].created_date #=> Time
|
3637
3672
|
# resp.layer_versions[0].compatible_runtimes #=> Array
|
3638
|
-
# resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
3673
|
+
# resp.layer_versions[0].compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
3639
3674
|
# resp.layer_versions[0].license_info #=> String
|
3640
3675
|
# resp.layer_versions[0].compatible_architectures #=> Array
|
3641
3676
|
# resp.layer_versions[0].compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
@@ -3687,7 +3722,7 @@ module Aws::Lambda
|
|
3687
3722
|
# @example Request syntax with placeholder values
|
3688
3723
|
#
|
3689
3724
|
# resp = client.list_layers({
|
3690
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
3725
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
3691
3726
|
# marker: "String",
|
3692
3727
|
# max_items: 1,
|
3693
3728
|
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
@@ -3704,7 +3739,7 @@ module Aws::Lambda
|
|
3704
3739
|
# resp.layers[0].latest_matching_version.description #=> String
|
3705
3740
|
# resp.layers[0].latest_matching_version.created_date #=> Time
|
3706
3741
|
# resp.layers[0].latest_matching_version.compatible_runtimes #=> Array
|
3707
|
-
# 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", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
3742
|
+
# 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", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
3708
3743
|
# resp.layers[0].latest_matching_version.license_info #=> String
|
3709
3744
|
# resp.layers[0].latest_matching_version.compatible_architectures #=> Array
|
3710
3745
|
# resp.layers[0].latest_matching_version.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
@@ -3726,12 +3761,12 @@ module Aws::Lambda
|
|
3726
3761
|
#
|
3727
3762
|
# **Name formats**
|
3728
3763
|
#
|
3729
|
-
# * **Function name**
|
3764
|
+
# * **Function name** – `my-function`.
|
3730
3765
|
#
|
3731
|
-
# * **Function ARN**
|
3766
|
+
# * **Function ARN** –
|
3732
3767
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
3733
3768
|
#
|
3734
|
-
# * **Partial ARN**
|
3769
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
3735
3770
|
#
|
3736
3771
|
# The length constraint applies only to the full ARN. If you specify
|
3737
3772
|
# only the function name, it is limited to 64 characters in length.
|
@@ -3866,7 +3901,7 @@ module Aws::Lambda
|
|
3866
3901
|
# resp.versions #=> Array
|
3867
3902
|
# resp.versions[0].function_name #=> String
|
3868
3903
|
# resp.versions[0].function_arn #=> String
|
3869
|
-
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
3904
|
+
# resp.versions[0].runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
3870
3905
|
# resp.versions[0].role #=> String
|
3871
3906
|
# resp.versions[0].handler #=> String
|
3872
3907
|
# resp.versions[0].code_size #=> Integer
|
@@ -3897,10 +3932,10 @@ module Aws::Lambda
|
|
3897
3932
|
# resp.versions[0].layers[0].signing_job_arn #=> String
|
3898
3933
|
# resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
3899
3934
|
# resp.versions[0].state_reason #=> String
|
3900
|
-
# resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
3935
|
+
# resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
3901
3936
|
# resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
3902
3937
|
# resp.versions[0].last_update_status_reason #=> String
|
3903
|
-
# resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
3938
|
+
# resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
3904
3939
|
# resp.versions[0].file_system_configs #=> Array
|
3905
3940
|
# resp.versions[0].file_system_configs[0].arn #=> String
|
3906
3941
|
# resp.versions[0].file_system_configs[0].local_mount_path #=> String
|
@@ -3917,6 +3952,8 @@ module Aws::Lambda
|
|
3917
3952
|
# resp.versions[0].architectures #=> Array
|
3918
3953
|
# resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
|
3919
3954
|
# resp.versions[0].ephemeral_storage.size #=> Integer
|
3955
|
+
# resp.versions[0].snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
3956
|
+
# resp.versions[0].snap_start.optimization_status #=> String, one of "On", "Off"
|
3920
3957
|
#
|
3921
3958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
3922
3959
|
#
|
@@ -3999,7 +4036,7 @@ module Aws::Lambda
|
|
3999
4036
|
# s3_object_version: "S3ObjectVersion",
|
4000
4037
|
# zip_file: "data",
|
4001
4038
|
# },
|
4002
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4039
|
+
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4003
4040
|
# license_info: "LicenseInfo",
|
4004
4041
|
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
4005
4042
|
# })
|
@@ -4017,7 +4054,7 @@ module Aws::Lambda
|
|
4017
4054
|
# resp.created_date #=> Time
|
4018
4055
|
# resp.version #=> Integer
|
4019
4056
|
# resp.compatible_runtimes #=> Array
|
4020
|
-
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
4057
|
+
# resp.compatible_runtimes[0] #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
4021
4058
|
# resp.license_info #=> String
|
4022
4059
|
# resp.compatible_architectures #=> Array
|
4023
4060
|
# resp.compatible_architectures[0] #=> String, one of "x86_64", "arm64"
|
@@ -4113,6 +4150,7 @@ module Aws::Lambda
|
|
4113
4150
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
4114
4151
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
4115
4152
|
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
4153
|
+
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
4116
4154
|
#
|
4117
4155
|
# @example Request syntax with placeholder values
|
4118
4156
|
#
|
@@ -4127,7 +4165,7 @@ module Aws::Lambda
|
|
4127
4165
|
#
|
4128
4166
|
# resp.function_name #=> String
|
4129
4167
|
# resp.function_arn #=> String
|
4130
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
4168
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
4131
4169
|
# resp.role #=> String
|
4132
4170
|
# resp.handler #=> String
|
4133
4171
|
# resp.code_size #=> Integer
|
@@ -4158,10 +4196,10 @@ module Aws::Lambda
|
|
4158
4196
|
# resp.layers[0].signing_job_arn #=> String
|
4159
4197
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
4160
4198
|
# resp.state_reason #=> String
|
4161
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
4199
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
4162
4200
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
4163
4201
|
# resp.last_update_status_reason #=> String
|
4164
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
4202
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
4165
4203
|
# resp.file_system_configs #=> Array
|
4166
4204
|
# resp.file_system_configs[0].arn #=> String
|
4167
4205
|
# resp.file_system_configs[0].local_mount_path #=> String
|
@@ -4178,6 +4216,8 @@ module Aws::Lambda
|
|
4178
4216
|
# resp.architectures #=> Array
|
4179
4217
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
4180
4218
|
# resp.ephemeral_storage.size #=> Integer
|
4219
|
+
# resp.snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
4220
|
+
# resp.snap_start.optimization_status #=> String, one of "On", "Off"
|
4181
4221
|
#
|
4182
4222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
4183
4223
|
#
|
@@ -4249,23 +4289,23 @@ module Aws::Lambda
|
|
4249
4289
|
# reserve concurrency for as many functions as you like, as long as you
|
4250
4290
|
# leave at least 100 simultaneous executions unreserved for functions
|
4251
4291
|
# that aren't configured with a per-function limit. For more
|
4252
|
-
# information, see [
|
4292
|
+
# information, see [Lambda function scaling][1].
|
4253
4293
|
#
|
4254
4294
|
#
|
4255
4295
|
#
|
4256
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
4296
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html
|
4257
4297
|
#
|
4258
4298
|
# @option params [required, String] :function_name
|
4259
4299
|
# The name of the Lambda function.
|
4260
4300
|
#
|
4261
4301
|
# **Name formats**
|
4262
4302
|
#
|
4263
|
-
# * **Function name**
|
4303
|
+
# * **Function name** – `my-function`.
|
4264
4304
|
#
|
4265
|
-
# * **Function ARN**
|
4305
|
+
# * **Function ARN** –
|
4266
4306
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4267
4307
|
#
|
4268
|
-
# * **Partial ARN**
|
4308
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4269
4309
|
#
|
4270
4310
|
# The length constraint applies only to the full ARN. If you specify
|
4271
4311
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4415,12 +4455,12 @@ module Aws::Lambda
|
|
4415
4455
|
#
|
4416
4456
|
# **Name formats**
|
4417
4457
|
#
|
4418
|
-
# * **Function name**
|
4458
|
+
# * **Function name** – `my-function`.
|
4419
4459
|
#
|
4420
|
-
# * **Function ARN**
|
4460
|
+
# * **Function ARN** –
|
4421
4461
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4422
4462
|
#
|
4423
|
-
# * **Partial ARN**
|
4463
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4424
4464
|
#
|
4425
4465
|
# The length constraint applies only to the full ARN. If you specify
|
4426
4466
|
# only the function name, it is limited to 64 characters in length.
|
@@ -4509,22 +4549,22 @@ module Aws::Lambda
|
|
4509
4549
|
req.send_request(options)
|
4510
4550
|
end
|
4511
4551
|
|
4512
|
-
# Revokes function-use permission from an Amazon Web
|
4513
|
-
#
|
4514
|
-
# of GetPolicy.
|
4552
|
+
# Revokes function-use permission from an Amazon Web Service or another
|
4553
|
+
# Amazon Web Services account. You can get the ID of the statement from
|
4554
|
+
# the output of GetPolicy.
|
4515
4555
|
#
|
4516
4556
|
# @option params [required, String] :function_name
|
4517
4557
|
# The name of the Lambda function, version, or alias.
|
4518
4558
|
#
|
4519
4559
|
# **Name formats**
|
4520
4560
|
#
|
4521
|
-
# * **Function name**
|
4561
|
+
# * **Function name** – `my-function` (name-only), `my-function:v1`
|
4522
4562
|
# (with alias).
|
4523
4563
|
#
|
4524
|
-
# * **Function ARN**
|
4564
|
+
# * **Function ARN** –
|
4525
4565
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
4526
4566
|
#
|
4527
|
-
# * **Partial ARN**
|
4567
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
4528
4568
|
#
|
4529
4569
|
# You can append a version number or alias to any of the formats. The
|
4530
4570
|
# length constraint applies only to the full ARN. If you specify only
|
@@ -4538,7 +4578,7 @@ module Aws::Lambda
|
|
4538
4578
|
# version of the function.
|
4539
4579
|
#
|
4540
4580
|
# @option params [String] :revision_id
|
4541
|
-
#
|
4581
|
+
# Update the policy only if the revision ID matches the ID that's
|
4542
4582
|
# specified. Use this option to avoid modifying a policy that has
|
4543
4583
|
# changed since you last read it.
|
4544
4584
|
#
|
@@ -4878,23 +4918,31 @@ module Aws::Lambda
|
|
4878
4918
|
# * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
|
4879
4919
|
#
|
4880
4920
|
# @option params [Types::FilterCriteria] :filter_criteria
|
4881
|
-
#
|
4882
|
-
#
|
4883
|
-
#
|
4921
|
+
# An object that defines the filter criteria that determine whether
|
4922
|
+
# Lambda should process an event. For more information, see [Lambda
|
4923
|
+
# event filtering][1].
|
4884
4924
|
#
|
4885
4925
|
#
|
4886
4926
|
#
|
4887
4927
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
|
4888
4928
|
#
|
4889
4929
|
# @option params [Integer] :maximum_batching_window_in_seconds
|
4890
|
-
#
|
4891
|
-
#
|
4892
|
-
#
|
4893
|
-
#
|
4894
|
-
#
|
4895
|
-
#
|
4896
|
-
#
|
4897
|
-
#
|
4930
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
4931
|
+
# records before invoking the function. You can configure
|
4932
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
4933
|
+
# seconds in increments of seconds.
|
4934
|
+
#
|
4935
|
+
# For streams and Amazon SQS event sources, the default batching window
|
4936
|
+
# is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
|
4937
|
+
# event sources, the default batching window is 500 ms. Note that
|
4938
|
+
# because you can only change `MaximumBatchingWindowInSeconds` in
|
4939
|
+
# increments of seconds, you cannot revert back to the 500 ms default
|
4940
|
+
# batching window after you have changed it. To restore the default
|
4941
|
+
# batching window, you must create a new event source mapping.
|
4942
|
+
#
|
4943
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
4944
|
+
# set `BatchSize` to a value greater than 10, you must set
|
4945
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
4898
4946
|
#
|
4899
4947
|
# @option params [Types::DestinationConfig] :destination_config
|
4900
4948
|
# (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
|
@@ -5042,13 +5090,13 @@ module Aws::Lambda
|
|
5042
5090
|
|
5043
5091
|
# Updates a Lambda function's code. If code signing is enabled for the
|
5044
5092
|
# function, the code package must be signed by a trusted publisher. For
|
5045
|
-
# more information, see [Configuring code signing][1].
|
5093
|
+
# more information, see [Configuring code signing for Lambda][1].
|
5046
5094
|
#
|
5047
|
-
# If the function's package type is `Image`, you must specify the
|
5048
|
-
# package in `ImageUri` as the URI of a [container image][2] in the
|
5095
|
+
# If the function's package type is `Image`, then you must specify the
|
5096
|
+
# code package in `ImageUri` as the URI of a [container image][2] in the
|
5049
5097
|
# Amazon ECR registry.
|
5050
5098
|
#
|
5051
|
-
# If the function's package type is `Zip`, you must specify the
|
5099
|
+
# If the function's package type is `Zip`, then you must specify the
|
5052
5100
|
# deployment package as a [.zip file archive][3]. Enter the Amazon S3
|
5053
5101
|
# bucket and key of the code .zip file location. You can also provide
|
5054
5102
|
# the function code inline using the `ZipFile` field.
|
@@ -5067,7 +5115,7 @@ module Aws::Lambda
|
|
5067
5115
|
#
|
5068
5116
|
#
|
5069
5117
|
#
|
5070
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
5118
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html
|
5071
5119
|
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
|
5072
5120
|
# [3]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip
|
5073
5121
|
#
|
@@ -5076,21 +5124,20 @@ module Aws::Lambda
|
|
5076
5124
|
#
|
5077
5125
|
# **Name formats**
|
5078
5126
|
#
|
5079
|
-
# * **Function name**
|
5127
|
+
# * **Function name** – `my-function`.
|
5080
5128
|
#
|
5081
|
-
# * **Function ARN**
|
5129
|
+
# * **Function ARN** –
|
5082
5130
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5083
5131
|
#
|
5084
|
-
# * **Partial ARN**
|
5132
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5085
5133
|
#
|
5086
5134
|
# The length constraint applies only to the full ARN. If you specify
|
5087
5135
|
# only the function name, it is limited to 64 characters in length.
|
5088
5136
|
#
|
5089
5137
|
# @option params [String, StringIO, File] :zip_file
|
5090
5138
|
# The base64-encoded contents of the deployment package. Amazon Web
|
5091
|
-
# Services SDK and
|
5092
|
-
#
|
5093
|
-
# deployment package.
|
5139
|
+
# Services SDK and CLI clients handle the encoding for you. Use only
|
5140
|
+
# with a function defined with a .zip file archive deployment package.
|
5094
5141
|
#
|
5095
5142
|
# @option params [String] :s3_bucket
|
5096
5143
|
# An Amazon S3 bucket in the same Amazon Web Services Region as your
|
@@ -5120,7 +5167,7 @@ module Aws::Lambda
|
|
5120
5167
|
# without modifying the function code.
|
5121
5168
|
#
|
5122
5169
|
# @option params [String] :revision_id
|
5123
|
-
#
|
5170
|
+
# Update the function only if the revision ID matches the ID that's
|
5124
5171
|
# specified. Use this option to avoid modifying a function that has
|
5125
5172
|
# changed since you last read it.
|
5126
5173
|
#
|
@@ -5164,6 +5211,7 @@ module Aws::Lambda
|
|
5164
5211
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
5165
5212
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
5166
5213
|
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
5214
|
+
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
5167
5215
|
#
|
5168
5216
|
# @example Request syntax with placeholder values
|
5169
5217
|
#
|
@@ -5184,7 +5232,7 @@ module Aws::Lambda
|
|
5184
5232
|
#
|
5185
5233
|
# resp.function_name #=> String
|
5186
5234
|
# resp.function_arn #=> String
|
5187
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
5235
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
5188
5236
|
# resp.role #=> String
|
5189
5237
|
# resp.handler #=> String
|
5190
5238
|
# resp.code_size #=> Integer
|
@@ -5215,10 +5263,10 @@ module Aws::Lambda
|
|
5215
5263
|
# resp.layers[0].signing_job_arn #=> String
|
5216
5264
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
5217
5265
|
# resp.state_reason #=> String
|
5218
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
5266
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
5219
5267
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
5220
5268
|
# resp.last_update_status_reason #=> String
|
5221
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
5269
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
5222
5270
|
# resp.file_system_configs #=> Array
|
5223
5271
|
# resp.file_system_configs[0].arn #=> String
|
5224
5272
|
# resp.file_system_configs[0].local_mount_path #=> String
|
@@ -5235,6 +5283,8 @@ module Aws::Lambda
|
|
5235
5283
|
# resp.architectures #=> Array
|
5236
5284
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
5237
5285
|
# resp.ephemeral_storage.size #=> Integer
|
5286
|
+
# resp.snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
5287
|
+
# resp.snap_start.optimization_status #=> String, one of "On", "Off"
|
5238
5288
|
#
|
5239
5289
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
5240
5290
|
#
|
@@ -5255,15 +5305,15 @@ module Aws::Lambda
|
|
5255
5305
|
# `LastUpdateStatusReasonCode` fields in the response from
|
5256
5306
|
# GetFunctionConfiguration indicate when the update is complete and the
|
5257
5307
|
# function is processing events with the new configuration. For more
|
5258
|
-
# information, see [
|
5308
|
+
# information, see [Lambda function states][1].
|
5259
5309
|
#
|
5260
5310
|
# These settings can vary between versions of a function and are locked
|
5261
5311
|
# when you publish a version. You can't modify the configuration of a
|
5262
5312
|
# published version, only the unpublished version.
|
5263
5313
|
#
|
5264
5314
|
# To configure function concurrency, use PutFunctionConcurrency. To
|
5265
|
-
# grant invoke permissions to an
|
5266
|
-
# use AddPermission.
|
5315
|
+
# grant invoke permissions to an Amazon Web Services account or Amazon
|
5316
|
+
# Web Service, use AddPermission.
|
5267
5317
|
#
|
5268
5318
|
#
|
5269
5319
|
#
|
@@ -5274,12 +5324,12 @@ module Aws::Lambda
|
|
5274
5324
|
#
|
5275
5325
|
# **Name formats**
|
5276
5326
|
#
|
5277
|
-
# * **Function name**
|
5327
|
+
# * **Function name** – `my-function`.
|
5278
5328
|
#
|
5279
|
-
# * **Function ARN**
|
5329
|
+
# * **Function ARN** –
|
5280
5330
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5281
5331
|
#
|
5282
|
-
# * **Partial ARN**
|
5332
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5283
5333
|
#
|
5284
5334
|
# The length constraint applies only to the full ARN. If you specify
|
5285
5335
|
# only the function name, it is limited to 64 characters in length.
|
@@ -5288,15 +5338,15 @@ module Aws::Lambda
|
|
5288
5338
|
# The Amazon Resource Name (ARN) of the function's execution role.
|
5289
5339
|
#
|
5290
5340
|
# @option params [String] :handler
|
5291
|
-
# The name of the method within your code that Lambda calls to
|
5292
|
-
#
|
5293
|
-
#
|
5341
|
+
# The name of the method within your code that Lambda calls to run your
|
5342
|
+
# function. Handler is required if the deployment package is a .zip file
|
5343
|
+
# archive. The format includes the file name. It can also include
|
5294
5344
|
# namespaces and other qualifiers, depending on the runtime. For more
|
5295
|
-
# information, see [
|
5345
|
+
# information, see [Lambda programming model][1].
|
5296
5346
|
#
|
5297
5347
|
#
|
5298
5348
|
#
|
5299
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/
|
5349
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
|
5300
5350
|
#
|
5301
5351
|
# @option params [String] :description
|
5302
5352
|
# A description of the function.
|
@@ -5304,8 +5354,8 @@ module Aws::Lambda
|
|
5304
5354
|
# @option params [Integer] :timeout
|
5305
5355
|
# The amount of time (in seconds) that Lambda allows a function to run
|
5306
5356
|
# before stopping it. The default is 3 seconds. The maximum allowed
|
5307
|
-
# value is 900 seconds. For
|
5308
|
-
#
|
5357
|
+
# value is 900 seconds. For more information, see [Lambda execution
|
5358
|
+
# environment][1].
|
5309
5359
|
#
|
5310
5360
|
#
|
5311
5361
|
#
|
@@ -5318,14 +5368,14 @@ module Aws::Lambda
|
|
5318
5368
|
#
|
5319
5369
|
#
|
5320
5370
|
#
|
5321
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-
|
5371
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
|
5322
5372
|
#
|
5323
5373
|
# @option params [Types::VpcConfig] :vpc_config
|
5324
5374
|
# For network connectivity to Amazon Web Services resources in a VPC,
|
5325
5375
|
# specify a list of security groups and subnets in the VPC. When you
|
5326
|
-
# connect a function to a VPC, it can
|
5327
|
-
#
|
5328
|
-
#
|
5376
|
+
# connect a function to a VPC, it can access resources and the internet
|
5377
|
+
# only through that VPC. For more information, see [Configuring a Lambda
|
5378
|
+
# function to access resources in a VPC][1].
|
5329
5379
|
#
|
5330
5380
|
#
|
5331
5381
|
#
|
@@ -5344,18 +5394,18 @@ module Aws::Lambda
|
|
5344
5394
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
5345
5395
|
#
|
5346
5396
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
5347
|
-
# A dead
|
5397
|
+
# A dead-letter queue configuration that specifies the queue or topic
|
5348
5398
|
# where Lambda sends asynchronous events when they fail processing. For
|
5349
|
-
# more information, see [Dead
|
5399
|
+
# more information, see [Dead-letter queues][1].
|
5350
5400
|
#
|
5351
5401
|
#
|
5352
5402
|
#
|
5353
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
5403
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
5354
5404
|
#
|
5355
5405
|
# @option params [String] :kms_key_arn
|
5356
|
-
# The ARN of the
|
5357
|
-
#
|
5358
|
-
#
|
5406
|
+
# The ARN of the Key Management Service (KMS) key that's used to
|
5407
|
+
# encrypt your function's environment variables. If it's not provided,
|
5408
|
+
# Lambda uses a default service key.
|
5359
5409
|
#
|
5360
5410
|
# @option params [Types::TracingConfig] :tracing_config
|
5361
5411
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
@@ -5366,7 +5416,7 @@ module Aws::Lambda
|
|
5366
5416
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
|
5367
5417
|
#
|
5368
5418
|
# @option params [String] :revision_id
|
5369
|
-
#
|
5419
|
+
# Update the function only if the revision ID matches the ID that's
|
5370
5420
|
# specified. Use this option to avoid modifying a function that has
|
5371
5421
|
# changed since you last read it.
|
5372
5422
|
#
|
@@ -5390,8 +5440,15 @@ module Aws::Lambda
|
|
5390
5440
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
|
5391
5441
|
#
|
5392
5442
|
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
5393
|
-
# The size of the function
|
5394
|
-
# 512, but can be any whole number between 512 and
|
5443
|
+
# The size of the function's `/tmp` directory in MB. The default value
|
5444
|
+
# is 512, but can be any whole number between 512 and 10,240 MB.
|
5445
|
+
#
|
5446
|
+
# @option params [Types::SnapStart] :snap_start
|
5447
|
+
# The function's [SnapStart][1] setting.
|
5448
|
+
#
|
5449
|
+
#
|
5450
|
+
#
|
5451
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
|
5395
5452
|
#
|
5396
5453
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5397
5454
|
#
|
@@ -5428,6 +5485,7 @@ module Aws::Lambda
|
|
5428
5485
|
# * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
|
5429
5486
|
# * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
|
5430
5487
|
# * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
|
5488
|
+
# * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
|
5431
5489
|
#
|
5432
5490
|
# @example Request syntax with placeholder values
|
5433
5491
|
#
|
@@ -5447,7 +5505,7 @@ module Aws::Lambda
|
|
5447
5505
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
5448
5506
|
# },
|
5449
5507
|
# },
|
5450
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
5508
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
5451
5509
|
# dead_letter_config: {
|
5452
5510
|
# target_arn: "ResourceArn",
|
5453
5511
|
# },
|
@@ -5471,13 +5529,16 @@ module Aws::Lambda
|
|
5471
5529
|
# ephemeral_storage: {
|
5472
5530
|
# size: 1, # required
|
5473
5531
|
# },
|
5532
|
+
# snap_start: {
|
5533
|
+
# apply_on: "PublishedVersions", # accepts PublishedVersions, None
|
5534
|
+
# },
|
5474
5535
|
# })
|
5475
5536
|
#
|
5476
5537
|
# @example Response structure
|
5477
5538
|
#
|
5478
5539
|
# resp.function_name #=> String
|
5479
5540
|
# resp.function_arn #=> String
|
5480
|
-
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2"
|
5541
|
+
# resp.runtime #=> String, one of "nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "nodejs10.x", "nodejs12.x", "nodejs14.x", "nodejs16.x", "java8", "java8.al2", "java11", "python2.7", "python3.6", "python3.7", "python3.8", "python3.9", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "dotnetcore3.1", "dotnet6", "nodejs4.3-edge", "go1.x", "ruby2.5", "ruby2.7", "provided", "provided.al2", "nodejs18.x"
|
5481
5542
|
# resp.role #=> String
|
5482
5543
|
# resp.handler #=> String
|
5483
5544
|
# resp.code_size #=> Integer
|
@@ -5508,10 +5569,10 @@ module Aws::Lambda
|
|
5508
5569
|
# resp.layers[0].signing_job_arn #=> String
|
5509
5570
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
5510
5571
|
# resp.state_reason #=> String
|
5511
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
5572
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
5512
5573
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
5513
5574
|
# resp.last_update_status_reason #=> String
|
5514
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage"
|
5575
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup", "ImageDeleted", "ImageAccessDenied", "InvalidImage", "KMSKeyAccessDenied", "KMSKeyNotFound", "InvalidStateKMSKey", "DisabledKMSKey", "EFSIOError", "EFSMountConnectivityError", "EFSMountFailure", "EFSMountTimeout", "InvalidRuntime", "InvalidZipFileException", "FunctionError"
|
5515
5576
|
# resp.file_system_configs #=> Array
|
5516
5577
|
# resp.file_system_configs[0].arn #=> String
|
5517
5578
|
# resp.file_system_configs[0].local_mount_path #=> String
|
@@ -5528,6 +5589,8 @@ module Aws::Lambda
|
|
5528
5589
|
# resp.architectures #=> Array
|
5529
5590
|
# resp.architectures[0] #=> String, one of "x86_64", "arm64"
|
5530
5591
|
# resp.ephemeral_storage.size #=> Integer
|
5592
|
+
# resp.snap_start.apply_on #=> String, one of "PublishedVersions", "None"
|
5593
|
+
# resp.snap_start.optimization_status #=> String, one of "On", "Off"
|
5531
5594
|
#
|
5532
5595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
5533
5596
|
#
|
@@ -5636,12 +5699,12 @@ module Aws::Lambda
|
|
5636
5699
|
#
|
5637
5700
|
# **Name formats**
|
5638
5701
|
#
|
5639
|
-
# * **Function name**
|
5702
|
+
# * **Function name** – `my-function`.
|
5640
5703
|
#
|
5641
|
-
# * **Function ARN**
|
5704
|
+
# * **Function ARN** –
|
5642
5705
|
# `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
|
5643
5706
|
#
|
5644
|
-
# * **Partial ARN**
|
5707
|
+
# * **Partial ARN** – `123456789012:function:my-function`.
|
5645
5708
|
#
|
5646
5709
|
# The length constraint applies only to the full ARN. If you specify
|
5647
5710
|
# only the function name, it is limited to 64 characters in length.
|
@@ -5651,9 +5714,9 @@ module Aws::Lambda
|
|
5651
5714
|
#
|
5652
5715
|
# @option params [String] :auth_type
|
5653
5716
|
# The type of authentication that your function URL uses. Set to
|
5654
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
5717
|
+
# `AWS_IAM` if you want to restrict access to authenticated IAM users
|
5655
5718
|
# only. Set to `NONE` if you want to bypass IAM authentication to create
|
5656
|
-
# a public endpoint. For more information, see [
|
5719
|
+
# a public endpoint. For more information, see [Security and auth model
|
5657
5720
|
# for Lambda function URLs][1].
|
5658
5721
|
#
|
5659
5722
|
#
|
@@ -5733,7 +5796,7 @@ module Aws::Lambda
|
|
5733
5796
|
params: params,
|
5734
5797
|
config: config)
|
5735
5798
|
context[:gem_name] = 'aws-sdk-lambda'
|
5736
|
-
context[:gem_version] = '1.
|
5799
|
+
context[:gem_version] = '1.88.0'
|
5737
5800
|
Seahorse::Client::Request.new(handlers, context)
|
5738
5801
|
end
|
5739
5802
|
|
@@ -5799,13 +5862,14 @@ module Aws::Lambda
|
|
5799
5862
|
# The following table lists the valid waiter names, the operations they call,
|
5800
5863
|
# and the default `:delay` and `:max_attempts` values.
|
5801
5864
|
#
|
5802
|
-
# | waiter_name
|
5803
|
-
# |
|
5804
|
-
# | function_active
|
5805
|
-
# | function_active_v2
|
5806
|
-
# | function_exists
|
5807
|
-
# | function_updated
|
5808
|
-
# | function_updated_v2
|
5865
|
+
# | waiter_name | params | :delay | :max_attempts |
|
5866
|
+
# | ------------------------ | ----------------------------------- | -------- | ------------- |
|
5867
|
+
# | function_active | {Client#get_function_configuration} | 5 | 60 |
|
5868
|
+
# | function_active_v2 | {Client#get_function} | 1 | 300 |
|
5869
|
+
# | function_exists | {Client#get_function} | 1 | 20 |
|
5870
|
+
# | function_updated | {Client#get_function_configuration} | 5 | 60 |
|
5871
|
+
# | function_updated_v2 | {Client#get_function} | 1 | 300 |
|
5872
|
+
# | published_version_active | {Client#get_function_configuration} | 5 | 312 |
|
5809
5873
|
#
|
5810
5874
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
5811
5875
|
# because the waiter has entered a state that it will not transition
|
@@ -5860,7 +5924,8 @@ module Aws::Lambda
|
|
5860
5924
|
function_active_v2: Waiters::FunctionActiveV2,
|
5861
5925
|
function_exists: Waiters::FunctionExists,
|
5862
5926
|
function_updated: Waiters::FunctionUpdated,
|
5863
|
-
function_updated_v2: Waiters::FunctionUpdatedV2
|
5927
|
+
function_updated_v2: Waiters::FunctionUpdatedV2,
|
5928
|
+
published_version_active: Waiters::PublishedVersionActive
|
5864
5929
|
}
|
5865
5930
|
end
|
5866
5931
|
|