"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Activity = Activity;
const BINDING_ERROR = 'SimpleSteps service bindings cannot be called directly. They exist only for the compiler.';
/**
 * Creates a typed Activity task binding.
 *
 * Activity tasks use `Resource: "arn:aws:states:REGION:ACCOUNT:activity:NAME"`.
 * The worker polls for tasks, processes them, and sends back results via
 * SendTaskSuccess/SendTaskFailure.
 *
 * @example
 *   const reviewTask = Activity<{ document: string }, { approved: boolean }>(
 *     'arn:aws:states:us-east-1:123456789012:activity:HumanReview'
 *   );
 *
 *   const result = await reviewTask.call(
 *     { document: input.document },
 *     { timeoutSeconds: 3600, heartbeatSeconds: 60 },
 *   );
 */
function Activity(arn, options) {
    const stub = () => { throw new Error(BINDING_ERROR); };
    stub.call = () => { throw new Error(BINDING_ERROR); };
    return stub;
}
//# sourceMappingURL=Activity.js.map