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

Description

Returns details about a Lambda function alias.

Synopsis

Creating a Request

data GetAlias Source #

See: newGetAlias smart constructor.

Constructors

GetAlias' 

Fields

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

  • name :: Text

    The name of the alias.

Instances

Instances details
Eq GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Read GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Show GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Generic GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Associated Types

type Rep GetAlias :: Type -> Type #

Methods

from :: GetAlias -> Rep GetAlias x #

to :: Rep GetAlias x -> GetAlias #

NFData GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Methods

rnf :: GetAlias -> () #

Hashable GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Methods

hashWithSalt :: Int -> GetAlias -> Int #

hash :: GetAlias -> Int #

AWSRequest GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Associated Types

type AWSResponse GetAlias #

ToHeaders GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

Methods

toHeaders :: GetAlias -> [Header] #

ToPath GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

ToQuery GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

type Rep GetAlias Source # 
Instance details

Defined in Amazonka.Lambda.GetAlias

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

Defined in Amazonka.Lambda.GetAlias

newGetAlias Source #

Create a value of GetAlias 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:functionName:GetAlias', getAlias_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.

$sel:name:GetAlias', getAlias_name - The name of the alias.

Request Lenses

getAlias_functionName :: Lens' GetAlias 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.

getAlias_name :: Lens' GetAlias Text Source #

The name of the alias.

Destructuring the Response

data AliasConfiguration Source #

Provides configuration information about a Lambda function alias.

See: newAliasConfiguration smart constructor.

Constructors

AliasConfiguration' 

Fields

Instances

Instances details
Eq AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

Read AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

Show AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

Generic AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

Associated Types

type Rep AliasConfiguration :: Type -> Type #

NFData AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

Methods

rnf :: AliasConfiguration -> () #

Hashable AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

FromJSON AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

type Rep AliasConfiguration Source # 
Instance details

Defined in Amazonka.Lambda.Types.AliasConfiguration

type Rep AliasConfiguration = D1 ('MetaData "AliasConfiguration" "Amazonka.Lambda.Types.AliasConfiguration" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "AliasConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "routingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AliasRoutingConfiguration)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "aliasArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAliasConfiguration :: AliasConfiguration Source #

Create a value of AliasConfiguration 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:routingConfig:AliasConfiguration', aliasConfiguration_routingConfig - The routing configuration of the alias.

$sel:name:AliasConfiguration', aliasConfiguration_name - The name of the alias.

$sel:functionVersion:AliasConfiguration', aliasConfiguration_functionVersion - The function version that the alias invokes.

$sel:aliasArn:AliasConfiguration', aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of the alias.

$sel:description:AliasConfiguration', aliasConfiguration_description - A description of the alias.

$sel:revisionId:AliasConfiguration', aliasConfiguration_revisionId - A unique identifier that changes when you update the alias.

Response Lenses

aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #

The function version that the alias invokes.

aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alias.

aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #

A unique identifier that changes when you update the alias.