aws-sdk-lambda 1.0.0.rc4 → 1.0.0.rc5
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/lib/aws-sdk-lambda.rb +1 -1
- data/lib/aws-sdk-lambda/client.rb +10 -1
- data/lib/aws-sdk-lambda/client_api.rb +1 -0
- data/lib/aws-sdk-lambda/types.rb +14 -2
- 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: e83df6c3e62ffbf444849dd0ce80e2338f2110a4
|
4
|
+
data.tar.gz: 090dcb5f82a524577facdf10ae9f7957064852ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c61f490052bf8eb373e385255b7d6b341ceab536f6311d1db0d0bfed5bc6e1e001009cae7af7a21e1dce8f58d1f48a69edad0db3e76ff46535e19608957df17
|
7
|
+
data.tar.gz: 5c35761f62e507748ff4943c27e4fbe37ce0a880f6093325cf2165385ecfca28310f1f06adc60c2aa4dc07b67a5f22e6f1772a8d03ca4938e89a230ab8ea0ecc
|
data/lib/aws-sdk-lambda.rb
CHANGED
@@ -2114,6 +2114,14 @@ module Aws::Lambda
|
|
2114
2114
|
# This boolean parameter can be used to request AWS Lambda to update the
|
2115
2115
|
# Lambda function and publish a version as an atomic operation.
|
2116
2116
|
#
|
2117
|
+
# @option params [Boolean] :dry_run
|
2118
|
+
# This boolean parameter can be used to test your request to AWS Lambda
|
2119
|
+
# to update the Lambda function and publish a version as an atomic
|
2120
|
+
# operation. It will do all necessary computation and validation of your
|
2121
|
+
# code but will not upload it or a publish a version. Each time this
|
2122
|
+
# operation is invoked, the `CodeSha256` hash value the provided code
|
2123
|
+
# will also be computed and returned in the response.
|
2124
|
+
#
|
2117
2125
|
# @return [Types::FunctionConfiguration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2118
2126
|
#
|
2119
2127
|
# * {Types::FunctionConfiguration#function_name #function_name} => String
|
@@ -2143,6 +2151,7 @@ module Aws::Lambda
|
|
2143
2151
|
# s3_key: "S3Key",
|
2144
2152
|
# s3_object_version: "S3ObjectVersion",
|
2145
2153
|
# publish: false,
|
2154
|
+
# dry_run: false,
|
2146
2155
|
# })
|
2147
2156
|
#
|
2148
2157
|
# @example Response structure
|
@@ -2371,7 +2380,7 @@ module Aws::Lambda
|
|
2371
2380
|
params: params,
|
2372
2381
|
config: config)
|
2373
2382
|
context[:gem_name] = 'aws-sdk-lambda'
|
2374
|
-
context[:gem_version] = '1.0.0.
|
2383
|
+
context[:gem_version] = '1.0.0.rc5'
|
2375
2384
|
Seahorse::Client::Request.new(handlers, context)
|
2376
2385
|
end
|
2377
2386
|
|
@@ -430,6 +430,7 @@ module Aws::Lambda
|
|
430
430
|
UpdateFunctionCodeRequest.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
431
431
|
UpdateFunctionCodeRequest.add_member(:s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "S3ObjectVersion"))
|
432
432
|
UpdateFunctionCodeRequest.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "Publish"))
|
433
|
+
UpdateFunctionCodeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
433
434
|
UpdateFunctionCodeRequest.struct_class = Types::UpdateFunctionCodeRequest
|
434
435
|
|
435
436
|
UpdateFunctionConfigurationRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
@@ -657,7 +657,7 @@ module Aws::Lambda
|
|
657
657
|
#
|
658
658
|
# @!attribute [rw] variables
|
659
659
|
# The key-value pairs that represent your environment's configuration
|
660
|
-
# settings.
|
660
|
+
# settings.
|
661
661
|
# @return [Hash<String,String>]
|
662
662
|
#
|
663
663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Environment AWS API Documentation
|
@@ -1889,6 +1889,7 @@ module Aws::Lambda
|
|
1889
1889
|
# s3_key: "S3Key",
|
1890
1890
|
# s3_object_version: "S3ObjectVersion",
|
1891
1891
|
# publish: false,
|
1892
|
+
# dry_run: false,
|
1892
1893
|
# }
|
1893
1894
|
#
|
1894
1895
|
# @!attribute [rw] function_name
|
@@ -1937,6 +1938,16 @@ module Aws::Lambda
|
|
1937
1938
|
# the Lambda function and publish a version as an atomic operation.
|
1938
1939
|
# @return [Boolean]
|
1939
1940
|
#
|
1941
|
+
# @!attribute [rw] dry_run
|
1942
|
+
# This boolean parameter can be used to test your request to AWS
|
1943
|
+
# Lambda to update the Lambda function and publish a version as an
|
1944
|
+
# atomic operation. It will do all necessary computation and
|
1945
|
+
# validation of your code but will not upload it or a publish a
|
1946
|
+
# version. Each time this operation is invoked, the `CodeSha256` hash
|
1947
|
+
# value the provided code will also be computed and returned in the
|
1948
|
+
# response.
|
1949
|
+
# @return [Boolean]
|
1950
|
+
#
|
1940
1951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation
|
1941
1952
|
#
|
1942
1953
|
class UpdateFunctionCodeRequest < Struct.new(
|
@@ -1945,7 +1956,8 @@ module Aws::Lambda
|
|
1945
1956
|
:s3_bucket,
|
1946
1957
|
:s3_key,
|
1947
1958
|
:s3_object_version,
|
1948
|
-
:publish
|
1959
|
+
:publish,
|
1960
|
+
:dry_run)
|
1949
1961
|
include Aws::Structure
|
1950
1962
|
end
|
1951
1963
|
|
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.0.0.
|
4
|
+
version: 1.0.0.rc5
|
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
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|