| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data UpdateKnowledgeBaseTemplateUri = UpdateKnowledgeBaseTemplateUri' {}
- newUpdateKnowledgeBaseTemplateUri :: Text -> Text -> UpdateKnowledgeBaseTemplateUri
- updateKnowledgeBaseTemplateUri_knowledgeBaseId :: Lens' UpdateKnowledgeBaseTemplateUri Text
- updateKnowledgeBaseTemplateUri_templateUri :: Lens' UpdateKnowledgeBaseTemplateUri Text
- data UpdateKnowledgeBaseTemplateUriResponse = UpdateKnowledgeBaseTemplateUriResponse' {}
- newUpdateKnowledgeBaseTemplateUriResponse :: Int -> UpdateKnowledgeBaseTemplateUriResponse
- updateKnowledgeBaseTemplateUriResponse_knowledgeBase :: Lens' UpdateKnowledgeBaseTemplateUriResponse (Maybe KnowledgeBaseData)
- updateKnowledgeBaseTemplateUriResponse_httpStatus :: Lens' UpdateKnowledgeBaseTemplateUriResponse Int
Creating a Request
data UpdateKnowledgeBaseTemplateUri Source #
See: newUpdateKnowledgeBaseTemplateUri smart constructor.
Constructors
| UpdateKnowledgeBaseTemplateUri' | |
Fields
| |
Instances
newUpdateKnowledgeBaseTemplateUri Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateKnowledgeBaseTemplateUri |
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.
updateKnowledgeBaseTemplateUri_templateUri :: Lens' UpdateKnowledgeBaseTemplateUri Text Source #
The template URI to update.
Destructuring the Response
data UpdateKnowledgeBaseTemplateUriResponse Source #
See: newUpdateKnowledgeBaseTemplateUriResponse smart constructor.
Constructors
| UpdateKnowledgeBaseTemplateUriResponse' | |
Fields
| |
Instances
newUpdateKnowledgeBaseTemplateUriResponse Source #
Arguments
| :: Int | |
| -> UpdateKnowledgeBaseTemplateUriResponse |
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
updateKnowledgeBaseTemplateUriResponse_knowledgeBase :: Lens' UpdateKnowledgeBaseTemplateUriResponse (Maybe KnowledgeBaseData) Source #
The knowledge base to update.
updateKnowledgeBaseTemplateUriResponse_httpStatus :: Lens' UpdateKnowledgeBaseTemplateUriResponse Int Source #
The response's http status code.