aws-sdk-lambda 1.125.0 → 1.127.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 +268 -79
- data/lib/aws-sdk-lambda/client_api.rb +55 -0
- data/lib/aws-sdk-lambda/endpoints.rb +28 -0
- data/lib/aws-sdk-lambda/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-lambda/types.rb +283 -56
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +33 -2
- data/sig/types.rbs +31 -0
- metadata +2 -2
@@ -109,6 +109,9 @@ module Aws::Lambda
|
|
109
109
|
FileSystemConfigList = Shapes::ListShape.new(name: 'FileSystemConfigList')
|
110
110
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
111
111
|
FilterCriteria = Shapes::StructureShape.new(name: 'FilterCriteria')
|
112
|
+
FilterCriteriaError = Shapes::StructureShape.new(name: 'FilterCriteriaError')
|
113
|
+
FilterCriteriaErrorCode = Shapes::StringShape.new(name: 'FilterCriteriaErrorCode')
|
114
|
+
FilterCriteriaErrorMessage = Shapes::StringShape.new(name: 'FilterCriteriaErrorMessage')
|
112
115
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
113
116
|
FullDocument = Shapes::StringShape.new(name: 'FullDocument')
|
114
117
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
@@ -140,6 +143,8 @@ module Aws::Lambda
|
|
140
143
|
GetFunctionConcurrencyResponse = Shapes::StructureShape.new(name: 'GetFunctionConcurrencyResponse')
|
141
144
|
GetFunctionConfigurationRequest = Shapes::StructureShape.new(name: 'GetFunctionConfigurationRequest')
|
142
145
|
GetFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionEventInvokeConfigRequest')
|
146
|
+
GetFunctionRecursionConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionRecursionConfigRequest')
|
147
|
+
GetFunctionRecursionConfigResponse = Shapes::StructureShape.new(name: 'GetFunctionRecursionConfigResponse')
|
143
148
|
GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
|
144
149
|
GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
|
145
150
|
GetFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'GetFunctionUrlConfigRequest')
|
@@ -278,6 +283,8 @@ module Aws::Lambda
|
|
278
283
|
PutFunctionCodeSigningConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionCodeSigningConfigResponse')
|
279
284
|
PutFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'PutFunctionConcurrencyRequest')
|
280
285
|
PutFunctionEventInvokeConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionEventInvokeConfigRequest')
|
286
|
+
PutFunctionRecursionConfigRequest = Shapes::StructureShape.new(name: 'PutFunctionRecursionConfigRequest')
|
287
|
+
PutFunctionRecursionConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionRecursionConfigResponse')
|
281
288
|
PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
|
282
289
|
PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
|
283
290
|
PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
|
@@ -286,6 +293,7 @@ module Aws::Lambda
|
|
286
293
|
Queue = Shapes::StringShape.new(name: 'Queue')
|
287
294
|
Queues = Shapes::ListShape.new(name: 'Queues')
|
288
295
|
RecursiveInvocationException = Shapes::StructureShape.new(name: 'RecursiveInvocationException')
|
296
|
+
RecursiveLoop = Shapes::StringShape.new(name: 'RecursiveLoop')
|
289
297
|
RemoveLayerVersionPermissionRequest = Shapes::StructureShape.new(name: 'RemoveLayerVersionPermissionRequest')
|
290
298
|
RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
|
291
299
|
RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
|
@@ -349,6 +357,7 @@ module Aws::Lambda
|
|
349
357
|
TracingMode = Shapes::StringShape.new(name: 'TracingMode')
|
350
358
|
TumblingWindowInSeconds = Shapes::IntegerShape.new(name: 'TumblingWindowInSeconds')
|
351
359
|
URI = Shapes::StringShape.new(name: 'URI')
|
360
|
+
UnqualifiedFunctionName = Shapes::StringShape.new(name: 'UnqualifiedFunctionName')
|
352
361
|
UnreservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'UnreservedConcurrentExecutions')
|
353
362
|
UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
|
354
363
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -515,6 +524,7 @@ module Aws::Lambda
|
|
515
524
|
CreateEventSourceMappingRequest.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
516
525
|
CreateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
517
526
|
CreateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
527
|
+
CreateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
518
528
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
519
529
|
|
520
530
|
CreateFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
@@ -690,6 +700,8 @@ module Aws::Lambda
|
|
690
700
|
EventSourceMappingConfiguration.add_member(:self_managed_kafka_event_source_config, Shapes::ShapeRef.new(shape: SelfManagedKafkaEventSourceConfig, location_name: "SelfManagedKafkaEventSourceConfig"))
|
691
701
|
EventSourceMappingConfiguration.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
692
702
|
EventSourceMappingConfiguration.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
703
|
+
EventSourceMappingConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
704
|
+
EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
|
693
705
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
694
706
|
|
695
707
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
@@ -706,6 +718,10 @@ module Aws::Lambda
|
|
706
718
|
FilterCriteria.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
707
719
|
FilterCriteria.struct_class = Types::FilterCriteria
|
708
720
|
|
721
|
+
FilterCriteriaError.add_member(:error_code, Shapes::ShapeRef.new(shape: FilterCriteriaErrorCode, location_name: "ErrorCode"))
|
722
|
+
FilterCriteriaError.add_member(:message, Shapes::ShapeRef.new(shape: FilterCriteriaErrorMessage, location_name: "Message"))
|
723
|
+
FilterCriteriaError.struct_class = Types::FilterCriteriaError
|
724
|
+
|
709
725
|
FilterList.member = Shapes::ShapeRef.new(shape: Filter)
|
710
726
|
|
711
727
|
FunctionArnList.member = Shapes::ShapeRef.new(shape: FunctionArn)
|
@@ -825,6 +841,12 @@ module Aws::Lambda
|
|
825
841
|
GetFunctionEventInvokeConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
826
842
|
GetFunctionEventInvokeConfigRequest.struct_class = Types::GetFunctionEventInvokeConfigRequest
|
827
843
|
|
844
|
+
GetFunctionRecursionConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: UnqualifiedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
845
|
+
GetFunctionRecursionConfigRequest.struct_class = Types::GetFunctionRecursionConfigRequest
|
846
|
+
|
847
|
+
GetFunctionRecursionConfigResponse.add_member(:recursive_loop, Shapes::ShapeRef.new(shape: RecursiveLoop, location_name: "RecursiveLoop"))
|
848
|
+
GetFunctionRecursionConfigResponse.struct_class = Types::GetFunctionRecursionConfigResponse
|
849
|
+
|
828
850
|
GetFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
829
851
|
GetFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
830
852
|
GetFunctionRequest.struct_class = Types::GetFunctionRequest
|
@@ -1250,6 +1272,13 @@ module Aws::Lambda
|
|
1250
1272
|
PutFunctionEventInvokeConfigRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "DestinationConfig"))
|
1251
1273
|
PutFunctionEventInvokeConfigRequest.struct_class = Types::PutFunctionEventInvokeConfigRequest
|
1252
1274
|
|
1275
|
+
PutFunctionRecursionConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: UnqualifiedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1276
|
+
PutFunctionRecursionConfigRequest.add_member(:recursive_loop, Shapes::ShapeRef.new(shape: RecursiveLoop, required: true, location_name: "RecursiveLoop"))
|
1277
|
+
PutFunctionRecursionConfigRequest.struct_class = Types::PutFunctionRecursionConfigRequest
|
1278
|
+
|
1279
|
+
PutFunctionRecursionConfigResponse.add_member(:recursive_loop, Shapes::ShapeRef.new(shape: RecursiveLoop, location_name: "RecursiveLoop"))
|
1280
|
+
PutFunctionRecursionConfigResponse.struct_class = Types::PutFunctionRecursionConfigResponse
|
1281
|
+
|
1253
1282
|
PutProvisionedConcurrencyConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1254
1283
|
PutProvisionedConcurrencyConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, required: true, location: "querystring", location_name: "Qualifier"))
|
1255
1284
|
PutProvisionedConcurrencyConfigRequest.add_member(:provisioned_concurrent_executions, Shapes::ShapeRef.new(shape: PositiveInteger, required: true, location_name: "ProvisionedConcurrentExecutions"))
|
@@ -1434,6 +1463,7 @@ module Aws::Lambda
|
|
1434
1463
|
UpdateEventSourceMappingRequest.add_member(:function_response_types, Shapes::ShapeRef.new(shape: FunctionResponseTypeList, location_name: "FunctionResponseTypes"))
|
1435
1464
|
UpdateEventSourceMappingRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: ScalingConfig, location_name: "ScalingConfig"))
|
1436
1465
|
UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
1466
|
+
UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
1437
1467
|
UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
|
1438
1468
|
|
1439
1469
|
UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -1848,6 +1878,18 @@ module Aws::Lambda
|
|
1848
1878
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1849
1879
|
end)
|
1850
1880
|
|
1881
|
+
api.add_operation(:get_function_recursion_config, Seahorse::Model::Operation.new.tap do |o|
|
1882
|
+
o.name = "GetFunctionRecursionConfig"
|
1883
|
+
o.http_method = "GET"
|
1884
|
+
o.http_request_uri = "/2024-08-31/functions/{FunctionName}/recursion-config"
|
1885
|
+
o.input = Shapes::ShapeRef.new(shape: GetFunctionRecursionConfigRequest)
|
1886
|
+
o.output = Shapes::ShapeRef.new(shape: GetFunctionRecursionConfigResponse)
|
1887
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1888
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1889
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1890
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1891
|
+
end)
|
1892
|
+
|
1851
1893
|
api.add_operation(:get_function_url_config, Seahorse::Model::Operation.new.tap do |o|
|
1852
1894
|
o.name = "GetFunctionUrlConfig"
|
1853
1895
|
o.http_method = "GET"
|
@@ -2296,6 +2338,19 @@ module Aws::Lambda
|
|
2296
2338
|
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2297
2339
|
end)
|
2298
2340
|
|
2341
|
+
api.add_operation(:put_function_recursion_config, Seahorse::Model::Operation.new.tap do |o|
|
2342
|
+
o.name = "PutFunctionRecursionConfig"
|
2343
|
+
o.http_method = "PUT"
|
2344
|
+
o.http_request_uri = "/2024-08-31/functions/{FunctionName}/recursion-config"
|
2345
|
+
o.input = Shapes::ShapeRef.new(shape: PutFunctionRecursionConfigRequest)
|
2346
|
+
o.output = Shapes::ShapeRef.new(shape: PutFunctionRecursionConfigResponse)
|
2347
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2348
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2349
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2350
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2351
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2352
|
+
end)
|
2353
|
+
|
2299
2354
|
api.add_operation(:put_provisioned_concurrency_config, Seahorse::Model::Operation.new.tap do |o|
|
2300
2355
|
o.name = "PutProvisionedConcurrencyConfig"
|
2301
2356
|
o.http_method = "PUT"
|
@@ -376,6 +376,20 @@ module Aws::Lambda
|
|
376
376
|
end
|
377
377
|
end
|
378
378
|
|
379
|
+
class GetFunctionRecursionConfig
|
380
|
+
def self.build(context)
|
381
|
+
unless context.config.regional_endpoint
|
382
|
+
endpoint = context.config.endpoint.to_s
|
383
|
+
end
|
384
|
+
Aws::Lambda::EndpointParameters.new(
|
385
|
+
region: context.config.region,
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
388
|
+
endpoint: endpoint,
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
379
393
|
class GetFunctionUrlConfig
|
380
394
|
def self.build(context)
|
381
395
|
unless context.config.regional_endpoint
|
@@ -754,6 +768,20 @@ module Aws::Lambda
|
|
754
768
|
end
|
755
769
|
end
|
756
770
|
|
771
|
+
class PutFunctionRecursionConfig
|
772
|
+
def self.build(context)
|
773
|
+
unless context.config.regional_endpoint
|
774
|
+
endpoint = context.config.endpoint.to_s
|
775
|
+
end
|
776
|
+
Aws::Lambda::EndpointParameters.new(
|
777
|
+
region: context.config.region,
|
778
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
779
|
+
use_fips: context.config.use_fips_endpoint,
|
780
|
+
endpoint: endpoint,
|
781
|
+
)
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
757
785
|
class PutProvisionedConcurrencyConfig
|
758
786
|
def self.build(context)
|
759
787
|
unless context.config.regional_endpoint
|
@@ -110,6 +110,8 @@ module Aws::Lambda
|
|
110
110
|
Aws::Lambda::Endpoints::GetFunctionConfiguration.build(context)
|
111
111
|
when :get_function_event_invoke_config
|
112
112
|
Aws::Lambda::Endpoints::GetFunctionEventInvokeConfig.build(context)
|
113
|
+
when :get_function_recursion_config
|
114
|
+
Aws::Lambda::Endpoints::GetFunctionRecursionConfig.build(context)
|
113
115
|
when :get_function_url_config
|
114
116
|
Aws::Lambda::Endpoints::GetFunctionUrlConfig.build(context)
|
115
117
|
when :get_layer_version
|
@@ -164,6 +166,8 @@ module Aws::Lambda
|
|
164
166
|
Aws::Lambda::Endpoints::PutFunctionConcurrency.build(context)
|
165
167
|
when :put_function_event_invoke_config
|
166
168
|
Aws::Lambda::Endpoints::PutFunctionEventInvokeConfig.build(context)
|
169
|
+
when :put_function_recursion_config
|
170
|
+
Aws::Lambda::Endpoints::PutFunctionRecursionConfig.build(context)
|
167
171
|
when :put_provisioned_concurrency_config
|
168
172
|
Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
|
169
173
|
when :put_runtime_management_config
|