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

Description

Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.

Synopsis

Creating a Request

data DeprecateFlowTemplate Source #

See: newDeprecateFlowTemplate smart constructor.

Constructors

DeprecateFlowTemplate' 

Fields

  • id :: Text

    The ID of the workflow to be deleted.

    The ID should be in the following format.

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

Instances

Instances details
Eq DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Read DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Show DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Generic DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Associated Types

type Rep DeprecateFlowTemplate :: Type -> Type #

NFData DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Methods

rnf :: DeprecateFlowTemplate -> () #

Hashable DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

ToJSON DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

AWSRequest DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Associated Types

type AWSResponse DeprecateFlowTemplate #

ToHeaders DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

ToPath DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

ToQuery DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

type Rep DeprecateFlowTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

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

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

newDeprecateFlowTemplate Source #

Create a value of DeprecateFlowTemplate 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:id:DeprecateFlowTemplate', deprecateFlowTemplate_id - The ID of the workflow to be deleted.

The ID should be in the following format.

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

Request Lenses

deprecateFlowTemplate_id :: Lens' DeprecateFlowTemplate Text Source #

The ID of the workflow to be deleted.

The ID should be in the following format.

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

Destructuring the Response

data DeprecateFlowTemplateResponse Source #

See: newDeprecateFlowTemplateResponse smart constructor.

Constructors

DeprecateFlowTemplateResponse' 

Fields

Instances

Instances details
Eq DeprecateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Read DeprecateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Show DeprecateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Generic DeprecateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

Associated Types

type Rep DeprecateFlowTemplateResponse :: Type -> Type #

NFData DeprecateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

type Rep DeprecateFlowTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.DeprecateFlowTemplate

type Rep DeprecateFlowTemplateResponse = D1 ('MetaData "DeprecateFlowTemplateResponse" "Amazonka.IoTThingsGraph.DeprecateFlowTemplate" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "DeprecateFlowTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeprecateFlowTemplateResponse Source #

Create a value of DeprecateFlowTemplateResponse 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:httpStatus:DeprecateFlowTemplateResponse', deprecateFlowTemplateResponse_httpStatus - The response's http status code.

Response Lenses