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.ListAliases

Description

Returns a list of aliases for a Lambda function.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAliases Source #

See: newListAliases smart constructor.

Constructors

ListAliases' 

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

    Limit the number of aliases returned.

  • functionVersion :: Maybe Text

    Specify a function version to only list aliases that invoke that version.

  • 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 ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Read ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Show ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Generic ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Associated Types

type Rep ListAliases :: Type -> Type #

NFData ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Methods

rnf :: ListAliases -> () #

Hashable ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

AWSPager ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

AWSRequest ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Associated Types

type AWSResponse ListAliases #

ToHeaders ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Methods

toHeaders :: ListAliases -> [Header] #

ToPath ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

ToQuery ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

type Rep ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

type Rep ListAliases = D1 ('MetaData "ListAliases" "Amazonka.Lambda.ListAliases" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListAliases'" '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 "functionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListAliases Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

newListAliases Source #

Create a value of ListAliases 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:ListAliases', listAliases_marker - Specify the pagination token that's returned by a previous request to retrieve the next page of results.

$sel:maxItems:ListAliases', listAliases_maxItems - Limit the number of aliases returned.

$sel:functionVersion:ListAliases', listAliases_functionVersion - Specify a function version to only list aliases that invoke that version.

$sel:functionName:ListAliases', listAliases_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

listAliases_marker :: Lens' ListAliases (Maybe Text) Source #

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

listAliases_maxItems :: Lens' ListAliases (Maybe Natural) Source #

Limit the number of aliases returned.

listAliases_functionVersion :: Lens' ListAliases (Maybe Text) Source #

Specify a function version to only list aliases that invoke that version.

listAliases_functionName :: Lens' ListAliases 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 ListAliasesResponse Source #

See: newListAliasesResponse smart constructor.

Constructors

ListAliasesResponse' 

Fields

Instances

Instances details
Eq ListAliasesResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Read ListAliasesResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Show ListAliasesResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Generic ListAliasesResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Associated Types

type Rep ListAliasesResponse :: Type -> Type #

NFData ListAliasesResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

Methods

rnf :: ListAliasesResponse -> () #

type Rep ListAliasesResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListAliases

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

newListAliasesResponse Source #

Create a value of ListAliasesResponse 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:aliases:ListAliasesResponse', listAliasesResponse_aliases - A list of aliases.

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

$sel:httpStatus:ListAliasesResponse', listAliasesResponse_httpStatus - The response's http status code.

Response Lenses

listAliasesResponse_nextMarker :: Lens' ListAliasesResponse (Maybe Text) Source #

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