| Did this page help you? Yes No Tell us about it... |
Creates a DBSnapshot. The source DBInstance must be in "available" state.
For information about the common parameters that all actions use, see Common Query Parameters.
| Name | Description | Required |
|---|---|---|
DBInstanceIdentifier
|
The DB Instance identifier. This is the unique key that identifies a DB Instance. This parameter isn't case sensitive. Constraints:
Type: String | Yes |
DBSnapshotIdentifier
|
The identifier for the DB Snapshot. Constraints:
Example: Type: String | Yes |
DBSnapshot
structure.
| Name | Description |
|---|---|
AllocatedStorage
|
Specifies the allocated storage size in gigabytes (GB). Type: Integer |
AvailabilityZone
|
Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot. Type: String |
DBInstanceIdentifier
|
Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from. Type: String |
DBSnapshotIdentifier
|
Specifies the identifier for the DB Snapshot. Type: String |
Engine
|
Specifies the name of the database engine. Type: String |
EngineVersion
|
Specifies the version of the database engine. Type: String |
InstanceCreateTime
|
Specifies the time (UTC) when the snapshot was taken. Type: DateTime |
LicenseModel
|
License model information for the restored DB Instance. Type: String |
MasterUsername
|
Provides the master username for the DB Instance. Type: String |
Port
|
Specifies the port that the database engine was listening on at the time of the snapshot. Type: Integer |
SnapshotCreateTime
|
Provides the time (UTC) when the snapshot was taken. Type: DateTime |
SnapshotType
|
Provides the type of the DB Snapshot. Type: String |
Status
|
Specifies the status of this DB Snapshot. Type: String |
VpcId
|
Provides the Vpc Id associated with the DB Snapshot. Type: String |
For information about the common errors that all actions use, see Common Errors.
| Error | Description | HTTP Status Code |
|---|---|---|
DBInstanceNotFound
|
DBInstanceIdentifier does not refer to an existing DB Instance. | 404 |
DBSnapshotAlreadyExists
|
DBSnapshotIdentifier is already used by an existing snapshot. | 400 |
InvalidDBInstanceState
|
The specified DB Instance is not in the available state. | 400 |
SnapshotQuotaExceeded
|
Request would result in user exceeding the allowed number of DB Snapshots. | 400 |
https://rds.amazonaws.com/
?Action=CreateDBSnapshot
&DBInstanceIdentifier=simcoprod01
&DBSnapshotIdentifier=mydbsnapshot
&Version=2012-04-23
&SignatureVersion=2&SignatureMethod=HmacSHA256
&Timestamp=2011-05-23T06%3A27%3A42.551Z
&AWSAccessKeyId=<AWS Access Key ID>
&Signature=<Signature><CreateDBSnapshotResponse xmlns="http://rds.amazonaws.com/doc/2012-04-23/">
<CreateDBSnapshotResult>
<DBSnapshot>
<Port>3306</Port>
<Engine>mysql</Engine>
<Status>creating</Status>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<LicenseModel>general-public-license</LicenseModel>
<InstanceCreateTime>2011-05-23T06:06:43.110Z</InstanceCreateTime>
<AllocatedStorage>10</AllocatedStorage>
<DBInstanceIdentifier>simcoprod01</DBInstanceIdentifier>
<EngineVersion>5.1.50</EngineVersion>
<DBSnapshotIdentifier>mydbsnapshot</DBSnapshotIdentifier>
<SnapshotType>manual</SnapshotType>
<MasterUsername>master</MasterUsername>
</DBSnapshot>
</CreateDBSnapshotResult>
<ResponseMetadata>
<RequestId>c4181d1d-8505-11e0-90aa-eb648410240d</RequestId>
</ResponseMetadata>
</CreateDBSnapshotResponse>