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.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
Eq ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Read ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Show ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Generic ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Associated Types

type Rep ListRooms :: Type -> Type #

NFData ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Methods

rnf :: ListRooms -> () #

Hashable ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

AWSRequest ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Associated Types

type AWSResponse ListRooms #

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

type Rep ListRooms Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

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

Defined in Amazonka.Chime.ListRooms

newListRooms Source #

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:memberId:ListRooms', listRooms_memberId - The member ID (user ID or bot ID).

$sel:nextToken:ListRooms', listRooms_nextToken - The token to use to retrieve the next page of results.

$sel:maxResults:ListRooms', listRooms_maxResults - The maximum number of results to return in a single call.

$sel:accountId:ListRooms', listRooms_accountId - The Amazon Chime account ID.

Request Lenses

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_maxResults :: Lens' ListRooms (Maybe Natural) Source #

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

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
Eq ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Show ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Generic ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Associated Types

type Rep ListRoomsResponse :: Type -> Type #

NFData ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

Methods

rnf :: ListRoomsResponse -> () #

type Rep ListRoomsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListRooms

type Rep ListRoomsResponse = D1 ('MetaData "ListRoomsResponse" "Amazonka.Chime.ListRooms" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListRoomsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rooms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Room])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:nextToken:ListRooms', listRoomsResponse_nextToken - The token to use to retrieve the next page of results.

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