Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LayerVersionContentInput = LayerVersionContentInput' {}
- newLayerVersionContentInput :: LayerVersionContentInput
- layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString)
- layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text)
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.
LayerVersionContentInput' | |
|
Instances
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.