amazonka-chime-2.0: Amazon Chime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Chime.ListRooms

Description

Lists the room details for the specified Amazon Chime Enterprise account. Optionally, filter the results by a member ID (user ID or bot ID) to see a list of rooms that the member belongs to.

Synopsis

Creating a Request

data ListRooms Source #

See: newListRooms smart constructor.

Constructors

ListRooms' 

Fields

Instances

Instances details
ToHeaders ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Methods

toHeaders :: ListRooms -> [Header] #

ToPath ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

ToQuery ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

AWSRequest ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Associated Types

type AWSResponse ListRooms #

Generic ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Associated Types

type Rep ListRooms :: Type -> Type #

Read ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Show ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

NFData ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Methods

rnf :: ListRooms -> () #

Eq ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Hashable ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

type AWSResponse ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

type Rep ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

type Rep ListRooms = D1 ('MetaData "ListRooms" "Amazonka.Chime.ListRooms" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "ListRooms'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListRooms Source #

Arguments

:: Text

ListRooms

-> ListRooms 

Create a value of ListRooms 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:maxResults:ListRooms', listRooms_maxResults - The maximum number of results to return in a single call.

ListRooms, listRooms_memberId - The member ID (user ID or bot ID).

ListRooms, listRooms_nextToken - The token to use to retrieve the next page of results.

ListRooms, listRooms_accountId - The Amazon Chime account ID.

Request Lenses

listRooms_maxResults :: Lens' ListRooms (Maybe Natural) Source #

The maximum number of results to return in a single call.

listRooms_memberId :: Lens' ListRooms (Maybe Text) Source #

The member ID (user ID or bot ID).

listRooms_nextToken :: Lens' ListRooms (Maybe Text) Source #

The token to use to retrieve the next page of results.

listRooms_accountId :: Lens' ListRooms Text Source #

The Amazon Chime account ID.

Destructuring the Response

data ListRoomsResponse Source #

See: newListRoomsResponse smart constructor.

Constructors

ListRoomsResponse' 

Fields

Instances

Instances details
Generic ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Associated Types

type Rep ListRoomsResponse :: Type -> Type #

Show ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

NFData ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Methods

rnf :: ListRoomsResponse -> () #

Eq ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

type Rep ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

type Rep ListRoomsResponse = D1 ('MetaData "ListRoomsResponse" "Amazonka.Chime.ListRooms" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "ListRoomsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "rooms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Room])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRoomsResponse Source #

Create a value of ListRoomsResponse 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:

ListRooms, listRoomsResponse_nextToken - The token to use to retrieve the next page of results.

$sel:rooms:ListRoomsResponse', listRoomsResponse_rooms - The room details.

$sel:httpStatus:ListRoomsResponse', listRoomsResponse_httpStatus - The response's http status code.

Response Lenses

listRoomsResponse_nextToken :: Lens' ListRoomsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results.

listRoomsResponse_httpStatus :: Lens' ListRoomsResponse Int Source #

The response's http status code.