libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.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

  • chimeBearer :: Maybe Text

    The AppInstanceUserArn of the user that makes the API call.

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

Instances

Instances details
Eq DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Read DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Show DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Generic DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Associated Types

type Rep DeleteChannelMembership :: Type -> Type #

NFData DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Methods

rnf :: DeleteChannelMembership -> () #

Hashable DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

AWSRequest DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

ToHeaders DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

ToPath DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

ToQuery DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

type Rep DeleteChannelMembership Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

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

Defined in Amazonka.Chime.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:chimeBearer:DeleteChannelMembership', deleteChannelMembership_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

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

Request Lenses

deleteChannelMembership_chimeBearer :: Lens' DeleteChannelMembership (Maybe Text) Source #

The AppInstanceUserArn of the user that makes the API call.

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.

Destructuring the Response

data DeleteChannelMembershipResponse Source #

See: newDeleteChannelMembershipResponse smart constructor.

Instances

Instances details
Eq DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Read DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Show DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Generic DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

Associated Types

type Rep DeleteChannelMembershipResponse :: Type -> Type #

NFData DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

type Rep DeleteChannelMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMembership

type Rep DeleteChannelMembershipResponse = D1 ('MetaData "DeleteChannelMembershipResponse" "Amazonka.Chime.DeleteChannelMembership" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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.