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

Description

Deletes a Lambda function alias.

Synopsis

Creating a Request

data DeleteAlias Source #

See: newDeleteAlias smart constructor.

Constructors

DeleteAlias' 

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

Defined in Amazonka.Lambda.DeleteAlias

Read DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

Show DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

Generic DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

Associated Types

type Rep DeleteAlias :: Type -> Type #

NFData DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

Methods

rnf :: DeleteAlias -> () #

Hashable DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

AWSRequest DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

Associated Types

type AWSResponse DeleteAlias #

ToHeaders DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

Methods

toHeaders :: DeleteAlias -> [Header] #

ToPath DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

ToQuery DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

type Rep DeleteAlias Source # 
Instance details

Defined in Amazonka.Lambda.DeleteAlias

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

Defined in Amazonka.Lambda.DeleteAlias

newDeleteAlias Source #

Create a value of DeleteAlias 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:DeleteAlias', deleteAlias_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:DeleteAlias', deleteAlias_name - The name of the alias.

Request Lenses

deleteAlias_functionName :: Lens' DeleteAlias 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.

deleteAlias_name :: Lens' DeleteAlias Text Source #

The name of the alias.

Destructuring the Response

data DeleteAliasResponse Source #

See: newDeleteAliasResponse smart constructor.

Constructors

DeleteAliasResponse' 

newDeleteAliasResponse :: DeleteAliasResponse Source #

Create a value of DeleteAliasResponse with all optional fields omitted.

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