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
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:
cdbcsTags
- Undocumented member.cdbcsSourceDBClusterSnapshotIdentifier
- 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
- 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
data CopyDBClusterSnapshot #
See: copyDBClusterSnapshot
smart constructor.
Instances
Request Lenses
cdbcsTags :: Lens' CopyDBClusterSnapshot [Tag] #
Undocumented member.
cdbcsSourceDBClusterSnapshotIdentifier :: Lens' CopyDBClusterSnapshot Text #
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 #
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 #
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:
cdcsrsDBClusterSnapshot
- Undocumented member.cdcsrsResponseStatus
- -- | The response status code.
data CopyDBClusterSnapshotResponse #
See: copyDBClusterSnapshotResponse
smart constructor.
Response Lenses
cdcsrsDBClusterSnapshot :: Lens' CopyDBClusterSnapshotResponse (Maybe DBClusterSnapshot) #
Undocumented member.
cdcsrsResponseStatus :: Lens' CopyDBClusterSnapshotResponse Int #
- - | The response status code.