libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lambda.ListVersionsByFunction

Description

Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.

This operation returns paginated results.

Synopsis

Creating a Request

data ListVersionsByFunction Source #

See: newListVersionsByFunction smart constructor.

Constructors

ListVersionsByFunction' 

Fields

  • marker :: Maybe Text

    Specify the pagination token that's returned by a previous request to retrieve the next page of results.

  • maxItems :: Maybe Natural

    The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher.

  • functionName :: Text

    The name of the Lambda function.

    Name formats

    • Function name - MyFunction.
    • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
    • Partial ARN - 123456789012:function:MyFunction.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Instances

Instances details
Eq ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Read ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Show ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Generic ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Associated Types

type Rep ListVersionsByFunction :: Type -> Type #

NFData ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Methods

rnf :: ListVersionsByFunction -> () #

Hashable ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

AWSPager ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

AWSRequest ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Associated Types

type AWSResponse ListVersionsByFunction #

ToHeaders ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

ToPath ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

ToQuery ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunction = D1 ('MetaData "ListVersionsByFunction" "Amazonka.Lambda.ListVersionsByFunction" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListVersionsByFunction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListVersionsByFunction Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

newListVersionsByFunction Source #

Create a value of ListVersionsByFunction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:marker:ListVersionsByFunction', listVersionsByFunction_marker - Specify the pagination token that's returned by a previous request to retrieve the next page of results.

$sel:maxItems:ListVersionsByFunction', listVersionsByFunction_maxItems - The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher.

$sel:functionName:ListVersionsByFunction', listVersionsByFunction_functionName - The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Request Lenses

listVersionsByFunction_marker :: Lens' ListVersionsByFunction (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listVersionsByFunction_maxItems :: Lens' ListVersionsByFunction (Maybe Natural) Source #

The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher.

listVersionsByFunction_functionName :: Lens' ListVersionsByFunction Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Destructuring the Response

data ListVersionsByFunctionResponse Source #

See: newListVersionsByFunctionResponse smart constructor.

Constructors

ListVersionsByFunctionResponse' 

Fields

Instances

Instances details
Eq ListVersionsByFunctionResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Show ListVersionsByFunctionResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Generic ListVersionsByFunctionResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

Associated Types

type Rep ListVersionsByFunctionResponse :: Type -> Type #

NFData ListVersionsByFunctionResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunctionResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunctionResponse = D1 ('MetaData "ListVersionsByFunctionResponse" "Amazonka.Lambda.ListVersionsByFunction" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListVersionsByFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "versions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FunctionConfiguration])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListVersionsByFunctionResponse Source #

Create a value of ListVersionsByFunctionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:versions:ListVersionsByFunctionResponse', listVersionsByFunctionResponse_versions - A list of Lambda function versions.

$sel:nextMarker:ListVersionsByFunctionResponse', listVersionsByFunctionResponse_nextMarker - The pagination token that's included if more results are available.

$sel:httpStatus:ListVersionsByFunctionResponse', listVersionsByFunctionResponse_httpStatus - The response's http status code.

Response Lenses

listVersionsByFunctionResponse_nextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) Source #

The pagination token that's included if more results are available.