Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RecommendationJobInputConfig

import type { RecommendationJobInputConfig } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";

The input configuration of the recommendation job.

interface RecommendationJobInputConfig {
ContainerConfig?: RecommendationJobContainerConfig | null;
EndpointConfigurations?: EndpointInputConfiguration[] | null;
Endpoints?: EndpointInfo[] | null;
JobDurationInSeconds?: number | null;
ModelName?: string | null;
ModelPackageVersionArn?: string | null;
ResourceLimit?: RecommendationJobResourceLimit | null;
TrafficPattern?: TrafficPattern | null;
VolumeKmsKeyId?: string | null;
VpcConfig?: RecommendationJobVpcConfig | null;
}

§Properties

§
ContainerConfig?: RecommendationJobContainerConfig | null
[src]

Specifies mandatory fields for running an Inference Recommender job. The fields specified in ContainerConfig override the corresponding fields in the model package.

§
EndpointConfigurations?: EndpointInputConfiguration[] | null
[src]

Specifies the endpoint configuration to use for a job.

§
Endpoints?: EndpointInfo[] | null
[src]

Existing customer endpoints on which to run an Inference Recommender job.

§
JobDurationInSeconds?: number | null
[src]

Specifies the maximum duration of the job, in seconds.>

§
ModelName?: string | null
[src]

The name of the created model.

§
ModelPackageVersionArn?: string | null
[src]

The Amazon Resource Name (ARN) of a versioned model package.

§

Defines the resource limit of the job.

§
TrafficPattern?: TrafficPattern | null
[src]

Specifies the traffic pattern of the job.

§
VolumeKmsKeyId?: string | null
[src]

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

The KmsKeyId can be any of the following formats:

  • // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
  • // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:::key/"
  • // KMS Key Alias "alias/ExampleAlias"
  • // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:::alias/"

For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.

§

Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.