aws-sdk-lambda 1.86.0 → 1.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -173,13 +173,13 @@ module Aws::Lambda
173
173
  #
174
174
  # **Name formats**
175
175
  #
176
- # * **Function name** - `my-function` (name-only), `my-function:v1`
176
+ # * **Function name** `my-function` (name-only), `my-function:v1`
177
177
  # (with alias).
178
178
  #
179
- # * **Function ARN** -
179
+ # * **Function ARN**
180
180
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
181
181
  #
182
- # * **Partial ARN** - `123456789012:function:my-function`.
182
+ # * **Partial ARN** `123456789012:function:my-function`.
183
183
  #
184
184
  # You can append a version number or alias to any of the formats. The
185
185
  # length constraint applies only to the full ARN. If you specify only
@@ -197,31 +197,32 @@ module Aws::Lambda
197
197
  # @return [String]
198
198
  #
199
199
  # @!attribute [rw] principal
200
- # The Amazon Web Services service or account that invokes the
201
- # function. If you specify a service, use `SourceArn` or
200
+ # The Amazon Web Service or Amazon Web Services account that invokes
201
+ # the function. If you specify a service, use `SourceArn` or
202
202
  # `SourceAccount` to limit who can invoke the function through that
203
203
  # service.
204
204
  # @return [String]
205
205
  #
206
206
  # @!attribute [rw] source_arn
207
- # For Amazon Web Services services, the ARN of the Amazon Web Services
208
- # resource that invokes the function. For example, an Amazon S3 bucket
209
- # or Amazon SNS topic.
207
+ # For Amazon Web Services, the ARN of the Amazon Web Services resource
208
+ # that invokes the function. For example, an Amazon S3 bucket or
209
+ # Amazon SNS topic.
210
210
  #
211
211
  # Note that Lambda configures the comparison using the `StringLike`
212
212
  # operator.
213
213
  # @return [String]
214
214
  #
215
215
  # @!attribute [rw] source_account
216
- # For Amazon S3, the ID of the account that owns the resource. Use
217
- # this together with `SourceArn` to ensure that the resource is owned
218
- # by the specified account. It is possible for an Amazon S3 bucket to
219
- # be deleted by its owner and recreated by another account.
216
+ # For Amazon Web Service, the ID of the Amazon Web Services account
217
+ # that owns the resource. Use this together with `SourceArn` to ensure
218
+ # that the specified account owns the resource. It is possible for an
219
+ # Amazon S3 bucket to be deleted by its owner and recreated by another
220
+ # account.
220
221
  # @return [String]
221
222
  #
222
223
  # @!attribute [rw] event_source_token
223
- # For Alexa Smart Home functions, a token that must be supplied by the
224
- # invoker.
224
+ # For Alexa Smart Home functions, a token that the invoker must
225
+ # supply.
225
226
  # @return [String]
226
227
  #
227
228
  # @!attribute [rw] qualifier
@@ -230,7 +231,7 @@ module Aws::Lambda
230
231
  # @return [String]
231
232
  #
232
233
  # @!attribute [rw] revision_id
233
- # Only update the policy if the revision ID matches the ID that's
234
+ # Update the policy only if the revision ID matches the ID that's
234
235
  # specified. Use this option to avoid modifying a policy that has
235
236
  # changed since you last read it.
236
237
  # @return [String]
@@ -243,10 +244,10 @@ module Aws::Lambda
243
244
  #
244
245
  # @!attribute [rw] function_url_auth_type
245
246
  # The type of authentication that your function URL uses. Set to
246
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
247
- # users only. Set to `NONE` if you want to bypass IAM authentication
248
- # to create a public endpoint. For more information, see [ Security
249
- # and auth model for Lambda function URLs][1].
247
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
248
+ # only. Set to `NONE` if you want to bypass IAM authentication to
249
+ # create a public endpoint. For more information, see [Security and
250
+ # auth model for Lambda function URLs][1].
250
251
  #
251
252
  #
252
253
  #
@@ -395,7 +396,11 @@ module Aws::Lambda
395
396
  # group ID must be unique among all your Kafka event sources. After
396
397
  # creating a Kafka event source mapping with the consumer group ID
397
398
  # specified, you cannot update this value. For more information, see
398
- # services-msk-consumer-group-id.
399
+ # [Customizable consumer group ID][1].
400
+ #
401
+ #
402
+ #
403
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
399
404
  # @return [String]
400
405
  #
401
406
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AmazonManagedKafkaEventSourceConfig AWS API Documentation
@@ -500,12 +505,12 @@ module Aws::Lambda
500
505
  include Aws::Structure
501
506
  end
502
507
 
503
- # You have exceeded your maximum total code size per account. [Learn
504
- # more][1]
508
+ # Your Amazon Web Services account has exceeded its maximum total code
509
+ # size. For more information, see [Lambda quotas][1].
505
510
  #
506
511
  #
507
512
  #
508
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
513
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
509
514
  #
510
515
  # @!attribute [rw] type
511
516
  # The exception type.
@@ -544,7 +549,8 @@ module Aws::Lambda
544
549
 
545
550
  # @!attribute [rw] reserved_concurrent_executions
546
551
  # The number of concurrent executions that are reserved for this
547
- # function. For more information, see [Managing Concurrency][1].
552
+ # function. For more information, see [Managing Lambda reserved
553
+ # concurrency][1].
548
554
  #
549
555
  #
550
556
  #
@@ -806,6 +812,8 @@ module Aws::Lambda
806
812
  #
807
813
  # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
808
814
  # cluster.
815
+ #
816
+ # * **Amazon MQ** - The ARN of the broker.
809
817
  # @return [String]
810
818
  #
811
819
  # @!attribute [rw] function_name
@@ -856,9 +864,9 @@ module Aws::Lambda
856
864
  # @return [Integer]
857
865
  #
858
866
  # @!attribute [rw] filter_criteria
859
- # (Streams and Amazon SQS) An object that defines the filter criteria
860
- # that determine whether Lambda should process an event. For more
861
- # information, see [Lambda event filtering][1].
867
+ # An object that defines the filter criteria that determine whether
868
+ # Lambda should process an event. For more information, see [Lambda
869
+ # event filtering][1].
862
870
  #
863
871
  #
864
872
  #
@@ -866,14 +874,22 @@ module Aws::Lambda
866
874
  # @return [Types::FilterCriteria]
867
875
  #
868
876
  # @!attribute [rw] maximum_batching_window_in_seconds
869
- # (Streams and Amazon SQS standard queues) The maximum amount of time,
870
- # in seconds, that Lambda spends gathering records before invoking the
871
- # function.
872
- #
873
- # Default: 0
874
- #
875
- # Related setting: When you set `BatchSize` to a value greater than
876
- # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
877
+ # The maximum amount of time, in seconds, that Lambda spends gathering
878
+ # records before invoking the function. You can configure
879
+ # `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
880
+ # seconds in increments of seconds.
881
+ #
882
+ # For streams and Amazon SQS event sources, the default batching
883
+ # window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and
884
+ # Amazon MQ event sources, the default batching window is 500 ms. Note
885
+ # that because you can only change `MaximumBatchingWindowInSeconds` in
886
+ # increments of seconds, you cannot revert back to the 500 ms default
887
+ # batching window after you have changed it. To restore the default
888
+ # batching window, you must create a new event source mapping.
889
+ #
890
+ # Related setting: For streams and Amazon SQS event sources, when you
891
+ # set `BatchSize` to a value greater than 10, you must set
892
+ # `MaximumBatchingWindowInSeconds` to at least 1.
877
893
  # @return [Integer]
878
894
  #
879
895
  # @!attribute [rw] parallelization_factor
@@ -983,7 +999,7 @@ module Aws::Lambda
983
999
  #
984
1000
  # {
985
1001
  # function_name: "FunctionName", # required
986
- # 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
1002
+ # 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
987
1003
  # role: "RoleArn", # required
988
1004
  # handler: "Handler",
989
1005
  # code: { # required
@@ -1034,6 +1050,9 @@ module Aws::Lambda
1034
1050
  # ephemeral_storage: {
1035
1051
  # size: 1, # required
1036
1052
  # },
1053
+ # snap_start: {
1054
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
1055
+ # },
1037
1056
  # }
1038
1057
  #
1039
1058
  # @!attribute [rw] function_name
@@ -1041,12 +1060,12 @@ module Aws::Lambda
1041
1060
  #
1042
1061
  # **Name formats**
1043
1062
  #
1044
- # * **Function name** - `my-function`.
1063
+ # * **Function name** `my-function`.
1045
1064
  #
1046
- # * **Function ARN** -
1065
+ # * **Function ARN**
1047
1066
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1048
1067
  #
1049
- # * **Partial ARN** - `123456789012:function:my-function`.
1068
+ # * **Partial ARN** `123456789012:function:my-function`.
1050
1069
  #
1051
1070
  # The length constraint applies only to the full ARN. If you specify
1052
1071
  # only the function name, it is limited to 64 characters in length.
@@ -1066,15 +1085,15 @@ module Aws::Lambda
1066
1085
  # @return [String]
1067
1086
  #
1068
1087
  # @!attribute [rw] handler
1069
- # The name of the method within your code that Lambda calls to execute
1088
+ # The name of the method within your code that Lambda calls to run
1070
1089
  # your function. Handler is required if the deployment package is a
1071
1090
  # .zip file archive. The format includes the file name. It can also
1072
1091
  # include namespaces and other qualifiers, depending on the runtime.
1073
- # For more information, see [Programming Model][1].
1092
+ # For more information, see [Lambda programming model][1].
1074
1093
  #
