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

Description

Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view.

Synopsis

Creating a Request

data UpdateKnowledgeBaseTemplateUri Source #

See: newUpdateKnowledgeBaseTemplateUri smart constructor.

Constructors

UpdateKnowledgeBaseTemplateUri' 

Fields

Instances

Instances details
ToJSON UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

ToHeaders UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

ToPath UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

ToQuery UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

AWSRequest UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Generic UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Associated Types

type Rep UpdateKnowledgeBaseTemplateUri :: Type -> Type #

Read UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Show UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

NFData UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Eq UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Hashable UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

type AWSResponse UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

type Rep UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

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

newUpdateKnowledgeBaseTemplateUri Source #

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

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

UpdateKnowledgeBaseTemplateUri, updateKnowledgeBaseTemplateUri_templateUri - The template URI to update.

Request Lenses

updateKnowledgeBaseTemplateUri_knowledgeBaseId :: Lens' UpdateKnowledgeBaseTemplateUri 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 UpdateKnowledgeBaseTemplateUriResponse Source #

Constructors

UpdateKnowledgeBaseTemplateUriResponse' 

Fields

Instances

Instances details
Generic UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Read UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Show UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

NFData UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Eq UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

type Rep UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

type Rep UpdateKnowledgeBaseTemplateUriResponse = D1 ('MetaData "UpdateKnowledgeBaseTemplateUriResponse" "Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "UpdateKnowledgeBaseTemplateUriResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "knowledgeBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KnowledgeBaseData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateKnowledgeBaseTemplateUriResponse Source #

Create a value of UpdateKnowledgeBaseTemplateUriResponse 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:UpdateKnowledgeBaseTemplateUriResponse', updateKnowledgeBaseTemplateUriResponse_knowledgeBase - The knowledge base to update.

$sel:httpStatus:UpdateKnowledgeBaseTemplateUriResponse', updateKnowledgeBaseTemplateUriResponse_httpStatus - The response's http status code.

Response Lenses