aws_sdk_devicefarm/client/
get_offering_status.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 [`GetOfferingStatus`](crate::operation::get_offering_status::builders::GetOfferingStatusFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_offering_status::builders::GetOfferingStatusFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::get_offering_status::builders::GetOfferingStatusFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_offering_status::builders::GetOfferingStatusFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p><br>
8    /// - On success, responds with [`GetOfferingStatusOutput`](crate::operation::get_offering_status::GetOfferingStatusOutput) with field(s):
9    ///   - [`current(Option<HashMap::<String, OfferingStatus>>)`](crate::operation::get_offering_status::GetOfferingStatusOutput::current): <p>When specified, gets the offering status for the current period.</p>
10    ///   - [`next_period(Option<HashMap::<String, OfferingStatus>>)`](crate::operation::get_offering_status::GetOfferingStatusOutput::next_period): <p>When specified, gets the offering status for the next period.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::get_offering_status::GetOfferingStatusOutput::next_token): <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
12    /// - On failure, responds with [`SdkError<GetOfferingStatusError>`](crate::operation::get_offering_status::GetOfferingStatusError)
13    pub fn get_offering_status(&self) -> crate::operation::get_offering_status::builders::GetOfferingStatusFluentBuilder {
14        crate::operation::get_offering_status::builders::GetOfferingStatusFluentBuilder::new(self.handle.clone())
15    }
16}