aws_db_snapshot.md
April 1, 2019 ยท View on GitHub
Document: "rds"
Path: "https://github.com/aws/aws-sdk-go-v2/tree/master/models/apis/rds/2014-10-31/api-2.json")
DBSnapshot
aws_db_snapshot {
db_instance_identifier => "db_instance_identifier (optional)",
dbi_resource_id => "dbi_resource_id (optional)",
db_snapshot_identifier => "db_snapshot_identifier (optional)",
engine_version => "engine_version (optional)",
filters => "Filters (optional)",
include_public => "IncludePublic (optional)",
include_shared => "IncludeShared (optional)",
max_records => "MaxRecords (optional)",
option_group_name => "option_group_name (optional)",
option_group_name => "option_group_name (optional)",
snapshot_type => "snapshot_type (optional)",
tags => "Tags (optional)",
}
| Name | Type | Required |
|---|---|---|
| db_instance_identifier | String | false |
| dbi_resource_id | String | false |
| db_snapshot_identifier | String | false |
| engine_version | String | false |
| filters | FilterList | false |
| include_public | Boolean | false |
| include_shared | Boolean | false |
| max_records | IntegerOptional | false |
| option_group_name | String | false |
| option_group_name | String | false |
| snapshot_type | String | false |
| tags | TagList | false |
CRUD operations
Here is a list of endpoints that we use to create, read, update and delete the DBSnapshot
| Operation | Path | Verb | Description | OperationID |
|---|---|---|---|---|
| Create | / | POST | Creates a DBSnapshot. The source DBInstance must be in "available" state. | CreateDBSnapshot |
| List - list all | / | POST | Returns information about DB snapshots. This API action supports pagination. | DescribeDBSnapshots |
| List - get one | `` | |||
| List - get list using params | / | POST | Returns information about DB snapshots. This API action supports pagination. | DescribeDBSnapshots |
| Update | / | POST | Updates a manual DB snapshot, which can be encrypted or not encrypted, with a new engine version. Amazon RDS supports upgrading DB snapshots for MySQL and Oracle. | ModifyDBSnapshot |
| Delete | / | POST | Deletes a DB snapshot. If the snapshot is being copied, the copy operation is terminated. The DB snapshot must be in the | DeleteDBSnapshot |