Struct aws_sdk_iot::model::MitigationActionParams
source · [−]#[non_exhaustive]pub struct MitigationActionParams { /* private fields */ }
Expand description
The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action).
Implementations
sourceimpl MitigationActionParams
impl MitigationActionParams
sourcepub fn update_device_certificate_params(
&self
) -> Option<&UpdateDeviceCertificateParams>
pub fn update_device_certificate_params(
&self
) -> Option<&UpdateDeviceCertificateParams>
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
sourcepub fn update_ca_certificate_params(&self) -> Option<&UpdateCaCertificateParams>
pub fn update_ca_certificate_params(&self) -> Option<&UpdateCaCertificateParams>
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
sourcepub fn add_things_to_thing_group_params(
&self
) -> Option<&AddThingsToThingGroupParams>
pub fn add_things_to_thing_group_params(
&self
) -> Option<&AddThingsToThingGroupParams>
Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.
sourcepub fn replace_default_policy_version_params(
&self
) -> Option<&ReplaceDefaultPolicyVersionParams>
pub fn replace_default_policy_version_params(
&self
) -> Option<&ReplaceDefaultPolicyVersionParams>
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
sourcepub fn enable_io_t_logging_params(&self) -> Option<&EnableIoTLoggingParams>
pub fn enable_io_t_logging_params(&self) -> Option<&EnableIoTLoggingParams>
Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.
sourcepub fn publish_finding_to_sns_params(
&self
) -> Option<&PublishFindingToSnsParams>
pub fn publish_finding_to_sns_params(
&self
) -> Option<&PublishFindingToSnsParams>
Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.
sourceimpl MitigationActionParams
impl MitigationActionParams
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MitigationActionParams
.
Trait Implementations
sourceimpl Clone for MitigationActionParams
impl Clone for MitigationActionParams
sourcefn clone(&self) -> MitigationActionParams
fn clone(&self) -> MitigationActionParams
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more