aws_sdk_datazone/client/associate_environment_role.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateEnvironmentRole`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the environment role is associated.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone environment.</p><br>
/// - [`environment_role_arn(impl Into<String>)`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::environment_role_arn) / [`set_environment_role_arn(Option<String>)`](crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::set_environment_role_arn):<br>required: **true**<br><p>The ARN of the environment role.</p><br>
/// - On success, responds with [`AssociateEnvironmentRoleOutput`](crate::operation::associate_environment_role::AssociateEnvironmentRoleOutput)
/// - On failure, responds with [`SdkError<AssociateEnvironmentRoleError>`](crate::operation::associate_environment_role::AssociateEnvironmentRoleError)
pub fn associate_environment_role(&self) -> crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder {
crate::operation::associate_environment_role::builders::AssociateEnvironmentRoleFluentBuilder::new(self.handle.clone())
}
}