:doc:`OpenSearchService <../../opensearch>` / Client / describe_domain_auto_tunes

**************************
describe_domain_auto_tunes
**************************



.. py:method:: OpenSearchService.Client.describe_domain_auto_tunes(**kwargs)

  

  Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch Service domain. For more information, see `Auto-Tune for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainAutoTunes>`_  


  **Request Syntax**
  ::

    response = client.describe_domain_auto_tunes(
        DomainName='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    Name of the domain that you want Auto-Tune details about.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    An optional parameter that specifies the maximum number of results to return. You can use ``nextToken`` to get the next page of results.

    

  
  :type NextToken: string
  :param NextToken: 

    If your initial ``DescribeDomainAutoTunes`` operation returns a ``nextToken``, you can include the returned ``nextToken`` in subsequent ``DescribeDomainAutoTunes`` operations, which returns results in the next page.

    

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

    
    ::

      {
          'AutoTunes': [
              {
                  'AutoTuneType': 'SCHEDULED_ACTION',
                  'AutoTuneDetails': {
                      'ScheduledAutoTuneDetails': {
                          'Date': datetime(2015, 1, 1),
                          'ActionType': 'JVM_HEAP_SIZE_TUNING'|'JVM_YOUNG_GEN_TUNING',
                          'Action': 'string',
                          'Severity': 'LOW'|'MEDIUM'|'HIGH'
                      }
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The result of a ``DescribeDomainAutoTunes`` request.

      
      

      - **AutoTunes** *(list) --* 

        The list of setting adjustments that Auto-Tune has made to the domain.

        
        

        - *(dict) --* 

          Information about an Auto-Tune action. For more information, see `Auto-Tune for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html>`__.

          
          

          - **AutoTuneType** *(string) --* 

            The type of Auto-Tune action.

            
          

          - **AutoTuneDetails** *(dict) --* 

            Details about an Auto-Tune action.

            
            

            - **ScheduledAutoTuneDetails** *(dict) --* 

              Container for details about a scheduled Auto-Tune action.

              
              

              - **Date** *(datetime) --* 

                The date and time when the Auto-Tune action is scheduled for the domain.

                
              

              - **ActionType** *(string) --* 

                The type of Auto-Tune action.

                
              

              - **Action** *(string) --* 

                A description of the Auto-Tune action.

                
              

              - **Severity** *(string) --* 

                The severity of the Auto-Tune action. Valid values are ``LOW``, ``MEDIUM``, and ``HIGH``.

                
          
        
      
    
      

      - **NextToken** *(string) --* 

        When ``nextToken`` is returned, there are more results available. The value of ``nextToken`` is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

        
  
  **Exceptions**
  
  *   :py:class:`OpenSearchService.Client.exceptions.BaseException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.InternalException`

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

  
  *   :py:class:`OpenSearchService.Client.exceptions.ValidationException`

  