import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RemoveWorkloadRequest, RemoveWorkloadResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RemoveWorkloadCommand}. */ export interface RemoveWorkloadCommandInput extends RemoveWorkloadRequest { } /** * @public * * The output of {@link RemoveWorkloadCommand}. */ export interface RemoveWorkloadCommandOutput extends RemoveWorkloadResponse, __MetadataBearer { } declare const RemoveWorkloadCommand_base: { new (input: RemoveWorkloadCommandInput): import("@smithy/core/client").CommandImpl; new (input: RemoveWorkloadCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Remove workload from a component.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationInsightsClient, RemoveWorkloadCommand } from "@aws-sdk/client-application-insights"; // ES Modules import * // const { ApplicationInsightsClient, RemoveWorkloadCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import * // import type { ApplicationInsightsClientConfig } from "@aws-sdk/client-application-insights"; * const config = {}; // type is ApplicationInsightsClientConfig * const client = new ApplicationInsightsClient(config); * const input = { // RemoveWorkloadRequest * ResourceGroupName: "STRING_VALUE", // required * ComponentName: "STRING_VALUE", // required * WorkloadId: "STRING_VALUE", // required * }; * const command = new RemoveWorkloadCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param RemoveWorkloadCommandInput - {@link RemoveWorkloadCommandInput} * @returns {@link RemoveWorkloadCommandOutput} * @see {@link RemoveWorkloadCommandInput} for command's `input` shape. * @see {@link RemoveWorkloadCommandOutput} for command's `response` shape. * @see {@link ApplicationInsightsClientResolvedConfig | config} for ApplicationInsightsClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The server encountered an internal error and is unable to complete the request.

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

The resource does not exist in the customer account.

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

The parameter is not valid.

* * @throws {@link ApplicationInsightsServiceException} *

Base exception class for all service exceptions from ApplicationInsights service.

* * * @public */ export declare class RemoveWorkloadCommand extends RemoveWorkloadCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RemoveWorkloadRequest; output: {}; }; sdk: { input: RemoveWorkloadCommandInput; output: RemoveWorkloadCommandOutput; }; }; }