aws_sdk_devicefarm/client/
renew_offering.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RenewOffering`](crate::operation::renew_offering::builders::RenewOfferingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`offering_id(impl Into<String>)`](crate::operation::renew_offering::builders::RenewOfferingFluentBuilder::offering_id) / [`set_offering_id(Option<String>)`](crate::operation::renew_offering::builders::RenewOfferingFluentBuilder::set_offering_id):<br>required: **true**<br><p>The ID of a request to renew an offering.</p><br>
    ///   - [`quantity(i32)`](crate::operation::renew_offering::builders::RenewOfferingFluentBuilder::quantity) / [`set_quantity(Option<i32>)`](crate::operation::renew_offering::builders::RenewOfferingFluentBuilder::set_quantity):<br>required: **true**<br><p>The quantity requested in an offering renewal.</p><br>
    /// - On success, responds with [`RenewOfferingOutput`](crate::operation::renew_offering::RenewOfferingOutput) with field(s):
    ///   - [`offering_transaction(Option<OfferingTransaction>)`](crate::operation::renew_offering::RenewOfferingOutput::offering_transaction): <p>Represents the status of the offering transaction for the renewal.</p>
    /// - On failure, responds with [`SdkError<RenewOfferingError>`](crate::operation::renew_offering::RenewOfferingError)
    pub fn renew_offering(&self) -> crate::operation::renew_offering::builders::RenewOfferingFluentBuilder {
        crate::operation::renew_offering::builders::RenewOfferingFluentBuilder::new(self.handle.clone())
    }
}