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

Description

Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.

Synopsis

Creating a Request

data CreateFlowTemplate Source #

See: newCreateFlowTemplate smart constructor.

Constructors

CreateFlowTemplate' 

Fields

Instances

Instances details
Eq CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Read CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Show CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Generic CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Associated Types

type Rep CreateFlowTemplate :: Type -> Type #

NFData CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Methods

rnf :: CreateFlowTemplate -> () #

Hashable CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

ToJSON CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

AWSRequest CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Associated Types

type AWSResponse CreateFlowTemplate #

ToHeaders CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

ToPath CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

ToQuery CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

type Rep CreateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

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

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

newCreateFlowTemplate Source #

Create a value of CreateFlowTemplate 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:compatibleNamespaceVersion:CreateFlowTemplate', createFlowTemplate_compatibleNamespaceVersion - The namespace version in which the workflow is to be created.

If no value is specified, the latest version is used by default.

$sel:definition:CreateFlowTemplate', createFlowTemplate_definition - The workflow DefinitionDocument.

Request Lenses

createFlowTemplate_compatibleNamespaceVersion :: Lens' CreateFlowTemplate (Maybe Integer) Source #

The namespace version in which the workflow is to be created.

If no value is specified, the latest version is used by default.

Destructuring the Response

data CreateFlowTemplateResponse Source #

See: newCreateFlowTemplateResponse smart constructor.

Constructors

CreateFlowTemplateResponse' 

Fields

Instances

Instances details
Eq CreateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Read CreateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Show CreateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Generic CreateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

Associated Types

type Rep CreateFlowTemplateResponse :: Type -> Type #

NFData CreateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

type Rep CreateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.CreateFlowTemplate

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

newCreateFlowTemplateResponse Source #

Create a value of CreateFlowTemplateResponse 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:summary:CreateFlowTemplateResponse', createFlowTemplateResponse_summary - The summary object that describes the created workflow.

$sel:httpStatus:CreateFlowTemplateResponse', createFlowTemplateResponse_httpStatus - The response's http status code.

Response Lenses

createFlowTemplateResponse_summary :: Lens' CreateFlowTemplateResponse (Maybe FlowTemplateSummary) Source #

The summary object that describes the created workflow.