Describe Db Snapshots
rds_describe_db_snapshots | R Documentation |
Returns information about DB snapshots¶
Description¶
Returns information about DB snapshots. This API action supports pagination.
Usage¶
rds_describe_db_snapshots(DBInstanceIdentifier, DBSnapshotIdentifier,
SnapshotType, Filters, MaxRecords, Marker, IncludeShared, IncludePublic,
DbiResourceId)
Arguments¶
DBInstanceIdentifier |
The ID of the DB instance to retrieve the list of DB snapshots for. This parameter isn't case-sensitive. Constraints:
|
DBSnapshotIdentifier |
A specific DB snapshot identifier to describe. This value is stored as a lowercase string. Constraints:
|
SnapshotType |
The type of snapshots to be returned. You can specify one of the following values:
If you don't specify a The |
Filters |
A filter that specifies one or more DB snapshots to describe. Supported filters:
|
MaxRecords |
The maximum number of records to include in the response. If more
records exist than the specified Default: 100 Constraints: Minimum 20, maximum 100. |
Marker |
An optional pagination token provided by a previous
|
IncludeShared |
Specifies whether to include shared manual DB cluster snapshots from other Amazon Web Services accounts that this Amazon Web Services account has been given permission to copy or restore. By default, these snapshots are not included. You can give an Amazon Web Services account permission to restore a
manual DB snapshot from another Amazon Web Services account by using the
This setting doesn't apply to RDS Custom. |
IncludePublic |
Specifies whether to include manual DB cluster snapshots that are public and can be copied or restored by any Amazon Web Services account. By default, the public snapshots are not included. You can share a manual DB snapshot as public by using the
This setting doesn't apply to RDS Custom. |
DbiResourceId |
A specific DB resource ID to describe. |
Value¶
A list with the following syntax:
list(
Marker = "string",
DBSnapshots = list(
list(
DBSnapshotIdentifier = "string",
DBInstanceIdentifier = "string",
SnapshotCreateTime = as.POSIXct(
"2015-01-01"
),
Engine = "string",
AllocatedStorage = 123,
Status = "string",
Port = 123,
AvailabilityZone = "string",
VpcId = "string",
InstanceCreateTime = as.POSIXct(
"2015-01-01"
),
MasterUsername = "string",
EngineVersion = "string",
LicenseModel = "string",
SnapshotType = "string",
Iops = 123,
OptionGroupName = "string",
PercentProgress = 123,
SourceRegion = "string",
SourceDBSnapshotIdentifier = "string",
StorageType = "string",
TdeCredentialArn = "string",
Encrypted = TRUE|FALSE,
KmsKeyId = "string",
DBSnapshotArn = "string",
Timezone = "string",
IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
ProcessorFeatures = list(
list(
Name = "string",
Value = "string"
)
),
DbiResourceId = "string",
TagList = list(
list(
Key = "string",
Value = "string"
)
),
OriginalSnapshotCreateTime = as.POSIXct(
"2015-01-01"
),
SnapshotDatabaseTime = as.POSIXct(
"2015-01-01"
),
SnapshotTarget = "string",
StorageThroughput = 123,
DBSystemId = "string",
DedicatedLogVolume = TRUE|FALSE,
MultiTenant = TRUE|FALSE
)
)
)
Request syntax¶
svc$describe_db_snapshots(
DBInstanceIdentifier = "string",
DBSnapshotIdentifier = "string",
SnapshotType = "string",
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
),
MaxRecords = 123,
Marker = "string",
IncludeShared = TRUE|FALSE,
IncludePublic = TRUE|FALSE,
DbiResourceId = "string"
)
Examples¶
## Not run:
# This example lists all manually-created, shared snapshots for the
# specified DB instance.
svc$describe_db_snapshots(
DBInstanceIdentifier = "mymysqlinstance",
IncludePublic = FALSE,
IncludeShared = TRUE,
SnapshotType = "manual"
)
## End(Not run)