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

ImportModelRequest

import type { ImportModelRequest } from "https://aws-api.deno.dev/v0.4/services/comprehend.ts?docs=full";
interface ImportModelRequest {
DataAccessRoleArn?: string | null;
ModelKmsKeyId?: string | null;
ModelName?: string | null;
SourceModelArn: string;
Tags?: Tag[] | null;
VersionName?: string | null;
}

§Properties

§
DataAccessRoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that allows Amazon Comprehend to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom model.

§
ModelKmsKeyId?: string | null
[src]

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
§
ModelName?: string | null
[src]

The name to assign to the custom model that is created in Amazon Comprehend by this import.

§
SourceModelArn: string
[src]

The Amazon Resource Name (ARN) of the custom model to import.

§
Tags?: Tag[] | null
[src]

Tags to be associated with the custom model that is created by this import. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

§
VersionName?: string | null
[src]

The version name given to the custom model that is created by this import. Version names can have a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same classifier name in the account/AWS Region.