aws-sdk-lambda 1.130.0 → 1.132.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 +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
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -167,10 +167,10 @@ module Aws::Lambda
|
|
167
167
|
# @return [String]
|
168
168
|
#
|
169
169
|
# @!attribute [rw] principal
|
170
|
-
# The Amazon Web Servicesservice
|
171
|
-
# invokes the function. If you specify a
|
172
|
-
# `SourceAccount` to limit who can invoke
|
173
|
-
# service.
|
170
|
+
# The Amazon Web Servicesservice, Amazon Web Services account, IAM
|
171
|
+
# user, or IAM role that invokes the function. If you specify a
|
172
|
+
# service, use `SourceArn` or `SourceAccount` to limit who can invoke
|
173
|
+
# the function through that service.
|
174
174
|
# @return [String]
|
175
175
|
#
|
176
176
|
# @!attribute [rw] source_arn
|
@@ -625,12 +625,17 @@ module Aws::Lambda
|
|
625
625
|
# validation checks fail.
|
626
626
|
# @return [Types::CodeSigningPolicies]
|
627
627
|
#
|
628
|
+
# @!attribute [rw] tags
|
629
|
+
# A list of tags to add to the code signing configuration.
|
630
|
+
# @return [Hash<String,String>]
|
631
|
+
#
|
628
632
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfigRequest AWS API Documentation
|
629
633
|
#
|
630
634
|
class CreateCodeSigningConfigRequest < Struct.new(
|
631
635
|
:description,
|
632
636
|
:allowed_publishers,
|
633
|
-
:code_signing_policies
|
637
|
+
:code_signing_policies,
|
638
|
+
:tags)
|
634
639
|
SENSITIVE = []
|
635
640
|
include Aws::Structure
|
636
641
|
end
|
@@ -790,6 +795,10 @@ module Aws::Lambda
|
|
790
795
|
# record expires.
|
791
796
|
# @return [Integer]
|
792
797
|
#
|
798
|
+
# @!attribute [rw] tags
|
799
|
+
# A list of tags to apply to the event source mapping.
|
800
|
+
# @return [Hash<String,String>]
|
801
|
+
#
|
793
802
|
# @!attribute [rw] tumbling_window_in_seconds
|
794
803
|
# (Kinesis and DynamoDB Streams only) The duration in seconds of a
|
795
804
|
# processing window for DynamoDB and Kinesis Streams event sources. A
|
@@ -870,6 +879,7 @@ module Aws::Lambda
|
|
870
879
|
:maximum_record_age_in_seconds,
|
871
880
|
:bisect_batch_on_function_error,
|
872
881
|
:maximum_retry_attempts,
|
882
|
+
:tags,
|
873
883
|
:tumbling_window_in_seconds,
|
874
884
|
:topics,
|
875
885
|
:queues,
|
@@ -1532,6 +1542,28 @@ module Aws::Lambda
|
|
1532
1542
|
include Aws::Structure
|
1533
1543
|
end
|
1534
1544
|
|
1545
|
+
# @!attribute [rw] resource_arn
|
1546
|
+
# The Amazon Resource Name (ARN) of the function you want to delete
|
1547
|
+
# the policy from. You can use either a qualified or an unqualified
|
1548
|
+
# ARN, but the value you specify must be a complete ARN and wildcard
|
1549
|
+
# characters are not accepted.
|
1550
|
+
# @return [String]
|
1551
|
+
#
|
1552
|
+
# @!attribute [rw] revision_id
|
1553
|
+
# Delete the existing policy only if its revision ID matches the
|
1554
|
+
# string you specify. To find the revision ID of the policy currently
|
1555
|
+
# attached to your function, use the GetResourcePolicy action.
|
1556
|
+
# @return [String]
|
1557
|
+
#
|
1558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicyRequest AWS API Documentation
|
1559
|
+
#
|
1560
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
1561
|
+
:resource_arn,
|
1562
|
+
:revision_id)
|
1563
|
+
SENSITIVE = []
|
1564
|
+
include Aws::Structure
|
1565
|
+
end
|
1566
|
+
|
1535
1567
|
# A configuration object that specifies the destination of an event
|
1536
1568
|
# after Lambda processes it.
|
1537
1569
|
#
|
@@ -2017,6 +2049,10 @@ module Aws::Lambda
|
|
2017
2049
|
# criteria encryption.
|
2018
2050
|
# @return [Types::FilterCriteriaError]
|
2019
2051
|
#
|
2052
|
+
# @!attribute [rw] event_source_mapping_arn
|
2053
|
+
# The Amazon Resource Name (ARN) of the event source mapping.
|
2054
|
+
# @return [String]
|
2055
|
+
#
|
2020
2056
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
2021
2057
|
#
|
2022
2058
|
class EventSourceMappingConfiguration < Struct.new(
|
@@ -2048,7 +2084,8 @@ module Aws::Lambda
|
|
2048
2084
|
:scaling_config,
|
2049
2085
|
:document_db_event_source_config,
|
2050
2086
|
:kms_key_arn,
|
2051
|
-
:filter_criteria_error
|
2087
|
+
:filter_criteria_error,
|
2088
|
+
:event_source_mapping_arn)
|
2052
2089
|
SENSITIVE = []
|
2053
2090
|
include Aws::Structure
|
2054
2091
|
end
|
@@ -3300,6 +3337,63 @@ module Aws::Lambda
|
|
3300
3337
|
include Aws::Structure
|
3301
3338
|
end
|
3302
3339
|
|
3340
|
+
# @!attribute [rw] resource_arn
|
3341
|
+
# The Amazon Resource Name (ARN) of the function you want to retrieve
|
3342
|
+
# public-access settings for.
|
3343
|
+
# @return [String]
|
3344
|
+
#
|
3345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfigRequest AWS API Documentation
|
3346
|
+
#
|
3347
|
+
class GetPublicAccessBlockConfigRequest < Struct.new(
|
3348
|
+
:resource_arn)
|
3349
|
+
SENSITIVE = []
|
3350
|
+
include Aws::Structure
|
3351
|
+
end
|
3352
|
+
|
3353
|
+
# @!attribute [rw] public_access_block_config
|
3354
|
+
# The public-access settings configured for the function you specified
|
3355
|
+
# @return [Types::PublicAccessBlockConfig]
|
3356
|
+
#
|
3357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfigResponse AWS API Documentation
|
3358
|
+
#
|
3359
|
+
class GetPublicAccessBlockConfigResponse < Struct.new(
|
3360
|
+
:public_access_block_config)
|
3361
|
+
SENSITIVE = []
|
3362
|
+
include Aws::Structure
|
3363
|
+
end
|
3364
|
+
|
3365
|
+
# @!attribute [rw] resource_arn
|
3366
|
+
# The Amazon Resource Name (ARN) of the function you want to retrieve
|
3367
|
+
# the policy for. You can use either a qualified or an unqualified
|
3368
|
+
# ARN, but the value you specify must be a complete ARN and wildcard
|
3369
|
+
# characters are not accepted.
|
3370
|
+
# @return [String]
|
3371
|
+
#
|
3372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyRequest AWS API Documentation
|
3373
|
+
#
|
3374
|
+
class GetResourcePolicyRequest < Struct.new(
|
3375
|
+
:resource_arn)
|
3376
|
+
SENSITIVE = []
|
3377
|
+
include Aws::Structure
|
3378
|
+
end
|
3379
|
+
|
3380
|
+
# @!attribute [rw] policy
|
3381
|
+
# The resource-based policy attached to the function you specified.
|
3382
|
+
# @return [String]
|
3383
|
+
#
|
3384
|
+
# @!attribute [rw] revision_id
|
3385
|
+
# The revision ID of the policy.
|
3386
|
+
# @return [String]
|
3387
|
+
#
|
3388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyResponse AWS API Documentation
|
3389
|
+
#
|
3390
|
+
class GetResourcePolicyResponse < Struct.new(
|
3391
|
+
:policy,
|
3392
|
+
:revision_id)
|
3393
|
+
SENSITIVE = []
|
3394
|
+
include Aws::Structure
|
3395
|
+
end
|
3396
|
+
|
3303
3397
|
# @!attribute [rw] function_name
|
3304
3398
|
# The name or ARN of the Lambda function.
|
3305
3399
|
#
|
@@ -4667,8 +4761,8 @@ module Aws::Lambda
|
|
4667
4761
|
end
|
4668
4762
|
|
4669
4763
|
# @!attribute [rw] resource
|
4670
|
-
# The
|
4671
|
-
# support adding tags to aliases or versions.
|
4764
|
+
# The resource's Amazon Resource Name (ARN). Note: Lambda does not
|
4765
|
+
# support adding tags to function aliases or versions.
|
4672
4766
|
# @return [String]
|
4673
4767
|
#
|
4674
4768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
|
@@ -4951,6 +5045,52 @@ module Aws::Lambda
|
|
4951
5045
|
include Aws::Structure
|
4952
5046
|
end
|
4953
5047
|
|
5048
|
+
# An object that defines the public-access settings for a function.
|
5049
|
+
#
|
5050
|
+
# @!attribute [rw] block_public_policy
|
5051
|
+
# To block the creation of resource-based policies that would grant
|
5052
|
+
# public access to your function, set `BlockPublicPolicy` to `true`.
|
5053
|
+
# To allow the creation of resource-based policies that would grant
|
5054
|
+
# public access to your function, set `BlockPublicPolicy` to `false`.
|
5055
|
+
# @return [Boolean]
|
5056
|
+
#
|
5057
|
+
# @!attribute [rw] restrict_public_resource
|
5058
|
+
# To block public access to your function, even if its resource-based
|
5059
|
+
# policy allows it, set `RestrictPublicResource` to `true`. To allow
|
5060
|
+
# public access to a function with a resource-based policy that
|
5061
|
+
# permits it, set `RestrictPublicResource` to `false`.
|
5062
|
+
# @return [Boolean]
|
5063
|
+
#
|
5064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicAccessBlockConfig AWS API Documentation
|
5065
|
+
#
|
5066
|
+
class PublicAccessBlockConfig < Struct.new(
|
5067
|
+
:block_public_policy,
|
5068
|
+
:restrict_public_resource)
|
5069
|
+
SENSITIVE = []
|
5070
|
+
include Aws::Structure
|
5071
|
+
end
|
5072
|
+
|
5073
|
+
# Lambda prevented your policy from being created because it would grant
|
5074
|
+
# public access to your function. If you intended to create a public
|
5075
|
+
# policy, use the PutPublicAccessBlockConfig API action to configure
|
5076
|
+
# your function's public-access settings to allow public policies.
|
5077
|
+
#
|
5078
|
+
# @!attribute [rw] type
|
5079
|
+
# The exception type.
|
5080
|
+
# @return [String]
|
5081
|
+
#
|
5082
|
+
# @!attribute [rw] message
|
5083
|
+
# @return [String]
|
5084
|
+
#
|
5085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicPolicyException AWS API Documentation
|
5086
|
+
#
|
5087
|
+
class PublicPolicyException < Struct.new(
|
5088
|
+
:type,
|
5089
|
+
:message)
|
5090
|
+
SENSITIVE = []
|
5091
|
+
include Aws::Structure
|
5092
|
+
end
|
5093
|
+
|
4954
5094
|
# @!attribute [rw] layer_name
|
4955
5095
|
# The name or Amazon Resource Name (ARN) of the layer.
|
4956
5096
|
# @return [String]
|
@@ -5435,6 +5575,103 @@ module Aws::Lambda
|
|
5435
5575
|
include Aws::Structure
|
5436
5576
|
end
|
5437
5577
|
|
5578
|
+
# @!attribute [rw] resource_arn
|
5579
|
+
# The Amazon Resource Name (ARN) of the function you want to configure
|
5580
|
+
# public-access settings for. Public-access settings are applied at
|
5581
|
+
# the function level, so you can't apply different settings to
|
5582
|
+
# function versions or aliases.
|
5583
|
+
# @return [String]
|
5584
|
+
#
|
5585
|
+
# @!attribute [rw] public_access_block_config
|
5586
|
+
# An object defining the public-access settings you want to apply.
|
5587
|
+
#
|
5588
|
+
# To block the creation of resource-based policies that would grant
|
5589
|
+
# public access to your function, set `BlockPublicPolicy` to `true`.
|
5590
|
+
# To allow the creation of resource-based policies that would grant
|
5591
|
+
# public access to your function, set `BlockPublicPolicy` to `false`.
|
5592
|
+
#
|
5593
|
+
# To block public access to your function, even if its resource-based
|
5594
|
+
# policy allows it, set `RestrictPublicResource` to `true`. To allow
|
5595
|
+
# public access to a function with a resource-based policy that
|
5596
|
+
# permits it, set `RestrictPublicResource` to `false`.
|
5597
|
+
#
|
5598
|
+
# The default setting for both `BlockPublicPolicy` and
|
5599
|
+
# `RestrictPublicResource` is `true`.
|
5600
|
+
# @return [Types::PublicAccessBlockConfig]
|
5601
|
+
#
|
5602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfigRequest AWS API Documentation
|
5603
|
+
#
|
5604
|
+
class PutPublicAccessBlockConfigRequest < Struct.new(
|
5605
|
+
:resource_arn,
|
5606
|
+
:public_access_block_config)
|
5607
|
+
SENSITIVE = []
|
5608
|
+
include Aws::Structure
|
5609
|
+
end
|
5610
|
+
|
5611
|
+
# @!attribute [rw] public_access_block_config
|
5612
|
+
# The public-access settings Lambda applied to your function.
|
5613
|
+
# @return [Types::PublicAccessBlockConfig]
|
5614
|
+
#
|
5615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfigResponse AWS API Documentation
|
5616
|
+
#
|
5617
|
+
class PutPublicAccessBlockConfigResponse < Struct.new(
|
5618
|
+
:public_access_block_config)
|
5619
|
+
SENSITIVE = []
|
5620
|
+
include Aws::Structure
|
5621
|
+
end
|
5622
|
+
|
5623
|
+
# @!attribute [rw] resource_arn
|
5624
|
+
# The Amazon Resource Name (ARN) of the function you want to add the
|
5625
|
+
# policy to. You can use either a qualified or an unqualified ARN, but
|
5626
|
+
# the value you specify must be a complete ARN and wildcard characters
|
5627
|
+
# are not accepted.
|
5628
|
+
# @return [String]
|
5629
|
+
#
|
5630
|
+
# @!attribute [rw] policy
|
5631
|
+
# The JSON resource-based policy you want to add to your function.
|
5632
|
+
#
|
5633
|
+
# To learn more about creating resource-based policies for controlling
|
5634
|
+
# access to Lambda, see [Working with resource-based IAM policies in
|
5635
|
+
# Lambda][1] in the *Lambda Developer Guide*.
|
5636
|
+
#
|
5637
|
+
#
|
5638
|
+
#
|
5639
|
+
# [1]: https://docs.aws.amazon.com/
|
5640
|
+
# @return [String]
|
5641
|
+
#
|
5642
|
+
# @!attribute [rw] revision_id
|
5643
|
+
# Replace the existing policy only if its revision ID matches the
|
5644
|
+
# string you specify. To find the revision ID of the policy currently
|
5645
|
+
# attached to your function, use the GetResourcePolicy action.
|
5646
|
+
# @return [String]
|
5647
|
+
#
|
5648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyRequest AWS API Documentation
|
5649
|
+
#
|
5650
|
+
class PutResourcePolicyRequest < Struct.new(
|
5651
|
+
:resource_arn,
|
5652
|
+
:policy,
|
5653
|
+
:revision_id)
|
5654
|
+
SENSITIVE = []
|
5655
|
+
include Aws::Structure
|
5656
|
+
end
|
5657
|
+
|
5658
|
+
# @!attribute [rw] policy
|
5659
|
+
# The policy Lambda added to your function.
|
5660
|
+
# @return [String]
|
5661
|
+
#
|
5662
|
+
# @!attribute [rw] revision_id
|
5663
|
+
# The revision ID of the policy Lambda added to your function.
|
5664
|
+
# @return [String]
|
5665
|
+
#
|
5666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyResponse AWS API Documentation
|
5667
|
+
#
|
5668
|
+
class PutResourcePolicyResponse < Struct.new(
|
5669
|
+
:policy,
|
5670
|
+
:revision_id)
|
5671
|
+
SENSITIVE = []
|
5672
|
+
include Aws::Structure
|
5673
|
+
end
|
5674
|
+
|
5438
5675
|
# @!attribute [rw] function_name
|
5439
5676
|
# The name or ARN of the Lambda function.
|
5440
5677
|
#
|
@@ -6028,11 +6265,11 @@ module Aws::Lambda
|
|
6028
6265
|
end
|
6029
6266
|
|
6030
6267
|
# @!attribute [rw] resource
|
6031
|
-
# The
|
6268
|
+
# The resource's Amazon Resource Name (ARN).
|
6032
6269
|
# @return [String]
|
6033
6270
|
#
|
6034
6271
|
# @!attribute [rw] tags
|
6035
|
-
# A list of tags to apply to the
|
6272
|
+
# A list of tags to apply to the resource.
|
6036
6273
|
# @return [Hash<String,String>]
|
6037
6274
|
#
|
6038
6275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest AWS API Documentation
|
@@ -6126,11 +6363,11 @@ module Aws::Lambda
|
|
6126
6363
|
end
|
6127
6364
|
|
6128
6365
|
# @!attribute [rw] resource
|
6129
|
-
# The
|
6366
|
+
# The resource's Amazon Resource Name (ARN).
|
6130
6367
|
# @return [String]
|
6131
6368
|
#
|
6132
6369
|
# @!attribute [rw] tag_keys
|
6133
|
-
# A list of tag keys to remove from the
|
6370
|
+
# A list of tag keys to remove from the resource.
|
6134
6371
|
# @return [Array<String>]
|
6135
6372
|
#
|
6136
6373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest AWS API Documentation
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -147,7 +147,8 @@ module Aws
|
|
147
147
|
},
|
148
148
|
?code_signing_policies: {
|
149
149
|
untrusted_artifact_on_deployment: ("Warn" | "Enforce")?
|
150
|
-
}
|
150
|
+
},
|
151
|
+
?tags: Hash[::String, ::String]
|
151
152
|
) -> _CreateCodeSigningConfigResponseSuccess
|
152
153
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeSigningConfigResponseSuccess
|
153
154
|
|
@@ -182,6 +183,7 @@ module Aws
|
|
182
183
|
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
|
183
184
|
def kms_key_arn: () -> ::String
|
184
185
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
186
|
+
def event_source_mapping_arn: () -> ::String
|
185
187
|
end
|
186
188
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method
|
187
189
|
def create_event_source_mapping: (
|
@@ -211,6 +213,7 @@ module Aws
|
|
211
213
|
?maximum_record_age_in_seconds: ::Integer,
|
212
214
|
?bisect_batch_on_function_error: bool,
|
213
215
|
?maximum_retry_attempts: ::Integer,
|
216
|
+
?tags: Hash[::String, ::String],
|
214
217
|
?tumbling_window_in_seconds: ::Integer,
|
215
218
|
?topics: Array[::String],
|
216
219
|
?queues: Array[::String],
|
@@ -417,6 +420,7 @@ module Aws
|
|
417
420
|
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
|
418
421
|
def kms_key_arn: () -> ::String
|
419
422
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
423
|
+
def event_source_mapping_arn: () -> ::String
|
420
424
|
end
|
421
425
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method
|
422
426
|
def delete_event_source_mapping: (
|
@@ -471,6 +475,13 @@ module Aws
|
|
471
475
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
472
476
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
473
477
|
|
478
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_resource_policy-instance_method
|
479
|
+
def delete_resource_policy: (
|
480
|
+
resource_arn: ::String,
|
481
|
+
?revision_id: ::String
|
482
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
483
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
484
|
+
|
474
485
|
interface _GetAccountSettingsResponseSuccess
|
475
486
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
|
476
487
|
def account_limit: () -> Types::AccountLimit
|
@@ -538,6 +549,7 @@ module Aws
|
|
538
549
|
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
|
539
550
|
def kms_key_arn: () -> ::String
|
540
551
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
552
|
+
def event_source_mapping_arn: () -> ::String
|
541
553
|
end
|
542
554
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
|
543
555
|
def get_event_source_mapping: (
|
@@ -745,6 +757,27 @@ module Aws
|
|
745
757
|
) -> _GetProvisionedConcurrencyConfigResponseSuccess
|
746
758
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedConcurrencyConfigResponseSuccess
|
747
759
|
|
760
|
+
interface _GetPublicAccessBlockConfigResponseSuccess
|
761
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicAccessBlockConfigResponse]
|
762
|
+
def public_access_block_config: () -> Types::PublicAccessBlockConfig
|
763
|
+
end
|
764
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_public_access_block_config-instance_method
|
765
|
+
def get_public_access_block_config: (
|
766
|
+
resource_arn: ::String
|
767
|
+
) -> _GetPublicAccessBlockConfigResponseSuccess
|
768
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicAccessBlockConfigResponseSuccess
|
769
|
+
|
770
|
+
interface _GetResourcePolicyResponseSuccess
|
771
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
|
772
|
+
def policy: () -> ::String
|
773
|
+
def revision_id: () -> ::String
|
774
|
+
end
|
775
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_resource_policy-instance_method
|
776
|
+
def get_resource_policy: (
|
777
|
+
resource_arn: ::String
|
778
|
+
) -> _GetResourcePolicyResponseSuccess
|
779
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
780
|
+
|
748
781
|
interface _GetRuntimeManagementConfigResponseSuccess
|
749
782
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRuntimeManagementConfigResponse]
|
750
783
|
def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
|
@@ -1116,6 +1149,33 @@ module Aws
|
|
1116
1149
|
) -> _PutProvisionedConcurrencyConfigResponseSuccess
|
1117
1150
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProvisionedConcurrencyConfigResponseSuccess
|
1118
1151
|
|
1152
|
+
interface _PutPublicAccessBlockConfigResponseSuccess
|
1153
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutPublicAccessBlockConfigResponse]
|
1154
|
+
def public_access_block_config: () -> Types::PublicAccessBlockConfig
|
1155
|
+
end
|
1156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_public_access_block_config-instance_method
|
1157
|
+
def put_public_access_block_config: (
|
1158
|
+
resource_arn: ::String,
|
1159
|
+
public_access_block_config: {
|
1160
|
+
block_public_policy: bool?,
|
1161
|
+
restrict_public_resource: bool?
|
1162
|
+
}
|
1163
|
+
) -> _PutPublicAccessBlockConfigResponseSuccess
|
1164
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPublicAccessBlockConfigResponseSuccess
|
1165
|
+
|
1166
|
+
interface _PutResourcePolicyResponseSuccess
|
1167
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
1168
|
+
def policy: () -> ::String
|
1169
|
+
def revision_id: () -> ::String
|
1170
|
+
end
|
1171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_resource_policy-instance_method
|
1172
|
+
def put_resource_policy: (
|
1173
|
+
resource_arn: ::String,
|
1174
|
+
policy: ::String,
|
1175
|
+
?revision_id: ::String
|
1176
|
+
) -> _PutResourcePolicyResponseSuccess
|
1177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
1178
|
+
|
1119
1179
|
interface _PutRuntimeManagementConfigResponseSuccess
|
1120
1180
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuntimeManagementConfigResponse]
|
1121
1181
|
def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
|
@@ -1233,6 +1293,7 @@ module Aws
|
|
1233
1293
|
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
|
1234
1294
|
def kms_key_arn: () -> ::String
|
1235
1295
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
1296
|
+
def event_source_mapping_arn: () -> ::String
|
1236
1297
|
end
|
1237
1298
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
|
1238
1299
|
def update_event_source_mapping: (
|
data/sig/errors.rbs
CHANGED
@@ -112,6 +112,10 @@ module Aws
|
|
112
112
|
def type: () -> ::String
|
113
113
|
def message: () -> ::String
|
114
114
|
end
|
115
|
+
class PublicPolicyException < ::Aws::Errors::ServiceError
|
116
|
+
def type: () -> ::String
|
117
|
+
def message: () -> ::String
|
118
|
+
end
|
115
119
|
class RecursiveInvocationException < ::Aws::Errors::ServiceError
|
116
120
|
def type: () -> ::String
|
117
121
|
def message: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -146,6 +146,7 @@ module Aws::Lambda
|
|
146
146
|
attr_accessor description: ::String
|
147
147
|
attr_accessor allowed_publishers: Types::AllowedPublishers
|
148
148
|
attr_accessor code_signing_policies: Types::CodeSigningPolicies
|
149
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
149
150
|
SENSITIVE: []
|
150
151
|
end
|
151
152
|
|
@@ -168,6 +169,7 @@ module Aws::Lambda
|
|
168
169
|
attr_accessor maximum_record_age_in_seconds: ::Integer
|
169
170
|
attr_accessor bisect_batch_on_function_error: bool
|
170
171
|
attr_accessor maximum_retry_attempts: ::Integer
|
172
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
171
173
|
attr_accessor tumbling_window_in_seconds: ::Integer
|
172
174
|
attr_accessor topics: ::Array[::String]
|
173
175
|
attr_accessor queues: ::Array[::String]
|
@@ -293,6 +295,12 @@ module Aws::Lambda
|
|
293
295
|
SENSITIVE: []
|
294
296
|
end
|
295
297
|
|
298
|
+
class DeleteResourcePolicyRequest
|
299
|
+
attr_accessor resource_arn: ::String
|
300
|
+
attr_accessor revision_id: ::String
|
301
|
+
SENSITIVE: []
|
302
|
+
end
|
303
|
+
|
296
304
|
class DestinationConfig
|
297
305
|
attr_accessor on_success: Types::OnSuccess
|
298
306
|
attr_accessor on_failure: Types::OnFailure
|
@@ -407,6 +415,7 @@ module Aws::Lambda
|
|
407
415
|
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
|
408
416
|
attr_accessor kms_key_arn: ::String
|
409
417
|
attr_accessor filter_criteria_error: Types::FilterCriteriaError
|
418
|
+
attr_accessor event_source_mapping_arn: ::String
|
410
419
|
SENSITIVE: []
|
411
420
|
end
|
412
421
|
|
@@ -677,6 +686,27 @@ module Aws::Lambda
|
|
677
686
|
SENSITIVE: []
|
678
687
|
end
|
679
688
|
|
689
|
+
class GetPublicAccessBlockConfigRequest
|
690
|
+
attr_accessor resource_arn: ::String
|
691
|
+
SENSITIVE: []
|
692
|
+
end
|
693
|
+
|
694
|
+
class GetPublicAccessBlockConfigResponse
|
695
|
+
attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
|
696
|
+
SENSITIVE: []
|
697
|
+
end
|
698
|
+
|
699
|
+
class GetResourcePolicyRequest
|
700
|
+
attr_accessor resource_arn: ::String
|
701
|
+
SENSITIVE: []
|
702
|
+
end
|
703
|
+
|
704
|
+
class GetResourcePolicyResponse
|
705
|
+
attr_accessor policy: ::String
|
706
|
+
attr_accessor revision_id: ::String
|
707
|
+
SENSITIVE: []
|
708
|
+
end
|
709
|
+
|
680
710
|
class GetRuntimeManagementConfigRequest
|
681
711
|
attr_accessor function_name: ::String
|
682
712
|
attr_accessor qualifier: ::String
|
@@ -1085,6 +1115,18 @@ module Aws::Lambda
|
|
1085
1115
|
SENSITIVE: []
|
1086
1116
|
end
|
1087
1117
|
|
1118
|
+
class PublicAccessBlockConfig
|
1119
|
+
attr_accessor block_public_policy: bool
|
1120
|
+
attr_accessor restrict_public_resource: bool
|
1121
|
+
SENSITIVE: []
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
class PublicPolicyException
|
1125
|
+
attr_accessor type: ::String
|
1126
|
+
attr_accessor message: ::String
|
1127
|
+
SENSITIVE: []
|
1128
|
+
end
|
1129
|
+
|
1088
1130
|
class PublishLayerVersionRequest
|
1089
1131
|
attr_accessor layer_name: ::String
|
1090
1132
|
attr_accessor description: ::String
|
@@ -1171,6 +1213,30 @@ module Aws::Lambda
|
|
1171
1213
|
SENSITIVE: []
|
1172
1214
|
end
|
1173
1215
|
|
1216
|
+
class PutPublicAccessBlockConfigRequest
|
1217
|
+
attr_accessor resource_arn: ::String
|
1218
|
+
attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
|
1219
|
+
SENSITIVE: []
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
class PutPublicAccessBlockConfigResponse
|
1223
|
+
attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
|
1224
|
+
SENSITIVE: []
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
class PutResourcePolicyRequest
|
1228
|
+
attr_accessor resource_arn: ::String
|
1229
|
+
attr_accessor policy: ::String
|
1230
|
+
attr_accessor revision_id: ::String
|
1231
|
+
SENSITIVE: []
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
class PutResourcePolicyResponse
|
1235
|
+
attr_accessor policy: ::String
|
1236
|
+
attr_accessor revision_id: ::String
|
1237
|
+
SENSITIVE: []
|
1238
|
+
end
|
1239
|
+
|
1174
1240
|
class PutRuntimeManagementConfigRequest
|
1175
1241
|
attr_accessor function_name: ::String
|
1176
1242
|
attr_accessor qualifier: ::String
|
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.132.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: 2024-09-
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|