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
impl StructuralPartialEq for WorkspaceDescription
Auto Trait Implementations§
impl Freeze for WorkspaceDescription
impl RefUnwindSafe for WorkspaceDescription
impl Send for WorkspaceDescription
impl Sync for WorkspaceDescription
impl Unpin for WorkspaceDescription
impl UnwindSafe for WorkspaceDescription
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