You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lambda::Types::DeleteAliasRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass DeleteAliasRequest data as a hash:

{
  function_name: "FunctionName", # required
  name: "Alias", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

The Lambda function name for which the alias is created. Deleting an alias does not delete the function version to which it is pointing. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

Returns:

  • (String)


672
673
674
675
676
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 672

class DeleteAliasRequest < Struct.new(
  :function_name,
  :name)
  include Aws::Structure
end

#nameString

Name of the alias to delete.

Returns:

  • (String)


672
673
674
675
676
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 672

class DeleteAliasRequest < Struct.new(
  :function_name,
  :name)
  include Aws::Structure
end