aws_sdk_devicefarm/client/list_offering_promotions.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 [`ListOfferingPromotions`](crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`next_token(impl Into<String>)`](crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder::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>
7 /// - On success, responds with [`ListOfferingPromotionsOutput`](crate::operation::list_offering_promotions::ListOfferingPromotionsOutput) with field(s):
8 /// - [`offering_promotions(Option<Vec::<OfferingPromotion>>)`](crate::operation::list_offering_promotions::ListOfferingPromotionsOutput::offering_promotions): <p>Information about the offering promotions.</p>
9 /// - [`next_token(Option<String>)`](crate::operation::list_offering_promotions::ListOfferingPromotionsOutput::next_token): <p>An identifier to be used in the next call to this operation, to return the next set of items in the list.</p>
10 /// - On failure, responds with [`SdkError<ListOfferingPromotionsError>`](crate::operation::list_offering_promotions::ListOfferingPromotionsError)
11 pub fn list_offering_promotions(&self) -> crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder {
12 crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder::new(self.handle.clone())
13 }
14}