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.Types.LayerVersionContentInput

Description

 
Synopsis

Documentation

data LayerVersionContentInput Source #

A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.

See: newLayerVersionContentInput smart constructor.

Constructors

LayerVersionContentInput' 

Fields

Instances

Instances details
ToJSON LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

Generic LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

Associated Types

type Rep LayerVersionContentInput :: Type -> Type #

Show LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

NFData LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

Eq LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

Hashable LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

type Rep LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

type Rep LayerVersionContentInput = D1 ('MetaData "LayerVersionContentInput" "Amazonka.Lambda.Types.LayerVersionContentInput" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "LayerVersionContentInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "s3ObjectVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "zipFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))))))

newLayerVersionContentInput :: LayerVersionContentInput Source #

Create a value of LayerVersionContentInput 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:s3Bucket:LayerVersionContentInput', layerVersionContentInput_s3Bucket - The Amazon S3 bucket of the layer archive.

$sel:s3Key:LayerVersionContentInput', layerVersionContentInput_s3Key - The Amazon S3 key of the layer archive.

$sel:s3ObjectVersion:LayerVersionContentInput', layerVersionContentInput_s3ObjectVersion - For versioned objects, the version of the layer archive object to use.

$sel:zipFile:LayerVersionContentInput', layerVersionContentInput_zipFile - The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) Source #

The Amazon S3 bucket of the layer archive.

layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) Source #

The Amazon S3 key of the layer archive.

layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) Source #

For versioned objects, the version of the layer archive object to use.

layerVersionContentInput_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString) Source #

The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.