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

Description

Gets room details by room ARN.

Synopsis

Creating a Request

data GetRoom Source #

See: newGetRoom smart constructor.

Constructors

GetRoom' 

Fields

  • roomArn :: Maybe Text

    The ARN of the room for which to request details. Required.

Instances

Instances details
Eq GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Methods

(==) :: GetRoom -> GetRoom -> Bool #

(/=) :: GetRoom -> GetRoom -> Bool #

Read GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Show GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Generic GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Associated Types

type Rep GetRoom :: Type -> Type #

Methods

from :: GetRoom -> Rep GetRoom x #

to :: Rep GetRoom x -> GetRoom #

NFData GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Methods

rnf :: GetRoom -> () #

Hashable GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Methods

hashWithSalt :: Int -> GetRoom -> Int #

hash :: GetRoom -> Int #

ToJSON GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

AWSRequest GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Associated Types

type AWSResponse GetRoom #

ToHeaders GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Methods

toHeaders :: GetRoom -> [Header] #

ToPath GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Methods

toPath :: GetRoom -> ByteString #

ToQuery GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

type Rep GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

type Rep GetRoom = D1 ('MetaData "GetRoom" "Amazonka.AlexaBusiness.GetRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "GetRoom'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roomArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetRoom Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

newGetRoom :: GetRoom Source #

Create a value of GetRoom 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:GetRoom', getRoom_roomArn - The ARN of the room for which to request details. Required.

Request Lenses

getRoom_roomArn :: Lens' GetRoom (Maybe Text) Source #

The ARN of the room for which to request details. Required.

Destructuring the Response

data GetRoomResponse Source #

See: newGetRoomResponse smart constructor.

Constructors

GetRoomResponse' 

Fields

Instances

Instances details
Eq GetRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Read GetRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Show GetRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Generic GetRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Associated Types

type Rep GetRoomResponse :: Type -> Type #

NFData GetRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

Methods

rnf :: GetRoomResponse -> () #

type Rep GetRoomResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetRoom

type Rep GetRoomResponse = D1 ('MetaData "GetRoomResponse" "Amazonka.AlexaBusiness.GetRoom" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "GetRoomResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "room") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Room)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRoomResponse Source #

Create a value of GetRoomResponse 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:GetRoomResponse', getRoomResponse_room - The details of the room requested.

$sel:httpStatus:GetRoomResponse', getRoomResponse_httpStatus - The response's http status code.

Response Lenses

getRoomResponse_room :: Lens' GetRoomResponse (Maybe Room) Source #

The details of the room requested.

getRoomResponse_httpStatus :: Lens' GetRoomResponse Int Source #

The response's http status code.