aws-sdk-lambda 1.87.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
  #
@@ -504,12 +505,12 @@ module Aws::Lambda
504
505
  include Aws::Structure
505
506
  end
506
507
 
507
- # You have exceeded your maximum total code size per account. [Learn
508
- # more][1]
508
+ # Your Amazon Web Services account has exceeded its maximum total code
509
+ # size. For more information, see [Lambda quotas][1].
509
510
  #
510
511
  #
511
512
  #
512
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
513
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
513
514
  #
514
515
  # @!attribute [rw] type
515
516
  # The exception type.
@@ -548,7 +549,8 @@ module Aws::Lambda
548
549
 
549
550
  # @!attribute [rw] reserved_concurrent_executions
550
551
  # The number of concurrent executions that are reserved for this
551
- # function. For more information, see [Managing Concurrency][1].
552
+ # function. For more information, see [Managing Lambda reserved
553
+ # concurrency][1].
552
554
  #
553
555
  #
554
556
  #
@@ -810,6 +812,8 @@ module Aws::Lambda
810
812
  #
811
813
  # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
812
814
  # cluster.
815
+ #
816
+ # * **Amazon MQ** - The ARN of the broker.
813
817
  # @return [String]
814
818
  #
815
819
  # @!attribute [rw] function_name
@@ -860,9 +864,9 @@ module Aws::Lambda
860
864
  # @return [Integer]
861
865
  #
862
866
  # @!attribute [rw] filter_criteria
863
- # (Streams and Amazon SQS) An object that defines the filter criteria
864
- # that determine whether Lambda should process an event. For more
865
- # 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].
866
870
  #
867
871
  #
868
872
  #
@@ -1046,6 +1050,9 @@ module Aws::Lambda
1046
1050
  # ephemeral_storage: {
1047
1051
  # size: 1, # required
1048
1052
  # },
1053
+ # snap_start: {
1054
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
1055
+ # },
1049
1056
  # }
1050
1057
  #
1051
1058
  # @!attribute [rw] function_name
@@ -1053,12 +1060,12 @@ module Aws::Lambda
1053
1060
  #
1054
1061
  # **Name formats**
1055
1062
  #
1056
- # * **Function name** - `my-function`.
1063
+ # * **Function name** `my-function`.
1057
1064
  #
1058
- # * **Function ARN** -
1065
+ # * **Function ARN**
1059
1066
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1060
1067
  #
1061
- # * **Partial ARN** - `123456789012:function:my-function`.
1068
+ # * **Partial ARN** `123456789012:function:my-function`.
1062
1069
  #
1063
1070
  # The length constraint applies only to the full ARN. If you specify
1064
1071
  # only the function name, it is limited to 64 characters in length.
@@ -1078,15 +1085,15 @@ module Aws::Lambda
1078
1085
  # @return [String]
1079
1086
  #
1080
1087
  # @!attribute [rw] handler
1081
- # 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
1082
1089
  # your function. Handler is required if the deployment package is a
1083
1090
  # .zip file archive. The format includes the file name. It can also
1084
1091
  # include namespaces and other qualifiers, depending on the runtime.
1085
- # For more information, see [Programming Model][1].
1092
+ # For more information, see [Lambda programming model][1].
1086
1093
  #
1087
1094
  #
1088
1095
  #
1089
- # [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
1090
1097
  # @return [String]
1091
1098
  #
1092
1099
  # @!attribute [rw] code
@@ -1100,8 +1107,8 @@ module Aws::Lambda
1100
1107
  # @!attribute [rw] timeout
1101
1108
  # The amount of time (in seconds) that Lambda allows a function to run
1102
1109
  # before stopping it. The default is 3 seconds. The maximum allowed
1103
- # value is 900 seconds. For additional information, see [Lambda
1104
- # execution environment][1].
1110
+ # value is 900 seconds. For more information, see [Lambda execution
1111
+ # environment][1].
1105
1112
  #
1106
1113
  #
1107
1114
  #
@@ -1115,7 +1122,7 @@ module Aws::Lambda
1115
1122
  #
1116
1123
  #
1117
1124
  #
1118
- # [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
1119
1126
  # @return [Integer]
1120
1127
  #
1121
1128
  # @!attribute [rw] publish
@@ -1126,9 +1133,9 @@ module Aws::Lambda
1126
1133
  # @!attribute [rw] vpc_config
1127
1134
  # For network connectivity to Amazon Web Services resources in a VPC,
1128
1135
  # specify a list of security groups and subnets in the VPC. When you
1129
- # connect a function to a VPC, it can only access resources and the
1130
- # internet through that VPC. For more information, see [VPC
1131
- # 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].
1132
1139
  #
1133
1140
  #
1134
1141
  #
@@ -1137,17 +1144,17 @@ module Aws::Lambda
1137
1144
  #
1138
1145
  # @!attribute [rw] package_type
1139
1146
  # The type of deployment package. Set to `Image` for container image
1140
- # and set `Zip` for ZIP archive.
1147
+ # and set to `Zip` for .zip file archive.
1141
1148
  # @return [String]
1142
1149
  #
1143
1150
  # @!attribute [rw] dead_letter_config
1144
- # A dead letter queue configuration that specifies the queue or topic
1151
+ # A dead-letter queue configuration that specifies the queue or topic
1145
1152
  # where Lambda sends asynchronous events when they fail processing.
1146
- # For more information, see [Dead Letter Queues][1].
1153
+ # For more information, see [Dead-letter queues][1].
1147
1154
  #
1148
1155
  #
1149
1156
  #
1150
- # [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
1151
1158
  # @return [Types::DeadLetterConfig]
1152
1159
  #
1153
1160
  # @!attribute [rw] environment
@@ -1156,9 +1163,9 @@ module Aws::Lambda
1156
1163
  # @return [Types::Environment]
1157
1164
  #
1158
1165
  # @!attribute [rw] kms_key_arn
1159
- # The ARN of the Amazon Web Services Key Management Service (KMS) key
1160
- # that's used to encrypt your function's environment variables. If
1161
- # 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.
1162
1169
  # @return [String]
1163
1170
  #
1164
1171
  # @!attribute [rw] tracing_config
@@ -1214,10 +1221,18 @@ module Aws::Lambda
1214
1221
  # @return [Array<String>]
