Protected
Delete an existing AS2 connector.
Use a bare-bones client and the command you need to make an API call.
import { As2Client, DeleteConnectorCommand } from "@stedi/sdk-client-as2"; // ES Modules import// const { As2Client, DeleteConnectorCommand } = require("@stedi/sdk-client-as2"); // CommonJS importconst client = new As2Client(config);const input = { // DeleteConnectorInput idempotencyKey: "STRING_VALUE", connectorName: "STRING_VALUE", // required};const command = new DeleteConnectorCommand(input);const response = await client.send(command);// { // DeleteConnectorOutput// connectorName: "STRING_VALUE", // required// resourceDetail: { // DeleteResourceDetail// idempotencyKey: "STRING_VALUE", // required// },// };
DeleteConnectorCommandInput
DeleteConnectorCommandOutput
input
response
config
TooManyRequestsException (client fault)
ValidationException (client fault)
AccessDeniedException (client fault)
ProductUnavailableException (client fault)
ResourceAlreadyExistsException (client fault)
ResourceNotFoundException (client fault)
ResourceUnderChangeException (client fault)
ServiceException (server fault)
As2ServiceException
Base exception class for all service exceptions from As2 service.
Readonly
Static
Delete an existing AS2 connector.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteConnectorCommandInput
Returns
DeleteConnectorCommandOutput
See
input
shape.response
shape.config
shape.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.