Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class ListExtensionAssociationsCommandProtected

Lists all AppConfig extension associations in the account. 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, ListExtensionAssociationsCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
// const { AppConfigClient, ListExtensionAssociationsCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
const client = new AppConfigClient(config);
const input = { // ListExtensionAssociationsRequest
ResourceIdentifier: "STRING_VALUE",
ExtensionIdentifier: "STRING_VALUE",
ExtensionVersionNumber: Number("int"),
MaxResults: Number("int"),
NextToken: "STRING_VALUE",
};
const command = new ListExtensionAssociationsCommand(input);
const response = await client.send(command);
// { // ExtensionAssociations
// Items: [ // ExtensionAssociationSummaries
// { // ExtensionAssociationSummary
// Id: "STRING_VALUE",
// ExtensionArn: "STRING_VALUE",
// ResourceArn: "STRING_VALUE",
// },
// ],
// NextToken: "STRING_VALUE",
// };

Param

ListExtensionAssociationsCommandInput

Returns

ListExtensionAssociationsCommandOutput

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

AppConfigServiceException

Base exception class for all service exceptions from AppConfig service.

Hierarchy

Constructors

Properties

Methods