1215
1222
  #
1216
1223
  # @!attribute [rw] ephemeral_storage
1217
- # The size of the functions /tmp directory in MB. The default value
1218
- # 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.
1219
1226
  # @return [Types::EphemeralStorage]
1220
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
+ #
1221
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest AWS API Documentation
1222
1237
  #
1223
1238
  class CreateFunctionRequest < Struct.new(
@@ -1242,7 +1257,8 @@ module Aws::Lambda
1242
1257
  :image_config,
1243
1258
  :code_signing_config_arn,
1244
1259
  :architectures,
1245
- :ephemeral_storage)
1260
+ :ephemeral_storage,
1261
+ :snap_start)
1246
1262
  SENSITIVE = []
1247
1263
  include Aws::Structure
1248
1264
  end
@@ -1269,12 +1285,12 @@ module Aws::Lambda
1269
1285
  #
1270
1286
  # **Name formats**
1271
1287
  #
1272
- # * **Function name** - `my-function`.
1288
+ # * **Function name** `my-function`.
1273
1289
  #
1274
- # * **Function ARN** -
1290
+ # * **Function ARN**
1275
1291
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1276
1292
  #
1277
- # * **Partial ARN** - `123456789012:function:my-function`.
1293
+ # * **Partial ARN** `123456789012:function:my-function`.
1278
1294
  #
1279
1295
  # The length constraint applies only to the full ARN. If you specify
1280
1296
  # only the function name, it is limited to 64 characters in length.
@@ -1286,10 +1302,10 @@ module Aws::Lambda
1286
1302
  #
1287
1303
  # @!attribute [rw] auth_type
1288
1304
  # The type of authentication that your function URL uses. Set to
1289
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
1290
- # users only. Set to `NONE` if you want to bypass IAM authentication
1291
- # to create a public endpoint. For more information, see [ Security
1292
- # 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].
1293
1309
  #
1294
1310
  #
1295
1311
  #
@@ -1326,10 +1342,10 @@ module Aws::Lambda
1326
1342
  #
1327
1343
  # @!attribute [rw] auth_type
1328
1344
  # The type of authentication that your function URL uses. Set to
1329
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
1330
- # users only. Set to `NONE` if you want to bypass IAM authentication
1331
- # to create a public endpoint. For more information, see [ Security
1332
- # 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].
1333
1349
  #
1334
1350
  #
1335
1351
  #
@@ -1515,12 +1531,12 @@ module Aws::Lambda
1515
1531
  #
1516
1532
  # **Name formats**
1517
1533
  #
1518
- # * **Function name** - `my-function`.
1534
+ # * **Function name** `my-function`.
1519
1535
  #
1520
- # * **Function ARN** -
1536
+ # * **Function ARN**
1521
1537
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1522
1538
  #
1523
- # * **Partial ARN** - `123456789012:function:my-function`.
1539
+ # * **Partial ARN** `123456789012:function:my-function`.
1524
1540
  #
1525
1541
  # The length constraint applies only to the full ARN. If you specify
1526
1542
  # only the function name, it is limited to 64 characters in length.
@@ -1586,13 +1602,13 @@ module Aws::Lambda
1586
1602
  #
1587
1603
  # **Name formats**
1588
1604
  #
1589
- # * **Function name** - `my-function` (name-only), `my-function:1`
1605
+ # * **Function name** `my-function` (name-only), `my-function:1`
1590
1606
  # (with version).
1591
1607
  #
1592
- # * **Function ARN** -
1608
+ # * **Function ARN**
1593
1609
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1594
1610
  #
1595
- # * **Partial ARN** - `123456789012:function:my-function`.
1611
+ # * **Partial ARN** `123456789012:function:my-function`.
1596
1612
  #
1597
1613
  # You can append a version number or alias to any of the formats. The
1598
1614
  # length constraint applies only to the full ARN. If you specify only
@@ -1600,8 +1616,8 @@ module Aws::Lambda
1600
1616
  # @return [String]
1601
1617
  #
1602
1618
  # @!attribute [rw] qualifier
1603
- # Specify a version to delete. You can't delete a version that's
1604
- # referenced by an alias.
1619
+ # Specify a version to delete. You can't delete a version that an
1620
+ # alias references.
1605
1621
  # @return [String]
1606
1622
  #
1607
1623
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest AWS API Documentation
@@ -1626,12 +1642,12 @@ module Aws::Lambda
1626
1642
  #
1627
1643
  # **Name formats**
1628
1644
  #
1629
- # * **Function name** - `my-function`.
1645
+ # * **Function name** `my-function`.
1630
1646
  #
1631
- # * **Function ARN** -
1647
+ # * **Function ARN**
1632
1648
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1633
1649
  #
1634
- # * **Partial ARN** - `123456789012:function:my-function`.
1650
+ # * **Partial ARN** `123456789012:function:my-function`.
1635
1651
  #
1636
1652
  # The length constraint applies only to the full ARN. If you specify
1637
1653
  # only the function name, it is limited to 64 characters in length.
@@ -1688,12 +1704,12 @@ module Aws::Lambda
1688
1704
  #
1689
1705
  # **Name formats**
1690
1706
  #
1691
- # * **Function name** - `my-function`.
1707
+ # * **Function name** `my-function`.
1692
1708
  #
1693
- # * **Function ARN** -
1709
+ # * **Function ARN**
1694
1710
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
1695
1711
  #
1696
- # * **Partial ARN** - `123456789012:function:my-function`.
1712
+ # * **Partial ARN** `123456789012:function:my-function`.
1697
1713
  #
1698
1714
  # The length constraint applies only to the full ARN. If you specify
1699
1715
  # only the function name, it is limited to 64 characters in length.
@@ -1761,9 +1777,8 @@ module Aws::Lambda
1761
1777
  include Aws::Structure
1762
1778
  end
1763
1779
 
1764
- # Lambda was throttled by Amazon EC2 during Lambda function
1765
- # initialization using the execution role provided for the Lambda
1766
- # function.
1780
+ # Amazon EC2 throttled Lambda during Lambda function initialization
1781
+ # using the execution role provided for the function.
1767
1782
  #
1768
1783
  # @!attribute [rw] type
1769
1784
  # @return [String]
