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 revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.
This operation returns paginated results.
Synopsis
- data GetFlowTemplateRevisions = GetFlowTemplateRevisions' {}
- newGetFlowTemplateRevisions :: Text -> GetFlowTemplateRevisions
- getFlowTemplateRevisions_nextToken :: Lens' GetFlowTemplateRevisions (Maybe Text)
- getFlowTemplateRevisions_maxResults :: Lens' GetFlowTemplateRevisions (Maybe Natural)
- getFlowTemplateRevisions_id :: Lens' GetFlowTemplateRevisions Text
- data GetFlowTemplateRevisionsResponse = GetFlowTemplateRevisionsResponse' {
- nextToken :: Maybe Text
- summaries :: Maybe [FlowTemplateSummary]
- httpStatus :: Int
- newGetFlowTemplateRevisionsResponse :: Int -> GetFlowTemplateRevisionsResponse
- getFlowTemplateRevisionsResponse_nextToken :: Lens' GetFlowTemplateRevisionsResponse (Maybe Text)
- getFlowTemplateRevisionsResponse_summaries :: Lens' GetFlowTemplateRevisionsResponse (Maybe [FlowTemplateSummary])
- getFlowTemplateRevisionsResponse_httpStatus :: Lens' GetFlowTemplateRevisionsResponse Int
Creating a Request
data GetFlowTemplateRevisions Source #
See: newGetFlowTemplateRevisions
smart constructor.
GetFlowTemplateRevisions' | |
|
Instances
newGetFlowTemplateRevisions Source #
Create a value of GetFlowTemplateRevisions
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:nextToken:GetFlowTemplateRevisions'
, getFlowTemplateRevisions_nextToken
- The string that specifies the next page of results. Use this when
you're paginating results.
$sel:maxResults:GetFlowTemplateRevisions'
, getFlowTemplateRevisions_maxResults
- The maximum number of results to return in the response.
$sel:id:GetFlowTemplateRevisions'
, getFlowTemplateRevisions_id
- The ID of the workflow.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
Request Lenses
getFlowTemplateRevisions_nextToken :: Lens' GetFlowTemplateRevisions (Maybe Text) Source #
The string that specifies the next page of results. Use this when you're paginating results.
getFlowTemplateRevisions_maxResults :: Lens' GetFlowTemplateRevisions (Maybe Natural) Source #
The maximum number of results to return in the response.
getFlowTemplateRevisions_id :: Lens' GetFlowTemplateRevisions 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 GetFlowTemplateRevisionsResponse Source #
See: newGetFlowTemplateRevisionsResponse
smart constructor.
GetFlowTemplateRevisionsResponse' | |
|
Instances
newGetFlowTemplateRevisionsResponse Source #
Create a value of GetFlowTemplateRevisionsResponse
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:nextToken:GetFlowTemplateRevisions'
, getFlowTemplateRevisionsResponse_nextToken
- The string to specify as nextToken
when you request the next page of
results.
$sel:summaries:GetFlowTemplateRevisionsResponse'
, getFlowTemplateRevisionsResponse_summaries
- An array of objects that provide summary data about each revision.
$sel:httpStatus:GetFlowTemplateRevisionsResponse'
, getFlowTemplateRevisionsResponse_httpStatus
- The response's http status code.
Response Lenses
getFlowTemplateRevisionsResponse_nextToken :: Lens' GetFlowTemplateRevisionsResponse (Maybe Text) Source #
The string to specify as nextToken
when you request the next page of
results.
getFlowTemplateRevisionsResponse_summaries :: Lens' GetFlowTemplateRevisionsResponse (Maybe [FlowTemplateSummary]) Source #
An array of objects that provide summary data about each revision.
getFlowTemplateRevisionsResponse_httpStatus :: Lens' GetFlowTemplateRevisionsResponse Int Source #
The response's http status code.