1075
1094
  #
1076
1095
  #
1077
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
1096
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
1078
1097
  # @return [String]
1079
1098
  #
1080
1099
  # @!attribute [rw] code
@@ -1088,8 +1107,8 @@ module Aws::Lambda
1088
1107
  # @!attribute [rw] timeout
1089
1108
  # The amount of time (in seconds) that Lambda allows a function to run
1090
1109
  # before stopping it. The default is 3 seconds. The maximum allowed
1091
- # value is 900 seconds. For additional information, see [Lambda
1092
- # execution environment][1].
1110
+ # value is 900 seconds. For more information, see [Lambda execution
1111
+ # environment][1].
1093
1112
  #
1094
1113
  #
1095
1114
  #
@@ -1103,7 +1122,7 @@ module Aws::Lambda
1103
1122
  #
1104
1123
  #
1105
1124
  #
1106
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
1125
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
1107
1126
  # @return [Integer]
1108
1127
  #
1109
1128
  # @!attribute [rw] publish
@@ -1114,9 +1133,9 @@ module Aws::Lambda
1114
1133
  # @!attribute [rw] vpc_config
1115
1134
  # For network connectivity to Amazon Web Services resources in a VPC,
1116
1135
  # specify a list of security groups and subnets in the VPC. When you
1117
- # connect a function to a VPC, it can only access resources and the
1118
- # internet through that VPC. For more information, see [VPC
1119
- # Settings][1].
1136
+ # connect a function to a VPC, it can access resources and the
1137
+ # internet only through that VPC. For more information, see
1138
+ # [Configuring a Lambda function to access resources in a VPC][1].
1120
1139
  #
1121
1140
  #
1122
1141
  #
@@ -1125,17 +1144,17 @@ module Aws::Lambda
1125
1144
  #
1126
1145
  # @!attribute [rw] package_type
1127
1146
  # The type of deployment package. Set to `Image` for container image
1128
- # and set `Zip` for ZIP archive.
1147
+ # and set to `Zip` for .zip file archive.
1129
1148
  # @return [String]
1130
1149
  #
1131
1150
  # @!attribute [rw] dead_letter_config
1132
- # A dead letter queue configuration that specifies the queue or topic
1151
+ # A dead-letter queue configuration that specifies the queue or topic
1133
1152
  # where Lambda sends asynchronous events when they fail processing.
1134
- # For more information, see [Dead Letter Queues][1].
1153
+ # For more information, see [Dead-letter queues][1].
1135
1154
  #
1136
1155
  #
1137
1156
  #
1138
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
1157
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
1139
1158
  # @return [Types::DeadLetterConfig]
1140
1159
  #
1141
1160
  # @!attribute [rw] environment
@@ -1144,9 +1163,9 @@ module Aws::Lambda
1144
1163
  # @return [Types::Environment]
1145
1164
  #
1146
1165
  # @!attribute [rw] kms_key_arn
1147
- # The ARN of the Amazon Web Services Key Management Service (KMS) key
1148
- # that's used to encrypt your function's environment variables. If
1149
- # it's not provided, Lambda uses a default service key.
1166
+ # The ARN of the Key Management Service (KMS) key that's used to
1167
+ # encrypt your function's environment variables. If it's not
1168
+ # provided, Lambda uses a default service key.
1150
1169
  # @return [String]
1151
1170
  #
1152
1171
  # @!attribute [rw] tracing_config
@@ -1202,10 +1221,18 @@ module Aws::Lambda
1202
1221
  # @return [Array<String>]
1203
1222
  #
1204
1223
  # @!attribute [rw] ephemeral_storage
1205
- # The size of the functions /tmp directory in MB. The default value
1206
- # is 512, but can be any whole number between 512 and 10240 MB.
1224
+ # The size of the function's `/tmp` directory in MB. The default
1225
+ # value is 512, but can be any whole number between 512 and 10,240 MB.
1207
1226
  # @return [Types::EphemeralStorage]
1208
1227
  #
1228
+ # @!attribute [rw] snap_start
1229
+ # The function's [SnapStart][1] setting.
1230
+ #
1231
+ #
1232
+ #
1233
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
1234
+ # @return [Types::SnapStart]
1235
+ #
1209
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1210
1237
  #
1211
1238
  class CreateFunctionRequest < Struct.new(
@@ -1230,7 +1257,8 @@ module Aws::Lambda
1230
1257
  :image_config,
1231
1258
  :code_signing_config_arn,
1232
1259
  :architectures,
1233
- :ephemeral_storage)
1260
+ :ephemeral_storage,
1261
+ :snap_start)
1234
1262
  SENSITIVE = []
1235
1263
  include Aws::Structure
1236
1264
  end
@@ -1257,12 +1285,12 @@ module Aws::Lambda
1257
1285
  #
1258
1286
  # **Name formats**
1259
1287
  #
1260
- # * **Function name** - `my-function`.
1288
+ # * **Function name** `my-function`.
1261
1289
  #
1262
- # * **Function ARN** -
1290
+ # * **Function ARN**
1263
1291
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1264
1292
  #
1265
- # * **Partial ARN** - `123456789012:function:my-function`.
1293
+ # * **Partial ARN** `123456789012:function:my-function`.
1266
1294
  #
1267
1295
  # The length constraint applies only to the full ARN. If you specify
1268
1296
  # only the function name, it is limited to 64 characters in length.
@@ -1274,10 +1302,10 @@ module Aws::Lambda
1274
1302
  #
1275
1303
  # @!attribute [rw] auth_type
1276
1304
  # The type of authentication that your function URL uses. Set to
1277
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
1278
- # users only. Set to `NONE` if you want to bypass IAM authentication
1279
- # to create a public endpoint. For more information, see [ Security
1280
- # and auth model for Lambda function URLs][1].
1305
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
1306
+ # only. Set to `NONE` if you want to bypass IAM authentication to
1307
+ # create a public endpoint. For more information, see [Security and
1308
+ # auth model for Lambda function URLs][1].
1281
1309
  #
1282
1310
  #
1283
1311
  #
@@ -1314,10 +1342,10 @@ module Aws::Lambda
1314
1342
  #
1315
1343
  # @!attribute [rw] auth_type
1316
1344
  # The type of authentication that your function URL uses. Set to
1317
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
1318
- # users only. Set to `NONE` if you want to bypass IAM authentication
1319
- # to create a public endpoint. For more information, see [ Security
1320
- # and auth model for Lambda function URLs][1].
1345
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
1346
+ # only. Set to `NONE` if you want to bypass IAM authentication to
1347
+ # create a public endpoint. For more information, see [Security and
1348
+ # auth model for Lambda function URLs][1].
1321
1349
  #
1322
1350
  #
1323
1351
  #
@@ -1503,12 +1531,12 @@ module Aws::Lambda
1503
1531
  #
1504
1532
  # **Name formats**
1505
1533
  #
1506
- # * **Function name** - `my-function`.
1534
+ # * **Function name** `my-function`.
1507
1535
  #
1508
- # * **Function ARN** -
1536
+ # * **Function ARN**
1509
1537
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1510
1538
  #
1511
- # * **Partial ARN** - `123456789012:function:my-function`.
1539
+ # * **Partial ARN** `123456789012:function:my-function`.
1512
1540
  #
1513
1541
  # The length constraint applies only to the full ARN. If you specify
1514
1542
  # only the function name, it is limited to 64 characters in length.
@@ -1574,13 +1602,13 @@ module Aws::Lambda
1574
1602
  #
1575
1603
  # **Name formats**
1576
1604
  #
1577
- # * **Function name** - `my-function` (name-only), `my-function:1`
1605
+ # * **Function name** `my-function` (name-only), `my-function:1`
1578
1606
  # (with version).
1579
1607
  #
1580
- # * **Function ARN** -
1608
+ # * **Function ARN**
1581
1609
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1582
1610
  #
1583
- # * **Partial ARN** - `123456789012:function:my-function`.
1611
+ # * **Partial ARN** `123456789012:function:my-function`.
1584
1612
  #
1585
1613
  # You can append a version number or alias to any of the formats. The
1586
1614
  # length constraint applies only to the full ARN. If you specify only
@@ -1588,8 +1616,8 @@ module Aws::Lambda
1588
1616
  # @return [String]
1589
1617
  #
1590
1618
  # @!attribute [rw] qualifier
1591
- # Specify a version to delete. You can't delete a version that's
1592
- # referenced by an alias.
1619
+ # Specify a version to delete. You can't delete a version that an
1620
+ # alias references.
1593
1621
  # @return [String]
1594
1622
  #
1595
1623
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest AWS API Documentation
@@ -1614,12 +1642,12 @@ module Aws::Lambda
1614
1642
  #
1615
1643
  # **Name formats**
1616
1644
  #
1617
- # * **Function name** - `my-function`.
1645
+ # * **Function name** `my-function`.
1618
1646
  #
1619
- # * **Function ARN** -
1647
+ # * **Function ARN**
1620
1648
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1621
1649
  #
1622
- # * **Partial ARN** - `123456789012:function:my-function`.
1650
+ # * **Partial ARN** `123456789012:function:my-function`.
1623
1651
  #
1624
1652
  # The length constraint applies only to the full ARN. If you specify
1625
1653
  # only the function name, it is limited to 64 characters in length.
@@ -1676,12 +1704,12 @@ module Aws::Lambda
1676
1704
  #
1677
1705
  # **Name formats**
1678
1706
  #
1679
- # * **Function name** - `my-function`.
1707
+ # * **Function name** `my-function`.
1680
1708
  #
