Files
2026-05-06 18:55:16 -05:00

25 lines
831 B
TypeScript

import { AwsIntegration } from './aws';
import type { IEndpoint } from '../../../aws-sagemaker';
import type { IntegrationConfig, IntegrationOptions } from '../integration';
import type { Method } from '../method';
/**
* Options for SageMakerIntegration
*/
export interface SagemakerIntegrationOptions extends IntegrationOptions {
}
/**
* Integrates an AWS Sagemaker Endpoint to an API Gateway method
*
* @example
*
* declare const resource: apigateway.Resource;
* declare const endpoint: sagemaker.IEndpoint;
* resource.addMethod('POST', new apigateway.SagemakerIntegration(endpoint));
*
*/
export declare class SagemakerIntegration extends AwsIntegration {
private readonly endpoint;
constructor(endpoint: IEndpoint, options?: SagemakerIntegrationOptions);
bind(method: Method): IntegrationConfig;
}