#[non_exhaustive]pub struct CreateWorkspaceOutput {
pub workspace_id: String,
pub arn: String,
pub status: Option<WorkspaceStatus>,
pub tags: Option<HashMap<String, String>>,
pub kms_key_arn: Option<String>,
/* private fields */
}
Expand description
Represents the output of a CreateWorkspace
operation.
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 unique ID for the new workspace.
arn: String
The ARN for the new workspace.
status: Option<WorkspaceStatus>
The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING
.
The list of tag keys and values that are associated with the workspace.
kms_key_arn: Option<String>
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
Implementations§
source§impl CreateWorkspaceOutput
impl CreateWorkspaceOutput
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The unique ID for the new workspace.
sourcepub fn status(&self) -> Option<&WorkspaceStatus>
pub fn status(&self) -> Option<&WorkspaceStatus>
The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING
.
The list of tag keys and values that are associated with the workspace.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
source§impl CreateWorkspaceOutput
impl CreateWorkspaceOutput
sourcepub fn builder() -> CreateWorkspaceOutputBuilder
pub fn builder() -> CreateWorkspaceOutputBuilder
Creates a new builder-style object to manufacture CreateWorkspaceOutput
.
Trait Implementations§
source§impl Clone for CreateWorkspaceOutput
impl Clone for CreateWorkspaceOutput
source§fn clone(&self) -> CreateWorkspaceOutput
fn clone(&self) -> CreateWorkspaceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkspaceOutput
impl Debug for CreateWorkspaceOutput
source§impl PartialEq for CreateWorkspaceOutput
impl PartialEq for CreateWorkspaceOutput
source§impl RequestId for CreateWorkspaceOutput
impl RequestId for CreateWorkspaceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateWorkspaceOutput
Auto Trait Implementations§
impl Freeze for CreateWorkspaceOutput
impl RefUnwindSafe for CreateWorkspaceOutput
impl Send for CreateWorkspaceOutput
impl Sync for CreateWorkspaceOutput
impl Unpin for CreateWorkspaceOutput
impl UnwindSafe for CreateWorkspaceOutput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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