create_workflow

create_workflow(**kwargs)

Creates a new workflow.

See also: AWS API Documentation

Request Syntax

response = client.create_workflow(
    Name='string',
    Description='string',
    DefaultRunProperties={
        'string': 'string'
    },
    Tags={
        'string': 'string'
    },
    MaxConcurrentRuns=123
)
Parameters
  • Name (string) --

    [REQUIRED]

    The name to be assigned to the workflow. It should be unique within your account.

  • Description (string) -- A description of the workflow.
  • DefaultRunProperties (dict) --

    A collection of properties to be used as part of each execution of the workflow.

    • (string) --
      • (string) --
  • Tags (dict) --

    The tags to be used with this workflow.

    • (string) --
      • (string) --
  • MaxConcurrentRuns (integer) -- You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
Return type

dict

Returns

Response Syntax

{
    'Name': 'string'
}

Response Structure

  • (dict) --

    • Name (string) --

      The name of the workflow which was provided as part of the request.

Exceptions

  • Glue.Client.exceptions.AlreadyExistsException
  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.InternalServiceException
  • Glue.Client.exceptions.OperationTimeoutException
  • Glue.Client.exceptions.ResourceNumberLimitExceededException
  • Glue.Client.exceptions.ConcurrentModificationException