aws_sdk_devicefarm/client/list_offering_promotions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListOfferingPromotions`](crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`ListOfferingPromotionsOutput`](crate::operation::list_offering_promotions::ListOfferingPromotionsOutput) with field(s):
/// - [`offering_promotions(Option<Vec::<OfferingPromotion>>)`](crate::operation::list_offering_promotions::ListOfferingPromotionsOutput::offering_promotions): <p>Information about the offering promotions.</p>
/// - [`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>
/// - On failure, responds with [`SdkError<ListOfferingPromotionsError>`](crate::operation::list_offering_promotions::ListOfferingPromotionsError)
pub fn list_offering_promotions(&self) -> crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder {
crate::operation::list_offering_promotions::builders::ListOfferingPromotionsFluentBuilder::new(self.handle.clone())
}
}