"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpEndpoint = void 0;
const BINDING_ERROR = 'SimpleSteps service bindings cannot be called directly. They exist only for the compiler.';
/**
 * HTTPS Endpoint binding for the SimpleSteps compiler.
 *
 * Calls external HTTP APIs directly from Step Functions without a Lambda proxy.
 * Compiles to `arn:aws:states:::http:invoke`.
 *
 * ```typescript
 * const http = new HttpEndpoint();
 *
 * const result = await http.invoke<ResponseType>({
 *   ApiEndpoint: 'https://api.example.com/users',
 *   Method: 'POST',
 *   Headers: { 'Content-Type': 'application/json' },
 *   RequestBody: { name: input.name },
 *   Authentication: {
 *     ConnectionArn: 'arn:aws:events:us-east-1:123:connection/MyApiConnection',
 *   },
 * });
 * ```
 */
class HttpEndpoint {
    constructor() { }
    invoke(request, options) {
        throw new Error(BINDING_ERROR);
    }
}
exports.HttpEndpoint = HttpEndpoint;
//# sourceMappingURL=HttpEndpoint.js.map