Jump to Content

Class ListEndpointsCommandProtected

Lists endpoints associated with the specified Outpost.

Related actions include:

Example

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

import { S3OutpostsClient, ListEndpointsCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
// const { S3OutpostsClient, ListEndpointsCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
const client = new S3OutpostsClient(config);
const input = { // ListEndpointsRequest
NextToken: "STRING_VALUE",
MaxResults: Number("int"),
};
const command = new ListEndpointsCommand(input);
const response = await client.send(command);

Param

ListEndpointsCommandInput

Returns

ListEndpointsCommandOutput

See

Throws

AccessDeniedException (client fault)

Access was denied for this action.

Throws

InternalServerException (server fault)

There was an exception with the internal server.

Throws

ResourceNotFoundException (client fault)

The requested resource was not found.

Throws

ThrottlingException (client fault)

The request was denied due to request throttling.

Throws

ValidationException (client fault)

There was an exception validating this data.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<ListEndpointsCommandInput, ListEndpointsCommandOutput>

Methods