ListGlobalTables

Description

This function lists all global tables with replicas in a region.

For more information, see ListGlobalTables.

Category

History

ColdFusion (2021 release): Added this function.

Syntax

serviceHandle.listGlobalTables(requestParameters)

Parameters

See parameters for ListGlobalTables.

Example

<cfscript> 
 cred = { 
    "credentialAlias" : "myalias", 
    "vendorName" : "AWS", 
    "region" : "us-east-2", 
    "secretAccessKey" : "xxxxx", 
    "accessKeyId" : "xxxx" 
  } 
 
  conf={ 
    "serviceName"="DYNAMODB" 
  } 
 
  dynamo=getCloudService(cred, conf) 
  listGlobalTableStruct={ 
    "Limit":20 
  } 
  try{ 
    listGlobalTablesResponse=dynamo.listGlobalTables(listGlobalTableStruct) 
    writeDump(listGlobalTablesResponse) 
  } 
  catch(any e){ 
    writeDump(e) 
  } 
</cfscript> 

Output

ListGlobalTables output
ListGlobalTables output

 Adobe

Get help faster and easier

New user?