// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateDRTRole`](crate::operation::associate_drt_role::builders::AssociateDRTRoleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`role_arn(impl Into<String>)`](crate::operation::associate_drt_role::builders::AssociateDRTRoleFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::associate_drt_role::builders::AssociateDRTRoleFluentBuilder::set_role_arn): <p>The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.</p> <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a> managed policy to this role. For more information see <a href=" https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Attaching and Detaching IAM Policies</a>.</p>
/// - On success, responds with [`AssociateDrtRoleOutput`](crate::operation::associate_drt_role::AssociateDrtRoleOutput)
/// - On failure, responds with [`SdkError<AssociateDRTRoleError>`](crate::operation::associate_drt_role::AssociateDRTRoleError)
pub fn associate_drt_role(&self) -> crate::operation::associate_drt_role::builders::AssociateDRTRoleFluentBuilder {
crate::operation::associate_drt_role::builders::AssociateDRTRoleFluentBuilder::new(self.handle.clone())
}
}