:doc:`RedshiftServerless <../../redshift-serverless>` / Client / get_reservation_offering

************************
get_reservation_offering
************************



.. py:method:: RedshiftServerless.Client.get_reservation_offering(**kwargs)

  

  Returns the reservation offering. The offering determines the payment schedule for the reservation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetReservationOffering>`_  


  **Request Syntax**
  ::

    response = client.get_reservation_offering(
        offeringId='string'
    )
    
  :type offeringId: string
  :param offeringId: **[REQUIRED]** 

    The identifier for the offering..

    

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

    
    ::

      {
          'reservationOffering': {
              'currencyCode': 'string',
              'duration': 123,
              'hourlyCharge': 123.0,
              'offeringId': 'string',
              'offeringType': 'ALL_UPFRONT'|'NO_UPFRONT',
              'upfrontCharge': 123.0
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **reservationOffering** *(dict) --* 

        The returned reservation offering. The offering determines the payment schedule for the reservation.

        
        

        - **currencyCode** *(string) --* 

          The currency code for the offering.

          
        

        - **duration** *(integer) --* 

          The duration, in seconds, for which the reservation reserves the RPUs.

          
        

        - **hourlyCharge** *(float) --* 

          The rate you are charged for each hour the reservation is active.

          
        

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

          The offering identifier.

          
        

        - **offeringType** *(string) --* 

          Determines the payment schedule for the reservation.

          
        

        - **upfrontCharge** *(float) --* 

          The up-front price you are charged for the reservation.

          
    
  
  **Exceptions**
  
  *   :py:class:`RedshiftServerless.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ValidationException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ThrottlingException`

  