[][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 than 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 PartialEq<UpdateSecurityProfileRequest> for UpdateSecurityProfileRequest[src]

impl Default for UpdateSecurityProfileRequest[src]

impl Clone for UpdateSecurityProfileRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateSecurityProfileRequest[src]

impl Serialize for UpdateSecurityProfileRequest[src]

Auto Trait Implementations

impl Send for UpdateSecurityProfileRequest

impl Sync for UpdateSecurityProfileRequest

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self