aws-sdk-lambda 1.130.0 → 1.132.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 +1564 -28
- data/lib/aws-sdk-lambda/client_api.rb +133 -3
- data/lib/aws-sdk-lambda/endpoints.rb +55 -0
- data/lib/aws-sdk-lambda/errors.rb +21 -0
- data/lib/aws-sdk-lambda/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-lambda/types.rb +249 -12
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +62 -1
- data/sig/errors.rbs +4 -0
- data/sig/types.rbs +66 -0
- metadata +2 -2
@@ -75,6 +75,7 @@ module Aws::Lambda
|
|
75
75
|
DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
|
76
76
|
DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
|
77
77
|
DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
|
78
|
+
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
78
79
|
Description = Shapes::StringShape.new(name: 'Description')
|
79
80
|
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
|
80
81
|
DestinationConfig = Shapes::StructureShape.new(name: 'DestinationConfig')
|
@@ -100,6 +101,7 @@ module Aws::Lambda
|
|
100
101
|
EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
|
101
102
|
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
|
102
103
|
EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
|
104
|
+
EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
|
103
105
|
EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
|
104
106
|
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
|
105
107
|
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
|
@@ -158,6 +160,10 @@ module Aws::Lambda
|
|
158
160
|
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
|
159
161
|
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
|
160
162
|
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
|
163
|
+
GetPublicAccessBlockConfigRequest = Shapes::StructureShape.new(name: 'GetPublicAccessBlockConfigRequest')
|
164
|
+
GetPublicAccessBlockConfigResponse = Shapes::StructureShape.new(name: 'GetPublicAccessBlockConfigResponse')
|
165
|
+
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
166
|
+
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
161
167
|
GetRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigRequest')
|
162
168
|
GetRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigResponse')
|
163
169
|
Handler = Shapes::StringShape.new(name: 'Handler')
|
@@ -268,6 +274,7 @@ module Aws::Lambda
|
|
268
274
|
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
|
269
275
|
Pattern = Shapes::StringShape.new(name: 'Pattern')
|
270
276
|
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
|
277
|
+
PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
|
271
278
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
272
279
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
273
280
|
Principal = Shapes::StringShape.new(name: 'Principal')
|
@@ -276,6 +283,9 @@ module Aws::Lambda
|
|
276
283
|
ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
|
277
284
|
ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
|
278
285
|
ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
|
286
|
+
PublicAccessBlockConfig = Shapes::StructureShape.new(name: 'PublicAccessBlockConfig')
|
287
|
+
PublicAccessBlockResourceArn = Shapes::StringShape.new(name: 'PublicAccessBlockResourceArn')
|
288
|
+
PublicPolicyException = Shapes::StructureShape.new(name: 'PublicPolicyException')
|
279
289
|
PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
|
280
290
|
PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
|
281
291
|
PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
|
@@ -287,6 +297,10 @@ module Aws::Lambda
|
|
287
297
|
PutFunctionRecursionConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionRecursionConfigResponse')
|
288
298
|
PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
|
289
299
|
PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
|
300
|
+
PutPublicAccessBlockConfigRequest = Shapes::StructureShape.new(name: 'PutPublicAccessBlockConfigRequest')
|
301
|
+
PutPublicAccessBlockConfigResponse = Shapes::StructureShape.new(name: 'PutPublicAccessBlockConfigResponse')
|
302
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
303
|
+
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
290
304
|
PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
|
291
305
|
PutRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigResponse')
|
292
306
|
Qualifier = Shapes::StringShape.new(name: 'Qualifier')
|
@@ -303,7 +317,9 @@ module Aws::Lambda
|
|
303
317
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
304
318
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
305
319
|
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
320
|
+
ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
|
306
321
|
ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
|
322
|
+
RevisionId = Shapes::StringShape.new(name: 'RevisionId')
|
307
323
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
308
324
|
Runtime = Shapes::StringShape.new(name: 'Runtime')
|
309
325
|
RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
|
@@ -345,6 +361,7 @@ module Aws::Lambda
|
|
345
361
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
346
362
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
347
363
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
364
|
+
TaggableResource = Shapes::StringShape.new(name: 'TaggableResource')
|
348
365
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
349
366
|
ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
|
350
367
|
Timeout = Shapes::IntegerShape.new(name: 'Timeout')
|
@@ -496,6 +513,7 @@ module Aws::Lambda
|
|
496
513
|
CreateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
497
514
|
CreateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
|
498
515
|
CreateCodeSigningConfigRequest.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, location_name: "CodeSigningPolicies"))
|
516
|
+
CreateCodeSigningConfigRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
499
517
|
CreateCodeSigningConfigRequest.struct_class = Types::CreateCodeSigningConfigRequest
|
500
518
|
|
501
519
|
CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
|
@@ -514,6 +532,7 @@ module Aws::Lambda
|
|
514
532
|
CreateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
515
533
|
CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
516
534
|
CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
|
535
|
+
CreateEventSourceMappingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
517
536
|
CreateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
518
537
|
CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
|
519
538
|
CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
@@ -609,6 +628,10 @@ module Aws::Lambda
|
|
609
628
|
DeleteProvisionedConcurrencyConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, required: true, location: "querystring", location_name: "Qualifier"))
|
610
629
|
DeleteProvisionedConcurrencyConfigRequest.struct_class = Types::DeleteProvisionedConcurrencyConfigRequest
|
611
630
|
|
631
|
+
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
632
|
+
DeleteResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "RevisionId"))
|
633
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
634
|
+
|
612
635
|
DestinationConfig.add_member(:on_success, Shapes::ShapeRef.new(shape: OnSuccess, location_name: "OnSuccess"))
|
613
636
|
DestinationConfig.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure"))
|
614
637
|
DestinationConfig.struct_class = Types::DestinationConfig
|
@@ -702,6 +725,7 @@ module Aws::Lambda
|
|
702
725
|
EventSourceMappingConfiguration.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
703
726
|
EventSourceMappingConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
704
727
|
EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
|
728
|
+
EventSourceMappingConfiguration.add_member(:event_source_mapping_arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, location_name: "EventSourceMappingArn"))
|
705
729
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
706
730
|
|
707
731
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
@@ -916,6 +940,19 @@ module Aws::Lambda
|
|
916
940
|
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
917
941
|
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
|
918
942
|
|
943
|
+
GetPublicAccessBlockConfigRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PublicAccessBlockResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
944
|
+
GetPublicAccessBlockConfigRequest.struct_class = Types::GetPublicAccessBlockConfigRequest
|
945
|
+
|
946
|
+
GetPublicAccessBlockConfigResponse.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, location_name: "PublicAccessBlockConfig"))
|
947
|
+
GetPublicAccessBlockConfigResponse.struct_class = Types::GetPublicAccessBlockConfigResponse
|
948
|
+
|
949
|
+
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
950
|
+
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
951
|
+
|
952
|
+
GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
|
953
|
+
GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
|
954
|
+
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
955
|
+
|
919
956
|
GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
920
957
|
GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
921
958
|
GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
|
@@ -1178,7 +1215,7 @@ module Aws::Lambda
|
|
1178
1215
|
ListProvisionedConcurrencyConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
1179
1216
|
ListProvisionedConcurrencyConfigsResponse.struct_class = Types::ListProvisionedConcurrencyConfigsResponse
|
1180
1217
|
|
1181
|
-
ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape:
|
1218
|
+
ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
|
1182
1219
|
ListTagsRequest.struct_class = Types::ListTagsRequest
|
1183
1220
|
|
1184
1221
|
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
@@ -1228,6 +1265,14 @@ module Aws::Lambda
|
|
1228
1265
|
ProvisionedConcurrencyConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1229
1266
|
ProvisionedConcurrencyConfigNotFoundException.struct_class = Types::ProvisionedConcurrencyConfigNotFoundException
|
1230
1267
|
|
1268
|
+
PublicAccessBlockConfig.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "BlockPublicPolicy"))
|
1269
|
+
PublicAccessBlockConfig.add_member(:restrict_public_resource, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "RestrictPublicResource"))
|
1270
|
+
PublicAccessBlockConfig.struct_class = Types::PublicAccessBlockConfig
|
1271
|
+
|
1272
|
+
PublicPolicyException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
1273
|
+
PublicPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1274
|
+
PublicPolicyException.struct_class = Types::PublicPolicyException
|
1275
|
+
|
1231
1276
|
PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
|
1232
1277
|
PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1233
1278
|
PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
|
@@ -1292,6 +1337,22 @@ module Aws::Lambda
|
|
1292
1337
|
PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
1293
1338
|
PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
|
1294
1339
|
|
1340
|
+
PutPublicAccessBlockConfigRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PublicAccessBlockResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
1341
|
+
PutPublicAccessBlockConfigRequest.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, required: true, location_name: "PublicAccessBlockConfig"))
|
1342
|
+
PutPublicAccessBlockConfigRequest.struct_class = Types::PutPublicAccessBlockConfigRequest
|
1343
|
+
|
1344
|
+
PutPublicAccessBlockConfigResponse.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, location_name: "PublicAccessBlockConfig"))
|
1345
|
+
PutPublicAccessBlockConfigResponse.struct_class = Types::PutPublicAccessBlockConfigResponse
|
1346
|
+
|
1347
|
+
PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
|
1348
|
+
PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
|
1349
|
+
PutResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
|
1350
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
1351
|
+
|
1352
|
+
PutResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
|
1353
|
+
PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
|
1354
|
+
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
1355
|
+
|
1295
1356
|
PutRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
1296
1357
|
PutRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
|
1297
1358
|
PutRuntimeManagementConfigRequest.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
|
@@ -1401,7 +1462,7 @@ module Aws::Lambda
|
|
1401
1462
|
|
1402
1463
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1403
1464
|
|
1404
|
-
TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape:
|
1465
|
+
TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
|
1405
1466
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
1406
1467
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1407
1468
|
|
@@ -1426,7 +1487,7 @@ module Aws::Lambda
|
|
1426
1487
|
UnsupportedMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1427
1488
|
UnsupportedMediaTypeException.struct_class = Types::UnsupportedMediaTypeException
|
1428
1489
|
|
1429
|
-
UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape:
|
1490
|
+
UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
|
1430
1491
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
1431
1492
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1432
1493
|
|
@@ -1579,6 +1640,7 @@ module Aws::Lambda
|
|
1579
1640
|
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
1580
1641
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1581
1642
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1643
|
+
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
1582
1644
|
end)
|
1583
1645
|
|
1584
1646
|
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1773,6 +1835,20 @@ module Aws::Lambda
|
|
1773
1835
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1774
1836
|
end)
|
1775
1837
|
|
1838
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1839
|
+
o.name = "DeleteResourcePolicy"
|
1840
|
+
o.http_method = "DELETE"
|
1841
|
+
o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
|
1842
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
1843
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1844
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1845
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1846
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1847
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1848
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1849
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1850
|
+
end)
|
1851
|
+
|
1776
1852
|
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
1777
1853
|
o.name = "GetAccountSettings"
|
1778
1854
|
o.http_method = "GET"
|
@@ -1963,6 +2039,30 @@ module Aws::Lambda
|
|
1963
2039
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigNotFoundException)
|
1964
2040
|
end)
|
1965
2041
|
|
2042
|
+
api.add_operation(:get_public_access_block_config, Seahorse::Model::Operation.new.tap do |o|
|
2043
|
+
o.name = "GetPublicAccessBlockConfig"
|
2044
|
+
o.http_method = "GET"
|
2045
|
+
o.http_request_uri = "/2024-09-16/public-access-block/{ResourceArn}"
|
2046
|
+
o.input = Shapes::ShapeRef.new(shape: GetPublicAccessBlockConfigRequest)
|
2047
|
+
o.output = Shapes::ShapeRef.new(shape: GetPublicAccessBlockConfigResponse)
|
2048
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2049
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2050
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2051
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2052
|
+
end)
|
2053
|
+
|
2054
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
2055
|
+
o.name = "GetResourcePolicy"
|
2056
|
+
o.http_method = "GET"
|
2057
|
+
o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
|
2058
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
|
2059
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
|
2060
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2061
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2063
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2064
|
+
end)
|
2065
|
+
|
1966
2066
|
api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
|
1967
2067
|
o.name = "GetRuntimeManagementConfig"
|
1968
2068
|
o.http_method = "GET"
|
@@ -2364,6 +2464,35 @@ module Aws::Lambda
|
|
2364
2464
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2365
2465
|
end)
|
2366
2466
|
|
2467
|
+
api.add_operation(:put_public_access_block_config, Seahorse::Model::Operation.new.tap do |o|
|
2468
|
+
o.name = "PutPublicAccessBlockConfig"
|
2469
|
+
o.http_method = "PUT"
|
2470
|
+
o.http_request_uri = "/2024-09-16/public-access-block/{ResourceArn}"
|
2471
|
+
o.input = Shapes::ShapeRef.new(shape: PutPublicAccessBlockConfigRequest)
|
2472
|
+
o.output = Shapes::ShapeRef.new(shape: PutPublicAccessBlockConfigResponse)
|
2473
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2474
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2475
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2476
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2477
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2478
|
+
end)
|
2479
|
+
|
2480
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
2481
|
+
o.name = "PutResourcePolicy"
|
2482
|
+
o.http_method = "PUT"
|
2483
|
+
o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
|
2484
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
|
2485
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
|
2486
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2487
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2488
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
2489
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2490
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
2491
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2492
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2493
|
+
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
2494
|
+
end)
|
2495
|
+
|
2367
2496
|
api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
|
2368
2497
|
o.name = "PutRuntimeManagementConfig"
|
2369
2498
|
o.http_method = "PUT"
|
@@ -2401,6 +2530,7 @@ module Aws::Lambda
|
|
2401
2530
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2402
2531
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2403
2532
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2533
|
+
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
2404
2534
|
end)
|
2405
2535
|
|
2406
2536
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -199,6 +199,17 @@ module Aws::Lambda
|
|
199
199
|
end
|
200
200
|
end
|
201
201
|
|
202
|
+
class DeleteResourcePolicy
|
203
|
+
def self.build(context)
|
204
|
+
Aws::Lambda::EndpointParameters.new(
|
205
|
+
region: context.config.region,
|
206
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
207
|
+
use_fips: context.config.use_fips_endpoint,
|
208
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
+
)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
202
213
|
class GetAccountSettings
|
203
214
|
def self.build(context)
|
204
215
|
Aws::Lambda::EndpointParameters.new(
|
@@ -375,6 +386,28 @@ module Aws::Lambda
|
|
375
386
|
end
|
376
387
|
end
|
377
388
|
|
389
|
+
class GetPublicAccessBlockConfig
|
390
|
+
def self.build(context)
|
391
|
+
Aws::Lambda::EndpointParameters.new(
|
392
|
+
region: context.config.region,
|
393
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
394
|
+
use_fips: context.config.use_fips_endpoint,
|
395
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
396
|
+
)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class GetResourcePolicy
|
401
|
+
def self.build(context)
|
402
|
+
Aws::Lambda::EndpointParameters.new(
|
403
|
+
region: context.config.region,
|
404
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
405
|
+
use_fips: context.config.use_fips_endpoint,
|
406
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
407
|
+
)
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
378
411
|
class GetRuntimeManagementConfig
|
379
412
|
def self.build(context)
|
380
413
|
Aws::Lambda::EndpointParameters.new(
|
@@ -628,6 +661,28 @@ module Aws::Lambda
|
|
628
661
|
end
|
629
662
|
end
|
630
663
|
|
664
|
+
class PutPublicAccessBlockConfig
|
665
|
+
def self.build(context)
|
666
|
+
Aws::Lambda::EndpointParameters.new(
|
667
|
+
region: context.config.region,
|
668
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
669
|
+
use_fips: context.config.use_fips_endpoint,
|
670
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
671
|
+
)
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
class PutResourcePolicy
|
676
|
+
def self.build(context)
|
677
|
+
Aws::Lambda::EndpointParameters.new(
|
678
|
+
region: context.config.region,
|
679
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
680
|
+
use_fips: context.config.use_fips_endpoint,
|
681
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
682
|
+
)
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
631
686
|
class PutRuntimeManagementConfig
|
632
687
|
def self.build(context)
|
633
688
|
Aws::Lambda::EndpointParameters.new(
|
@@ -52,6 +52,7 @@ module Aws::Lambda
|
|
52
52
|
# * {PolicyLengthExceededException}
|
53
53
|
# * {PreconditionFailedException}
|
54
54
|
# * {ProvisionedConcurrencyConfigNotFoundException}
|
55
|
+
# * {PublicPolicyException}
|
55
56
|
# * {RecursiveInvocationException}
|
56
57
|
# * {RequestTooLargeException}
|
57
58
|
# * {ResourceConflictException}
|
@@ -577,6 +578,26 @@ module Aws::Lambda
|
|
577
578
|
end
|
578
579
|
end
|
579
580
|
|
581
|
+
class PublicPolicyException < ServiceError
|
582
|
+
|
583
|
+
# @param [Seahorse::Client::RequestContext] context
|
584
|
+
# @param [String] message
|
585
|
+
# @param [Aws::Lambda::Types::PublicPolicyException] data
|
586
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
587
|
+
super(context, message, data)
|
588
|
+
end
|
589
|
+
|
590
|
+
# @return [String]
|
591
|
+
def type
|
592
|
+
@data[:type]
|
593
|
+
end
|
594
|
+
|
595
|
+
# @return [String]
|
596
|
+
def message
|
597
|
+
@message || @data[:message]
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
580
601
|
class RecursiveInvocationException < ServiceError
|
581
602
|
|
582
603
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -101,6 +101,8 @@ module Aws::Lambda
|
|
101
101
|
Aws::Lambda::Endpoints::DeleteLayerVersion.build(context)
|
102
102
|
when :delete_provisioned_concurrency_config
|
103
103
|
Aws::Lambda::Endpoints::DeleteProvisionedConcurrencyConfig.build(context)
|
104
|
+
when :delete_resource_policy
|
105
|
+
Aws::Lambda::Endpoints::DeleteResourcePolicy.build(context)
|
104
106
|
when :get_account_settings
|
105
107
|
Aws::Lambda::Endpoints::GetAccountSettings.build(context)
|
106
108
|
when :get_alias
|
@@ -133,6 +135,10 @@ module Aws::Lambda
|
|
133
135
|
Aws::Lambda::Endpoints::GetPolicy.build(context)
|
134
136
|
when :get_provisioned_concurrency_config
|
135
137
|
Aws::Lambda::Endpoints::GetProvisionedConcurrencyConfig.build(context)
|
138
|
+
when :get_public_access_block_config
|
139
|
+
Aws::Lambda::Endpoints::GetPublicAccessBlockConfig.build(context)
|
140
|
+
when :get_resource_policy
|
141
|
+
Aws::Lambda::Endpoints::GetResourcePolicy.build(context)
|
136
142
|
when :get_runtime_management_config
|
137
143
|
Aws::Lambda::Endpoints::GetRuntimeManagementConfig.build(context)
|
138
144
|
when :invoke
|
@@ -179,6 +185,10 @@ module Aws::Lambda
|
|
179
185
|
Aws::Lambda::Endpoints::PutFunctionRecursionConfig.build(context)
|
180
186
|
when :put_provisioned_concurrency_config
|
181
187
|
Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
|
188
|
+
when :put_public_access_block_config
|
189
|
+
Aws::Lambda::Endpoints::PutPublicAccessBlockConfig.build(context)
|
190
|
+
when :put_resource_policy
|
191
|
+
Aws::Lambda::Endpoints::PutResourcePolicy.build(context)
|
182
192
|
when :put_runtime_management_config
|
183
193
|
Aws::Lambda::Endpoints::PutRuntimeManagementConfig.build(context)
|
184
194
|
when :remove_layer_version_permission
|