#[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: StringThe ID of the workspace.
arn: StringThe 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: DateTimeThe date and time when the workspace was created.
update_date_time: DateTimeThe 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§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.impl StructuralPartialEq for GetWorkspaceOutput
Auto Trait Implementations§
impl Freeze for GetWorkspaceOutput
impl RefUnwindSafe for GetWorkspaceOutput
impl Send for GetWorkspaceOutput
impl Sync for GetWorkspaceOutput
impl Unpin for GetWorkspaceOutput
impl UnwindSafe for GetWorkspaceOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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