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

Description

Updates room membership details, such as the member role, for a room in an Amazon Chime Enterprise account. The member role designates whether the member is a chat room administrator or a general chat room member. The member role can be updated only for user IDs.

Synopsis

Creating a Request

data UpdateRoomMembership Source #

See: newUpdateRoomMembership smart constructor.

Constructors

UpdateRoomMembership' 

Fields

Instances

Instances details
Eq UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Read UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Show UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Generic UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Associated Types

type Rep UpdateRoomMembership :: Type -> Type #

NFData UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Methods

rnf :: UpdateRoomMembership -> () #

Hashable UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

ToJSON UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

AWSRequest UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Associated Types

type AWSResponse UpdateRoomMembership #

ToHeaders UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

ToPath UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

ToQuery UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

type Rep UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

type Rep UpdateRoomMembership = D1 ('MetaData "UpdateRoomMembership" "Amazonka.Chime.UpdateRoomMembership" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UpdateRoomMembership'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoomMembershipRole)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "roomId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

newUpdateRoomMembership Source #

Create a value of UpdateRoomMembership 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:role':UpdateRoomMembership', updateRoomMembership_role - The role of the member.

$sel:accountId:UpdateRoomMembership', updateRoomMembership_accountId - The Amazon Chime account ID.

$sel:roomId:UpdateRoomMembership', updateRoomMembership_roomId - The room ID.

$sel:memberId:UpdateRoomMembership', updateRoomMembership_memberId - The member ID.

Request Lenses

Destructuring the Response

data UpdateRoomMembershipResponse Source #

See: newUpdateRoomMembershipResponse smart constructor.

Constructors

UpdateRoomMembershipResponse' 

Fields

Instances

Instances details
Eq UpdateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Show UpdateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Generic UpdateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

Associated Types

type Rep UpdateRoomMembershipResponse :: Type -> Type #

NFData UpdateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

type Rep UpdateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateRoomMembership

type Rep UpdateRoomMembershipResponse = D1 ('MetaData "UpdateRoomMembershipResponse" "Amazonka.Chime.UpdateRoomMembership" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UpdateRoomMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roomMembership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoomMembership)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateRoomMembershipResponse Source #

Create a value of UpdateRoomMembershipResponse 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:roomMembership:UpdateRoomMembershipResponse', updateRoomMembershipResponse_roomMembership - The room membership details.

$sel:httpStatus:UpdateRoomMembershipResponse', updateRoomMembershipResponse_httpStatus - The response's http status code.

Response Lenses