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 |
Retrieves a list of read sets.
This operation returns paginated results.
Synopsis
- data ListReadSets = ListReadSets' {}
- newListReadSets :: Text -> ListReadSets
- listReadSets_filter :: Lens' ListReadSets (Maybe ReadSetFilter)
- listReadSets_maxResults :: Lens' ListReadSets (Maybe Natural)
- listReadSets_nextToken :: Lens' ListReadSets (Maybe Text)
- listReadSets_sequenceStoreId :: Lens' ListReadSets Text
- data ListReadSetsResponse = ListReadSetsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- readSets :: [ReadSetListItem]
- newListReadSetsResponse :: Int -> ListReadSetsResponse
- listReadSetsResponse_nextToken :: Lens' ListReadSetsResponse (Maybe Text)
- listReadSetsResponse_httpStatus :: Lens' ListReadSetsResponse Int
- listReadSetsResponse_readSets :: Lens' ListReadSetsResponse [ReadSetListItem]
Creating a Request
data ListReadSets Source #
See: newListReadSets
smart constructor.
ListReadSets' | |
|
Instances
Create a value of ListReadSets
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:filter':ListReadSets'
, listReadSets_filter
- A filter to apply to the list.
$sel:maxResults:ListReadSets'
, listReadSets_maxResults
- The maximum number of read sets to return in one page of results.
ListReadSets
, listReadSets_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
ListReadSets
, listReadSets_sequenceStoreId
- The jobs' sequence store ID.
Request Lenses
listReadSets_filter :: Lens' ListReadSets (Maybe ReadSetFilter) Source #
A filter to apply to the list.
listReadSets_maxResults :: Lens' ListReadSets (Maybe Natural) Source #
The maximum number of read sets to return in one page of results.
listReadSets_nextToken :: Lens' ListReadSets (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listReadSets_sequenceStoreId :: Lens' ListReadSets Text Source #
The jobs' sequence store ID.
Destructuring the Response
data ListReadSetsResponse Source #
See: newListReadSetsResponse
smart constructor.
ListReadSetsResponse' | |
|
Instances
newListReadSetsResponse Source #
Create a value of ListReadSetsResponse
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:
ListReadSets
, listReadSetsResponse_nextToken
- A pagination token that's included if more results are available.
$sel:httpStatus:ListReadSetsResponse'
, listReadSetsResponse_httpStatus
- The response's http status code.
$sel:readSets:ListReadSetsResponse'
, listReadSetsResponse_readSets
- A list of read sets.
Response Lenses
listReadSetsResponse_nextToken :: Lens' ListReadSetsResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listReadSetsResponse_httpStatus :: Lens' ListReadSetsResponse Int Source #
The response's http status code.
listReadSetsResponse_readSets :: Lens' ListReadSetsResponse [ReadSetListItem] Source #
A list of read sets.