libZSservicesZSamazonka-neptuneZSamazonka-neptune
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Neptune.AddRoleToDBCluster

Description

Associates an Identity and Access Management (IAM) role from an Neptune DB cluster.

Synopsis

Creating a Request

data AddRoleToDBCluster Source #

See: newAddRoleToDBCluster smart constructor.

Constructors

AddRoleToDBCluster' 

Fields

  • featureName :: Maybe Text

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

  • dbClusterIdentifier :: Text

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

  • roleArn :: Text

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

Instances

Instances details
Eq AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Read AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Show AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Generic AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBCluster :: Type -> Type #

NFData AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Methods

rnf :: AddRoleToDBCluster -> () #

Hashable AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

AWSRequest AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Associated Types

type AWSResponse AddRoleToDBCluster #

ToHeaders AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

ToPath AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

ToQuery AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

type Rep AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

type Rep AddRoleToDBCluster = D1 ('MetaData "AddRoleToDBCluster" "Amazonka.Neptune.AddRoleToDBCluster" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "AddRoleToDBCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "featureName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

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:

$sel:featureName:AddRoleToDBCluster', addRoleToDBCluster_featureName - The name of the feature for the Neptune DB cluster that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

$sel:dbClusterIdentifier:AddRoleToDBCluster', addRoleToDBCluster_dbClusterIdentifier - The name of the DB cluster to associate the IAM role with.

$sel:roleArn:AddRoleToDBCluster', addRoleToDBCluster_roleArn - The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

Request Lenses

addRoleToDBCluster_featureName :: Lens' AddRoleToDBCluster (Maybe Text) Source #

The name of the feature for the Neptune DB cluster that the IAM role is to be associated with. For the list of 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 Neptune DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

Destructuring the Response

data AddRoleToDBClusterResponse Source #

See: newAddRoleToDBClusterResponse smart constructor.

Instances

Instances details
Eq AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Read AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Show AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Generic AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBClusterResponse :: Type -> Type #

NFData AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse = D1 ('MetaData "AddRoleToDBClusterResponse" "Amazonka.Neptune.AddRoleToDBCluster" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "AddRoleToDBClusterResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddRoleToDBClusterResponse :: AddRoleToDBClusterResponse Source #

Create a value of AddRoleToDBClusterResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.