aws-sdk-lambda 1.87.0 → 1.88.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -441,27 +441,28 @@ module Aws::Lambda
441
441
  req.send_request(options)
442
442
  end
443
443
 
444
- # Grants an Amazon Web Services service, account, or organization
445
- # permission to use a function. You can apply the policy at the function
446
- # level, or specify a qualifier to restrict access to a single version
447
- # or alias. If you use a qualifier, the invoker must use the full Amazon
448
- # Resource Name (ARN) of that version or alias to invoke the function.
449
- # Note: Lambda does not support adding policies to version $LATEST.
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 services, the principal is a domain-style
455
- # identifier defined by the service, like `s3.amazonaws.com` or
456
- # `sns.amazonaws.com`. For Amazon Web Services services, you can also
457
- # specify the ARN of the associated resource as the `SourceArn`. If you
458
- # grant permission to a service principal without specifying the source,
459
- # other accounts could potentially configure resources in their account
460
- # to invoke your Lambda function.
461
- #
462
- # This action adds a statement to a resource-based permissions policy
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
- # [Lambda Function Policies][1].
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** - `my-function` (name-only), `my-function:v1`
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** - `123456789012:function:my-function`.
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 Services service or account that invokes the function.
497
- # If you specify a service, use `SourceArn` or `SourceAccount` to limit
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 services, the ARN of the Amazon Web Services
502
- # resource that invokes the function. For example, an Amazon S3 bucket
503
- # or Amazon SNS topic.
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 S3, the ID of the account that owns the resource. Use this
510
- # together with `SourceArn` to ensure that the resource is owned by the
511
- # specified account. It is possible for an Amazon S3 bucket to be
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 must be supplied by the
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
- # Only update the policy if the revision ID matches the ID that's
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 `IAM` users
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 [ Security and auth model
536
+ # a public endpoint. For more information, see [Security and auth model
537
537
  # for Lambda function URLs][1].
538
538
  #
539
539
  #
@@ -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,9 +840,9 @@ 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
- # (Streams and Amazon SQS) An object that defines the filter criteria
842
- # that determine whether Lambda should process an event. For more
843
- # information, see [Lambda event filtering][1].
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
  #
@@ -1053,21 +1055,21 @@ module Aws::Lambda
1053
1055
  # [deployment package][1] and an [execution role][2]. The deployment
1054
1056
  # package is a .zip file archive or container image that contains your
1055
1057
  # function code. The execution role grants the function permission to
1056
- # use Amazon Web Services services, such as Amazon CloudWatch Logs for
1057
- # log streaming and X-Ray for request tracing.
1058
+ # use Amazon Web Services, such as Amazon CloudWatch Logs for log
1059
+ # streaming and X-Ray for request tracing.
1058
1060
  #
1059
- # You set the package type to `Image` if the deployment package is a
1060
- # [container image][3]. For a container image, the code property must
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
1061
1063
  # include the URI of a container image in the Amazon ECR registry. You
1062
1064
  # do not need to specify the handler and runtime properties.
1063
1065
  #
1064
- # You set the package type to `Zip` if the deployment package is a [.zip
1065
- # file archive][4]. For a .zip file archive, the code property specifies
1066
- # the location of the .zip file. You must also specify the handler and
1067
- # runtime properties. The code in the deployment package must be
1068
- # 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
1069
1071
  # function (`x86-64` or `arm64`). If you do not specify the
1070
- # architecture, the default value is `x86-64`.
1072
+ # architecture, then the default value is `x86-64`.
1071
1073
  #
1072
1074
  # When you create a function, Lambda provisions an instance of the
1073
1075
  # function and its supporting resources. If your function connects to a
@@ -1075,7 +1077,7 @@ module Aws::Lambda
1075
1077
  # can't invoke or modify the function. The `State`, `StateReason`, and
1076
1078
  # `StateReasonCode` fields in the response from GetFunctionConfiguration
1077
1079
  # indicate when the function is ready to invoke. For more information,
1078
- # see [Function States][5].
1080
+ # see [Lambda function states][5].
1079
1081
  #
1080
1082
  # A function has an unpublished version, and can have published versions
1081
1083
  # and aliases. The unpublished version changes when you update your
@@ -1097,19 +1099,20 @@ module Aws::Lambda
1097
1099
  # a code-signing configuration. When a user attempts to deploy a code
1098
1100
  # package with UpdateFunctionCode, Lambda checks that the code package
1099
1101
  # has a valid signature from a trusted publisher. The code-signing
1100
- # configuration includes set set of signing profiles, which define the
1102
+ # configuration includes set of signing profiles, which define the
1101
1103
  # trusted publishers for this function.
1102
1104
  #
1103
- # If another account or an Amazon Web Services service invokes your
1104
- # function, use AddPermission to grant permission by creating a
1105
- # resource-based IAM policy. You can grant permissions at the function
1106
- # level, on a version, or on an alias.
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.
1107
1110
  #
1108
1111
  # To invoke your function directly, use Invoke. To invoke your function
1109
- # in response to events in other Amazon Web Services services, create an
1110
- # event source mapping (CreateEventSourceMapping), or configure a
1111
- # function trigger in the other service. For more information, see
1112
- # [Invoking Functions][6].
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].
1113
1116
  #
1114
1117
  #
1115
1118
  #
@@ -1125,12 +1128,12 @@ module Aws::Lambda
1125
1128
  #
1126
1129
  # **Name formats**
1127
1130
  #
1128
- # * **Function name** - `my-function`.
1131
+ # * **Function name** `my-function`.
1129
1132
  #
1130
- # * **Function ARN** -
1133
+ # * **Function ARN**
1131
1134
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1132
1135
  #
1133
- # * **Partial ARN** - `123456789012:function:my-function`.
1136
+ # * **Partial ARN** `123456789012:function:my-function`.
1134
1137
  #
1135
1138
  # The length constraint applies only to the full ARN. If you specify
1136
1139
  # only the function name, it is limited to 64 characters in length.
@@ -1147,15 +1150,15 @@ module Aws::Lambda
1147
1150
  # The Amazon Resource Name (ARN) of the function's execution role.
1148
1151
  #
1149
1152
  # @option params [String] :handler
1150
- # The name of the method within your code that Lambda calls to execute
1151
- # your function. Handler is required if the deployment package is a .zip
1152
- # file archive. The format includes the file name. It can also include
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
1153
1156
  # namespaces and other qualifiers, depending on the runtime. For more
