Amazon.RDS.AmazonRDSClient.AddRoleToDBCluster C# (CSharp) Method

AddRoleToDBCluster() public method

Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf.
/// DBClusterIdentifier does not refer to an existing DB cluster. /// /// The specified IAM role Amazon Resource Name (ARN) is already associated with the specified /// DB cluster. /// /// You have exceeded the maximum number of IAM roles that can be associated with the /// specified DB cluster. /// /// The DB cluster is not in a valid state. ///
public AddRoleToDBCluster ( AddRoleToDBClusterRequest request ) : AddRoleToDBClusterResponse
request Amazon.RDS.Model.AddRoleToDBClusterRequest Container for the necessary parameters to execute the AddRoleToDBCluster service method.
return AddRoleToDBClusterResponse
        public AddRoleToDBClusterResponse AddRoleToDBCluster(AddRoleToDBClusterRequest request)
        {
            var marshaller = new AddRoleToDBClusterRequestMarshaller();
            var unmarshaller = AddRoleToDBClusterResponseUnmarshaller.Instance;

            return Invoke<AddRoleToDBClusterRequest,AddRoleToDBClusterResponse>(request, marshaller, unmarshaller);
        }
AmazonRDSClient