aws-sdk-lambda 1.34.0 → 1.35.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 +26 -19
- data/lib/aws-sdk-lambda/client_api.rb +2 -0
- data/lib/aws-sdk-lambda/types.rb +7 -9
- 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: d92c8d5e2d32e87477a39bf64b6a3d3ea549ee83
|
4
|
+
data.tar.gz: 735f04efaa34ba85b3f0d0ed3cc0cdcee9bf3303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4af01a30c7a1694b19a9ed73cb75bb49325052df8e8594ccf3b0a99e855a6ed4c799566df6bece05bdf08e0156898545faad859d1f215d502054418c4e52fd5e
|
7
|
+
data.tar.gz: 69aa8ecc83dd45038d5faf14c7ac84fe7d3a5339e3b8aa61951a612b5c6f3897d873f4fdf65a46c15f0e78a67fb204814610933674ea0e97c862ce8b90a63301
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -562,6 +562,9 @@ module Aws::Lambda
|
|
562
562
|
# * `MaximumRetryAttempts` - Discard records after the specified number
|
563
563
|
# of retries.
|
564
564
|
#
|
565
|
+
# * `ParallelizationFactor` - Process multiple batches from each shard
|
566
|
+
# concurrently.
|
567
|
+
#
|
565
568
|
#
|
566
569
|
#
|
567
570
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
|
@@ -996,10 +999,10 @@ module Aws::Lambda
|
|
996
999
|
# resp.layers[0].code_size #=> Integer
|
997
1000
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
998
1001
|
# resp.state_reason #=> String
|
999
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
1002
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1000
1003
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
1001
1004
|
# resp.last_update_status_reason #=> String
|
1002
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
1005
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1003
1006
|
#
|
1004
1007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction AWS API Documentation
|
1005
1008
|
#
|
@@ -1669,10 +1672,10 @@ module Aws::Lambda
|
|
1669
1672
|
# resp.configuration.layers[0].code_size #=> Integer
|
1670
1673
|
# resp.configuration.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
1671
1674
|
# resp.configuration.state_reason #=> String
|
1672
|
-
# resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
1675
|
+
# resp.configuration.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1673
1676
|
# resp.configuration.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
1674
1677
|
# resp.configuration.last_update_status_reason #=> String
|
1675
|
-
# resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
1678
|
+
# resp.configuration.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1676
1679
|
# resp.code.repository_type #=> String
|
1677
1680
|
# resp.code.location #=> String
|
1678
1681
|
# resp.tags #=> Hash
|
@@ -1859,10 +1862,10 @@ module Aws::Lambda
|
|
1859
1862
|
# resp.layers[0].code_size #=> Integer
|
1860
1863
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
1861
1864
|
# resp.state_reason #=> String
|
1862
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
1865
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1863
1866
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
1864
1867
|
# resp.last_update_status_reason #=> String
|
1865
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
1868
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
1866
1869
|
#
|
1867
1870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration AWS API Documentation
|
1868
1871
|
#
|
@@ -2648,8 +2651,9 @@ module Aws::Lambda
|
|
2648
2651
|
#
|
2649
2652
|
# @option params [String] :master_region
|
2650
2653
|
# For Lambda@Edge functions, the AWS Region of the master function. For
|
2651
|
-
# example, `us-east-
|
2652
|
-
#
|
2654
|
+
# example, `us-east-1` filters the list of functions to only include
|
2655
|
+
# Lambda@Edge functions replicated from a master function in US East (N.
|
2656
|
+
# Virginia). If specified, you must set `FunctionVersion` to `ALL`.
|
2653
2657
|
#
|
2654
2658
|
# @option params [String] :function_version
|
2655
2659
|
# Set to `ALL` to include entries for all published versions of each
|
@@ -2729,10 +2733,10 @@ module Aws::Lambda
|
|
2729
2733
|
# resp.functions[0].layers[0].code_size #=> Integer
|
2730
2734
|
# resp.functions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
2731
2735
|
# resp.functions[0].state_reason #=> String
|
2732
|
-
# resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
2736
|
+
# resp.functions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
2733
2737
|
# resp.functions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
2734
2738
|
# resp.functions[0].last_update_status_reason #=> String
|
2735
|
-
# resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
2739
|
+
# resp.functions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
2736
2740
|
#
|
2737
2741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions AWS API Documentation
|
2738
2742
|
#
|
@@ -3042,10 +3046,10 @@ module Aws::Lambda
|
|
3042
3046
|
# resp.versions[0].layers[0].code_size #=> Integer
|
3043
3047
|
# resp.versions[0].state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
3044
3048
|
# resp.versions[0].state_reason #=> String
|
3045
|
-
# resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
3049
|
+
# resp.versions[0].state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
3046
3050
|
# resp.versions[0].last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
3047
3051
|
# resp.versions[0].last_update_status_reason #=> String
|
3048
|
-
# resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
3052
|
+
# resp.versions[0].last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
3049
3053
|
#
|
3050
3054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction AWS API Documentation
|
3051
3055
|
#
|
@@ -3294,10 +3298,10 @@ module Aws::Lambda
|
|
3294
3298
|
# resp.layers[0].code_size #=> Integer
|
3295
3299
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
3296
3300
|
# resp.state_reason #=> String
|
3297
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
3301
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
3298
3302
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
3299
3303
|
# resp.last_update_status_reason #=> String
|
3300
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
3304
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
3301
3305
|
#
|
3302
3306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion AWS API Documentation
|
3303
3307
|
#
|
@@ -3820,6 +3824,9 @@ module Aws::Lambda
|
|
3820
3824
|
# * `MaximumRetryAttempts` - Discard records after the specified number
|
3821
3825
|
# of retries.
|
3822
3826
|
#
|
3827
|
+
# * `ParallelizationFactor` - Process multiple batches from each shard
|
3828
|
+
# concurrently.
|
3829
|
+
#
|
3823
3830
|
# @option params [required, String] :uuid
|
3824
3831
|
# The identifier of the event source mapping.
|
3825
3832
|
#
|
@@ -4123,10 +4130,10 @@ module Aws::Lambda
|
|
4123
4130
|
# resp.layers[0].code_size #=> Integer
|
4124
4131
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
4125
4132
|
# resp.state_reason #=> String
|
4126
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
4133
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
4127
4134
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
4128
4135
|
# resp.last_update_status_reason #=> String
|
4129
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
4136
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
4130
4137
|
#
|
4131
4138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode AWS API Documentation
|
4132
4139
|
#
|
@@ -4381,10 +4388,10 @@ module Aws::Lambda
|
|
4381
4388
|
# resp.layers[0].code_size #=> Integer
|
4382
4389
|
# resp.state #=> String, one of "Pending", "Active", "Inactive", "Failed"
|
4383
4390
|
# resp.state_reason #=> String
|
4384
|
-
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses"
|
4391
|
+
# resp.state_reason_code #=> String, one of "Idle", "Creating", "Restoring", "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
4385
4392
|
# resp.last_update_status #=> String, one of "Successful", "Failed", "InProgress"
|
4386
4393
|
# resp.last_update_status_reason #=> String
|
4387
|
-
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError"
|
4394
|
+
# resp.last_update_status_reason_code #=> String, one of "EniLimitExceeded", "InsufficientRolePermissions", "InvalidConfiguration", "InternalError", "SubnetOutOfIPAddresses", "InvalidSubnet", "InvalidSecurityGroup"
|
4388
4395
|
#
|
4389
4396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration AWS API Documentation
|
4390
4397
|
#
|
@@ -4499,7 +4506,7 @@ module Aws::Lambda
|
|
4499
4506
|
params: params,
|
4500
4507
|
config: config)
|
4501
4508
|
context[:gem_name] = 'aws-sdk-lambda'
|
4502
|
-
context[:gem_version] = '1.
|
4509
|
+
context[:gem_version] = '1.35.0'
|
4503
4510
|
Seahorse::Client::Request.new(handlers, context)
|
4504
4511
|
end
|
4505
4512
|
|
@@ -1564,6 +1564,7 @@ module Aws::Lambda
|
|
1564
1564
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1565
1565
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1566
1566
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1567
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1567
1568
|
end)
|
1568
1569
|
|
1569
1570
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1576,6 +1577,7 @@ module Aws::Lambda
|
|
1576
1577
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1577
1578
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1578
1579
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1580
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
1579
1581
|
end)
|
1580
1582
|
|
1581
1583
|
api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -1399,6 +1399,7 @@ module Aws::Lambda
|
|
1399
1399
|
#
|
1400
1400
|
# @!attribute [rw] last_update_status
|
1401
1401
|
# The status of the last update that was performed on the function.
|
1402
|
+
# This is first set to `Successful` after function creation completes.
|
1402
1403
|
# @return [String]
|
1403
1404
|
#
|
1404
1405
|
# @!attribute [rw] last_update_status_reason
|
@@ -2209,12 +2210,6 @@ module Aws::Lambda
|
|
2209
2210
|
# If present, indicates that an error occurred during function
|
2210
2211
|
# execution. Details about the error are included in the response
|
2211
2212
|
# payload.
|
2212
|
-
#
|
2213
|
-
# * `Handled` - The runtime caught an error thrown by the function and
|
2214
|
-
# formatted it into a JSON document.
|
2215
|
-
#
|
2216
|
-
# * `Unhandled` - The runtime didn't handle the error. For example,
|
2217
|
-
# the function ran out of memory or timed out.
|
2218
2213
|
# @return [String]
|
2219
2214
|
#
|
2220
2215
|
# @!attribute [rw] log_result
|
@@ -2739,8 +2734,10 @@ module Aws::Lambda
|
|
2739
2734
|
#
|
2740
2735
|
# @!attribute [rw] master_region
|
2741
2736
|
# For Lambda@Edge functions, the AWS Region of the master function.
|
2742
|
-
# For example, `us-east-
|
2743
|
-
#
|
2737
|
+
# For example, `us-east-1` filters the list of functions to only
|
2738
|
+
# include Lambda@Edge functions replicated from a master function in
|
2739
|
+
# US East (N. Virginia). If specified, you must set `FunctionVersion`
|
2740
|
+
# to `ALL`.
|
2744
2741
|
# @return [String]
|
2745
2742
|
#
|
2746
2743
|
# @!attribute [rw] function_version
|
@@ -3814,7 +3811,8 @@ module Aws::Lambda
|
|
3814
3811
|
include Aws::Structure
|
3815
3812
|
end
|
3816
3813
|
|
3817
|
-
# The function's AWS X-Ray tracing configuration.
|
3814
|
+
# The function's AWS X-Ray tracing configuration. To sample and record
|
3815
|
+
# incoming requests, set `Mode` to `Active`.
|
3818
3816
|
#
|
3819
3817
|
# @note When making an API call, you may pass TracingConfig
|
3820
3818
|
# data as a hash:
|
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.35.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:
|
11
|
+
date: 2020-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|