@@ -1780,8 +1795,8 @@ module Aws::Lambda
1780
1795
  include Aws::Structure
1781
1796
  end
1782
1797
 
1783
- # Lambda received an unexpected EC2 client exception while setting up
1784
- # for the Lambda function.
1798
+ # Lambda received an unexpected Amazon EC2 client exception while
1799
+ # setting up for the Lambda function.
1785
1800
  #
1786
1801
  # @!attribute [rw] type
1787
1802
  # @return [String]
@@ -1820,8 +1835,8 @@ module Aws::Lambda
1820
1835
  include Aws::Structure
1821
1836
  end
1822
1837
 
1823
- # The function couldn't make a network connection to the configured
1824
- # file system.
1838
+ # The Lambda function couldn't make a network connection to the
1839
+ # configured file system.
1825
1840
  #
1826
1841
  # @!attribute [rw] type
1827
1842
  # @return [String]
@@ -1838,8 +1853,8 @@ module Aws::Lambda
1838
1853
  include Aws::Structure
1839
1854
  end
1840
1855
 
1841
- # The function couldn't mount the configured file system due to a
1842
- # permission or configuration issue.
1856
+ # The Lambda function couldn't mount the configured file system due to
1857
+ # a permission or configuration issue.
1843
1858
  #
1844
1859
  # @!attribute [rw] type
1845
1860
  # @return [String]
@@ -1856,8 +1871,8 @@ module Aws::Lambda
1856
1871
  include Aws::Structure
1857
1872
  end
1858
1873
 
1859
- # The function was able to make a network connection to the configured
1860
- # 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.
1861
1876
  #
1862
1877
  # @!attribute [rw] type
1863
1878
  # @return [String]
@@ -1874,9 +1889,14 @@ module Aws::Lambda
1874
1889
  include Aws::Structure
1875
1890
  end
1876
1891
 
1877
- # 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,
1878
1893
  # specified as part of Lambda function configuration, because the limit
1879
- # 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
1880
1900
  #
1881
1901
  # @!attribute [rw] type
1882
1902
  # @return [String]
@@ -1944,9 +1964,8 @@ module Aws::Lambda
1944
1964
  end
1945
1965
 
1946
1966
  # The results of an operation to update or read environment variables.
1947
- # If the operation is successful, the response contains the environment
1948
- # variables. If it failed, the response contains details about the
1949
- # error.
1967
+ # If the operation succeeds, the response contains the environment
1968
+ # variables. If it fails, the response contains details about the error.
1950
1969
  #
1951
1970
  # @!attribute [rw] variables
1952
1971
  # Environment variable key-value pairs. Omitted from CloudTrail logs.
@@ -1965,8 +1984,8 @@ module Aws::Lambda
1965
1984
  include Aws::Structure
1966
1985
  end
1967
1986
 
1968
- # The size of the functions /tmp directory in MB. The default value is
1969
- # 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.
1970
1989
  #
1971
1990
  # @note When making an API call, you may pass EphemeralStorage
1972
1991
  # data as a hash:
@@ -1976,7 +1995,7 @@ module Aws::Lambda
1976
1995
  # }
1977
1996
  #
1978
1997
  # @!attribute [rw] size
1979
- # The size of the functions /tmp directory.
1998
+ # The size of the function's `/tmp` directory.
1980
1999
  # @return [Integer]
1981
2000
  #
1982
2001
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EphemeralStorage AWS API Documentation
@@ -2047,9 +2066,9 @@ module Aws::Lambda
2047
2066
  # @return [String]
2048
2067
  #
2049
2068
  # @!attribute [rw] filter_criteria
2050
- # (Streams and Amazon SQS) An object that defines the filter criteria
2051
- # that determine whether Lambda should process an event. For more
2052
- # 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].
2053
2072
  #
2054
2073
  #
2055
2074
  #
@@ -2259,7 +2278,7 @@ module Aws::Lambda
2259
2278
  include Aws::Structure
2260
2279
  end
2261
2280
 
2262
- # 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
2263
2282
  # Amazon S3, upload a .zip file archive deployment package directly, or
2264
2283
  # specify the URI of a container image.
2265
2284
  #
@@ -2276,8 +2295,7 @@ module Aws::Lambda
2276
2295
  #
2277
2296
  # @!attribute [rw] zip_file
2278
2297
  # The base64-encoded contents of the deployment package. Amazon Web
2279
- # Services SDK and Amazon Web Services CLI clients handle the encoding
2280
- # for you.
2298
+ # Services SDK and CLI clients handle the encoding for you.
2281
2299
  # @return [String]
2282
2300
  #
2283
2301
  # @!attribute [rw] s3_bucket
@@ -2363,7 +2381,7 @@ module Aws::Lambda
2363
2381
  # @return [String]
2364
2382
  #
2365
2383
  # @!attribute [rw] handler
2366
- # The function that Lambda calls to begin executing your function.
2384
+ # The function that Lambda calls to begin running your function.
2367
2385
  # @return [String]
2368
2386
  #
2369
2387
  # @!attribute [rw] code_size
@@ -2419,7 +2437,7 @@ module Aws::Lambda
2419
2437
  #
2420
2438
  # @!attribute [rw] kms_key_arn
2421
2439
  # The KMS key that's used to encrypt the function's environment
2422
- # variables. This key is only returned if you've configured a
2440
+ # variables. This key is returned only if you've configured a
2423
2441
  # customer managed key.
2424
2442
  # @return [String]
2425
2443
  #
@@ -2436,7 +2454,7 @@ module Aws::Lambda
2436
2454
  # @return [String]
2437
2455
  #
2438
2456
  # @!attribute [rw] layers
2439
- # The function's [ layers][1].
2457
+ # The function's [layers][1].
2440
2458
  #
2441
2459
  #
2442
2460
  #
@@ -2503,10 +2521,21 @@ module Aws::Lambda
2503
2521
  # @return [Array<String>]
2504
2522
  #
2505
2523
  # @!attribute [rw] ephemeral_storage
2506
- # The size of the function’s /tmp directory in MB. The default value
2507
- # 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.
2508
2526
  # @return [Types::EphemeralStorage]
2509
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
+ #
2510
2539
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration AWS API Documentation
2511
2540
  #
