#[non_exhaustive]pub struct ObservabilityConfiguration { /* private fields */ }
Expand description
Describes an App Runner observability configuration resource. Multiple revisions of a configuration have the same ObservabilityConfigurationName
and different ObservabilityConfigurationRevision
values.
The resource is designed to configure multiple features (currently one feature, tracing). This type contains optional members that describe the configuration of these features (currently one member, TraceConfiguration
). If a feature member isn't specified, the feature isn't enabled.
Implementations
sourceimpl ObservabilityConfiguration
impl ObservabilityConfiguration
sourcepub fn observability_configuration_arn(&self) -> Option<&str>
pub fn observability_configuration_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of this observability configuration.
sourcepub fn observability_configuration_name(&self) -> Option<&str>
pub fn observability_configuration_name(&self) -> Option<&str>
The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
sourcepub fn trace_configuration(&self) -> Option<&TraceConfiguration>
pub fn trace_configuration(&self) -> Option<&TraceConfiguration>
The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
sourcepub fn observability_configuration_revision(&self) -> i32
pub fn observability_configuration_revision(&self) -> i32
The revision of this observability configuration. It's unique among all the active configurations ("Status": "ACTIVE"
) that share the same ObservabilityConfigurationName
.
sourcepub fn latest(&self) -> bool
pub fn latest(&self) -> bool
It's set to true
for the configuration with the highest Revision
among all configurations that share the same ObservabilityConfigurationName
. It's set to false
otherwise.
sourcepub fn status(&self) -> Option<&ObservabilityConfigurationStatus>
pub fn status(&self) -> Option<&ObservabilityConfigurationStatus>
The current state of the observability configuration. If the status of a configuration revision is INACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the observability configuration was created. It's in Unix time stamp format.
sourcepub fn deleted_at(&self) -> Option<&DateTime>
pub fn deleted_at(&self) -> Option<&DateTime>
The time when the observability configuration was deleted. It's in Unix time stamp format.
sourceimpl ObservabilityConfiguration
impl ObservabilityConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ObservabilityConfiguration
.
Trait Implementations
sourceimpl Clone for ObservabilityConfiguration
impl Clone for ObservabilityConfiguration
sourcefn clone(&self) -> ObservabilityConfiguration
fn clone(&self) -> ObservabilityConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObservabilityConfiguration
impl Debug for ObservabilityConfiguration
sourceimpl PartialEq<ObservabilityConfiguration> for ObservabilityConfiguration
impl PartialEq<ObservabilityConfiguration> for ObservabilityConfiguration
sourcefn eq(&self, other: &ObservabilityConfiguration) -> bool
fn eq(&self, other: &ObservabilityConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObservabilityConfiguration) -> bool
fn ne(&self, other: &ObservabilityConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for ObservabilityConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ObservabilityConfiguration
impl Send for ObservabilityConfiguration
impl Sync for ObservabilityConfiguration
impl Unpin for ObservabilityConfiguration
impl UnwindSafe for ObservabilityConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more