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 progress update streams associated with the user account making this call.
This operation returns paginated results.
Synopsis
- data ListProgressUpdateStreams = ListProgressUpdateStreams' {}
- newListProgressUpdateStreams :: ListProgressUpdateStreams
- listProgressUpdateStreams_nextToken :: Lens' ListProgressUpdateStreams (Maybe Text)
- listProgressUpdateStreams_maxResults :: Lens' ListProgressUpdateStreams (Maybe Natural)
- data ListProgressUpdateStreamsResponse = ListProgressUpdateStreamsResponse' {}
- newListProgressUpdateStreamsResponse :: Int -> ListProgressUpdateStreamsResponse
- listProgressUpdateStreamsResponse_progressUpdateStreamSummaryList :: Lens' ListProgressUpdateStreamsResponse (Maybe [ProgressUpdateStreamSummary])
- listProgressUpdateStreamsResponse_nextToken :: Lens' ListProgressUpdateStreamsResponse (Maybe Text)
- listProgressUpdateStreamsResponse_httpStatus :: Lens' ListProgressUpdateStreamsResponse Int
Creating a Request
data ListProgressUpdateStreams Source #
See: newListProgressUpdateStreams
smart constructor.
Instances
newListProgressUpdateStreams :: ListProgressUpdateStreams Source #
Create a value of ListProgressUpdateStreams
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:nextToken:ListProgressUpdateStreams'
, listProgressUpdateStreams_nextToken
- If a NextToken
was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
$sel:maxResults:ListProgressUpdateStreams'
, listProgressUpdateStreams_maxResults
- Filter to limit the maximum number of results to list per page.
Request Lenses
listProgressUpdateStreams_nextToken :: Lens' ListProgressUpdateStreams (Maybe Text) Source #
If a NextToken
was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
listProgressUpdateStreams_maxResults :: Lens' ListProgressUpdateStreams (Maybe Natural) Source #
Filter to limit the maximum number of results to list per page.
Destructuring the Response
data ListProgressUpdateStreamsResponse Source #
See: newListProgressUpdateStreamsResponse
smart constructor.
ListProgressUpdateStreamsResponse' | |
|
Instances
newListProgressUpdateStreamsResponse Source #
Create a value of ListProgressUpdateStreamsResponse
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:progressUpdateStreamSummaryList:ListProgressUpdateStreamsResponse'
, listProgressUpdateStreamsResponse_progressUpdateStreamSummaryList
- List of progress update streams up to the max number of results passed
in the input.
$sel:nextToken:ListProgressUpdateStreams'
, listProgressUpdateStreamsResponse_nextToken
- If there are more streams created than the max result, return the next
token to be passed to the next call as a bookmark of where to start
from.
$sel:httpStatus:ListProgressUpdateStreamsResponse'
, listProgressUpdateStreamsResponse_httpStatus
- The response's http status code.
Response Lenses
listProgressUpdateStreamsResponse_progressUpdateStreamSummaryList :: Lens' ListProgressUpdateStreamsResponse (Maybe [ProgressUpdateStreamSummary]) Source #
List of progress update streams up to the max number of results passed in the input.
listProgressUpdateStreamsResponse_nextToken :: Lens' ListProgressUpdateStreamsResponse (Maybe Text) Source #
If there are more streams created than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
listProgressUpdateStreamsResponse_httpStatus :: Lens' ListProgressUpdateStreamsResponse Int Source #
The response's http status code.