aws-sdk-lambda 1.85.0 → 1.87.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +71 -38
- data/lib/aws-sdk-lambda/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-lambda/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-lambda/endpoints.rb +897 -0
- data/lib/aws-sdk-lambda/plugins/endpoints.rb +194 -0
- data/lib/aws-sdk-lambda/types.rb +91 -48
- data/lib/aws-sdk-lambda.rb +5 -1
- metadata +8 -4
@@ -0,0 +1,194 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Lambda
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::Lambda::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::Lambda::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::Lambda::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :add_layer_version_permission
|
60
|
+
Aws::Lambda::Endpoints::AddLayerVersionPermission.build(context)
|
61
|
+
when :add_permission
|
62
|
+
Aws::Lambda::Endpoints::AddPermission.build(context)
|
63
|
+
when :create_alias
|
64
|
+
Aws::Lambda::Endpoints::CreateAlias.build(context)
|
65
|
+
when :create_code_signing_config
|
66
|
+
Aws::Lambda::Endpoints::CreateCodeSigningConfig.build(context)
|
67
|
+
when :create_event_source_mapping
|
68
|
+
Aws::Lambda::Endpoints::CreateEventSourceMapping.build(context)
|
69
|
+
when :create_function
|
70
|
+
Aws::Lambda::Endpoints::CreateFunction.build(context)
|
71
|
+
when :create_function_url_config
|
72
|
+
Aws::Lambda::Endpoints::CreateFunctionUrlConfig.build(context)
|
73
|
+
when :delete_alias
|
74
|
+
Aws::Lambda::Endpoints::DeleteAlias.build(context)
|
75
|
+
when :delete_code_signing_config
|
76
|
+
Aws::Lambda::Endpoints::DeleteCodeSigningConfig.build(context)
|
77
|
+
when :delete_event_source_mapping
|
78
|
+
Aws::Lambda::Endpoints::DeleteEventSourceMapping.build(context)
|
79
|
+
when :delete_function
|
80
|
+
Aws::Lambda::Endpoints::DeleteFunction.build(context)
|
81
|
+
when :delete_function_code_signing_config
|
82
|
+
Aws::Lambda::Endpoints::DeleteFunctionCodeSigningConfig.build(context)
|
83
|
+
when :delete_function_concurrency
|
84
|
+
Aws::Lambda::Endpoints::DeleteFunctionConcurrency.build(context)
|
85
|
+
when :delete_function_event_invoke_config
|
86
|
+
Aws::Lambda::Endpoints::DeleteFunctionEventInvokeConfig.build(context)
|
87
|
+
when :delete_function_url_config
|
88
|
+
Aws::Lambda::Endpoints::DeleteFunctionUrlConfig.build(context)
|
89
|
+
when :delete_layer_version
|
90
|
+
Aws::Lambda::Endpoints::DeleteLayerVersion.build(context)
|
91
|
+
when :delete_provisioned_concurrency_config
|
92
|
+
Aws::Lambda::Endpoints::DeleteProvisionedConcurrencyConfig.build(context)
|
93
|
+
when :get_account_settings
|
94
|
+
Aws::Lambda::Endpoints::GetAccountSettings.build(context)
|
95
|
+
when :get_alias
|
96
|
+
Aws::Lambda::Endpoints::GetAlias.build(context)
|
97
|
+
when :get_code_signing_config
|
98
|
+
Aws::Lambda::Endpoints::GetCodeSigningConfig.build(context)
|
99
|
+
when :get_event_source_mapping
|
100
|
+
Aws::Lambda::Endpoints::GetEventSourceMapping.build(context)
|
101
|
+
when :get_function
|
102
|
+
Aws::Lambda::Endpoints::GetFunction.build(context)
|
103
|
+
when :get_function_code_signing_config
|
104
|
+
Aws::Lambda::Endpoints::GetFunctionCodeSigningConfig.build(context)
|
105
|
+
when :get_function_concurrency
|
106
|
+
Aws::Lambda::Endpoints::GetFunctionConcurrency.build(context)
|
107
|
+
when :get_function_configuration
|
108
|
+
Aws::Lambda::Endpoints::GetFunctionConfiguration.build(context)
|
109
|
+
when :get_function_event_invoke_config
|
110
|
+
Aws::Lambda::Endpoints::GetFunctionEventInvokeConfig.build(context)
|
111
|
+
when :get_function_url_config
|
112
|
+
Aws::Lambda::Endpoints::GetFunctionUrlConfig.build(context)
|
113
|
+
when :get_layer_version
|
114
|
+
Aws::Lambda::Endpoints::GetLayerVersion.build(context)
|
115
|
+
when :get_layer_version_by_arn
|
116
|
+
Aws::Lambda::Endpoints::GetLayerVersionByArn.build(context)
|
117
|
+
when :get_layer_version_policy
|
118
|
+
Aws::Lambda::Endpoints::GetLayerVersionPolicy.build(context)
|
119
|
+
when :get_policy
|
120
|
+
Aws::Lambda::Endpoints::GetPolicy.build(context)
|
121
|
+
when :get_provisioned_concurrency_config
|
122
|
+
Aws::Lambda::Endpoints::GetProvisionedConcurrencyConfig.build(context)
|
123
|
+
when :invoke
|
124
|
+
Aws::Lambda::Endpoints::Invoke.build(context)
|
125
|
+
when :invoke_async
|
126
|
+
Aws::Lambda::Endpoints::InvokeAsync.build(context)
|
127
|
+
when :list_aliases
|
128
|
+
Aws::Lambda::Endpoints::ListAliases.build(context)
|
129
|
+
when :list_code_signing_configs
|
130
|
+
Aws::Lambda::Endpoints::ListCodeSigningConfigs.build(context)
|
131
|
+
when :list_event_source_mappings
|
132
|
+
Aws::Lambda::Endpoints::ListEventSourceMappings.build(context)
|
133
|
+
when :list_function_event_invoke_configs
|
134
|
+
Aws::Lambda::Endpoints::ListFunctionEventInvokeConfigs.build(context)
|
135
|
+
when :list_function_url_configs
|
136
|
+
Aws::Lambda::Endpoints::ListFunctionUrlConfigs.build(context)
|
137
|
+
when :list_functions
|
138
|
+
Aws::Lambda::Endpoints::ListFunctions.build(context)
|
139
|
+
when :list_functions_by_code_signing_config
|
140
|
+
Aws::Lambda::Endpoints::ListFunctionsByCodeSigningConfig.build(context)
|
141
|
+
when :list_layer_versions
|
142
|
+
Aws::Lambda::Endpoints::ListLayerVersions.build(context)
|
143
|
+
when :list_layers
|
144
|
+
Aws::Lambda::Endpoints::ListLayers.build(context)
|
145
|
+
when :list_provisioned_concurrency_configs
|
146
|
+
Aws::Lambda::Endpoints::ListProvisionedConcurrencyConfigs.build(context)
|
147
|
+
when :list_tags
|
148
|
+
Aws::Lambda::Endpoints::ListTags.build(context)
|
149
|
+
when :list_versions_by_function
|
150
|
+
Aws::Lambda::Endpoints::ListVersionsByFunction.build(context)
|
151
|
+
when :publish_layer_version
|
152
|
+
Aws::Lambda::Endpoints::PublishLayerVersion.build(context)
|
153
|
+
when :publish_version
|
154
|
+
Aws::Lambda::Endpoints::PublishVersion.build(context)
|
155
|
+
when :put_function_code_signing_config
|
156
|
+
Aws::Lambda::Endpoints::PutFunctionCodeSigningConfig.build(context)
|
157
|
+
when :put_function_concurrency
|
158
|
+
Aws::Lambda::Endpoints::PutFunctionConcurrency.build(context)
|
159
|
+
when :put_function_event_invoke_config
|
160
|
+
Aws::Lambda::Endpoints::PutFunctionEventInvokeConfig.build(context)
|
161
|
+
when :put_provisioned_concurrency_config
|
162
|
+
Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
|
163
|
+
when :remove_layer_version_permission
|
164
|
+
Aws::Lambda::Endpoints::RemoveLayerVersionPermission.build(context)
|
165
|
+
when :remove_permission
|
166
|
+
Aws::Lambda::Endpoints::RemovePermission.build(context)
|
167
|
+
when :tag_resource
|
168
|
+
Aws::Lambda::Endpoints::TagResource.build(context)
|
169
|
+
when :untag_resource
|
170
|
+
Aws::Lambda::Endpoints::UntagResource.build(context)
|
171
|
+
when :update_alias
|
172
|
+
Aws::Lambda::Endpoints::UpdateAlias.build(context)
|
173
|
+
when :update_code_signing_config
|
174
|
+
Aws::Lambda::Endpoints::UpdateCodeSigningConfig.build(context)
|
175
|
+
when :update_event_source_mapping
|
176
|
+
Aws::Lambda::Endpoints::UpdateEventSourceMapping.build(context)
|
177
|
+
when :update_function_code
|
178
|
+
Aws::Lambda::Endpoints::UpdateFunctionCode.build(context)
|
179
|
+
when :update_function_configuration
|
180
|
+
Aws::Lambda::Endpoints::UpdateFunctionConfiguration.build(context)
|
181
|
+
when :update_function_event_invoke_config
|
182
|
+
Aws::Lambda::Endpoints::UpdateFunctionEventInvokeConfig.build(context)
|
183
|
+
when :update_function_url_config
|
184
|
+
Aws::Lambda::Endpoints::UpdateFunctionUrlConfig.build(context)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
def add_handlers(handlers, _config)
|
190
|
+
handlers.add(Handler, step: :build, priority: 75)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -395,7 +395,11 @@ module Aws::Lambda
|
|
395
395
|
# group ID must be unique among all your Kafka event sources. After
|
396
396
|
# creating a Kafka event source mapping with the consumer group ID
|
397
397
|
# specified, you cannot update this value. For more information, see
|
398
|
-
#
|
398
|
+
# [Customizable consumer group ID][1].
|
399
|
+
#
|
400
|
+
#
|
401
|
+
#
|
402
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
|
399
403
|
# @return [String]
|
400
404
|
#
|
401
405
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AmazonManagedKafkaEventSourceConfig AWS API Documentation
|
@@ -866,14 +870,22 @@ module Aws::Lambda
|
|
866
870
|
# @return [Types::FilterCriteria]
|
867
871
|
#
|
868
872
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
875
|
-
#
|
876
|
-
#
|
873
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
874
|
+
# records before invoking the function. You can configure
|
875
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
876
|
+
# seconds in increments of seconds.
|
877
|
+
#
|
878
|
+
# For streams and Amazon SQS event sources, the default batching
|
879
|
+
# window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and
|
880
|
+
# Amazon MQ event sources, the default batching window is 500 ms. Note
|
881
|
+
# that because you can only change `MaximumBatchingWindowInSeconds` in
|
882
|
+
# increments of seconds, you cannot revert back to the 500 ms default
|
883
|
+
# batching window after you have changed it. To restore the default
|
884
|
+
# batching window, you must create a new event source mapping.
|
885
|
+
#
|
886
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
887
|
+
# set `BatchSize` to a value greater than 10, you must set
|
888
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
877
889
|
# @return [Integer]
|
878
890
|
#
|
879
891
|
# @!attribute [rw] parallelization_factor
|
@@ -983,7 +995,7 @@ module Aws::Lambda
|
|
983
995
|
#
|
984
996
|
# {
|
985
997
|
# function_name: "FunctionName", # required
|
986
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
998
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
987
999
|
# role: "RoleArn", # required
|
988
1000
|
# handler: "Handler",
|
989
1001
|
# code: { # required
|
@@ -1937,7 +1949,7 @@ module Aws::Lambda
|
|
1937
1949
|
# error.
|
1938
1950
|
#
|
1939
1951
|
# @!attribute [rw] variables
|
1940
|
-
# Environment variable key-value pairs.
|
1952
|
+
# Environment variable key-value pairs. Omitted from CloudTrail logs.
|
1941
1953
|
# @return [Hash<String,String>]
|
1942
1954
|
#
|
1943
1955
|
# @!attribute [rw] error
|
@@ -2007,14 +2019,22 @@ module Aws::Lambda
|
|
2007
2019
|
# @return [Integer]
|
2008
2020
|
#
|
2009
2021
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
2010
|
-
#
|
2011
|
-
#
|
2012
|
-
#
|
2013
|
-
#
|
2014
|
-
#
|
2015
|
-
#
|
2016
|
-
#
|
2017
|
-
#
|
2022
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
2023
|
+
# records before invoking the function. You can configure
|
2024
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
2025
|
+
# seconds in increments of seconds.
|
2026
|
+
#
|
2027
|
+
# For streams and Amazon SQS event sources, the default batching
|
2028
|
+
# window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and
|
2029
|
+
# Amazon MQ event sources, the default batching window is 500 ms. Note
|
2030
|
+
# that because you can only change `MaximumBatchingWindowInSeconds` in
|
2031
|
+
# increments of seconds, you cannot revert back to the 500 ms default
|
2032
|
+
# batching window after you have changed it. To restore the default
|
2033
|
+
# batching window, you must create a new event source mapping.
|
2034
|
+
#
|
2035
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
2036
|
+
# set `BatchSize` to a value greater than 10, you must set
|
2037
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
2018
2038
|
# @return [Integer]
|
2019
2039
|
#
|
2020
2040
|
# @!attribute [rw] parallelization_factor
|
@@ -2389,7 +2409,8 @@ module Aws::Lambda
|
|
2389
2409
|
# @return [Types::DeadLetterConfig]
|
2390
2410
|
#
|
2391
2411
|
# @!attribute [rw] environment
|
2392
|
-
# The function's [environment variables][1].
|
2412
|
+
# The function's [environment variables][1]. Omitted from CloudTrail
|
2413
|
+
# logs.
|
2393
2414
|
#
|
2394
2415
|
#
|
2395
2416
|
#
|
@@ -3350,7 +3371,10 @@ module Aws::Lambda
|
|
3350
3371
|
# @return [Integer]
|
3351
3372
|
#
|
3352
3373
|
# @!attribute [rw] allocated_provisioned_concurrent_executions
|
3353
|
-
# The amount of provisioned concurrency allocated.
|
3374
|
+
# The amount of provisioned concurrency allocated. When a weighted
|
3375
|
+
# alias is used during linear and canary deployments, this value
|
3376
|
+
# fluctuates depending on the amount of concurrency that is
|
3377
|
+
# provisioned for the function versions.
|
3354
3378
|
# @return [Integer]
|
3355
3379
|
#
|
3356
3380
|
# @!attribute [rw] status
|
@@ -4470,7 +4494,7 @@ module Aws::Lambda
|
|
4470
4494
|
# data as a hash:
|
4471
4495
|
#
|
4472
4496
|
# {
|
4473
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4497
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4474
4498
|
# layer_name: "LayerName", # required
|
4475
4499
|
# marker: "String",
|
4476
4500
|
# max_items: 1,
|
@@ -4535,7 +4559,7 @@ module Aws::Lambda
|
|
4535
4559
|
# data as a hash:
|
4536
4560
|
#
|
4537
4561
|
# {
|
4538
|
-
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4562
|
+
# compatible_runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4539
4563
|
# marker: "String",
|
4540
4564
|
# max_items: 1,
|
4541
4565
|
# compatible_architecture: "x86_64", # accepts x86_64, arm64
|
@@ -4846,7 +4870,10 @@ module Aws::Lambda
|
|
4846
4870
|
# @return [Integer]
|
4847
4871
|
#
|
4848
4872
|
# @!attribute [rw] allocated_provisioned_concurrent_executions
|
4849
|
-
# The amount of provisioned concurrency allocated.
|
4873
|
+
# The amount of provisioned concurrency allocated. When a weighted
|
4874
|
+
# alias is used during linear and canary deployments, this value
|
4875
|
+
# fluctuates depending on the amount of concurrency that is
|
4876
|
+
# provisioned for the function versions.
|
4850
4877
|
# @return [Integer]
|
4851
4878
|
#
|
4852
4879
|
# @!attribute [rw] status
|
@@ -4910,7 +4937,7 @@ module Aws::Lambda
|
|
4910
4937
|
# s3_object_version: "S3ObjectVersion",
|
4911
4938
|
# zip_file: "data",
|
4912
4939
|
# },
|
4913
|
-
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
4940
|
+
# compatible_runtimes: ["nodejs"], # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
4914
4941
|
# license_info: "LicenseInfo",
|
4915
4942
|
# compatible_architectures: ["x86_64"], # accepts x86_64, arm64
|
4916
4943
|
# }
|
@@ -5325,7 +5352,10 @@ module Aws::Lambda
|
|
5325
5352
|
# @return [Integer]
|
5326
5353
|
#
|
5327
5354
|
# @!attribute [rw] allocated_provisioned_concurrent_executions
|
5328
|
-
# The amount of provisioned concurrency allocated.
|
5355
|
+
# The amount of provisioned concurrency allocated. When a weighted
|
5356
|
+
# alias is used during linear and canary deployments, this value
|
5357
|
+
# fluctuates depending on the amount of concurrency that is
|
5358
|
+
# provisioned for the function versions.
|
5329
5359
|
# @return [Integer]
|
5330
5360
|
#
|
5331
5361
|
# @!attribute [rw] status
|
@@ -5590,7 +5620,11 @@ module Aws::Lambda
|
|
5590
5620
|
# group ID must be unique among all your Kafka event sources. After
|
5591
5621
|
# creating a Kafka event source mapping with the consumer group ID
|
5592
5622
|
# specified, you cannot update this value. For more information, see
|
5593
|
-
#
|
5623
|
+
# [Customizable consumer group ID][1].
|
5624
|
+
#
|
5625
|
+
#
|
5626
|
+
#
|
5627
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
|
5594
5628
|
# @return [String]
|
5595
5629
|
#
|
5596
5630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/SelfManagedKafkaEventSourceConfig AWS API Documentation
|
@@ -5640,22 +5674,23 @@ module Aws::Lambda
|
|
5640
5674
|
# of your secret key used for SASL/PLAIN authentication of your
|
5641
5675
|
# Apache Kafka brokers.
|
5642
5676
|
#
|
5643
|
-
# * `VPC_SUBNET` - The subnets associated
|
5644
|
-
# connects to these subnets to fetch data from
|
5645
|
-
# Apache Kafka cluster.
|
5646
|
-
#
|
5647
|
-
# * `VPC_SECURITY_GROUP` - The VPC security group used to manage
|
5648
|
-
# access to your self-managed Apache Kafka brokers.
|
5677
|
+
# * `VPC_SUBNET` - (Self-managed Apache Kafka) The subnets associated
|
5678
|
+
# with your VPC. Lambda connects to these subnets to fetch data from
|
5679
|
+
# your self-managed Apache Kafka cluster.
|
5649
5680
|
#
|
5650
|
-
# * `
|
5651
|
-
# used
|
5681
|
+
# * `VPC_SECURITY_GROUP` - (Self-managed Apache Kafka) The VPC
|
5682
|
+
# security group used to manage access to your self-managed Apache
|
5652
5683
|
# Kafka brokers.
|
5653
5684
|
#
|
5654
|
-
# * `
|
5655
|
-
# used for SASL SCRAM-
|
5656
|
-
# Kafka brokers.
|
5685
|
+
# * `SASL_SCRAM_256_AUTH` - (Self-managed Apache Kafka) The Secrets
|
5686
|
+
# Manager ARN of your secret key used for SASL SCRAM-256
|
5687
|
+
# authentication of your self-managed Apache Kafka brokers.
|
5657
5688
|
#
|
5658
|
-
# * `
|
5689
|
+
# * `SASL_SCRAM_512_AUTH` - (Amazon MSK, Self-managed Apache Kafka)
|
5690
|
+
# The Secrets Manager ARN of your secret key used for SASL SCRAM-512
|
5691
|
+
# authentication of your self-managed Apache Kafka brokers.
|
5692
|
+
#
|
5693
|
+
# * `VIRTUAL_HOST` - (RabbitMQ) The name of the virtual host in your
|
5659
5694
|
# RabbitMQ broker. Lambda uses this RabbitMQ host as the event
|
5660
5695
|
# source. This property cannot be specified in an
|
5661
5696
|
# UpdateEventSourceMapping API call.
|
@@ -6065,14 +6100,22 @@ module Aws::Lambda
|
|
6065
6100
|
# @return [Types::FilterCriteria]
|
6066
6101
|
#
|
6067
6102
|
# @!attribute [rw] maximum_batching_window_in_seconds
|
6068
|
-
#
|
6069
|
-
#
|
6070
|
-
#
|
6071
|
-
#
|
6072
|
-
#
|
6073
|
-
#
|
6074
|
-
#
|
6075
|
-
#
|
6103
|
+
# The maximum amount of time, in seconds, that Lambda spends gathering
|
6104
|
+
# records before invoking the function. You can configure
|
6105
|
+
# `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
|
6106
|
+
# seconds in increments of seconds.
|
6107
|
+
#
|
6108
|
+
# For streams and Amazon SQS event sources, the default batching
|
6109
|
+
# window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and
|
6110
|
+
# Amazon MQ event sources, the default batching window is 500 ms. Note
|
6111
|
+
# that because you can only change `MaximumBatchingWindowInSeconds` in
|
6112
|
+
# increments of seconds, you cannot revert back to the 500 ms default
|
6113
|
+
# batching window after you have changed it. To restore the default
|
6114
|
+
# batching window, you must create a new event source mapping.
|
6115
|
+
#
|
6116
|
+
# Related setting: For streams and Amazon SQS event sources, when you
|
6117
|
+
# set `BatchSize` to a value greater than 10, you must set
|
6118
|
+
# `MaximumBatchingWindowInSeconds` to at least 1.
|
6076
6119
|
# @return [Integer]
|
6077
6120
|
#
|
6078
6121
|
# @!attribute [rw] destination_config
|
@@ -6257,7 +6300,7 @@ module Aws::Lambda
|
|
6257
6300
|
# "EnvironmentVariableName" => "EnvironmentVariableValue",
|
6258
6301
|
# },
|
6259
6302
|
# },
|
6260
|
-
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2
|
6303
|
+
# runtime: "nodejs", # accepts nodejs, nodejs4.3, nodejs6.10, nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x, nodejs16.x, java8, java8.al2, java11, python2.7, python3.6, python3.7, python3.8, python3.9, dotnetcore1.0, dotnetcore2.0, dotnetcore2.1, dotnetcore3.1, dotnet6, nodejs4.3-edge, go1.x, ruby2.5, ruby2.7, provided, provided.al2, nodejs18.x
|
6261
6304
|
# dead_letter_config: {
|
6262
6305
|
# target_arn: "ResourceArn",
|
6263
6306
|
# },
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -13,10 +13,14 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-lambda/types'
|
15
15
|
require_relative 'aws-sdk-lambda/client_api'
|
16
|
+
require_relative 'aws-sdk-lambda/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-lambda/client'
|
17
18
|
require_relative 'aws-sdk-lambda/errors'
|
18
19
|
require_relative 'aws-sdk-lambda/waiters'
|
19
20
|
require_relative 'aws-sdk-lambda/resource'
|
21
|
+
require_relative 'aws-sdk-lambda/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-lambda/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-lambda/endpoints'
|
20
24
|
require_relative 'aws-sdk-lambda/customizations'
|
21
25
|
|
22
26
|
# This module provides support for AWS Lambda. This module is available in the
|
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-lambda/customizations'
|
|
49
53
|
# @!group service
|
50
54
|
module Aws::Lambda
|
51
55
|
|
52
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.87.0'
|
53
57
|
|
54
58
|
end
|
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.87.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: 2022-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-lambda/client.rb
|
60
60
|
- lib/aws-sdk-lambda/client_api.rb
|
61
61
|
- lib/aws-sdk-lambda/customizations.rb
|
62
|
+
- lib/aws-sdk-lambda/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-lambda/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-lambda/endpoints.rb
|
62
65
|
- lib/aws-sdk-lambda/errors.rb
|
66
|
+
- lib/aws-sdk-lambda/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-lambda/resource.rb
|
64
68
|
- lib/aws-sdk-lambda/types.rb
|
65
69
|
- lib/aws-sdk-lambda/waiters.rb
|