#[non_exhaustive]pub struct ConfigurationPolicySummary {
pub arn: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub updated_at: Option<DateTime>,
pub service_enabled: Option<bool>,
}
Expand description
An object that contains the details of an Security Hub configuration policy that’s returned in a ListConfigurationPolicies
request.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the configuration policy.
id: Option<String>
The universally unique identifier (UUID) of the configuration policy.
name: Option<String>
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
description: Option<String>
The description of the configuration policy.
updated_at: Option<DateTime>
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
service_enabled: Option<bool>
Indicates whether the service that the configuration policy applies to is enabled in the policy.
Implementations§
source§impl ConfigurationPolicySummary
impl ConfigurationPolicySummary
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the configuration policy.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
sourcepub fn service_enabled(&self) -> Option<bool>
pub fn service_enabled(&self) -> Option<bool>
Indicates whether the service that the configuration policy applies to is enabled in the policy.
source§impl ConfigurationPolicySummary
impl ConfigurationPolicySummary
sourcepub fn builder() -> ConfigurationPolicySummaryBuilder
pub fn builder() -> ConfigurationPolicySummaryBuilder
Creates a new builder-style object to manufacture ConfigurationPolicySummary
.
Trait Implementations§
source§impl Clone for ConfigurationPolicySummary
impl Clone for ConfigurationPolicySummary
source§fn clone(&self) -> ConfigurationPolicySummary
fn clone(&self) -> ConfigurationPolicySummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigurationPolicySummary
impl Debug for ConfigurationPolicySummary
source§impl PartialEq for ConfigurationPolicySummary
impl PartialEq for ConfigurationPolicySummary
source§fn eq(&self, other: &ConfigurationPolicySummary) -> bool
fn eq(&self, other: &ConfigurationPolicySummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationPolicySummary
Auto Trait Implementations§
impl Freeze for ConfigurationPolicySummary
impl RefUnwindSafe for ConfigurationPolicySummary
impl Send for ConfigurationPolicySummary
impl Sync for ConfigurationPolicySummary
impl Unpin for ConfigurationPolicySummary
impl UnwindSafe for ConfigurationPolicySummary
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> 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