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 |
A list of the channels moderated by an AppInstanceUser
.
The x-amz-chime-bearer
request header is mandatory. Use the
AppInstanceUserArn
of the user that makes the API call as the value in
the header.
Synopsis
- data ListChannelsModeratedByAppInstanceUser = ListChannelsModeratedByAppInstanceUser' {}
- newListChannelsModeratedByAppInstanceUser :: ListChannelsModeratedByAppInstanceUser
- listChannelsModeratedByAppInstanceUser_appInstanceUserArn :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text)
- listChannelsModeratedByAppInstanceUser_chimeBearer :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text)
- listChannelsModeratedByAppInstanceUser_nextToken :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text)
- listChannelsModeratedByAppInstanceUser_maxResults :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Natural)
- data ListChannelsModeratedByAppInstanceUserResponse = ListChannelsModeratedByAppInstanceUserResponse' {}
- newListChannelsModeratedByAppInstanceUserResponse :: Int -> ListChannelsModeratedByAppInstanceUserResponse
- listChannelsModeratedByAppInstanceUserResponse_channels :: Lens' ListChannelsModeratedByAppInstanceUserResponse (Maybe [ChannelModeratedByAppInstanceUserSummary])
- listChannelsModeratedByAppInstanceUserResponse_nextToken :: Lens' ListChannelsModeratedByAppInstanceUserResponse (Maybe Text)
- listChannelsModeratedByAppInstanceUserResponse_httpStatus :: Lens' ListChannelsModeratedByAppInstanceUserResponse Int
Creating a Request
data ListChannelsModeratedByAppInstanceUser Source #
See: newListChannelsModeratedByAppInstanceUser
smart constructor.
ListChannelsModeratedByAppInstanceUser' | |
|
Instances
newListChannelsModeratedByAppInstanceUser :: ListChannelsModeratedByAppInstanceUser Source #
Create a value of ListChannelsModeratedByAppInstanceUser
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:appInstanceUserArn:ListChannelsModeratedByAppInstanceUser'
, listChannelsModeratedByAppInstanceUser_appInstanceUserArn
- The ARN of the user in the moderated channel.
$sel:chimeBearer:ListChannelsModeratedByAppInstanceUser'
, listChannelsModeratedByAppInstanceUser_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
$sel:nextToken:ListChannelsModeratedByAppInstanceUser'
, listChannelsModeratedByAppInstanceUser_nextToken
- The token returned from previous API requests until the number of
channels moderated by the user is reached.
$sel:maxResults:ListChannelsModeratedByAppInstanceUser'
, listChannelsModeratedByAppInstanceUser_maxResults
- The maximum number of channels in the request.
Request Lenses
listChannelsModeratedByAppInstanceUser_appInstanceUserArn :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text) Source #
The ARN of the user in the moderated channel.
listChannelsModeratedByAppInstanceUser_chimeBearer :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
listChannelsModeratedByAppInstanceUser_nextToken :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text) Source #
The token returned from previous API requests until the number of channels moderated by the user is reached.
listChannelsModeratedByAppInstanceUser_maxResults :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Natural) Source #
The maximum number of channels in the request.
Destructuring the Response
data ListChannelsModeratedByAppInstanceUserResponse Source #
See: newListChannelsModeratedByAppInstanceUserResponse
smart constructor.
ListChannelsModeratedByAppInstanceUserResponse' | |
|
Instances
newListChannelsModeratedByAppInstanceUserResponse Source #
:: Int |
|
-> ListChannelsModeratedByAppInstanceUserResponse |
Create a value of ListChannelsModeratedByAppInstanceUserResponse
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:ListChannelsModeratedByAppInstanceUserResponse'
, listChannelsModeratedByAppInstanceUserResponse_channels
- The moderated channels in the request.
$sel:nextToken:ListChannelsModeratedByAppInstanceUser'
, listChannelsModeratedByAppInstanceUserResponse_nextToken
- The token returned from previous API requests until the number of
channels moderated by the user is reached.
$sel:httpStatus:ListChannelsModeratedByAppInstanceUserResponse'
, listChannelsModeratedByAppInstanceUserResponse_httpStatus
- The response's http status code.
Response Lenses
listChannelsModeratedByAppInstanceUserResponse_channels :: Lens' ListChannelsModeratedByAppInstanceUserResponse (Maybe [ChannelModeratedByAppInstanceUserSummary]) Source #
The moderated channels in the request.
listChannelsModeratedByAppInstanceUserResponse_nextToken :: Lens' ListChannelsModeratedByAppInstanceUserResponse (Maybe Text) Source #
The token returned from previous API requests until the number of channels moderated by the user is reached.
listChannelsModeratedByAppInstanceUserResponse_httpStatus :: Lens' ListChannelsModeratedByAppInstanceUserResponse Int Source #
The response's http status code.