aws_sdk_devicefarm/client/list_offerings.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 [`ListOfferings`](crate::operation::list_offerings::builders::ListOfferingsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_offerings::builders::ListOfferingsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_offerings::builders::ListOfferingsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_offerings::builders::ListOfferingsFluentBuilder::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 [`ListOfferingsOutput`](crate::operation::list_offerings::ListOfferingsOutput) with field(s):
9 /// - [`offerings(Option<Vec::<Offering>>)`](crate::operation::list_offerings::ListOfferingsOutput::offerings): <p>A value that represents the list offering results.</p>
10 /// - [`next_token(Option<String>)`](crate::operation::list_offerings::ListOfferingsOutput::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>
11 /// - On failure, responds with [`SdkError<ListOfferingsError>`](crate::operation::list_offerings::ListOfferingsError)
12 pub fn list_offerings(&self) -> crate::operation::list_offerings::builders::ListOfferingsFluentBuilder {
13 crate::operation::list_offerings::builders::ListOfferingsFluentBuilder::new(self.handle.clone())
14 }
15}