aws_sdk_wellarchitected/client/
associate_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 [`AssociateProfiles`](crate::operation::associate_profiles::builders::AssociateProfilesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workload_id(impl Into<String>)`](crate::operation::associate_profiles::builders::AssociateProfilesFluentBuilder::workload_id) / [`set_workload_id(Option<String>)`](crate::operation::associate_profiles::builders::AssociateProfilesFluentBuilder::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::associate_profiles::builders::AssociateProfilesFluentBuilder::profile_arns) / [`set_profile_arns(Option<Vec::<String>>)`](crate::operation::associate_profiles::builders::AssociateProfilesFluentBuilder::set_profile_arns):<br>required: **true**<br><p>The list of profile ARNs to associate with the workload.</p><br>
8    /// - On success, responds with [`AssociateProfilesOutput`](crate::operation::associate_profiles::AssociateProfilesOutput)
9    /// - On failure, responds with [`SdkError<AssociateProfilesError>`](crate::operation::associate_profiles::AssociateProfilesError)
10    pub fn associate_profiles(&self) -> crate::operation::associate_profiles::builders::AssociateProfilesFluentBuilder {
11        crate::operation::associate_profiles::builders::AssociateProfilesFluentBuilder::new(self.handle.clone())
12    }
13}