aws_sdk_iot/client/
detach_security_profile.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 [`DetachSecurityProfile`](crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`security_profile_name(impl Into<String>)`](crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder::security_profile_name) / [`set_security_profile_name(Option<String>)`](crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder::set_security_profile_name):<br>required: **true**<br><p>The security profile that is detached.</p><br>
7    ///   - [`security_profile_target_arn(impl Into<String>)`](crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder::security_profile_target_arn) / [`set_security_profile_target_arn(Option<String>)`](crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder::set_security_profile_target_arn):<br>required: **true**<br><p>The ARN of the thing group from which the security profile is detached.</p><br>
8    /// - On success, responds with [`DetachSecurityProfileOutput`](crate::operation::detach_security_profile::DetachSecurityProfileOutput)
9    /// - On failure, responds with [`SdkError<DetachSecurityProfileError>`](crate::operation::detach_security_profile::DetachSecurityProfileError)
10    pub fn detach_security_profile(&self) -> crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder {
11        crate::operation::detach_security_profile::builders::DetachSecurityProfileFluentBuilder::new(self.handle.clone())
12    }
13}