:doc:`Synthetics <../../synthetics>` / Client / describe_runtime_versions

*************************
describe_runtime_versions
*************************



.. py:method:: Synthetics.Client.describe_runtime_versions(**kwargs)

  

  Returns a list of Synthetics canary runtime versions. For more information, see `Canary Runtime Versions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeRuntimeVersions>`_  


  **Request Syntax**
  ::

    response = client.describe_runtime_versions(
        NextToken='string',
        MaxResults=123
    )
    
  :type NextToken: string
  :param NextToken: 

    A token that indicates that there is more data available. You can use this token in a subsequent ``DescribeRuntimeVersions`` operation to retrieve the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    Specify this parameter to limit how many runs are returned each time you use the ``DescribeRuntimeVersions`` operation. If you omit this parameter, the default of 100 is used.

    

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

    
    ::

      {
          'RuntimeVersions': [
              {
                  'VersionName': 'string',
                  'Description': 'string',
                  'ReleaseDate': datetime(2015, 1, 1),
                  'DeprecationDate': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RuntimeVersions** *(list) --* 

        An array of objects that display the details about each Synthetics canary runtime version.

        
        

        - *(dict) --* 

          This structure contains information about one canary runtime version. For more information about runtime versions, see `Canary Runtime Versions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html>`__.

          
          

          - **VersionName** *(string) --* 

            The name of the runtime version. For a list of valid runtime versions, see `Canary Runtime Versions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html>`__.

            
          

          - **Description** *(string) --* 

            A description of the runtime version, created by Amazon.

            
          

          - **ReleaseDate** *(datetime) --* 

            The date that the runtime version was released.

            
          

          - **DeprecationDate** *(datetime) --* 

            If this runtime version is deprecated, this value is the date of deprecation.

            
      
    
      

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

        A token that indicates that there is more data available. You can use this token in a subsequent ``DescribeRuntimeVersions`` operation to retrieve the next set of results.

        
  
  **Exceptions**
  
  *   :py:class:`Synthetics.Client.exceptions.InternalServerException`

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

  