// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateEnvironmentOperationsRole`](crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`environment_name(impl Into<String>)`](crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment to which to set the operations role.</p><br>
/// - [`operations_role(impl Into<String>)`](crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder::operations_role) / [`set_operations_role(Option<String>)`](crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder::set_operations_role):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.</p><br>
/// - On success, responds with [`AssociateEnvironmentOperationsRoleOutput`](crate::operation::associate_environment_operations_role::AssociateEnvironmentOperationsRoleOutput)
/// - On failure, responds with [`SdkError<AssociateEnvironmentOperationsRoleError>`](crate::operation::associate_environment_operations_role::AssociateEnvironmentOperationsRoleError)
pub fn associate_environment_operations_role(
&self,
) -> crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder {
crate::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleFluentBuilder::new(self.handle.clone())
}
}