Class UpdateConnectorCommandProtected

Update an existing AS2 connector.

Example

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

import { As2Client, UpdateConnectorCommand } from "@stedi/sdk-client-as2"; // ES Modules import
// const { As2Client, UpdateConnectorCommand } = require("@stedi/sdk-client-as2"); // CommonJS import
const client = new As2Client(config);
const input = { // UpdateConnectorInput
idempotencyKey: "STRING_VALUE",
localProfileId: "STRING_VALUE",
partnerProfileId: "STRING_VALUE",
url: "STRING_VALUE",
basicAuthenticationCredentials: { // BasicAuthenticationCredentials
username: "STRING_VALUE",
password: "STRING_VALUE",
},
messageSubject: "STRING_VALUE",
compression: "ZLIB" || "DISABLED",
encryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "NONE",
signingAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE",
mdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
mdnResponse: "SYNC" || "NONE",
connectorName: "STRING_VALUE", // required
};
const command = new UpdateConnectorCommand(input);
const response = await client.send(command);
// { // UpdateConnectorOutput
// connectorName: "STRING_VALUE", // required
// resourceDetail: { // UpdateResourceDetail
// idempotencyKey: "STRING_VALUE", // required
// },
// };

Param

UpdateConnectorCommandInput

Returns

UpdateConnectorCommandOutput

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