aws-sdk-lambda 1.151.0 → 1.160.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +214 -68
- data/lib/aws-sdk-lambda/client_api.rb +235 -204
- data/lib/aws-sdk-lambda/types.rb +147 -44
- data/lib/aws-sdk-lambda/waiters.rb +18 -18
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +69 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +23 -0
- metadata +4 -4
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -350,10 +350,15 @@ module Aws::Lambda
|
|
350
350
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
|
351
351
|
# @return [String]
|
352
352
|
#
|
353
|
+
# @!attribute [rw] schema_registry_config
|
354
|
+
# Specific configuration settings for a Kafka schema registry.
|
355
|
+
# @return [Types::KafkaSchemaRegistryConfig]
|
356
|
+
#
|
353
357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AmazonManagedKafkaEventSourceConfig AWS API Documentation
|
354
358
|
#
|
355
359
|
class AmazonManagedKafkaEventSourceConfig < Struct.new(
|
356
|
-
:consumer_group_id
|
360
|
+
:consumer_group_id,
|
361
|
+
:schema_registry_config)
|
357
362
|
SENSITIVE = []
|
358
363
|
include Aws::Structure
|
359
364
|
end
|
@@ -1226,12 +1231,7 @@ module Aws::Lambda
|
|
1226
1231
|
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
1227
1232
|
# become available. Lambda invokes your function using the
|
1228
1233
|
# `InvokeWithResponseStream` API operation. The maximum response
|
1229
|
-
# payload size is
|
1230
|
-
# increase][1].
|
1231
|
-
#
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
1234
|
+
# payload size is 200 MB.
|
1235
1235
|
# @return [String]
|
1236
1236
|
#
|
1237
1237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigRequest AWS API Documentation
|
@@ -1295,12 +1295,7 @@ module Aws::Lambda
|
|
1295
1295
|
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
1296
1296
|
# become available. Lambda invokes your function using the
|
1297
1297
|
# `InvokeWithResponseStream` API operation. The maximum response
|
1298
|
-
# payload size is
|
1299
|
-
# increase][1].
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
1298
|
+
# payload size is 200 MB.
|
1304
1299
|
# @return [String]
|
1305
1300
|
#
|
1306
1301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfigResponse AWS API Documentation
|
@@ -1320,7 +1315,7 @@ module Aws::Lambda
|
|
1320
1315
|
#
|
1321
1316
|
#
|
1322
1317
|
#
|
1323
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq
|
1318
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq
|
1324
1319
|
#
|
1325
1320
|
# @!attribute [rw] target_arn
|
1326
1321
|
# The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
|
@@ -1580,10 +1575,17 @@ module Aws::Lambda
|
|
1580
1575
|
end
|
1581
1576
|
|
1582
1577
|
# A configuration object that specifies the destination of an event
|
1583
|
-
# after Lambda processes it.
|
1578
|
+
# after Lambda processes it. For more information, see [Adding a
|
1579
|
+
# destination][1].
|
1580
|
+
#
|
1581
|
+
#
|
1582
|
+
#
|
1583
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
|
1584
1584
|
#
|
1585
1585
|
# @!attribute [rw] on_success
|
1586
|
-
# The destination configuration for successful invocations.
|
1586
|
+
# The destination configuration for successful invocations. Not
|
1587
|
+
# supported in `CreateEventSourceMapping` or
|
1588
|
+
# `UpdateEventSourceMapping`.
|
1587
1589
|
# @return [Types::OnSuccess]
|
1588
1590
|
#
|
1589
1591
|
# @!attribute [rw] on_failure
|
@@ -1951,7 +1953,7 @@ module Aws::Lambda
|
|
1951
1953
|
# @return [Time]
|
1952
1954
|
#
|
1953
1955
|
# @!attribute [rw] last_processing_result
|
1954
|
-
# The result of the
|
1956
|
+
# The result of the event source mapping's last processing attempt.
|
1955
1957
|
# @return [String]
|
1956
1958
|
#
|
1957
1959
|
# @!attribute [rw] state
|
@@ -2716,12 +2718,7 @@ module Aws::Lambda
|
|
2716
2718
|
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
2717
2719
|
# become available. Lambda invokes your function using the
|
2718
2720
|
# `InvokeWithResponseStream` API operation. The maximum response
|
2719
|
-
# payload size is
|
2720
|
-
# increase][1].
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
#
|
2724
|
-
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
2721
|
+
# payload size is 200 MB.
|
2725
2722
|
# @return [String]
|
2726
2723
|
#
|
2727
2724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionUrlConfig AWS API Documentation
|
@@ -3177,12 +3174,7 @@ module Aws::Lambda
|
|
3177
3174
|
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
3178
3175
|
# become available. Lambda invokes your function using the
|
3179
3176
|
# `InvokeWithResponseStream` API operation. The maximum response
|
3180
|
-
# payload size is
|
3181
|
-
# increase][1].
|
3182
|
-
#
|
3183
|
-
#
|
3184
|
-
#
|
3185
|
-
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
3177
|
+
# payload size is 200 MB.
|
3186
3178
|
# @return [String]
|
3187
3179
|
#
|
3188
3180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfigResponse AWS API Documentation
|
@@ -4071,6 +4063,100 @@ module Aws::Lambda
|
|
4071
4063
|
include Aws::Structure
|
4072
4064
|
end
|
4073
4065
|
|
4066
|
+
# Specific access configuration settings that tell Lambda how to
|
4067
|
+
# authenticate with your schema registry.
|
4068
|
+
#
|
4069
|
+
# If you're working with an Glue schema registry, don't provide
|
4070
|
+
# authentication details in this object. Instead, ensure that your
|
4071
|
+
# execution role has the required permissions for Lambda to access your
|
4072
|
+
# cluster.
|
4073
|
+
#
|
4074
|
+
# If you're working with a Confluent schema registry, choose the
|
4075
|
+
# authentication method in the `Type` field, and provide the Secrets
|
4076
|
+
# Manager secret ARN in the `URI` field.
|
4077
|
+
#
|
4078
|
+
# @!attribute [rw] type
|
4079
|
+
# The type of authentication Lambda uses to access your schema
|
4080
|
+
# registry.
|
4081
|
+
# @return [String]
|
4082
|
+
#
|
4083
|
+
# @!attribute [rw] uri
|
4084
|
+
# The URI of the secret (Secrets Manager secret ARN) to authenticate
|
4085
|
+
# with your schema registry.
|
4086
|
+
# @return [String]
|
4087
|
+
#
|
4088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KafkaSchemaRegistryAccessConfig AWS API Documentation
|
4089
|
+
#
|
4090
|
+
class KafkaSchemaRegistryAccessConfig < Struct.new(
|
4091
|
+
:type,
|
4092
|
+
:uri)
|
4093
|
+
SENSITIVE = []
|
4094
|
+
include Aws::Structure
|
4095
|
+
end
|
4096
|
+
|
4097
|
+
# Specific configuration settings for a Kafka schema registry.
|
4098
|
+
#
|
4099
|
+
# @!attribute [rw] schema_registry_uri
|
4100
|
+
# The URI for your schema registry. The correct URI format depends on
|
4101
|
+
# the type of schema registry you're using.
|
4102
|
+
#
|
4103
|
+
# * For Glue schema registries, use the ARN of the registry.
|
4104
|
+
#
|
4105
|
+
# * For Confluent schema registries, use the URL of the registry.
|
4106
|
+
# @return [String]
|
4107
|
+
#
|
4108
|
+
# @!attribute [rw] event_record_format
|
4109
|
+
# The record format that Lambda delivers to your function after schema
|
4110
|
+
# validation.
|
4111
|
+
#
|
4112
|
+
# * Choose `JSON` to have Lambda deliver the record to your function
|
4113
|
+
# as a standard JSON object.
|
4114
|
+
#
|
4115
|
+
# * Choose `SOURCE` to have Lambda deliver the record to your function
|
4116
|
+
# in its original source format. Lambda removes all schema metadata,
|
4117
|
+
# such as the schema ID, before sending the record to your function.
|
4118
|
+
# @return [String]
|
4119
|
+
#
|
4120
|
+
# @!attribute [rw] access_configs
|
4121
|
+
# An array of access configuration objects that tell Lambda how to
|
4122
|
+
# authenticate with your schema registry.
|
4123
|
+
# @return [Array<Types::KafkaSchemaRegistryAccessConfig>]
|
4124
|
+
#
|
4125
|
+
# @!attribute [rw] schema_validation_configs
|
4126
|
+
# An array of schema validation configuration objects, which tell
|
4127
|
+
# Lambda the message attributes you want to validate and filter using
|
4128
|
+
# your schema registry.
|
4129
|
+
# @return [Array<Types::KafkaSchemaValidationConfig>]
|
4130
|
+
#
|
4131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KafkaSchemaRegistryConfig AWS API Documentation
|
4132
|
+
#
|
4133
|
+
class KafkaSchemaRegistryConfig < Struct.new(
|
4134
|
+
:schema_registry_uri,
|
4135
|
+
:event_record_format,
|
4136
|
+
:access_configs,
|
4137
|
+
:schema_validation_configs)
|
4138
|
+
SENSITIVE = []
|
4139
|
+
include Aws::Structure
|
4140
|
+
end
|
4141
|
+
|
4142
|
+
# Specific schema validation configuration settings that tell Lambda the
|
4143
|
+
# message attributes you want to validate and filter using your schema
|
4144
|
+
# registry.
|
4145
|
+
#
|
4146
|
+
# @!attribute [rw] attribute
|
4147
|
+
# The attributes you want your schema registry to validate and filter
|
4148
|
+
# for. If you selected `JSON` as the `EventRecordFormat`, Lambda also
|
4149
|
+
# deserializes the selected message attributes.
|
4150
|
+
# @return [String]
|
4151
|
+
#
|
4152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/KafkaSchemaValidationConfig AWS API Documentation
|
4153
|
+
#
|
4154
|
+
class KafkaSchemaValidationConfig < Struct.new(
|
4155
|
+
:attribute)
|
4156
|
+
SENSITIVE = []
|
4157
|
+
include Aws::Structure
|
4158
|
+
end
|
4159
|
+
|
4074
4160
|
# An [Lambda layer][1].
|
4075
4161
|
#
|
4076
4162
|
#
|
@@ -4944,7 +5030,12 @@ module Aws::Lambda
|
|
4944
5030
|
include Aws::Structure
|
4945
5031
|
end
|
4946
5032
|
|
4947
|
-
# A destination for events that failed processing.
|
5033
|
+
# A destination for events that failed processing. For more information,
|
5034
|
+
# see [Adding a destination][1].
|
5035
|
+
#
|
5036
|
+
#
|
5037
|
+
#
|
5038
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations
|
4948
5039
|
#
|
4949
5040
|
# @!attribute [rw] destination
|
4950
5041
|
# The Amazon Resource Name (ARN) of the destination resource.
|
@@ -4982,6 +5073,11 @@ module Aws::Lambda
|
|
4982
5073
|
# configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or
|
4983
5074
|
# Amazon EventBridge event bus as the destination.
|
4984
5075
|
#
|
5076
|
+
# <note markdown="1"> `OnSuccess` is not supported in `CreateEventSourceMapping` or
|
5077
|
+
# `UpdateEventSourceMapping` requests.
|
5078
|
+
#
|
5079
|
+
# </note>
|
5080
|
+
#
|
4985
5081
|
#
|
4986
5082
|
#
|
4987
5083
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations
|
@@ -6008,13 +6104,18 @@ module Aws::Lambda
|
|
6008
6104
|
#
|
6009
6105
|
#
|
6010
6106
|
#
|
6011
|
-
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-
|
6107
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add
|
6012
6108
|
# @return [String]
|
6013
6109
|
#
|
6110
|
+
# @!attribute [rw] schema_registry_config
|
6111
|
+
# Specific configuration settings for a Kafka schema registry.
|
6112
|
+
# @return [Types::KafkaSchemaRegistryConfig]
|
6113
|
+
#
|
6014
6114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedKafkaEventSourceConfig AWS API Documentation
|
6015
6115
|
#
|
6016
6116
|
class SelfManagedKafkaEventSourceConfig < Struct.new(
|
6017
|
-
:consumer_group_id
|
6117
|
+
:consumer_group_id,
|
6118
|
+
:schema_registry_config)
|
6018
6119
|
SENSITIVE = []
|
6019
6120
|
include Aws::Structure
|
6020
6121
|
end
|
@@ -6595,6 +6696,16 @@ module Aws::Lambda
|
|
6595
6696
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
|
6596
6697
|
# @return [Types::ScalingConfig]
|
6597
6698
|
#
|
6699
|
+
# @!attribute [rw] amazon_managed_kafka_event_source_config
|
6700
|
+
# Specific configuration settings for an Amazon Managed Streaming for
|
6701
|
+
# Apache Kafka (Amazon MSK) event source.
|
6702
|
+
# @return [Types::AmazonManagedKafkaEventSourceConfig]
|
6703
|
+
#
|
6704
|
+
# @!attribute [rw] self_managed_kafka_event_source_config
|
6705
|
+
# Specific configuration settings for a self-managed Apache Kafka
|
6706
|
+
# event source.
|
6707
|
+
# @return [Types::SelfManagedKafkaEventSourceConfig]
|
6708
|
+
#
|
6598
6709
|
# @!attribute [rw] document_db_event_source_config
|
6599
6710
|
# Specific configuration settings for a DocumentDB event source.
|
6600
6711
|
# @return [Types::DocumentDBEventSourceConfig]
|
@@ -6648,6 +6759,8 @@ module Aws::Lambda
|
|
6648
6759
|
:tumbling_window_in_seconds,
|
6649
6760
|
:function_response_types,
|
6650
6761
|
:scaling_config,
|
6762
|
+
:amazon_managed_kafka_event_source_config,
|
6763
|
+
:self_managed_kafka_event_source_config,
|
6651
6764
|
:document_db_event_source_config,
|
6652
6765
|
:kms_key_arn,
|
6653
6766
|
:metrics_config,
|
@@ -7091,12 +7204,7 @@ module Aws::Lambda
|
|
7091
7204
|
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
7092
7205
|
# become available. Lambda invokes your function using the
|
7093
7206
|
# `InvokeWithResponseStream` API operation. The maximum response
|
7094
|
-
# payload size is
|
7095
|
-
# increase][1].
|
7096
|
-
#
|
7097
|
-
#
|
7098
|
-
#
|
7099
|
-
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
7207
|
+
# payload size is 200 MB.
|
7100
7208
|
# @return [String]
|
7101
7209
|
#
|
7102
7210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigRequest AWS API Documentation
|
@@ -7169,12 +7277,7 @@ module Aws::Lambda
|
|
7169
7277
|
# * `RESPONSE_STREAM` – Your function streams payload results as they
|
7170
7278
|
# become available. Lambda invokes your function using the
|
7171
7279
|
# `InvokeWithResponseStream` API operation. The maximum response
|
7172
|
-
# payload size is
|
7173
|
-
# increase][1].
|
7174
|
-
#
|
7175
|
-
#
|
7176
|
-
#
|
7177
|
-
# [1]: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
|
7280
|
+
# payload size is 200 MB.
|
7178
7281
|
# @return [String]
|
7179
7282
|
#
|
7180
7283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfigResponse AWS API Documentation
|
@@ -96,21 +96,21 @@ module Aws::Lambda
|
|
96
96
|
operation_name: :get_function_configuration,
|
97
97
|
acceptors: [
|
98
98
|
{
|
99
|
-
"state" => "success",
|
100
99
|
"matcher" => "path",
|
101
100
|
"argument" => "state",
|
101
|
+
"state" => "success",
|
102
102
|
"expected" => "Active"
|
103
103
|
},
|
104
104
|
{
|
105
|
-
"state" => "failure",
|
106
105
|
"matcher" => "path",
|
107
106
|
"argument" => "state",
|
107
|
+
"state" => "failure",
|
108
108
|
"expected" => "Failed"
|
109
109
|
},
|
110
110
|
{
|
111
|
-
"state" => "retry",
|
112
111
|
"matcher" => "path",
|
113
112
|
"argument" => "state",
|
113
|
+
"state" => "retry",
|
114
114
|
"expected" => "Pending"
|
115
115
|
}
|
116
116
|
]
|
@@ -147,21 +147,21 @@ module Aws::Lambda
|
|
147
147
|
operation_name: :get_function,
|
148
148
|
acceptors: [
|
149
149
|
{
|
150
|
-
"state" => "success",
|
151
150
|
"matcher" => "path",
|
152
151
|
"argument" => "configuration.state",
|
152
|
+
"state" => "success",
|
153
153
|
"expected" => "Active"
|
154
154
|
},
|
155
155
|
{
|
156
|
-
"state" => "failure",
|
157
156
|
"matcher" => "path",
|
158
157
|
"argument" => "configuration.state",
|
158
|
+
"state" => "failure",
|
159
159
|
"expected" => "Failed"
|
160
160
|
},
|
161
161
|
{
|
162
|
-
"state" => "retry",
|
163
162
|
"matcher" => "path",
|
164
163
|
"argument" => "configuration.state",
|
164
|
+
"state" => "retry",
|
165
165
|
"expected" => "Pending"
|
166
166
|
}
|
167
167
|
]
|
@@ -197,13 +197,13 @@ module Aws::Lambda
|
|
197
197
|
operation_name: :get_function,
|
198
198
|
acceptors: [
|
199
199
|
{
|
200
|
+
"matcher" => "error",
|
200
201
|
"state" => "success",
|
201
|
-
"
|
202
|
-
"expected" => 200
|
202
|
+
"expected" => false
|
203
203
|
},
|
204
204
|
{
|
205
|
-
"state" => "retry",
|
206
205
|
"matcher" => "error",
|
206
|
+
"state" => "retry",
|
207
207
|
"expected" => "ResourceNotFoundException"
|
208
208
|
}
|
209
209
|
]
|
@@ -240,21 +240,21 @@ module Aws::Lambda
|
|
240
240
|
operation_name: :get_function_configuration,
|
241
241
|
acceptors: [
|
242
242
|
{
|
243
|
-
"state" => "success",
|
244
243
|
"matcher" => "path",
|
245
244
|
"argument" => "last_update_status",
|
245
|
+
"state" => "success",
|
246
246
|
"expected" => "Successful"
|
247
247
|
},
|
248
248
|
{
|
249
|
-
"state" => "failure",
|
250
249
|
"matcher" => "path",
|
251
250
|
"argument" => "last_update_status",
|
251
|
+
"state" => "failure",
|
252
252
|
"expected" => "Failed"
|
253
253
|
},
|
254
254
|
{
|
255
|
-
"state" => "retry",
|
256
255
|
"matcher" => "path",
|
257
256
|
"argument" => "last_update_status",
|
257
|
+
"state" => "retry",
|
258
258
|
"expected" => "InProgress"
|
259
259
|
}
|
260
260
|
]
|
@@ -291,21 +291,21 @@ module Aws::Lambda
|
|
291
291
|
operation_name: :get_function,
|
292
292
|
acceptors: [
|
293
293
|
{
|
294
|
-
"state" => "success",
|
295
294
|
"matcher" => "path",
|
296
295
|
"argument" => "configuration.last_update_status",
|
296
|
+
"state" => "success",
|
297
297
|
"expected" => "Successful"
|
298
298
|
},
|
299
299
|
{
|
300
|
-
"state" => "failure",
|
301
300
|
"matcher" => "path",
|
302
301
|
"argument" => "configuration.last_update_status",
|
302
|
+
"state" => "failure",
|
303
303
|
"expected" => "Failed"
|
304
304
|
},
|
305
305
|
{
|
306
|
-
"state" => "retry",
|
307
306
|
"matcher" => "path",
|
308
307
|
"argument" => "configuration.last_update_status",
|
308
|
+
"state" => "retry",
|
309
309
|
"expected" => "InProgress"
|
310
310
|
}
|
311
311
|
]
|
@@ -342,21 +342,21 @@ module Aws::Lambda
|
|
342
342
|
operation_name: :get_function_configuration,
|
343
343
|
acceptors: [
|
344
344
|
{
|
345
|
-
"state" => "success",
|
346
345
|
"matcher" => "path",
|
347
346
|
"argument" => "state",
|
347
|
+
"state" => "success",
|
348
348
|
"expected" => "Active"
|
349
349
|
},
|
350
350
|
{
|
351
|
-
"state" => "failure",
|
352
351
|
"matcher" => "path",
|
353
352
|
"argument" => "state",
|
353
|
+
"state" => "failure",
|
354
354
|
"expected" => "Failed"
|
355
355
|
},
|
356
356
|
{
|
357
|
-
"state" => "retry",
|
358
357
|
"matcher" => "path",
|
359
358
|
"argument" => "state",
|
359
|
+
"state" => "retry",
|
360
360
|
"expected" => "Pending"
|
361
361
|
}
|
362
362
|
]
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -233,10 +234,40 @@ module Aws
|
|
233
234
|
},
|
234
235
|
?function_response_types: Array[("ReportBatchItemFailures")],
|
235
236
|
?amazon_managed_kafka_event_source_config: {
|
236
|
-
consumer_group_id: ::String
|
237
|
+
consumer_group_id: ::String?,
|
238
|
+
schema_registry_config: {
|
239
|
+
schema_registry_uri: ::String?,
|
240
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
241
|
+
access_configs: Array[
|
242
|
+
{
|
243
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
244
|
+
uri: ::String?
|
245
|
+
},
|
246
|
+
]?,
|
247
|
+
schema_validation_configs: Array[
|
248
|
+
{
|
249
|
+
attribute: ("KEY" | "VALUE")?
|
250
|
+
},
|
251
|
+
]?
|
252
|
+
}?
|
237
253
|
},
|
238
254
|
?self_managed_kafka_event_source_config: {
|
239
|
-
consumer_group_id: ::String
|
255
|
+
consumer_group_id: ::String?,
|
256
|
+
schema_registry_config: {
|
257
|
+
schema_registry_uri: ::String?,
|
258
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
259
|
+
access_configs: Array[
|
260
|
+
{
|
261
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
262
|
+
uri: ::String?
|
263
|
+
},
|
264
|
+
]?,
|
265
|
+
schema_validation_configs: Array[
|
266
|
+
{
|
267
|
+
attribute: ("KEY" | "VALUE")?
|
268
|
+
},
|
269
|
+
]?
|
270
|
+
}?
|
240
271
|
},
|
241
272
|
?scaling_config: {
|
242
273
|
maximum_concurrency: ::Integer?
|
@@ -1297,6 +1328,42 @@ module Aws
|
|
1297
1328
|
?scaling_config: {
|
1298
1329
|
maximum_concurrency: ::Integer?
|
1299
1330
|
},
|
1331
|
+
?amazon_managed_kafka_event_source_config: {
|
1332
|
+
consumer_group_id: ::String?,
|
1333
|
+
schema_registry_config: {
|
1334
|
+
schema_registry_uri: ::String?,
|
1335
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
1336
|
+
access_configs: Array[
|
1337
|
+
{
|
1338
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
1339
|
+
uri: ::String?
|
1340
|
+
},
|
1341
|
+
]?,
|
1342
|
+
schema_validation_configs: Array[
|
1343
|
+
{
|
1344
|
+
attribute: ("KEY" | "VALUE")?
|
1345
|
+
},
|
1346
|
+
]?
|
1347
|
+
}?
|
1348
|
+
},
|
1349
|
+
?self_managed_kafka_event_source_config: {
|
1350
|
+
consumer_group_id: ::String?,
|
1351
|
+
schema_registry_config: {
|
1352
|
+
schema_registry_uri: ::String?,
|
1353
|
+
event_record_format: ("JSON" | "SOURCE")?,
|
1354
|
+
access_configs: Array[
|
1355
|
+
{
|
1356
|
+
type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")?,
|
1357
|
+
uri: ::String?
|
1358
|
+
},
|
1359
|
+
]?,
|
1360
|
+
schema_validation_configs: Array[
|
1361
|
+
{
|
1362
|
+
attribute: ("KEY" | "VALUE")?
|
1363
|
+
},
|
1364
|
+
]?
|
1365
|
+
}?
|
1366
|
+
},
|
1300
1367
|
?document_db_event_source_config: {
|
1301
1368
|
database_name: ::String?,
|
1302
1369
|
collection_name: ::String?,
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -82,6 +82,7 @@ module Aws::Lambda
|
|
82
82
|
|
83
83
|
class AmazonManagedKafkaEventSourceConfig
|
84
84
|
attr_accessor consumer_group_id: ::String
|
85
|
+
attr_accessor schema_registry_config: Types::KafkaSchemaRegistryConfig
|
85
86
|
SENSITIVE: []
|
86
87
|
end
|
87
88
|
|
@@ -852,6 +853,25 @@ module Aws::Lambda
|
|
852
853
|
SENSITIVE: []
|
853
854
|
end
|
854
855
|
|
856
|
+
class KafkaSchemaRegistryAccessConfig
|
857
|
+
attr_accessor type: ("BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE")
|
858
|
+
attr_accessor uri: ::String
|
859
|
+
SENSITIVE: []
|
860
|
+
end
|
861
|
+
|
862
|
+
class KafkaSchemaRegistryConfig
|
863
|
+
attr_accessor schema_registry_uri: ::String
|
864
|
+
attr_accessor event_record_format: ("JSON" | "SOURCE")
|
865
|
+
attr_accessor access_configs: ::Array[Types::KafkaSchemaRegistryAccessConfig]
|
866
|
+
attr_accessor schema_validation_configs: ::Array[Types::KafkaSchemaValidationConfig]
|
867
|
+
SENSITIVE: []
|
868
|
+
end
|
869
|
+
|
870
|
+
class KafkaSchemaValidationConfig
|
871
|
+
attr_accessor attribute: ("KEY" | "VALUE")
|
872
|
+
SENSITIVE: []
|
873
|
+
end
|
874
|
+
|
855
875
|
class Layer
|
856
876
|
attr_accessor arn: ::String
|
857
877
|
attr_accessor code_size: ::Integer
|
@@ -1283,6 +1303,7 @@ module Aws::Lambda
|
|
1283
1303
|
|
1284
1304
|
class SelfManagedKafkaEventSourceConfig
|
1285
1305
|
attr_accessor consumer_group_id: ::String
|
1306
|
+
attr_accessor schema_registry_config: Types::KafkaSchemaRegistryConfig
|
1286
1307
|
SENSITIVE: []
|
1287
1308
|
end
|
1288
1309
|
|
@@ -1414,6 +1435,8 @@ module Aws::Lambda
|
|
1414
1435
|
attr_accessor tumbling_window_in_seconds: ::Integer
|
1415
1436
|
attr_accessor function_response_types: ::Array[("ReportBatchItemFailures")]
|
1416
1437
|
attr_accessor scaling_config: Types::ScalingConfig
|
1438
|
+
attr_accessor amazon_managed_kafka_event_source_config: Types::AmazonManagedKafkaEventSourceConfig
|
1439
|
+
attr_accessor self_managed_kafka_event_source_config: Types::SelfManagedKafkaEventSourceConfig
|
1417
1440
|
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
|
1418
1441
|
attr_accessor kms_key_arn: ::String
|
1419
1442
|
attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.160.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.231.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.231.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements:
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '2.
|
88
|
+
version: '2.7'
|
89
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
91
|
- - ">="
|