Copyright | (c) 2013-2021 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 |
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide.
This action only applies to Aurora DB clusters.
Synopsis
- data CreateDBClusterSnapshot = CreateDBClusterSnapshot' {}
- newCreateDBClusterSnapshot :: Text -> Text -> CreateDBClusterSnapshot
- createDBClusterSnapshot_tags :: Lens' CreateDBClusterSnapshot (Maybe [Tag])
- createDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text
- createDBClusterSnapshot_dbClusterIdentifier :: Lens' CreateDBClusterSnapshot Text
- data CreateDBClusterSnapshotResponse = CreateDBClusterSnapshotResponse' {}
- newCreateDBClusterSnapshotResponse :: Int -> CreateDBClusterSnapshotResponse
- createDBClusterSnapshotResponse_dbClusterSnapshot :: Lens' CreateDBClusterSnapshotResponse (Maybe DBClusterSnapshot)
- createDBClusterSnapshotResponse_httpStatus :: Lens' CreateDBClusterSnapshotResponse Int
Creating a Request
data CreateDBClusterSnapshot Source #
See: newCreateDBClusterSnapshot
smart constructor.
CreateDBClusterSnapshot' | |
|
Instances
newCreateDBClusterSnapshot Source #
:: Text | |
-> Text | |
-> CreateDBClusterSnapshot |
Create a value of CreateDBClusterSnapshot
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:tags:CreateDBClusterSnapshot'
, createDBClusterSnapshot_tags
- The tags to be assigned to the DB cluster snapshot.
$sel:dbClusterSnapshotIdentifier:CreateDBClusterSnapshot'
, createDBClusterSnapshot_dbClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as a
lowercase string.
Constraints:
- Must contain from 1 to 63 letters, numbers, or hyphens.
- First character must be a letter.
- Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
$sel:dbClusterIdentifier:CreateDBClusterSnapshot'
, createDBClusterSnapshot_dbClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This
parameter isn't case-sensitive.
Constraints:
- Must match the identifier of an existing DBCluster.
Example: my-cluster1
Request Lenses
createDBClusterSnapshot_tags :: Lens' CreateDBClusterSnapshot (Maybe [Tag]) Source #
The tags to be assigned to the DB cluster snapshot.
createDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text Source #
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 letters, numbers, or hyphens.
- First character must be a letter.
- Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
createDBClusterSnapshot_dbClusterIdentifier :: Lens' CreateDBClusterSnapshot Text Source #
The identifier of the DB cluster to create a snapshot for. This parameter isn't case-sensitive.
Constraints:
- Must match the identifier of an existing DBCluster.
Example: my-cluster1
Destructuring the Response
data CreateDBClusterSnapshotResponse Source #
See: newCreateDBClusterSnapshotResponse
smart constructor.
CreateDBClusterSnapshotResponse' | |
|
Instances
Eq CreateDBClusterSnapshotResponse Source # | |
Read CreateDBClusterSnapshotResponse Source # | |
Show CreateDBClusterSnapshotResponse Source # | |
Defined in Amazonka.RDS.CreateDBClusterSnapshot | |
Generic CreateDBClusterSnapshotResponse Source # | |
NFData CreateDBClusterSnapshotResponse Source # | |
Defined in Amazonka.RDS.CreateDBClusterSnapshot rnf :: CreateDBClusterSnapshotResponse -> () # | |
type Rep CreateDBClusterSnapshotResponse Source # | |
Defined in Amazonka.RDS.CreateDBClusterSnapshot type Rep CreateDBClusterSnapshotResponse = D1 ('MetaData "CreateDBClusterSnapshotResponse" "Amazonka.RDS.CreateDBClusterSnapshot" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateDBClusterSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBClusterSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateDBClusterSnapshotResponse Source #
Create a value of CreateDBClusterSnapshotResponse
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:dbClusterSnapshot:CreateDBClusterSnapshotResponse'
, createDBClusterSnapshotResponse_dbClusterSnapshot
- Undocumented member.
$sel:httpStatus:CreateDBClusterSnapshotResponse'
, createDBClusterSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
createDBClusterSnapshotResponse_dbClusterSnapshot :: Lens' CreateDBClusterSnapshotResponse (Maybe DBClusterSnapshot) Source #
Undocumented member.
createDBClusterSnapshotResponse_httpStatus :: Lens' CreateDBClusterSnapshotResponse Int Source #
The response's http status code.