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.GetFlowTemplate

Description

Gets the latest version of the DefinitionDocument and FlowTemplateSummary for the specified workflow.

Synopsis

Creating a Request

data GetFlowTemplate Source #

See: newGetFlowTemplate smart constructor.

Constructors

GetFlowTemplate' 

Fields

  • revisionNumber :: Maybe Integer

    The number of the workflow revision to retrieve.

  • 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 GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Read GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Show GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Generic GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Associated Types

type Rep GetFlowTemplate :: Type -> Type #

NFData GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Methods

rnf :: GetFlowTemplate -> () #

Hashable GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

ToJSON GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

AWSRequest GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Associated Types

type AWSResponse GetFlowTemplate #

ToHeaders GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

ToPath GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

ToQuery GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

type Rep GetFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

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

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

newGetFlowTemplate Source #

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.

Constructors

GetFlowTemplateResponse' 

Fields

Instances

Instances details
Eq GetFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Read GetFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Show GetFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Generic GetFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Associated Types

type Rep GetFlowTemplateResponse :: Type -> Type #

NFData GetFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

Methods

rnf :: GetFlowTemplateResponse -> () #

type Rep GetFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetFlowTemplate

type Rep GetFlowTemplateResponse = D1 ('MetaData "GetFlowTemplateResponse" "Amazonka.IoTThingsGraph.GetFlowTemplate" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetFlowTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FlowTemplateDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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