@aws-sdk/client-ssm
Version:
AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native
86 lines (85 loc) • 3.71 kB
TypeScript
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { DeleteActivationRequest, DeleteActivationResult } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
/**
* @public
*
* The input for {@link DeleteActivationCommand}.
*/
export interface DeleteActivationCommandInput extends DeleteActivationRequest {
}
/**
* @public
*
* The output of {@link DeleteActivationCommand}.
*/
export interface DeleteActivationCommandOutput extends DeleteActivationResult, __MetadataBearer {
}
declare const DeleteActivationCommand_base: {
new (input: DeleteActivationCommandInput): import("@smithy/core/client").CommandImpl<DeleteActivationCommandInput, DeleteActivationCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
new (input: DeleteActivationCommandInput): import("@smithy/core/client").CommandImpl<DeleteActivationCommandInput, DeleteActivationCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
};
/**
* <p>Deletes an activation. You aren't required to delete an activation. If you delete an
* activation, you can no longer use it to register additional managed nodes. Deleting an activation
* doesn't de-register managed nodes. You must manually de-register managed nodes.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { SSMClient, DeleteActivationCommand } from "@aws-sdk/client-ssm"; // ES Modules import
* // const { SSMClient, DeleteActivationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
* // import type { SSMClientConfig } from "@aws-sdk/client-ssm";
* const config = {}; // type is SSMClientConfig
* const client = new SSMClient(config);
* const input = { // DeleteActivationRequest
* ActivationId: "STRING_VALUE", // required
* };
* const command = new DeleteActivationCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param DeleteActivationCommandInput - {@link DeleteActivationCommandInput}
* @returns {@link DeleteActivationCommandOutput}
* @see {@link DeleteActivationCommandInput} for command's `input` shape.
* @see {@link DeleteActivationCommandOutput} for command's `response` shape.
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
*
* @throws {@link InternalServerError} (server fault)
* <p>An error occurred on the server side.</p>
*
* @throws {@link InvalidActivation} (client fault)
* <p>The activation isn't valid. The activation might have been deleted, or the ActivationId and
* the ActivationCode don't match.</p>
*
* @throws {@link InvalidActivationId} (client fault)
* <p>The activation ID isn't valid. Verify that you entered the correct ActivationId or
* ActivationCode and try again.</p>
*
* @throws {@link TooManyUpdates} (client fault)
* <p>There are concurrent updates for a resource that supports one update at a time.</p>
*
* @throws {@link SSMServiceException}
* <p>Base exception class for all service exceptions from SSM service.</p>
*
*
* @public
*/
export declare class DeleteActivationCommand extends DeleteActivationCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: DeleteActivationRequest;
output: {};
};
sdk: {
input: DeleteActivationCommandInput;
output: DeleteActivationCommandOutput;
};
};
}