aws-sdk-apiportal 1.1.0

AWS SDK for APIPortal
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPortal`](crate::operation::get_portal::builders::GetPortalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`portal_id(impl Into<String>)`](crate::operation::get_portal::builders::GetPortalFluentBuilder::portal_id) / [`set_portal_id(Option<String>)`](crate::operation::get_portal::builders::GetPortalFluentBuilder::set_portal_id):<br>required: **true**<br>The identifier of the portal.<br>
    /// - On success, responds with [`GetPortalOutput`](crate::operation::get_portal::GetPortalOutput) with field(s):
    ///   - [`portal_id(String)`](crate::operation::get_portal::GetPortalOutput::portal_id): The identifier of the portal.
    ///   - [`portal_arn(String)`](crate::operation::get_portal::GetPortalOutput::portal_arn): The ARN of the portal.
    ///   - [`endpoint_configuration(Option<EndpointConfigurationResponse>)`](crate::operation::get_portal::GetPortalOutput::endpoint_configuration): The domain configuration of the portal.
    ///   - [`authorization(Option<Authorization>)`](crate::operation::get_portal::GetPortalOutput::authorization): How readers sign in to the portal, and whether fine-grained access control is on.
    ///   - [`portal_content(Option<PortalContent>)`](crate::operation::get_portal::GetPortalOutput::portal_content): The portal's display name, description, and theme.
    ///   - [`included_product_arns(Vec::<String>)`](crate::operation::get_portal::GetPortalOutput::included_product_arns): The ARNs of the products the portal includes.
    ///   - [`publish_status(Option<PublishStatus>)`](crate::operation::get_portal::GetPortalOutput::publish_status): The publish status of the portal. Absent if the portal has never been published.
    ///   - [`status_exception(Option<PortalStatusException>)`](crate::operation::get_portal::GetPortalOutput::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::get_portal::GetPortalOutput::updated_at): When the resource was last updated.
    ///   - [`published_at(Option<DateTime>)`](crate::operation::get_portal::GetPortalOutput::published_at): When the portal was last published.
    ///   - [`publish_description(Option<String>)`](crate::operation::get_portal::GetPortalOutput::publish_description): The description supplied with the most recent publish request.
    ///   - [`rum_app_monitor_name(Option<String>)`](crate::operation::get_portal::GetPortalOutput::rum_app_monitor_name): The name of the CloudWatch RUM app monitor that collects reader telemetry for the portal.
    ///   - [`preview(Option<Preview>)`](crate::operation::get_portal::GetPortalOutput::preview): The most recent preview of the portal. Absent if no preview has been created.
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_portal::GetPortalOutput::tags): Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.
    /// - On failure, responds with [`SdkError<GetPortalError>`](crate::operation::get_portal::GetPortalError)
    pub fn get_portal(&self) -> crate::operation::get_portal::builders::GetPortalFluentBuilder {
        crate::operation::get_portal::builders::GetPortalFluentBuilder::new(self.handle.clone())
    }
}