DescribeGlobalTableSettings

Description

This function displays region-specific settings for a global table, already created.

For more information, see DescribeGlobalTableSettings.

Category

History

ColdFusion (2021 release): Added this function.

Syntax

serviceHandle.describeGlovalTableSettings(requestParameters)

Parameters

See request parameters for DescribeGlobalTableSettings.

Example

<cfscript> 
  cred = { 
    "credentialAlias" : "myalias", 
    "vendorName" : "AWS", 
    "region" : "us-east-2", 
    "secretAccessKey" : "xxxxx", 
    "accessKeyId" : "xxxx" 
  } 
  config = { 
    "serviceName" = "DYNAMODB" 
  } 
  dynamo = getCloudService(cred, config) 
 
  // get global table settings 
  describeGlobalTableSettingsStruct={ 
    "GlobalTableName": "Movies002" 
  } 
  settingsResponse=dynamo.describeGlobalTableSettings(describeGlobalTableSettingsStruct) 
  writeOutput("Replica settings:") 
  writeDump(settingsResponse.ReplicaSettings) 
</cfscript> 

Output

DescribeGlobalTableSettings output
DescribeGlobalTableSettings output

 Adobe

Get help faster and easier

New user?