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 |
Performs GetStreamKey on multiple ARNs simultaneously.
Synopsis
- data BatchGetStreamKey = BatchGetStreamKey' {}
- newBatchGetStreamKey :: NonEmpty Text -> BatchGetStreamKey
- batchGetStreamKey_arns :: Lens' BatchGetStreamKey (NonEmpty Text)
- data BatchGetStreamKeyResponse = BatchGetStreamKeyResponse' {
- streamKeys :: Maybe [StreamKey]
- errors :: Maybe [BatchError]
- httpStatus :: Int
- newBatchGetStreamKeyResponse :: Int -> BatchGetStreamKeyResponse
- batchGetStreamKeyResponse_streamKeys :: Lens' BatchGetStreamKeyResponse (Maybe [StreamKey])
- batchGetStreamKeyResponse_errors :: Lens' BatchGetStreamKeyResponse (Maybe [BatchError])
- batchGetStreamKeyResponse_httpStatus :: Lens' BatchGetStreamKeyResponse Int
Creating a Request
data BatchGetStreamKey Source #
See: newBatchGetStreamKey
smart constructor.
Instances
Create a value of BatchGetStreamKey
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:arns:BatchGetStreamKey'
, batchGetStreamKey_arns
- Array of ARNs, one per channel.
Request Lenses
batchGetStreamKey_arns :: Lens' BatchGetStreamKey (NonEmpty Text) Source #
Array of ARNs, one per channel.
Destructuring the Response
data BatchGetStreamKeyResponse Source #
See: newBatchGetStreamKeyResponse
smart constructor.
BatchGetStreamKeyResponse' | |
|
Instances
newBatchGetStreamKeyResponse Source #
Create a value of BatchGetStreamKeyResponse
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:streamKeys:BatchGetStreamKeyResponse'
, batchGetStreamKeyResponse_streamKeys
-
$sel:errors:BatchGetStreamKeyResponse'
, batchGetStreamKeyResponse_errors
-
$sel:httpStatus:BatchGetStreamKeyResponse'
, batchGetStreamKeyResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetStreamKeyResponse_streamKeys :: Lens' BatchGetStreamKeyResponse (Maybe [StreamKey]) Source #
batchGetStreamKeyResponse_httpStatus :: Lens' BatchGetStreamKeyResponse Int Source #
The response's http status code.