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 |
Gets a list of stream processors that you have created with CreateStreamProcessor.
This operation returns paginated results.
Synopsis
- data ListStreamProcessors = ListStreamProcessors' {}
- newListStreamProcessors :: ListStreamProcessors
- listStreamProcessors_nextToken :: Lens' ListStreamProcessors (Maybe Text)
- listStreamProcessors_maxResults :: Lens' ListStreamProcessors (Maybe Natural)
- data ListStreamProcessorsResponse = ListStreamProcessorsResponse' {}
- newListStreamProcessorsResponse :: Int -> ListStreamProcessorsResponse
- listStreamProcessorsResponse_streamProcessors :: Lens' ListStreamProcessorsResponse (Maybe [StreamProcessor])
- listStreamProcessorsResponse_nextToken :: Lens' ListStreamProcessorsResponse (Maybe Text)
- listStreamProcessorsResponse_httpStatus :: Lens' ListStreamProcessorsResponse Int
Creating a Request
data ListStreamProcessors Source #
See: newListStreamProcessors
smart constructor.
ListStreamProcessors' | |
|
Instances
newListStreamProcessors :: ListStreamProcessors Source #
Create a value of ListStreamProcessors
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:ListStreamProcessors'
, listStreamProcessors_nextToken
- If the previous response was incomplete (because there are more stream
processors to retrieve), Amazon Rekognition Video returns a pagination
token in the response. You can use this pagination token to retrieve the
next set of stream processors.
$sel:maxResults:ListStreamProcessors'
, listStreamProcessors_maxResults
- Maximum number of stream processors you want Amazon Rekognition Video to
return in the response. The default is 1000.
Request Lenses
listStreamProcessors_nextToken :: Lens' ListStreamProcessors (Maybe Text) Source #
If the previous response was incomplete (because there are more stream processors to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of stream processors.
listStreamProcessors_maxResults :: Lens' ListStreamProcessors (Maybe Natural) Source #
Maximum number of stream processors you want Amazon Rekognition Video to return in the response. The default is 1000.
Destructuring the Response
data ListStreamProcessorsResponse Source #
See: newListStreamProcessorsResponse
smart constructor.
ListStreamProcessorsResponse' | |
|
Instances
newListStreamProcessorsResponse Source #
Create a value of ListStreamProcessorsResponse
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:streamProcessors:ListStreamProcessorsResponse'
, listStreamProcessorsResponse_streamProcessors
- List of stream processors that you have created.
$sel:nextToken:ListStreamProcessors'
, listStreamProcessorsResponse_nextToken
- If the response is truncated, Amazon Rekognition Video returns this
token that you can use in the subsequent request to retrieve the next
set of stream processors.
$sel:httpStatus:ListStreamProcessorsResponse'
, listStreamProcessorsResponse_httpStatus
- The response's http status code.
Response Lenses
listStreamProcessorsResponse_streamProcessors :: Lens' ListStreamProcessorsResponse (Maybe [StreamProcessor]) Source #
List of stream processors that you have created.
listStreamProcessorsResponse_nextToken :: Lens' ListStreamProcessorsResponse (Maybe Text) Source #
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of stream processors.
listStreamProcessorsResponse_httpStatus :: Lens' ListStreamProcessorsResponse Int Source #
The response's http status code.