amazonka-wisdom-2.0: Amazon Connect Wisdom Service 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.Wisdom.ListKnowledgeBases

Description

Lists the knowledge bases.

This operation returns paginated results.

Synopsis

Creating a Request

data ListKnowledgeBases Source #

See: newListKnowledgeBases smart constructor.

Constructors

ListKnowledgeBases' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

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

Instances

Instances details
ToHeaders ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

ToPath ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

ToQuery ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

AWSPager ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

AWSRequest ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Associated Types

type AWSResponse ListKnowledgeBases #

Generic ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Associated Types

type Rep ListKnowledgeBases :: Type -> Type #

Read ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Show ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

NFData ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Methods

rnf :: ListKnowledgeBases -> () #

Eq ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Hashable ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

type AWSResponse ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

type Rep ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

type Rep ListKnowledgeBases = D1 ('MetaData "ListKnowledgeBases" "Amazonka.Wisdom.ListKnowledgeBases" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "ListKnowledgeBases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListKnowledgeBases :: ListKnowledgeBases Source #

Create a value of ListKnowledgeBases 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:ListKnowledgeBases', listKnowledgeBases_maxResults - The maximum number of results to return per page.

ListKnowledgeBases, listKnowledgeBases_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.

Request Lenses

listKnowledgeBases_maxResults :: Lens' ListKnowledgeBases (Maybe Natural) Source #

The maximum number of results to return per page.

listKnowledgeBases_nextToken :: Lens' ListKnowledgeBases (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.

Destructuring the Response

data ListKnowledgeBasesResponse Source #

See: newListKnowledgeBasesResponse smart constructor.

Constructors

ListKnowledgeBasesResponse' 

Fields

Instances

Instances details
Generic ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Associated Types

type Rep ListKnowledgeBasesResponse :: Type -> Type #

Read ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Show ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

NFData ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Eq ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

type Rep ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

type Rep ListKnowledgeBasesResponse = D1 ('MetaData "ListKnowledgeBasesResponse" "Amazonka.Wisdom.ListKnowledgeBases" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "ListKnowledgeBasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "knowledgeBaseSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [KnowledgeBaseSummary]))))

newListKnowledgeBasesResponse Source #

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

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

$sel:httpStatus:ListKnowledgeBasesResponse', listKnowledgeBasesResponse_httpStatus - The response's http status code.

$sel:knowledgeBaseSummaries:ListKnowledgeBasesResponse', listKnowledgeBasesResponse_knowledgeBaseSummaries - Information about the knowledge bases.

Response Lenses

listKnowledgeBasesResponse_nextToken :: Lens' ListKnowledgeBasesResponse (Maybe Text) Source #

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