| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ChimeSDKMessaging.ListChannelsAssociatedWithChannelFlow
Description
Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.
Synopsis
- data ListChannelsAssociatedWithChannelFlow = ListChannelsAssociatedWithChannelFlow' {
- maxResults :: Maybe Natural
- nextToken :: Maybe (Sensitive Text)
- channelFlowArn :: Text
- newListChannelsAssociatedWithChannelFlow :: Text -> ListChannelsAssociatedWithChannelFlow
- listChannelsAssociatedWithChannelFlow_maxResults :: Lens' ListChannelsAssociatedWithChannelFlow (Maybe Natural)
- listChannelsAssociatedWithChannelFlow_nextToken :: Lens' ListChannelsAssociatedWithChannelFlow (Maybe Text)
- listChannelsAssociatedWithChannelFlow_channelFlowArn :: Lens' ListChannelsAssociatedWithChannelFlow Text
- data ListChannelsAssociatedWithChannelFlowResponse = ListChannelsAssociatedWithChannelFlowResponse' {}
- newListChannelsAssociatedWithChannelFlowResponse :: Int -> ListChannelsAssociatedWithChannelFlowResponse
- listChannelsAssociatedWithChannelFlowResponse_channels :: Lens' ListChannelsAssociatedWithChannelFlowResponse (Maybe [ChannelAssociatedWithFlowSummary])
- listChannelsAssociatedWithChannelFlowResponse_nextToken :: Lens' ListChannelsAssociatedWithChannelFlowResponse (Maybe Text)
- listChannelsAssociatedWithChannelFlowResponse_httpStatus :: Lens' ListChannelsAssociatedWithChannelFlowResponse Int
Creating a Request
data ListChannelsAssociatedWithChannelFlow Source #
See: newListChannelsAssociatedWithChannelFlow smart constructor.
Constructors
| ListChannelsAssociatedWithChannelFlow' | |
Fields
| |
Instances
newListChannelsAssociatedWithChannelFlow Source #
Create a value of ListChannelsAssociatedWithChannelFlow 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:maxResults:ListChannelsAssociatedWithChannelFlow', listChannelsAssociatedWithChannelFlow_maxResults - The maximum number of channels that you want to return.
ListChannelsAssociatedWithChannelFlow, listChannelsAssociatedWithChannelFlow_nextToken - The token passed by previous API calls until all requested channels are
returned.
ListChannelsAssociatedWithChannelFlow, listChannelsAssociatedWithChannelFlow_channelFlowArn - The ARN of the channel flow.
Request Lenses
listChannelsAssociatedWithChannelFlow_maxResults :: Lens' ListChannelsAssociatedWithChannelFlow (Maybe Natural) Source #
The maximum number of channels that you want to return.
listChannelsAssociatedWithChannelFlow_nextToken :: Lens' ListChannelsAssociatedWithChannelFlow (Maybe Text) Source #
The token passed by previous API calls until all requested channels are returned.
listChannelsAssociatedWithChannelFlow_channelFlowArn :: Lens' ListChannelsAssociatedWithChannelFlow Text Source #
The ARN of the channel flow.
Destructuring the Response
data ListChannelsAssociatedWithChannelFlowResponse Source #
See: newListChannelsAssociatedWithChannelFlowResponse smart constructor.
Constructors
| ListChannelsAssociatedWithChannelFlowResponse' | |
Fields
| |
Instances
newListChannelsAssociatedWithChannelFlowResponse Source #
Arguments
| :: Int |
|
| -> ListChannelsAssociatedWithChannelFlowResponse |
Create a value of ListChannelsAssociatedWithChannelFlowResponse 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:ListChannelsAssociatedWithChannelFlowResponse', listChannelsAssociatedWithChannelFlowResponse_channels - The information about each channel.
ListChannelsAssociatedWithChannelFlow, listChannelsAssociatedWithChannelFlowResponse_nextToken - The token passed by previous API calls until all requested channels are
returned.
$sel:httpStatus:ListChannelsAssociatedWithChannelFlowResponse', listChannelsAssociatedWithChannelFlowResponse_httpStatus - The response's http status code.
Response Lenses
listChannelsAssociatedWithChannelFlowResponse_channels :: Lens' ListChannelsAssociatedWithChannelFlowResponse (Maybe [ChannelAssociatedWithFlowSummary]) Source #
The information about each channel.
listChannelsAssociatedWithChannelFlowResponse_nextToken :: Lens' ListChannelsAssociatedWithChannelFlowResponse (Maybe Text) Source #
The token passed by previous API calls until all requested channels are returned.
listChannelsAssociatedWithChannelFlowResponse_httpStatus :: Lens' ListChannelsAssociatedWithChannelFlowResponse Int Source #
The response's http status code.