DescribeEndpointsCommand

Returns the regional endpoint information. For more information on policy permissions, please see Internetwork traffic privacy .

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { DynamoDBClient, DescribeEndpointsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
// const { DynamoDBClient, DescribeEndpointsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
const client = new DynamoDBClient(config);
const input = {};
const command = new DescribeEndpointsCommand(input);
const response = await client.send(command);
// { // DescribeEndpointsResponse
//   Endpoints: [ // Endpoints // required
//     { // Endpoint
//       Address: "STRING_VALUE", // required
//       CachePeriodInMinutes: Number("long"), // required
//     },
//   ],
// };

DescribeEndpointsCommand Input

See DescribeEndpointsCommandInput for more details
DescribeEndpointsCommandInput extends DescribeEndpointsRequest 

DescribeEndpointsCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
Endpoints
Required
Endpoint[] | undefined

List of endpoints.

Throws

Name
Fault
Details
DynamoDBServiceException
Base exception class for all service exceptions from DynamoDB service.