import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartDataCollectionByAgentIdsRequest, StartDataCollectionByAgentIdsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartDataCollectionByAgentIdsCommand}. */ export interface StartDataCollectionByAgentIdsCommandInput extends StartDataCollectionByAgentIdsRequest { } /** * @public * * The output of {@link StartDataCollectionByAgentIdsCommand}. */ export interface StartDataCollectionByAgentIdsCommandOutput extends StartDataCollectionByAgentIdsResponse, __MetadataBearer { } declare const StartDataCollectionByAgentIdsCommand_base: { new (input: StartDataCollectionByAgentIdsCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartDataCollectionByAgentIdsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Instructs the specified agents to start collecting data.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationDiscoveryServiceClient, StartDataCollectionByAgentIdsCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import * // const { ApplicationDiscoveryServiceClient, StartDataCollectionByAgentIdsCommand } = require("@aws-sdk/client-application-discovery-service"); // CommonJS import * // import type { ApplicationDiscoveryServiceClientConfig } from "@aws-sdk/client-application-discovery-service"; * const config = {}; // type is ApplicationDiscoveryServiceClientConfig * const client = new ApplicationDiscoveryServiceClient(config); * const input = { // StartDataCollectionByAgentIdsRequest * agentIds: [ // AgentIds // required * "STRING_VALUE", * ], * }; * const command = new StartDataCollectionByAgentIdsCommand(input); * const response = await client.send(command); * // { // StartDataCollectionByAgentIdsResponse * // agentsConfigurationStatus: [ // AgentConfigurationStatusList * // { // AgentConfigurationStatus * // agentId: "STRING_VALUE", * // operationSucceeded: true || false, * // description: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param StartDataCollectionByAgentIdsCommandInput - {@link StartDataCollectionByAgentIdsCommandInput} * @returns {@link StartDataCollectionByAgentIdsCommandOutput} * @see {@link StartDataCollectionByAgentIdsCommandInput} for command's `input` shape. * @see {@link StartDataCollectionByAgentIdsCommandOutput} for command's `response` shape. * @see {@link ApplicationDiscoveryServiceClientResolvedConfig | config} for ApplicationDiscoveryServiceClient's `config` shape. * * @throws {@link AuthorizationErrorException} (client fault) *

The user does not have permission to perform the action. Check the IAM * policy associated with this user.

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

The home Region is not set. Set the home Region to continue.

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

One or more parameters are not valid. Verify the parameters and try again.

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

The value of one or more parameters are either invalid or out of range. Verify the * parameter values and try again.

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

The server experienced an internal error. Try again.

* * @throws {@link ApplicationDiscoveryServiceServiceException} *

Base exception class for all service exceptions from ApplicationDiscoveryService service.

* * * @public */ export declare class StartDataCollectionByAgentIdsCommand extends StartDataCollectionByAgentIdsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartDataCollectionByAgentIdsRequest; output: StartDataCollectionByAgentIdsResponse; }; sdk: { input: StartDataCollectionByAgentIdsCommandInput; output: StartDataCollectionByAgentIdsCommandOutput; }; }; }