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

Description

Creates a chat room for the specified Amazon Chime Enterprise account.

Synopsis

Creating a Request

data CreateRoom Source #

See: newCreateRoom smart constructor.

Constructors

CreateRoom' 

Fields

Instances

Instances details
Eq CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Show CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Generic CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Associated Types

type Rep CreateRoom :: Type -> Type #

NFData CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Methods

rnf :: CreateRoom -> () #

Hashable CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

ToJSON CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

AWSRequest CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Associated Types

type AWSResponse CreateRoom #

ToHeaders CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Methods

toHeaders :: CreateRoom -> [Header] #

ToPath CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

ToQuery CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

type Rep CreateRoom Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

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

Defined in Amazonka.Chime.CreateRoom

newCreateRoom Source #

Create a value of CreateRoom 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:clientRequestToken:CreateRoom', createRoom_clientRequestToken - The idempotency token for the request.

$sel:accountId:CreateRoom', createRoom_accountId - The Amazon Chime account ID.

$sel:name:CreateRoom', createRoom_name - The room name.

Request Lenses

createRoom_clientRequestToken :: Lens' CreateRoom (Maybe Text) Source #

The idempotency token for the request.

createRoom_accountId :: Lens' CreateRoom Text Source #

The Amazon Chime account ID.

Destructuring the Response

data CreateRoomResponse Source #

See: newCreateRoomResponse smart constructor.

Constructors

CreateRoomResponse' 

Fields

Instances

Instances details
Eq CreateRoomResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Show CreateRoomResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Generic CreateRoomResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Associated Types

type Rep CreateRoomResponse :: Type -> Type #

NFData CreateRoomResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

Methods

rnf :: CreateRoomResponse -> () #

type Rep CreateRoomResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateRoom

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

newCreateRoomResponse Source #

Create a value of CreateRoomResponse 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:room:CreateRoomResponse', createRoomResponse_room - The room details.

$sel:httpStatus:CreateRoomResponse', createRoomResponse_httpStatus - The response's http status code.

Response Lenses