libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.ListBots

Description

This API is in preview release for Amazon Connect and is subject to change.

For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBots Source #

See: newListBots smart constructor.

Constructors

ListBots' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • lexVersion :: LexVersion

    The version of Amazon Lex or Amazon Lex V2.

Instances

Instances details
Eq ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Read ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Show ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Generic ListBots Source # 
Instance details

Defined in Amazonka.Connect.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.Connect.ListBots

Methods

rnf :: ListBots -> () #

Hashable ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Methods

hashWithSalt :: Int -> ListBots -> Int #

hash :: ListBots -> Int #

AWSPager ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

AWSRequest ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Associated Types

type AWSResponse ListBots #

ToHeaders ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Methods

toHeaders :: ListBots -> [Header] #

ToPath ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

ToQuery ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

type Rep ListBots Source # 
Instance details

Defined in Amazonka.Connect.ListBots

type Rep ListBots = D1 ('MetaData "ListBots" "Amazonka.Connect.ListBots" "libZSservicesZSamazonka-connectZSamazonka-connect" '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 "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lexVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LexVersion))))
type AWSResponse ListBots Source # 
Instance details

Defined in Amazonka.Connect.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 for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:maxResults:ListBots', listBots_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListBots', listBots_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:lexVersion:ListBots', listBots_lexVersion - The version of Amazon Lex or Amazon Lex V2.

Request Lenses

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

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

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

The maximum number of results to return per page.

listBots_instanceId :: Lens' ListBots Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

listBots_lexVersion :: Lens' ListBots LexVersion Source #

The version of Amazon Lex or Amazon Lex V2.

Destructuring the Response

data ListBotsResponse Source #

See: newListBotsResponse smart constructor.

Constructors

ListBotsResponse' 

Fields

  • nextToken :: Maybe Text

    If there are additional results, this is the token for the next set of results.

  • lexBots :: Maybe [LexBotConfig]

    The names and Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListBotsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Read ListBotsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Show ListBotsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Generic ListBotsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Associated Types

type Rep ListBotsResponse :: Type -> Type #

NFData ListBotsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListBots

Methods

rnf :: ListBotsResponse -> () #

type Rep ListBotsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListBots

type Rep ListBotsResponse = D1 ('MetaData "ListBotsResponse" "Amazonka.Connect.ListBots" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListBotsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lexBots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LexBotConfig])) :*: 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:nextToken:ListBots', listBotsResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:lexBots:ListBotsResponse', listBotsResponse_lexBots - The names and Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.

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

Response Lenses

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

If there are additional results, this is the token for the next set of results.

listBotsResponse_lexBots :: Lens' ListBotsResponse (Maybe [LexBotConfig]) Source #

The names and Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.

listBotsResponse_httpStatus :: Lens' ListBotsResponse Int Source #

The response's http status code.