aws-sdk-lambda 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d47f2475b7792a26aa3bc7869a7a7eebfda60baa
4
- data.tar.gz: 316c42af378fbcd0f46b43a7614c826c3dc1c300
3
+ metadata.gz: fceba6f2124c82e4b062deb79b81708d29dcd97e
4
+ data.tar.gz: cc8ae6eca29105472c139b951c94191307a70fd5
5
5
  SHA512:
6
- metadata.gz: 62fc88c2f069c5c08e6cabc2a0f317d73ed20d70b1c15815661fe105b3d0f9e18a9db54da0bb9cefa5fc3f1ddb7af3005a5a353e3f844ed6bb94f483de42d8d8
7
- data.tar.gz: e0e2844ee9fb42052a4c1a319c02fbd341a5d4fe6521edbbbfe08c35716d711ac34e46971e7f43a1c30ebf4c4765ddee25762181cf9ed3f95d5301ddfea5656a
6
+ metadata.gz: da1c4ba9fbb8997f0e486a27e8bb9f1a5933f6b447392f7b54326b6e8c50cfbdd374c95ee08d6c9ef5494f11011138281e8172e80ee4b840ee215a7b799a57e2
7
+ data.tar.gz: 2cfa6acce323959763a8650e6fca08e54d75a251b39f48e0e4b0d7d821009763a429b9875c1a6d1cf50b460f1ded636ce7999e7bdaca0e5eb9179151f7a4b2e5
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lambda/customizations'
42
42
  # @service
43
43
  module Aws::Lambda
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -533,12 +533,10 @@ module Aws::Lambda
533
533
  #
534
534
  # <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
535
535
  # existing functions to the newer Node.js runtime versions available on
536
- # AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can
537
- # request a one-time extension until June 30, 2017 by going to the
538
- # Lambda console and following the instructions provided. Failure to do
539
- # so will result in an invalid parmaeter error being returned. Note that
540
- # you will have to follow this procedure for each region that contains
541
- # functions written in the Node v0.10.42 runtime.
536
+ # AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure to
537
+ # do so will result in an invalid parmaeter error being returned. Note
538
+ # that you will have to follow this procedure for each region that
539
+ # contains functions written in the Node v0.10.42 runtime.
542
540
  #
543
541
  # </note>
544
542
  #
@@ -938,6 +936,29 @@ module Aws::Lambda
938
936
  req.send_request(options)
939
937
  end
940
938
 
939
+ # Removes concurrent execution limits from this function.
940
+ #
941
+ # @option params [required, String] :function_name
942
+ # The name of the function you are removing concurrent execution limits
943
+ # from.
944
+ #
945
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
946
+ #
947
+ # @example Request syntax with placeholder values
948
+ #
949
+ # resp = client.delete_function_concurrency({
950
+ # function_name: "FunctionName", # required
951
+ # })
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency AWS API Documentation
954
+ #
955
+ # @overload delete_function_concurrency(params = {})
956
+ # @param [Hash] params ({})
957
+ def delete_function_concurrency(params = {}, options = {})
958
+ req = build_request(:delete_function_concurrency, params)
959
+ req.send_request(options)
960
+ end
961
+
941
962
  # Returns a customer's account settings.
942
963
  #
943
964
  # You can use this operation to retrieve Lambda limits information, such
@@ -976,6 +997,7 @@ module Aws::Lambda
976
997
  # resp.account_limit.code_size_unzipped #=> Integer
977
998
  # resp.account_limit.code_size_zipped #=> Integer
978
999
  # resp.account_limit.concurrent_executions #=> Integer
1000
+ # resp.account_limit.unreserved_concurrent_executions #=> Integer
979
1001
  # resp.account_usage.total_code_size #=> Integer
980
1002
  # resp.account_usage.function_count #=> Integer
981
1003
  #
@@ -1172,6 +1194,7 @@ module Aws::Lambda
1172
1194
  # * {Types::GetFunctionResponse#configuration #configuration} => Types::FunctionConfiguration
1173
1195
  # * {Types::GetFunctionResponse#code #code} => Types::FunctionCodeLocation
1174
1196
  # * {Types::GetFunctionResponse#tags #tags} => Hash&lt;String,String&gt;
