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.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
Eq StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Read StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Show StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Generic StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Associated Types

type Rep StopDBCluster :: Type -> Type #

NFData StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Methods

rnf :: StopDBCluster -> () #

Hashable StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

AWSRequest StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Associated Types

type AWSResponse StopDBCluster #

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

type Rep StopDBCluster Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

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

Defined in Amazonka.DocumentDB.StopDBCluster

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:

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

Defined in Amazonka.DocumentDB.StopDBCluster

Read StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Show StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Generic StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Associated Types

type Rep StopDBClusterResponse :: Type -> Type #

NFData StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

Methods

rnf :: StopDBClusterResponse -> () #

type Rep StopDBClusterResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.StopDBCluster

type Rep StopDBClusterResponse = D1 ('MetaData "StopDBClusterResponse" "Amazonka.DocumentDB.StopDBCluster" "libZSservicesZSamazonka-docdbZSamazonka-docdb" '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