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 |
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 -> DescribeChannelMembershipForAppInstanceUser
- describeChannelMembershipForAppInstanceUser_chimeBearer :: Lens' DescribeChannelMembershipForAppInstanceUser (Maybe Text)
- describeChannelMembershipForAppInstanceUser_channelArn :: Lens' DescribeChannelMembershipForAppInstanceUser Text
- describeChannelMembershipForAppInstanceUser_appInstanceUserArn :: 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:chimeBearer:DescribeChannelMembershipForAppInstanceUser'
, describeChannelMembershipForAppInstanceUser_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
DescribeChannelMembershipForAppInstanceUser
, describeChannelMembershipForAppInstanceUser_channelArn
- The ARN of the channel to which the user belongs.
DescribeChannelMembershipForAppInstanceUser
, describeChannelMembershipForAppInstanceUser_appInstanceUserArn
- The ARN of the user in a channel.
Request Lenses
describeChannelMembershipForAppInstanceUser_chimeBearer :: Lens' DescribeChannelMembershipForAppInstanceUser (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
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.
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.