Protected
Deletes an endpoint.
It can take up to 5 minutes for this action to finish.
Related actions include:
CreateEndpoint
ListEndpoints
Use a bare-bones client and the command you need to make an API call.
import { S3OutpostsClient, DeleteEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import// const { S3OutpostsClient, DeleteEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS importconst client = new S3OutpostsClient(config);const input = { // DeleteEndpointRequest EndpointId: "STRING_VALUE", // required OutpostId: "STRING_VALUE", // required};const command = new DeleteEndpointCommand(input);const response = await client.send(command);
DeleteEndpointCommandInput
DeleteEndpointCommandOutput
input
response
config
AccessDeniedException (client fault)
Access was denied for this action.
InternalServerException (server fault)
There was an exception with the internal server.
OutpostOfflineException (client fault)
The service link connection to your Outposts home Region is down. Check your connection and try again.
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
Deletes an endpoint.
It can take up to 5 minutes for this action to finish.
Related actions include:
CreateEndpoint
ListEndpoints
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteEndpointCommandInput
Returns
DeleteEndpointCommandOutput
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
OutpostOfflineException (client fault)
The service link connection to your Outposts home Region is down. Check your connection and try again.
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.