Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateKnowledgeBaseTemplateUri' | |
|
Instances
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.
updateKnowledgeBaseTemplateUri_templateUri :: Lens' UpdateKnowledgeBaseTemplateUri Text Source #
The template URI to update.
Destructuring the Response
data UpdateKnowledgeBaseTemplateUriResponse Source #
See: newUpdateKnowledgeBaseTemplateUriResponse
smart constructor.
UpdateKnowledgeBaseTemplateUriResponse' | |
|
Instances
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
updateKnowledgeBaseTemplateUriResponse_knowledgeBase :: Lens' UpdateKnowledgeBaseTemplateUriResponse (Maybe KnowledgeBaseData) Source #
The knowledge base to update.
updateKnowledgeBaseTemplateUriResponse_httpStatus :: Lens' UpdateKnowledgeBaseTemplateUriResponse Int Source #
The response's http status code.