Struct aws_sdk_amp::types::LoggingConfigurationMetadata
source · #[non_exhaustive]pub struct LoggingConfigurationMetadata {
pub status: Option<LoggingConfigurationStatus>,
pub workspace: String,
pub log_group_arn: String,
pub created_at: DateTime,
pub modified_at: DateTime,
}
Expand description
Contains information about the logging configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status: Option<LoggingConfigurationStatus>
The current status of the logging configuration.
workspace: String
The ID of the workspace the logging configuration is for.
log_group_arn: String
The ARN of the CloudWatch log group to which the vended log data will be published.
created_at: DateTime
The date and time that the logging configuration was created.
modified_at: DateTime
The date and time that the logging configuration was most recently changed.
Implementations§
source§impl LoggingConfigurationMetadata
impl LoggingConfigurationMetadata
sourcepub fn status(&self) -> Option<&LoggingConfigurationStatus>
pub fn status(&self) -> Option<&LoggingConfigurationStatus>
The current status of the logging configuration.
sourcepub fn log_group_arn(&self) -> &str
pub fn log_group_arn(&self) -> &str
The ARN of the CloudWatch log group to which the vended log data will be published.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time that the logging configuration was created.
sourcepub fn modified_at(&self) -> &DateTime
pub fn modified_at(&self) -> &DateTime
The date and time that the logging configuration was most recently changed.
source§impl LoggingConfigurationMetadata
impl LoggingConfigurationMetadata
sourcepub fn builder() -> LoggingConfigurationMetadataBuilder
pub fn builder() -> LoggingConfigurationMetadataBuilder
Creates a new builder-style object to manufacture LoggingConfigurationMetadata
.
Trait Implementations§
source§impl Clone for LoggingConfigurationMetadata
impl Clone for LoggingConfigurationMetadata
source§fn clone(&self) -> LoggingConfigurationMetadata
fn clone(&self) -> LoggingConfigurationMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoggingConfigurationMetadata
impl Debug for LoggingConfigurationMetadata
source§impl PartialEq for LoggingConfigurationMetadata
impl PartialEq for LoggingConfigurationMetadata
source§fn eq(&self, other: &LoggingConfigurationMetadata) -> bool
fn eq(&self, other: &LoggingConfigurationMetadata) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LoggingConfigurationMetadata
Auto Trait Implementations§
impl Freeze for LoggingConfigurationMetadata
impl RefUnwindSafe for LoggingConfigurationMetadata
impl Send for LoggingConfigurationMetadata
impl Sync for LoggingConfigurationMetadata
impl Unpin for LoggingConfigurationMetadata
impl UnwindSafe for LoggingConfigurationMetadata
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.