1154
- # information, see [Programming Model][1].
1157
+ # information, see [Lambda programming model][1].
1155
1158
  #
1156
1159
  #
1157
1160
  #
1158
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
1161
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
1159
1162
  #
1160
1163
  # @option params [required, Types::FunctionCode] :code
1161
1164
  # The code for the function.
@@ -1166,8 +1169,8 @@ module Aws::Lambda
1166
1169
  # @option params [Integer] :timeout
1167
1170
  # The amount of time (in seconds) that Lambda allows a function to run
1168
1171
  # before stopping it. The default is 3 seconds. The maximum allowed
1169
- # value is 900 seconds. For additional information, see [Lambda
1170
- # execution environment][1].
1172
+ # value is 900 seconds. For more information, see [Lambda execution
1173
+ # environment][1].
1171
1174
  #
1172
1175
  #
1173
1176
  #
@@ -1180,7 +1183,7 @@ module Aws::Lambda
1180
1183
  #
1181
1184
  #
1182
1185
  #
1183
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
1186
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
1184
1187
  #
1185
1188
  # @option params [Boolean] :publish
1186
1189
  # Set to true to publish the first version of the function during
@@ -1189,9 +1192,9 @@ module Aws::Lambda
1189
1192
  # @option params [Types::VpcConfig] :vpc_config
1190
1193
  # For network connectivity to Amazon Web Services resources in a VPC,
1191
1194
  # specify a list of security groups and subnets in the VPC. When you
1192
- # connect a function to a VPC, it can only access resources and the
1193
- # internet through that VPC. For more information, see [VPC
1194
- # Settings][1].
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].
1195
1198
  #
1196
1199
  #
1197
1200
  #
@@ -1199,25 +1202,25 @@ module Aws::Lambda
1199
1202
  #
1200
1203
  # @option params [String] :package_type
1201
1204
  # The type of deployment package. Set to `Image` for container image and
1202
- # set `Zip` for ZIP archive.
1205
+ # set to `Zip` for .zip file archive.
1203
1206
  #
1204
1207
  # @option params [Types::DeadLetterConfig] :dead_letter_config
1205
- # A dead letter queue configuration that specifies the queue or topic
1208
+ # A dead-letter queue configuration that specifies the queue or topic
1206
1209
  # where Lambda sends asynchronous events when they fail processing. For
1207
- # more information, see [Dead Letter Queues][1].
1210
+ # more information, see [Dead-letter queues][1].
1208
1211
  #
1209
1212
  #
1210
1213
  #
1211
- # [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
1212
1215
  #
1213
1216
  # @option params [Types::Environment] :environment
1214
1217
  # Environment variables that are accessible from function code during
1215
1218
  # execution.
1216
1219
  #
1217
1220
  # @option params [String] :kms_key_arn
1218
- # The ARN of the Amazon Web Services Key Management Service (KMS) key
1219
- # that's used to encrypt your function's environment variables. If
1220
- # it's not provided, Lambda uses a default service key.
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.
1221
1224
  #
1222
1225
  # @option params [Types::TracingConfig] :tracing_config
1223
1226
  # Set `Mode` to `Active` to sample and trace a subset of incoming
@@ -1265,8 +1268,15 @@ module Aws::Lambda
1265
1268
  # default value is `x86_64`.
1266
1269
  #
1267
1270
  # @option params [Types::EphemeralStorage] :ephemeral_storage
1268
- # The size of the functions /tmp directory in MB. The default value is
1269
- # 512, but can be any whole number between 512 and 10240 MB.
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
1270
1280
  #
1271
1281
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1272
1282
  #
@@ -1303,6 +1313,7 @@ module Aws::Lambda
1303
1313
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
1304
1314
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
1305
1315
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
1316
+ # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
1306
1317
  #
1307
1318
  # @example Request syntax with placeholder values
1308
1319
  #
@@ -1359,6 +1370,9 @@ module Aws::Lambda
1359
1370
  # ephemeral_storage: {
1360
1371
  # size: 1, # required
1361
1372
  # },
1373
+ # snap_start: {
1374
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
1375
+ # },
1362
1376
  # })
1363
1377
  #
1364
1378
  # @example Response structure
@@ -1396,10 +1410,10 @@ module Aws::Lambda
1396
1410
  # resp.layers[0].signing_job_arn #=> String
1397
1411
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
1398
1412
  # resp.state_reason #=> String
1399
- # 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"
1400
1414
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
1401
1415
  # resp.last_update_status_reason #=> String
1402
- # 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"
1403
1417
  # resp.file_system_configs #=> Array
1404
1418
  # resp.file_system_configs[0].arn #=> String
1405
1419
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -1416,6 +1430,8 @@ module Aws::Lambda
1416
1430
  # resp.architectures #=> Array
1417
1431
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
1418
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"
1419
1435
  #
1420
1436
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
1421
1437
  #
@@ -1435,12 +1451,12 @@ module Aws::Lambda
1435
1451
  #
1436
1452
  # **Name formats**
1437
1453
  #
1438
- # * **Function name** - `my-function`.
1454
+ # * **Function name** `my-function`.
1439
1455
  #
1440
- # * **Function ARN** -
1456
+ # * **Function ARN**
1441
1457
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1442
1458
  #
1443
- # * **Partial ARN** - `123456789012:function:my-function`.
1459
+ # * **Partial ARN** `123456789012:function:my-function`.
1444
1460
  #
1445
1461
  # The length constraint applies only to the full ARN. If you specify
1446
1462
  # only the function name, it is limited to 64 characters in length.
@@ -1450,9 +1466,9 @@ module Aws::Lambda
1450
1466
  #
1451
1467
  # @option params [required, String] :auth_type
1452
1468
  # The type of authentication that your function URL uses. Set to
1453
- # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
1469
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
1454
1470
  # only. Set to `NONE` if you want to bypass IAM authentication to create
1455
- # a public endpoint. For more information, see [ Security and auth model
1471
+ # a public endpoint. For more information, see [Security and auth model
1456
1472
  # for Lambda function URLs][1].
1457
1473
  #
1458
1474
  #
@@ -1680,30 +1696,30 @@ module Aws::Lambda
1680
1696
  # deleted.
1681
1697
  #
1682
1698
  # To delete Lambda event source mappings that invoke a function, use
1683
- # DeleteEventSourceMapping. For Amazon Web Services services and
1684
- # resources that invoke your function directly, delete the trigger in
1685
- # the service where you originally configured it.
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.
1686
1702
  #
