#[non_exhaustive]pub struct CreatePortalOutput {
pub portal_id: String,
pub portal_arn: String,
pub portal_start_url: String,
pub portal_status: Option<PortalStatus>,
pub sso_application_id: String,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.portal_id: StringThe ID of the created portal.
portal_arn: StringThe ARN of the portal, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
portal_start_url: StringThe URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
portal_status: Option<PortalStatus>The status of the portal, which contains a state (CREATING after successfully calling this operation) and any error message.
sso_application_id: StringThe associated IAM Identity Center application ID, if the portal uses IAM Identity Center.
Implementations§
source§impl CreatePortalOutput
impl CreatePortalOutput
sourcepub fn portal_arn(&self) -> &str
pub fn portal_arn(&self) -> &str
The ARN of the portal, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
sourcepub fn portal_start_url(&self) -> &str
pub fn portal_start_url(&self) -> &str
The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
sourcepub fn portal_status(&self) -> Option<&PortalStatus>
pub fn portal_status(&self) -> Option<&PortalStatus>
The status of the portal, which contains a state (CREATING after successfully calling this operation) and any error message.
sourcepub fn sso_application_id(&self) -> &str
pub fn sso_application_id(&self) -> &str
The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.
source§impl CreatePortalOutput
impl CreatePortalOutput
sourcepub fn builder() -> CreatePortalOutputBuilder
pub fn builder() -> CreatePortalOutputBuilder
Creates a new builder-style object to manufacture CreatePortalOutput.
Trait Implementations§
source§impl Clone for CreatePortalOutput
impl Clone for CreatePortalOutput
source§fn clone(&self) -> CreatePortalOutput
fn clone(&self) -> CreatePortalOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreatePortalOutput
impl Debug for CreatePortalOutput
source§impl PartialEq for CreatePortalOutput
impl PartialEq for CreatePortalOutput
source§fn eq(&self, other: &CreatePortalOutput) -> bool
fn eq(&self, other: &CreatePortalOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreatePortalOutput
impl RequestId for CreatePortalOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreatePortalOutput
Auto Trait Implementations§
impl Freeze for CreatePortalOutput
impl RefUnwindSafe for CreatePortalOutput
impl Send for CreatePortalOutput
impl Sync for CreatePortalOutput
impl Unpin for CreatePortalOutput
impl UnwindSafe for CreatePortalOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more