| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lambda.ListLayers
Description
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_compatibleArchitecture :: Lens' ListLayers (Maybe Architecture)
- listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime)
- listLayers_marker :: Lens' ListLayers (Maybe Text)
- listLayers_maxItems :: Lens' ListLayers (Maybe Natural)
- data ListLayersResponse = ListLayersResponse' {
- layers :: Maybe [LayersListItem]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListLayersResponse :: Int -> ListLayersResponse
- listLayersResponse_layers :: Lens' ListLayersResponse (Maybe [LayersListItem])
- listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text)
- listLayersResponse_httpStatus :: Lens' ListLayersResponse Int
Creating a Request
data ListLayers Source #
See: newListLayers smart constructor.
Constructors
| ListLayers' | |
Fields
| |
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:compatibleArchitecture:ListLayers', listLayers_compatibleArchitecture - The compatible
instruction set architecture.
$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.
Request Lenses
listLayers_compatibleArchitecture :: Lens' ListLayers (Maybe Architecture) Source #
The compatible instruction set architecture.
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.
Destructuring the Response
data ListLayersResponse Source #
See: newListLayersResponse smart constructor.
Constructors
| ListLayersResponse' | |
Fields
| |
Instances
newListLayersResponse Source #
Arguments
| :: Int | |
| -> ListLayersResponse |
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:
ListLayersResponse, listLayersResponse_layers - A list of function layers.
$sel:nextMarker:ListLayersResponse', listLayersResponse_nextMarker - A pagination token returned when the response doesn't contain all
layers.
$sel:httpStatus:ListLayersResponse', listLayersResponse_httpStatus - The response's http status code.
Response Lenses
listLayersResponse_layers :: Lens' ListLayersResponse (Maybe [LayersListItem]) Source #
A list of function layers.
listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text) Source #
A pagination token returned when the response doesn't contain all layers.
listLayersResponse_httpStatus :: Lens' ListLayersResponse Int Source #
The response's http status code.