#[non_exhaustive]pub struct GetWorkspaceOutput {
pub workspace_id: String,
pub arn: String,
pub description: Option<String>,
pub linked_services: Option<Vec<String>>,
pub s3_location: Option<String>,
pub role: Option<String>,
pub creation_date_time: DateTime,
pub update_date_time: DateTime,
/* 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.workspace_id: String
The ID of the workspace.
arn: String
The ARN of the workspace.
description: Option<String>
The description of the workspace.
linked_services: Option<Vec<String>>
A list of services that are linked to the workspace.
s3_location: Option<String>
The ARN of the S3 bucket where resources associated with the workspace are stored.
role: Option<String>
The ARN of the execution role associated with the workspace.
creation_date_time: DateTime
The date and time when the workspace was created.
update_date_time: DateTime
The date and time when the workspace was last updated.
Implementations§
source§impl GetWorkspaceOutput
impl GetWorkspaceOutput
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The ID of the workspace.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the workspace.
sourcepub fn linked_services(&self) -> &[String]
pub fn linked_services(&self) -> &[String]
A list of services that are linked to the workspace.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .linked_services.is_none()
.
sourcepub fn s3_location(&self) -> Option<&str>
pub fn s3_location(&self) -> Option<&str>
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The ARN of the execution role associated with the workspace.
sourcepub fn creation_date_time(&self) -> &DateTime
pub fn creation_date_time(&self) -> &DateTime
The date and time when the workspace was created.
sourcepub fn update_date_time(&self) -> &DateTime
pub fn update_date_time(&self) -> &DateTime
The date and time when the workspace was last updated.
source§impl GetWorkspaceOutput
impl GetWorkspaceOutput
sourcepub fn builder() -> GetWorkspaceOutputBuilder
pub fn builder() -> GetWorkspaceOutputBuilder
Creates a new builder-style object to manufacture GetWorkspaceOutput
.
Trait Implementations§
source§impl Clone for GetWorkspaceOutput
impl Clone for GetWorkspaceOutput
source§fn clone(&self) -> GetWorkspaceOutput
fn clone(&self) -> GetWorkspaceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWorkspaceOutput
impl Debug for GetWorkspaceOutput
source§impl PartialEq for GetWorkspaceOutput
impl PartialEq for GetWorkspaceOutput
source§fn eq(&self, other: &GetWorkspaceOutput) -> bool
fn eq(&self, other: &GetWorkspaceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetWorkspaceOutput
impl RequestId for GetWorkspaceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.