Last updated on
Apr 27, 2021
Description
This function lists all backups of a table that were created in your AWS account.
For more details, see ListBackups.
Category
History
ColdFusion (2021 release): Added this function.
Syntax
serviceHandle.listBackups(requestParameters)
Parameters
See parameters for ListBackups.
Example
<cfscript> cred = { "credentialAlias" : "myalias", "vendorName" : "AWS", "region" : "us-east-2", "secretAccessKey" : "xxxxx", "accessKeyId" : "xxxx" } conf={ "serviceName"="DYNAMODB" } dynamo=getCloudService(cred, conf) tableName="YearlyProductCatalog" // list all backups listBackupsStruct={ "BackupType": "ALL", "Limit":20, "TableName":"#tableName#" } try{ listBackupsResponse=dynamo.listBackups(listBackupsStruct) writeDump(listBackupsResponse) } catch(any e){ writeDump(e) } </cfscript>
Output