Last updated on
Apr 27, 2021
Description
This function returns the existing provisioned-capacity limits for your AWS account in a region, both for the region and the table that has already been created in the region.
For more information, see DescribeLimits.
Category
History
ColdFusion (2021 release): Added this function.
Syntax
serviceHandle.describeLimits(requestParameters)
Parameters
See request parameters for DescribeLimits.
Example
<cfscript> cred = { "credentialAlias" : "myalias", "vendorName" : "AWS", "region" : "us-east-2", "secretAccessKey" : "xxxxx", "accessKeyId" : "xxxx" } config = { "serviceName" = "DYNAMODB" } dynamo = getCloudService(cred, config) describeStruct=StructNew() describeLimitsResponse=dynamo.describeLimits(describeStruct) writeOutput("Account Max Read Capacity Units: " & describeLimitsResponse.AccountMaxReadCapacityUnits & "<br/>") writeOutput("Account Max Write Capacity Units: " & describeLimitsResponse.AccountMaxWriteCapacityUnits & "<br/>") writeOutput("Table Max Read Capacity Units: " & describeLimitsResponse.TableMaxReadCapacityUnits & "<br/>") writeOutput("Table Max Write Capacity Units: " & describeLimitsResponse.TableMaxWriteCapacityUnits & "<br/>") </cfscript>
Output