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 GetChannel on multiple ARNs simultaneously.
Synopsis
- data BatchGetChannel = BatchGetChannel' {}
- newBatchGetChannel :: NonEmpty Text -> BatchGetChannel
- batchGetChannel_arns :: Lens' BatchGetChannel (NonEmpty Text)
- data BatchGetChannelResponse = BatchGetChannelResponse' {
- channels :: Maybe [Channel]
- errors :: Maybe [BatchError]
- httpStatus :: Int
- newBatchGetChannelResponse :: Int -> BatchGetChannelResponse
- batchGetChannelResponse_channels :: Lens' BatchGetChannelResponse (Maybe [Channel])
- batchGetChannelResponse_errors :: Lens' BatchGetChannelResponse (Maybe [BatchError])
- batchGetChannelResponse_httpStatus :: Lens' BatchGetChannelResponse Int
Creating a Request
data BatchGetChannel Source #
See: newBatchGetChannel
smart constructor.
Instances
Create a value of BatchGetChannel
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:BatchGetChannel'
, batchGetChannel_arns
- Array of ARNs, one per channel.
Request Lenses
batchGetChannel_arns :: Lens' BatchGetChannel (NonEmpty Text) Source #
Array of ARNs, one per channel.
Destructuring the Response
data BatchGetChannelResponse Source #
See: newBatchGetChannelResponse
smart constructor.
BatchGetChannelResponse' | |
|
Instances
newBatchGetChannelResponse Source #
Create a value of BatchGetChannelResponse
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:channels:BatchGetChannelResponse'
, batchGetChannelResponse_channels
-
$sel:errors:BatchGetChannelResponse'
, batchGetChannelResponse_errors
- Each error object is related to a specific ARN in the request.
$sel:httpStatus:BatchGetChannelResponse'
, batchGetChannelResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetChannelResponse_errors :: Lens' BatchGetChannelResponse (Maybe [BatchError]) Source #
Each error object is related to a specific ARN in the request.
batchGetChannelResponse_httpStatus :: Lens' BatchGetChannelResponse Int Source #
The response's http status code.