aws_sdk_apigatewayv2/client/
create_product_rest_endpoint_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 [`CreateProductRestEndpointPage`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`display_content(EndpointDisplayContent)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::display_content) / [`set_display_content(Option<EndpointDisplayContent>)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::set_display_content):<br>required: **false**<br><p>The content of the product REST endpoint page.</p><br>
7    ///   - [`portal_product_id(impl Into<String>)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::portal_product_id) / [`set_portal_product_id(Option<String>)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::set_portal_product_id):<br>required: **true**<br><p>The portal product identifier.</p><br>
8    ///   - [`rest_endpoint_identifier(RestEndpointIdentifier)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::rest_endpoint_identifier) / [`set_rest_endpoint_identifier(Option<RestEndpointIdentifier>)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::set_rest_endpoint_identifier):<br>required: **true**<br><p>The REST endpoint identifier.</p><br>
9    ///   - [`try_it_state(TryItState)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::try_it_state) / [`set_try_it_state(Option<TryItState>)`](crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::set_try_it_state):<br>required: **false**<br><p>The try it state of the product REST endpoint page.</p><br>
10    /// - On success, responds with [`CreateProductRestEndpointPageOutput`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput) with field(s):
11    ///   - [`display_content(Option<EndpointDisplayContentResponse>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::display_content): <p>The display content.</p>
12    ///   - [`last_modified(Option<DateTime>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::last_modified): <p>The timestamp when the product REST endpoint page was last modified.</p>
13    ///   - [`product_rest_endpoint_page_arn(Option<String>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::product_rest_endpoint_page_arn): <p>The ARN of the product REST endpoint page.</p>
14    ///   - [`product_rest_endpoint_page_id(Option<String>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::product_rest_endpoint_page_id): <p>The product REST endpoint page identifier.</p>
15    ///   - [`rest_endpoint_identifier(Option<RestEndpointIdentifier>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::rest_endpoint_identifier): <p>The REST endpoint identifier.</p>
16    ///   - [`status(Option<Status>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::status): <p>The status.</p>
17    ///   - [`status_exception(Option<StatusException>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::status_exception): <p>The status exception information.</p>
18    ///   - [`try_it_state(Option<TryItState>)`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageOutput::try_it_state): <p>The try it state.</p>
19    /// - On failure, responds with [`SdkError<CreateProductRestEndpointPageError>`](crate::operation::create_product_rest_endpoint_page::CreateProductRestEndpointPageError)
20    pub fn create_product_rest_endpoint_page(
21        &self,
22    ) -> crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder {
23        crate::operation::create_product_rest_endpoint_page::builders::CreateProductRestEndpointPageFluentBuilder::new(self.handle.clone())
24    }
25}