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 |
Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.
Synopsis
- data ListChannelFlows = ListChannelFlows' {
- nextToken :: Maybe (Sensitive Text)
- maxResults :: Maybe Natural
- appInstanceArn :: Text
- newListChannelFlows :: Text -> ListChannelFlows
- listChannelFlows_nextToken :: Lens' ListChannelFlows (Maybe Text)
- listChannelFlows_maxResults :: Lens' ListChannelFlows (Maybe Natural)
- listChannelFlows_appInstanceArn :: Lens' ListChannelFlows Text
- data ListChannelFlowsResponse = ListChannelFlowsResponse' {
- channelFlows :: Maybe [ChannelFlowSummary]
- nextToken :: Maybe (Sensitive Text)
- httpStatus :: Int
- newListChannelFlowsResponse :: Int -> ListChannelFlowsResponse
- listChannelFlowsResponse_channelFlows :: Lens' ListChannelFlowsResponse (Maybe [ChannelFlowSummary])
- listChannelFlowsResponse_nextToken :: Lens' ListChannelFlowsResponse (Maybe Text)
- listChannelFlowsResponse_httpStatus :: Lens' ListChannelFlowsResponse Int
Creating a Request
data ListChannelFlows Source #
See: newListChannelFlows
smart constructor.
ListChannelFlows' | |
|
Instances
Create a value of ListChannelFlows
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:ListChannelFlows'
, listChannelFlows_nextToken
- The token passed by previous API calls until all requested channel flows
are returned.
$sel:maxResults:ListChannelFlows'
, listChannelFlows_maxResults
- The maximum number of channel flows that you want to return.
$sel:appInstanceArn:ListChannelFlows'
, listChannelFlows_appInstanceArn
- The ARN of the app instance.
Request Lenses
listChannelFlows_nextToken :: Lens' ListChannelFlows (Maybe Text) Source #
The token passed by previous API calls until all requested channel flows are returned.
listChannelFlows_maxResults :: Lens' ListChannelFlows (Maybe Natural) Source #
The maximum number of channel flows that you want to return.
listChannelFlows_appInstanceArn :: Lens' ListChannelFlows Text Source #
The ARN of the app instance.
Destructuring the Response
data ListChannelFlowsResponse Source #
See: newListChannelFlowsResponse
smart constructor.
ListChannelFlowsResponse' | |
|
Instances
newListChannelFlowsResponse Source #
Create a value of ListChannelFlowsResponse
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:channelFlows:ListChannelFlowsResponse'
, listChannelFlowsResponse_channelFlows
- The information about each channel flow.
$sel:nextToken:ListChannelFlows'
, listChannelFlowsResponse_nextToken
- The token passed by previous API calls until all requested channels are
returned.
$sel:httpStatus:ListChannelFlowsResponse'
, listChannelFlowsResponse_httpStatus
- The response's http status code.
Response Lenses
listChannelFlowsResponse_channelFlows :: Lens' ListChannelFlowsResponse (Maybe [ChannelFlowSummary]) Source #
The information about each channel flow.
listChannelFlowsResponse_nextToken :: Lens' ListChannelFlowsResponse (Maybe Text) Source #
The token passed by previous API calls until all requested channels are returned.
listChannelFlowsResponse_httpStatus :: Lens' ListChannelFlowsResponse Int Source #
The response's http status code.