aws_sdk_apigatewayv2/client/create_portal_product.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 [`CreatePortalProduct`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`description(impl Into<String>)`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::set_description):<br>required: **false**<br><p>A description of the portal product.</p><br>
7 /// - [`display_name(impl Into<String>)`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::set_display_name):<br>required: **true**<br><p>The name of the portal product as it appears in a published portal.</p><br>
8 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::set_tags):<br>required: **false**<br><p>The collection of tags. Each tag element is associated with a given resource.</p><br>
9 /// - On success, responds with [`CreatePortalProductOutput`](crate::operation::create_portal_product::CreatePortalProductOutput) with field(s):
10 /// - [`description(Option<String>)`](crate::operation::create_portal_product::CreatePortalProductOutput::description): <p>A description of the portal product.</p>
11 /// - [`display_name(Option<String>)`](crate::operation::create_portal_product::CreatePortalProductOutput::display_name): <p>The display name for the portal product.</p>
12 /// - [`display_order(Option<DisplayOrder>)`](crate::operation::create_portal_product::CreatePortalProductOutput::display_order): <p>The visual ordering of the product pages and product REST endpoint pages in a published portal.</p>
13 /// - [`last_modified(Option<DateTime>)`](crate::operation::create_portal_product::CreatePortalProductOutput::last_modified): <p>The timestamp when the portal product was last modified.</p>
14 /// - [`portal_product_arn(Option<String>)`](crate::operation::create_portal_product::CreatePortalProductOutput::portal_product_arn): <p>The ARN of the portal product.</p>
15 /// - [`portal_product_id(Option<String>)`](crate::operation::create_portal_product::CreatePortalProductOutput::portal_product_id): <p>The portal product identifier.</p>
16 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_portal_product::CreatePortalProductOutput::tags): <p>The collection of tags. Each tag element is associated with a given resource.</p>
17 /// - On failure, responds with [`SdkError<CreatePortalProductError>`](crate::operation::create_portal_product::CreatePortalProductError)
18 pub fn create_portal_product(&self) -> crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder {
19 crate::operation::create_portal_product::builders::CreatePortalProductFluentBuilder::new(self.handle.clone())
20 }
21}