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