aws-sdk-lambda 1.131.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +1331 -26
- data/lib/aws-sdk-lambda/client_api.rb +10 -3
- data/lib/aws-sdk-lambda/types.rb +27 -12
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +7 -1
- data/sig/types.rbs +3 -0
- metadata +2 -2
@@ -101,6 +101,7 @@ module Aws::Lambda
|
|
101
101
|
EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
|
102
102
|
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
|
103
103
|
EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
|
104
|
+
EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
|
104
105
|
EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
|
105
106
|
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
|
106
107
|
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
|
@@ -360,6 +361,7 @@ module Aws::Lambda
|
|
360
361
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
361
362
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
362
363
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
364
|
+
TaggableResource = Shapes::StringShape.new(name: 'TaggableResource')
|
363
365
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
364
366
|
ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
|
365
367
|
Timeout = Shapes::IntegerShape.new(name: 'Timeout')
|
@@ -511,6 +513,7 @@ module Aws::Lambda
|
|
511
513
|
CreateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
512
514
|
CreateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
|
513
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"))
|
514
517
|
CreateCodeSigningConfigRequest.struct_class = Types::CreateCodeSigningConfigRequest
|
515
518
|
|
516
519
|
CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
|
@@ -529,6 +532,7 @@ module Aws::Lambda
|
|
529
532
|
CreateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
|
530
533
|
CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
|
531
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"))
|
532
536
|
CreateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
|
533
537
|
CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
|
534
538
|
CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
@@ -721,6 +725,7 @@ module Aws::Lambda
|
|
721
725
|
EventSourceMappingConfiguration.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
722
726
|
EventSourceMappingConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
723
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"))
|
724
729
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
725
730
|
|
726
731
|
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
|
@@ -1210,7 +1215,7 @@ module Aws::Lambda
|
|
1210
1215
|
ListProvisionedConcurrencyConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
|
1211
1216
|
ListProvisionedConcurrencyConfigsResponse.struct_class = Types::ListProvisionedConcurrencyConfigsResponse
|
1212
1217
|
|
1213
|
-
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"))
|
1214
1219
|
ListTagsRequest.struct_class = Types::ListTagsRequest
|
1215
1220
|
|
1216
1221
|
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
@@ -1457,7 +1462,7 @@ module Aws::Lambda
|
|
1457
1462
|
|
1458
1463
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1459
1464
|
|
1460
|
-
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"))
|
1461
1466
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
1462
1467
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1463
1468
|
|
@@ -1482,7 +1487,7 @@ module Aws::Lambda
|
|
1482
1487
|
UnsupportedMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1483
1488
|
UnsupportedMediaTypeException.struct_class = Types::UnsupportedMediaTypeException
|
1484
1489
|
|
1485
|
-
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"))
|
1486
1491
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
1487
1492
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1488
1493
|
|
@@ -1635,6 +1640,7 @@ module Aws::Lambda
|
|
1635
1640
|
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
|
1636
1641
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1637
1642
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1643
|
+
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
1638
1644
|
end)
|
1639
1645
|
|
1640
1646
|
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2524,6 +2530,7 @@ module Aws::Lambda
|
|
2524
2530
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2525
2531
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2526
2532
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2533
|
+
o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
|
2527
2534
|
end)
|
2528
2535
|
|
2529
2536
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
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,
|
@@ -2039,6 +2049,10 @@ module Aws::Lambda
|
|
2039
2049
|
# criteria encryption.
|
2040
2050
|
# @return [Types::FilterCriteriaError]
|
2041
2051
|
#
|
2052
|
+
# @!attribute [rw] event_source_mapping_arn
|
2053
|
+
# The Amazon Resource Name (ARN) of the event source mapping.
|
2054
|
+
# @return [String]
|
2055
|
+
#
|
2042
2056
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
|
2043
2057
|
#
|
2044
2058
|
class EventSourceMappingConfiguration < Struct.new(
|
@@ -2070,7 +2084,8 @@ module Aws::Lambda
|
|
2070
2084
|
:scaling_config,
|
2071
2085
|
:document_db_event_source_config,
|
2072
2086
|
:kms_key_arn,
|
2073
|
-
:filter_criteria_error
|
2087
|
+
:filter_criteria_error,
|
2088
|
+
:event_source_mapping_arn)
|
2074
2089
|
SENSITIVE = []
|
2075
2090
|
include Aws::Structure
|
2076
2091
|
end
|
@@ -4746,8 +4761,8 @@ module Aws::Lambda
|
|
4746
4761
|
end
|
4747
4762
|
|
4748
4763
|
# @!attribute [rw] resource
|
4749
|
-
# The
|
4750
|
-
# 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.
|
4751
4766
|
# @return [String]
|
4752
4767
|
#
|
4753
4768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
|
@@ -6250,11 +6265,11 @@ module Aws::Lambda
|
|
6250
6265
|
end
|
6251
6266
|
|
6252
6267
|
# @!attribute [rw] resource
|
6253
|
-
# The
|
6268
|
+
# The resource's Amazon Resource Name (ARN).
|
6254
6269
|
# @return [String]
|
6255
6270
|
#
|
6256
6271
|
# @!attribute [rw] tags
|
6257
|
-
# A list of tags to apply to the
|
6272
|
+
# A list of tags to apply to the resource.
|
6258
6273
|
# @return [Hash<String,String>]
|
6259
6274
|
#
|
6260
6275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest AWS API Documentation
|
@@ -6348,11 +6363,11 @@ module Aws::Lambda
|
|
6348
6363
|
end
|
6349
6364
|
|
6350
6365
|
# @!attribute [rw] resource
|
6351
|
-
# The
|
6366
|
+
# The resource's Amazon Resource Name (ARN).
|
6352
6367
|
# @return [String]
|
6353
6368
|
#
|
6354
6369
|
# @!attribute [rw] tag_keys
|
6355
|
-
# A list of tag keys to remove from the
|
6370
|
+
# A list of tag keys to remove from the resource.
|
6356
6371
|
# @return [Array<String>]
|
6357
6372
|
#
|
6358
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: (
|
@@ -545,6 +549,7 @@ module Aws
|
|
545
549
|
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
|
546
550
|
def kms_key_arn: () -> ::String
|
547
551
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
552
|
+
def event_source_mapping_arn: () -> ::String
|
548
553
|
end
|
549
554
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
|
550
555
|
def get_event_source_mapping: (
|
@@ -1288,6 +1293,7 @@ module Aws
|
|
1288
1293
|
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
|
1289
1294
|
def kms_key_arn: () -> ::String
|
1290
1295
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
1296
|
+
def event_source_mapping_arn: () -> ::String
|
1291
1297
|
end
|
1292
1298
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
|
1293
1299
|
def update_event_source_mapping: (
|
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]
|
@@ -413,6 +415,7 @@ module Aws::Lambda
|
|
413
415
|
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
|
414
416
|
attr_accessor kms_key_arn: ::String
|
415
417
|
attr_accessor filter_criteria_error: Types::FilterCriteriaError
|
418
|
+
attr_accessor event_source_mapping_arn: ::String
|
416
419
|
SENSITIVE: []
|
417
420
|
end
|
418
421
|
|
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
|