2512
2541
  class FunctionConfiguration < Struct.new(
@@ -2542,7 +2571,8 @@ module Aws::Lambda
2542
2571
  :signing_profile_version_arn,
2543
2572
  :signing_job_arn,
2544
2573
  :architectures,
2545
- :ephemeral_storage)
2574
+ :ephemeral_storage,
2575
+ :snap_start)
2546
2576
  SENSITIVE = []
2547
2577
  include Aws::Structure
2548
2578
  end
@@ -2632,10 +2662,10 @@ module Aws::Lambda
2632
2662
  #
2633
2663
  # @!attribute [rw] auth_type
2634
2664
  # The type of authentication that your function URL uses. Set to
2635
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
2636
- # users only. Set to `NONE` if you want to bypass IAM authentication
2637
- # to create a public endpoint. For more information, see [ Security
2638
- # 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].
2639
2669
  #
2640
2670
  #
2641
2671
  #
@@ -2839,12 +2869,12 @@ module Aws::Lambda
2839
2869
  #
2840
2870
  # **Name formats**
2841
2871
  #
2842
- # * **Function name** - `my-function`.
2872
+ # * **Function name** `my-function`.
2843
2873
  #
2844
- # * **Function ARN** -
2874
+ # * **Function ARN**
2845
2875
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2846
2876
  #
2847
- # * **Partial ARN** - `123456789012:function:my-function`.
2877
+ # * **Partial ARN** `123456789012:function:my-function`.
2848
2878
  #
2849
2879
  # The length constraint applies only to the full ARN. If you specify
2850
2880
  # only the function name, it is limited to 64 characters in length.
@@ -2884,13 +2914,13 @@ module Aws::Lambda
2884
2914
  #
2885
2915
  # **Name formats**
2886
2916
  #
2887
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2917
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2888
2918
  # (with alias).
2889
2919
  #
2890
- # * **Function ARN** -
2920
+ # * **Function ARN**
2891
2921
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2892
2922
  #
2893
- # * **Partial ARN** - `123456789012:function:my-function`.
2923
+ # * **Partial ARN** `123456789012:function:my-function`.
2894
2924
  #
2895
2925
  # You can append a version number or alias to any of the formats. The
2896
2926
  # length constraint applies only to the full ARN. If you specify only
@@ -2963,13 +2993,13 @@ module Aws::Lambda
2963
2993
  #
2964
2994
  # **Name formats**
2965
2995
  #
2966
- # * **Function name** - `my-function` (name-only), `my-function:v1`
2996
+ # * **Function name** `my-function` (name-only), `my-function:v1`
2967
2997
  # (with alias).
2968
2998
  #
2969
- # * **Function ARN** -
2999
+ # * **Function ARN**
2970
3000
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
2971
3001
  #
2972
- # * **Partial ARN** - `123456789012:function:my-function`.
3002
+ # * **Partial ARN** `123456789012:function:my-function`.
2973
3003
  #
2974
3004
  # You can append a version number or alias to any of the formats. The
2975
3005
  # length constraint applies only to the full ARN. If you specify only
@@ -3038,12 +3068,12 @@ module Aws::Lambda
3038
3068
  #
3039
3069
  # **Name formats**
3040
3070
  #
3041
- # * **Function name** - `my-function`.
3071
+ # * **Function name** `my-function`.
3042
3072
  #
3043
- # * **Function ARN** -
3073
+ # * **Function ARN**
3044
3074
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3045
3075
  #
3046
- # * **Partial ARN** - `123456789012:function:my-function`.
3076
+ # * **Partial ARN** `123456789012:function:my-function`.
3047
3077
  #
3048
3078
  # The length constraint applies only to the full ARN. If you specify
3049
3079
  # only the function name, it is limited to 64 characters in length.
@@ -3072,10 +3102,10 @@ module Aws::Lambda
3072
3102
  #
3073
3103
  # @!attribute [rw] auth_type
3074
3104
  # The type of authentication that your function URL uses. Set to
3075
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
3076
- # users only. Set to `NONE` if you want to bypass IAM authentication
3077
- # to create a public endpoint. For more information, see [ Security
3078
- # 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].
3079
3109
  #
3080
3110
  #
3081
3111
  #
@@ -3282,13 +3312,13 @@ module Aws::Lambda
3282
3312
  #
3283
3313
  # **Name formats**
3284
3314
  #
3285
- # * **Function name** - `my-function` (name-only), `my-function:v1`
3315
+ # * **Function name** `my-function` (name-only), `my-function:v1`
3286
3316
  # (with alias).
3287
3317
  #
3288
- # * **Function ARN** -
3318
+ # * **Function ARN**
3289
3319
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3290
3320
  #
3291
- # * **Partial ARN** - `123456789012:function:my-function`.
3321
+ # * **Partial ARN** `123456789012:function:my-function`.
3292
3322
  #
3293
3323
  # You can append a version number or alias to any of the formats. The
3294
3324
  # length constraint applies only to the full ARN. If you specify only
@@ -3338,12 +3368,12 @@ module Aws::Lambda
3338
3368
  #
3339
3369
  # **Name formats**
3340
3370
  #
3341
- # * **Function name** - `my-function`.
3371
+ # * **Function name** `my-function`.
3342
3372
  #
3343
- # * **Function ARN** -
3373
+ # * **Function ARN**
3344
3374
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3345
3375
  #
3346
- # * **Partial ARN** - `123456789012:function:my-function`.
3376
+ # * **Partial ARN** `123456789012:function:my-function`.
3347
3377
  #
3348
3378
  # The length constraint applies only to the full ARN. If you specify
3349
3379
  # only the function name, it is limited to 64 characters in length.
@@ -3409,7 +3439,7 @@ module Aws::Lambda
3409
3439
  end
3410
3440
 
3411
3441
  # Configuration values that override the container image Dockerfile
3412
- # settings. See [Container settings][1].
3442
+ # settings. For more information, see [Container image settings][1].
3413
3443
  #
3414
3444
  #
3415
3445
  #
@@ -3447,7 +3477,7 @@ module Aws::Lambda
3447
3477
  include Aws::Structure
3448
3478
  end
3449
3479
 
