aws_sdk_redshiftserverless/client/get_reservation_offering.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetReservationOffering`](crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetReservationOfferingOutput`](crate::operation::get_reservation_offering::GetReservationOfferingOutput) with field(s):
8 /// - [`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>
9 /// - On failure, responds with [`SdkError<GetReservationOfferingError>`](crate::operation::get_reservation_offering::GetReservationOfferingError)
10 pub fn get_reservation_offering(&self) -> crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder {
11 crate::operation::get_reservation_offering::builders::GetReservationOfferingFluentBuilder::new(self.handle.clone())
12 }
13}