libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ChimeSDKMessaging.DescribeChannelBan

Description

Returns the full details of a channel ban.

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

Creating a Request

data DescribeChannelBan Source #

See: newDescribeChannelBan smart constructor.

Constructors

DescribeChannelBan' 

Fields

Instances

Instances details
Eq DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Read DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Show DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Generic DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Associated Types

type Rep DescribeChannelBan :: Type -> Type #

NFData DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Methods

rnf :: DescribeChannelBan -> () #

Hashable DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

AWSRequest DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Associated Types

type AWSResponse DescribeChannelBan #

ToHeaders DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

ToPath DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

ToQuery DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

type Rep DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

type Rep DescribeChannelBan = D1 ('MetaData "DescribeChannelBan" "Amazonka.ChimeSDKMessaging.DescribeChannelBan" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DescribeChannelBan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "memberArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

newDescribeChannelBan Source #

Create a value of DescribeChannelBan 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:DescribeChannelBan', describeChannelBan_channelArn - The ARN of the channel from which the user is banned.

$sel:memberArn:DescribeChannelBan', describeChannelBan_memberArn - The ARN of the member being banned.

$sel:chimeBearer:DescribeChannelBan', describeChannelBan_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

Request Lenses

describeChannelBan_channelArn :: Lens' DescribeChannelBan Text Source #

The ARN of the channel from which the user is banned.

describeChannelBan_memberArn :: Lens' DescribeChannelBan Text Source #

The ARN of the member being banned.

describeChannelBan_chimeBearer :: Lens' DescribeChannelBan Text Source #

The AppInstanceUserArn of the user that makes the API call.

Destructuring the Response

data DescribeChannelBanResponse Source #

See: newDescribeChannelBanResponse smart constructor.

Constructors

DescribeChannelBanResponse' 

Fields

Instances

Instances details
Eq DescribeChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Show DescribeChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Generic DescribeChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

Associated Types

type Rep DescribeChannelBanResponse :: Type -> Type #

NFData DescribeChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

type Rep DescribeChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DescribeChannelBan

type Rep DescribeChannelBanResponse = D1 ('MetaData "DescribeChannelBanResponse" "Amazonka.ChimeSDKMessaging.DescribeChannelBan" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DescribeChannelBanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelBan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelBan)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeChannelBanResponse Source #

Create a value of DescribeChannelBanResponse 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:channelBan:DescribeChannelBanResponse', describeChannelBanResponse_channelBan - The details of the ban.

$sel:httpStatus:DescribeChannelBanResponse', describeChannelBanResponse_httpStatus - The response's http status code.

Response Lenses