| 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 |
Amazonka.ChimeSDKMessaging.DescribeChannelMembershipForAppInstanceUser
Description
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.
Constructors
| DescribeChannelMembershipForAppInstanceUser' | |
Fields
| |
Instances
newDescribeChannelMembershipForAppInstanceUser Source #
Arguments
| :: Text | |
| -> Text |
|
| -> Text |
|
| -> DescribeChannelMembershipForAppInstanceUser |
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:
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.
Constructors
| DescribeChannelMembershipForAppInstanceUserResponse' | |
Fields
| |
Instances
newDescribeChannelMembershipForAppInstanceUserResponse Source #
Arguments
| :: 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.