libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Description

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

Creating a Request

data GetFlowTemplateRevisions Source #

See: newGetFlowTemplateRevisions smart constructor.

Constructors

GetFlowTemplateRevisions' 

Fields

  • nextToken :: Maybe Text

    The string that specifies the next page of results. Use this when you're paginating results.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

  • id :: Text

    The ID of the workflow.

    The ID should be in the following format.

    urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

Instances

Instances details
Eq GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Read GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Show GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Generic GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Associated Types

type Rep GetFlowTemplateRevisions :: Type -> Type #

NFData GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Hashable GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

ToJSON GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

AWSPager GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

AWSRequest GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

ToHeaders GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

ToPath GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

ToQuery GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

type Rep GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

type Rep GetFlowTemplateRevisions = D1 ('MetaData "GetFlowTemplateRevisions" "Amazonka.IoTThingsGraph.GetFlowTemplateRevisions" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetFlowTemplateRevisions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetFlowTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

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.

Constructors

GetFlowTemplateRevisionsResponse' 

Fields

Instances

Instances details
Eq GetFlowTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Read GetFlowTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Show GetFlowTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Generic GetFlowTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

Associated Types

type Rep GetFlowTemplateRevisionsResponse :: Type -> Type #

NFData GetFlowTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

type Rep GetFlowTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplateRevisions

type Rep GetFlowTemplateRevisionsResponse = D1 ('MetaData "GetFlowTemplateRevisionsResponse" "Amazonka.IoTThingsGraph.GetFlowTemplateRevisions" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetFlowTemplateRevisionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FlowTemplateSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.