3450
- # Error response to GetFunctionConfiguration.
3480
+ # Error response to `GetFunctionConfiguration`.
3451
3481
  #
3452
3482
  # @!attribute [rw] error_code
3453
3483
  # Error code.
@@ -3466,14 +3496,14 @@ module Aws::Lambda
3466
3496
  include Aws::Structure
3467
3497
  end
3468
3498
 
3469
- # Response to GetFunctionConfiguration request.
3499
+ # Response to a `GetFunctionConfiguration` request.
3470
3500
  #
3471
3501
  # @!attribute [rw] image_config
3472
3502
  # Configuration values that override the container image Dockerfile.
3473
3503
  # @return [Types::ImageConfig]
3474
3504
  #
3475
3505
  # @!attribute [rw] error
3476
- # Error response to GetFunctionConfiguration.
3506
+ # Error response to `GetFunctionConfiguration`.
3477
3507
  # @return [Types::ImageConfigError]
3478
3508
  #
3479
3509
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse AWS API Documentation
@@ -3485,8 +3515,8 @@ module Aws::Lambda
3485
3515
  include Aws::Structure
3486
3516
  end
3487
3517
 
3488
- # The code signature failed the integrity check. Lambda always blocks
3489
- # 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
3490
3520
  # is set to WARN.
3491
3521
  #
3492
3522
  # @!attribute [rw] type
@@ -3504,7 +3534,7 @@ module Aws::Lambda
3504
3534
  include Aws::Structure
3505
3535
  end
3506
3536
 
3507
- # One of the parameters in the request is invalid.
3537
+ # One of the parameters in the request is not valid.
3508
3538
  #
3509
3539
  # @!attribute [rw] type
3510
3540
  # The exception type.
@@ -3559,8 +3589,8 @@ module Aws::Lambda
3559
3589
  include Aws::Structure
3560
3590
  end
3561
3591
 
3562
- # The Security Group ID provided in the Lambda function VPC
3563
- # configuration is invalid.
3592
+ # The security group ID provided in the Lambda function VPC
3593
+ # configuration is not valid.
3564
3594
  #
3565
3595
  # @!attribute [rw] type
3566
3596
  # @return [String]
@@ -3577,8 +3607,8 @@ module Aws::Lambda
3577
3607
  include Aws::Structure
3578
3608
  end
3579
3609
 
3580
- # The Subnet ID provided in the Lambda function VPC configuration is
3581
- # invalid.
3610
+ # The subnet ID provided in the Lambda function VPC configuration is not
3611
+ # valid.
3582
3612
  #
3583
3613
  # @!attribute [rw] type
3584
3614
  # @return [String]
@@ -3629,13 +3659,13 @@ module Aws::Lambda
3629
3659
  #
3630
3660
  # **Name formats**
3631
3661
  #
3632
- # * **Function name** - `my-function` (name-only), `my-function:v1`
3662
+ # * **Function name** `my-function` (name-only), `my-function:v1`
3633
3663
  # (with alias).
3634
3664
  #
3635
- # * **Function ARN** -
3665
+ # * **Function ARN**
3636
3666
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3637
3667
  #
3638
- # * **Partial ARN** - `123456789012:function:my-function`.
3668
+ # * **Partial ARN** `123456789012:function:my-function`.
3639
3669
  #
3640
3670
  # You can append a version number or alias to any of the formats. The
3641
3671
  # length constraint applies only to the full ARN. If you specify only
@@ -3645,16 +3675,16 @@ module Aws::Lambda
3645
3675
  # @!attribute [rw] invocation_type
3646
3676
  # Choose from the following options.
3647
3677
  #
3648
- # * `RequestResponse` (default) - Invoke the function synchronously.
3678
+ # * `RequestResponse` (default) Invoke the function synchronously.
3649
3679
  # Keep the connection open until the function returns a response or
3650
3680
  # times out. The API response includes the function response and
3651
3681
  # additional data.
3652
3682
  #
3653
- # * `Event` - Invoke the function asynchronously. Send events that
3654
- # fail multiple times to the function's dead-letter queue (if it's
3655
- # 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.
3656
3686
  #
3657
- # * `DryRun` - Validate parameter values and verify that the user or
3687
+ # * `DryRun` Validate parameter values and verify that the user or
3658
3688
  # role has permission to invoke the function.
3659
3689
  # @return [String]
3660
3690
  #
@@ -3664,8 +3694,8 @@ module Aws::Lambda
3664
3694
  # @return [String]
3665
3695
  #
3666
3696
  # @!attribute [rw] client_context
3667
- # Up to 3583 bytes of base64-encoded data about the invoking client to
3668
- # 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.
3669
3699
  # @return [String]
3670
3700
  #
3671
3701
  # @!attribute [rw] payload
@@ -3708,7 +3738,7 @@ module Aws::Lambda
3708
3738
  # @return [String]
3709
3739
  #
3710
3740
  # @!attribute [rw] log_result
3711
- # 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.
3712
3742
  # @return [String]
3713
3743
  #
3714
3744
  # @!attribute [rw] payload
@@ -3746,12 +3776,12 @@ module Aws::Lambda
3746
3776
  #
3747
3777
  # **Name formats**
3748
3778
  #
3749
- # * **Function name** - `my-function`.
3779
+ # * **Function name** `my-function`.
3750
3780
  #
3751
- # * **Function ARN** -
3781
+ # * **Function ARN**
3752
3782
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
3753
3783
  #
3754
- # * **Partial ARN** - `123456789012:function:my-function`.
3784
+ # * **Partial ARN** `123456789012:function:my-function`.
3755
3785
  #
3756
3786
  # The length constraint applies only to the full ARN. If you specify
3757
3787
  # only the function name, it is limited to 64 characters in length.
@@ -3785,8 +3815,8 @@ module Aws::Lambda
3785
3815
  include Aws::Structure
3786
3816
  end
3787
3817
 
3788
- # Lambda was unable to decrypt the environment variables because KMS
3789
- # 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.
3790
3820
  #
3791
3821
  # @!attribute [rw] type
3792
3822
  # @return [String]
@@ -3803,8 +3833,8 @@ module Aws::Lambda
3803
3833
  include Aws::Structure
3804
3834
  end
3805
3835
 
3806
- # Lambda was unable to decrypt the environment variables because the KMS
3807
- # 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.
3808
3838
  #
