aws-sdk-lambda 1.91.0 → 1.92.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +76 -17
- data/lib/aws-sdk-lambda/client_api.rb +14 -1
- data/lib/aws-sdk-lambda/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-lambda/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-lambda/types.rb +97 -20
- data/lib/aws-sdk-lambda.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 902020fa9c22059aff8e83bca22cdcf037176d69be189e34e59b4b82d27ff3e3
|
4
|
+
data.tar.gz: a850ab3ffdff2f44963aecb5a14dcb1e781bb2785fbf5c78583c7edb4e59de93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8056dc6a60ed44fbcd5c6a048279468027c45cb66c3f7cc957f6c510fc690c6576704dcbe9869553b5d9d0391c28127cb129a28cd48f00570eba01531a4a346c
|
7
|
+
data.tar.gz: ba8e434a1eeefc952316b920faa754519a466d2f670cd5e2b6e83512b34abff66dec36a40608e3efd633d32f995203dcbd4d18475fa9402222ba747f3972f48f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.92.0 (2023-02-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the ability to create ESMs with Document DB change streams as event source. For more information see https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html.
|
8
|
+
|
4
9
|
1.91.0 (2023-01-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.92.0
|
@@ -531,9 +531,9 @@ module Aws::Lambda
|
|
531
531
|
#
|
532
532
|
# @option params [String] :function_url_auth_type
|
533
533
|
# The type of authentication that your function URL uses. Set to
|
534
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
535
|
-
#
|
536
|
-
#
|
534
|
+
# `AWS_IAM` if you want to restrict access to authenticated users only.
|
535
|
+
# Set to `NONE` if you want to bypass IAM authentication to create a
|
536
|
+
# public endpoint. For more information, see [Security and auth model
|
537
537
|
# for Lambda function URLs][1].
|
538
538
|
#
|
539
539
|
#
|
@@ -934,6 +934,9 @@ module Aws::Lambda
|
|
934
934
|
#
|
935
935
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
936
936
|
#
|
937
|
+
# @option params [Types::DocumentDBEventSourceConfig] :document_db_event_source_config
|
938
|
+
# Specific configuration settings for a DocumentDB event source.
|
939
|
+
#
|
937
940
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
938
941
|
#
|
939
942
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
@@ -962,6 +965,7 @@ module Aws::Lambda
|
|
962
965
|
# * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
|
963
966
|
# * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
|
964
967
|
# * {Types::EventSourceMappingConfiguration#scaling_config #scaling_config} => Types::ScalingConfig
|
968
|
+
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
|
965
969
|
#
|
966
970
|
# @example Request syntax with placeholder values
|
967
971
|
#
|
@@ -1016,6 +1020,11 @@ module Aws::Lambda
|
|
1016
1020
|
# scaling_config: {
|
1017
1021
|
# maximum_concurrency: 1,
|
1018
1022
|
# },
|
1023
|
+
# document_db_event_source_config: {
|
1024
|
+
# database_name: "DatabaseName",
|
1025
|
+
# collection_name: "CollectionName",
|
1026
|
+
# full_document: "UpdateLookup", # accepts UpdateLookup, Default
|
1027
|
+
# },
|
1019
1028
|
# })
|
1020
1029
|
#
|
1021
1030
|
# @example Response structure
|
@@ -1055,6 +1064,9 @@ module Aws::Lambda
|
|
1055
1064
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
1056
1065
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
1057
1066
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
1067
|
+
# resp.document_db_event_source_config.database_name #=> String
|
1068
|
+
# resp.document_db_event_source_config.collection_name #=> String
|
1069
|
+
# resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
|
1058
1070
|
#
|
1059
1071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
|
1060
1072
|
#
|
@@ -1156,9 +1168,13 @@ module Aws::Lambda
|
|
1156
1168
|
# The identifier of the function's [runtime][1]. Runtime is required if
|
1157
1169
|
# the deployment package is a .zip file archive.
|
1158
1170
|
#
|
1171
|
+
# The following list includes deprecated runtimes. For more information,
|
1172
|
+
# see [Runtime deprecation policy][2].
|
1173
|
+
#
|
1159
1174
|
#
|
1160
1175
|
#
|
1161
1176
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
1177
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
1162
1178
|
#
|
1163
1179
|
# @option params [required, String] :role
|
1164
1180
|
# The Amazon Resource Name (ARN) of the function's execution role.
|
@@ -1232,9 +1248,16 @@ module Aws::Lambda
|
|
1232
1248
|
# execution.
|
1233
1249
|
#
|
1234
1250
|
# @option params [String] :kms_key_arn
|
1235
|
-
# The ARN of the Key Management Service (KMS)
|
1236
|
-
# encrypt your function's environment variables.
|
1237
|
-
# Lambda
|
1251
|
+
# The ARN of the Key Management Service (KMS) customer managed key
|
1252
|
+
# that's used to encrypt your function's [environment variables][1].
|
1253
|
+
# When [Lambda SnapStart][2] is activated, this key is also used to
|
1254
|
+
# encrypt your function's snapshot. If you don't provide a customer
|
1255
|
+
# managed key, Lambda uses a default service key.
|
1256
|
+
#
|
1257
|
+
#
|
1258
|
+
#
|
1259
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
1260
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
1238
1261
|
#
|
1239
1262
|
# @option params [Types::TracingConfig] :tracing_config
|
1240
1263
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
@@ -1484,9 +1507,9 @@ module Aws::Lambda
|
|
1484
1507
|
#
|
1485
1508
|
# @option params [required, String] :auth_type
|
1486
1509
|
# The type of authentication that your function URL uses. Set to
|
1487
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
1488
|
-
#
|
1489
|
-
#
|
1510
|
+
# `AWS_IAM` if you want to restrict access to authenticated users only.
|
1511
|
+
# Set to `NONE` if you want to bypass IAM authentication to create a
|
1512
|
+
# public endpoint. For more information, see [Security and auth model
|
1490
1513
|
# for Lambda function URLs][1].
|
1491
1514
|
#
|
1492
1515
|
#
|
@@ -1657,6 +1680,7 @@ module Aws::Lambda
|
|
1657
1680
|
# * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
|
1658
1681
|
# * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
|
1659
1682
|
# * {Types::EventSourceMappingConfiguration#scaling_config #scaling_config} => Types::ScalingConfig
|
1683
|
+
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
|
1660
1684
|
#
|
1661
1685
|
# @example Request syntax with placeholder values
|
1662
1686
|
#
|
@@ -1701,6 +1725,9 @@ module Aws::Lambda
|
|
1701
1725
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
1702
1726
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
1703
1727
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
1728
|
+
# resp.document_db_event_source_config.database_name #=> String
|
1729
|
+
# resp.document_db_event_source_config.collection_name #=> String
|
1730
|
+
# resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
|
1704
1731
|
#
|
1705
1732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
|
1706
1733
|
#
|
@@ -2139,6 +2166,7 @@ module Aws::Lambda
|
|
2139
2166
|
# * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
|
2140
2167
|
# * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
|
2141
2168
|
# * {Types::EventSourceMappingConfiguration#scaling_config #scaling_config} => Types::ScalingConfig
|
2169
|
+
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
|
2142
2170
|
#
|
2143
2171
|
# @example Request syntax with placeholder values
|
2144
2172
|
#
|
@@ -2183,6 +2211,9 @@ module Aws::Lambda
|
|
2183
2211
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
2184
2212
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
2185
2213
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
2214
|
+
# resp.document_db_event_source_config.database_name #=> String
|
2215
|
+
# resp.document_db_event_source_config.collection_name #=> String
|
2216
|
+
# resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
|
2186
2217
|
#
|
2187
2218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
|
2188
2219
|
#
|
@@ -2969,11 +3000,12 @@ module Aws::Lambda
|
|
2969
3000
|
#
|
2970
3001
|
# * {Types::GetRuntimeManagementConfigResponse#update_runtime_on #update_runtime_on} => String
|
2971
3002
|
# * {Types::GetRuntimeManagementConfigResponse#runtime_version_arn #runtime_version_arn} => String
|
3003
|
+
# * {Types::GetRuntimeManagementConfigResponse#function_arn #function_arn} => String
|
2972
3004
|
#
|
2973
3005
|
# @example Request syntax with placeholder values
|
2974
3006
|
#
|
2975
3007
|
# resp = client.get_runtime_management_config({
|
2976
|
-
# function_name: "
|
3008
|
+
# function_name: "NamespacedFunctionName", # required
|
2977
3009
|
# qualifier: "Qualifier",
|
2978
3010
|
# })
|
2979
3011
|
#
|
@@ -2981,6 +3013,7 @@ module Aws::Lambda
|
|
2981
3013
|
#
|
2982
3014
|
# resp.update_runtime_on #=> String, one of "Auto", "Manual", "FunctionUpdate"
|
2983
3015
|
# resp.runtime_version_arn #=> String
|
3016
|
+
# resp.function_arn #=> String
|
2984
3017
|
#
|
2985
3018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfig AWS API Documentation
|
2986
3019
|
#
|
@@ -3395,6 +3428,9 @@ module Aws::Lambda
|
|
3395
3428
|
# resp.event_source_mappings[0].amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
3396
3429
|
# resp.event_source_mappings[0].self_managed_kafka_event_source_config.consumer_group_id #=> String
|
3397
3430
|
# resp.event_source_mappings[0].scaling_config.maximum_concurrency #=> Integer
|
3431
|
+
# resp.event_source_mappings[0].document_db_event_source_config.database_name #=> String
|
3432
|
+
# resp.event_source_mappings[0].document_db_event_source_config.collection_name #=> String
|
3433
|
+
# resp.event_source_mappings[0].document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
|
3398
3434
|
#
|
3399
3435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
|
3400
3436
|
#
|
@@ -5176,6 +5212,9 @@ module Aws::Lambda
|
|
5176
5212
|
#
|
5177
5213
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
5178
5214
|
#
|
5215
|
+
# @option params [Types::DocumentDBEventSourceConfig] :document_db_event_source_config
|
5216
|
+
# Specific configuration settings for a DocumentDB event source.
|
5217
|
+
#
|
5179
5218
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5180
5219
|
#
|
5181
5220
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
@@ -5204,6 +5243,7 @@ module Aws::Lambda
|
|
5204
5243
|
# * {Types::EventSourceMappingConfiguration#amazon_managed_kafka_event_source_config #amazon_managed_kafka_event_source_config} => Types::AmazonManagedKafkaEventSourceConfig
|
5205
5244
|
# * {Types::EventSourceMappingConfiguration#self_managed_kafka_event_source_config #self_managed_kafka_event_source_config} => Types::SelfManagedKafkaEventSourceConfig
|
5206
5245
|
# * {Types::EventSourceMappingConfiguration#scaling_config #scaling_config} => Types::ScalingConfig
|
5246
|
+
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
|
5207
5247
|
#
|
5208
5248
|
# @example Request syntax with placeholder values
|
5209
5249
|
#
|
@@ -5243,6 +5283,11 @@ module Aws::Lambda
|
|
5243
5283
|
# scaling_config: {
|
5244
5284
|
# maximum_concurrency: 1,
|
5245
5285
|
# },
|
5286
|
+
# document_db_event_source_config: {
|
5287
|
+
# database_name: "DatabaseName",
|
5288
|
+
# collection_name: "CollectionName",
|
5289
|
+
# full_document: "UpdateLookup", # accepts UpdateLookup, Default
|
5290
|
+
# },
|
5246
5291
|
# })
|
5247
5292
|
#
|
5248
5293
|
# @example Response structure
|
@@ -5282,6 +5327,9 @@ module Aws::Lambda
|
|
5282
5327
|
# resp.amazon_managed_kafka_event_source_config.consumer_group_id #=> String
|
5283
5328
|
# resp.self_managed_kafka_event_source_config.consumer_group_id #=> String
|
5284
5329
|
# resp.scaling_config.maximum_concurrency #=> Integer
|
5330
|
+
# resp.document_db_event_source_config.database_name #=> String
|
5331
|
+
# resp.document_db_event_source_config.collection_name #=> String
|
5332
|
+
# resp.document_db_event_source_config.full_document #=> String, one of "UpdateLookup", "Default"
|
5285
5333
|
#
|
5286
5334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
|
5287
5335
|
#
|
@@ -5597,9 +5645,13 @@ module Aws::Lambda
|
|
5597
5645
|
# The identifier of the function's [runtime][1]. Runtime is required if
|
5598
5646
|
# the deployment package is a .zip file archive.
|
5599
5647
|
#
|
5648
|
+
# The following list includes deprecated runtimes. For more information,
|
5649
|
+
# see [Runtime deprecation policy][2].
|
5650
|
+
#
|
5600
5651
|
#
|
5601
5652
|
#
|
5602
5653
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
5654
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
5603
5655
|
#
|
5604
5656
|
# @option params [Types::DeadLetterConfig] :dead_letter_config
|
5605
5657
|
# A dead-letter queue configuration that specifies the queue or topic
|
@@ -5611,9 +5663,16 @@ module Aws::Lambda
|
|
5611
5663
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq
|
5612
5664
|
#
|
5613
5665
|
# @option params [String] :kms_key_arn
|
5614
|
-
# The ARN of the Key Management Service (KMS)
|
5615
|
-
# encrypt your function's environment variables.
|
5616
|
-
# Lambda
|
5666
|
+
# The ARN of the Key Management Service (KMS) customer managed key
|
5667
|
+
# that's used to encrypt your function's [environment variables][1].
|
5668
|
+
# When [Lambda SnapStart][2] is activated, this key is also used to
|
5669
|
+
# encrypt your function's snapshot. If you don't provide a customer
|
5670
|
+
# managed key, Lambda uses a default service key.
|
5671
|
+
#
|
5672
|
+
#
|
5673
|
+
#
|
5674
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
5675
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
5617
5676
|
#
|
5618
5677
|
# @option params [Types::TracingConfig] :tracing_config
|
5619
5678
|
# Set `Mode` to `Active` to sample and trace a subset of incoming
|
@@ -5926,9 +5985,9 @@ module Aws::Lambda
|
|
5926
5985
|
#
|
5927
5986
|
# @option params [String] :auth_type
|
5928
5987
|
# The type of authentication that your function URL uses. Set to
|
5929
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
5930
|
-
#
|
5931
|
-
#
|
5988
|
+
# `AWS_IAM` if you want to restrict access to authenticated users only.
|
5989
|
+
# Set to `NONE` if you want to bypass IAM authentication to create a
|
5990
|
+
# public endpoint. For more information, see [Security and auth model
|
5932
5991
|
# for Lambda function URLs][1].
|
5933
5992
|
#
|
5934
5993
|
#
|
@@ -6008,7 +6067,7 @@ module Aws::Lambda
|
|
6008
6067
|
params: params,
|
6009
6068
|
config: config)
|
6010
6069
|
context[:gem_name] = 'aws-sdk-lambda'
|
6011
|
-
context[:gem_version] = '1.
|
6070
|
+
context[:gem_version] = '1.92.0'
|
6012
6071
|
Seahorse::Client::Request.new(handlers, context)
|
6013
6072
|
end
|
6014
6073
|
|
@@ -48,6 +48,7 @@ module Aws::Lambda
|
|
48
48
|
CodeSigningPolicy = Shapes::StringShape.new(name: 'CodeSigningPolicy')
|
49
49
|
CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
|
50
50
|
CodeVerificationFailedException = Shapes::StructureShape.new(name: 'CodeVerificationFailedException')
|
51
|
+
CollectionName = Shapes::StringShape.new(name: 'CollectionName')
|
51
52
|
CompatibleArchitectures = Shapes::ListShape.new(name: 'CompatibleArchitectures')
|
52
53
|
CompatibleRuntimes = Shapes::ListShape.new(name: 'CompatibleRuntimes')
|
53
54
|
Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
|
@@ -59,6 +60,7 @@ module Aws::Lambda
|
|
59
60
|
CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
|
60
61
|
CreateFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigRequest')
|
61
62
|
CreateFunctionUrlConfigResponse = Shapes::StructureShape.new(name: 'CreateFunctionUrlConfigResponse')
|
63
|
+
DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
|
62
64
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
63
65
|
DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
|
64
66
|
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
@@ -75,6 +77,7 @@ module Aws::Lambda
|
|
75
77
|
Description = Shapes::StringShape.new(name: 'Description')
|
76
78
|
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
|
77
79
|
DestinationConfig = Shapes::StructureShape.new(name: 'DestinationConfig')
|
80
|
+
DocumentDBEventSourceConfig = Shapes::StructureShape.new(name: 'DocumentDBEventSourceConfig')
|
78
81
|
EC2AccessDeniedException = Shapes::StructureShape.new(name: 'EC2AccessDeniedException')
|
79
82
|
EC2ThrottledException = Shapes::StructureShape.new(name: 'EC2ThrottledException')
|
80
83
|
EC2UnexpectedException = Shapes::StructureShape.new(name: 'EC2UnexpectedException')
|
@@ -106,6 +109,7 @@ module Aws::Lambda
|
|
106
109
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
107
110
|
FilterCriteria = Shapes::StructureShape.new(name: 'FilterCriteria')
|
108
111
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
112
|
+
FullDocument = Shapes::StringShape.new(name: 'FullDocument')
|
109
113
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
110
114
|
FunctionArnList = Shapes::ListShape.new(name: 'FunctionArnList')
|
111
115
|
FunctionCode = Shapes::StructureShape.new(name: 'FunctionCode')
|
@@ -496,6 +500,7 @@ module Aws::Lambda
|
|
496
500
|
CreateEventSourceMappingRequest.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
|
497
501
|
CreateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
498
502
|
CreateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
503
|
+
CreateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
499
504
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
500
505
|
|
501
506
|
CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
@@ -581,6 +586,11 @@ module Aws::Lambda
|
|
581
586
|
DestinationConfig.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure"))
|
582
587
|
DestinationConfig.struct_class = Types::DestinationConfig
|
583
588
|
|
589
|
+
DocumentDBEventSourceConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, location_name: "DatabaseName"))
|
590
|
+
DocumentDBEventSourceConfig.add_member(:collection_name, Shapes::ShapeRef.new(shape: CollectionName, location_name: "CollectionName"))
|
591
|
+
DocumentDBEventSourceConfig.add_member(:full_document, Shapes::ShapeRef.new(shape: FullDocument, location_name: "FullDocument"))
|
592
|
+
DocumentDBEventSourceConfig.struct_class = Types::DocumentDBEventSourceConfig
|
593
|
+
|
584
594
|
EC2AccessDeniedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
585
595
|
EC2AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
586
596
|
EC2AccessDeniedException.struct_class = Types::EC2AccessDeniedException
|
@@ -662,6 +672,7 @@ module Aws::Lambda
|
|
662
672
|
EventSourceMappingConfiguration.add_member(:amazon_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: AmazonManagedKafkaEventSourceConfig, location_name: "AmazonManagedKafkaEventSourceConfig"))
|
663
673
|
EventSourceMappingConfiguration.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
664
674
|
EventSourceMappingConfiguration.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
675
|
+
EventSourceMappingConfiguration.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
665
676
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
666
677
|
|
667
678
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
@@ -863,12 +874,13 @@ module Aws::Lambda
|
|
863
874
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
864
875
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
865
876
|
|
866
|
-
GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape:
|
877
|
+
GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
867
878
|
GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
868
879
|
GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
|
869
880
|
|
870
881
|
GetRuntimeManagementConfigResponse.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, location_name: "UpdateRuntimeOn"))
|
871
882
|
GetRuntimeManagementConfigResponse.add_member(:runtime_version_arn, Shapes::ShapeRef.new(shape: RuntimeVersionArn, location_name: "RuntimeVersionArn"))
|
883
|
+
GetRuntimeManagementConfigResponse.add_member(:function_arn, Shapes::ShapeRef.new(shape: NameSpacedFunctionArn, location_name: "FunctionArn"))
|
872
884
|
GetRuntimeManagementConfigResponse.struct_class = Types::GetRuntimeManagementConfigResponse
|
873
885
|
|
874
886
|
HeadersList.member = Shapes::ShapeRef.new(shape: Header)
|
@@ -1361,6 +1373,7 @@ module Aws::Lambda
|
|
1361
1373
|
UpdateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
1362
1374
|
UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
1363
1375
|
UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
1376
|
+
UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
1364
1377
|
UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
|
1365
1378
|
|
1366
1379
|
UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -50,9 +50,6 @@ module Aws::Lambda
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::Lambda
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lambda.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -214,7 +214,7 @@ module Aws::Lambda
|
|
214
214
|
#
|
215
215
|
# @!attribute [rw] function_url_auth_type
|
216
216
|
# The type of authentication that your function URL uses. Set to
|
217
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
217
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
218
218
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
219
219
|
# create a public endpoint. For more information, see [Security and
|
220
220
|
# auth model for Lambda function URLs][1].
|
@@ -823,6 +823,10 @@ module Aws::Lambda
|
|
823
823
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
824
824
|
# @return [Types::ScalingConfig]
|
825
825
|
#
|
826
|
+
# @!attribute [rw] document_db_event_source_config
|
827
|
+
# Specific configuration settings for a DocumentDB event source.
|
828
|
+
# @return [Types::DocumentDBEventSourceConfig]
|
829
|
+
#
|
826
830
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest AWS API Documentation
|
827
831
|
#
|
828
832
|
class CreateEventSourceMappingRequest < Struct.new(
|
@@ -847,7 +851,8 @@ module Aws::Lambda
|
|
847
851
|
:function_response_types,
|
848
852
|
:amazon_managed_kafka_event_source_config,
|
849
853
|
:self_managed_kafka_event_source_config,
|
850
|
-
:scaling_config
|
854
|
+
:scaling_config,
|
855
|
+
:document_db_event_source_config)
|
851
856
|
SENSITIVE = []
|
852
857
|
include Aws::Structure
|
853
858
|
end
|
@@ -872,9 +877,13 @@ module Aws::Lambda
|
|
872
877
|
# The identifier of the function's [runtime][1]. Runtime is required
|
873
878
|
# if the deployment package is a .zip file archive.
|
874
879
|
#
|
880
|
+
# The following list includes deprecated runtimes. For more
|
881
|
+
# information, see [Runtime deprecation policy][2].
|
882
|
+
#
|
875
883
|
#
|
876
884
|
#
|
877
885
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
886
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
878
887
|
# @return [String]
|
879
888
|
#
|
880
889
|
# @!attribute [rw] role
|
@@ -960,9 +969,16 @@ module Aws::Lambda
|
|
960
969
|
# @return [Types::Environment]
|
961
970
|
#
|
962
971
|
# @!attribute [rw] kms_key_arn
|
963
|
-
# The ARN of the Key Management Service (KMS)
|
964
|
-
# encrypt your function's environment variables.
|
965
|
-
#
|
972
|
+
# The ARN of the Key Management Service (KMS) customer managed key
|
973
|
+
# that's used to encrypt your function's [environment variables][1].
|
974
|
+
# When [Lambda SnapStart][2] is activated, this key is also used to
|
975
|
+
# encrypt your function's snapshot. If you don't provide a customer
|
976
|
+
# managed key, Lambda uses a default service key.
|
977
|
+
#
|
978
|
+
#
|
979
|
+
#
|
980
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
981
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
966
982
|
# @return [String]
|
967
983
|
#
|
968
984
|
# @!attribute [rw] tracing_config
|
@@ -1082,7 +1098,7 @@ module Aws::Lambda
|
|
1082
1098
|
#
|
1083
1099
|
# @!attribute [rw] auth_type
|
1084
1100
|
# The type of authentication that your function URL uses. Set to
|
1085
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
1101
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
1086
1102
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
1087
1103
|
# create a public endpoint. For more information, see [Security and
|
1088
1104
|
# auth model for Lambda function URLs][1].
|
@@ -1122,7 +1138,7 @@ module Aws::Lambda
|
|
1122
1138
|
#
|
1123
1139
|
# @!attribute [rw] auth_type
|
1124
1140
|
# The type of authentication that your function URL uses. Set to
|
1125
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
1141
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
1126
1142
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
1127
1143
|
# create a public endpoint. For more information, see [Security and
|
1128
1144
|
# auth model for Lambda function URLs][1].
|
@@ -1445,6 +1461,35 @@ module Aws::Lambda
|
|
1445
1461
|
include Aws::Structure
|
1446
1462
|
end
|
1447
1463
|
|
1464
|
+
# Specific configuration settings for a DocumentDB event source.
|
1465
|
+
#
|
1466
|
+
# @!attribute [rw] database_name
|
1467
|
+
# The name of the database to consume within the DocumentDB cluster.
|
1468
|
+
# @return [String]
|
1469
|
+
#
|
1470
|
+
# @!attribute [rw] collection_name
|
1471
|
+
# The name of the collection to consume within the database. If you do
|
1472
|
+
# not specify a collection, Lambda consumes all collections.
|
1473
|
+
# @return [String]
|
1474
|
+
#
|
1475
|
+
# @!attribute [rw] full_document
|
1476
|
+
# Determines what DocumentDB sends to your event stream during
|
1477
|
+
# document update operations. If set to UpdateLookup, DocumentDB sends
|
1478
|
+
# a delta describing the changes, along with a copy of the entire
|
1479
|
+
# document. Otherwise, DocumentDB sends only a partial document that
|
1480
|
+
# contains the changes.
|
1481
|
+
# @return [String]
|
1482
|
+
#
|
1483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DocumentDBEventSourceConfig AWS API Documentation
|
1484
|
+
#
|
1485
|
+
class DocumentDBEventSourceConfig < Struct.new(
|
1486
|
+
:database_name,
|
1487
|
+
:collection_name,
|
1488
|
+
:full_document)
|
1489
|
+
SENSITIVE = []
|
1490
|
+
include Aws::Structure
|
1491
|
+
end
|
1492
|
+
|
1448
1493
|
# Need additional permissions to configure VPC settings.
|
1449
1494
|
#
|
1450
1495
|
# @!attribute [rw] type
|
@@ -1839,6 +1884,10 @@ module Aws::Lambda
|
|
1839
1884
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
1840
1885
|
# @return [Types::ScalingConfig]
|
1841
1886
|
#
|
1887
|
+
# @!attribute [rw] document_db_event_source_config
|
1888
|
+
# Specific configuration settings for a DocumentDB event source.
|
1889
|
+
# @return [Types::DocumentDBEventSourceConfig]
|
1890
|
+
#
|
1842
1891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
1843
1892
|
#
|
1844
1893
|
class EventSourceMappingConfiguration < Struct.new(
|
@@ -1867,7 +1916,8 @@ module Aws::Lambda
|
|
1867
1916
|
:function_response_types,
|
1868
1917
|
:amazon_managed_kafka_event_source_config,
|
1869
1918
|
:self_managed_kafka_event_source_config,
|
1870
|
-
:scaling_config
|
1919
|
+
:scaling_config,
|
1920
|
+
:document_db_event_source_config)
|
1871
1921
|
SENSITIVE = []
|
1872
1922
|
include Aws::Structure
|
1873
1923
|
end
|
@@ -2079,9 +2129,15 @@ module Aws::Lambda
|
|
2079
2129
|
# @return [Types::EnvironmentResponse]
|
2080
2130
|
#
|
2081
2131
|
# @!attribute [rw] kms_key_arn
|
2082
|
-
# The KMS key that's used to encrypt the function's environment
|
2083
|
-
# variables.
|
2084
|
-
#
|
2132
|
+
# The KMS key that's used to encrypt the function's [environment
|
2133
|
+
# variables][1]. When [Lambda SnapStart][2] is activated, this key is
|
2134
|
+
# also used to encrypt the function's snapshot. This key is returned
|
2135
|
+
# only if you've configured a customer managed key.
|
2136
|
+
#
|
2137
|
+
#
|
2138
|
+
#
|
2139
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
2140
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
2085
2141
|
# @return [String]
|
2086
2142
|
#
|
2087
2143
|
# @!attribute [rw] tracing_config
|
@@ -2310,7 +2366,7 @@ module Aws::Lambda
|
|
2310
2366
|
#
|
2311
2367
|
# @!attribute [rw] auth_type
|
2312
2368
|
# The type of authentication that your function URL uses. Set to
|
2313
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
2369
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
2314
2370
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
2315
2371
|
# create a public endpoint. For more information, see [Security and
|
2316
2372
|
# auth model for Lambda function URLs][1].
|
@@ -2682,7 +2738,7 @@ module Aws::Lambda
|
|
2682
2738
|
#
|
2683
2739
|
# @!attribute [rw] auth_type
|
2684
2740
|
# The type of authentication that your function URL uses. Set to
|
2685
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
2741
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
2686
2742
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
2687
2743
|
# create a public endpoint. For more information, see [Security and
|
2688
2744
|
# auth model for Lambda function URLs][1].
|
@@ -3020,11 +3076,16 @@ module Aws::Lambda
|
|
3020
3076
|
# `null` is returned.
|
3021
3077
|
# @return [String]
|
3022
3078
|
#
|
3079
|
+
# @!attribute [rw] function_arn
|
3080
|
+
# The Amazon Resource Name (ARN) of your function.
|
3081
|
+
# @return [String]
|
3082
|
+
#
|
3023
3083
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfigResponse AWS API Documentation
|
3024
3084
|
#
|
3025
3085
|
class GetRuntimeManagementConfigResponse < Struct.new(
|
3026
3086
|
:update_runtime_on,
|
3027
|
-
:runtime_version_arn
|
3087
|
+
:runtime_version_arn,
|
3088
|
+
:function_arn)
|
3028
3089
|
SENSITIVE = []
|
3029
3090
|
include Aws::Structure
|
3030
3091
|
end
|
@@ -5695,6 +5756,10 @@ module Aws::Lambda
|
|
5695
5756
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
5696
5757
|
# @return [Types::ScalingConfig]
|
5697
5758
|
#
|
5759
|
+
# @!attribute [rw] document_db_event_source_config
|
5760
|
+
# Specific configuration settings for a DocumentDB event source.
|
5761
|
+
# @return [Types::DocumentDBEventSourceConfig]
|
5762
|
+
#
|
5698
5763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
5699
5764
|
#
|
5700
5765
|
class UpdateEventSourceMappingRequest < Struct.new(
|
@@ -5712,7 +5777,8 @@ module Aws::Lambda
|
|
5712
5777
|
:source_access_configurations,
|
5713
5778
|
:tumbling_window_in_seconds,
|
5714
5779
|
:function_response_types,
|
5715
|
-
:scaling_config
|
5780
|
+
:scaling_config,
|
5781
|
+
:document_db_event_source_config)
|
5716
5782
|
SENSITIVE = []
|
5717
5783
|
include Aws::Structure
|
5718
5784
|
end
|
@@ -5879,9 +5945,13 @@ module Aws::Lambda
|
|
5879
5945
|
# The identifier of the function's [runtime][1]. Runtime is required
|
5880
5946
|
# if the deployment package is a .zip file archive.
|
5881
5947
|
#
|
5948
|
+
# The following list includes deprecated runtimes. For more
|
5949
|
+
# information, see [Runtime deprecation policy][2].
|
5950
|
+
#
|
5882
5951
|
#
|
5883
5952
|
#
|
5884
5953
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
5954
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
|
5885
5955
|
# @return [String]
|
5886
5956
|
#
|
5887
5957
|
# @!attribute [rw] dead_letter_config
|
@@ -5895,9 +5965,16 @@ module Aws::Lambda
|
|
5895
5965
|
# @return [Types::DeadLetterConfig]
|
5896
5966
|
#
|
5897
5967
|
# @!attribute [rw] kms_key_arn
|
5898
|
-
# The ARN of the Key Management Service (KMS)
|
5899
|
-
# encrypt your function's environment variables.
|
5900
|
-
#
|
5968
|
+
# The ARN of the Key Management Service (KMS) customer managed key
|
5969
|
+
# that's used to encrypt your function's [environment variables][1].
|
5970
|
+
# When [Lambda SnapStart][2] is activated, this key is also used to
|
5971
|
+
# encrypt your function's snapshot. If you don't provide a customer
|
5972
|
+
# managed key, Lambda uses a default service key.
|
5973
|
+
#
|
5974
|
+
#
|
5975
|
+
#
|
5976
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
|
5977
|
+
# [2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
|
5901
5978
|
# @return [String]
|
5902
5979
|
#
|
5903
5980
|
# @!attribute [rw] tracing_config
|
@@ -6057,7 +6134,7 @@ module Aws::Lambda
|
|
6057
6134
|
#
|
6058
6135
|
# @!attribute [rw] auth_type
|
6059
6136
|
# The type of authentication that your function URL uses. Set to
|
6060
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
6137
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
6061
6138
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
6062
6139
|
# create a public endpoint. For more information, see [Security and
|
6063
6140
|
# auth model for Lambda function URLs][1].
|
@@ -6097,7 +6174,7 @@ module Aws::Lambda
|
|
6097
6174
|
#
|
6098
6175
|
# @!attribute [rw] auth_type
|
6099
6176
|
# The type of authentication that your function URL uses. Set to
|
6100
|
-
# `AWS_IAM` if you want to restrict access to authenticated
|
6177
|
+
# `AWS_IAM` if you want to restrict access to authenticated users
|
6101
6178
|
# only. Set to `NONE` if you want to bypass IAM authentication to
|
6102
6179
|
# create a public endpoint. For more information, see [Security and
|
6103
6180
|
# auth model for Lambda function URLs][1].
|
data/lib/aws-sdk-lambda.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.92.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|