- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
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
See DescribeEndpointsCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Endpoints Required | Endpoint[] | undefined | List of endpoints. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
DynamoDBServiceException | Base exception class for all service exceptions from DynamoDB service. |