Whatever message this page gives is out now! Go check it out!
serviceHandle.updateContinuousBackups(requestParameters)<cfscript>
cred = {
"credentialAlias" : "myalias",
"vendorName" : "AWS",
"region" : "us-east-2",
"secretAccessKey" : "xxxxx",
"accessKeyId" : "xxxx"
}
config = {
"serviceName" = "DYNAMODB"
}
dynamo = getCloudService(cred, config)
tableName="YearlyProductCatalog"
updateStruct={
"PointInTimeRecoverySpecification": {
"PointInTimeRecoveryEnabled": true
},
"TableName": "#tableName#"
}
// updateResponse=dynamo.updateContinuousBackups(updateStruct)
// writeDump(updateResponse)
try{
updateResponse=dynamo.updateContinuousBackups(updateStruct)
if
(updateResponse.ContinuousBackupsDescription.ContinuousBackupsStatus=="ENABLED")
{
writeOutput("Continuous backups enabled")
}
else{
writeOutput("Continuous backups failed")
}
}
catch(any e){
writeDump(e)
}
</cfscript>