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 full details of a user's channel membership.
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 DescribeChannelMembership = DescribeChannelMembership' {
- channelArn :: Text
- memberArn :: Text
- chimeBearer :: Text
- newDescribeChannelMembership :: Text -> Text -> Text -> DescribeChannelMembership
- describeChannelMembership_channelArn :: Lens' DescribeChannelMembership Text
- describeChannelMembership_memberArn :: Lens' DescribeChannelMembership Text
- describeChannelMembership_chimeBearer :: Lens' DescribeChannelMembership Text
- data DescribeChannelMembershipResponse = DescribeChannelMembershipResponse' {}
- newDescribeChannelMembershipResponse :: Int -> DescribeChannelMembershipResponse
- describeChannelMembershipResponse_channelMembership :: Lens' DescribeChannelMembershipResponse (Maybe ChannelMembership)
- describeChannelMembershipResponse_httpStatus :: Lens' DescribeChannelMembershipResponse Int
Creating a Request
data DescribeChannelMembership Source #
See: newDescribeChannelMembership
smart constructor.
DescribeChannelMembership' | |
|
Instances
newDescribeChannelMembership Source #
:: Text | |
-> Text | |
-> Text | |
-> DescribeChannelMembership |
Create a value of DescribeChannelMembership
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:DescribeChannelMembership'
, describeChannelMembership_channelArn
- The ARN of the channel.
$sel:memberArn:DescribeChannelMembership'
, describeChannelMembership_memberArn
- The ARN of the member.
$sel:chimeBearer:DescribeChannelMembership'
, describeChannelMembership_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
Request Lenses
describeChannelMembership_channelArn :: Lens' DescribeChannelMembership Text Source #
The ARN of the channel.
describeChannelMembership_memberArn :: Lens' DescribeChannelMembership Text Source #
The ARN of the member.
describeChannelMembership_chimeBearer :: Lens' DescribeChannelMembership Text Source #
The AppInstanceUserArn
of the user that makes the API call.
Destructuring the Response
data DescribeChannelMembershipResponse Source #
See: newDescribeChannelMembershipResponse
smart constructor.
DescribeChannelMembershipResponse' | |
|
Instances
Eq DescribeChannelMembershipResponse Source # | |
Show DescribeChannelMembershipResponse Source # | |
Generic DescribeChannelMembershipResponse Source # | |
NFData DescribeChannelMembershipResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DescribeChannelMembership rnf :: DescribeChannelMembershipResponse -> () # | |
type Rep DescribeChannelMembershipResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DescribeChannelMembership type Rep DescribeChannelMembershipResponse = D1 ('MetaData "DescribeChannelMembershipResponse" "Amazonka.ChimeSDKMessaging.DescribeChannelMembership" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DescribeChannelMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelMembership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMembership)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeChannelMembershipResponse Source #
Create a value of DescribeChannelMembershipResponse
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:DescribeChannelMembershipResponse'
, describeChannelMembershipResponse_channelMembership
- The details of the membership.
$sel:httpStatus:DescribeChannelMembershipResponse'
, describeChannelMembershipResponse_httpStatus
- The response's http status code.
Response Lenses
describeChannelMembershipResponse_channelMembership :: Lens' DescribeChannelMembershipResponse (Maybe ChannelMembership) Source #
The details of the membership.
describeChannelMembershipResponse_httpStatus :: Lens' DescribeChannelMembershipResponse Int Source #
The response's http status code.