:doc:`Support <../../support>` / Client / resolve_case

************
resolve_case
************



.. py:method:: Support.Client.resolve_case(**kwargs)

  

  Resolves a support case. This operation takes a ``caseId`` and returns the initial and final state of the case.

   

  .. note::

    

    
    * You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
     
    * If you call the Amazon Web Services Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the ``SubscriptionRequiredException`` error message appears. For information about changing your support plan, see `Amazon Web Services Support <http://aws.amazon.com/premiumsupport/>`__.
    

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCase>`_  


  **Request Syntax**
  ::

    response = client.resolve_case(
        caseId='string'
    )
    
  :type caseId: string
  :param caseId: 

    The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-*12345678910-2013-c4c1d2bf33c5cf47*

    

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

    
    ::

      {
          'initialCaseStatus': 'string',
          'finalCaseStatus': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The status of the case returned by the  ResolveCase operation.

      
      

      - **initialCaseStatus** *(string) --* 

        The status of the case when the  ResolveCase request was sent.

        
      

      - **finalCaseStatus** *(string) --* 

        The status of the case after the  ResolveCase request was processed.

        
  
  **Exceptions**
  
  *   :py:class:`Support.Client.exceptions.InternalServerError`

  
  *   :py:class:`Support.Client.exceptions.CaseIdNotFound`

  