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

Class: Aws::Lambda::Types::GetAliasRequest

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 GetAliasRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

Function name for which the alias is created. An alias is a subresource that exists only in the context of an existing Lambda function so you must specify the function name. 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)


1086
1087
1088
1089
1090
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1086

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

#nameString

Name of the alias for which you want to retrieve information.

Returns:

  • (String)


1086
1087
1088
1089
1090
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1086

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