amazonka-lambda-2.0: Amazon Lambda SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lambda.GetLayerVersion

Description

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Synopsis

Creating a Request

data GetLayerVersion Source #

See: newGetLayerVersion smart constructor.

Constructors

GetLayerVersion' 

Fields

Instances

Instances details
ToHeaders GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

ToPath GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

ToQuery GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

AWSRequest GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

Associated Types

type AWSResponse GetLayerVersion #

Generic GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

Associated Types

type Rep GetLayerVersion :: Type -> Type #

Read GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

Show GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

NFData GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

Methods

rnf :: GetLayerVersion -> () #

Eq GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

Hashable GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

type AWSResponse GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

type Rep GetLayerVersion Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersion

type Rep GetLayerVersion = D1 ('MetaData "GetLayerVersion" "Amazonka.Lambda.GetLayerVersion" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "GetLayerVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "layerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "versionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newGetLayerVersion Source #

Create a value of GetLayerVersion 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:

GetLayerVersion, getLayerVersion_layerName - The name or Amazon Resource Name (ARN) of the layer.

$sel:versionNumber:GetLayerVersion', getLayerVersion_versionNumber - The version number.

Request Lenses

getLayerVersion_layerName :: Lens' GetLayerVersion Text Source #

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

Destructuring the Response

data GetLayerVersionResponse Source #

See: newGetLayerVersionResponse smart constructor.

Constructors

GetLayerVersionResponse' 

Fields

Instances

Instances details
FromJSON GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

Generic GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

Associated Types

type Rep GetLayerVersionResponse :: Type -> Type #

Read GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

Show GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

NFData GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

Methods

rnf :: GetLayerVersionResponse -> () #

Eq GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

Hashable GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

type Rep GetLayerVersionResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.GetLayerVersionResponse

Response Lenses

getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) Source #

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).