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.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
Eq LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

Show 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 #

NFData LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

Hashable LayerVersionContentInput Source # 
Instance details

Defined in Amazonka.Lambda.Types.LayerVersionContentInput

ToJSON 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" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "LayerVersionContentInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3ObjectVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "zipFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))) :*: S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:s3ObjectVersion:LayerVersionContentInput', layerVersionContentInput_s3ObjectVersion - For versioned objects, the version of the layer archive object to use.

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

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

$sel:s3Bucket:LayerVersionContentInput', layerVersionContentInput_s3Bucket - The Amazon S3 bucket of the layer archive.

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

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

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

The Amazon S3 key of the layer archive.

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.

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

The Amazon S3 bucket of the layer archive.