class
Amazonite::Lambda::PublishVersionRequest
- Amazonite::Lambda::PublishVersionRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lambda/publish_version_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(function_name : String, code_sha_256 : String | Nil = nil, description : String | Nil = nil, revision_id : String | Nil = nil, publish_to : FunctionVersionLatestPublished | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#code_sha_256 : String | Nil
Only publish a version if the hash value matches the value that's specified.
-
#code_sha_256=(code_sha_256 : String | Nil)
Only publish a version if the hash value matches the value that's specified.
-
#description : String | Nil
A description for the version to override the description in the function configuration.
-
#description=(description : String | Nil)
A description for the version to override the description in the function configuration.
-
#function_name : String
The name or ARN of the Lambda function.
-
#function_name=(function_name : String)
The name or ARN of the Lambda function.
-
#hash(hasher)
See
Object#hash(hasher) -
#publish_to : FunctionVersionLatestPublished | Nil
Specifies where to publish the function version or configuration.
-
#publish_to=(publish_to : FunctionVersionLatestPublished | Nil)
Specifies where to publish the function version or configuration.
-
#revision_id : String | Nil
Only update the function if the revision ID matches the ID that's specified.
-
#revision_id=(revision_id : String | Nil)
Only update the function if the revision ID matches the ID that's specified.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of UpdateFunctionCode.
Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of UpdateFunctionCode.
A description for the version to override the description in the function configuration.
A description for the version to override the description in the function configuration.
The name or ARN of the Lambda function.
Name formats
-
Function name -
MyFunction. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
The name or ARN of the Lambda function.
Name formats
-
Function name -
MyFunction. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Specifies where to publish the function version or configuration.
Specifies where to publish the function version or configuration.
Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.
Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.