1197
+ # * {Types::GetFunctionResponse#concurrency #concurrency} => Types::Concurrency
1175
1198
  #
1176
1199
  #
1177
1200
  # @example Example: To retrieve a Lambda function's event source mapping
@@ -1254,6 +1277,7 @@ module Aws::Lambda
1254
1277
  # resp.code.location #=> String
1255
1278
  # resp.tags #=> Hash
1256
1279
  # resp.tags["TagKey"] #=> String
1280
+ # resp.concurrency.reserved_concurrent_executions #=> Integer
1257
1281
  #
1258
1282
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction AWS API Documentation
1259
1283
  #
@@ -2208,6 +2232,44 @@ module Aws::Lambda
2208
2232
  req.send_request(options)
2209
2233
  end
2210
2234
 
2235
+ # Sets a limit on the number of concurrent executions available to this
2236
+ # function. It is a subset of your account's total concurrent execution
2237
+ # limit per region. Note that Lambda automatically reserves a buffer of
2238
+ # 100 concurrent executions for functions without any reserved
2239
+ # concurrency limit. This means if your account limit is 1000, you have
2240
+ # a total of 900 available to allocate to individual functions.
2241
+ #
2242
+ # @option params [required, String] :function_name
2243
+ # The name of the function you are setting concurrent execution limits
2244
+ # on.
2245
+ #
2246
+ # @option params [required, Integer] :reserved_concurrent_executions
2247
+ # The concurrent execution limit reserved for this function.
2248
+ #
2249
+ # @return [Types::Concurrency] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2250
+ #
2251
+ # * {Types::Concurrency#reserved_concurrent_executions #reserved_concurrent_executions} => Integer
2252
+ #
2253
+ # @example Request syntax with placeholder values
2254
+ #
2255
+ # resp = client.put_function_concurrency({
2256
+ # function_name: "FunctionName", # required
2257
+ # reserved_concurrent_executions: 1, # required
2258
+ # })
2259
+ #
2260
+ # @example Response structure
2261
+ #
2262
+ # resp.reserved_concurrent_executions #=> Integer
2263
+ #
2264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency AWS API Documentation
2265
+ #
2266
+ # @overload put_function_concurrency(params = {})
2267
+ # @param [Hash] params ({})
2268
+ def put_function_concurrency(params = {}, options = {})
2269
+ req = build_request(:put_function_concurrency, params)
2270
+ req.send_request(options)
2271
+ end
2272
+
2211
2273
  # You can remove individual permissions from an resource policy
2212
2274
  # associated with a Lambda function by providing a statement ID that you
2213
2275
  # provided when you added the permission.
@@ -2792,12 +2854,10 @@ module Aws::Lambda
2792
2854
  #
2793
2855
  # <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
2794
2856
  # existing functions to the newer Node.js runtime versions available on
2795
- # AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can
2796
- # request a one-time extension until June 30, 2017 by going to the
2797
- # Lambda console and following the instructions provided. Failure to do
2798
- # so will result in an invalid parameter error being returned. Note that
2799
- # you will have to follow this procedure for each region that contains
2800
- # functions written in the Node v0.10.42 runtime.
2857
+ # AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure to
2858
+ # do so will result in an invalid parameter error being returned. Note
2859
+ # that you will have to follow this procedure for each region that
2860
+ # contains functions written in the Node v0.10.42 runtime.
2801
2861
  #
2802
2862
  # </note>
2803
2863
  #
@@ -2948,7 +3008,7 @@ module Aws::Lambda
2948
3008
  params: params,
2949
3009
  config: config)
2950
3010
  context[:gem_name] = 'aws-sdk-lambda'
2951
- context[:gem_version] = '1.1.0'
3011
+ context[:gem_version] = '1.2.0'
2952
3012
  Seahorse::Client::Request.new(handlers, context)
2953
3013
  end
2954
3014
 
@@ -28,6 +28,7 @@ module Aws::Lambda
28
28
  BlobStream = Shapes::BlobShape.new(name: 'BlobStream')
29
29
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
30
30
  CodeStorageExceededException = Shapes::StructureShape.new(name: 'CodeStorageExceededException')
