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 summary information about stream keys for the specified channel.
This operation returns paginated results.
Synopsis
- data ListStreamKeys = ListStreamKeys' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- channelArn :: Text
- newListStreamKeys :: Text -> ListStreamKeys
- listStreamKeys_nextToken :: Lens' ListStreamKeys (Maybe Text)
- listStreamKeys_maxResults :: Lens' ListStreamKeys (Maybe Natural)
- listStreamKeys_channelArn :: Lens' ListStreamKeys Text
- data ListStreamKeysResponse = ListStreamKeysResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- streamKeys :: [StreamKeySummary]
- newListStreamKeysResponse :: Int -> ListStreamKeysResponse
- listStreamKeysResponse_nextToken :: Lens' ListStreamKeysResponse (Maybe Text)
- listStreamKeysResponse_httpStatus :: Lens' ListStreamKeysResponse Int
- listStreamKeysResponse_streamKeys :: Lens' ListStreamKeysResponse [StreamKeySummary]
Creating a Request
data ListStreamKeys Source #
See: newListStreamKeys
smart constructor.
ListStreamKeys' | |
|
Instances
Create a value of ListStreamKeys
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:ListStreamKeys'
, listStreamKeys_nextToken
- The first stream key to retrieve. This is used for pagination; see the
nextToken
response field.
$sel:maxResults:ListStreamKeys'
, listStreamKeys_maxResults
- Maximum number of streamKeys to return. Default: 50.
$sel:channelArn:ListStreamKeys'
, listStreamKeys_channelArn
- Channel ARN used to filter the list.
Request Lenses
listStreamKeys_nextToken :: Lens' ListStreamKeys (Maybe Text) Source #
The first stream key to retrieve. This is used for pagination; see the
nextToken
response field.
listStreamKeys_maxResults :: Lens' ListStreamKeys (Maybe Natural) Source #
Maximum number of streamKeys to return. Default: 50.
listStreamKeys_channelArn :: Lens' ListStreamKeys Text Source #
Channel ARN used to filter the list.
Destructuring the Response
data ListStreamKeysResponse Source #
See: newListStreamKeysResponse
smart constructor.
ListStreamKeysResponse' | |
|
Instances
newListStreamKeysResponse Source #
Create a value of ListStreamKeysResponse
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:ListStreamKeys'
, listStreamKeysResponse_nextToken
- If there are more stream keys than maxResults
, use nextToken
in the
request to get the next set.
$sel:httpStatus:ListStreamKeysResponse'
, listStreamKeysResponse_httpStatus
- The response's http status code.
$sel:streamKeys:ListStreamKeysResponse'
, listStreamKeysResponse_streamKeys
- List of stream keys.
Response Lenses
listStreamKeysResponse_nextToken :: Lens' ListStreamKeysResponse (Maybe Text) Source #
If there are more stream keys than maxResults
, use nextToken
in the
request to get the next set.
listStreamKeysResponse_httpStatus :: Lens' ListStreamKeysResponse Int Source #
The response's http status code.
listStreamKeysResponse_streamKeys :: Lens' ListStreamKeysResponse [StreamKeySummary] Source #
List of stream keys.