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

**********************
list_refresh_schedules
**********************



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

  

  Lists the refresh schedules of a dataset. Each dataset can have up to 5 schedules.

  

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


  **Request Syntax**
  ::

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

    The Amazon Web Services account ID.

    

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

    The ID of the dataset.

    

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

    
    ::

      {
          'RefreshSchedules': [
              {
                  'ScheduleId': 'string',
                  'ScheduleFrequency': {
                      'Interval': 'MINUTE15'|'MINUTE30'|'HOURLY'|'DAILY'|'WEEKLY'|'MONTHLY',
                      'RefreshOnDay': {
                          'DayOfWeek': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY',
                          'DayOfMonth': 'string'
                      },
                      'Timezone': 'string',
                      'TimeOfTheDay': 'string'
                  },
                  'StartAfterDateTime': datetime(2015, 1, 1),
                  'RefreshType': 'INCREMENTAL_REFRESH'|'FULL_REFRESH',
                  'Arn': 'string'
              },
          ],
          'Status': 123,
          'RequestId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The list of refresh schedules for the dataset.

        
        

        - *(dict) --* 

          A list of ``RefreshSchedule`` objects.

          
          

          - **ScheduleId** *(string) --* 

            An identifier for the refresh schedule.

            
          

          - **ScheduleFrequency** *(dict) --* 

            The frequency for the refresh schedule.

            
            

            - **Interval** *(string) --* 

              The interval between scheduled refreshes. Valid values are as follows:

               

              
              * ``MINUTE15``: The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.
               
              * ``MINUTE30``:The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.
               
              * ``HOURLY``: The dataset refreshes every hour. This interval can only be used for one schedule per dataset.
               
              * ``DAILY``: The dataset refreshes every day.
               
              * ``WEEKLY``: The dataset refreshes every week.
               
              * ``MONTHLY``: The dataset refreshes every month.
              

              
            

            - **RefreshOnDay** *(dict) --* 

              The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.

              
              

              - **DayOfWeek** *(string) --* 

                The day of the week that you want to schedule a refresh on.

                
              

              - **DayOfMonth** *(string) --* 

                The day of the month that you want to schedule refresh on.

                
          
            

            - **Timezone** *(string) --* 

              The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found on ``java.util.time.getAvailableIDs()``.

              
            

            - **TimeOfTheDay** *(string) --* 

              The time of day that you want the datset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.

              
        
          

          - **StartAfterDateTime** *(datetime) --* 

            Time after which the refresh schedule can be started, expressed in ``YYYY-MM-DDTHH:MM:SS`` format.

            
          

          - **RefreshType** *(string) --* 

            The type of refresh that a datset undergoes. Valid values are as follows:

             

            
            * ``FULL_REFRESH``: A complete refresh of a dataset.
             
            * ``INCREMENTAL_REFRESH``: A partial refresh of some rows of a dataset, based on the time window specified.
            

             

            For more information on full and incremental refreshes, see `Refreshing SPICE data <https://docs.aws.amazon.com/quicksight/latest/user/refreshing-imported-data.html>`__ in the *Amazon Quick Suite User Guide*.

            
          

          - **Arn** *(string) --* 

            The Amazon Resource Name (ARN) for the refresh schedule.

            
      
    
      

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

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

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

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

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

  