DeleteDBInstanceAutomatedBackup
Deletes automated backups using the DbiResourceId
value of the source DB instance or the Amazon Resource Name (ARN) of the automated backups.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- DBInstanceAutomatedBackupsArn
-
The Amazon Resource Name (ARN) of the automated backups to delete, for example,
arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.This setting doesn't apply to RDS Custom.
Type: String
Required: No
- DbiResourceId
-
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
Type: String
Required: No
Response Elements
The following element is returned by the service.
- DBInstanceAutomatedBackup
-
An automated backup of a DB instance. It consists of system backups, transaction logs, and the database instance properties that existed at the time you deleted the source instance.
Type: DBInstanceAutomatedBackup object
Errors
For information about the errors that are common to all actions, see Common Errors.
- DBInstanceAutomatedBackupNotFound
-
No automated backup for this DB instance was found.
HTTP Status Code: 404
- InvalidDBInstanceAutomatedBackupState
-
The automated backup is in an invalid state. For example, this automated backup is associated with an active instance.
HTTP Status Code: 400
Examples
Example
This example illustrates one usage of DeleteDBInstanceAutomatedBackup.
Sample Request
https://rds.us-east-1.amazonaws.com/
?Action=DeleteDBInstanceAutomatedBackup
&DbiResourceId=db-YVS5NRBNHPGJZ3IT3WADXYSWYU
&SignatureMethod=HmacSHA256
&SignatureVersion=4
&Version=2014-10-31
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=AKIADQKE4SARGYLE/20140420/us-east-1/rds/aws4_request
&X-Amz-Date=20180912T200207Z
&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date
Example
This example illustrates one usage of DeleteDBInstanceAutomatedBackup.
Sample Response
<DeleteDBInstanceAutomatedBackupResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/">
<DeleteDBInstanceAutomatedBackupResult>
<DBInstanceAutomatedBackup>
<EngineVersion>11.2.0.4.v13</EngineVersion>
<MasterUsername>admin</MasterUsername>
<AllocatedStorage>50</AllocatedStorage>
<InstanceCreateTime>2018-08-17T21:58:30Z</InstanceCreateTime>
<DbiResourceId>db-YVS5NRBNHPGJZ3IT3WADXYSWYU</DbiResourceId>
<DBInstanceArn>arn:aws:rds:us-east-1:1234567890:db:myoracle1</DBInstanceArn>
<DBInstanceIdentifier>myoracle1</DBInstanceIdentifier>
<RestoreWindow/>
<Encrypted>false</Encrypted>
<Engine>oracle-ee</Engine>
<Port>1521</Port>
<LicenseModel>bring-your-own-license</LicenseModel>
<IAMDatabaseAuthenticationEnabled>false</IAMDatabaseAuthenticationEnabled>
<StorageType>magnetic</StorageType>
<OptionGroupName>default:oracle-ee-11-2</OptionGroupName>
<Region>us-east-1</Region>
<Status>deleting</Status>
</DBInstanceAutomatedBackup>
</DeleteDBInstanceAutomatedBackupResult>
<ResponseMetadata>
<RequestId>d1b4b637-3663-49c9-95ef-65e4e2b8e848</RequestId>
</ResponseMetadata>
</DeleteDBInstanceAutomatedBackupResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: