#[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§fn eq(&self, other: &CreateWorkspaceOutput) -> bool
fn eq(&self, other: &CreateWorkspaceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.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.