3809
3839
  # @!attribute [rw] type
3810
3840
  # @return [String]
@@ -3821,9 +3851,9 @@ module Aws::Lambda
3821
3851
  include Aws::Structure
3822
3852
  end
3823
3853
 
3824
- # Lambda was unable to decrypt the environment variables because the KMS
3825
- # key used is in an invalid state for Decrypt. Check the function's KMS
3826
- # 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.
3827
3857
  #
3828
3858
  # @!attribute [rw] type
3829
3859
  # @return [String]
@@ -3840,8 +3870,8 @@ module Aws::Lambda
3840
3870
  include Aws::Structure
3841
3871
  end
3842
3872
 
3843
- # Lambda was unable to decrypt the environment variables because the KMS
3844
- # 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.
3845
3875
  #
3846
3876
  # @!attribute [rw] type
3847
3877
  # @return [String]
@@ -4192,6 +4222,8 @@ module Aws::Lambda
4192
4222
  #
4193
4223
  # * **Amazon Managed Streaming for Apache Kafka** - The ARN of the
4194
4224
  # cluster.
4225
+ #
4226
+ # * **Amazon MQ** - The ARN of the broker.
4195
4227
  # @return [String]
4196
4228
  #
4197
4229
  # @!attribute [rw] function_name
@@ -4327,12 +4359,12 @@ module Aws::Lambda
4327
4359
  #
4328
4360
  # **Name formats**
4329
4361
  #
4330
- # * **Function name** - `my-function`.
4362
+ # * **Function name** `my-function`.
4331
4363
  #
4332
- # * **Function ARN** -
4364
+ # * **Function ARN**
4333
4365
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4334
4366
  #
4335
- # * **Partial ARN** - `123456789012:function:my-function`.
4367
+ # * **Partial ARN** `123456789012:function:my-function`.
4336
4368
  #
4337
4369
  # The length constraint applies only to the full ARN. If you specify
4338
4370
  # only the function name, it is limited to 64 characters in length.
@@ -4439,7 +4471,7 @@ module Aws::Lambda
4439
4471
  # @!attribute [rw] master_region
4440
4472
  # For Lambda@Edge functions, the Amazon Web Services Region of the
4441
4473
  # master function. For example, `us-east-1` filters the list of
4442
- # functions to only include Lambda@Edge functions replicated from a
4474
+ # functions to include only Lambda@Edge functions replicated from a
4443
4475
  # master function in US East (N. Virginia). If specified, you must set
4444
4476
  # `FunctionVersion` to `ALL`.
4445
4477
  # @return [String]
@@ -4628,12 +4660,12 @@ module Aws::Lambda
4628
4660
  #
4629
4661
  # **Name formats**
4630
4662
  #
4631
- # * **Function name** - `my-function`.
4663
+ # * **Function name** `my-function`.
4632
4664
  #
4633
- # * **Function ARN** -
4665
+ # * **Function ARN**
4634
4666
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
4635
4667
  #
4636
- # * **Partial ARN** - `123456789012:function:my-function`.
4668
+ # * **Partial ARN** `123456789012:function:my-function`.
4637
4669
  #
4638
4670
  # The length constraint applies only to the full ARN. If you specify
4639
4671
  # only the function name, it is limited to 64 characters in length.
@@ -4812,11 +4844,12 @@ module Aws::Lambda
4812
4844
  include Aws::Structure
4813
4845
  end
4814
4846
 
4815
- # 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].
4816
4849
  #
4817
4850
  #
4818
4851
  #
4819
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
4852
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
4820
4853
  #
4821
4854
  # @!attribute [rw] type
4822
4855
  # @return [String]
@@ -4835,7 +4868,7 @@ module Aws::Lambda
4835
4868
 
4836
4869
  # The RevisionId provided does not match the latest RevisionId for the
4837
4870
  # Lambda function or alias. Call the `GetFunction` or the `GetAlias` API
4838
- # to retrieve the latest RevisionId for your resource.
4871
+ # operation to retrieve the latest RevisionId for your resource.
4839
4872
  #
4840
4873
  # @!attribute [rw] type
4841
4874
  # The exception type.
@@ -5197,12 +5230,12 @@ module Aws::Lambda
5197
5230
  #
5198
5231
  # **Name formats**
5199
5232
  #
5200
- # * **Function name** - `my-function`.
5233
+ # * **Function name** `my-function`.
5201
5234
  #
5202
- # * **Function ARN** -
5235
+ # * **Function ARN**
5203
5236
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5204
5237
  #
5205
- # * **Partial ARN** - `123456789012:function:my-function`.
5238
+ # * **Partial ARN** `123456789012:function:my-function`.
5206
5239
  #
5207
5240
  # The length constraint applies only to the full ARN. If you specify
5208
5241
  # only the function name, it is limited to 64 characters in length.
@@ -5313,12 +5346,12 @@ module Aws::Lambda
5313
5346
  #
5314
5347
  # **Name formats**
5315
5348
  #
5316
- # * **Function name** - `my-function`.
5349
+ # * **Function name** `my-function`.
5317
5350
  #
5318
- # * **Function ARN** -
5351
+ # * **Function ARN**
5319
5352
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5320
5353
  #
5321
- # * **Partial ARN** - `123456789012:function:my-function`.
5354
+ # * **Partial ARN** `123456789012:function:my-function`.
5322
5355
  #
5323
5356
  # The length constraint applies only to the full ARN. If you specify
5324
5357
  # only the function name, it is limited to 64 characters in length.
@@ -5443,13 +5476,13 @@ module Aws::Lambda
5443
5476
  #
5444
5477
  # **Name formats**
5445
5478
  #
5446
- # * **Function name** - `my-function` (name-only), `my-function:v1`
5479
+ # * **Function name** `my-function` (name-only), `my-function:v1`
5447
5480
  # (with alias).
5448
5481
  #
5449
- # * **Function ARN** -
5482
+ # * **Function ARN**
5450
5483
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
5451
5484
  #
5452
- # * **Partial ARN** - `123456789012:function:my-function`.
5485
+ # * **Partial ARN** `123456789012:function:my-function`.
5453
5486
  #
5454
5487
  # You can append a version number or alias to any of the formats. The
