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 |
Use this operation in a monitoring account to return the list of sinks created in that account.
This operation returns paginated results.
Synopsis
- data ListSinks = ListSinks' {}
- newListSinks :: ListSinks
- listSinks_maxResults :: Lens' ListSinks (Maybe Natural)
- listSinks_nextToken :: Lens' ListSinks (Maybe Text)
- data ListSinksResponse = ListSinksResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- items :: [ListSinksItem]
- newListSinksResponse :: Int -> ListSinksResponse
- listSinksResponse_nextToken :: Lens' ListSinksResponse (Maybe Text)
- listSinksResponse_httpStatus :: Lens' ListSinksResponse Int
- listSinksResponse_items :: Lens' ListSinksResponse [ListSinksItem]
Creating a Request
See: newListSinks
smart constructor.
Instances
newListSinks :: ListSinks Source #
Create a value of ListSinks
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:maxResults:ListSinks'
, listSinks_maxResults
- Limits the number of returned links to the specified number.
ListSinks
, listSinks_nextToken
- The token for the next set of items to return. You received this token
from a previous call.
Request Lenses
listSinks_maxResults :: Lens' ListSinks (Maybe Natural) Source #
Limits the number of returned links to the specified number.
listSinks_nextToken :: Lens' ListSinks (Maybe Text) Source #
The token for the next set of items to return. You received this token from a previous call.
Destructuring the Response
data ListSinksResponse Source #
See: newListSinksResponse
smart constructor.
ListSinksResponse' | |
|
Instances
Create a value of ListSinksResponse
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:
ListSinks
, listSinksResponse_nextToken
- The token to use when requesting the next set of sinks.
$sel:httpStatus:ListSinksResponse'
, listSinksResponse_httpStatus
- The response's http status code.
$sel:items:ListSinksResponse'
, listSinksResponse_items
- An array of structures that contain the information about the returned
sinks.
Response Lenses
listSinksResponse_nextToken :: Lens' ListSinksResponse (Maybe Text) Source #
The token to use when requesting the next set of sinks.
listSinksResponse_httpStatus :: Lens' ListSinksResponse Int Source #
The response's http status code.
listSinksResponse_items :: Lens' ListSinksResponse [ListSinksItem] Source #
An array of structures that contain the information about the returned sinks.