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 |
Gets the latest version of the DefinitionDocument
and
FlowTemplateSummary
for the specified workflow.
Synopsis
- data GetFlowTemplate = GetFlowTemplate' {
- revisionNumber :: Maybe Integer
- id :: Text
- newGetFlowTemplate :: Text -> GetFlowTemplate
- getFlowTemplate_revisionNumber :: Lens' GetFlowTemplate (Maybe Integer)
- getFlowTemplate_id :: Lens' GetFlowTemplate Text
- data GetFlowTemplateResponse = GetFlowTemplateResponse' {}
- newGetFlowTemplateResponse :: Int -> GetFlowTemplateResponse
- getFlowTemplateResponse_description :: Lens' GetFlowTemplateResponse (Maybe FlowTemplateDescription)
- getFlowTemplateResponse_httpStatus :: Lens' GetFlowTemplateResponse Int
Creating a Request
data GetFlowTemplate Source #
See: newGetFlowTemplate
smart constructor.
GetFlowTemplate' | |
|
Instances
Create a value of GetFlowTemplate
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:revisionNumber:GetFlowTemplate'
, getFlowTemplate_revisionNumber
- The number of the workflow revision to retrieve.
$sel:id:GetFlowTemplate'
, getFlowTemplate_id
- The ID of the workflow.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
Request Lenses
getFlowTemplate_revisionNumber :: Lens' GetFlowTemplate (Maybe Integer) Source #
The number of the workflow revision to retrieve.
getFlowTemplate_id :: Lens' GetFlowTemplate Text Source #
The ID of the workflow.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
Destructuring the Response
data GetFlowTemplateResponse Source #
See: newGetFlowTemplateResponse
smart constructor.
GetFlowTemplateResponse' | |
|
Instances
newGetFlowTemplateResponse Source #
Create a value of GetFlowTemplateResponse
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:description:GetFlowTemplateResponse'
, getFlowTemplateResponse_description
- The object that describes the specified workflow.
$sel:httpStatus:GetFlowTemplateResponse'
, getFlowTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getFlowTemplateResponse_description :: Lens' GetFlowTemplateResponse (Maybe FlowTemplateDescription) Source #
The object that describes the specified workflow.
getFlowTemplateResponse_httpStatus :: Lens' GetFlowTemplateResponse Int Source #
The response's http status code.