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 |
Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.
Synopsis
- data DeprecateFlowTemplate = DeprecateFlowTemplate' {}
- newDeprecateFlowTemplate :: Text -> DeprecateFlowTemplate
- deprecateFlowTemplate_id :: Lens' DeprecateFlowTemplate Text
- data DeprecateFlowTemplateResponse = DeprecateFlowTemplateResponse' {
- httpStatus :: Int
- newDeprecateFlowTemplateResponse :: Int -> DeprecateFlowTemplateResponse
- deprecateFlowTemplateResponse_httpStatus :: Lens' DeprecateFlowTemplateResponse Int
Creating a Request
data DeprecateFlowTemplate Source #
See: newDeprecateFlowTemplate
smart constructor.
Instances
newDeprecateFlowTemplate Source #
Create a value of DeprecateFlowTemplate
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:id:DeprecateFlowTemplate'
, deprecateFlowTemplate_id
- The ID of the workflow to be deleted.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
Request Lenses
deprecateFlowTemplate_id :: Lens' DeprecateFlowTemplate Text Source #
The ID of the workflow to be deleted.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
Destructuring the Response
data DeprecateFlowTemplateResponse Source #
See: newDeprecateFlowTemplateResponse
smart constructor.
DeprecateFlowTemplateResponse' | |
|
Instances
newDeprecateFlowTemplateResponse Source #
Create a value of DeprecateFlowTemplateResponse
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:httpStatus:DeprecateFlowTemplateResponse'
, deprecateFlowTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deprecateFlowTemplateResponse_httpStatus :: Lens' DeprecateFlowTemplateResponse Int Source #
The response's http status code.