1681
- # * **Function ARN** -
1709
+ # * **Function ARN**
1682
1710
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1683
1711
  #
1684
- # * **Partial ARN** - `123456789012:function:my-function`.
1712
+ # * **Partial ARN** `123456789012:function:my-function`.
1685
1713
  #
1686
1714
  # The length constraint applies only to the full ARN. If you specify
1687
1715
  # only the function name, it is limited to 64 characters in length.
@@ -1749,9 +1777,8 @@ module Aws::Lambda
1749
1777
  include Aws::Structure
1750
1778
  end
1751
1779
 
1752
- # Lambda was throttled by Amazon EC2 during Lambda function
1753
- # initialization using the execution role provided for the Lambda
1754
- # function.
1780
+ # Amazon EC2 throttled Lambda during Lambda function initialization
1781
+ # using the execution role provided for the function.
1755
1782
  #
1756
1783
  # @!attribute [rw] type
1757
1784
  # @return [String]
@@ -1768,8 +1795,8 @@ module Aws::Lambda
1768
1795
  include Aws::Structure
1769
1796
  end
1770
1797
 
1771
- # Lambda received an unexpected EC2 client exception while setting up
1772
- # for the Lambda function.
1798
+ # Lambda received an unexpected Amazon EC2 client exception while
1799
+ # setting up for the Lambda function.
1773
1800
  #
1774
1801
  # @!attribute [rw] type
1775
1802
  # @return [String]
@@ -1808,8 +1835,8 @@ module Aws::Lambda
1808
1835
  include Aws::Structure
1809
1836
  end
1810
1837
 
1811
- # The function couldn't make a network connection to the configured
1812
- # file system.
1838
+ # The Lambda function couldn't make a network connection to the
1839
+ # configured file system.
1813
1840
  #
1814
1841
  # @!attribute [rw] type
1815
1842
  # @return [String]
@@ -1826,8 +1853,8 @@ module Aws::Lambda
1826
1853
  include Aws::Structure
1827
1854
  end
1828
1855
 
1829
- # The function couldn't mount the configured file system due to a
1830
- # permission or configuration issue.
1856
+ # The Lambda function couldn't mount the configured file system due to
1857
+ # a permission or configuration issue.
1831
1858
  #
1832
1859
  # @!attribute [rw] type
1833
1860
  # @return [String]
@@ -1844,8 +1871,8 @@ module Aws::Lambda
1844
1871
  include Aws::Structure
1845
1872
  end
1846
1873
 
1847
- # The function was able to make a network connection to the configured
1848
- # file system, but the mount operation timed out.
1874
+ # The Lambda function made a network connection to the configured file
1875
+ # system, but the mount operation timed out.
1849
1876
  #
1850
1877
  # @!attribute [rw] type
1851
1878
  # @return [String]
@@ -1862,9 +1889,14 @@ module Aws::Lambda
1862
1889
  include Aws::Structure
1863
1890
  end
1864
1891
 
1865
- # Lambda was not able to create an elastic network interface in the VPC,
1892
+ # Lambda couldn't create an elastic network interface in the VPC,
1866
1893
  # specified as part of Lambda function configuration, because the limit
1867
- # for network interfaces has been reached.
1894
+ # for network interfaces has been reached. For more information, see
1895
+ # [Lambda quotas][1].
1896
+ #
1897
+ #
1898
+ #
1899
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
1868
1900
  #
1869
1901
  # @!attribute [rw] type
1870
1902
  # @return [String]
@@ -1932,12 +1964,11 @@ module Aws::Lambda
1932
1964
  end
1933
1965
 
1934
1966
  # The results of an operation to update or read environment variables.
1935
- # If the operation is successful, the response contains the environment
1936
- # variables. If it failed, the response contains details about the
1937
- # error.
1967
+ # If the operation succeeds, the response contains the environment
1968
+ # variables. If it fails, the response contains details about the error.
1938
1969
  #
1939
1970
  # @!attribute [rw] variables
1940
- # Environment variable key-value pairs.
1971
+ # Environment variable key-value pairs. Omitted from CloudTrail logs.
1941
1972
  # @return [Hash<String,String>]
1942
1973
  #
1943
1974
  # @!attribute [rw] error
@@ -1953,8 +1984,8 @@ module Aws::Lambda
1953
1984
  include Aws::Structure
1954
1985
  end
1955
1986
 
1956
- # The size of the functions /tmp directory in MB. The default value is
1957
- # 512, but can be any whole number between 512 and 10240 MB.
1987
+ # The size of the function's `/tmp` directory in MB. The default value
1988
+ # is 512, but it can be any whole number between 512 and 10,240 MB.
1958
1989
  #
1959
1990
  # @note When making an API call, you may pass EphemeralStorage
1960
1991
  # data as a hash:
@@ -1964,7 +1995,7 @@ module Aws::Lambda
1964
1995
  # }
1965
1996
  #
1966
1997
  # @!attribute [rw] size
1967
- # The size of the functions /tmp directory.
1998
+ # The size of the function's `/tmp` directory.
1968
1999
  # @return [Integer]
1969
2000
  #
1970
2001
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EphemeralStorage AWS API Documentation
@@ -2007,14 +2038,22 @@ module Aws::Lambda
2007
2038
  # @return [Integer]
2008
2039
  #
2009
2040
  # @!attribute [rw] maximum_batching_window_in_seconds
2010
- # (Streams and Amazon SQS standard queues) The maximum amount of time,
2011
- # in seconds, that Lambda spends gathering records before invoking the
2012
- # function.
2013
- #
2014
- # Default: 0
2015
- #
2016
- # Related setting: When you set `BatchSize` to a value greater than
2017
- # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
2041
+ # The maximum amount of time, in seconds, that Lambda spends gathering
2042
+ # records before invoking the function. You can configure
2043
+ # `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
2044
+ # seconds in increments of seconds.
2045
+ #
2046
+ # For streams and Amazon SQS event sources, the default batching
2047
+ # window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and
2048
+ # Amazon MQ event sources, the default batching window is 500 ms. Note
2049
+ # that because you can only change `MaximumBatchingWindowInSeconds` in
2050
+ # increments of seconds, you cannot revert back to the 500 ms default
2051
+ # batching window after you have changed it. To restore the default
2052
+ # batching window, you must create a new event source mapping.
2053
+ #
2054
+ # Related setting: For streams and Amazon SQS event sources, when you
2055
+ # set `BatchSize` to a value greater than 10, you must set
2056
+ # `MaximumBatchingWindowInSeconds` to at least 1.
2018
2057
  # @return [Integer]
2019
2058
  #
2020
2059
  # @!attribute [rw] parallelization_factor
@@ -2027,9 +2066,9 @@ module Aws::Lambda
2027
2066
  # @return [String]
2028
2067
  #
2029
2068
  # @!attribute [rw] filter_criteria
2030
- # (Streams and Amazon SQS) An object that defines the filter criteria
2031
- # that determine whether Lambda should process an event. For more
2032
- # information, see [Lambda event filtering][1].
2069
+ # An object that defines the filter criteria that determine whether
2070
+ # Lambda should process an event. For more information, see [Lambda
2071
+ # event filtering][1].
2033
2072
  #
2034
2073
  #
2035
2074
  #
@@ -2239,7 +2278,7 @@ module Aws::Lambda
2239
2278
  include Aws::Structure
2240
2279
  end
2241
2280
 
2242
- # The code for the Lambda function. You can specify either an object in
2281
+ # The code for the Lambda function. You can either specify an object in
2243
2282
  # Amazon S3, upload a .zip file archive deployment package directly, or
2244
2283
  # specify the URI of a container image.
2245
2284
  #
@@ -2256,8 +2295,7 @@ module Aws::Lambda
2256
2295
  #
2257
2296
  # @!attribute [rw] zip_file
2258
2297
  # The base64-encoded contents of the deployment package. Amazon Web
2259
- # Services SDK and Amazon Web Services CLI clients handle the encoding
2260
- # for you.
2298
+ # Services SDK and CLI clients handle the encoding for you.
2261
2299
  # @return [String]
2262
2300
  #
2263
2301
  # @!attribute [rw] s3_bucket
@@ -2343,7 +2381,7 @@ module Aws::Lambda
2343
2381
  # @return [String]
2344
2382
  #
2345
2383
  # @!attribute [rw] handler
2346
- # The function that Lambda calls to begin executing your function.
2384
+ # The function that Lambda calls to begin running your function.
2347
2385
  # @return [String]
2348
2386
  #
2349
2387
  # @!attribute [rw] code_size
@@ -2389,7 +2427,8 @@ module Aws::Lambda
2389
2427
  # @return [Types::DeadLetterConfig]
2390
2428
  #
2391
2429
  # @!attribute [rw] environment
2392
- # The function's [environment variables][1].
2430
+ # The function's [environment variables][1]. Omitted from CloudTrail
2431
+ # logs.
2393
2432
  #
2394
2433
  #
2395
2434
  #
@@ -2398,7 +2437,7 @@ module Aws::Lambda
2398
2437
  #
2399
2438
  # @!attribute [rw] kms_key_arn
2400
2439
  # The KMS key that's used to encrypt the function's environment
2401
- # variables. This key is only returned if you've configured a
2440
+ # variables. This key is returned only if you've configured a
2402
2441
  # customer managed key.
2403
2442
  # @return [String]
2404
2443
  #
@@ -2415,7 +2454,7 @@ module Aws::Lambda
2415
2454
  # @return [String]
2416
2455
  #
2417
2456
  # @!attribute [rw] layers
