Jump to Content

Class DeleteEndpointCommandProtected

Deletes an endpoint.

It can take up to 5 minutes for this action to finish.

Related actions include:

Example

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 import
const 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);

Param

DeleteEndpointCommandInput

Returns

DeleteEndpointCommandOutput

See

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.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<DeleteEndpointCommandInput, DeleteEndpointCommandOutput>

Methods