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

*************************************
describe_savings_plans_offering_rates
*************************************



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

  

  Describes the offering rates for Savings Plans you might want to purchase.

  

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


  **Request Syntax**
  ::

    response = client.describe_savings_plans_offering_rates(
        savingsPlanOfferingIds=[
            'string',
        ],
        savingsPlanPaymentOptions=[
            'All Upfront'|'Partial Upfront'|'No Upfront',
        ],
        savingsPlanTypes=[
            'Compute'|'EC2Instance'|'SageMaker'|'Database',
        ],
        products=[
            'EC2'|'Fargate'|'Lambda'|'SageMaker'|'RDS'|'DSQL'|'DynamoDB'|'ElastiCache'|'DocDB'|'Neptune'|'Timestream'|'Keyspaces'|'DMS',
        ],
        serviceCodes=[
            'AmazonEC2'|'AmazonECS'|'AmazonEKS'|'AWSLambda'|'AmazonSageMaker'|'AmazonRDS'|'AuroraDSQL'|'AmazonDynamoDB'|'AmazonElastiCache'|'AmazonDocDB'|'AmazonNeptune'|'AmazonTimestream'|'AmazonMCS'|'AWSDatabaseMigrationSvc',
        ],
        usageTypes=[
            'string',
        ],
        operations=[
            'string',
        ],
        filters=[
            {
                'name': 'region'|'instanceFamily'|'instanceType'|'productDescription'|'tenancy'|'productId',
                'values': [
                    'string',
                ]
            },
        ],
        nextToken='string',
        maxResults=123
    )
    
  :type savingsPlanOfferingIds: list
  :param savingsPlanOfferingIds: 

    The IDs of the offerings.

    

  
    - *(string) --* 

    

  :type savingsPlanPaymentOptions: list
  :param savingsPlanPaymentOptions: 

    The payment options.

    

  
    - *(string) --* 

    

  :type savingsPlanTypes: list
  :param savingsPlanTypes: 

    The plan types.

    

  
    - *(string) --* 

    

  :type products: list
  :param products: 

    The Amazon Web Services products.

    

  
    - *(string) --* 

    

  :type serviceCodes: list
  :param serviceCodes: 

    The services.

    

  
    - *(string) --* 

    

  :type usageTypes: list
  :param usageTypes: 

    The usage details of the line item in the billing report.

    

  
    - *(string) --* 

    

  :type operations: list
  :param operations: 

    The specific Amazon Web Services operation for the line item in the billing report.

    

  
    - *(string) --* 

    

  :type filters: list
  :param filters: 

    The filters.

    

  
    - *(dict) --* 

      Information about a Savings Plan offering rate filter.

      

    
      - **name** *(string) --* 

        The filter name.

        

      
      - **values** *(list) --* 

        The filter values.

        

      
        - *(string) --* 

        
    
    

  :type nextToken: string
  :param nextToken: 

    The token for the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

    

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

    
    ::

      {
          'searchResults': [
              {
                  'savingsPlanOffering': {
                      'offeringId': 'string',
                      'paymentOption': 'All Upfront'|'Partial Upfront'|'No Upfront',
                      'planType': 'Compute'|'EC2Instance'|'SageMaker'|'Database',
                      'durationSeconds': 123,
                      'currency': 'CNY'|'USD'|'EUR',
                      'planDescription': 'string'
                  },
                  'rate': 'string',
                  'unit': 'Hrs'|'Lambda-GB-Second'|'Request'|'ACU-Hr'|'ReadRequestUnits'|'WriteRequestUnits'|'ReadCapacityUnit-Hrs'|'WriteCapacityUnit-Hrs'|'ReplicatedWriteRequestUnits'|'ReplicatedWriteCapacityUnit-Hrs'|'GB-Hours'|'DPU'|'ElastiCacheProcessingUnit'|'DCU-Hr'|'NCU-hr',
                  'productType': 'EC2'|'Fargate'|'Lambda'|'SageMaker'|'RDS'|'DSQL'|'DynamoDB'|'ElastiCache'|'DocDB'|'Neptune'|'Timestream'|'Keyspaces'|'DMS',
                  'serviceCode': 'AmazonEC2'|'AmazonECS'|'AmazonEKS'|'AWSLambda'|'AmazonSageMaker'|'AmazonRDS'|'AuroraDSQL'|'AmazonDynamoDB'|'AmazonElastiCache'|'AmazonDocDB'|'AmazonNeptune'|'AmazonTimestream'|'AmazonMCS'|'AWSDatabaseMigrationSvc',
                  'usageType': 'string',
                  'operation': 'string',
                  'properties': [
                      {
                          'name': 'string',
                          'value': 'string'
                      },
                  ]
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **searchResults** *(list) --* 

        Information about the Savings Plans offering rates.

        
        

        - *(dict) --* 

          Information about a Savings Plan offering rate.

          
          

          - **savingsPlanOffering** *(dict) --* 

            The Savings Plan offering.

            
            

            - **offeringId** *(string) --* 

              The ID of the offering.

              
            

            - **paymentOption** *(string) --* 

              The payment option.

              
            

            - **planType** *(string) --* 

              The plan type.

              
            

            - **durationSeconds** *(integer) --* 

              The duration, in seconds.

              
            

            - **currency** *(string) --* 

              The currency.

              
            

            - **planDescription** *(string) --* 

              The description.

              
        
          

          - **rate** *(string) --* 

            The Savings Plan rate.

            
          

          - **unit** *(string) --* 

            The unit.

            
          

          - **productType** *(string) --* 

            The product type.

            
          

          - **serviceCode** *(string) --* 

            The service.

            
          

          - **usageType** *(string) --* 

            The usage details of the line item in the billing report.

            
          

          - **operation** *(string) --* 

            The specific Amazon Web Services operation for the line item in the billing report.

            
          

          - **properties** *(list) --* 

            The properties.

            
            

            - *(dict) --* 

              Information about a Savings Plan offering rate property.

              
              

              - **name** *(string) --* 

                The property name.

                
              

              - **value** *(string) --* 

                The property value.

                
          
        
      
    
      

      - **nextToken** *(string) --* 

        The token to use to retrieve the next page of results. This value is null when there are no more results to return.

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

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

  