libZSservicesZSamazonka-docdbZSamazonka-docdb
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.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
Eq RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Read RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Show 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 #

NFData RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Methods

rnf :: RemoveFromGlobalCluster -> () #

Hashable RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

AWSRequest RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

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

type Rep RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

type Rep RemoveFromGlobalCluster = D1 ('MetaData "RemoveFromGlobalCluster" "Amazonka.DocumentDB.RemoveFromGlobalCluster" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "RemoveFromGlobalCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemoveFromGlobalCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

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:

$sel:globalClusterIdentifier:RemoveFromGlobalCluster', removeFromGlobalCluster_globalClusterIdentifier - The cluster identifier to detach from the Amazon DocumentDB global cluster.

$sel:dbClusterIdentifier: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
Eq RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Read RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Show RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Generic RemoveFromGlobalClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.RemoveFromGlobalCluster

Associated Types

type Rep RemoveFromGlobalClusterResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-docdbZSamazonka-docdb" '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