1687
1703
  # @option params [required, String] :function_name
1688
1704
  # The name of the Lambda function or version.
1689
1705
  #
1690
1706
  # **Name formats**
1691
1707
  #
1692
- # * **Function name** - `my-function` (name-only), `my-function:1` (with
1708
+ # * **Function name** `my-function` (name-only), `my-function:1` (with
1693
1709
  # version).
1694
1710
  #
1695
- # * **Function ARN** -
1711
+ # * **Function ARN**
1696
1712
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1697
1713
  #
1698
- # * **Partial ARN** - `123456789012:function:my-function`.
1714
+ # * **Partial ARN** `123456789012:function:my-function`.
1699
1715
  #
1700
1716
  # You can append a version number or alias to any of the formats. The
1701
1717
  # length constraint applies only to the full ARN. If you specify only
1702
1718
  # the function name, it is limited to 64 characters in length.
1703
1719
  #
1704
1720
  # @option params [String] :qualifier
1705
- # Specify a version to delete. You can't delete a version that's
1706
- # referenced by an alias.
1721
+ # Specify a version to delete. You can't delete a version that an alias
1722
+ # references.
1707
1723
  #
1708
1724
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1709
1725
  #
@@ -1764,12 +1780,12 @@ module Aws::Lambda
1764
1780
  #
1765
1781
  # **Name formats**
1766
1782
  #
1767
- # * **Function name** - `my-function`.
1783
+ # * **Function name** `my-function`.
1768
1784
  #
1769
- # * **Function ARN** -
1785
+ # * **Function ARN**
1770
1786
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1771
1787
  #
1772
- # * **Partial ARN** - `123456789012:function:my-function`.
1788
+ # * **Partial ARN** `123456789012:function:my-function`.
1773
1789
  #
1774
1790
  # The length constraint applies only to the full ARN. If you specify
1775
1791
  # only the function name, it is limited to 64 characters in length.
@@ -1844,12 +1860,12 @@ module Aws::Lambda
1844
1860
  #
1845
1861
  # **Name formats**
1846
1862
  #
1847
- # * **Function name** - `my-function`.
1863
+ # * **Function name** `my-function`.
1848
1864
  #
1849
- # * **Function ARN** -
1865
+ # * **Function ARN**
1850
1866
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1851
1867
  #
1852
- # * **Partial ARN** - `123456789012:function:my-function`.
1868
+ # * **Partial ARN** `123456789012:function:my-function`.
1853
1869
  #
1854
1870
  # The length constraint applies only to the full ARN. If you specify
1855
1871
  # only the function name, it is limited to 64 characters in length.
@@ -1914,12 +1930,12 @@ module Aws::Lambda
1914
1930
  #
1915
1931
  # **Name formats**
1916
1932
  #
1917
- # * **Function name** - `my-function`.
1933
+ # * **Function name** `my-function`.
1918
1934
  #
1919
- # * **Function ARN** -
1935
+ # * **Function ARN**
1920
1936
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1921
1937
  #
1922
- # * **Partial ARN** - `123456789012:function:my-function`.
1938
+ # * **Partial ARN** `123456789012:function:my-function`.
1923
1939
  #
1924
1940
  # The length constraint applies only to the full ARN. If you specify
1925
1941
  # only the function name, it is limited to 64 characters in length.
@@ -2165,13 +2181,13 @@ module Aws::Lambda
2165
2181
  #
2166
2182
  # **Name formats**
2167
2183
  #
2168
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2184
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2169
2185
  # (with alias).
2170
2186
  #
2171
- # * **Function ARN** -
2187
+ # * **Function ARN**
2172
2188
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2173
2189
  #
2174
- # * **Partial ARN** - `123456789012:function:my-function`.
2190
+ # * **Partial ARN** `123456789012:function:my-function`.
2175
2191
  #
2176
2192
  # You can append a version number or alias to any of the formats. The
2177
2193
  # length constraint applies only to the full ARN. If you specify only
@@ -2230,10 +2246,10 @@ module Aws::Lambda
2230
2246
  # resp.configuration.layers[0].signing_job_arn #=> String
2231
2247
  # resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2232
2248
  # resp.configuration.state_reason #=> String
2233
- # 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"
2234
2250
  # resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2235
2251
  # resp.configuration.last_update_status_reason #=> String
2236
- # 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"
2237
2253
  # resp.configuration.file_system_configs #=> Array
2238
2254
  # resp.configuration.file_system_configs[0].arn #=> String
2239
2255
  # resp.configuration.file_system_configs[0].local_mount_path #=> String
@@ -2250,6 +2266,8 @@ module Aws::Lambda
2250
2266
  # resp.configuration.architectures #=> Array
2251
2267
  # resp.configuration.architectures[0] #=> String, one of "x86_64", "arm64"
2252
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"
2253
2271
  # resp.code.repository_type #=> String
2254
2272
  # resp.code.location #=> String
2255
2273
  # resp.code.image_uri #=> String
@@ -2325,12 +2343,12 @@ module Aws::Lambda
2325
2343
  #
2326
2344
  # **Name formats**
2327
2345
  #
2328
- # * **Function name** - `my-function`.
2346
+ # * **Function name** `my-function`.
2329
2347
  #
2330
- # * **Function ARN** -
2348
+ # * **Function ARN**
2331
2349
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2332
2350
  #
2333
- # * **Partial ARN** - `123456789012:function:my-function`.
2351
+ # * **Partial ARN** `123456789012:function:my-function`.
2334
2352
  #
2335
2353
  # The length constraint applies only to the full ARN. If you specify
2336
2354
  # only the function name, it is limited to 64 characters in length.
@@ -2370,13 +2388,13 @@ module Aws::Lambda
2370
2388
  #
2371
2389
  # **Name formats**
2372
2390
  #
2373
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2391
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2374
2392
  # (with alias).
2375
2393
  #
2376
- # * **Function ARN** -
2394
+ # * **Function ARN**
2377
2395
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2378
2396
  #
2379
- # * **Partial ARN** - `123456789012:function:my-function`.
2397
+ # * **Partial ARN** `123456789012:function:my-function`.
2380
2398
  #
2381
2399
  # You can append a version number or alias to any of the formats. The
2382
2400
  # length constraint applies only to the full ARN. If you specify only
@@ -2421,6 +2439,7 @@ module Aws::Lambda
2421
2439
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
2422
2440
  # * {Types::FunctionConfiguration#architectures #architectures} => Array<String>
