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

Description

Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.

Synopsis

Creating a Request

data DeleteLayerVersion Source #

See: newDeleteLayerVersion smart constructor.

Constructors

DeleteLayerVersion' 

Fields

Instances

Instances details
Eq DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Read DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Show DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Generic DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Associated Types

type Rep DeleteLayerVersion :: Type -> Type #

NFData DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Methods

rnf :: DeleteLayerVersion -> () #

Hashable DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

AWSRequest DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Associated Types

type AWSResponse DeleteLayerVersion #

ToHeaders DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

ToPath DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

ToQuery DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

type Rep DeleteLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

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

Defined in Amazonka.Lambda.DeleteLayerVersion

newDeleteLayerVersion Source #

Create a value of DeleteLayerVersion 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:layerName:DeleteLayerVersion', deleteLayerVersion_layerName - The name or Amazon Resource Name (ARN) of the layer.

$sel:versionNumber:DeleteLayerVersion', deleteLayerVersion_versionNumber - The version number.

Request Lenses

deleteLayerVersion_layerName :: Lens' DeleteLayerVersion Text Source #

The name or Amazon Resource Name (ARN) of the layer.

Destructuring the Response

data DeleteLayerVersionResponse Source #

See: newDeleteLayerVersionResponse smart constructor.

Instances

Instances details
Eq DeleteLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Read DeleteLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Show DeleteLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Generic DeleteLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

Associated Types

type Rep DeleteLayerVersionResponse :: Type -> Type #

NFData DeleteLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

type Rep DeleteLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.DeleteLayerVersion

type Rep DeleteLayerVersionResponse = D1 ('MetaData "DeleteLayerVersionResponse" "Amazonka.Lambda.DeleteLayerVersion" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "DeleteLayerVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteLayerVersionResponse :: DeleteLayerVersionResponse Source #

Create a value of DeleteLayerVersionResponse with all optional fields omitted.

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