:doc:`SavingsPlans <../../savingsplans>` / Client / return_savings_plan

*******************
return_savings_plan
*******************



.. py:method:: SavingsPlans.Client.return_savings_plan(**kwargs)

  

  Returns the specified Savings Plan.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/ReturnSavingsPlan>`_  


  **Request Syntax**
  ::

    response = client.return_savings_plan(
        savingsPlanId='string',
        clientToken='string'
    )
    
  :type savingsPlanId: string
  :param savingsPlanId: **[REQUIRED]** 

    The ID of the Savings Plan.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'savingsPlanId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **savingsPlanId** *(string) --* 

        The ID of the Savings Plan.

        
  
  **Exceptions**
  
  *   :py:class:`SavingsPlans.Client.exceptions.ValidationException`

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

  
  *   :py:class:`SavingsPlans.Client.exceptions.InternalServerException`

  
  *   :py:class:`SavingsPlans.Client.exceptions.ServiceQuotaExceededException`

  