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

  • knowledgeBaseId :: Text

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

  • templateUri :: Text

    The template URI to update.

Instances

Instances details
Eq UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Read UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

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

NFData UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

Hashable UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

ToJSON UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

AWSRequest 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

type Rep UpdateKnowledgeBaseTemplateUri Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

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

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

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:

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

$sel:templateUri:UpdateKnowledgeBaseTemplateUri', updateKnowledgeBaseTemplateUri_templateUri - The template URI to update.

Request Lenses

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

Constructors

UpdateKnowledgeBaseTemplateUriResponse' 

Fields

Instances

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

Generic UpdateKnowledgeBaseTemplateUriResponse Source # 
Instance details

Defined in Amazonka.Wisdom.UpdateKnowledgeBaseTemplateUri

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