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

Description

Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members can be users or bots. The member role designates whether the member is a chat room administrator or a general chat room member.

Synopsis

Creating a Request

data BatchCreateRoomMembership Source #

See: newBatchCreateRoomMembership smart constructor.

Constructors

BatchCreateRoomMembership' 

Fields

Instances

Instances details
Eq BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Read BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Show BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Generic BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Associated Types

type Rep BatchCreateRoomMembership :: Type -> Type #

NFData BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Hashable BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

ToJSON BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

AWSRequest BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

ToHeaders BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

ToPath BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

ToQuery BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

type Rep BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

type Rep BatchCreateRoomMembership = D1 ('MetaData "BatchCreateRoomMembership" "Amazonka.Chime.BatchCreateRoomMembership" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "BatchCreateRoomMembership'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "roomId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "membershipItemList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MembershipItem]))))
type AWSResponse BatchCreateRoomMembership Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

newBatchCreateRoomMembership Source #

Create a value of BatchCreateRoomMembership 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:accountId:BatchCreateRoomMembership', batchCreateRoomMembership_accountId - The Amazon Chime account ID.

$sel:roomId:BatchCreateRoomMembership', batchCreateRoomMembership_roomId - The room ID.

$sel:membershipItemList:BatchCreateRoomMembership', batchCreateRoomMembership_membershipItemList - The list of membership items.

Request Lenses

Destructuring the Response

data BatchCreateRoomMembershipResponse Source #

See: newBatchCreateRoomMembershipResponse smart constructor.

Constructors

BatchCreateRoomMembershipResponse' 

Fields

  • errors :: Maybe [MemberError]

    If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq BatchCreateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Read BatchCreateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Show BatchCreateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Generic BatchCreateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

Associated Types

type Rep BatchCreateRoomMembershipResponse :: Type -> Type #

NFData BatchCreateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

type Rep BatchCreateRoomMembershipResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchCreateRoomMembership

type Rep BatchCreateRoomMembershipResponse = D1 ('MetaData "BatchCreateRoomMembershipResponse" "Amazonka.Chime.BatchCreateRoomMembership" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "BatchCreateRoomMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MemberError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchCreateRoomMembershipResponse Source #

Create a value of BatchCreateRoomMembershipResponse 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:errors:BatchCreateRoomMembershipResponse', batchCreateRoomMembershipResponse_errors - If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

$sel:httpStatus:BatchCreateRoomMembershipResponse', batchCreateRoomMembershipResponse_httpStatus - The response's http status code.

Response Lenses

batchCreateRoomMembershipResponse_errors :: Lens' BatchCreateRoomMembershipResponse (Maybe [MemberError]) Source #

If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.