libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.CreateRoom

Description

Creates a room with the specified details.

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

Read CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Show CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Generic CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Associated Types

type Rep CreateRoom :: Type -> Type #

NFData CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Methods

rnf :: CreateRoom -> () #

Hashable CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

ToJSON CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

AWSRequest CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Associated Types

type AWSResponse CreateRoom #

ToHeaders CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Methods

toHeaders :: CreateRoom -> [Header] #

ToPath CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

ToQuery CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

type Rep CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

type Rep CreateRoom = D1 ('MetaData "CreateRoom" "Amazonka.AlexaBusiness.CreateRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateRoom'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "providerCalendarId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "roomName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.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:profileArn:CreateRoom', createRoom_profileArn - The profile ARN for the room. This is required.

$sel:providerCalendarId:CreateRoom', createRoom_providerCalendarId - The calendar ARN for the room.

$sel:clientRequestToken:CreateRoom', createRoom_clientRequestToken - A unique, user-specified identifier for this request that ensures idempotency.

$sel:description:CreateRoom', createRoom_description - The description for the room.

$sel:tags:CreateRoom', createRoom_tags - The tags for the room.

$sel:roomName:CreateRoom', createRoom_roomName - The name for the room.

Request Lenses

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

The profile ARN for the room. This is required.

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

The calendar ARN for the room.

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

A unique, user-specified identifier for this request that ensures idempotency.

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

The description for the room.

createRoom_tags :: Lens' CreateRoom (Maybe [Tag]) Source #

The tags for the room.

createRoom_roomName :: Lens' CreateRoom Text Source #

The name for the room.

Destructuring the Response

data CreateRoomResponse Source #

See: newCreateRoomResponse smart constructor.

Constructors

CreateRoomResponse' 

Fields

Instances

Instances details
Eq CreateRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Read CreateRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Show CreateRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Generic CreateRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Associated Types

type Rep CreateRoomResponse :: Type -> Type #

NFData CreateRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

Methods

rnf :: CreateRoomResponse -> () #

type Rep CreateRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateRoom

type Rep CreateRoomResponse = D1 ('MetaData "CreateRoomResponse" "Amazonka.AlexaBusiness.CreateRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateRoomResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roomArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:roomArn:CreateRoomResponse', createRoomResponse_roomArn - The ARN of the newly created room in the response.

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

Response Lenses

createRoomResponse_roomArn :: Lens' CreateRoomResponse (Maybe Text) Source #

The ARN of the newly created room in the response.