libZSservicesZSamazonka-wisdomZSamazonka-wisdom
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.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

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

Instances

Instances details
Eq ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Read ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Show ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Generic ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Associated Types

type Rep ListKnowledgeBases :: Type -> Type #

NFData ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Methods

rnf :: ListKnowledgeBases -> () #

Hashable 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 #

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

type Rep ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

type Rep ListKnowledgeBases = D1 ('MetaData "ListKnowledgeBases" "Amazonka.Wisdom.ListKnowledgeBases" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "ListKnowledgeBases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListKnowledgeBases Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

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:nextToken: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.

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

Request Lenses

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.

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

The maximum number of results to return per page.

Destructuring the Response

data ListKnowledgeBasesResponse Source #

See: newListKnowledgeBasesResponse smart constructor.

Constructors

ListKnowledgeBasesResponse' 

Fields

Instances

Instances details
Eq ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Read ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Show ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Generic ListKnowledgeBasesResponse Source # 
Instance details

Defined in Amazonka.Wisdom.ListKnowledgeBases

Associated Types

type Rep ListKnowledgeBasesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" '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:

$sel:nextToken: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.