aws_sdk_iot/client/
validate_security_profile_behaviors.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ValidateSecurityProfileBehaviors`](crate::operation::validate_security_profile_behaviors::builders::ValidateSecurityProfileBehaviorsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`behaviors(Behavior)`](crate::operation::validate_security_profile_behaviors::builders::ValidateSecurityProfileBehaviorsFluentBuilder::behaviors) / [`set_behaviors(Option<Vec::<Behavior>>)`](crate::operation::validate_security_profile_behaviors::builders::ValidateSecurityProfileBehaviorsFluentBuilder::set_behaviors):<br>required: **true**<br><p>Specifies the behaviors that, when violated by a device (thing), cause an alert.</p><br>
7    /// - On success, responds with [`ValidateSecurityProfileBehaviorsOutput`](crate::operation::validate_security_profile_behaviors::ValidateSecurityProfileBehaviorsOutput) with field(s):
8    ///   - [`valid(bool)`](crate::operation::validate_security_profile_behaviors::ValidateSecurityProfileBehaviorsOutput::valid): <p>True if the behaviors were valid.</p>
9    ///   - [`validation_errors(Option<Vec::<ValidationError>>)`](crate::operation::validate_security_profile_behaviors::ValidateSecurityProfileBehaviorsOutput::validation_errors): <p>The list of any errors found in the behaviors.</p>
10    /// - On failure, responds with [`SdkError<ValidateSecurityProfileBehaviorsError>`](crate::operation::validate_security_profile_behaviors::ValidateSecurityProfileBehaviorsError)
11    pub fn validate_security_profile_behaviors(
12        &self,
13    ) -> crate::operation::validate_security_profile_behaviors::builders::ValidateSecurityProfileBehaviorsFluentBuilder {
14        crate::operation::validate_security_profile_behaviors::builders::ValidateSecurityProfileBehaviorsFluentBuilder::new(self.handle.clone())
15    }
16}