2418
- # The function's [ layers][1].
2457
+ # The function's [layers][1].
2419
2458
  #
2420
2459
  #
2421
2460
  #
@@ -2482,10 +2521,21 @@ module Aws::Lambda
2482
2521
  # @return [Array<String>]
2483
2522
  #
2484
2523
  # @!attribute [rw] ephemeral_storage
2485
- # The size of the function’s /tmp directory in MB. The default value
2486
- # is 512, but can be any whole number between 512 and 10240 MB.
2524
+ # The size of the function’s `/tmp` directory in MB. The default value
2525
+ # is 512, but it can be any whole number between 512 and 10,240 MB.
2487
2526
  # @return [Types::EphemeralStorage]
2488
2527
  #
2528
+ # @!attribute [rw] snap_start
2529
+ # Set `ApplyOn` to `PublishedVersions` to create a snapshot of the
2530
+ # initialized execution environment when you publish a function
2531
+ # version. For more information, see [Reducing startup time with
2532
+ # Lambda SnapStart][1].
2533
+ #
2534
+ #
2535
+ #
2536
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
2537
+ # @return [Types::SnapStartResponse]
2538
+ #
2489
2539
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
2490
2540
  #
2491
2541
  class FunctionConfiguration < Struct.new(
@@ -2521,7 +2571,8 @@ module Aws::Lambda
2521
2571
  :signing_profile_version_arn,
2522
2572
  :signing_job_arn,
2523
2573
  :architectures,
2524
- :ephemeral_storage)
2574
+ :ephemeral_storage,
2575
+ :snap_start)
2525
2576
  SENSITIVE = []
2526
2577
  include Aws::Structure
2527
2578
  end
@@ -2611,10 +2662,10 @@ module Aws::Lambda
2611
2662
  #
2612
2663
  # @!attribute [rw] auth_type
2613
2664
  # The type of authentication that your function URL uses. Set to
2614
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
2615
- # users only. Set to `NONE` if you want to bypass IAM authentication
2616
- # to create a public endpoint. For more information, see [ Security
2617
- # and auth model for Lambda function URLs][1].
2665
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
2666
+ # only. Set to `NONE` if you want to bypass IAM authentication to
2667
+ # create a public endpoint. For more information, see [Security and
2668
+ # auth model for Lambda function URLs][1].
2618
2669
  #
2619
2670
  #
2620
2671
  #
@@ -2818,12 +2869,12 @@ module Aws::Lambda
2818
2869
  #
2819
2870
  # **Name formats**
2820
2871
  #
2821
- # * **Function name** - `my-function`.
2872
+ # * **Function name** `my-function`.
2822
2873
  #
2823
- # * **Function ARN** -
2874
+ # * **Function ARN**
2824
2875
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2825
2876
  #
2826
- # * **Partial ARN** - `123456789012:function:my-function`.
2877
+ # * **Partial ARN** `123456789012:function:my-function`.
2827
2878
  #
2828
2879
  # The length constraint applies only to the full ARN. If you specify
2829
2880
  # only the function name, it is limited to 64 characters in length.
@@ -2863,13 +2914,13 @@ module Aws::Lambda
2863
2914
  #
2864
2915
  # **Name formats**
2865
2916
  #
2866
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2917
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2867
2918
  # (with alias).
2868
2919
  #
2869
- # * **Function ARN** -
2920
+ # * **Function ARN**
2870
2921
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2871
2922
  #
2872
- # * **Partial ARN** - `123456789012:function:my-function`.
2923
+ # * **Partial ARN** `123456789012:function:my-function`.
2873
2924
  #
2874
2925
  # You can append a version number or alias to any of the formats. The
2875
2926
  # length constraint applies only to the full ARN. If you specify only
@@ -2942,13 +2993,13 @@ module Aws::Lambda
2942
2993
  #
2943
2994
  # **Name formats**
2944
2995
  #
2945
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2996
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2946
2997
  # (with alias).
2947
2998
  #
2948
- # * **Function ARN** -
2999
+ # * **Function ARN**
2949
3000
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2950
3001
  #
2951
- # * **Partial ARN** - `123456789012:function:my-function`.
3002
+ # * **Partial ARN** `123456789012:function:my-function`.
2952
3003
  #
2953
3004
  # You can append a version number or alias to any of the formats. The
2954
3005
  # length constraint applies only to the full ARN. If you specify only
@@ -3017,12 +3068,12 @@ module Aws::Lambda
3017
3068
  #
3018
3069
  # **Name formats**
3019
3070
  #
3020
- # * **Function name** - `my-function`.
3071
+ # * **Function name** `my-function`.
3021
3072
  #
3022
- # * **Function ARN** -
3073
+ # * **Function ARN**
3023
3074
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3024
3075
  #
3025
- # * **Partial ARN** - `123456789012:function:my-function`.
3076
+ # * **Partial ARN** `123456789012:function:my-function`.
3026
3077
  #
3027
3078
  # The length constraint applies only to the full ARN. If you specify
3028
3079
  # only the function name, it is limited to 64 characters in length.
@@ -3051,10 +3102,10 @@ module Aws::Lambda
3051
3102
  #
3052
3103
  # @!attribute [rw] auth_type
3053
3104
  # The type of authentication that your function URL uses. Set to
3054
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
3055
- # users only. Set to `NONE` if you want to bypass IAM authentication
3056
- # to create a public endpoint. For more information, see [ Security
3057
- # and auth model for Lambda function URLs][1].
3105
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
3106
+ # only. Set to `NONE` if you want to bypass IAM authentication to
3107
+ # create a public endpoint. For more information, see [Security and
3108
+ # auth model for Lambda function URLs][1].
3058
3109
  #
3059
3110
  #
3060
3111
  #
@@ -3261,13 +3312,13 @@ module Aws::Lambda
3261
3312
  #
3262
3313
  # **Name formats**
3263
3314
  #
3264
- # * **Function name** - `my-function` (name-only), `my-function:v1`
3315
+ # * **Function name** `my-function` (name-only), `my-function:v1`
3265
3316
  # (with alias).
3266
3317
  #
3267
- # * **Function ARN** -
3318
+ # * **Function ARN**
3268
3319
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3269
3320
  #
3270
- # * **Partial ARN** - `123456789012:function:my-function`.
3321
+ # * **Partial ARN** `123456789012:function:my-function`.
3271
3322
  #
3272
3323
  # You can append a version number or alias to any of the formats. The
3273
3324
  # length constraint applies only to the full ARN. If you specify only
@@ -3317,12 +3368,12 @@ module Aws::Lambda
3317
3368
  #
3318
3369
  # **Name formats**
3319
3370
  #
3320
- # * **Function name** - `my-function`.
3371
+ # * **Function name** `my-function`.
3321
3372
  #
3322
- # * **Function ARN** -
3373
+ # * **Function ARN**
3323
3374
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3324
3375
  #
3325
- # * **Partial ARN** - `123456789012:function:my-function`.
3376
+ # * **Partial ARN** `123456789012:function:my-function`.
3326
3377
  #
3327
3378
  # The length constraint applies only to the full ARN. If you specify
3328
3379
  # only the function name, it is limited to 64 characters in length.
@@ -3350,7 +3401,10 @@ module Aws::Lambda
3350
3401
  # @return [Integer]
3351
3402
  #
3352
3403
  # @!attribute [rw] allocated_provisioned_concurrent_executions
3353
- # The amount of provisioned concurrency allocated.
3404
+ # The amount of provisioned concurrency allocated. When a weighted
3405
+ # alias is used during linear and canary deployments, this value
3406
+ # fluctuates depending on the amount of concurrency that is
3407
+ # provisioned for the function versions.
3354
3408
  # @return [Integer]
3355
3409
  #
3356
3410
  # @!attribute [rw] status
@@ -3385,7 +3439,7 @@ module Aws::Lambda
3385
3439
  end
3386
3440
 
3387
3441
  # Configuration values that override the container image Dockerfile
3388
- # settings. See [Container settings][1].
3442
+ # settings. For more information, see [Container image settings][1].
3389
3443
  #
3390
3444
  #
3391
3445
  #
@@ -3423,7 +3477,7 @@ module Aws::Lambda
3423
3477
  include Aws::Structure
3424
3478
  end
3425
3479
 
3426
- # Error response to GetFunctionConfiguration.
3480
+ # Error response to `GetFunctionConfiguration`.
3427
3481
  #
3428
3482
  # @!attribute [rw] error_code
3429
3483
  # Error code.
@@ -3442,14 +3496,14 @@ module Aws::Lambda
3442
3496
  include Aws::Structure
3443
3497
  end
3444
3498
 
3445
- # Response to GetFunctionConfiguration request.
3499
+ # Response to a `GetFunctionConfiguration` request.
3446
3500
  #
3447
3501
  # @!attribute [rw] image_config
3448
3502
  # Configuration values that override the container image Dockerfile.
3449
3503
  # @return [Types::ImageConfig]
3450
3504
  #
3451
3505
  # @!attribute [rw] error
3452
- # Error response to GetFunctionConfiguration.
3506
+ # Error response to `GetFunctionConfiguration`.
3453
3507
  # @return [Types::ImageConfigError]
3454
3508
  #
3455
3509
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
@@ -3461,8 +3515,8 @@ module Aws::Lambda
3461
3515
  include Aws::Structure
3462
3516
  end
3463
3517
 
3464
- # The code signature failed the integrity check. Lambda always blocks
3465
- # deployment if the integrity check fails, even if code signing policy
3518
+ # The code signature failed the integrity check. If the integrity check
3519
+ # fails, then Lambda blocks deployment, even if the code signing policy
3466
3520
  # is set to WARN.
