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 |
Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
Synopsis
- data GetLayerVersion = GetLayerVersion' {}
- newGetLayerVersion :: Text -> Integer -> GetLayerVersion
- getLayerVersion_layerName :: Lens' GetLayerVersion Text
- getLayerVersion_versionNumber :: Lens' GetLayerVersion Integer
- data GetLayerVersionResponse = GetLayerVersionResponse' {}
- newGetLayerVersionResponse :: GetLayerVersionResponse
- getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput)
- getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer)
- getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture])
- getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime])
Creating a Request
data GetLayerVersion Source #
See: newGetLayerVersion
smart constructor.
GetLayerVersion' | |
|
Instances
:: Text | |
-> Integer | |
-> GetLayerVersion |
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:
$sel:layerName: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.
getLayerVersion_versionNumber :: Lens' GetLayerVersion Integer Source #
The version number.
Destructuring the Response
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
GetLayerVersionResponse' | |
|
Instances
newGetLayerVersionResponse :: GetLayerVersionResponse Source #
Create a value of GetLayerVersionResponse
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:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:content:GetLayerVersionResponse'
, getLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:GetLayerVersionResponse'
, getLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
Response Lenses
getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The ARN of the layer version.
getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) Source #
Details about the layer version.
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).
getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) Source #
The version number.
getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The layer's software license.
getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) Source #
A list of compatible instruction set architectures.
getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The ARN of the layer.
getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The description of the version.
getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) Source #
The layer's compatible runtimes.