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 the details of a channel based on the membership of the
specified 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 DescribeChannelMembershipForAppInstanceUser = DescribeChannelMembershipForAppInstanceUser' {}
- newDescribeChannelMembershipForAppInstanceUser :: Text -> Text -> Text -> DescribeChannelMembershipForAppInstanceUser
- describeChannelMembershipForAppInstanceUser_channelArn :: Lens' DescribeChannelMembershipForAppInstanceUser Text
- describeChannelMembershipForAppInstanceUser_appInstanceUserArn :: Lens' DescribeChannelMembershipForAppInstanceUser Text
- describeChannelMembershipForAppInstanceUser_chimeBearer :: Lens' DescribeChannelMembershipForAppInstanceUser Text
- data DescribeChannelMembershipForAppInstanceUserResponse = DescribeChannelMembershipForAppInstanceUserResponse' {}
- newDescribeChannelMembershipForAppInstanceUserResponse :: Int -> DescribeChannelMembershipForAppInstanceUserResponse
- describeChannelMembershipForAppInstanceUserResponse_channelMembership :: Lens' DescribeChannelMembershipForAppInstanceUserResponse (Maybe ChannelMembershipForAppInstanceUserSummary)
- describeChannelMembershipForAppInstanceUserResponse_httpStatus :: Lens' DescribeChannelMembershipForAppInstanceUserResponse Int
Creating a Request
data DescribeChannelMembershipForAppInstanceUser Source #
See: newDescribeChannelMembershipForAppInstanceUser
smart constructor.
DescribeChannelMembershipForAppInstanceUser' | |
|
Instances
newDescribeChannelMembershipForAppInstanceUser Source #
Create a value of DescribeChannelMembershipForAppInstanceUser
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:channelArn:DescribeChannelMembershipForAppInstanceUser'
, describeChannelMembershipForAppInstanceUser_channelArn
- The ARN of the channel to which the user belongs.
$sel:appInstanceUserArn:DescribeChannelMembershipForAppInstanceUser'
, describeChannelMembershipForAppInstanceUser_appInstanceUserArn
- The ARN of the user in a channel.
$sel:chimeBearer:DescribeChannelMembershipForAppInstanceUser'
, describeChannelMembershipForAppInstanceUser_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
Request Lenses
describeChannelMembershipForAppInstanceUser_channelArn :: Lens' DescribeChannelMembershipForAppInstanceUser Text Source #
The ARN of the channel to which the user belongs.
describeChannelMembershipForAppInstanceUser_appInstanceUserArn :: Lens' DescribeChannelMembershipForAppInstanceUser Text Source #
The ARN of the user in a channel.
describeChannelMembershipForAppInstanceUser_chimeBearer :: Lens' DescribeChannelMembershipForAppInstanceUser Text Source #
The AppInstanceUserArn
of the user that makes the API call.
Destructuring the Response
data DescribeChannelMembershipForAppInstanceUserResponse Source #
See: newDescribeChannelMembershipForAppInstanceUserResponse
smart constructor.
DescribeChannelMembershipForAppInstanceUserResponse' | |
|
Instances
newDescribeChannelMembershipForAppInstanceUserResponse Source #
:: Int |
|
-> DescribeChannelMembershipForAppInstanceUserResponse |
Create a value of DescribeChannelMembershipForAppInstanceUserResponse
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:channelMembership:DescribeChannelMembershipForAppInstanceUserResponse'
, describeChannelMembershipForAppInstanceUserResponse_channelMembership
- The channel to which a user belongs.
$sel:httpStatus:DescribeChannelMembershipForAppInstanceUserResponse'
, describeChannelMembershipForAppInstanceUserResponse_httpStatus
- The response's http status code.
Response Lenses
describeChannelMembershipForAppInstanceUserResponse_channelMembership :: Lens' DescribeChannelMembershipForAppInstanceUserResponse (Maybe ChannelMembershipForAppInstanceUserSummary) Source #
The channel to which a user belongs.
describeChannelMembershipForAppInstanceUserResponse_httpStatus :: Lens' DescribeChannelMembershipForAppInstanceUserResponse Int Source #
The response's http status code.