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

Description

 
Synopsis

Documentation

data RenderingConfiguration Source #

Information about how to render the content.

See: newRenderingConfiguration smart constructor.

Constructors

RenderingConfiguration' 

Fields

  • templateUri :: Maybe Text

    A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:

    • Salesforce: Id, ArticleNumber, VersionNumber, Title, PublishStatus, or IsDeleted
    • ServiceNow: number, short_description, sys_mod_count, workflow_state, or active
     <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>

Instances

Instances details
Eq RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

Read RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

Show RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

Generic RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

Associated Types

type Rep RenderingConfiguration :: Type -> Type #

NFData RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

Methods

rnf :: RenderingConfiguration -> () #

Hashable RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

ToJSON RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

FromJSON RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

type Rep RenderingConfiguration Source # 
Instance details

Defined in Amazonka.Wisdom.Types.RenderingConfiguration

type Rep RenderingConfiguration = D1 ('MetaData "RenderingConfiguration" "Amazonka.Wisdom.Types.RenderingConfiguration" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "RenderingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRenderingConfiguration :: RenderingConfiguration Source #

Create a value of RenderingConfiguration 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:templateUri:RenderingConfiguration', renderingConfiguration_templateUri - A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:

  • Salesforce: Id, ArticleNumber, VersionNumber, Title, PublishStatus, or IsDeleted
  • ServiceNow: number, short_description, sys_mod_count, workflow_state, or active
 <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>

renderingConfiguration_templateUri :: Lens' RenderingConfiguration (Maybe Text) Source #

A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:

  • Salesforce: Id, ArticleNumber, VersionNumber, Title, PublishStatus, or IsDeleted
  • ServiceNow: number, short_description, sys_mod_count, workflow_state, or active
 <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>