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.DeleteChannelBan

Description

Removes a user from a channel's ban list.

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 DeleteChannelBan Source #

See: newDeleteChannelBan smart constructor.

Constructors

DeleteChannelBan' 

Fields

  • channelArn :: Text

    The ARN of the channel from which the AppInstanceUser was banned.

  • memberArn :: Text

    The ARN of the AppInstanceUser that you want to reinstate.

  • chimeBearer :: Text

    The AppInstanceUserArn of the user that makes the API call.

Instances

Instances details
Eq DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Read DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Show DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Generic DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Associated Types

type Rep DeleteChannelBan :: Type -> Type #

NFData DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Methods

rnf :: DeleteChannelBan -> () #

Hashable DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

AWSRequest DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Associated Types

type AWSResponse DeleteChannelBan #

ToHeaders DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

ToPath DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

ToQuery DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

type Rep DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

type Rep DeleteChannelBan = D1 ('MetaData "DeleteChannelBan" "Amazonka.ChimeSDKMessaging.DeleteChannelBan" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DeleteChannelBan'" '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 DeleteChannelBan Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

newDeleteChannelBan Source #

Create a value of DeleteChannelBan 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:DeleteChannelBan', deleteChannelBan_channelArn - The ARN of the channel from which the AppInstanceUser was banned.

$sel:memberArn:DeleteChannelBan', deleteChannelBan_memberArn - The ARN of the AppInstanceUser that you want to reinstate.

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

Request Lenses

deleteChannelBan_channelArn :: Lens' DeleteChannelBan Text Source #

The ARN of the channel from which the AppInstanceUser was banned.

deleteChannelBan_memberArn :: Lens' DeleteChannelBan Text Source #

The ARN of the AppInstanceUser that you want to reinstate.

deleteChannelBan_chimeBearer :: Lens' DeleteChannelBan Text Source #

The AppInstanceUserArn of the user that makes the API call.

Destructuring the Response

data DeleteChannelBanResponse Source #

See: newDeleteChannelBanResponse smart constructor.

Instances

Instances details
Eq DeleteChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Read DeleteChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Show DeleteChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Generic DeleteChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

Associated Types

type Rep DeleteChannelBanResponse :: Type -> Type #

NFData DeleteChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

type Rep DeleteChannelBanResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelBan

type Rep DeleteChannelBanResponse = D1 ('MetaData "DeleteChannelBanResponse" "Amazonka.ChimeSDKMessaging.DeleteChannelBan" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DeleteChannelBanResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteChannelBanResponse :: DeleteChannelBanResponse Source #

Create a value of DeleteChannelBanResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.