aws_sdk_workspacesweb/client/get_portal.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 [`GetPortal`](crate::operation::get_portal::builders::GetPortalFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetPortalOutput`](crate::operation::get_portal::GetPortalOutput) with field(s):
8 /// - [`portal(Option<Portal>)`](crate::operation::get_portal::GetPortalOutput::portal): <p>The web portal.</p>
9 /// - On failure, responds with [`SdkError<GetPortalError>`](crate::operation::get_portal::GetPortalError)
10 pub fn get_portal(&self) -> crate::operation::get_portal::builders::GetPortalFluentBuilder {
11 crate::operation::get_portal::builders::GetPortalFluentBuilder::new(self.handle.clone())
12 }
13}