import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DeleteAssociationRequest, DeleteAssociationResult } from "../models/models_0"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteAssociationCommand}. */ export interface DeleteAssociationCommandInput extends DeleteAssociationRequest { } /** * @public * * The output of {@link DeleteAssociationCommand}. */ export interface DeleteAssociationCommandOutput extends DeleteAssociationResult, __MetadataBearer { } declare const DeleteAssociationCommand_base: { new (input: DeleteAssociationCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DeleteAssociationCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified managed * node. If you created the association by using the Targets parameter, then you must * delete the association by using the association ID.

*

When you disassociate a document from a managed node, it doesn't change the configuration of * the node. To change the configuration state of a managed node after you disassociate a document, * you must create a new document with the desired configuration and associate it with the * node.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DeleteAssociationCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DeleteAssociationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // DeleteAssociationRequest * Name: "STRING_VALUE", * InstanceId: "STRING_VALUE", * AssociationId: "STRING_VALUE", * }; * const command = new DeleteAssociationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteAssociationCommandInput - {@link DeleteAssociationCommandInput} * @returns {@link DeleteAssociationCommandOutput} * @see {@link DeleteAssociationCommandInput} for command's `input` shape. * @see {@link DeleteAssociationCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link AssociationDoesNotExist} (client fault) *

The specified association doesn't exist.

* * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

* * @throws {@link InvalidDocument} (client fault) *

The specified SSM document doesn't exist.

* * @throws {@link InvalidInstanceId} (client fault) *

The following problems can cause this exception:

* * * @throws {@link TooManyUpdates} (client fault) *

There are concurrent updates for a resource that supports one update at a time.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class DeleteAssociationCommand extends DeleteAssociationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAssociationRequest; output: {}; }; sdk: { input: DeleteAssociationCommandInput; output: DeleteAssociationCommandOutput; }; }; }