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

Class: Aws::Lambda::Types::ListVersionsByFunctionRequest

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

{
  function_name: "NamespacedFunctionName", # required
  marker: "String",
  max_items: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

Function name whose versions to list. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). 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)


1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1632

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

#markerString

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

Returns:

  • (String)


1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1632

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

#max_itemsInteger

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

Returns:

  • (Integer)


1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1632

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