Class: Aws::IoTThingsGraph::Types::UpdateFlowTemplateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb

Overview

Note:

When making an API call, you may pass UpdateFlowTemplateRequest data as a hash:

{
  id: "Urn", # required
  definition: { # required
    language: "GRAPHQL", # required, accepts GRAPHQL
    text: "DefinitionText", # required
  },
  compatible_namespace_version: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compatible_namespace_versionInteger

The version of the user's namespace.

If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.

Returns:

  • (Integer)


1968
1969
1970
1971
1972
1973
1974
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1968

class UpdateFlowTemplateRequest < Struct.new(
  :id,
  :definition,
  :compatible_namespace_version)
  SENSITIVE = []
  include Aws::Structure
end

#definitionTypes::DefinitionDocument

The DefinitionDocument that contains the updated workflow definition.



1968
1969
1970
1971
1972
1973
1974
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1968

class UpdateFlowTemplateRequest < Struct.new(
  :id,
  :definition,
  :compatible_namespace_version)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the workflow to be updated.

The ID should be in the following format.

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

Returns:

  • (String)


1968
1969
1970
1971
1972
1973
1974
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1968

class UpdateFlowTemplateRequest < Struct.new(
  :id,
  :definition,
  :compatible_namespace_version)
  SENSITIVE = []
  include Aws::Structure
end