Struct aws_sdk_securityhub::types::StandardsSubscription
source · #[non_exhaustive]pub struct StandardsSubscription {
pub standards_subscription_arn: Option<String>,
pub standards_arn: Option<String>,
pub standards_input: Option<HashMap<String, String>>,
pub standards_status: Option<StandardsStatus>,
pub standards_status_reason: Option<StandardsStatusReason>,
}
Expand description
A resource that represents your subscription to a supported standard.
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.standards_subscription_arn: Option<String>
The ARN of a resource that represents your subscription to a supported standard.
standards_arn: Option<String>
The ARN of a standard.
standards_input: Option<HashMap<String, String>>
A key-value pair of input for the standard.
standards_status: Option<StandardsStatus>
The status of the standard subscription.
The status values are as follows:
-
PENDING
- Standard is in the process of being enabled. -
READY
- Standard is enabled. -
INCOMPLETE
- Standard could not be enabled completely. Some controls may not be available. -
DELETING
- Standard is in the process of being disabled. -
FAILED
- Standard could not be disabled.
standards_status_reason: Option<StandardsStatusReason>
The reason for the current status.
Implementations§
source§impl StandardsSubscription
impl StandardsSubscription
sourcepub fn standards_subscription_arn(&self) -> Option<&str>
pub fn standards_subscription_arn(&self) -> Option<&str>
The ARN of a resource that represents your subscription to a supported standard.
sourcepub fn standards_arn(&self) -> Option<&str>
pub fn standards_arn(&self) -> Option<&str>
The ARN of a standard.
sourcepub fn standards_input(&self) -> Option<&HashMap<String, String>>
pub fn standards_input(&self) -> Option<&HashMap<String, String>>
A key-value pair of input for the standard.
sourcepub fn standards_status(&self) -> Option<&StandardsStatus>
pub fn standards_status(&self) -> Option<&StandardsStatus>
The status of the standard subscription.
The status values are as follows:
-
PENDING
- Standard is in the process of being enabled. -
READY
- Standard is enabled. -
INCOMPLETE
- Standard could not be enabled completely. Some controls may not be available. -
DELETING
- Standard is in the process of being disabled. -
FAILED
- Standard could not be disabled.
sourcepub fn standards_status_reason(&self) -> Option<&StandardsStatusReason>
pub fn standards_status_reason(&self) -> Option<&StandardsStatusReason>
The reason for the current status.
source§impl StandardsSubscription
impl StandardsSubscription
sourcepub fn builder() -> StandardsSubscriptionBuilder
pub fn builder() -> StandardsSubscriptionBuilder
Creates a new builder-style object to manufacture StandardsSubscription
.
Trait Implementations§
source§impl Clone for StandardsSubscription
impl Clone for StandardsSubscription
source§fn clone(&self) -> StandardsSubscription
fn clone(&self) -> StandardsSubscription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StandardsSubscription
impl Debug for StandardsSubscription
source§impl PartialEq for StandardsSubscription
impl PartialEq for StandardsSubscription
source§fn eq(&self, other: &StandardsSubscription) -> bool
fn eq(&self, other: &StandardsSubscription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StandardsSubscription
Auto Trait Implementations§
impl Freeze for StandardsSubscription
impl RefUnwindSafe for StandardsSubscription
impl Send for StandardsSubscription
impl Sync for StandardsSubscription
impl Unpin for StandardsSubscription
impl UnwindSafe for StandardsSubscription
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