DescribeLimits

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

DescribeLimits output
DescribeLimits output

 Adobe

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online