:doc:`DatabaseMigrationService <../../dms>` / Client / describe_refresh_schemas_status

*******************************
describe_refresh_schemas_status
*******************************



.. py:method:: DatabaseMigrationService.Client.describe_refresh_schemas_status(**kwargs)

  

  Returns the status of the RefreshSchemas operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus>`_  


  **Request Syntax**
  ::

    response = client.describe_refresh_schemas_status(
        EndpointArn='string'
    )
    
  :type EndpointArn: string
  :param EndpointArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

    

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

    
    ::

      {
          'RefreshSchemasStatus': {
              'EndpointArn': 'string',
              'ReplicationInstanceArn': 'string',
              'Status': 'successful'|'failed'|'refreshing',
              'LastRefreshDate': datetime(2015, 1, 1),
              'LastFailureMessage': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RefreshSchemasStatus** *(dict) --* 

        The status of the schema.

        
        

        - **EndpointArn** *(string) --* 

          The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

          
        

        - **ReplicationInstanceArn** *(string) --* 

          The Amazon Resource Name (ARN) of the replication instance.

          
        

        - **Status** *(string) --* 

          The status of the schema.

          
        

        - **LastRefreshDate** *(datetime) --* 

          The date the schema was last refreshed.

          
        

        - **LastFailureMessage** *(string) --* 

          The last failure message for the schema.

          
    
  
  **Exceptions**
  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault`

  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault`

  

  **Examples**

  Returns the status of the refresh-schemas operation.
  ::

    response = client.describe_refresh_schemas_status(
        EndpointArn='',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'RefreshSchemasStatus': {
        },
        'ResponseMetadata': {
            '...': '...',
        },
    }

  