2423
2441
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
2442
+ # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
2424
2443
  #
2425
2444
  # @example Request syntax with placeholder values
2426
2445
  #
@@ -2464,10 +2483,10 @@ module Aws::Lambda
2464
2483
  # resp.layers[0].signing_job_arn #=> String
2465
2484
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
2466
2485
  # resp.state_reason #=> String
2467
- # 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"
2468
2487
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
2469
2488
  # resp.last_update_status_reason #=> String
2470
- # 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"
2471
2490
  # resp.file_system_configs #=> Array
2472
2491
  # resp.file_system_configs[0].arn #=> String
2473
2492
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -2484,12 +2503,15 @@ module Aws::Lambda
2484
2503
  # resp.architectures #=> Array
2485
2504
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
2486
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"
2487
2508
  #
2488
2509
  #
2489
2510
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2490
2511
  #
2491
2512
  # * function_active
2492
2513
  # * function_updated
2514
+ # * published_version_active
2493
2515
  #
2494
2516
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration AWS API Documentation
2495
2517
  #
@@ -2566,12 +2588,12 @@ module Aws::Lambda
2566
2588
  #
2567
2589
  # **Name formats**
2568
2590
  #
2569
- # * **Function name** - `my-function`.
2591
+ # * **Function name** `my-function`.
2570
2592
  #
2571
- # * **Function ARN** -
2593
+ # * **Function ARN**
2572
2594
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2573
2595
  #
2574
- # * **Partial ARN** - `123456789012:function:my-function`.
2596
+ # * **Partial ARN** `123456789012:function:my-function`.
2575
2597
  #
2576
2598
  # The length constraint applies only to the full ARN. If you specify
2577
2599
  # only the function name, it is limited to 64 characters in length.
@@ -2787,13 +2809,13 @@ module Aws::Lambda
2787
2809
  #
2788
2810
  # **Name formats**
2789
2811
  #
2790
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2812
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2791
2813
  # (with alias).
2792
2814
  #
2793
- # * **Function ARN** -
2815
+ # * **Function ARN**
2794
2816
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2795
2817
  #
2796
- # * **Partial ARN** - `123456789012:function:my-function`.
2818
+ # * **Partial ARN** `123456789012:function:my-function`.
2797
2819
  #
2798
2820
  # You can append a version number or alias to any of the formats. The
2799
2821
  # length constraint applies only to the full ARN. If you specify only
@@ -2836,12 +2858,12 @@ module Aws::Lambda
2836
2858
  #
2837
2859
  # **Name formats**
2838
2860
  #
2839
- # * **Function name** - `my-function`.
2861
+ # * **Function name** `my-function`.
2840
2862
  #
2841
- # * **Function ARN** -
2863
+ # * **Function ARN**
2842
2864
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2843
2865
  #
2844
- # * **Partial ARN** - `123456789012:function:my-function`.
2866
+ # * **Partial ARN** `123456789012:function:my-function`.
2845
2867
  #
2846
2868
  # The length constraint applies only to the full ARN. If you specify
2847
2869
  # only the function name, it is limited to 64 characters in length.
@@ -2896,7 +2918,8 @@ module Aws::Lambda
2896
2918
  # Retry behavior varies by error type, client, event source, and
2897
2919
  # invocation type. For example, if you invoke a function asynchronously
2898
2920
  # and it returns an error, Lambda executes the function up to two more
2899
- # times. For more information, see [Retry Behavior][4].
2921
+ # times. For more information, see [Error handling and automatic retries
2922
+ # in Lambda][4].
2900
2923
  #
2901
2924
  # For [asynchronous invocation][5], Lambda adds events to a queue before
2902
2925
  # sending them to your function. If your function does not have enough
@@ -2907,17 +2930,17 @@ module Aws::Lambda
2907
2930
  #
2908
2931
  # The status code in the API response doesn't reflect function errors.
2909
2932
  # Error codes are reserved for errors that prevent your function from
2910
- # executing, such as permissions errors, [limit errors][7], or issues
2933
+ # executing, such as permissions errors, [quota][7] errors, or issues
2911
2934
  # with your function's code and configuration. For example, Lambda
2912
- # returns `TooManyRequestsException` if executing the function would
2913
- # cause you to exceed a concurrency limit at either the account level
2935
+ # returns `TooManyRequestsException` if running the function would cause
2936
+ # you to exceed a concurrency limit at either the account level
2914
2937
  # (`ConcurrentInvocationLimitExceeded`) or function level
2915
2938
  # (`ReservedFunctionConcurrentInvocationLimitExceeded`).
2916
2939
  #
2917
- # For functions with a long timeout, your client might be disconnected
2918
- # during synchronous invocation while it waits for a response. Configure
2919
- # your HTTP client, SDK, firewall, proxy, or operating system to allow
2920
- # for long connections with timeout or keep-alive settings.
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.
2921
2944
  #
2922
2945
  # This operation requires permission for the [lambda:InvokeFunction][8]
2923
2946
  # action. For details on how to set up permissions for cross-account
@@ -2928,10 +2951,10 @@ module Aws::Lambda
2928
2951
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html
2929
2952
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html
2930
2953
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html
2931
- # [4]: https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html
2954
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html
2932
2955
  # [5]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
2933
- # [6]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
2934
- # [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
2935
2958
  # [8]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html
2936
2959
  # [9]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke
2937
2960
  #
@@ -2940,13 +2963,13 @@ module Aws::Lambda
2940
2963
  #
2941
2964
  # **Name formats**
2942
2965
  #
2943
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2966
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2944
2967
  # (with alias).
2945
2968
  #
2946
- # * **Function ARN** -
2969
+ # * **Function ARN**
2947
2970
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2948
2971
  #
2949
- # * **Partial ARN** - `123456789012:function:my-function`.
2972
+ # * **Partial ARN** `123456789012:function:my-function`.
2950
2973
  #
2951
2974
  # You can append a version number or alias to any of the formats. The
2952
2975
  # length constraint applies only to the full ARN. If you specify only
@@ -2955,16 +2978,16 @@ module Aws::Lambda
2955
2978
  # @option params [String] :invocation_type
2956
2979
  # Choose from the following options.
2957
2980
  #
2958
- # * `RequestResponse` (default) - Invoke the function synchronously.
2981
+ # * `RequestResponse` (default) Invoke the function synchronously.
2959
2982
  # Keep the connection open until the function returns a response or
