aws_sdk_mediaconnect/client/
describe_reservation.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 [`DescribeReservation`](crate::operation::describe_reservation::builders::DescribeReservationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`reservation_arn(impl Into<String>)`](crate::operation::describe_reservation::builders::DescribeReservationFluentBuilder::reservation_arn) / [`set_reservation_arn(Option<String>)`](crate::operation::describe_reservation::builders::DescribeReservationFluentBuilder::set_reservation_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the offering.</p><br>
7    /// - On success, responds with [`DescribeReservationOutput`](crate::operation::describe_reservation::DescribeReservationOutput) with field(s):
8    ///   - [`reservation(Option<Reservation>)`](crate::operation::describe_reservation::DescribeReservationOutput::reservation): <p>A pricing agreement for a discounted rate for a specific outbound bandwidth that your MediaConnect account will use each month over a specific time period. The discounted rate in the reservation applies to outbound bandwidth for all flows from your account until your account reaches the amount of bandwidth in your reservation. If you use more outbound bandwidth than the agreed upon amount in a single month, the overage is charged at the on-demand rate.</p>
9    /// - On failure, responds with [`SdkError<DescribeReservationError>`](crate::operation::describe_reservation::DescribeReservationError)
10    pub fn describe_reservation(&self) -> crate::operation::describe_reservation::builders::DescribeReservationFluentBuilder {
11        crate::operation::describe_reservation::builders::DescribeReservationFluentBuilder::new(self.handle.clone())
12    }
13}