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

Description

Updates the specified system. You don't need to run this action after updating a workflow. Any deployment that uses the system will see the changes in the system when it is redeployed.

Synopsis

Creating a Request

data UpdateSystemTemplate Source #

See: newUpdateSystemTemplate smart constructor.

Constructors

UpdateSystemTemplate' 

Fields

  • compatibleNamespaceVersion :: Maybe Integer

    The version of the user's namespace. Defaults to the latest version of the user's namespace.

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

  • id :: Text

    The ID of the system to be updated.

    The ID should be in the following format.

    urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME
  • definition :: DefinitionDocument

    The DefinitionDocument that contains the updated system definition.

Instances

Instances details
Eq UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Read UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Show UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Generic UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Associated Types

type Rep UpdateSystemTemplate :: Type -> Type #

NFData UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Methods

rnf :: UpdateSystemTemplate -> () #

Hashable UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

ToJSON UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

AWSRequest UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Associated Types

type AWSResponse UpdateSystemTemplate #

ToHeaders UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

ToPath UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

ToQuery UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

type Rep UpdateSystemTemplate Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

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

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

newUpdateSystemTemplate Source #

Create a value of UpdateSystemTemplate 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:UpdateSystemTemplate', updateSystemTemplate_compatibleNamespaceVersion - The version of the user's namespace. Defaults to the latest version of the user's namespace.

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

$sel:id:UpdateSystemTemplate', updateSystemTemplate_id - The ID of the system to be updated.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

$sel:definition:UpdateSystemTemplate', updateSystemTemplate_definition - The DefinitionDocument that contains the updated system definition.

Request Lenses

updateSystemTemplate_compatibleNamespaceVersion :: Lens' UpdateSystemTemplate (Maybe Integer) Source #

The version of the user's namespace. Defaults to the latest version of the user's namespace.

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

updateSystemTemplate_id :: Lens' UpdateSystemTemplate Text Source #

The ID of the system to be updated.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

updateSystemTemplate_definition :: Lens' UpdateSystemTemplate DefinitionDocument Source #

The DefinitionDocument that contains the updated system definition.

Destructuring the Response

data UpdateSystemTemplateResponse Source #

See: newUpdateSystemTemplateResponse smart constructor.

Constructors

UpdateSystemTemplateResponse' 

Fields

Instances

Instances details
Eq UpdateSystemTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Read UpdateSystemTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Show UpdateSystemTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Generic UpdateSystemTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

Associated Types

type Rep UpdateSystemTemplateResponse :: Type -> Type #

NFData UpdateSystemTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

type Rep UpdateSystemTemplateResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.UpdateSystemTemplate

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

newUpdateSystemTemplateResponse Source #

Create a value of UpdateSystemTemplateResponse 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:UpdateSystemTemplateResponse', updateSystemTemplateResponse_summary - An object containing summary information about the updated system.

$sel:httpStatus:UpdateSystemTemplateResponse', updateSystemTemplateResponse_httpStatus - The response's http status code.

Response Lenses

updateSystemTemplateResponse_summary :: Lens' UpdateSystemTemplateResponse (Maybe SystemTemplateSummary) Source #

An object containing summary information about the updated system.