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.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 identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
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

AWSRequest GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Associated Types

type AWSResponse GetKnowledgeBase #

Generic GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Associated Types

type Rep GetKnowledgeBase :: Type -> Type #

Read GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Show GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

NFData GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Methods

rnf :: GetKnowledgeBase -> () #

Eq GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Hashable GetKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

type AWSResponse 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "GetKnowledgeBase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

GetKnowledgeBase, getKnowledgeBase_knowledgeBaseId - 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 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
Generic GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Associated Types

type Rep GetKnowledgeBaseResponse :: Type -> Type #

Read GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Show GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

NFData GetKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetKnowledgeBase

Eq 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" '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