5455
5488
  # length constraint applies only to the full ARN. If you specify only
@@ -5466,7 +5499,7 @@ module Aws::Lambda
5466
5499
  # @return [String]
5467
5500
  #
5468
5501
  # @!attribute [rw] revision_id
5469
- # 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
5470
5503
  # specified. Use this option to avoid modifying a policy that has
5471
5504
  # changed since you last read it.
5472
5505
  # @return [String]
@@ -5483,11 +5516,11 @@ module Aws::Lambda
5483
5516
  end
5484
5517
 
5485
5518
  # The request payload exceeded the `Invoke` request body JSON input
5486
- # limit. For more information, see [Limits][1].
5519
+ # quota. For more information, see [Lambda quotas][1].
5487
5520
  #
5488
5521
  #
5489
5522
  #
5490
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
5523
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
5491
5524
  #
5492
5525
  # @!attribute [rw] type
5493
5526
  # @return [String]
@@ -5524,9 +5557,9 @@ module Aws::Lambda
5524
5557
  end
5525
5558
 
5526
5559
  # The operation conflicts with the resource's availability. For
5527
- # example, you attempted to update an EventSource Mapping in CREATING,
5528
- # or tried to delete a EventSource mapping currently in the UPDATING
5529
- # 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.
5530
5563
  #
5531
5564
  # @!attribute [rw] type
5532
5565
  # @return [String]
@@ -5652,6 +5685,123 @@ module Aws::Lambda
5652
5685
  include Aws::Structure
5653
5686
  end
5654
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
+
5655
5805
  # To secure and define access to your event source, you can specify the
5656
5806
  # authentication protocol, VPC components, or virtual host.
5657
5807
  #
@@ -5722,8 +5872,8 @@ module Aws::Lambda
5722
5872
  include Aws::Structure
5723
5873
  end
5724
5874
 
5725
- # Lambda was not able to set up VPC access for the Lambda function
5726
- # 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.
5727
5877
  #
5728
5878
  # @!attribute [rw] type
5729
5879
  # @return [String]
@@ -5767,7 +5917,12 @@ module Aws::Lambda
5767
5917
  include Aws::Structure
5768
5918
  end
5769
5919
 
5770
- # 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
5771
5926
  #
5772
5927
  # @!attribute [rw] retry_after_seconds
5773
5928
  # The number of seconds the caller should wait before retrying.
@@ -6090,9 +6245,9 @@ module Aws::Lambda
6090
6245
  # @return [Integer]
6091
6246
  #
6092
6247
  # @!attribute [rw] filter_criteria
6093
- # (Streams and Amazon SQS) An object that defines the filter criteria
6094
- # that determine whether Lambda should process an event. For more
6095
- # 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].
6096
6251
  #
6097
6252
  #
6098
6253
  #
@@ -6201,12 +6356,12 @@ module Aws::Lambda
6201
6356
  #
6202
6357
  # **Name formats**
6203
6358
  #
6204
- # * **Function name** - `my-function`.
6359
+ # * **Function name** `my-function`.
6205
6360
  #
6206
- # * **Function ARN** -
6361
+ # * **Function ARN**
6207
6362
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
6208
6363
  #
6209
- # * **Partial ARN** - `123456789012:function:my-function`.
6364
+ # * **Partial ARN** `123456789012:function:my-function`.
6210
6365
  #
6211
6366
  # The length constraint applies only to the full ARN. If you specify
6212
6367
  # only the function name, it is limited to 64 characters in length.
@@ -6214,9 +6369,8 @@ module Aws::Lambda
6214
6369
  #
6215
6370
  # @!attribute [rw] zip_file
6216
6371
  # The base64-encoded contents of the deployment package. Amazon Web
6217
- # Services SDK and Amazon Web Services CLI clients handle the encoding
6218
- # for you. Use only with a function defined with a .zip file archive
6219
- # 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.
6220
6374
  # @return [String]
6221
6375
  #
6222
6376
  # @!attribute [rw] s3_bucket
@@ -6253,7 +6407,7 @@ module Aws::Lambda
6253
6407
  # @return [Boolean]
6254
6408
  #
6255
6409
  # @!attribute [rw] revision_id
6256
- # 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
6257
6411
  # specified. Use this option to avoid modifying a function that has
6258
6412
  # changed since you last read it.
6259
6413
  # @return [String]
@@ -6324,6 +6478,9 @@ module Aws::Lambda
6324
6478
  # ephemeral_storage: {
6325
6479
  # size: 1, # required
6326
6480
  # },
6481
+ # snap_start: {
6482
+ # apply_on: "PublishedVersions", # accepts PublishedVersions, None
6483
+ # },
6327
6484
  # }
6328
6485
  #
6329
6486
  # @!attribute [rw] function_name
@@ -6331,12 +6488,12 @@ module Aws::Lambda
6331
6488
  #
6332
6489
  # **Name formats**
6333
6490
  #
6334
- # * **Function name** - `my-function`.
6491
+ # * **Function name** `my-function`.
6335
6492
  #
6336
- # * **Function ARN** -
6493
+ # * **Function ARN**
6337
6494
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
6338
6495
  #
6339
- # * **Partial ARN** - `123456789012:function:my-function`.
6496
+ # * **Partial ARN** `123456789012:function:my-function`.
6340
6497
  #
6341
6498
  # The length constraint applies only to the full ARN. If you specify
6342
6499
  # only the function name, it is limited to 64 characters in length.
@@ -6347,15 +6504,15 @@ module Aws::Lambda
6347
6504
  # @return [String]
6348
6505
  #
6349
6506
  # @!attribute [rw] handler
6350
- # 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
6351
6508
  # your function. Handler is required if the deployment package is a
6352
6509
  # .zip file archive. The format includes the file name. It can also
6353
6510
  # include namespaces and other qualifiers, depending on the runtime.
6354
- # For more information, see [Programming Model][1].
6511
+ # For more information, see [Lambda programming model][1].
6355
6512
  #
6356
6513
  #
6357
6514
  #
6358
- # [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
6359
6516
  # @return [String]
6360
6517
  #
6361
6518
  # @!attribute [rw] description
@@ -6365,8 +6522,8 @@ module Aws::Lambda
6365
6522
  # @!attribute [rw] timeout
