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.StopDBCluster

Description

Stops the running cluster that is specified by DBClusterIdentifier. The cluster must be in the available state. For more information, see Stopping and Starting an Amazon DocumentDB Cluster.

Synopsis

Creating a Request

data StopDBCluster Source #

See: newStopDBCluster smart constructor.

Constructors

StopDBCluster' 

Fields

Instances

Instances details
ToHeaders StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

ToPath StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

ToQuery StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

AWSRequest StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Associated Types

type AWSResponse StopDBCluster #

Generic StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Associated Types

type Rep StopDBCluster :: Type -> Type #

Read StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Show StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

NFData StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Methods

rnf :: StopDBCluster -> () #

Eq StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Hashable StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

type AWSResponse StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

type Rep StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

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

newStopDBCluster Source #

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

StopDBCluster, stopDBCluster_dbClusterIdentifier - The identifier of the cluster to stop. Example: docdb-2019-05-28-15-24-52

Request Lenses

stopDBCluster_dbClusterIdentifier :: Lens' StopDBCluster Text Source #

The identifier of the cluster to stop. Example: docdb-2019-05-28-15-24-52

Destructuring the Response

data StopDBClusterResponse Source #

See: newStopDBClusterResponse smart constructor.

Constructors

StopDBClusterResponse' 

Fields

Instances

Instances details
Generic StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Associated Types

type Rep StopDBClusterResponse :: Type -> Type #

Read StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Show StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

NFData StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Methods

rnf :: StopDBClusterResponse -> () #

Eq StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

type Rep StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

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

newStopDBClusterResponse Source #

Create a value of StopDBClusterResponse 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:StopDBClusterResponse', stopDBClusterResponse_dbCluster - Undocumented member.

$sel:httpStatus:StopDBClusterResponse', stopDBClusterResponse_httpStatus - The response's http status code.

Response Lenses