31
+ Concurrency = Shapes::StructureShape.new(name: 'Concurrency')
31
32
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
32
33
  CreateEventSourceMappingRequest = Shapes::StructureShape.new(name: 'CreateEventSourceMappingRequest')
33
34
  CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
@@ -35,6 +36,7 @@ module Aws::Lambda
35
36
  DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
36
37
  DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
37
38
  DeleteEventSourceMappingRequest = Shapes::StructureShape.new(name: 'DeleteEventSourceMappingRequest')
39
+ DeleteFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'DeleteFunctionConcurrencyRequest')
38
40
  DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
39
41
  Description = Shapes::StringShape.new(name: 'Description')
40
42
  EC2AccessDeniedException = Shapes::StructureShape.new(name: 'EC2AccessDeniedException')
@@ -108,9 +110,11 @@ module Aws::Lambda
108
110
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
109
111
  Principal = Shapes::StringShape.new(name: 'Principal')
110
112
  PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
113
+ PutFunctionConcurrencyRequest = Shapes::StructureShape.new(name: 'PutFunctionConcurrencyRequest')
111
114
  Qualifier = Shapes::StringShape.new(name: 'Qualifier')
112
115
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
113
116
  RequestTooLargeException = Shapes::StructureShape.new(name: 'RequestTooLargeException')
117
+ ReservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'ReservedConcurrentExecutions')
114
118
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
115
119
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
116
120
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -141,6 +145,7 @@ module Aws::Lambda
141
145
  TracingConfig = Shapes::StructureShape.new(name: 'TracingConfig')
142
146
  TracingConfigResponse = Shapes::StructureShape.new(name: 'TracingConfigResponse')
143
147
  TracingMode = Shapes::StringShape.new(name: 'TracingMode')
148
+ UnreservedConcurrentExecutions = Shapes::IntegerShape.new(name: 'UnreservedConcurrentExecutions')
144
149
  UnsupportedMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedMediaTypeException')
145
150
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
146
151
  UpdateAliasRequest = Shapes::StructureShape.new(name: 'UpdateAliasRequest')
@@ -157,6 +162,7 @@ module Aws::Lambda
157
162
  AccountLimit.add_member(:code_size_unzipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeUnzipped"))
158
163
  AccountLimit.add_member(:code_size_zipped, Shapes::ShapeRef.new(shape: Long, location_name: "CodeSizeZipped"))
159
164
  AccountLimit.add_member(:concurrent_executions, Shapes::ShapeRef.new(shape: Integer, location_name: "ConcurrentExecutions"))
165
+ AccountLimit.add_member(:unreserved_concurrent_executions, Shapes::ShapeRef.new(shape: UnreservedConcurrentExecutions, location_name: "UnreservedConcurrentExecutions"))
160
166
  AccountLimit.struct_class = Types::AccountLimit
161
167
 
162
168
  AccountUsage.add_member(:total_code_size, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCodeSize"))
@@ -191,6 +197,9 @@ module Aws::Lambda
191
197
  AliasRoutingConfiguration.add_member(:additional_version_weights, Shapes::ShapeRef.new(shape: AdditionalVersionWeights, location_name: "AdditionalVersionWeights"))
192
198
  AliasRoutingConfiguration.struct_class = Types::AliasRoutingConfiguration
193
199
 
200
+ Concurrency.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, location_name: "ReservedConcurrentExecutions"))
201
+ Concurrency.struct_class = Types::Concurrency
202
+
194
203
  CreateAliasRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
195
204
  CreateAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Name"))
196
205
  CreateAliasRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "FunctionVersion"))
@@ -233,6 +242,9 @@ module Aws::Lambda
233
242
  DeleteEventSourceMappingRequest.add_member(:uuid, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "UUID"))
234
243
  DeleteEventSourceMappingRequest.struct_class = Types::DeleteEventSourceMappingRequest
235
244
 
245
+ DeleteFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
246
+ DeleteFunctionConcurrencyRequest.struct_class = Types::DeleteFunctionConcurrencyRequest
247
+
236
248
  DeleteFunctionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
237
249
  DeleteFunctionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
238
250
  DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
@@ -319,6 +331,7 @@ module Aws::Lambda
319
331
  GetFunctionResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "Configuration"))
320
332
  GetFunctionResponse.add_member(:code, Shapes::ShapeRef.new(shape: FunctionCodeLocation, location_name: "Code"))
