aws_sdk_wellarchitected/client/
disassociate_profiles.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 [`DisassociateProfiles`](crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workload_id(impl Into<String>)`](crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder::workload_id) / [`set_workload_id(Option<String>)`](crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder::set_workload_id):<br>required: **true**<br><p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p><br>
7    ///   - [`profile_arns(impl Into<String>)`](crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder::profile_arns) / [`set_profile_arns(Option<Vec::<String>>)`](crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder::set_profile_arns):<br>required: **true**<br><p>The list of profile ARNs to disassociate from the workload.</p><br>
8    /// - On success, responds with [`DisassociateProfilesOutput`](crate::operation::disassociate_profiles::DisassociateProfilesOutput)
9    /// - On failure, responds with [`SdkError<DisassociateProfilesError>`](crate::operation::disassociate_profiles::DisassociateProfilesError)
10    pub fn disassociate_profiles(&self) -> crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder {
11        crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder::new(self.handle.clone())
12    }
13}