Struct aws_sdk_config::types::RemediationException
source · #[non_exhaustive]pub struct RemediationException {
pub config_rule_name: String,
pub resource_type: String,
pub resource_id: String,
pub message: Option<String>,
pub expiration_time: Option<DateTime>,
}Expand description
An object that represents the details about the remediation exception. The details include the rule name, an explanation of an exception, the time when the exception will be deleted, the resource ID, and resource type.
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.config_rule_name: StringThe name of the Config rule.
resource_type: StringThe type of a resource.
resource_id: StringThe ID of the resource (for example., sg-xxxxxx).
message: Option<String>An explanation of an remediation exception.
expiration_time: Option<DateTime>The time when the remediation exception will be deleted.
Implementations§
source§impl RemediationException
impl RemediationException
sourcepub fn config_rule_name(&self) -> &str
pub fn config_rule_name(&self) -> &str
The name of the Config rule.
sourcepub fn resource_type(&self) -> &str
pub fn resource_type(&self) -> &str
The type of a resource.
sourcepub fn resource_id(&self) -> &str
pub fn resource_id(&self) -> &str
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
The time when the remediation exception will be deleted.
source§impl RemediationException
impl RemediationException
sourcepub fn builder() -> RemediationExceptionBuilder
pub fn builder() -> RemediationExceptionBuilder
Creates a new builder-style object to manufacture RemediationException.
Trait Implementations§
source§impl Clone for RemediationException
impl Clone for RemediationException
source§fn clone(&self) -> RemediationException
fn clone(&self) -> RemediationException
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 RemediationException
impl Debug for RemediationException
source§impl PartialEq for RemediationException
impl PartialEq for RemediationException
source§fn eq(&self, other: &RemediationException) -> bool
fn eq(&self, other: &RemediationException) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RemediationException
Auto Trait Implementations§
impl Freeze for RemediationException
impl RefUnwindSafe for RemediationException
impl Send for RemediationException
impl Sync for RemediationException
impl Unpin for RemediationException
impl UnwindSafe for RemediationException
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.