SavingsPlans / Client / return_savings_plan

return_savings_plan#

SavingsPlans.Client.return_savings_plan(**kwargs)#

Returns the specified Savings Plan.

See also: AWS API Documentation

Request Syntax

response = client.return_savings_plan(
    savingsPlanId='string',
    clientToken='string'
)
Parameters:
  • savingsPlanId (string) –

    [REQUIRED]

    The ID of the Savings Plan.

  • clientToken (string) –

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

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'savingsPlanId': 'string'
}

Response Structure

  • (dict) –

    • savingsPlanId (string) –

      The ID of the Savings Plan.

Exceptions

  • SavingsPlans.Client.exceptions.ValidationException

  • SavingsPlans.Client.exceptions.ResourceNotFoundException

  • SavingsPlans.Client.exceptions.InternalServerException

  • SavingsPlans.Client.exceptions.ServiceQuotaExceededException