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

Description

Stops an Amazon RDS DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary.

For more information, see Stopping an Amazon RDS DB Instance Temporarily in the Amazon RDS User Guide.

This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For Aurora clusters, use StopDBCluster instead.

Synopsis

Creating a Request

data StopDBInstance Source #

See: newStopDBInstance smart constructor.

Constructors

StopDBInstance' 

Fields

Instances

Instances details
Eq StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Read StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Show StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Generic StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Associated Types

type Rep StopDBInstance :: Type -> Type #

NFData StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Methods

rnf :: StopDBInstance -> () #

Hashable StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

AWSRequest StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Associated Types

type AWSResponse StopDBInstance #

ToHeaders StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

ToPath StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

ToQuery StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

type Rep StopDBInstance Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

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

Defined in Amazonka.RDS.StopDBInstance

newStopDBInstance Source #

Create a value of StopDBInstance 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:dbSnapshotIdentifier:StopDBInstance', stopDBInstance_dbSnapshotIdentifier - The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.

$sel:dbInstanceIdentifier:StopDBInstance', stopDBInstance_dbInstanceIdentifier - The user-supplied instance identifier.

Request Lenses

stopDBInstance_dbSnapshotIdentifier :: Lens' StopDBInstance (Maybe Text) Source #

The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.

stopDBInstance_dbInstanceIdentifier :: Lens' StopDBInstance Text Source #

The user-supplied instance identifier.

Destructuring the Response

data StopDBInstanceResponse Source #

See: newStopDBInstanceResponse smart constructor.

Constructors

StopDBInstanceResponse' 

Fields

Instances

Instances details
Eq StopDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Read StopDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Show StopDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Generic StopDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Associated Types

type Rep StopDBInstanceResponse :: Type -> Type #

NFData StopDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

Methods

rnf :: StopDBInstanceResponse -> () #

type Rep StopDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.StopDBInstance

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

newStopDBInstanceResponse Source #

Create a value of StopDBInstanceResponse 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:dbInstance:StopDBInstanceResponse', stopDBInstanceResponse_dbInstance - Undocumented member.

$sel:httpStatus:StopDBInstanceResponse', stopDBInstanceResponse_httpStatus - The response's http status code.

Response Lenses