aws_sdk_datazone/client/disassociate_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 [`DisassociateEnvironmentRole`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which an environment role is disassociated.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment.</p><br>
/// - [`environment_role_arn(impl Into<String>)`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::environment_role_arn) / [`set_environment_role_arn(Option<String>)`](crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::set_environment_role_arn):<br>required: **true**<br><p>The ARN of the environment role.</p><br>
/// - On success, responds with [`DisassociateEnvironmentRoleOutput`](crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleOutput)
/// - On failure, responds with [`SdkError<DisassociateEnvironmentRoleError>`](crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError)
pub fn disassociate_environment_role(
&self,
) -> crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder {
crate::operation::disassociate_environment_role::builders::DisassociateEnvironmentRoleFluentBuilder::new(self.handle.clone())
}
}