{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-schema/amazon-step-functions-update-state-machine-input-schema.json", "title": "UpdateStateMachineInput", "description": "UpdateStateMachineInput schema from Amazon Step Functions API", "type": "object", "properties": { "stateMachineArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The Amazon Resource Name (ARN) of the state machine." } ] }, "definition": { "allOf": [ { "$ref": "#/components/schemas/Definition" }, { "description": "The Amazon States Language definition of the state machine. See Amazon States Language." } ] }, "roleArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The Amazon Resource Name (ARN) of the IAM role of the state machine." } ] }, "loggingConfiguration": { "allOf": [ { "$ref": "#/components/schemas/LoggingConfiguration" }, { "description": "Use the LoggingConfiguration data type to set CloudWatch Logs options." } ] }, "tracingConfiguration": { "allOf": [ { "$ref": "#/components/schemas/TracingConfiguration" }, { "description": "Selects whether X-Ray tracing is enabled." } ] }, "publish": { "allOf": [ { "$ref": "#/components/schemas/Publish" }, { "description": "Specifies whether the state machine version is published. The default is false. To publish a version after updating the state machine, set publish to true." } ] }, "versionDescription": { "allOf": [ { "$ref": "#/components/schemas/VersionDescription" }, { "description": "

An optional description of the state machine version to publish.

You can only specify the versionDescription parameter if you've set publish to true.

" } ] } }, "required": [ "stateMachineArn" ] }