class SagemakerIntegration
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.APIGateway.SagemakerIntegration | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#SagemakerIntegration | 
|  Java | software.amazon.awscdk.services.apigateway.SagemakerIntegration | 
|  Python | aws_cdk.aws_apigateway.SagemakerIntegration | 
|  TypeScript (source) | aws-cdk-lib»aws_apigateway»SagemakerIntegration | 
Extends
Aws
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));
Initializer
new SagemakerIntegration(endpoint: IEndpoint, options?: SagemakerIntegrationOptions)
Parameters
- endpoint IEndpoint
- options SagemakerIntegration Options 
Methods
| Name | Description | 
|---|---|
| bind(method) | Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc. | 
bind(method)
public bind(method: Method): IntegrationConfig
Parameters
- method Method
Returns
Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc.
