libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.PromoteReadReplicaDBCluster

Description

Promotes a read replica DB cluster to a standalone DB cluster.

This action only applies to Aurora DB clusters.

Synopsis

Creating a Request

data PromoteReadReplicaDBCluster Source #

See: newPromoteReadReplicaDBCluster smart constructor.

Constructors

PromoteReadReplicaDBCluster' 

Fields

  • dbClusterIdentifier :: Text

    The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.

    Constraints:

    • Must match the identifier of an existing DB cluster read replica.

    Example: my-cluster-replica1

Instances

Instances details
Eq PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Read PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Show PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Generic PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Associated Types

type Rep PromoteReadReplicaDBCluster :: Type -> Type #

NFData PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Hashable PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

AWSRequest PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

ToHeaders PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

ToPath PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

ToQuery PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

type Rep PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

type Rep PromoteReadReplicaDBCluster = D1 ('MetaData "PromoteReadReplicaDBCluster" "Amazonka.RDS.PromoteReadReplicaDBCluster" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "PromoteReadReplicaDBCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PromoteReadReplicaDBCluster Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

newPromoteReadReplicaDBCluster Source #

Create a value of PromoteReadReplicaDBCluster 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:dbClusterIdentifier:PromoteReadReplicaDBCluster', promoteReadReplicaDBCluster_dbClusterIdentifier - The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.

Constraints:

  • Must match the identifier of an existing DB cluster read replica.

Example: my-cluster-replica1

Request Lenses

promoteReadReplicaDBCluster_dbClusterIdentifier :: Lens' PromoteReadReplicaDBCluster Text Source #

The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.

Constraints:

  • Must match the identifier of an existing DB cluster read replica.

Example: my-cluster-replica1

Destructuring the Response

data PromoteReadReplicaDBClusterResponse Source #

Constructors

PromoteReadReplicaDBClusterResponse' 

Fields

Instances

Instances details
Eq PromoteReadReplicaDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Read PromoteReadReplicaDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Show PromoteReadReplicaDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

Generic PromoteReadReplicaDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

NFData PromoteReadReplicaDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

type Rep PromoteReadReplicaDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.PromoteReadReplicaDBCluster

type Rep PromoteReadReplicaDBClusterResponse = D1 ('MetaData "PromoteReadReplicaDBClusterResponse" "Amazonka.RDS.PromoteReadReplicaDBCluster" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "PromoteReadReplicaDBClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBCluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPromoteReadReplicaDBClusterResponse Source #

Create a value of PromoteReadReplicaDBClusterResponse 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:dbCluster:PromoteReadReplicaDBClusterResponse', promoteReadReplicaDBClusterResponse_dbCluster - Undocumented member.

$sel:httpStatus:PromoteReadReplicaDBClusterResponse', promoteReadReplicaDBClusterResponse_httpStatus - The response's http status code.

Response Lenses