[][src]Struct rusoto_iot::UpdateSecurityProfileRequest

pub struct UpdateSecurityProfileRequest {
    pub additional_metrics_to_retain: Option<Vec<String>>,
    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: Option<Vec<String>>

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: String

The name of the security profile you want to update.

Trait Implementations

impl Clone for UpdateSecurityProfileRequest[src]

impl Default for UpdateSecurityProfileRequest[src]

impl PartialEq<UpdateSecurityProfileRequest> for UpdateSecurityProfileRequest[src]

impl Debug for UpdateSecurityProfileRequest[src]

impl Serialize for UpdateSecurityProfileRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self