Struct aws_sdk_amp::types::WorkspaceSummary
source · #[non_exhaustive]pub struct WorkspaceSummary {
pub workspace_id: String,
pub alias: Option<String>,
pub arn: String,
pub status: Option<WorkspaceStatus>,
pub created_at: DateTime,
pub tags: Option<HashMap<String, String>>,
pub kms_key_arn: Option<String>,
}Expand description
The information about one Amazon Managed Service for Prometheus workspace in your account.
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 unique ID for the workspace.
alias: Option<String>The alias that is assigned to this workspace to help identify it. It may not be unique.
arn: StringThe ARN of the workspace.
status: Option<WorkspaceStatus>The current status of the workspace.
created_at: DateTimeThe date and time that the workspace was created.
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 WorkspaceSummary
impl WorkspaceSummary
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The unique ID for the workspace.
sourcepub fn alias(&self) -> Option<&str>
pub fn alias(&self) -> Option<&str>
The alias that is assigned to this workspace to help identify it. It may not be unique.
sourcepub fn status(&self) -> Option<&WorkspaceStatus>
pub fn status(&self) -> Option<&WorkspaceStatus>
The current status of the workspace.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time that the workspace was created.
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 WorkspaceSummary
impl WorkspaceSummary
sourcepub fn builder() -> WorkspaceSummaryBuilder
pub fn builder() -> WorkspaceSummaryBuilder
Creates a new builder-style object to manufacture WorkspaceSummary.
Trait Implementations§
source§impl Clone for WorkspaceSummary
impl Clone for WorkspaceSummary
source§fn clone(&self) -> WorkspaceSummary
fn clone(&self) -> WorkspaceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WorkspaceSummary
impl Debug for WorkspaceSummary
source§impl PartialEq for WorkspaceSummary
impl PartialEq for WorkspaceSummary
source§fn eq(&self, other: &WorkspaceSummary) -> bool
fn eq(&self, other: &WorkspaceSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for WorkspaceSummary
Auto Trait Implementations§
impl Freeze for WorkspaceSummary
impl RefUnwindSafe for WorkspaceSummary
impl Send for WorkspaceSummary
impl Sync for WorkspaceSummary
impl Unpin for WorkspaceSummary
impl UnwindSafe for WorkspaceSummary
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