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 Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
This operation returns paginated results.
Synopsis
- data ListLayers = ListLayers' {}
- newListLayers :: ListLayers
- listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime)
- listLayers_marker :: Lens' ListLayers (Maybe Text)
- listLayers_maxItems :: Lens' ListLayers (Maybe Natural)
- listLayers_compatibleArchitecture :: Lens' ListLayers (Maybe Architecture)
- data ListLayersResponse = ListLayersResponse' {
- nextMarker :: Maybe Text
- layers :: Maybe [LayersListItem]
- httpStatus :: Int
- newListLayersResponse :: Int -> ListLayersResponse
- listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text)
- listLayersResponse_layers :: Lens' ListLayersResponse (Maybe [LayersListItem])
- listLayersResponse_httpStatus :: Lens' ListLayersResponse Int
Creating a Request
data ListLayers Source #
See: newListLayers
smart constructor.
ListLayers' | |
|
Instances
newListLayers :: ListLayers Source #
Create a value of ListLayers
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:ListLayers'
, listLayers_compatibleRuntime
- A runtime identifier. For example, go1.x
.
$sel:marker:ListLayers'
, listLayers_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListLayers'
, listLayers_maxItems
- The maximum number of layers to return.
$sel:compatibleArchitecture:ListLayers'
, listLayers_compatibleArchitecture
- The compatible
instruction set architecture.
Request Lenses
listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime) Source #
A runtime identifier. For example, go1.x
.
listLayers_marker :: Lens' ListLayers (Maybe Text) Source #
A pagination token returned by a previous call.
listLayers_maxItems :: Lens' ListLayers (Maybe Natural) Source #
The maximum number of layers to return.
listLayers_compatibleArchitecture :: Lens' ListLayers (Maybe Architecture) Source #
The compatible instruction set architecture.
Destructuring the Response
data ListLayersResponse Source #
See: newListLayersResponse
smart constructor.
ListLayersResponse' | |
|
Instances
newListLayersResponse Source #
Create a value of ListLayersResponse
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:nextMarker:ListLayersResponse'
, listLayersResponse_nextMarker
- A pagination token returned when the response doesn't contain all
layers.
$sel:layers:ListLayersResponse'
, listLayersResponse_layers
- A list of function layers.
$sel:httpStatus:ListLayersResponse'
, listLayersResponse_httpStatus
- The response's http status code.
Response Lenses
listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text) Source #
A pagination token returned when the response doesn't contain all layers.
listLayersResponse_layers :: Lens' ListLayersResponse (Maybe [LayersListItem]) Source #
A list of function layers.
listLayersResponse_httpStatus :: Lens' ListLayersResponse Int Source #
The response's http status code.