QuickSight / Client / update_topic_refresh_schedule

update_topic_refresh_schedule#

QuickSight.Client.update_topic_refresh_schedule(**kwargs)#

Updates a topic refresh schedule.

See also: AWS API Documentation

Request Syntax

response = client.update_topic_refresh_schedule(
    AwsAccountId='string',
    TopicId='string',
    DatasetId='string',
    RefreshSchedule={
        'IsEnabled': True|False,
        'BasedOnSpiceSchedule': True|False,
        'StartingAt': datetime(2015, 1, 1),
        'Timezone': 'string',
        'RepeatAt': 'string',
        'TopicScheduleType': 'HOURLY'|'DAILY'|'WEEKLY'|'MONTHLY'
    }
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the topic whose refresh schedule you want to update.

  • TopicId (string) –

    [REQUIRED]

    The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

  • DatasetId (string) –

    [REQUIRED]

    The ID of the dataset.

  • RefreshSchedule (dict) –

    [REQUIRED]

    The definition of a refresh schedule.

    • IsEnabled (boolean) – [REQUIRED]

      A Boolean value that controls whether to schedule is enabled.

    • BasedOnSpiceSchedule (boolean) – [REQUIRED]

      A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.

    • StartingAt (datetime) –

      The starting date and time for the refresh schedule.

    • Timezone (string) –

      The timezone that you want the refresh schedule to use.

    • RepeatAt (string) –

      The time of day when the refresh should run, for example, Monday-Sunday.

    • TopicScheduleType (string) –

      The type of refresh schedule. Valid values for this structure are HOURLY, DAILY, WEEKLY, and MONTHLY.

Return type:

dict

Returns:

Response Syntax

{
    'TopicId': 'string',
    'TopicArn': 'string',
    'DatasetArn': 'string',
    'Status': 123,
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • TopicId (string) –

      The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

    • TopicArn (string) –

      The Amazon Resource Name (ARN) of the topic.

    • DatasetArn (string) –

      The Amazon Resource Name (ARN) of the dataset.

    • Status (integer) –

      The HTTP status of the request.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.ConflictException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.LimitExceededException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ResourceExistsException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.InternalFailureException