Class DeleteServerCommandProtected

Delete an existing AS2 server.

Example

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

import { As2Client, DeleteServerCommand } from "@stedi/sdk-client-as2"; // ES Modules import
// const { As2Client, DeleteServerCommand } = require("@stedi/sdk-client-as2"); // CommonJS import
const client = new As2Client(config);
const input = { // DeleteServerInput
idempotencyKey: "STRING_VALUE",
serverName: "STRING_VALUE", // required
};
const command = new DeleteServerCommand(input);
const response = await client.send(command);
// { // DeleteServerOutput
// serverName: "STRING_VALUE", // required
// resourceDetail: { // DeleteResourceDetail
// idempotencyKey: "STRING_VALUE", // required
// },
// };

Param

DeleteServerCommandInput

Returns

DeleteServerCommandOutput

See

Throws

TooManyRequestsException (client fault)

Throws

ValidationException (client fault)

Throws

AccessDeniedException (client fault)

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

As2ServiceException

Base exception class for all service exceptions from As2 service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions