amazonka-docdb-2.0: Amazon DocumentDB with MongoDB compatibility SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DocumentDB.RemoveFromGlobalCluster

Description

Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary in a different region.

This action only applies to Amazon DocumentDB clusters.

Synopsis

Creating a Request

data RemoveFromGlobalCluster Source #

Represents the input to RemoveFromGlobalCluster.

See: newRemoveFromGlobalCluster smart constructor.

Constructors

RemoveFromGlobalCluster' 

Fields

Instances

Instances details
ToHeaders RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

ToPath RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

ToQuery RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

AWSRequest RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Generic RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Associated Types

type Rep RemoveFromGlobalCluster :: Type -> Type #

Read RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Show RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

NFData RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Methods

rnf :: RemoveFromGlobalCluster -> () #

Eq RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Hashable RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

type AWSResponse RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

type Rep RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

type Rep RemoveFromGlobalCluster = D1 ('MetaData "RemoveFromGlobalCluster" "Amazonka.DocumentDB.RemoveFromGlobalCluster" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "RemoveFromGlobalCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRemoveFromGlobalCluster Source #

Create a value of RemoveFromGlobalCluster 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:

RemoveFromGlobalCluster, removeFromGlobalCluster_globalClusterIdentifier - The cluster identifier to detach from the Amazon DocumentDB global cluster.

RemoveFromGlobalCluster, removeFromGlobalCluster_dbClusterIdentifier - The Amazon Resource Name (ARN) identifying the cluster that was detached from the Amazon DocumentDB global cluster.

Request Lenses

removeFromGlobalCluster_globalClusterIdentifier :: Lens' RemoveFromGlobalCluster Text Source #

The cluster identifier to detach from the Amazon DocumentDB global cluster.

removeFromGlobalCluster_dbClusterIdentifier :: Lens' RemoveFromGlobalCluster Text Source #

The Amazon Resource Name (ARN) identifying the cluster that was detached from the Amazon DocumentDB global cluster.

Destructuring the Response

data RemoveFromGlobalClusterResponse Source #

See: newRemoveFromGlobalClusterResponse smart constructor.

Constructors

RemoveFromGlobalClusterResponse' 

Fields

Instances

Instances details
Generic RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Associated Types

type Rep RemoveFromGlobalClusterResponse :: Type -> Type #

Read RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Show RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

NFData RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Eq RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

type Rep RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

type Rep RemoveFromGlobalClusterResponse = D1 ('MetaData "RemoveFromGlobalClusterResponse" "Amazonka.DocumentDB.RemoveFromGlobalCluster" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "RemoveFromGlobalClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GlobalCluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRemoveFromGlobalClusterResponse Source #

Create a value of RemoveFromGlobalClusterResponse 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:globalCluster:RemoveFromGlobalClusterResponse', removeFromGlobalClusterResponse_globalCluster - Undocumented member.

$sel:httpStatus:RemoveFromGlobalClusterResponse', removeFromGlobalClusterResponse_httpStatus - The response's http status code.

Response Lenses