Amazon Relational Database Service

2019/04/24 - Amazon Relational Database Service - 2 updated api methods

Changes  A new parameter "feature-name" is added to the add-role and remove-role db cluster APIs. The value for the parameter is optional for Aurora MySQL compatible database clusters, but mandatory for Aurora PostgresQL. You can find the valid list of values using describe db engine versions API.

AddRoleToDBCluster (updated) Link ¶
Changes (request)
{'FeatureName': 'string'}

Associates an Identity and Access Management (IAM) role from an Amazon Aurora DB cluster. For more information, see Authorizing Amazon Aurora MySQL to Access Other AWS Services on Your Behalf in the Amazon Aurora User Guide .

Note

This action only applies to Aurora DB clusters.

See also: AWS API Documentation

Request Syntax

client.add_role_to_db_cluster(
    DBClusterIdentifier='string',
    RoleArn='string',
    FeatureName='string'
)
type DBClusterIdentifier

string

param DBClusterIdentifier

[REQUIRED]

The name of the DB cluster to associate the IAM role with.

type RoleArn

string

param RoleArn

[REQUIRED]

The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole .

type FeatureName

string

param FeatureName

The name of the feature for the DB cluster that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

returns

None

RemoveRoleFromDBCluster (updated) Link ¶
Changes (request)
{'FeatureName': 'string'}

Disassociates an AWS Identity and Access Management (IAM) role from an Amazon Aurora DB cluster. For more information, see Authorizing Amazon Aurora MySQL to Access Other AWS Services on Your Behalf in the Amazon Aurora User Guide .

Note

This action only applies to Aurora DB clusters.

See also: AWS API Documentation

Request Syntax

client.remove_role_from_db_cluster(
    DBClusterIdentifier='string',
    RoleArn='string',
    FeatureName='string'
)
type DBClusterIdentifier

string

param DBClusterIdentifier

[REQUIRED]

The name of the DB cluster to disassociate the IAM role from.

type RoleArn

string

param RoleArn

[REQUIRED]

The Amazon Resource Name (ARN) of the IAM role to disassociate from the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole .

type FeatureName

string

param FeatureName

The name of the feature for the DB cluster that the IAM role is to be disassociated from. For the list of supported feature names, see DBEngineVersion.

returns

None