aws_sdk_wellarchitected/client/
disassociate_profiles.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateProfiles`](crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DisassociateProfilesOutput`](crate::operation::disassociate_profiles::DisassociateProfilesOutput)
    /// - On failure, responds with [`SdkError<DisassociateProfilesError>`](crate::operation::disassociate_profiles::DisassociateProfilesError)
    pub fn disassociate_profiles(&self) -> crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder {
        crate::operation::disassociate_profiles::builders::DisassociateProfilesFluentBuilder::new(self.handle.clone())
    }
}