// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreatePortal`](crate::operation::create_portal::builders::CreatePortalFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`portal_content(PortalContent)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::portal_content) / [`set_portal_content(Option<PortalContent>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_portal_content):<br>required: **true**<br>The portal's display name, description, and theme.<br>
/// - [`endpoint_configuration(EndpointConfigurationRequest)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::endpoint_configuration) / [`set_endpoint_configuration(Option<EndpointConfigurationRequest>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_endpoint_configuration):<br>required: **true**<br>Exactly one of the members is set: `none` for no custom domain, or `acmManaged` to bring a domain + ACM certificate. Modeled as a union so the "exactly one" choice is enforced by type.<br>
/// - [`authorization(Authorization)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::authorization) / [`set_authorization(Option<Authorization>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_authorization):<br>required: **true**<br>How readers sign in to the portal, and whether fine-grained access control is on.<br>
/// - [`included_product_arns(impl Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::included_product_arns) / [`set_included_product_arns(Option<Vec::<String>>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_included_product_arns):<br>required: **false**<br>The ARNs of the products the portal includes, up to 200.<br>
/// - [`logo_uri(impl Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::logo_uri) / [`set_logo_uri(Option<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_logo_uri):<br>required: **false**<br>The S3 location of the portal logo, in the form `s3://bucket/key`.<br>
/// - [`rum_app_monitor_name(impl Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::rum_app_monitor_name) / [`set_rum_app_monitor_name(Option<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_rum_app_monitor_name):<br>required: **false**<br>The name of the CloudWatch RUM app monitor that collects reader telemetry for the portal.<br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_portal::builders::CreatePortalFluentBuilder::set_tags):<br>required: **false**<br>Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.<br>
/// - On success, responds with [`CreatePortalOutput`](crate::operation::create_portal::CreatePortalOutput) with field(s):
/// - [`portal_id(String)`](crate::operation::create_portal::CreatePortalOutput::portal_id): The identifier of the portal.
/// - [`portal_arn(String)`](crate::operation::create_portal::CreatePortalOutput::portal_arn): The ARN of the portal.
/// - [`endpoint_configuration(Option<EndpointConfigurationResponse>)`](crate::operation::create_portal::CreatePortalOutput::endpoint_configuration): The domain configuration of the portal.
/// - [`authorization(Option<Authorization>)`](crate::operation::create_portal::CreatePortalOutput::authorization): How readers sign in to the portal, and whether fine-grained access control is on.
/// - [`portal_content(Option<PortalContent>)`](crate::operation::create_portal::CreatePortalOutput::portal_content): The portal's display name, description, and theme.
/// - [`included_product_arns(Vec::<String>)`](crate::operation::create_portal::CreatePortalOutput::included_product_arns): The ARNs of the products the portal includes.
/// - [`publish_status(Option<PublishStatus>)`](crate::operation::create_portal::CreatePortalOutput::publish_status): The publish status of the portal. Absent if the portal has never been published.
/// - [`status_exception(Option<PortalStatusException>)`](crate::operation::create_portal::CreatePortalOutput::status_exception): Failure detail attached to a Portal's publish/preview status: a typed reason plus an optional human-readable message.
/// - [`updated_at(DateTime)`](crate::operation::create_portal::CreatePortalOutput::updated_at): When the resource was last updated.
/// - [`published_at(Option<DateTime>)`](crate::operation::create_portal::CreatePortalOutput::published_at): When the portal was last published.
/// - [`publish_description(Option<String>)`](crate::operation::create_portal::CreatePortalOutput::publish_description): The description supplied with the most recent publish request.
/// - [`rum_app_monitor_name(Option<String>)`](crate::operation::create_portal::CreatePortalOutput::rum_app_monitor_name): The name of the CloudWatch RUM app monitor that collects reader telemetry for the portal.
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_portal::CreatePortalOutput::tags): Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.
/// - On failure, responds with [`SdkError<CreatePortalError>`](crate::operation::create_portal::CreatePortalError)
pub fn create_portal(&self) -> crate::operation::create_portal::builders::CreatePortalFluentBuilder {
crate::operation::create_portal::builders::CreatePortalFluentBuilder::new(self.handle.clone())
}
}