GlueDataBrew / Client / create_schedule

create_schedule#

GlueDataBrew.Client.create_schedule(**kwargs)#

Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.

See also: AWS API Documentation

Request Syntax

response = client.create_schedule(
    JobNames=[
        'string',
    ],
    CronExpression='string',
    Tags={
        'string': 'string'
    },
    Name='string'
)
Parameters:
  • JobNames (list) –

    The name or names of one or more jobs to be run.

    • (string) –

  • CronExpression (string) –

    [REQUIRED]

    The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.

  • Tags (dict) –

    Metadata tags to apply to this schedule.

    • (string) –

      • (string) –

  • Name (string) –

    [REQUIRED]

    A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

Return type:

dict

Returns:

Response Syntax

{
    'Name': 'string'
}

Response Structure

  • (dict) –

    • Name (string) –

      The name of the schedule that was created.

Exceptions

  • GlueDataBrew.Client.exceptions.ConflictException

  • GlueDataBrew.Client.exceptions.ServiceQuotaExceededException

  • GlueDataBrew.Client.exceptions.ValidationException