| 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.MGN.ListWaves
Description
Retrieves all waves or multiple waves by ID.
This operation returns paginated results.
Synopsis
- data ListWaves = ListWaves' {}
- newListWaves :: ListWaves
- listWaves_filters :: Lens' ListWaves (Maybe ListWavesRequestFilters)
- listWaves_maxResults :: Lens' ListWaves (Maybe Natural)
- listWaves_nextToken :: Lens' ListWaves (Maybe Text)
- data ListWavesResponse = ListWavesResponse' {}
- newListWavesResponse :: Int -> ListWavesResponse
- listWavesResponse_items :: Lens' ListWavesResponse (Maybe [Wave])
- listWavesResponse_nextToken :: Lens' ListWavesResponse (Maybe Text)
- listWavesResponse_httpStatus :: Lens' ListWavesResponse Int
Creating a Request
See: newListWaves smart constructor.
Constructors
| ListWaves' | |
Fields
| |
Instances
newListWaves :: ListWaves Source #
Create a value of ListWaves 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:filters:ListWaves', listWaves_filters - Waves list filters.
$sel:maxResults:ListWaves', listWaves_maxResults - Maximum results to return when listing waves.
ListWaves, listWaves_nextToken - Request next token.
Request Lenses
listWaves_filters :: Lens' ListWaves (Maybe ListWavesRequestFilters) Source #
Waves list filters.
listWaves_maxResults :: Lens' ListWaves (Maybe Natural) Source #
Maximum results to return when listing waves.
Destructuring the Response
data ListWavesResponse Source #
See: newListWavesResponse smart constructor.
Constructors
| ListWavesResponse' | |
Instances
Arguments
| :: Int | |
| -> ListWavesResponse |
Create a value of ListWavesResponse 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:items:ListWavesResponse', listWavesResponse_items - Waves list.
ListWaves, listWavesResponse_nextToken - Response next token.
$sel:httpStatus:ListWavesResponse', listWavesResponse_httpStatus - The response's http status code.
Response Lenses
listWavesResponse_items :: Lens' ListWavesResponse (Maybe [Wave]) Source #
Waves list.
listWavesResponse_nextToken :: Lens' ListWavesResponse (Maybe Text) Source #
Response next token.
listWavesResponse_httpStatus :: Lens' ListWavesResponse Int Source #
The response's http status code.