:doc:`Route53Domains <../../route53domains>` / Client / get_operation_detail

********************
get_operation_detail
********************



.. py:method:: Route53Domains.Client.get_operation_detail(**kwargs)

  

  This operation returns the current status of an operation that is not completed.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail>`_  


  **Request Syntax**
  ::

    response = client.get_operation_detail(
        OperationId='string'
    )
    
  :type OperationId: string
  :param OperationId: **[REQUIRED]** 

    The identifier for the operation for which you want to get the status. Route 53 returned the identifier in the response to the original request.

    

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

    
    ::

      {
          'OperationId': 'string',
          'Status': 'SUBMITTED'|'IN_PROGRESS'|'ERROR'|'SUCCESSFUL'|'FAILED',
          'Message': 'string',
          'DomainName': 'string',
          'Type': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_DOMAIN'|'RELEASE_TO_GANDI'|'TRANSFER_ON_RENEW'|'RESTORE_DOMAIN',
          'SubmittedDate': datetime(2015, 1, 1),
          'LastUpdatedDate': datetime(2015, 1, 1),
          'StatusFlag': 'PENDING_ACCEPTANCE'|'PENDING_CUSTOMER_ACTION'|'PENDING_AUTHORIZATION'|'PENDING_PAYMENT_VERIFICATION'|'PENDING_SUPPORT_CASE'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The GetOperationDetail response includes the following elements.

      
      

      - **OperationId** *(string) --* 

        The identifier for the operation.

        
      

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

        The current status of the requested operation in the system.

        
      

      - **Message** *(string) --* 

        Detailed information on the status including possible errors.

        
      

      - **DomainName** *(string) --* 

        The name of a domain.

        
      

      - **Type** *(string) --* 

        The type of operation that was requested.

        
      

      - **SubmittedDate** *(datetime) --* 

        The date when the request was submitted.

        
      

      - **LastUpdatedDate** *(datetime) --* 

        The date when the operation was last updated.

        
      

      - **StatusFlag** *(string) --* 

        Lists any outstanding operations that require customer action. Valid values are:

         

        
        * ``PENDING_ACCEPTANCE``: The operation is waiting for acceptance from the account that is receiving the domain.
         
        * ``PENDING_CUSTOMER_ACTION``: The operation is waiting for customer action, for example, returning an email.
         
        * ``PENDING_AUTHORIZATION``: The operation is waiting for the form of authorization. For more information, see `ResendOperationAuthorization <https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ResendOperationAuthorization.html>`__.
         
        * ``PENDING_PAYMENT_VERIFICATION``: The operation is waiting for the payment method to validate.
         
        * ``PENDING_SUPPORT_CASE``: The operation includes a support case and is waiting for its resolution.
        

        
  
  **Exceptions**
  
  *   :py:class:`Route53Domains.Client.exceptions.InvalidInput`

  