aws_sdk_apigatewayv2/client/
get_product_page.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 [`GetProductPage`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`portal_product_id(impl Into<String>)`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder::portal_product_id) / [`set_portal_product_id(Option<String>)`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder::set_portal_product_id):<br>required: **true**<br><p>The portal product identifier.</p><br>
7    ///   - [`product_page_id(impl Into<String>)`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder::product_page_id) / [`set_product_page_id(Option<String>)`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder::set_product_page_id):<br>required: **true**<br><p>The portal product identifier.</p><br>
8    ///   - [`resource_owner_account_id(impl Into<String>)`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder::resource_owner_account_id) / [`set_resource_owner_account_id(Option<String>)`](crate::operation::get_product_page::builders::GetProductPageFluentBuilder::set_resource_owner_account_id):<br>required: **false**<br><p>The account ID of the resource owner of the portal product.</p><br>
9    /// - On success, responds with [`GetProductPageOutput`](crate::operation::get_product_page::GetProductPageOutput) with field(s):
10    ///   - [`display_content(Option<DisplayContent>)`](crate::operation::get_product_page::GetProductPageOutput::display_content): <p>The content of the product page.</p>
11    ///   - [`last_modified(Option<DateTime>)`](crate::operation::get_product_page::GetProductPageOutput::last_modified): <p>The timestamp when the product page was last modified.</p>
12    ///   - [`product_page_arn(Option<String>)`](crate::operation::get_product_page::GetProductPageOutput::product_page_arn): <p>The ARN of the product page.</p>
13    ///   - [`product_page_id(Option<String>)`](crate::operation::get_product_page::GetProductPageOutput::product_page_id): <p>The product page identifier.</p>
14    /// - On failure, responds with [`SdkError<GetProductPageError>`](crate::operation::get_product_page::GetProductPageError)
15    pub fn get_product_page(&self) -> crate::operation::get_product_page::builders::GetProductPageFluentBuilder {
16        crate::operation::get_product_page::builders::GetProductPageFluentBuilder::new(self.handle.clone())
17    }
18}