aws_sdk_apigatewayv2/client/
list_product_pages.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 [`ListProductPages`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`max_results(impl Into<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::max_results) / [`set_max_results(Option<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of elements to be returned for this resource.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::set_next_token):<br>required: **false**<br><p>The next page of elements from this collection. Not valid for the last element of the collection.</p><br>
8    ///   - [`portal_product_id(impl Into<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::portal_product_id) / [`set_portal_product_id(Option<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::set_portal_product_id):<br>required: **true**<br><p>The portal product identifier.</p><br>
9    ///   - [`resource_owner_account_id(impl Into<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::resource_owner_account_id) / [`set_resource_owner_account_id(Option<String>)`](crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::set_resource_owner_account_id):<br>required: **false**<br><p>The account ID of the resource owner of the portal product.</p><br>
10    /// - On success, responds with [`ListProductPagesOutput`](crate::operation::list_product_pages::ListProductPagesOutput) with field(s):
11    ///   - [`items(Option<Vec::<ProductPageSummaryNoBody>>)`](crate::operation::list_product_pages::ListProductPagesOutput::items): <p>The elements from this collection.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_product_pages::ListProductPagesOutput::next_token): <p>The next page of elements from this collection. Not valid for the last element of the collection.</p>
13    /// - On failure, responds with [`SdkError<ListProductPagesError>`](crate::operation::list_product_pages::ListProductPagesError)
14    pub fn list_product_pages(&self) -> crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder {
15        crate::operation::list_product_pages::builders::ListProductPagesFluentBuilder::new(self.handle.clone())
16    }
17}