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 |
Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.
This operation returns paginated results.
Synopsis
- data ListLayerVersions = ListLayerVersions' {}
- newListLayerVersions :: Text -> ListLayerVersions
- listLayerVersions_compatibleRuntime :: Lens' ListLayerVersions (Maybe Runtime)
- listLayerVersions_marker :: Lens' ListLayerVersions (Maybe Text)
- listLayerVersions_maxItems :: Lens' ListLayerVersions (Maybe Natural)
- listLayerVersions_compatibleArchitecture :: Lens' ListLayerVersions (Maybe Architecture)
- listLayerVersions_layerName :: Lens' ListLayerVersions Text
- data ListLayerVersionsResponse = ListLayerVersionsResponse' {}
- newListLayerVersionsResponse :: Int -> ListLayerVersionsResponse
- listLayerVersionsResponse_layerVersions :: Lens' ListLayerVersionsResponse (Maybe [LayerVersionsListItem])
- listLayerVersionsResponse_nextMarker :: Lens' ListLayerVersionsResponse (Maybe Text)
- listLayerVersionsResponse_httpStatus :: Lens' ListLayerVersionsResponse Int
Creating a Request
data ListLayerVersions Source #
See: newListLayerVersions
smart constructor.
ListLayerVersions' | |
|
Instances
Create a value of ListLayerVersions
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:compatibleRuntime:ListLayerVersions'
, listLayerVersions_compatibleRuntime
- A runtime identifier. For example, go1.x
.
$sel:marker:ListLayerVersions'
, listLayerVersions_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListLayerVersions'
, listLayerVersions_maxItems
- The maximum number of versions to return.
$sel:compatibleArchitecture:ListLayerVersions'
, listLayerVersions_compatibleArchitecture
- The compatible
instruction set architecture.
$sel:layerName:ListLayerVersions'
, listLayerVersions_layerName
- The name or Amazon Resource Name (ARN) of the layer.
Request Lenses
listLayerVersions_compatibleRuntime :: Lens' ListLayerVersions (Maybe Runtime) Source #
A runtime identifier. For example, go1.x
.
listLayerVersions_marker :: Lens' ListLayerVersions (Maybe Text) Source #
A pagination token returned by a previous call.
listLayerVersions_maxItems :: Lens' ListLayerVersions (Maybe Natural) Source #
The maximum number of versions to return.
listLayerVersions_compatibleArchitecture :: Lens' ListLayerVersions (Maybe Architecture) Source #
The compatible instruction set architecture.
listLayerVersions_layerName :: Lens' ListLayerVersions Text Source #
The name or Amazon Resource Name (ARN) of the layer.
Destructuring the Response
data ListLayerVersionsResponse Source #
See: newListLayerVersionsResponse
smart constructor.
ListLayerVersionsResponse' | |
|
Instances
newListLayerVersionsResponse Source #
Create a value of ListLayerVersionsResponse
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:layerVersions:ListLayerVersionsResponse'
, listLayerVersionsResponse_layerVersions
- A list of versions.
$sel:nextMarker:ListLayerVersionsResponse'
, listLayerVersionsResponse_nextMarker
- A pagination token returned when the response doesn't contain all
versions.
$sel:httpStatus:ListLayerVersionsResponse'
, listLayerVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listLayerVersionsResponse_layerVersions :: Lens' ListLayerVersionsResponse (Maybe [LayerVersionsListItem]) Source #
A list of versions.
listLayerVersionsResponse_nextMarker :: Lens' ListLayerVersionsResponse (Maybe Text) Source #
A pagination token returned when the response doesn't contain all versions.
listLayerVersionsResponse_httpStatus :: Lens' ListLayerVersionsResponse Int Source #
The response's http status code.