Struct aws_sdk_amp::types::WorkspaceDescription
source · #[non_exhaustive]pub struct WorkspaceDescription {
pub workspace_id: String,
pub alias: Option<String>,
pub arn: String,
pub status: Option<WorkspaceStatus>,
pub prometheus_endpoint: Option<String>,
pub created_at: DateTime,
pub tags: Option<HashMap<String, String>>,
pub kms_key_arn: Option<String>,
}
Expand description
The full details 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: String
The 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: String
The ARN of the workspace.
status: Option<WorkspaceStatus>
The current status of the workspace.
prometheus_endpoint: Option<String>
The Prometheus endpoint available for this workspace.
created_at: DateTime
The 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 WorkspaceDescription
impl WorkspaceDescription
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 prometheus_endpoint(&self) -> Option<&str>
pub fn prometheus_endpoint(&self) -> Option<&str>
The Prometheus endpoint available for this 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 WorkspaceDescription
impl WorkspaceDescription
sourcepub fn builder() -> WorkspaceDescriptionBuilder
pub fn builder() -> WorkspaceDescriptionBuilder
Creates a new builder-style object to manufacture WorkspaceDescription
.
Trait Implementations§
source§impl Clone for WorkspaceDescription
impl Clone for WorkspaceDescription
source§fn clone(&self) -> WorkspaceDescription
fn clone(&self) -> WorkspaceDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkspaceDescription
impl Debug for WorkspaceDescription
source§impl PartialEq for WorkspaceDescription
impl PartialEq for WorkspaceDescription
source§fn eq(&self, other: &WorkspaceDescription) -> bool
fn eq(&self, other: &WorkspaceDescription) -> bool
self
and other
values to be equal, and is used
by ==
.