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

Description

Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.

Synopsis

Creating a Request

data ListBots Source #

See: newListBots smart constructor.

Constructors

ListBots' 

Fields

Instances

Instances details
Eq ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Read ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Show ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Generic ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Associated Types

type Rep ListBots :: Type -> Type #

Methods

from :: ListBots -> Rep ListBots x #

to :: Rep ListBots x -> ListBots #

NFData ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Methods

rnf :: ListBots -> () #

Hashable ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Methods

hashWithSalt :: Int -> ListBots -> Int #

hash :: ListBots -> Int #

AWSRequest ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Associated Types

type AWSResponse ListBots #

ToHeaders ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Methods

toHeaders :: ListBots -> [Header] #

ToPath ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

ToQuery ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

type Rep ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

type Rep ListBots = D1 ('MetaData "ListBots" "Amazonka.Chime.ListBots" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListBots'" 'PrefixI 'True) (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 ListBots Source # 
Instance details

Defined in Amazonka.Chime.ListBots

newListBots Source #

Create a value of ListBots 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:nextToken:ListBots', listBots_nextToken - The token to use to retrieve the next page of results.

$sel:maxResults:ListBots', listBots_maxResults - The maximum number of results to return in a single call. The default is 10.

$sel:accountId:ListBots', listBots_accountId - The Amazon Chime account ID.

Request Lenses

listBots_nextToken :: Lens' ListBots (Maybe Text) Source #

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

listBots_maxResults :: Lens' ListBots (Maybe Natural) Source #

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

listBots_accountId :: Lens' ListBots Text Source #

The Amazon Chime account ID.

Destructuring the Response

data ListBotsResponse Source #

See: newListBotsResponse smart constructor.

Constructors

ListBotsResponse' 

Fields

Instances

Instances details
Eq ListBotsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Show ListBotsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Generic ListBotsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Associated Types

type Rep ListBotsResponse :: Type -> Type #

NFData ListBotsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListBots

Methods

rnf :: ListBotsResponse -> () #

type Rep ListBotsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListBots

type Rep ListBotsResponse = D1 ('MetaData "ListBotsResponse" "Amazonka.Chime.ListBots" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListBotsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Bot])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBotsResponse Source #

Create a value of ListBotsResponse 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:bots:ListBotsResponse', listBotsResponse_bots - List of bots and bot details.

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

$sel:httpStatus:ListBotsResponse', listBotsResponse_httpStatus - The response's http status code.

Response Lenses

listBotsResponse_bots :: Lens' ListBotsResponse (Maybe [Bot]) Source #

List of bots and bot details.

listBotsResponse_nextToken :: Lens' ListBotsResponse (Maybe Text) Source #

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

listBotsResponse_httpStatus :: Lens' ListBotsResponse Int Source #

The response's http status code.