Neptune.Client.add_role_to_db_cluster(**kwargs)¶Associates an Identity and Access Management (IAM) role with an Neptune DB cluster.
See also: AWS API Documentation
Request Syntax
response = client.add_role_to_db_cluster(
DBClusterIdentifier='string',
RoleArn='string',
FeatureName='string'
)
[REQUIRED]
The name of the DB cluster to associate the IAM role with.
[REQUIRED]
The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole .
None
Exceptions
Neptune.Client.exceptions.DBClusterNotFoundFaultNeptune.Client.exceptions.DBClusterRoleAlreadyExistsFaultNeptune.Client.exceptions.InvalidDBClusterStateFaultNeptune.Client.exceptions.DBClusterRoleQuotaExceededFault