321
333
  GetFunctionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
334
+ GetFunctionResponse.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, location_name: "Concurrency"))
322
335
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
323
336
 
324
337
  GetPolicyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
@@ -406,6 +419,10 @@ module Aws::Lambda
406
419
  PublishVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
407
420
  PublishVersionRequest.struct_class = Types::PublishVersionRequest
408
421
 
422
+ PutFunctionConcurrencyRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
423
+ PutFunctionConcurrencyRequest.add_member(:reserved_concurrent_executions, Shapes::ShapeRef.new(shape: ReservedConcurrentExecutions, required: true, location_name: "ReservedConcurrentExecutions"))
424
+ PutFunctionConcurrencyRequest.struct_class = Types::PutFunctionConcurrencyRequest
425
+
409
426
  RemovePermissionRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
410
427
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: NamespacedStatementId, required: true, location: "uri", location_name: "StatementId"))
411
428
  RemovePermissionRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
@@ -582,6 +599,18 @@ module Aws::Lambda
582
599
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
583
600
  end)
584
601
 
602
+ api.add_operation(:delete_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
603
+ o.name = "DeleteFunctionConcurrency"
604
+ o.http_method = "DELETE"
605
+ o.http_request_uri = "/2017-10-31/functions/{FunctionName}/concurrency"
606
+ o.input = Shapes::ShapeRef.new(shape: DeleteFunctionConcurrencyRequest)
607
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
608
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
610
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
611
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
612
+ end)
613
+
585
614
  api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
586
615
  o.name = "GetAccountSettings"
587
616
  o.http_method = "GET"
@@ -777,6 +806,18 @@ module Aws::Lambda
777
806
  o.errors << Shapes::ShapeRef.new(shape: CodeStorageExceededException)
778
807
  end)
779
808
 
809
+ api.add_operation(:put_function_concurrency, Seahorse::Model::Operation.new.tap do |o|
810
+ o.name = "PutFunctionConcurrency"
811
+ o.http_method = "PUT"
812
+ o.http_request_uri = "/2017-10-31/functions/{FunctionName}/concurrency"
813
+ o.input = Shapes::ShapeRef.new(shape: PutFunctionConcurrencyRequest)
814
+ o.output = Shapes::ShapeRef.new(shape: Concurrency)
815
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
816
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
818
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
819
+ end)
820
+
780
821
  api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
781
822
  o.name = "RemovePermission"
782
823
  o.http_method = "DELETE"
@@ -39,13 +39,19 @@ module Aws::Lambda
39
39
  # [1]: http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html
40
40
  # @return [Integer]
41
41
  #
42
+ # @!attribute [rw] unreserved_concurrent_executions
43
+ # The number of concurrent executions available to functions that do
44
+ # not have concurrency limits set.
45
+ # @return [Integer]
46
+ #
42
47
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountLimit AWS API Documentation
43
48
  #
44
49
  class AccountLimit < Struct.new(
45
50
  :total_code_size,
46
51
  :code_size_unzipped,
47
52
  :code_size_zipped,
48
- :concurrent_executions)
53
+ :concurrent_executions,
54
+ :unreserved_concurrent_executions)
49
55
  include Aws::Structure
50
56
  end
51
57
 
@@ -260,6 +266,17 @@ module Aws::Lambda
260
266
  include Aws::Structure
261
267
  end
262
268
 
269
+ # @!attribute [rw] reserved_concurrent_executions
270
+ # The number of concurrent executions reserved for this function.
271
+ # @return [Integer]
272
+ #
273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency AWS API Documentation
274
+ #
275
+ class Concurrency < Struct.new(
276
+ :reserved_concurrent_executions)
277
+ include Aws::Structure
278
+ end
279
+
263
280
  # @note When making an API call, you may pass CreateAliasRequest
264
281
  # data as a hash:
265
282
  #
@@ -461,12 +478,10 @@ module Aws::Lambda
461
478
  #
462
479
  # <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
463
480
  # existing functions to the newer Node.js runtime versions available
