Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class UpdateExtensionAssociationCommandProtected

Updates an association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.

Example

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

import { AppConfigClient, UpdateExtensionAssociationCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
// const { AppConfigClient, UpdateExtensionAssociationCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
const client = new AppConfigClient(config);
const input = { // UpdateExtensionAssociationRequest
ExtensionAssociationId: "STRING_VALUE", // required
Parameters: { // ParameterValueMap
"<keys>": "STRING_VALUE",
},
};
const command = new UpdateExtensionAssociationCommand(input);
const response = await client.send(command);
// { // ExtensionAssociation
// Id: "STRING_VALUE",
// ExtensionArn: "STRING_VALUE",
// ResourceArn: "STRING_VALUE",
// Arn: "STRING_VALUE",
// Parameters: { // ParameterValueMap
// "<keys>": "STRING_VALUE",
// },
// ExtensionVersionNumber: Number("int"),
// };

Param

UpdateExtensionAssociationCommandInput

Returns

UpdateExtensionAssociationCommandOutput

See

Throws

BadRequestException (client fault)

The input fails to satisfy the constraints specified by an Amazon Web Services service.

Throws

InternalServerException (server fault)

There was an internal failure in the AppConfig service.

Throws

ResourceNotFoundException (client fault)

The requested resource could not be found.

Throws

AppConfigServiceException

Base exception class for all service exceptions from AppConfig service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods