pub struct UpdateSecurityProfileRequest {
pub additional_metrics_to_retain_v2: Option<Vec<MetricToRetain>>,
pub alert_targets: Option<HashMap<String, AlertTarget>>,
pub behaviors: Option<Vec<Behavior>>,
pub delete_additional_metrics_to_retain: Option<bool>,
pub delete_alert_targets: Option<bool>,
pub delete_behaviors: Option<bool>,
pub expected_version: Option<i64>,
pub security_profile_description: Option<String>,
pub security_profile_name: String,
}Fields§
§additional_metrics_to_retain_v2: Option<Vec<MetricToRetain>>A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
alert_targets: Option<HashMap<String, AlertTarget>>Where the alerts are sent. (Alerts are always sent to the console.)
behaviors: Option<Vec<Behavior>>Specifies the behaviors that, when violated by a device (thing), cause an alert.
delete_additional_metrics_to_retain: Option<bool>If true, delete all additionalMetricsToRetain defined for this security profile. If any additionalMetricsToRetain are defined in the current invocation, an exception occurs.
delete_alert_targets: Option<bool>If true, delete all alertTargets defined for this security profile. If any alertTargets are defined in the current invocation, an exception occurs.
delete_behaviors: Option<bool>If true, delete all behaviors defined for this security profile. If any behaviors are defined in the current invocation, an exception occurs.
expected_version: Option<i64>The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.
security_profile_description: Option<String>A description of the security profile.
security_profile_name: StringThe name of the security profile you want to update.
Trait Implementations§
Source§impl Clone for UpdateSecurityProfileRequest
impl Clone for UpdateSecurityProfileRequest
Source§fn clone(&self) -> UpdateSecurityProfileRequest
fn clone(&self) -> UpdateSecurityProfileRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateSecurityProfileRequest
impl Debug for UpdateSecurityProfileRequest
Source§impl Default for UpdateSecurityProfileRequest
impl Default for UpdateSecurityProfileRequest
Source§fn default() -> UpdateSecurityProfileRequest
fn default() -> UpdateSecurityProfileRequest
Source§impl PartialEq for UpdateSecurityProfileRequest
impl PartialEq for UpdateSecurityProfileRequest
Source§fn eq(&self, other: &UpdateSecurityProfileRequest) -> bool
fn eq(&self, other: &UpdateSecurityProfileRequest) -> bool
self and other values to be equal, and is used by ==.