3467
3521
  #
3468
3522
  # @!attribute [rw] type
@@ -3480,7 +3534,7 @@ module Aws::Lambda
3480
3534
  include Aws::Structure
3481
3535
  end
3482
3536
 
3483
- # One of the parameters in the request is invalid.
3537
+ # One of the parameters in the request is not valid.
3484
3538
  #
3485
3539
  # @!attribute [rw] type
3486
3540
  # The exception type.
@@ -3535,8 +3589,8 @@ module Aws::Lambda
3535
3589
  include Aws::Structure
3536
3590
  end
3537
3591
 
3538
- # The Security Group ID provided in the Lambda function VPC
3539
- # configuration is invalid.
3592
+ # The security group ID provided in the Lambda function VPC
3593
+ # configuration is not valid.
3540
3594
  #
3541
3595
  # @!attribute [rw] type
3542
3596
  # @return [String]
@@ -3553,8 +3607,8 @@ module Aws::Lambda
3553
3607
  include Aws::Structure
3554
3608
  end
3555
3609
 
3556
- # The Subnet ID provided in the Lambda function VPC configuration is
3557
- # invalid.
3610
+ # The subnet ID provided in the Lambda function VPC configuration is not
3611
+ # valid.
3558
3612
  #
3559
3613
  # @!attribute [rw] type
3560
3614
  # @return [String]
@@ -3605,13 +3659,13 @@ module Aws::Lambda
3605
3659
  #
3606
3660
  # **Name formats**
3607
3661
  #
3608
- # * **Function name** - `my-function` (name-only), `my-function:v1`
3662
+ # * **Function name** `my-function` (name-only), `my-function:v1`
3609
3663
  # (with alias).
3610
3664
  #
3611
- # * **Function ARN** -
3665
+ # * **Function ARN**
3612
3666
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3613
3667
  #
3614
- # * **Partial ARN** - `123456789012:function:my-function`.
3668
+ # * **Partial ARN** `123456789012:function:my-function`.
3615
3669
  #
3616
3670
  # You can append a version number or alias to any of the formats. The
3617
3671
  # length constraint applies only to the full ARN. If you specify only
@@ -3621,16 +3675,16 @@ module Aws::Lambda
3621
3675
  # @!attribute [rw] invocation_type
3622
3676
  # Choose from the following options.
3623
3677
  #
3624
- # * `RequestResponse` (default) - Invoke the function synchronously.
3678
+ # * `RequestResponse` (default) Invoke the function synchronously.
3625
3679
  # Keep the connection open until the function returns a response or
3626
3680
  # times out. The API response includes the function response and
3627
3681
  # additional data.
3628
3682
  #
3629
- # * `Event` - Invoke the function asynchronously. Send events that
3630
- # fail multiple times to the function's dead-letter queue (if it's
3631
- # configured). The API response only includes a status code.
3683
+ # * `Event` Invoke the function asynchronously. Send events that
3684
+ # fail multiple times to the function's dead-letter queue (if one
3685
+ # is configured). The API response only includes a status code.
3632
3686
  #
3633
- # * `DryRun` - Validate parameter values and verify that the user or
3687
+ # * `DryRun` Validate parameter values and verify that the user or
3634
3688
  # role has permission to invoke the function.
3635
3689
  # @return [String]
3636
3690
  #
@@ -3640,8 +3694,8 @@ module Aws::Lambda
3640
3694
  # @return [String]
3641
3695
  #
3642
3696
  # @!attribute [rw] client_context
3643
- # Up to 3583 bytes of base64-encoded data about the invoking client to
3644
- # pass to the function in the context object.
3697
+ # Up to 3,583 bytes of base64-encoded data about the invoking client
3698
+ # to pass to the function in the context object.
3645
3699
  # @return [String]
3646
3700
  #
3647
3701
  # @!attribute [rw] payload
@@ -3684,7 +3738,7 @@ module Aws::Lambda
3684
3738
  # @return [String]
3685
3739
  #
3686
3740
  # @!attribute [rw] log_result
3687
- # The last 4 KB of the execution log, which is base64 encoded.
3741
+ # The last 4 KB of the execution log, which is base64-encoded.
3688
3742
  # @return [String]
3689
3743
  #
3690
3744
  # @!attribute [rw] payload
@@ -3722,12 +3776,12 @@ module Aws::Lambda
3722
3776
  #
3723
3777
  # **Name formats**
3724
3778
  #
3725
- # * **Function name** - `my-function`.
3779
+ # * **Function name** `my-function`.
3726
3780
  #
3727
- # * **Function ARN** -
3781
+ # * **Function ARN**
3728
3782
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3729
3783
  #
3730
- # * **Partial ARN** - `123456789012:function:my-function`.
3784
+ # * **Partial ARN** `123456789012:function:my-function`.
3731
3785
  #
3732
3786
  # The length constraint applies only to the full ARN. If you specify
3733
3787
  # only the function name, it is limited to 64 characters in length.
@@ -3761,8 +3815,8 @@ module Aws::Lambda
3761
3815
  include Aws::Structure
3762
3816
  end
3763
3817
 
3764
- # Lambda was unable to decrypt the environment variables because KMS
3765
- # access was denied. Check the Lambda function's KMS permissions.
3818
+ # Lambda couldn't decrypt the environment variables because KMS access
3819
+ # was denied. Check the Lambda function's KMS permissions.
3766
3820
  #
3767
3821
  # @!attribute [rw] type
3768
3822
  # @return [String]
@@ -3779,8 +3833,8 @@ module Aws::Lambda
3779
3833
  include Aws::Structure
3780
3834
  end
3781
3835
 
3782
- # Lambda was unable to decrypt the environment variables because the KMS
3783
- # key used is disabled. Check the Lambda function's KMS key settings.
3836
+ # Lambda couldn't decrypt the environment variables because the KMS key
3837
+ # used is disabled. Check the Lambda function's KMS key settings.
3784
3838
  #
3785
3839
  # @!attribute [rw] type
3786
3840
  # @return [String]
@@ -3797,9 +3851,9 @@ module Aws::Lambda
3797
3851
  include Aws::Structure
3798
3852
  end
3799
3853
 
3800
- # Lambda was unable to decrypt the environment variables because the KMS
3801
- # key used is in an invalid state for Decrypt. Check the function's KMS
3802
- # key settings.
3854
+ # Lambda couldn't decrypt the environment variables because the state
3855
+ # of the KMS key used is not valid for Decrypt. Check the function's
3856
+ # KMS key settings.
3803
3857
  #
3804
3858
  # @!attribute [rw] type
3805
3859
  # @return [String]
@@ -3816,8 +3870,8 @@ module Aws::Lambda
3816
3870
  include Aws::Structure
3817
3871
  end
3818
3872
 
3819
- # Lambda was unable to decrypt the environment variables because the KMS
3820
- # key was not found. Check the function's KMS key settings.
3873
+ # Lambda couldn't decrypt the environment variables because the KMS key
3874
+ # was not found. Check the function's KMS key settings.
3821
3875
  #
3822
3876
  # @!attribute [rw] type
3823
3877
  # @return [String]
@@ -4168,6 +4222,8 @@ module Aws::Lambda
4168
4222
  #
4169
4223
  # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
4170
4224
  # cluster.
4225
+ #
4226
+ # * **Amazon MQ** - The ARN of the broker.
4171
4227
  # @return [String]
4172
4228
  #
4173
4229
  # @!attribute [rw] function_name
@@ -4303,12 +4359,12 @@ module Aws::Lambda
4303
4359
  #
4304
4360
  # **Name formats**
4305
4361
  #
4306
- # * **Function name** - `my-function`.
4362
+ # * **Function name** `my-function`.
4307
4363
  #
4308
- # * **Function ARN** -
4364
+ # * **Function ARN**
4309
4365
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4310
4366
  #
4311
- # * **Partial ARN** - `123456789012:function:my-function`.
4367
+ # * **Partial ARN** `123456789012:function:my-function`.
4312
4368
  #
4313
4369
  # The length constraint applies only to the full ARN. If you specify
4314
4370
  # only the function name, it is limited to 64 characters in length.
@@ -4415,7 +4471,7 @@ module Aws::Lambda
4415
4471
  # @!attribute [rw] master_region
4416
4472
  # For Lambda@Edge functions, the Amazon Web Services Region of the
4417
4473
  # master function. For example, `us-east-1` filters the list of
4418
- # functions to only include Lambda@Edge functions replicated from a
4474
+ # functions to include only Lambda@Edge functions replicated from a
4419
4475
  # master function in US East (N. Virginia). If specified, you must set
4420
4476
  # `FunctionVersion` to `ALL`.
4421
4477
  # @return [String]
@@ -4470,7 +4526,7 @@ module Aws::Lambda
4470
4526
  # data as a hash:
4471
4527
  #
4472
4528
  # {
4473
- # 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
4529
+ # 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
4474
4530
  # layer_name: "LayerName", # required
4475
4531
  # marker: "String",
4476
4532
  # max_items: 1,
@@ -4535,7 +4591,7 @@ module Aws::Lambda
4535
4591
  # data as a hash:
4536
4592
  #
4537
4593
  # {
4538
- # 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
4594
+ # 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
4539
4595
  # marker: "String",
4540
4596
  # max_items: 1,
4541
4597
  # compatible_architecture: "x86_64", # accepts x86_64, arm64
@@ -4604,12 +4660,12 @@ module Aws::Lambda
4604
4660
  #
4605
4661
  # **Name formats**
4606
4662
  #