2960
2983
  # times out. The API response includes the function response and
2961
2984
  # additional data.
2962
2985
  #
2963
- # * `Event` - Invoke the function asynchronously. Send events that fail
2964
- # multiple times to the function's dead-letter queue (if it's
2986
+ # * `Event` Invoke the function asynchronously. Send events that fail
2987
+ # multiple times to the function's dead-letter queue (if one is
2965
2988
  # configured). The API response only includes a status code.
2966
2989
  #
2967
- # * `DryRun` - Validate parameter values and verify that the user or
2990
+ # * `DryRun` Validate parameter values and verify that the user or
2968
2991
  # role has permission to invoke the function.
2969
2992
  #
2970
2993
  # @option params [String] :log_type
@@ -2972,7 +2995,7 @@ module Aws::Lambda
2972
2995
  # synchronously invoked functions only.
2973
2996
  #
2974
2997
  # @option params [String] :client_context
2975
- # Up to 3583 bytes of base64-encoded data about the invoking client to
2998
+ # Up to 3,583 bytes of base64-encoded data about the invoking client to
2976
2999
  # pass to the function in the context object.
2977
3000
  #
2978
3001
  # @option params [String, StringIO, File] :payload
@@ -3031,12 +3054,12 @@ module Aws::Lambda
3031
3054
  #
3032
3055
  # **Name formats**
3033
3056
  #
3034
- # * **Function name** - `my-function`.
3057
+ # * **Function name** `my-function`.
3035
3058
  #
3036
- # * **Function ARN** -
3059
+ # * **Function ARN**
3037
3060
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3038
3061
  #
3039
- # * **Partial ARN** - `123456789012:function:my-function`.
3062
+ # * **Partial ARN** `123456789012:function:my-function`.
3040
3063
  #
3041
3064
  # The length constraint applies only to the full ARN. If you specify
3042
3065
  # only the function name, it is limited to 64 characters in length.
@@ -3203,6 +3226,8 @@ module Aws::Lambda
3203
3226
  # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
3204
3227
  # cluster.
3205
3228
  #
3229
+ # * **Amazon MQ** - The ARN of the broker.
3230
+ #
3206
3231
  # @option params [String] :function_name
3207
3232
  # The name of the Lambda function.
3208
3233
  #
@@ -3363,12 +3388,12 @@ module Aws::Lambda
3363
3388
  #
3364
3389
  # **Name formats**
3365
3390
  #
3366
- # * **Function name** - `my-function`.
3391
+ # * **Function name** `my-function`.
3367
3392
  #
3368
- # * **Function ARN** -
3393
+ # * **Function ARN**
3369
3394
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3370
3395
  #
3371
- # * **Partial ARN** - `123456789012:function:my-function`.
3396
+ # * **Partial ARN** `123456789012:function:my-function`.
3372
3397
  #
3373
3398
  # The length constraint applies only to the full ARN. If you specify
3374
3399
  # only the function name, it is limited to 64 characters in length.
@@ -3432,7 +3457,7 @@ module Aws::Lambda
3432
3457
  # Set `FunctionVersion` to `ALL` to include all published versions of
3433
3458
  # each function in addition to the unpublished version.
3434
3459
  #
3435
- # <note markdown="1"> The `ListFunctions` action returns a subset of the
3460
+ # <note markdown="1"> The `ListFunctions` operation returns a subset of the
3436
3461
  # FunctionConfiguration fields. To get the additional fields (State,
3437
3462
  # StateReasonCode, StateReason, LastUpdateStatus,
3438
3463
  # LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or
@@ -3443,7 +3468,7 @@ module Aws::Lambda
3443
3468
  # @option params [String] :master_region
3444
3469
  # For Lambda@Edge functions, the Amazon Web Services Region of the
3445
3470
  # master function. For example, `us-east-1` filters the list of
3446
- # functions to only include Lambda@Edge functions replicated from a
3471
+ # functions to include only Lambda@Edge functions replicated from a
3447
3472
  # master function in US East (N. Virginia). If specified, you must set
3448
3473
  # `FunctionVersion` to `ALL`.
3449
3474
  #
@@ -3513,10 +3538,10 @@ module Aws::Lambda
3513
3538
  # resp.functions[0].layers[0].signing_job_arn #=> String
3514
3539
  # resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3515
3540
  # resp.functions[0].state_reason #=> String
3516
- # 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"
3517
3542
  # resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3518
3543
  # resp.functions[0].last_update_status_reason #=> String
3519
- # 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"
3520
3545
  # resp.functions[0].file_system_configs #=> Array
3521
3546
  # resp.functions[0].file_system_configs[0].arn #=> String
3522
3547
  # resp.functions[0].file_system_configs[0].local_mount_path #=> String
@@ -3533,6 +3558,8 @@ module Aws::Lambda
3533
3558
  # resp.functions[0].architectures #=> Array
3534
3559
  # resp.functions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3535
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"
3536
3563
  #
3537
3564
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
3538
3565
  #
@@ -3734,12 +3761,12 @@ module Aws::Lambda
3734
3761
  #
3735
3762
  # **Name formats**
3736
3763
  #
3737
- # * **Function name** - `my-function`.
3764
+ # * **Function name** `my-function`.
3738
3765
  #
3739
- # * **Function ARN** -
3766
+ # * **Function ARN**
3740
3767
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3741
3768
  #
3742
- # * **Partial ARN** - `123456789012:function:my-function`.
3769
+ # * **Partial ARN** `123456789012:function:my-function`.
3743
3770
  #
3744
3771
  # The length constraint applies only to the full ARN. If you specify
3745
3772
  # only the function name, it is limited to 64 characters in length.
@@ -3905,10 +3932,10 @@ module Aws::Lambda
3905
3932
  # resp.versions[0].layers[0].signing_job_arn #=> String
3906
3933
  # resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
3907
3934
  # resp.versions[0].state_reason #=> String
3908
- # 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"
3909
3936
  # resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
3910
3937
  # resp.versions[0].last_update_status_reason #=> String
3911
- # 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"
3912
3939
  # resp.versions[0].file_system_configs #=> Array
3913
3940
  # resp.versions[0].file_system_configs[0].arn #=> String
3914
3941
  # resp.versions[0].file_system_configs[0].local_mount_path #=> String
@@ -3925,6 +3952,8 @@ module Aws::Lambda
3925
3952
  # resp.versions[0].architectures #=> Array
