| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.RDS.CopyDBClusterSnapshot
Description
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
- copyDBClusterSnapshot :: Text -> Text -> CopyDBClusterSnapshot
- data CopyDBClusterSnapshot
- cdbcsTags :: Lens' CopyDBClusterSnapshot [Tag]
- cdbcsSourceDBClusterSnapshotIdentifier :: Lens' CopyDBClusterSnapshot Text
- cdbcsTargetDBClusterSnapshotIdentifier :: Lens' CopyDBClusterSnapshot Text
- copyDBClusterSnapshotResponse :: Int -> CopyDBClusterSnapshotResponse
- data CopyDBClusterSnapshotResponse
- cdcsrsDBClusterSnapshot :: Lens' CopyDBClusterSnapshotResponse (Maybe DBClusterSnapshot)
- cdcsrsResponseStatus :: Lens' CopyDBClusterSnapshotResponse Int
Creating a Request
copyDBClusterSnapshot Source #
Arguments
| :: Text | |
| -> Text | |
| -> CopyDBClusterSnapshot |
Creates a value of CopyDBClusterSnapshot with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CopyDBClusterSnapshot Source #
See: copyDBClusterSnapshot smart constructor.
Instances
Request Lenses
cdbcsSourceDBClusterSnapshotIdentifier :: Lens' CopyDBClusterSnapshot Text Source #
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example: 'my-cluster-snapshot1'
cdbcsTargetDBClusterSnapshotIdentifier :: Lens' CopyDBClusterSnapshot Text Source #
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example: 'my-cluster-snapshot2'
Destructuring the Response
copyDBClusterSnapshotResponse Source #
Arguments
| :: Int | |
| -> CopyDBClusterSnapshotResponse |
Creates a value of CopyDBClusterSnapshotResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CopyDBClusterSnapshotResponse Source #
See: copyDBClusterSnapshotResponse smart constructor.
Instances
Response Lenses
cdcsrsDBClusterSnapshot :: Lens' CopyDBClusterSnapshotResponse (Maybe DBClusterSnapshot) Source #
Undocumented member.
cdcsrsResponseStatus :: Lens' CopyDBClusterSnapshotResponse Int Source #
The response status code.