464
- # on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can
465
- # request a one-time extension until June 30, 2017 by going to the
466
- # Lambda console and following the instructions provided. Failure to
467
- # do so will result in an invalid parmaeter error being returned. Note
468
- # that you will have to follow this procedure for each region that
469
- # contains functions written in the Node v0.10.42 runtime.
481
+ # on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure
482
+ # to do so will result in an invalid parmaeter error being returned.
483
+ # Note that you will have to follow this procedure for each region
484
+ # that contains functions written in the Node v0.10.42 runtime.
470
485
  #
471
486
  # </note>
472
487
  # @return [String]
@@ -644,6 +659,25 @@ module Aws::Lambda
644
659
  include Aws::Structure
645
660
  end
646
661
 
662
+ # @note When making an API call, you may pass DeleteFunctionConcurrencyRequest
663
+ # data as a hash:
664
+ #
665
+ # {
666
+ # function_name: "FunctionName", # required
667
+ # }
668
+ #
669
+ # @!attribute [rw] function_name
670
+ # The name of the function you are removing concurrent execution
671
+ # limits from.
672
+ # @return [String]
673
+ #
674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyRequest AWS API Documentation
675
+ #
676
+ class DeleteFunctionConcurrencyRequest < Struct.new(
677
+ :function_name)
678
+ include Aws::Structure
679
+ end
680
+
647
681
  # @note When making an API call, you may pass DeleteFunctionRequest
648
682
  # data as a hash:
649
683
  #
@@ -1169,12 +1203,17 @@ module Aws::Lambda
1169
1203
  # Returns the list of tags associated with the function.
1170
1204
  # @return [Hash<String,String>]
1171
1205
  #
1206
+ # @!attribute [rw] concurrency
1207
+ # The concurrent execution limit set for this function.
1208
+ # @return [Types::Concurrency]
1209
+ #
1172
1210
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse AWS API Documentation
1173
1211
  #
1174
1212
  class GetFunctionResponse < Struct.new(
1175
1213
  :configuration,
1176
1214
  :code,
1177
- :tags)
1215
+ :tags,
1216
+ :concurrency)
1178
1217
  include Aws::Structure
1179
1218
  end
1180
1219
 
@@ -1748,6 +1787,31 @@ module Aws::Lambda
1748
1787
  include Aws::Structure
1749
1788
  end
1750
1789
 
1790
+ # @note When making an API call, you may pass PutFunctionConcurrencyRequest
1791
+ # data as a hash:
1792
+ #
1793
+ # {
1794
+ # function_name: "FunctionName", # required
1795
+ # reserved_concurrent_executions: 1, # required
1796
+ # }
1797
+ #
1798
+ # @!attribute [rw] function_name
1799
+ # The name of the function you are setting concurrent execution limits
1800
+ # on.
1801
+ # @return [String]
1802
+ #
1803
+ # @!attribute [rw] reserved_concurrent_executions
1804
+ # The concurrent execution limit reserved for this function.
1805
+ # @return [Integer]
1806
+ #
1807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest AWS API Documentation
1808
+ #
1809
+ class PutFunctionConcurrencyRequest < Struct.new(
1810
+ :function_name,
1811
+ :reserved_concurrent_executions)
1812
+ include Aws::Structure
1813
+ end
1814
+
1751
1815
  # @note When making an API call, you may pass RemovePermissionRequest
1752
1816
  # data as a hash:
1753
1817
  #
@@ -2167,12 +2231,10 @@ module Aws::Lambda
2167
2231
  #
2168
2232
  # <note markdown="1"> Node v0.10.42 is currently marked as deprecated. You must migrate
2169
2233
  # existing functions to the newer Node.js runtime versions available
2170
- # on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. You can
2171
- # request a one-time extension until June 30, 2017 by going to the
2172
- # Lambda console and following the instructions provided. Failure to
2173
- # do so will result in an invalid parameter error being returned. Note
2174
- # that you will have to follow this procedure for each region that
2175
- # contains functions written in the Node v0.10.42 runtime.
2234
+ # on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure
2235
+ # to do so will result in an invalid parameter error being returned.
2236
+ # Note that you will have to follow this procedure for each region
2237
+ # that contains functions written in the Node v0.10.42 runtime.
2176
2238
  #
2177
2239
  # </note>
2178
2240
  # @return [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.1.0
4
+ version: 1.2.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: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2017-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core