3926
3953
  # resp.versions[0].architectures[0] #=> String, one of "x86_64", "arm64"
3927
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"
3928
3957
  #
3929
3958
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
3930
3959
  #
@@ -4121,6 +4150,7 @@ module Aws::Lambda
4121
4150
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
4122
4151
  # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
4123
4152
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
4153
+ # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
4124
4154
  #
4125
4155
  # @example Request syntax with placeholder values
4126
4156
  #
@@ -4166,10 +4196,10 @@ module Aws::Lambda
4166
4196
  # resp.layers[0].signing_job_arn #=> String
4167
4197
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
4168
4198
  # resp.state_reason #=> String
4169
- # 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"
4170
4200
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
4171
4201
  # resp.last_update_status_reason #=> String
4172
- # 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"
4173
4203
  # resp.file_system_configs #=> Array
4174
4204
  # resp.file_system_configs[0].arn #=> String
4175
4205
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -4186,6 +4216,8 @@ module Aws::Lambda
4186
4216
  # resp.architectures #=> Array
4187
4217
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
4188
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"
4189
4221
  #
4190
4222
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
4191
4223
  #
@@ -4257,23 +4289,23 @@ module Aws::Lambda
4257
4289
  # reserve concurrency for as many functions as you like, as long as you
4258
4290
  # leave at least 100 simultaneous executions unreserved for functions
4259
4291
  # that aren't configured with a per-function limit. For more
4260
- # information, see [Managing Concurrency][1].
4292
+ # information, see [Lambda function scaling][1].
4261
4293
  #
4262
4294
  #
4263
4295
  #
4264
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
4296
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html
4265
4297
  #
4266
4298
  # @option params [required, String] :function_name
4267
4299
  # The name of the Lambda function.
4268
4300
  #
4269
4301
  # **Name formats**
4270
4302
  #
4271
- # * **Function name** - `my-function`.
4303
+ # * **Function name** `my-function`.
4272
4304
  #
4273
- # * **Function ARN** -
4305
+ # * **Function ARN**
4274
4306
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4275
4307
  #
4276
- # * **Partial ARN** - `123456789012:function:my-function`.
4308
+ # * **Partial ARN** `123456789012:function:my-function`.
4277
4309
  #
4278
4310
  # The length constraint applies only to the full ARN. If you specify
4279
4311
  # only the function name, it is limited to 64 characters in length.
@@ -4423,12 +4455,12 @@ module Aws::Lambda
4423
4455
  #
4424
4456
  # **Name formats**
4425
4457
  #
4426
- # * **Function name** - `my-function`.
4458
+ # * **Function name** `my-function`.
4427
4459
  #
4428
- # * **Function ARN** -
4460
+ # * **Function ARN**
4429
4461
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4430
4462
  #
4431
- # * **Partial ARN** - `123456789012:function:my-function`.
4463
+ # * **Partial ARN** `123456789012:function:my-function`.
4432
4464
  #
4433
4465
  # The length constraint applies only to the full ARN. If you specify
4434
4466
  # only the function name, it is limited to 64 characters in length.
@@ -4517,22 +4549,22 @@ module Aws::Lambda
4517
4549
  req.send_request(options)
4518
4550
  end
4519
4551
 
4520
- # Revokes function-use permission from an Amazon Web Services service or
4521
- # another account. You can get the ID of the statement from the output
4522
- # 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.
4523
4555
  #
4524
4556
  # @option params [required, String] :function_name
4525
4557
  # The name of the Lambda function, version, or alias.
4526
4558
  #
4527
4559
  # **Name formats**
4528
4560
  #
4529
- # * **Function name** - `my-function` (name-only), `my-function:v1`
4561
+ # * **Function name** `my-function` (name-only), `my-function:v1`
4530
4562
  # (with alias).
4531
4563
  #
4532
- # * **Function ARN** -
4564
+ # * **Function ARN**
4533
4565
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4534
4566
  #
4535
- # * **Partial ARN** - `123456789012:function:my-function`.
4567
+ # * **Partial ARN** `123456789012:function:my-function`.
4536
4568
  #
4537
4569
  # You can append a version number or alias to any of the formats. The
4538
4570
  # length constraint applies only to the full ARN. If you specify only
@@ -4546,7 +4578,7 @@ module Aws::Lambda
4546
4578
  # version of the function.
4547
4579
  #
4548
4580
  # @option params [String] :revision_id
4549
- # Only update the policy if the revision ID matches the ID that's
4581
+ # Update the policy only if the revision ID matches the ID that's
4550
4582
  # specified. Use this option to avoid modifying a policy that has
4551
4583
  # changed since you last read it.
4552
4584
  #
@@ -4886,9 +4918,9 @@ module Aws::Lambda
4886
4918
  # * **Amazon MQ (ActiveMQ and RabbitMQ)** - Default 100. Max 10,000.
4887
4919
  #
4888
4920
  # @option params [Types::FilterCriteria] :filter_criteria
4889
- # (Streams and Amazon SQS) An object that defines the filter criteria
4890
- # that determine whether Lambda should process an event. For more
4891
- # information, see [Lambda event filtering][1].
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].
4892
4924
  #
4893
4925
  #
4894
4926
  #
@@ -5058,13 +5090,13 @@ module Aws::Lambda
5058
5090
 
5059
5091
  # Updates a Lambda function's code. If code signing is enabled for the
5060
5092
  # function, the code package must be signed by a trusted publisher. For
5061
- # more information, see [Configuring code signing][1].
5093
+ # more information, see [Configuring code signing for Lambda][1].
5062
5094
  #
5063
- # If the function's package type is `Image`, you must specify the code
5064
- # 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
5065
5097
  # Amazon ECR registry.
5066
5098
  #
5067
- # 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
5068
5100
  # deployment package as a [.zip file archive][3]. Enter the Amazon S3
5069
5101
  # bucket and key of the code .zip file location. You can also provide
5070
5102
  # the function code inline using the `ZipFile` field.
@@ -5083,7 +5115,7 @@ module Aws::Lambda
5083
5115
  #
5084
5116
  #
5085
5117
  #
5086
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html
5118
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html
5087
5119
  # [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
5088
5120
  # [3]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip
5089
5121
  #
@@ -5092,21 +5124,20 @@ module Aws::Lambda
5092
5124
  #
5093
5125
  # **Name formats**
5094
5126
  #
