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

Description

Retrieves information about the knowledge base.

Synopsis

Creating a Request

data GetKnowledgeBase Source #

See: newGetKnowledgeBase smart constructor.

Constructors

GetKnowledgeBase' 

Fields

  • knowledgeBaseId :: Text

    The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
Eq GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Read GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Show GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Generic GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Associated Types

type Rep GetKnowledgeBase :: Type -> Type #

NFData GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Methods

rnf :: GetKnowledgeBase -> () #

Hashable GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

AWSRequest GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Associated Types

type AWSResponse GetKnowledgeBase #

ToHeaders GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

ToPath GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

ToQuery GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

type Rep GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

type Rep GetKnowledgeBase = D1 ('MetaData "GetKnowledgeBase" "Amazonka.Wisdom.GetKnowledgeBase" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "GetKnowledgeBase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

newGetKnowledgeBase Source #

Create a value of GetKnowledgeBase 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:knowledgeBaseId:GetKnowledgeBase', getKnowledgeBase_knowledgeBaseId - The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

getKnowledgeBase_knowledgeBaseId :: Lens' GetKnowledgeBase Text Source #

The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Destructuring the Response

data GetKnowledgeBaseResponse Source #

See: newGetKnowledgeBaseResponse smart constructor.

Constructors

GetKnowledgeBaseResponse' 

Fields

Instances

Instances details
Eq GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Read GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Show GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Generic GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Associated Types

type Rep GetKnowledgeBaseResponse :: Type -> Type #

NFData GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

type Rep GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

type Rep GetKnowledgeBaseResponse = D1 ('MetaData "GetKnowledgeBaseResponse" "Amazonka.Wisdom.GetKnowledgeBase" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "GetKnowledgeBaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "knowledgeBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KnowledgeBaseData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetKnowledgeBaseResponse Source #

Create a value of GetKnowledgeBaseResponse 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:knowledgeBase:GetKnowledgeBaseResponse', getKnowledgeBaseResponse_knowledgeBase - The knowledge base.

$sel:httpStatus:GetKnowledgeBaseResponse', getKnowledgeBaseResponse_httpStatus - The response's http status code.

Response Lenses