Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a snapshot of a cluster.
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 #
Represents the input of CreateDBClusterSnapshot.
See: newCreateDBClusterSnapshot
smart constructor.
CreateDBClusterSnapshot' | |
|
Instances
newCreateDBClusterSnapshot Source #
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 cluster snapshot.
CreateDBClusterSnapshot
, createDBClusterSnapshot_dbClusterSnapshotIdentifier
- The identifier of the cluster snapshot. This parameter is stored as a
lowercase string.
Constraints:
- Must contain from 1 to 63 letters, numbers, or hyphens.
- The first character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
CreateDBClusterSnapshot
, createDBClusterSnapshot_dbClusterIdentifier
- The identifier of the cluster to create a snapshot for. This parameter
is not case sensitive.
Constraints:
- Must match the identifier of an existing
DBCluster
.
Example: my-cluster
Request Lenses
createDBClusterSnapshot_tags :: Lens' CreateDBClusterSnapshot (Maybe [Tag]) Source #
The tags to be assigned to the cluster snapshot.
createDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text Source #
The identifier of the cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 letters, numbers, or hyphens.
- The first character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
createDBClusterSnapshot_dbClusterIdentifier :: Lens' CreateDBClusterSnapshot Text Source #
The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.
Constraints:
- Must match the identifier of an existing
DBCluster
.
Example: my-cluster
Destructuring the Response
data CreateDBClusterSnapshotResponse Source #
See: newCreateDBClusterSnapshotResponse
smart constructor.
CreateDBClusterSnapshotResponse' | |
|
Instances
Generic CreateDBClusterSnapshotResponse Source # | |
Read CreateDBClusterSnapshotResponse Source # | |
Show CreateDBClusterSnapshotResponse Source # | |
Defined in Amazonka.DocumentDB.CreateDBClusterSnapshot | |
NFData CreateDBClusterSnapshotResponse Source # | |
Defined in Amazonka.DocumentDB.CreateDBClusterSnapshot rnf :: CreateDBClusterSnapshotResponse -> () # | |
Eq CreateDBClusterSnapshotResponse Source # | |
type Rep CreateDBClusterSnapshotResponse Source # | |
Defined in Amazonka.DocumentDB.CreateDBClusterSnapshot type Rep CreateDBClusterSnapshotResponse = D1 ('MetaData "CreateDBClusterSnapshotResponse" "Amazonka.DocumentDB.CreateDBClusterSnapshot" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" '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.