aws-sdk-redshiftserverless 1.106.0

AWS SDK for Redshift Serverless
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetReservationOffering`](crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`offering_id(impl Into<String>)`](crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder::offering_id) / [`set_offering_id(Option<String>)`](crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder::set_offering_id):<br>required: **true**<br><p>The identifier for the offering..</p><br>
    /// - On success, responds with [`GetReservationOfferingOutput`](crate::operation::get_reservation_offering::GetReservationOfferingOutput) with field(s):
    ///   - [`reservation_offering(Option<ReservationOffering>)`](crate::operation::get_reservation_offering::GetReservationOfferingOutput::reservation_offering): <p>The returned reservation offering. The offering determines the payment schedule for the reservation.</p>
    /// - On failure, responds with [`SdkError<GetReservationOfferingError>`](crate::operation::get_reservation_offering::GetReservationOfferingError)
    pub fn get_reservation_offering(&self) -> crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder {
        crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder::new(self.handle.clone())
    }
}