4607
- # * **Function name** - `my-function`.
4663
+ # * **Function name** `my-function`.
4608
4664
  #
4609
- # * **Function ARN** -
4665
+ # * **Function ARN**
4610
4666
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4611
4667
  #
4612
- # * **Partial ARN** - `123456789012:function:my-function`.
4668
+ # * **Partial ARN** `123456789012:function:my-function`.
4613
4669
  #
4614
4670
  # The length constraint applies only to the full ARN. If you specify
4615
4671
  # only the function name, it is limited to 64 characters in length.
@@ -4788,11 +4844,12 @@ module Aws::Lambda
4788
4844
  include Aws::Structure
4789
4845
  end
4790
4846
 
4791
- # The permissions policy for the resource is too large. [Learn more][1]
4847
+ # The permissions policy for the resource is too large. For more
4848
+ # information, see [Lambda quotas][1].
4792
4849
  #
4793
4850
  #
4794
4851
  #
4795
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
4852
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
4796
4853
  #
4797
4854
  # @!attribute [rw] type
4798
4855
  # @return [String]
@@ -4811,7 +4868,7 @@ module Aws::Lambda
4811
4868
 
4812
4869
  # The RevisionId provided does not match the latest RevisionId for the
4813
4870
  # Lambda function or alias. Call the `GetFunction` or the `GetAlias` API
4814
- # to retrieve the latest RevisionId for your resource.
4871
+ # operation to retrieve the latest RevisionId for your resource.
4815
4872
  #
4816
4873
  # @!attribute [rw] type
4817
4874
  # The exception type.
@@ -4846,7 +4903,10 @@ module Aws::Lambda
4846
4903
  # @return [Integer]
4847
4904
  #
4848
4905
  # @!attribute [rw] allocated_provisioned_concurrent_executions
4849
- # The amount of provisioned concurrency allocated.
4906
+ # The amount of provisioned concurrency allocated. When a weighted
4907
+ # alias is used during linear and canary deployments, this value
4908
+ # fluctuates depending on the amount of concurrency that is
4909
+ # provisioned for the function versions.
4850
4910
  # @return [Integer]
4851
4911
  #
4852
4912
  # @!attribute [rw] status
@@ -4910,7 +4970,7 @@ module Aws::Lambda
4910
4970
  # s3_object_version: "S3ObjectVersion",
4911
4971
  # zip_file: "data",
4912
4972
  # },
4913
- # 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
4973
+ # 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
4914
4974
  # license_info: "LicenseInfo",
4915
4975
  # compatible_architectures: ["x86_64"], # accepts x86_64, arm64
4916
4976
  # }
@@ -5170,12 +5230,12 @@ module Aws::Lambda
5170
5230
  #
5171
5231
  # **Name formats**
5172
5232
  #
5173
- # * **Function name** - `my-function`.
5233
+ # * **Function name** `my-function`.
5174
5234
  #
5175
- # * **Function ARN** -
5235
+ # * **Function ARN**
5176
5236
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5177
5237
  #
5178
- # * **Partial ARN** - `123456789012:function:my-function`.
5238
+ # * **Partial ARN** `123456789012:function:my-function`.
5179
5239
  #
5180
5240
  # The length constraint applies only to the full ARN. If you specify
5181
5241
  # only the function name, it is limited to 64 characters in length.
@@ -5286,12 +5346,12 @@ module Aws::Lambda
5286
5346
  #
5287
5347
  # **Name formats**
5288
5348
  #
5289
- # * **Function name** - `my-function`.
5349
+ # * **Function name** `my-function`.
5290
5350
  #
5291
- # * **Function ARN** -
5351
+ # * **Function ARN**
5292
5352
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5293
5353
  #
5294
- # * **Partial ARN** - `123456789012:function:my-function`.
5354
+ # * **Partial ARN** `123456789012:function:my-function`.
5295
5355
  #
5296
5356
  # The length constraint applies only to the full ARN. If you specify
5297
5357
  # only the function name, it is limited to 64 characters in length.
@@ -5325,7 +5385,10 @@ module Aws::Lambda
5325
5385
  # @return [Integer]
5326
5386
  #
5327
5387
  # @!attribute [rw] allocated_provisioned_concurrent_executions
5328
- # The amount of provisioned concurrency allocated.
5388
+ # The amount of provisioned concurrency allocated. When a weighted
5389
+ # alias is used during linear and canary deployments, this value
5390
+ # fluctuates depending on the amount of concurrency that is
5391
+ # provisioned for the function versions.
5329
5392
  # @return [Integer]
5330
5393
  #
5331
5394
  # @!attribute [rw] status
@@ -5413,13 +5476,13 @@ module Aws::Lambda
5413
5476
  #
5414
5477
  # **Name formats**
5415
5478
  #
5416
- # * **Function name** - `my-function` (name-only), `my-function:v1`
5479
+ # * **Function name** `my-function` (name-only), `my-function:v1`
5417
5480
  # (with alias).
5418
5481
  #
5419
- # * **Function ARN** -
5482
+ # * **Function ARN**
5420
5483
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5421
5484
  #
5422
- # * **Partial ARN** - `123456789012:function:my-function`.
5485
+ # * **Partial ARN** `123456789012:function:my-function`.
5423
5486
  #
5424
5487
  # You can append a version number or alias to any of the formats. The
5425
5488
  # length constraint applies only to the full ARN. If you specify only
@@ -5436,7 +5499,7 @@ module Aws::Lambda
5436
5499
  # @return [String]
5437
5500
  #
5438
5501
  # @!attribute [rw] revision_id
5439
- # Only update the policy if the revision ID matches the ID that's
5502
+ # Update the policy only if the revision ID matches the ID that's
5440
5503
  # specified. Use this option to avoid modifying a policy that has
5441
5504
  # changed since you last read it.
5442
5505
  # @return [String]
@@ -5453,11 +5516,11 @@ module Aws::Lambda
5453
5516
  end
5454
5517
 
5455
5518
  # The request payload exceeded the `Invoke` request body JSON input
5456
- # limit. For more information, see [Limits][1].
5519
+ # quota. For more information, see [Lambda quotas][1].
5457
5520
  #
5458
5521
  #
5459
5522
  #
5460
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
5523
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
5461
5524
  #
5462
5525
  # @!attribute [rw] type
5463
5526
  # @return [String]
@@ -5494,9 +5557,9 @@ module Aws::Lambda
5494
5557
  end
5495
5558
 
5496
5559
  # The operation conflicts with the resource's availability. For
5497
- # example, you attempted to update an EventSource Mapping in CREATING,
5498
- # or tried to delete a EventSource mapping currently in the UPDATING
5499
- # state.
5560
+ # example, you tried to update an event source mapping in the CREATING
5561
+ # state, or you tried to delete an event source mapping currently
5562
+ # UPDATING.
5500
5563
  #
5501
5564
  # @!attribute [rw] type
5502
5565
  # @return [String]
@@ -5590,7 +5653,11 @@ module Aws::Lambda
5590
5653
  # group ID must be unique among all your Kafka event sources. After
5591
5654
  # creating a Kafka event source mapping with the consumer group ID
5592
5655
  # specified, you cannot update this value. For more information, see
5593
- # services-msk-consumer-group-id.
5656
+ # [Customizable consumer group ID][1].
5657
+ #
5658
+ #
5659
+ #
5660
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
5594
5661
  # @return [String]
5595
5662
  #
5596
5663
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedKafkaEventSourceConfig AWS API Documentation
@@ -5618,6 +5685,123 @@ module Aws::Lambda
5618
5685
  include Aws::Structure
5619
5686
  end
5620
5687
 
5688
+ # The function's SnapStart setting. Set `ApplyOn` to
5689
+ # `PublishedVersions` to create a snapshot of the initialized execution
5690
+ # environment when you publish a function version. For more information,
5691
+ # see [Reducing startup time with Lambda SnapStart][1].
5692
+ #
5693
+ #
5694
+ #
5695
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
5696
+ #
5697
+ # @note When making an API call, you may pass SnapStart
5698
+ # data as a hash:
5699
+ #
5700
+ # {
5701
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
5702
+ # }
5703
+ #
5704
+ # @!attribute [rw] apply_on
5705
+ # Set to `PublishedVersions` to create a snapshot of the initialized
5706
+ # execution environment when you publish a function version.
5707
+ # @return [String]
5708
+ #
5709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStart AWS API Documentation
5710
+ #
5711
+ class SnapStart < Struct.new(
5712
+ :apply_on)
5713
+ SENSITIVE = []
5714
+ include Aws::Structure
5715
+ end
5716
+
5717
+ # The runtime restore hook encountered an error. For more information,
5718
+ # check the Amazon CloudWatch logs.
5719
+ #
5720
+ # @!attribute [rw] type
5721
+ # @return [String]
5722
+ #
5723
+ # @!attribute [rw] message
5724
+ # @return [String]
5725
+ #
5726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartException AWS API Documentation
5727
+ #
5728
+ class SnapStartException < Struct.new(
5729
+ :type,
5730
+ :message)
5731
+ SENSITIVE = []
5732
+ include Aws::Structure
5733
+ end
5734
+
5735
+ # Lambda is initializing your function. You can invoke the function when
5736
+ # the [function state][1] becomes `Active`.
5737
+ #
5738
+ #
5739
+ #
5740
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html
5741
+ #
5742
+ # @!attribute [rw] type
5743
+ # @return [String]
5744
+ #
5745
+ # @!attribute [rw] message
5746
+ # @return [String]
5747
+ #
5748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartNotReadyException AWS API Documentation
5749
+ #
5750
+ class SnapStartNotReadyException < Struct.new(
5751
+ :type,
5752
+ :message)
5753
+ SENSITIVE = []
5754
+ include Aws::Structure
5755
+ end
5756
+
5757
+ # The function's [SnapStart][1] setting.
5758
+ #
5759
+ #
5760
+ #
5761
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
5762
+ #
5763
+ # @!attribute [rw] apply_on
5764
+ # When set to `PublishedVersions`, Lambda creates a snapshot of the
5765
+ # execution environment when you publish a function version.
5766
+ # @return [String]
5767
+ #
5768
+ # @!attribute [rw] optimization_status
5769
+ # When you provide a [qualified Amazon Resource Name (ARN)][1], this
5770
+ # response element indicates whether SnapStart is activated for the
5771
+ # specified function version.
5772
+ #
5773
+ #
5774
+ #
5775
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using
5776
+ # @return [String]
5777
+ #
5778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartResponse AWS API Documentation
5779
+ #
5780
+ class SnapStartResponse < Struct.new(
5781
+ :apply_on,
5782
+ :optimization_status)
5783
+ SENSITIVE = []
5784
+ include Aws::Structure
5785
+ end
5786
+
5787
+ # The runtime restore hook failed to complete within the timeout limit
5788
+ # (2 seconds).
5789
+ #
5790
+ # @!attribute [rw] type
5791
+ # @return [String]
5792
+ #
5793
+ # @!attribute [rw] message
5794
+ # @return [String]
5795
+ #
5796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SnapStartTimeoutException AWS API Documentation
5797
+ #
5798
+ class SnapStartTimeoutException < Struct.new(
5799
+ :type,
5800
+ :message)
5801
+ SENSITIVE = []
5802
+ include Aws::Structure
5803
+ end
5804
+
5621
5805
  # To secure and define access to your event source, you can specify the
