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 specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace.
Synopsis
- data UpdateFlowTemplate = UpdateFlowTemplate' {}
- newUpdateFlowTemplate :: Text -> DefinitionDocument -> UpdateFlowTemplate
- updateFlowTemplate_compatibleNamespaceVersion :: Lens' UpdateFlowTemplate (Maybe Integer)
- updateFlowTemplate_id :: Lens' UpdateFlowTemplate Text
- updateFlowTemplate_definition :: Lens' UpdateFlowTemplate DefinitionDocument
- data UpdateFlowTemplateResponse = UpdateFlowTemplateResponse' {}
- newUpdateFlowTemplateResponse :: Int -> UpdateFlowTemplateResponse
- updateFlowTemplateResponse_summary :: Lens' UpdateFlowTemplateResponse (Maybe FlowTemplateSummary)
- updateFlowTemplateResponse_httpStatus :: Lens' UpdateFlowTemplateResponse Int
Creating a Request
data UpdateFlowTemplate Source #
See: newUpdateFlowTemplate
smart constructor.
UpdateFlowTemplate' | |
|
Instances
newUpdateFlowTemplate Source #
Create a value of UpdateFlowTemplate
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:compatibleNamespaceVersion:UpdateFlowTemplate'
, updateFlowTemplate_compatibleNamespaceVersion
- The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the
GetFlowTemplateRevisions
if you want to find earlier revisions of the
flow to update.
$sel:id:UpdateFlowTemplate'
, updateFlowTemplate_id
- The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
$sel:definition:UpdateFlowTemplate'
, updateFlowTemplate_definition
- The DefinitionDocument
that contains the updated workflow definition.
Request Lenses
updateFlowTemplate_compatibleNamespaceVersion :: Lens' UpdateFlowTemplate (Maybe Integer) Source #
The version of the user's namespace.
If no value is specified, the latest version is used by default. Use the
GetFlowTemplateRevisions
if you want to find earlier revisions of the
flow to update.
updateFlowTemplate_id :: Lens' UpdateFlowTemplate Text Source #
The ID of the workflow to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
updateFlowTemplate_definition :: Lens' UpdateFlowTemplate DefinitionDocument Source #
The DefinitionDocument
that contains the updated workflow definition.
Destructuring the Response
data UpdateFlowTemplateResponse Source #
See: newUpdateFlowTemplateResponse
smart constructor.
UpdateFlowTemplateResponse' | |
|
Instances
newUpdateFlowTemplateResponse Source #
Create a value of UpdateFlowTemplateResponse
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:summary:UpdateFlowTemplateResponse'
, updateFlowTemplateResponse_summary
- An object containing summary information about the updated workflow.
$sel:httpStatus:UpdateFlowTemplateResponse'
, updateFlowTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
updateFlowTemplateResponse_summary :: Lens' UpdateFlowTemplateResponse (Maybe FlowTemplateSummary) Source #
An object containing summary information about the updated workflow.
updateFlowTemplateResponse_httpStatus :: Lens' UpdateFlowTemplateResponse Int Source #
The response's http status code.