class Aws::Lambda::Types::UpdateAliasRequest
@note When making an API call, you may pass UpdateAliasRequest
data as a hash: { function_name: "FunctionName", # required name: "Alias", # required function_version: "Version", description: "Description", routing_config: { additional_version_weights: { "AdditionalVersion" => 1.0, }, }, revision_id: "String", }
@!attribute [rw] function_name
The name 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. @return [String]
@!attribute [rw] name
The name of the alias. @return [String]
@!attribute [rw] function_version
The function version that the alias invokes. @return [String]
@!attribute [rw] description
A description of the alias. @return [String]
@!attribute [rw] routing_config
The [routing configuration][1] of the alias. [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing @return [Types::AliasRoutingConfiguration]
@!attribute [rw] revision_id
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAliasRequest AWS API Documentation
Constants
- SENSITIVE