aws-sdk-lambda 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +16 -1
- data/lib/aws-sdk-lambda/client_api.rb +28 -0
- data/lib/aws-sdk-lambda/types.rb +15 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f5abef237981842a2c95703d4e3cf86e02ecd68
|
4
|
+
data.tar.gz: 2337e7547508dc5b71562fba48672bed39338e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa0ac9eaca8dfaba3502ba7820f2306a8e4f2d1488ae37dac2ed3c96ebd9096284bfa2433e5764a4c957b7ab541e4b53ab2f9b6baf1cf2bd9ea5246b0d88c353
|
7
|
+
data.tar.gz: cc69b04fcd6a6bbfb79039d941cdecbdee501e43c961567dfb933f6face626392b9daf24ce27687caf1794050306f6e65c81eedc34ff5383c21ee681f2470603
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -593,6 +593,8 @@ module Aws::Lambda
|
|
593
593
|
#
|
594
594
|
# * **Amazon Simple Queue Service** - Default 10. Max 10.
|
595
595
|
#
|
596
|
+
# @option params [Integer] :maximum_batching_window_in_seconds
|
597
|
+
#
|
596
598
|
# @option params [String] :starting_position
|
597
599
|
# The position in a stream from which to start reading. Required for
|
598
600
|
# Amazon Kinesis and Amazon DynamoDB Streams sources. `AT_TIMESTAMP` is
|
@@ -606,6 +608,7 @@ module Aws::Lambda
|
|
606
608
|
#
|
607
609
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
608
610
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
611
|
+
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
609
612
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
610
613
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
611
614
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
@@ -620,6 +623,7 @@ module Aws::Lambda
|
|
620
623
|
# function_name: "FunctionName", # required
|
621
624
|
# enabled: false,
|
622
625
|
# batch_size: 1,
|
626
|
+
# maximum_batching_window_in_seconds: 1,
|
623
627
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
624
628
|
# starting_position_timestamp: Time.now,
|
625
629
|
# })
|
@@ -628,6 +632,7 @@ module Aws::Lambda
|
|
628
632
|
#
|
629
633
|
# resp.uuid #=> String
|
630
634
|
# resp.batch_size #=> Integer
|
635
|
+
# resp.maximum_batching_window_in_seconds #=> Integer
|
631
636
|
# resp.event_source_arn #=> String
|
632
637
|
# resp.function_arn #=> String
|
633
638
|
# resp.last_modified #=> Time
|
@@ -990,6 +995,7 @@ module Aws::Lambda
|
|
990
995
|
#
|
991
996
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
992
997
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
998
|
+
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
993
999
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
994
1000
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
995
1001
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
@@ -1028,6 +1034,7 @@ module Aws::Lambda
|
|
1028
1034
|
#
|
1029
1035
|
# resp.uuid #=> String
|
1030
1036
|
# resp.batch_size #=> Integer
|
1037
|
+
# resp.maximum_batching_window_in_seconds #=> Integer
|
1031
1038
|
# resp.event_source_arn #=> String
|
1032
1039
|
# resp.function_arn #=> String
|
1033
1040
|
# resp.last_modified #=> Time
|
@@ -1302,6 +1309,7 @@ module Aws::Lambda
|
|
1302
1309
|
#
|
1303
1310
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
1304
1311
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
1312
|
+
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
1305
1313
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
1306
1314
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
1307
1315
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
@@ -1340,6 +1348,7 @@ module Aws::Lambda
|
|
1340
1348
|
#
|
1341
1349
|
# resp.uuid #=> String
|
1342
1350
|
# resp.batch_size #=> Integer
|
1351
|
+
# resp.maximum_batching_window_in_seconds #=> Integer
|
1343
1352
|
# resp.event_source_arn #=> String
|
1344
1353
|
# resp.function_arn #=> String
|
1345
1354
|
# resp.last_modified #=> Time
|
@@ -2177,6 +2186,7 @@ module Aws::Lambda
|
|
2177
2186
|
# resp.event_source_mappings #=> Array
|
2178
2187
|
# resp.event_source_mappings[0].uuid #=> String
|
2179
2188
|
# resp.event_source_mappings[0].batch_size #=> Integer
|
2189
|
+
# resp.event_source_mappings[0].maximum_batching_window_in_seconds #=> Integer
|
2180
2190
|
# resp.event_source_mappings[0].event_source_arn #=> String
|
2181
2191
|
# resp.event_source_mappings[0].function_arn #=> String
|
2182
2192
|
# resp.event_source_mappings[0].last_modified #=> Time
|
@@ -3150,10 +3160,13 @@ module Aws::Lambda
|
|
3150
3160
|
#
|
3151
3161
|
# * **Amazon Simple Queue Service** - Default 10. Max 10.
|
3152
3162
|
#
|
3163
|
+
# @option params [Integer] :maximum_batching_window_in_seconds
|
3164
|
+
#
|
3153
3165
|
# @return [Types::EventSourceMappingConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3154
3166
|
#
|
3155
3167
|
# * {Types::EventSourceMappingConfiguration#uuid #uuid} => String
|
3156
3168
|
# * {Types::EventSourceMappingConfiguration#batch_size #batch_size} => Integer
|
3169
|
+
# * {Types::EventSourceMappingConfiguration#maximum_batching_window_in_seconds #maximum_batching_window_in_seconds} => Integer
|
3157
3170
|
# * {Types::EventSourceMappingConfiguration#event_source_arn #event_source_arn} => String
|
3158
3171
|
# * {Types::EventSourceMappingConfiguration#function_arn #function_arn} => String
|
3159
3172
|
# * {Types::EventSourceMappingConfiguration#last_modified #last_modified} => Time
|
@@ -3192,12 +3205,14 @@ module Aws::Lambda
|
|
3192
3205
|
# function_name: "FunctionName",
|
3193
3206
|
# enabled: false,
|
3194
3207
|
# batch_size: 1,
|
3208
|
+
# maximum_batching_window_in_seconds: 1,
|
3195
3209
|
# })
|
3196
3210
|
#
|
3197
3211
|
# @example Response structure
|
3198
3212
|
#
|
3199
3213
|
# resp.uuid #=> String
|
3200
3214
|
# resp.batch_size #=> Integer
|
3215
|
+
# resp.maximum_batching_window_in_seconds #=> Integer
|
3201
3216
|
# resp.event_source_arn #=> String
|
3202
3217
|
# resp.function_arn #=> String
|
3203
3218
|
# resp.last_modified #=> Time
|
@@ -3617,7 +3632,7 @@ module Aws::Lambda
|
|
3617
3632
|
params: params,
|
3618
3633
|
config: config)
|
3619
3634
|
context[:gem_name] = 'aws-sdk-lambda'
|
3620
|
-
context[:gem_version] = '1.
|
3635
|
+
context[:gem_version] = '1.30.0'
|
3621
3636
|
Seahorse::Client::Request.new(handlers, context)
|
3622
3637
|
end
|
3623
3638
|
|
@@ -133,6 +133,7 @@ module Aws::Lambda
|
|
133
133
|
MasterRegion = Shapes::StringShape.new(name: 'MasterRegion')
|
134
134
|
MaxLayerListItems = Shapes::IntegerShape.new(name: 'MaxLayerListItems')
|
135
135
|
MaxListItems = Shapes::IntegerShape.new(name: 'MaxListItems')
|
136
|
+
MaximumBatchingWindowInSeconds = Shapes::IntegerShape.new(name: 'MaximumBatchingWindowInSeconds')
|
136
137
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
137
138
|
NameSpacedFunctionArn = Shapes::StringShape.new(name: 'NameSpacedFunctionArn')
|
138
139
|
NamespacedFunctionName = Shapes::StringShape.new(name: 'NamespacedFunctionName')
|
@@ -268,6 +269,7 @@ module Aws::Lambda
|
|
268
269
|
CreateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "FunctionName"))
|
269
270
|
CreateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
270
271
|
CreateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
272
|
+
CreateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
271
273
|
CreateEventSourceMappingRequest.add_member(:starting_position, Shapes::ShapeRef.new(shape: EventSourcePosition, location_name: "StartingPosition"))
|
272
274
|
CreateEventSourceMappingRequest.add_member(:starting_position_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "StartingPositionTimestamp"))
|
273
275
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
@@ -344,6 +346,7 @@ module Aws::Lambda
|
|
344
346
|
|
345
347
|
EventSourceMappingConfiguration.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "UUID"))
|
346
348
|
EventSourceMappingConfiguration.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
349
|
+
EventSourceMappingConfiguration.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
347
350
|
EventSourceMappingConfiguration.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
|
348
351
|
EventSourceMappingConfiguration.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
|
349
352
|
EventSourceMappingConfiguration.add_member(:last_modified, Shapes::ShapeRef.new(shape: Date, location_name: "LastModified"))
|
@@ -732,6 +735,7 @@ module Aws::Lambda
|
|
732
735
|
UpdateEventSourceMappingRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, location_name: "FunctionName"))
|
733
736
|
UpdateEventSourceMappingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
734
737
|
UpdateEventSourceMappingRequest.add_member(:batch_size, Shapes::ShapeRef.new(shape: BatchSize, location_name: "BatchSize"))
|
738
|
+
UpdateEventSourceMappingRequest.add_member(:maximum_batching_window_in_seconds, Shapes::ShapeRef.new(shape: MaximumBatchingWindowInSeconds, location_name: "MaximumBatchingWindowInSeconds"))
|
735
739
|
UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
|
736
740
|
|
737
741
|
UpdateFunctionCodeRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
@@ -1071,6 +1075,12 @@ module Aws::Lambda
|
|
1071
1075
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1072
1076
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1073
1077
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1078
|
+
o[:pager] = Aws::Pager.new(
|
1079
|
+
limit_key: "max_items",
|
1080
|
+
tokens: {
|
1081
|
+
"next_marker" => "marker"
|
1082
|
+
}
|
1083
|
+
)
|
1074
1084
|
end)
|
1075
1085
|
|
1076
1086
|
api.add_operation(:list_event_source_mappings, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1118,6 +1128,12 @@ module Aws::Lambda
|
|
1118
1128
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1119
1129
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1120
1130
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1131
|
+
o[:pager] = Aws::Pager.new(
|
1132
|
+
limit_key: "max_items",
|
1133
|
+
tokens: {
|
1134
|
+
"next_marker" => "marker"
|
1135
|
+
}
|
1136
|
+
)
|
1121
1137
|
end)
|
1122
1138
|
|
1123
1139
|
api.add_operation(:list_layers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1129,6 +1145,12 @@ module Aws::Lambda
|
|
1129
1145
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1130
1146
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1131
1147
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1148
|
+
o[:pager] = Aws::Pager.new(
|
1149
|
+
limit_key: "max_items",
|
1150
|
+
tokens: {
|
1151
|
+
"next_marker" => "marker"
|
1152
|
+
}
|
1153
|
+
)
|
1132
1154
|
end)
|
1133
1155
|
|
1134
1156
|
api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1153,6 +1175,12 @@ module Aws::Lambda
|
|
1153
1175
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1154
1176
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1155
1177
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1178
|
+
o[:pager] = Aws::Pager.new(
|
1179
|
+
limit_key: "max_items",
|
1180
|
+
tokens: {
|
1181
|
+
"next_marker" => "marker"
|
1182
|
+
}
|
1183
|
+
)
|
1156
1184
|
end)
|
1157
1185
|
|
1158
1186
|
api.add_operation(:publish_layer_version, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -428,6 +428,7 @@ module Aws::Lambda
|
|
428
428
|
# function_name: "FunctionName", # required
|
429
429
|
# enabled: false,
|
430
430
|
# batch_size: 1,
|
431
|
+
# maximum_batching_window_in_seconds: 1,
|
431
432
|
# starting_position: "TRIM_HORIZON", # accepts TRIM_HORIZON, LATEST, AT_TIMESTAMP
|
432
433
|
# starting_position_timestamp: Time.now,
|
433
434
|
# }
|
@@ -476,6 +477,9 @@ module Aws::Lambda
|
|
476
477
|
# * **Amazon Simple Queue Service** - Default 10. Max 10.
|
477
478
|
# @return [Integer]
|
478
479
|
#
|
480
|
+
# @!attribute [rw] maximum_batching_window_in_seconds
|
481
|
+
# @return [Integer]
|
482
|
+
#
|
479
483
|
# @!attribute [rw] starting_position
|
480
484
|
# The position in a stream from which to start reading. Required for
|
481
485
|
# Amazon Kinesis and Amazon DynamoDB Streams sources. `AT_TIMESTAMP`
|
@@ -494,6 +498,7 @@ module Aws::Lambda
|
|
494
498
|
:function_name,
|
495
499
|
:enabled,
|
496
500
|
:batch_size,
|
501
|
+
:maximum_batching_window_in_seconds,
|
497
502
|
:starting_position,
|
498
503
|
:starting_position_timestamp)
|
499
504
|
include Aws::Structure
|
@@ -994,6 +999,9 @@ module Aws::Lambda
|
|
994
999
|
# The maximum number of items to retrieve in a single batch.
|
995
1000
|
# @return [Integer]
|
996
1001
|
#
|
1002
|
+
# @!attribute [rw] maximum_batching_window_in_seconds
|
1003
|
+
# @return [Integer]
|
1004
|
+
#
|
997
1005
|
# @!attribute [rw] event_source_arn
|
998
1006
|
# The Amazon Resource Name (ARN) of the event source.
|
999
1007
|
# @return [String]
|
@@ -1027,6 +1035,7 @@ module Aws::Lambda
|
|
1027
1035
|
class EventSourceMappingConfiguration < Struct.new(
|
1028
1036
|
:uuid,
|
1029
1037
|
:batch_size,
|
1038
|
+
:maximum_batching_window_in_seconds,
|
1030
1039
|
:event_source_arn,
|
1031
1040
|
:function_arn,
|
1032
1041
|
:last_modified,
|
@@ -3135,6 +3144,7 @@ module Aws::Lambda
|
|
3135
3144
|
# function_name: "FunctionName",
|
3136
3145
|
# enabled: false,
|
3137
3146
|
# batch_size: 1,
|
3147
|
+
# maximum_batching_window_in_seconds: 1,
|
3138
3148
|
# }
|
3139
3149
|
#
|
3140
3150
|
# @!attribute [rw] uuid
|
@@ -3174,13 +3184,17 @@ module Aws::Lambda
|
|
3174
3184
|
# * **Amazon Simple Queue Service** - Default 10. Max 10.
|
3175
3185
|
# @return [Integer]
|
3176
3186
|
#
|
3187
|
+
# @!attribute [rw] maximum_batching_window_in_seconds
|
3188
|
+
# @return [Integer]
|
3189
|
+
#
|
3177
3190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest AWS API Documentation
|
3178
3191
|
#
|
3179
3192
|
class UpdateEventSourceMappingRequest < Struct.new(
|
3180
3193
|
:uuid,
|
3181
3194
|
:function_name,
|
3182
3195
|
:enabled,
|
3183
|
-
:batch_size
|
3196
|
+
:batch_size,
|
3197
|
+
:maximum_batching_window_in_seconds)
|
3184
3198
|
include Aws::Structure
|
3185
3199
|
end
|
3186
3200
|
|
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.30.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: 2019-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|