aws_sdk_workspacesweb/client/get_portal.rs
// 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_arn(impl Into<String>)`](crate::operation::get_portal::builders::GetPortalFluentBuilder::portal_arn) / [`set_portal_arn(Option<String>)`](crate::operation::get_portal::builders::GetPortalFluentBuilder::set_portal_arn):<br>required: **true**<br><p>The ARN of the web portal.</p><br>
/// - On success, responds with [`GetPortalOutput`](crate::operation::get_portal::GetPortalOutput) with field(s):
/// - [`portal(Option<Portal>)`](crate::operation::get_portal::GetPortalOutput::portal): <p>The web portal.</p>
/// - 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())
}
}