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

Description

Removes a member from a channel.

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

See: newDeleteChannelMembership smart constructor.

Constructors

DeleteChannelMembership' 

Fields

  • channelArn :: Text

    The ARN of the channel from which you want to remove the user.

  • memberArn :: Text

    The ARN of the member that you're removing from the channel.

  • chimeBearer :: Text

    The AppInstanceUserArn of the user that makes the API call.

Instances

Instances details
Eq DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Read DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Show DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Generic DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Associated Types

type Rep DeleteChannelMembership :: Type -> Type #

NFData DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Methods

rnf :: DeleteChannelMembership -> () #

Hashable DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

AWSRequest DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

ToHeaders DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

ToPath DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

ToQuery DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

type Rep DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

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

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

newDeleteChannelMembership Source #

Create a value of DeleteChannelMembership 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:DeleteChannelMembership', deleteChannelMembership_channelArn - The ARN of the channel from which you want to remove the user.

$sel:memberArn:DeleteChannelMembership', deleteChannelMembership_memberArn - The ARN of the member that you're removing from the channel.

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

Request Lenses

deleteChannelMembership_channelArn :: Lens' DeleteChannelMembership Text Source #

The ARN of the channel from which you want to remove the user.

deleteChannelMembership_memberArn :: Lens' DeleteChannelMembership Text Source #

The ARN of the member that you're removing from the channel.

deleteChannelMembership_chimeBearer :: Lens' DeleteChannelMembership Text Source #

The AppInstanceUserArn of the user that makes the API call.

Destructuring the Response

data DeleteChannelMembershipResponse Source #

See: newDeleteChannelMembershipResponse smart constructor.

Instances

Instances details
Eq DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Read DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Show DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Generic DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

Associated Types

type Rep DeleteChannelMembershipResponse :: Type -> Type #

NFData DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

type Rep DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.DeleteChannelMembership

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

newDeleteChannelMembershipResponse :: DeleteChannelMembershipResponse Source #

Create a value of DeleteChannelMembershipResponse with all optional fields omitted.

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