:doc:`QuickSight <../../quicksight>` / Client / list_topic_refresh_schedules

****************************
list_topic_refresh_schedules
****************************



.. py:method:: QuickSight.Client.list_topic_refresh_schedules(**kwargs)

  

  Lists all of the refresh schedules for a topic.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTopicRefreshSchedules>`_  


  **Request Syntax**
  ::

    response = client.list_topic_refresh_schedules(
        AwsAccountId='string',
        TopicId='string'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

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

    

  
  :type TopicId: string
  :param TopicId: **[REQUIRED]** 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'TopicId': 'string',
          'TopicArn': 'string',
          'RefreshSchedules': [
              {
                  'DatasetId': 'string',
                  'DatasetArn': 'string',
                  'DatasetName': 'string',
                  'RefreshSchedule': {
                      'IsEnabled': True|False,
                      'BasedOnSpiceSchedule': True|False,
                      'StartingAt': datetime(2015, 1, 1),
                      'Timezone': 'string',
                      'RepeatAt': 'string',
                      'TopicScheduleType': 'HOURLY'|'DAILY'|'WEEKLY'|'MONTHLY'
                  }
              },
          ],
          'Status': 123,
          'RequestId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TopicId** *(string) --* 

        The ID for the topic that you want to describe. 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.

        
      

      - **RefreshSchedules** *(list) --* 

        The list of topic refresh schedules.

        
        

        - *(dict) --* 

          A summary of the refresh schedule details for a dataset.

          
          

          - **DatasetId** *(string) --* 

            The ID of the dataset.

            
          

          - **DatasetArn** *(string) --* 

            The Amazon Resource Name (ARN) of the dataset.

            
          

          - **DatasetName** *(string) --* 

            The name of the dataset.

            
          

          - **RefreshSchedule** *(dict) --* 

            The definition of a refresh schedule.

            
            

            - **IsEnabled** *(boolean) --* 

              A Boolean value that controls whether to schedule is enabled.

              
            

            - **BasedOnSpiceSchedule** *(boolean) --* 

              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``.

              
        
      
    
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.ConflictException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.LimitExceededException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceExistsException`

  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  