5095
- # * **Function name** - `my-function`.
5127
+ # * **Function name** `my-function`.
5096
5128
  #
5097
- # * **Function ARN** -
5129
+ # * **Function ARN**
5098
5130
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5099
5131
  #
5100
- # * **Partial ARN** - `123456789012:function:my-function`.
5132
+ # * **Partial ARN** `123456789012:function:my-function`.
5101
5133
  #
5102
5134
  # The length constraint applies only to the full ARN. If you specify
5103
5135
  # only the function name, it is limited to 64 characters in length.
5104
5136
  #
5105
5137
  # @option params [String, StringIO, File] :zip_file
5106
5138
  # The base64-encoded contents of the deployment package. Amazon Web
5107
- # Services SDK and Amazon Web Services CLI clients handle the encoding
5108
- # for you. Use only with a function defined with a .zip file archive
5109
- # 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.
5110
5141
  #
5111
5142
  # @option params [String] :s3_bucket
5112
5143
  # An Amazon S3 bucket in the same Amazon Web Services Region as your
@@ -5136,7 +5167,7 @@ module Aws::Lambda
5136
5167
  # without modifying the function code.
5137
5168
  #
5138
5169
  # @option params [String] :revision_id
5139
- # Only update the function if the revision ID matches the ID that's
5170
+ # Update the function only if the revision ID matches the ID that's
5140
5171
  # specified. Use this option to avoid modifying a function that has
5141
5172
  # changed since you last read it.
5142
5173
  #
@@ -5180,6 +5211,7 @@ module Aws::Lambda
5180
5211
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5181
5212
  # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
5182
5213
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
5214
+ # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
5183
5215
  #
5184
5216
  # @example Request syntax with placeholder values
5185
5217
  #
@@ -5231,10 +5263,10 @@ module Aws::Lambda
5231
5263
  # resp.layers[0].signing_job_arn #=> String
5232
5264
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5233
5265
  # resp.state_reason #=> String
5234
- # 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"
5235
5267
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5236
5268
  # resp.last_update_status_reason #=> String
5237
- # 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"
5238
5270
  # resp.file_system_configs #=> Array
5239
5271
  # resp.file_system_configs[0].arn #=> String
5240
5272
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -5251,6 +5283,8 @@ module Aws::Lambda
5251
5283
  # resp.architectures #=> Array
5252
5284
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
5253
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"
5254
5288
  #
5255
5289
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
5256
5290
  #
@@ -5271,15 +5305,15 @@ module Aws::Lambda
5271
5305
  # `LastUpdateStatusReasonCode` fields in the response from
5272
5306
  # GetFunctionConfiguration indicate when the update is complete and the
5273
5307
  # function is processing events with the new configuration. For more
5274
- # information, see [Function States][1].
5308
+ # information, see [Lambda function states][1].
5275
5309
  #
5276
5310
  # These settings can vary between versions of a function and are locked
5277
5311
  # when you publish a version. You can't modify the configuration of a
5278
5312
  # published version, only the unpublished version.
5279
5313
  #
5280
5314
  # To configure function concurrency, use PutFunctionConcurrency. To
5281
- # grant invoke permissions to an account or Amazon Web Services service,
5282
- # use AddPermission.
5315
+ # grant invoke permissions to an Amazon Web Services account or Amazon
5316
+ # Web Service, use AddPermission.
5283
5317
  #
5284
5318
  #
5285
5319
  #
@@ -5290,12 +5324,12 @@ module Aws::Lambda
5290
5324
  #
5291
5325
  # **Name formats**
5292
5326
  #
5293
- # * **Function name** - `my-function`.
5327
+ # * **Function name** `my-function`.
5294
5328
  #
5295
- # * **Function ARN** -
5329
+ # * **Function ARN**
5296
5330
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5297
5331
  #
5298
- # * **Partial ARN** - `123456789012:function:my-function`.
5332
+ # * **Partial ARN** `123456789012:function:my-function`.
5299
5333
  #
5300
5334
  # The length constraint applies only to the full ARN. If you specify
5301
5335
  # only the function name, it is limited to 64 characters in length.
@@ -5304,15 +5338,15 @@ module Aws::Lambda
5304
5338
  # The Amazon Resource Name (ARN) of the function's execution role.
5305
5339
  #
5306
5340
  # @option params [String] :handler
5307
- # The name of the method within your code that Lambda calls to execute
5308
- # your function. Handler is required if the deployment package is a .zip
5309
- # file archive. The format includes the file name. It can also include
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
5310
5344
  # namespaces and other qualifiers, depending on the runtime. For more
5311
- # information, see [Programming Model][1].
5345
+ # information, see [Lambda programming model][1].
5312
5346
  #
5313
5347
  #
5314
5348
  #
5315
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
5349
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
5316
5350
  #
5317
5351
  # @option params [String] :description
5318
5352
  # A description of the function.
@@ -5320,8 +5354,8 @@ module Aws::Lambda
5320
5354
  # @option params [Integer] :timeout
5321
5355
  # The amount of time (in seconds) that Lambda allows a function to run
5322
5356
  # before stopping it. The default is 3 seconds. The maximum allowed
5323
- # value is 900 seconds. For additional information, see [Lambda
5324
- # execution environment][1].
5357
+ # value is 900 seconds. For more information, see [Lambda execution
5358
+ # environment][1].
5325
5359
  #
5326
5360
  #
5327
5361
  #
@@ -5334,14 +5368,14 @@ module Aws::Lambda
5334
5368
  #
5335
5369
  #
5336
5370
  #
5337
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
5371
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
5338
5372
  #
5339
5373
  # @option params [Types::VpcConfig] :vpc_config
5340
5374
  # For network connectivity to Amazon Web Services resources in a VPC,
5341
5375
  # specify a list of security groups and subnets in the VPC. When you
5342
- # connect a function to a VPC, it can only access resources and the
5343
- # internet through that VPC. For more information, see [VPC
5344
- # Settings][1].
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].
5345
5379
  #
5346
5380
  #
5347
5381
  #
@@ -5360,18 +5394,18 @@ module Aws::Lambda
5360
5394
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
5361
5395
  #
5362
5396
  # @option params [Types::DeadLetterConfig] :dead_letter_config
5363
- # A dead letter queue configuration that specifies the queue or topic
5397
+ # A dead-letter queue configuration that specifies the queue or topic
5364
5398
  # where Lambda sends asynchronous events when they fail processing. For
