pub struct CreateSecurityProfileRequest {
pub additional_metrics_to_retain_v2: Option<Vec<MetricToRetain>>,
pub alert_targets: Option<HashMap<String, AlertTarget>>,
pub behaviors: Option<Vec<Behavior>>,
pub security_profile_description: Option<String>,
pub security_profile_name: String,
pub tags: Option<Vec<Tag>>,
}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>>Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
behaviors: Option<Vec<Behavior>>Specifies the behaviors that, when violated by a device (thing), cause an alert.
security_profile_description: Option<String>A description of the security profile.
security_profile_name: StringThe name you are giving to the security profile.
Metadata that can be used to manage the security profile.
Trait Implementations§
Source§impl Clone for CreateSecurityProfileRequest
impl Clone for CreateSecurityProfileRequest
Source§fn clone(&self) -> CreateSecurityProfileRequest
fn clone(&self) -> CreateSecurityProfileRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateSecurityProfileRequest
impl Debug for CreateSecurityProfileRequest
Source§impl Default for CreateSecurityProfileRequest
impl Default for CreateSecurityProfileRequest
Source§fn default() -> CreateSecurityProfileRequest
fn default() -> CreateSecurityProfileRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateSecurityProfileRequest
impl PartialEq for CreateSecurityProfileRequest
Source§fn eq(&self, other: &CreateSecurityProfileRequest) -> bool
fn eq(&self, other: &CreateSecurityProfileRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateSecurityProfileRequest
Auto Trait Implementations§
impl Freeze for CreateSecurityProfileRequest
impl RefUnwindSafe for CreateSecurityProfileRequest
impl Send for CreateSecurityProfileRequest
impl Sync for CreateSecurityProfileRequest
impl Unpin for CreateSecurityProfileRequest
impl UnwindSafe for CreateSecurityProfileRequest
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
Mutably borrows from an owned value. Read more