aws_sdk_rds/client/add_role_to_db_cluster.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 [`AddRoleToDBCluster`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`db_cluster_identifier(impl Into<String>)`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::set_db_cluster_identifier):<br>required: **true**<br><p>The name of the DB cluster to associate the IAM role with.</p><br>
7 /// - [`role_arn(impl Into<String>)`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example <code>arn:aws:iam::123456789012:role/AuroraAccessRole</code>.</p><br>
8 /// - [`feature_name(impl Into<String>)`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::feature_name) / [`set_feature_name(Option<String>)`](crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::set_feature_name):<br>required: **false**<br><p>The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see <code>DBEngineVersion</code>.</p><br>
9 /// - On success, responds with [`AddRoleToDbClusterOutput`](crate::operation::add_role_to_db_cluster::AddRoleToDbClusterOutput)
10 /// - On failure, responds with [`SdkError<AddRoleToDBClusterError>`](crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError)
11 pub fn add_role_to_db_cluster(&self) -> crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder {
12 crate::operation::add_role_to_db_cluster::builders::AddRoleToDBClusterFluentBuilder::new(self.handle.clone())
13 }
14}