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

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

  • Object
show all
Defined in:



When passing ListVersionsByFunctionRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details


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.


  • (String)

    Function name whose versions to list.


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


  • (String)

    Optional string.


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


  • (Integer)

    Optional integer.