5365
- # more information, see [Dead Letter Queues][1].
5399
+ # more information, see [Dead-letter queues][1].
5366
5400
  #
5367
5401
  #
5368
5402
  #
5369
- # [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
5370
5404
  #
5371
5405
  # @option params [String] :kms_key_arn
5372
- # The ARN of the Amazon Web Services Key Management Service (KMS) key
5373
- # that's used to encrypt your function's environment variables. If
5374
- # it's not provided, Lambda uses a default service key.
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.
5375
5409
  #
5376
5410
  # @option params [Types::TracingConfig] :tracing_config
5377
5411
  # Set `Mode` to `Active` to sample and trace a subset of incoming
@@ -5382,7 +5416,7 @@ module Aws::Lambda
5382
5416
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html
5383
5417
  #
5384
5418
  # @option params [String] :revision_id
5385
- # Only update the function if the revision ID matches the ID that's
5419
+ # Update the function only if the revision ID matches the ID that's
5386
5420
  # specified. Use this option to avoid modifying a function that has
5387
5421
  # changed since you last read it.
5388
5422
  #
@@ -5406,8 +5440,15 @@ module Aws::Lambda
5406
5440
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html
5407
5441
  #
5408
5442
  # @option params [Types::EphemeralStorage] :ephemeral_storage
5409
- # The size of the functions /tmp directory in MB. The default value is
5410
- # 512, but can be any whole number between 512 and 10240 MB.
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
5411
5452
  #
5412
5453
  # @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5413
5454
  #
@@ -5444,6 +5485,7 @@ module Aws::Lambda
5444
5485
  # * {Types::FunctionConfiguration#signing_job_arn #signing_job_arn} => String
5445
5486
  # * {Types::FunctionConfiguration#architectures #architectures} => Array&lt;String&gt;
5446
5487
  # * {Types::FunctionConfiguration#ephemeral_storage #ephemeral_storage} => Types::EphemeralStorage
5488
+ # * {Types::FunctionConfiguration#snap_start #snap_start} => Types::SnapStartResponse
5447
5489
  #
5448
5490
  # @example Request syntax with placeholder values
5449
5491
  #
@@ -5487,6 +5529,9 @@ module Aws::Lambda
5487
5529
  # ephemeral_storage: {
5488
5530
  # size: 1, # required
5489
5531
  # },
5532
+ # snap_start: {
5533
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
5534
+ # },
5490
5535
  # })
5491
5536
  #
5492
5537
  # @example Response structure
@@ -5524,10 +5569,10 @@ module Aws::Lambda
5524
5569
  # resp.layers[0].signing_job_arn #=> String
5525
5570
  # resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
5526
5571
  # resp.state_reason #=> String
5527
- # 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"
5528
5573
  # resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
5529
5574
  # resp.last_update_status_reason #=> String
5530
- # 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"
5531
5576
  # resp.file_system_configs #=> Array
5532
5577
  # resp.file_system_configs[0].arn #=> String
5533
5578
  # resp.file_system_configs[0].local_mount_path #=> String
@@ -5544,6 +5589,8 @@ module Aws::Lambda
5544
5589
  # resp.architectures #=> Array
5545
5590
  # resp.architectures[0] #=> String, one of "x86_64", "arm64"
5546
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"
5547
5594
  #
5548
5595
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
5549
5596
  #
@@ -5652,12 +5699,12 @@ module Aws::Lambda
5652
5699
  #
5653
5700
  # **Name formats**
5654
5701
  #
5655
- # * **Function name** - `my-function`.
5702
+ # * **Function name** `my-function`.
5656
5703
  #
5657
- # * **Function ARN** -
5704
+ # * **Function ARN**
5658
5705
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5659
5706
  #
5660
- # * **Partial ARN** - `123456789012:function:my-function`.
5707
+ # * **Partial ARN** `123456789012:function:my-function`.
5661
5708
  #
5662
5709
  # The length constraint applies only to the full ARN. If you specify
5663
5710
  # only the function name, it is limited to 64 characters in length.
@@ -5667,9 +5714,9 @@ module Aws::Lambda
5667
5714
  #
5668
5715
  # @option params [String] :auth_type
5669
5716
  # The type of authentication that your function URL uses. Set to
5670
- # `AWS_IAM` if you want to restrict access to authenticated `IAM` users
5717
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
5671
5718
  # only. Set to `NONE` if you want to bypass IAM authentication to create
5672
- # a public endpoint. For more information, see [ Security and auth model
5719
+ # a public endpoint. For more information, see [Security and auth model
5673
5720
  # for Lambda function URLs][1].
5674
5721
  #
5675
5722
  #
@@ -5749,7 +5796,7 @@ module Aws::Lambda
5749
5796
  params: params,
5750
5797
  config: config)
5751
5798
  context[:gem_name] = 'aws-sdk-lambda'
5752
- context[:gem_version] = '1.87.0'
5799
+ context[:gem_version] = '1.88.0'
5753
5800
  Seahorse::Client::Request.new(handlers, context)
5754
5801
  end
5755
5802
 
@@ -5815,13 +5862,14 @@ module Aws::Lambda
5815
5862
  # The following table lists the valid waiter names, the operations they call,
5816
5863
  # and the default `:delay` and `:max_attempts` values.
5817
5864
  #
5818
- # | waiter_name | params | :delay | :max_attempts |
5819
- # | ------------------- | ----------------------------------- | -------- | ------------- |
5820
- # | function_active | {Client#get_function_configuration} | 5 | 60 |
5821
- # | function_active_v2 | {Client#get_function} | 1 | 300 |
5822
- # | function_exists | {Client#get_function} | 1 | 20 |
5823
- # | function_updated | {Client#get_function_configuration} | 5 | 60 |
5824
- # | function_updated_v2 | {Client#get_function} | 1 | 300 |
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 |
5825
5873
  #
5826
5874
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
5827
5875
  # because the waiter has entered a state that it will not transition
@@ -5876,7 +5924,8 @@ module Aws::Lambda
5876
5924
  function_active_v2: Waiters::FunctionActiveV2,
5877
5925
  function_exists: Waiters::FunctionExists,
5878
5926
  function_updated: Waiters::FunctionUpdated,
5879
- function_updated_v2: Waiters::FunctionUpdatedV2
5927
+ function_updated_v2: Waiters::FunctionUpdatedV2,
5928
+ published_version_active: Waiters::PublishedVersionActive
5880
5929
  }
5881
5930
  end
5882
5931