6366
6523
  # The amount of time (in seconds) that Lambda allows a function to run
6367
6524
  # before stopping it. The default is 3 seconds. The maximum allowed
6368
- # value is 900 seconds. For additional information, see [Lambda
6369
- # execution environment][1].
6525
+ # value is 900 seconds. For more information, see [Lambda execution
6526
+ # environment][1].
6370
6527
  #
6371
6528
  #
6372
6529
  #
@@ -6380,15 +6537,15 @@ module Aws::Lambda
6380
6537
  #
6381
6538
  #
6382
6539
  #
6383
- # [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
6384
6541
  # @return [Integer]
6385
6542
  #
6386
6543
  # @!attribute [rw] vpc_config
6387
6544
  # For network connectivity to Amazon Web Services resources in a VPC,
6388
6545
  # specify a list of security groups and subnets in the VPC. When you
6389
- # connect a function to a VPC, it can only access resources and the
6390
- # internet through that VPC. For more information, see [VPC
6391
- # 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].
6392
6549
  #
6393
6550
  #
6394
6551
  #
@@ -6410,19 +6567,19 @@ module Aws::Lambda
6410
6567
  # @return [String]
6411
6568
  #
6412
6569
  # @!attribute [rw] dead_letter_config
6413
- # A dead letter queue configuration that specifies the queue or topic
6570
+ # A dead-letter queue configuration that specifies the queue or topic
6414
6571
  # where Lambda sends asynchronous events when they fail processing.
6415
- # For more information, see [Dead Letter Queues][1].
6572
+ # For more information, see [Dead-letter queues][1].
6416
6573
  #
6417
6574
  #
6418
6575
  #
6419
- # [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
6420
6577
  # @return [Types::DeadLetterConfig]
6421
6578
  #
6422
6579
  # @!attribute [rw] kms_key_arn
6423
- # The ARN of the Amazon Web Services Key Management Service (KMS) key
6424
- # that's used to encrypt your function's environment variables. If
6425
- # 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.
6426
6583
  # @return [String]
6427
6584
  #
6428
6585
  # @!attribute [rw] tracing_config
@@ -6435,7 +6592,7 @@ module Aws::Lambda
6435
6592
  # @return [Types::TracingConfig]
6436
6593
  #
6437
6594
  # @!attribute [rw] revision_id
6438
- # 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
6439
6596
  # specified. Use this option to avoid modifying a function that has
6440
6597
  # changed since you last read it.
6441
6598
  # @return [String]
@@ -6463,10 +6620,18 @@ module Aws::Lambda
6463
6620
  # @return [Types::ImageConfig]
6464
6621
  #
6465
6622
  # @!attribute [rw] ephemeral_storage
6466
- # The size of the functions /tmp directory in MB. The default value
6467
- # 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.
6468
6625
  # @return [Types::EphemeralStorage]
6469
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
+ #
6470
6635
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest AWS API Documentation
6471
6636
  #
6472
6637
  class UpdateFunctionConfigurationRequest < Struct.new(
@@ -6486,7 +6651,8 @@ module Aws::Lambda
6486
6651
  :layers,
6487
6652
  :file_system_configs,
6488
6653
  :image_config,
6489
- :ephemeral_storage)
6654
+ :ephemeral_storage,
6655
+ :snap_start)
6490
6656
  SENSITIVE = []
6491
6657
  include Aws::Structure
6492
6658
  end
@@ -6591,12 +6757,12 @@ module Aws::Lambda
6591
6757
  #
6592
6758
  # **Name formats**
6593
6759
  #
6594
- # * **Function name** - `my-function`.
6760
+ # * **Function name** `my-function`.
6595
6761
  #
6596
- # * **Function ARN** -
6762
+ # * **Function ARN**
6597
6763
  # `arn:aws:lambda:us-west-2:123456789012:function:my-function`.
6598
6764
  #
6599
- # * **Partial ARN** - `123456789012:function:my-function`.
6765
+ # * **Partial ARN** `123456789012:function:my-function`.
6600
6766
  #
6601
6767
  # The length constraint applies only to the full ARN. If you specify
6602
6768
  # only the function name, it is limited to 64 characters in length.
@@ -6608,10 +6774,10 @@ module Aws::Lambda
6608
6774
  #
6609
6775
  # @!attribute [rw] auth_type
6610
6776
  # The type of authentication that your function URL uses. Set to
6611
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
6612
- # users only. Set to `NONE` if you want to bypass IAM authentication
6613
- # to create a public endpoint. For more information, see [ Security
6614
- # 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].
6615
6781
  #
6616
6782
  #
6617
6783
  #
@@ -6648,10 +6814,10 @@ module Aws::Lambda
6648
6814
  #
6649
6815
  # @!attribute [rw] auth_type
6650
6816
  # The type of authentication that your function URL uses. Set to
6651
- # `AWS_IAM` if you want to restrict access to authenticated `IAM`
6652
- # users only. Set to `NONE` if you want to bypass IAM authentication
6653
- # to create a public endpoint. For more information, see [ Security
6654
- # 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].
6655
6821
  #
6656
6822
  #
6657
6823
  #
@@ -6699,7 +6865,8 @@ module Aws::Lambda
6699
6865
  end
6700
6866
 
6701
6867
  # The VPC security groups and subnets that are attached to a Lambda
6702
- # 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].
6703
6870
  #
6704
6871
  #
6705
6872
  #
@@ -6718,7 +6885,7 @@ module Aws::Lambda
6718
6885
  # @return [Array<String>]
6719
6886
  #
6720
6887
  # @!attribute [rw] security_group_ids
6721
- # A list of VPC security groups IDs.
6888
+ # A list of VPC security group IDs.
6722
6889
  # @return [Array<String>]
6723
6890
  #
6724
6891
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig AWS API Documentation
@@ -6738,7 +6905,7 @@ module Aws::Lambda
6738
6905
  # @return [Array<String>]
6739
6906
  #
6740
6907
  # @!attribute [rw] security_group_ids
6741
- # A list of VPC security groups IDs.
6908
+ # A list of VPC security group IDs.
6742
6909
  # @return [Array<String>]
6743
6910
  #
6744
6911
  # @!attribute [rw] vpc_id