5622
5806
  # authentication protocol, VPC components, or virtual host.
5623
5807
  #
@@ -5640,22 +5824,23 @@ module Aws::Lambda
5640
5824
  # of your secret key used for SASL/PLAIN authentication of your
5641
5825
  # Apache Kafka brokers.
5642
5826
  #
5643
- # * `VPC_SUBNET` - The subnets associated with your VPC. Lambda
5644
- # connects to these subnets to fetch data from your self-managed
5645
- # Apache Kafka cluster.
5646
- #
5647
- # * `VPC_SECURITY_GROUP` - The VPC security group used to manage
5648
- # access to your self-managed Apache Kafka brokers.
5827
+ # * `VPC_SUBNET` - (Self-managed Apache Kafka) The subnets associated
5828
+ # with your VPC. Lambda connects to these subnets to fetch data from
5829
+ # your self-managed Apache Kafka cluster.
5649
5830
  #
5650
- # * `SASL_SCRAM_256_AUTH` - The Secrets Manager ARN of your secret key
5651
- # used for SASL SCRAM-256 authentication of your self-managed Apache
5831
+ # * `VPC_SECURITY_GROUP` - (Self-managed Apache Kafka) The VPC
5832
+ # security group used to manage access to your self-managed Apache
5652
5833
  # Kafka brokers.
5653
5834
  #
5654
- # * `SASL_SCRAM_512_AUTH` - The Secrets Manager ARN of your secret key
5655
- # used for SASL SCRAM-512 authentication of your self-managed Apache
5656
- # Kafka brokers.
5835
+ # * `SASL_SCRAM_256_AUTH` - (Self-managed Apache Kafka) The Secrets
5836
+ # Manager ARN of your secret key used for SASL SCRAM-256
5837
+ # authentication of your self-managed Apache Kafka brokers.
5657
5838
  #
5658
- # * `VIRTUAL_HOST` - (Amazon MQ) The name of the virtual host in your
5839
+ # * `SASL_SCRAM_512_AUTH` - (Amazon MSK, Self-managed Apache Kafka)
5840
+ # The Secrets Manager ARN of your secret key used for SASL SCRAM-512
5841
+ # authentication of your self-managed Apache Kafka brokers.
5842
+ #
5843
+ # * `VIRTUAL_HOST` - (RabbitMQ) The name of the virtual host in your
5659
5844
  # RabbitMQ broker. Lambda uses this RabbitMQ host as the event
5660
5845
  # source. This property cannot be specified in an
5661
5846
  # UpdateEventSourceMapping API call.
@@ -5687,8 +5872,8 @@ module Aws::Lambda
5687
5872
  include Aws::Structure
5688
5873
  end
5689
5874
 
5690
- # Lambda was not able to set up VPC access for the Lambda function
5691
- # because one or more configured subnets has no available IP addresses.
5875
+ # Lambda couldn't set up VPC access for the Lambda function because one
5876
+ # or more configured subnets has no available IP addresses.
5692
5877
  #
5693
5878
  # @!attribute [rw] type
5694
5879
  # @return [String]
@@ -5732,7 +5917,12 @@ module Aws::Lambda
5732
5917
  include Aws::Structure
5733
5918
  end
5734
5919
 
5735
- # The request throughput limit was exceeded.
5920
+ # The request throughput limit was exceeded. For more information, see
5921
+ # [Lambda quotas][1].
5922
+ #
5923
+ #
5924
+ #
5925
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests
5736
5926
  #
5737
5927
  # @!attribute [rw] retry_after_seconds
5738
5928
  # The number of seconds the caller should wait before retrying.
@@ -6055,9 +6245,9 @@ module Aws::Lambda
6055
6245
  # @return [Integer]
6056
6246
  #
6057
6247
  # @!attribute [rw] filter_criteria
6058
- # (Streams and Amazon SQS) An object that defines the filter criteria
6059
- # that determine whether Lambda should process an event. For more
6060
- # information, see [Lambda event filtering][1].
6248
+ # An object that defines the filter criteria that determine whether
6249
+ # Lambda should process an event. For more information, see [Lambda
6250
+ # event filtering][1].
6061
6251
  #
6062
6252
  #
6063
6253
  #
@@ -6065,14 +6255,22 @@ module Aws::Lambda
6065
6255
  # @return [Types::FilterCriteria]
6066
6256
  #
6067
6257
  # @!attribute [rw] maximum_batching_window_in_seconds
6068
- # (Streams and Amazon SQS standard queues) The maximum amount of time,
6069
- # in seconds, that Lambda spends gathering records before invoking the
6070
- # function.
6071
- #
6072
- # Default: 0
6073
- #
6074
- # Related setting: When you set `BatchSize` to a value greater than
6075
- # 10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
6258
+ # The maximum amount of time, in seconds, that Lambda spends gathering
6259
+ # records before invoking the function. You can configure
6260
+ # `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
6261
+ # seconds in increments of seconds.
6262
+ #
6263
+ # For streams and Amazon SQS event sources, the default batching
6264
+ # window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and
6265
+ # Amazon MQ event sources, the default batching window is 500 ms. Note
6266
+ # that because you can only change `MaximumBatchingWindowInSeconds` in
6267
+ # increments of seconds, you cannot revert back to the 500 ms default
6268
+ # batching window after you have changed it. To restore the default
6269
+ # batching window, you must create a new event source mapping.
6270
+ #
6271
+ # Related setting: For streams and Amazon SQS event sources, when you
6272
+ # set `BatchSize` to a value greater than 10, you must set
6273
+ # `MaximumBatchingWindowInSeconds` to at least 1.
6076
6274
  # @return [Integer]
6077
6275
  #
6078
6276
  # @!attribute [rw] destination_config
@@ -6158,12 +6356,12 @@ module Aws::Lambda
6158
6356
  #
6159
6357
  # **Name formats**
6160
6358
  #
6161
- # * **Function name** - `my-function`.
6359
+ # * **Function name** `my-function`.
6162
6360
  #
6163
- # * **Function ARN** -
6361
+ # * **Function ARN**
6164
6362
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
6165
6363
  #
6166
- # * **Partial ARN** - `123456789012:function:my-function`.
6364
+ # * **Partial ARN** `123456789012:function:my-function`.
6167
6365
  #
6168
6366
  # The length constraint applies only to the full ARN. If you specify
6169
6367
  # only the function name, it is limited to 64 characters in length.
@@ -6171,9 +6369,8 @@ module Aws::Lambda
6171
6369
  #
6172
6370
  # @!attribute [rw] zip_file
6173
6371
  # The base64-encoded contents of the deployment package. Amazon Web
6174
- # Services SDK and Amazon Web Services CLI clients handle the encoding
6175
- # for you. Use only with a function defined with a .zip file archive
6176
- # deployment package.
6372
+ # Services SDK and CLI clients handle the encoding for you. Use only
6373
+ # with a function defined with a .zip file archive deployment package.
6177
6374
  # @return [String]
6178
6375
  #
6179
6376
  # @!attribute [rw] s3_bucket
@@ -6210,7 +6407,7 @@ module Aws::Lambda
6210
6407
  # @return [Boolean]
6211
6408
  #
6212
6409
  # @!attribute [rw] revision_id
6213
- # Only update the function if the revision ID matches the ID that's
6410
+ # Update the function only if the revision ID matches the ID that's
6214
6411
  # specified. Use this option to avoid modifying a function that has
6215
6412
  # changed since you last read it.
6216
6413
  # @return [String]
@@ -6257,7 +6454,7 @@ module Aws::Lambda
6257
6454
  # "EnvironmentVariableName" => "EnvironmentVariableValue",
6258
6455
  # },
6259
6456
  # },
6260
- # 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
6457
+ # 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
6261
6458
  # dead_letter_config: {
