TimestreamQuery / Client / execute_scheduled_query

execute_scheduled_query#

TimestreamQuery.Client.execute_scheduled_query(**kwargs)#

You can use this API to run a scheduled query manually.

See also: AWS API Documentation

Request Syntax

response = client.execute_scheduled_query(
    ScheduledQueryArn='string',
    InvocationTime=datetime(2015, 1, 1),
    ClientToken='string'
)
Parameters:
  • ScheduledQueryArn (string) –

    [REQUIRED]

    ARN of the scheduled query.

  • InvocationTime (datetime) –

    [REQUIRED]

    The timestamp in UTC. Query will be run as if it was invoked at this timestamp.

  • ClientToken (string) –

    Not used.

    This field is autopopulated if not provided.

Returns:

None

Exceptions

  • TimestreamQuery.Client.exceptions.AccessDeniedException

  • TimestreamQuery.Client.exceptions.InternalServerException

  • TimestreamQuery.Client.exceptions.ResourceNotFoundException

  • TimestreamQuery.Client.exceptions.ThrottlingException

  • TimestreamQuery.Client.exceptions.ValidationException

  • TimestreamQuery.Client.exceptions.InvalidEndpointException