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 |
Lists the Slack channel configurations for an Amazon Web Services account.
Synopsis
- data ListSlackChannelConfigurations = ListSlackChannelConfigurations' {}
- newListSlackChannelConfigurations :: ListSlackChannelConfigurations
- listSlackChannelConfigurations_nextToken :: Lens' ListSlackChannelConfigurations (Maybe Text)
- data ListSlackChannelConfigurationsResponse = ListSlackChannelConfigurationsResponse' {}
- newListSlackChannelConfigurationsResponse :: Int -> ListSlackChannelConfigurationsResponse
- listSlackChannelConfigurationsResponse_nextToken :: Lens' ListSlackChannelConfigurationsResponse (Maybe Text)
- listSlackChannelConfigurationsResponse_httpStatus :: Lens' ListSlackChannelConfigurationsResponse Int
- listSlackChannelConfigurationsResponse_slackChannelConfigurations :: Lens' ListSlackChannelConfigurationsResponse [SlackChannelConfiguration]
Creating a Request
data ListSlackChannelConfigurations Source #
See: newListSlackChannelConfigurations
smart constructor.
ListSlackChannelConfigurations' | |
|
Instances
newListSlackChannelConfigurations :: ListSlackChannelConfigurations Source #
Create a value of ListSlackChannelConfigurations
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:
ListSlackChannelConfigurations
, listSlackChannelConfigurations_nextToken
- If the results of a search are large, the API only returns a portion of
the results and includes a nextToken
pagination token in the response.
To retrieve the next batch of results, reissue the search request and
include the returned token. When the API returns the last set of
results, the response doesn't include a pagination token value.
Request Lenses
listSlackChannelConfigurations_nextToken :: Lens' ListSlackChannelConfigurations (Maybe Text) Source #
If the results of a search are large, the API only returns a portion of
the results and includes a nextToken
pagination token in the response.
To retrieve the next batch of results, reissue the search request and
include the returned token. When the API returns the last set of
results, the response doesn't include a pagination token value.
Destructuring the Response
data ListSlackChannelConfigurationsResponse Source #
See: newListSlackChannelConfigurationsResponse
smart constructor.
ListSlackChannelConfigurationsResponse' | |
|
Instances
newListSlackChannelConfigurationsResponse Source #
Create a value of ListSlackChannelConfigurationsResponse
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:
ListSlackChannelConfigurations
, listSlackChannelConfigurationsResponse_nextToken
- The point where pagination should resume when the response returns only
partial results.
$sel:httpStatus:ListSlackChannelConfigurationsResponse'
, listSlackChannelConfigurationsResponse_httpStatus
- The response's http status code.
$sel:slackChannelConfigurations:ListSlackChannelConfigurationsResponse'
, listSlackChannelConfigurationsResponse_slackChannelConfigurations
- The configurations for a Slack channel.
Response Lenses
listSlackChannelConfigurationsResponse_nextToken :: Lens' ListSlackChannelConfigurationsResponse (Maybe Text) Source #
The point where pagination should resume when the response returns only partial results.
listSlackChannelConfigurationsResponse_httpStatus :: Lens' ListSlackChannelConfigurationsResponse Int Source #
The response's http status code.
listSlackChannelConfigurationsResponse_slackChannelConfigurations :: Lens' ListSlackChannelConfigurationsResponse [SlackChannelConfiguration] Source #
The configurations for a Slack channel.