6262
6459
  # target_arn: "ResourceArn",
6263
6460
  # },
@@ -6281,6 +6478,9 @@ module Aws::Lambda
6281
6478
  # ephemeral_storage: {
6282
6479
  # size: 1, # required
6283
6480
  # },
6481
+ # snap_start: {
6482
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
6483
+ # },
6284
6484
  # }
6285
6485
  #
6286
6486
  # @!attribute [rw] function_name
@@ -6288,12 +6488,12 @@ module Aws::Lambda
6288
6488
  #
6289
6489
  # **Name formats**
6290
6490
  #
6291
- # * **Function name** - `my-function`.
6491
+ # * **Function name** `my-function`.
6292
6492
  #
6293
- # * **Function ARN** -
6493
+ # * **Function ARN**
6294
6494
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
6295
6495
  #
6296
- # * **Partial ARN** - `123456789012:function:my-function`.
6496
+ # * **Partial ARN** `123456789012:function:my-function`.
6297
6497
  #
6298
6498
  # The length constraint applies only to the full ARN. If you specify
6299
6499
  # only the function name, it is limited to 64 characters in length.
@@ -6304,15 +6504,15 @@ module Aws::Lambda
6304
6504
  # @return [String]
6305
6505
  #
6306
6506
  # @!attribute [rw] handler
6307
- # The name of the method within your code that Lambda calls to execute
6507
+ # The name of the method within your code that Lambda calls to run
6308
6508
  # your function. Handler is required if the deployment package is a
6309
6509
  # .zip file archive. The format includes the file name. It can also
6310
6510
  # include namespaces and other qualifiers, depending on the runtime.
6311
- # For more information, see [Programming Model][1].
6511
+ # For more information, see [Lambda programming model][1].
6312
6512
  #
6313
6513
  #
6314
6514
  #
6315
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
6515
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html
6316
6516
  # @return [String]
6317
6517
  #
6318
6518
  # @!attribute [rw] description
@@ -6322,8 +6522,8 @@ module Aws::Lambda
6322
6522
  # @!attribute [rw] timeout
6323
6523
  # The amount of time (in seconds) that Lambda allows a function to run
6324
6524
  # before stopping it. The default is 3 seconds. The maximum allowed
6325
- # value is 900 seconds. For additional information, see [Lambda
6326
- # execution environment][1].
6525
+ # value is 900 seconds. For more information, see [Lambda execution
6526
+ # environment][1].
6327
6527
  #
6328
6528
  #
6329
6529
  #
@@ -6337,15 +6537,15 @@ module Aws::Lambda
6337
6537
  #
6338
6538
  #
6339
6539
  #
6340
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html
6540
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console
6341
6541
  # @return [Integer]
6342
6542
  #
6343
6543
  # @!attribute [rw] vpc_config
6344
6544
  # For network connectivity to Amazon Web Services resources in a VPC,
6345
6545
  # specify a list of security groups and subnets in the VPC. When you
6346
- # connect a function to a VPC, it can only access resources and the
6347
- # internet through that VPC. For more information, see [VPC
6348
- # Settings][1].
6546
+ # connect a function to a VPC, it can access resources and the
6547
+ # internet only through that VPC. For more information, see
6548
+ # [Configuring a Lambda function to access resources in a VPC][1].
6349
6549
  #
6350
6550
  #
6351
6551
  #
@@ -6367,19 +6567,19 @@ module Aws::Lambda
6367
6567
  # @return [String]
6368
6568
  #
6369
6569
  # @!attribute [rw] dead_letter_config
6370
- # A dead letter queue configuration that specifies the queue or topic
6570
+ # A dead-letter queue configuration that specifies the queue or topic
6371
6571
  # where Lambda sends asynchronous events when they fail processing.
6372
- # For more information, see [Dead Letter Queues][1].
6572
+ # For more information, see [Dead-letter queues][1].
6373
6573
  #
6374
6574
  #
6375
6575
  #
6376
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
6576
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
6377
6577
  # @return [Types::DeadLetterConfig]
6378
6578
  #
6379
6579
  # @!attribute [rw] kms_key_arn
6380
- # The ARN of the Amazon Web Services Key Management Service (KMS) key
6381
- # that's used to encrypt your function's environment variables. If
6382
- # it's not provided, Lambda uses a default service key.
6580
+ # The ARN of the Key Management Service (KMS) key that's used to
6581
+ # encrypt your function's environment variables. If it's not
6582
+ # provided, Lambda uses a default service key.
6383
6583
  # @return [String]
6384
6584
  #
6385
6585
  # @!attribute [rw] tracing_config
@@ -6392,7 +6592,7 @@ module Aws::Lambda
6392
6592
  # @return [Types::TracingConfig]
6393
6593
  #
6394
6594
  # @!attribute [rw] revision_id
6395
- # Only update the function if the revision ID matches the ID that's
6595
+ # Update the function only if the revision ID matches the ID that's
6396
6596
  # specified. Use this option to avoid modifying a function that has
6397
6597
  # changed since you last read it.
6398
6598
  # @return [String]
@@ -6420,10 +6620,18 @@ module Aws::Lambda
6420
6620
  # @return [Types::ImageConfig]
6421
6621
  #
6422
6622
  # @!attribute [rw] ephemeral_storage
6423
- # The size of the functions /tmp directory in MB. The default value
6424
- # is 512, but can be any whole number between 512 and 10240 MB.
6623
+ # The size of the function's `/tmp` directory in MB. The default
6624
+ # value is 512, but can be any whole number between 512 and 10,240 MB.
6425
6625
  # @return [Types::EphemeralStorage]
6426
6626
  #
6627
+ # @!attribute [rw] snap_start
6628
+ # The function's [SnapStart][1] setting.
6629
+ #
6630
+ #
6631
+ #
6632
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
6633
+ # @return [Types::SnapStart]
6634
+ #
6427
6635
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
6428
6636
  #
6429
6637
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -6443,7 +6651,8 @@ module Aws::Lambda
6443
6651
  :layers,
6444
6652
  :file_system_configs,
6445
6653
  :image_config,
6446
- :ephemeral_storage)
6654
+ :ephemeral_storage,
6655
+ :snap_start)
6447
6656
  SENSITIVE = []
6448
6657
  include Aws::Structure
6449
6658
  end
@@ -6548,12 +6757,12 @@ module Aws::Lambda
6548
6757
  #
6549
6758
  # **Name formats**
6550
6759
  #
6551
- # * **Function name** - `my-function`.
6760
+ # * **Function name** `my-function`.
6552
6761
  #
6553
- # * **Function ARN** -
6762
+ # * **Function ARN**
6554
6763
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
6555
6764
  #
6556
- # * **Partial ARN** - `123456789012:function:my-function`.
6765
+ # * **Partial ARN** `123456789012:function:my-function`.
6557
6766
  #
6558
6767
  # The length constraint applies only to the full ARN. If you specify
6559
6768
  # only the function name, it is limited to 64 characters in length.
@@ -6565,10 +6774,10 @@ module Aws::Lambda
6565
6774
  #
6566
6775
  # @!attribute [rw] auth_type
6567
6776
  # The type of authentication that your function URL uses. Set to
6568
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
6569
- # users only. Set to `NONE` if you want to bypass IAM authentication
6570
- # to create a public endpoint. For more information, see [ Security
6571
- # and auth model for Lambda function URLs][1].
6777
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
6778
+ # only. Set to `NONE` if you want to bypass IAM authentication to
6779
+ # create a public endpoint. For more information, see [Security and
6780
+ # auth model for Lambda function URLs][1].
6572
6781
  #
6573
6782
  #
6574
6783
  #
@@ -6605,10 +6814,10 @@ module Aws::Lambda
6605
6814
  #
6606
6815
  # @!attribute [rw] auth_type
6607
6816
  # The type of authentication that your function URL uses. Set to
6608
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
6609
- # users only. Set to `NONE` if you want to bypass IAM authentication
6610
- # to create a public endpoint. For more information, see [ Security
6611
- # and auth model for Lambda function URLs][1].
6817
+ # `AWS_IAM` if you want to restrict access to authenticated IAM users
6818
+ # only. Set to `NONE` if you want to bypass IAM authentication to
6819
+ # create a public endpoint. For more information, see [Security and
6820
+ # auth model for Lambda function URLs][1].
6612
6821
  #
6613
6822
  #
6614
6823
  #
@@ -6656,7 +6865,8 @@ module Aws::Lambda
6656
6865
  end
6657
6866
 
6658
6867
  # The VPC security groups and subnets that are attached to a Lambda
6659
- # function. For more information, see [VPC Settings][1].
6868
+ # function. For more information, see [Configuring a Lambda function to
6869
+ # access resources in a VPC][1].
6660
6870
  #
6661
6871
  #
6662
6872
  #
@@ -6675,7 +6885,7 @@ module Aws::Lambda
6675
6885
  # @return [Array<String>]
6676
6886
  #
6677
6887
  # @!attribute [rw] security_group_ids
6678
- # A list of VPC security groups IDs.
6888
+ # A list of VPC security group IDs.
6679
6889
  # @return [Array<String>]
6680
6890
  #
6681
6891
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig AWS API Documentation
@@ -6695,7 +6905,7 @@ module Aws::Lambda
6695
6905
  # @return [Array<String>]
6696
6906
  #
6697
6907
  # @!attribute [rw] security_group_ids
6698
- # A list of VPC security groups IDs.
6908
+ # A list of VPC security group IDs.
6699
6909
  # @return [Array<String>]
6700
6910
  #
6701
6911
  # @!attribute [rw] vpc_id