DescribeEndpoints

Description

This function returns the region-specific endpoint.

For more information, see DescribeEndpoints.

Category

History

ColdFusion (2021 release): Added this function.

Syntax

serviceHandle.describeEndpoints(requestParameters)

Parameters

See the parameters for DescribeEndpoints.

Example

<cfscript> 
  cred = { 
    "credentialAlias" : "myalias", 
    "vendorName" : "AWS", 
    "region" : "us-east-2", 
    "secretAccessKey" : "xxxxx", 
    "accessKeyId" : "xxxx" 
  } 
 
  conf={ 
    "serviceName"="DYNAMODB" 
  } 
 
  dynamo=getCloudService(cred, conf) 
  structRequest=StructNew() 
  try{ 
    endpointsResponse=dynamo.describeEndpoints(structRequest) 
    writeDump(endpointsResponse) 
    writeOutput("The IP of the endpoint is: " & endpointsResponse.Endpoints[1].Address) 
  } 
  catch (any e){ 
    writeDump(e) 
  } 
</cfscript> 

Output

DescribeEndpoints output
DescribeEndpoints output

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online