Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Associates an Identity and Access Management (IAM) role with a DB cluster.
Synopsis
- data AddRoleToDBCluster = AddRoleToDBCluster' {}
- newAddRoleToDBCluster :: Text -> Text -> AddRoleToDBCluster
- addRoleToDBCluster_featureName :: Lens' AddRoleToDBCluster (Maybe Text)
- addRoleToDBCluster_dbClusterIdentifier :: Lens' AddRoleToDBCluster Text
- addRoleToDBCluster_roleArn :: Lens' AddRoleToDBCluster Text
- data AddRoleToDBClusterResponse = AddRoleToDBClusterResponse' {
- newAddRoleToDBClusterResponse :: AddRoleToDBClusterResponse
Creating a Request
data AddRoleToDBCluster Source #
See: newAddRoleToDBCluster
smart constructor.
AddRoleToDBCluster' | |
|
Instances
newAddRoleToDBCluster Source #
Create a value of AddRoleToDBCluster
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AddRoleToDBCluster
, addRoleToDBCluster_featureName
- 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
DBEngineVersion.
AddRoleToDBCluster
, addRoleToDBCluster_dbClusterIdentifier
- The name of the DB cluster to associate the IAM role with.
AddRoleToDBCluster
, addRoleToDBCluster_roleArn
- The Amazon Resource Name (ARN) of the IAM role to associate with the
Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.
Request Lenses
addRoleToDBCluster_featureName :: Lens' AddRoleToDBCluster (Maybe Text) Source #
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 DBEngineVersion.
addRoleToDBCluster_dbClusterIdentifier :: Lens' AddRoleToDBCluster Text Source #
The name of the DB cluster to associate the IAM role with.
addRoleToDBCluster_roleArn :: Lens' AddRoleToDBCluster Text Source #
The Amazon Resource Name (ARN) of the IAM role to associate with the
Aurora DB cluster, for example
arn:aws:iam::123456789012:role/AuroraAccessRole
.
Destructuring the Response
data AddRoleToDBClusterResponse Source #
See: newAddRoleToDBClusterResponse
smart constructor.
Instances
newAddRoleToDBClusterResponse :: AddRoleToDBClusterResponse Source #
Create a value of AddRoleToDBClusterResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.