Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Stops a 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 and Starting a DB instance in the AWS RDS user guide.
Synopsis
- stopDBInstance :: Text -> StopDBInstance
- data StopDBInstance
- sdiDBSnapshotIdentifier :: Lens' StopDBInstance (Maybe Text)
- sdiDBInstanceIdentifier :: Lens' StopDBInstance Text
- stopDBInstanceResponse :: Int -> StopDBInstanceResponse
- data StopDBInstanceResponse
- sdirsDBInstance :: Lens' StopDBInstanceResponse (Maybe DBInstance)
- sdirsResponseStatus :: Lens' StopDBInstanceResponse Int
Creating a Request
Creates a value of StopDBInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiDBSnapshotIdentifier
- The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.sdiDBInstanceIdentifier
- The user-supplied instance identifier.
data StopDBInstance Source #
See: stopDBInstance
smart constructor.
Instances
Request Lenses
sdiDBSnapshotIdentifier :: Lens' StopDBInstance (Maybe Text) Source #
The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.
sdiDBInstanceIdentifier :: Lens' StopDBInstance Text Source #
The user-supplied instance identifier.
Destructuring the Response
stopDBInstanceResponse Source #
Creates a value of StopDBInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdirsDBInstance
- Undocumented member.sdirsResponseStatus
- -- | The response status code.
data StopDBInstanceResponse Source #
See: stopDBInstanceResponse
smart constructor.
Instances
Response Lenses
sdirsDBInstance :: Lens' StopDBInstanceResponse (Maybe DBInstance) Source #
Undocumented member.
sdirsResponseStatus :: Lens' StopDBInstanceResponse Int Source #
- - | The response status code.