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

Class: Aws::Lambda::Types::ListAliasesRequest

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

{
  function_name: "FunctionName", # required
  function_version: "Version",
  marker: "String",
  max_items: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

Lambda function name for which the alias is created. 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)


1401
1402
1403
1404
1405
1406
1407
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1401

class ListAliasesRequest < Struct.new(
  :function_name,
  :function_version,
  :marker,
  :max_items)
  include Aws::Structure
end

#function_versionString

If you specify this optional parameter, the API returns only the aliases that are pointing to the specific Lambda function version, otherwise the API returns all of the aliases created for the Lambda function.

Returns:

  • (String)


1401
1402
1403
1404
1405
1406
1407
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1401

class ListAliasesRequest < Struct.new(
  :function_name,
  :function_version,
  :marker,
  :max_items)
  include Aws::Structure
end

#markerString

Optional string. An opaque pagination token returned from a previous ListAliases operation. If present, indicates where to continue the listing.

Returns:

  • (String)


1401
1402
1403
1404
1405
1406
1407
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1401

class ListAliasesRequest < Struct.new(
  :function_name,
  :function_version,
  :marker,
  :max_items)
  include Aws::Structure
end

#max_itemsInteger

Optional integer. Specifies the maximum number of aliases to return in response. This parameter value must be greater than 0.

Returns:

  • (Integer)


1401
1402
1403
1404
1405
1406
1407
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1401

class ListAliasesRequest < Struct.new(
  :function_name,
  :function_version,
  :marker,
  :max_items)
  include Aws::Structure
end