import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartHumanLoopRequest, StartHumanLoopResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartHumanLoopCommand}. */ export interface StartHumanLoopCommandInput extends StartHumanLoopRequest { } /** * @public * * The output of {@link StartHumanLoopCommand}. */ export interface StartHumanLoopCommandOutput extends StartHumanLoopResponse, __MetadataBearer { } declare const StartHumanLoopCommand_base: { new (input: StartHumanLoopCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartHumanLoopCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Starts a human loop, provided that at least one activation condition is met.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerA2IRuntimeClient, StartHumanLoopCommand } from "@aws-sdk/client-sagemaker-a2i-runtime"; // ES Modules import * // const { SageMakerA2IRuntimeClient, StartHumanLoopCommand } = require("@aws-sdk/client-sagemaker-a2i-runtime"); // CommonJS import * // import type { SageMakerA2IRuntimeClientConfig } from "@aws-sdk/client-sagemaker-a2i-runtime"; * const config = {}; // type is SageMakerA2IRuntimeClientConfig * const client = new SageMakerA2IRuntimeClient(config); * const input = { // StartHumanLoopRequest * HumanLoopName: "STRING_VALUE", // required * FlowDefinitionArn: "STRING_VALUE", // required * HumanLoopInput: { // HumanLoopInput * InputContent: "STRING_VALUE", // required * }, * DataAttributes: { // HumanLoopDataAttributes * ContentClassifiers: [ // ContentClassifiers // required * "FreeOfPersonallyIdentifiableInformation" || "FreeOfAdultContent", * ], * }, * }; * const command = new StartHumanLoopCommand(input); * const response = await client.send(command); * // { // StartHumanLoopResponse * // HumanLoopArn: "STRING_VALUE", * // }; * * ``` * * @param StartHumanLoopCommandInput - {@link StartHumanLoopCommandInput} * @returns {@link StartHumanLoopCommandOutput} * @see {@link StartHumanLoopCommandInput} for command's `input` shape. * @see {@link StartHumanLoopCommandOutput} for command's `response` shape. * @see {@link SageMakerA2IRuntimeClientResolvedConfig | config} for SageMakerA2IRuntimeClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

Your request has the same name as another active human loop but has different input data. You cannot start two * human loops with the same name and different input data.

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

We couldn't process your request because of an issue with the server. Try again * later.

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

You exceeded your service quota. Service quotas, also referred to as limits, are the * maximum number of service resources or operations for your AWS account. For a list of * Amazon A2I service quotes, see Amazon Augmented AI Service Quotes. Delete some resources or request an increase in your * service quota. You can request a quota increase using Service Quotas or the AWS Support * Center. To request an increase, see AWS Service Quotas in the * AWS General Reference.

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

You exceeded * the * maximum number of requests.

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

The * request isn't valid. Check the syntax and try again.

* * @throws {@link SageMakerA2IRuntimeServiceException} *

Base exception class for all service exceptions from SageMakerA2IRuntime service.

* * * @public */ export declare class StartHumanLoopCommand extends StartHumanLoopCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartHumanLoopRequest; output: StartHumanLoopResponse; }; sdk: { input: StartHumanLoopCommandInput; output: StartHumanLoopCommandOutput; }; }; }