Protected
Lists endpoints associated with the specified Outpost.
Related actions include:
CreateEndpoint
DeleteEndpoint
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 importconst client = new S3OutpostsClient(config);const input = { // ListEndpointsRequest NextToken: "STRING_VALUE", MaxResults: Number("int"),};const command = new ListEndpointsCommand(input);const response = await client.send(command);
ListEndpointsCommandInput
ListEndpointsCommandOutput
input
response
config
AccessDeniedException (client fault)
Access was denied for this action.
InternalServerException (server fault)
There was an exception with the internal server.
ResourceNotFoundException (client fault)
The requested resource was not found.
ThrottlingException (client fault)
The request was denied due to request throttling.
ValidationException (client fault)
There was an exception validating this data.
Readonly
Static
Lists endpoints associated with the specified Outpost.
Related actions include:
CreateEndpoint
DeleteEndpoint
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListEndpointsCommandInput
Returns
ListEndpointsCommandOutput
See
input
shape.response
shape.config
shape.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.