Copyright | (c) 2013-2015 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 |
Creates a new DB cluster from a DB cluster snapshot. The target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
See: AWS API Reference for RestoreDBClusterFromSnapshot.
- restoreDBClusterFromSnapshot :: Text -> Text -> Text -> RestoreDBClusterFromSnapshot
- data RestoreDBClusterFromSnapshot
- rdcfsEngineVersion :: Lens' RestoreDBClusterFromSnapshot (Maybe Text)
- rdcfsDBSubnetGroupName :: Lens' RestoreDBClusterFromSnapshot (Maybe Text)
- rdcfsAvailabilityZones :: Lens' RestoreDBClusterFromSnapshot [Text]
- rdcfsVPCSecurityGroupIds :: Lens' RestoreDBClusterFromSnapshot [Text]
- rdcfsDatabaseName :: Lens' RestoreDBClusterFromSnapshot (Maybe Text)
- rdcfsOptionGroupName :: Lens' RestoreDBClusterFromSnapshot (Maybe Text)
- rdcfsTags :: Lens' RestoreDBClusterFromSnapshot [Tag]
- rdcfsPort :: Lens' RestoreDBClusterFromSnapshot (Maybe Int)
- rdcfsDBClusterIdentifier :: Lens' RestoreDBClusterFromSnapshot Text
- rdcfsSnapshotIdentifier :: Lens' RestoreDBClusterFromSnapshot Text
- rdcfsEngine :: Lens' RestoreDBClusterFromSnapshot Text
- restoreDBClusterFromSnapshotResponse :: Int -> RestoreDBClusterFromSnapshotResponse
- data RestoreDBClusterFromSnapshotResponse
- rdcfsrsDBCluster :: Lens' RestoreDBClusterFromSnapshotResponse (Maybe DBCluster)
- rdcfsrsResponseStatus :: Lens' RestoreDBClusterFromSnapshotResponse Int
Creating a Request
restoreDBClusterFromSnapshot Source
:: Text | |
-> Text | |
-> Text | |
-> RestoreDBClusterFromSnapshot |
Creates a value of RestoreDBClusterFromSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RestoreDBClusterFromSnapshot Source
See: restoreDBClusterFromSnapshot
smart constructor.
Request Lenses
rdcfsEngineVersion :: Lens' RestoreDBClusterFromSnapshot (Maybe Text) Source
The version of the database engine to use for the new DB cluster.
rdcfsDBSubnetGroupName :: Lens' RestoreDBClusterFromSnapshot (Maybe Text) Source
The name of the DB subnet group to use for the new DB cluster.
rdcfsAvailabilityZones :: Lens' RestoreDBClusterFromSnapshot [Text] Source
Provides the list of EC2 Availability Zones that instances in the restored DB cluster can be created in.
rdcfsVPCSecurityGroupIds :: Lens' RestoreDBClusterFromSnapshot [Text] Source
A list of VPC security groups that the new DB cluster will belong to.
rdcfsDatabaseName :: Lens' RestoreDBClusterFromSnapshot (Maybe Text) Source
The database name for the restored DB cluster.
rdcfsOptionGroupName :: Lens' RestoreDBClusterFromSnapshot (Maybe Text) Source
The name of the option group to use for the restored DB cluster.
rdcfsTags :: Lens' RestoreDBClusterFromSnapshot [Tag] Source
The tags to be assigned to the restored DB cluster.
rdcfsPort :: Lens' RestoreDBClusterFromSnapshot (Maybe Int) Source
The port number on which the new DB cluster accepts connections.
Constraints: Value must be '1150-65535'
Default: The same port as the original DB cluster.
rdcfsDBClusterIdentifier :: Lens' RestoreDBClusterFromSnapshot Text Source
The name of the DB cluster to create from the DB cluster snapshot. This parameter isn't case-sensitive.
Constraints:
- Must contain from 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example: 'my-snapshot-id'
rdcfsSnapshotIdentifier :: Lens' RestoreDBClusterFromSnapshot Text Source
The identifier for the DB cluster snapshot to restore from.
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
rdcfsEngine :: Lens' RestoreDBClusterFromSnapshot Text Source
The database engine to use for the new DB cluster.
Default: The same as source
Constraint: Must be compatible with the engine of the source
Destructuring the Response
restoreDBClusterFromSnapshotResponse Source
Creates a value of RestoreDBClusterFromSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RestoreDBClusterFromSnapshotResponse Source
See: restoreDBClusterFromSnapshotResponse
smart constructor.
Response Lenses
rdcfsrsDBCluster :: Lens' RestoreDBClusterFromSnapshotResponse (Maybe DBCluster) Source
Undocumented member.
rdcfsrsResponseStatus :: Lens' RestoreDBClusterFromSnapshotResponse Int Source
The response status code.