View source: R/comprehend_operations.R
comprehend_import_model | R Documentation |
Creates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one.
See https://www.paws-r-sdk.com/docs/comprehend_import_model/ for full documentation.
comprehend_import_model(
SourceModelArn,
ModelName = NULL,
VersionName = NULL,
ModelKmsKeyId = NULL,
DataAccessRoleArn = NULL,
Tags = NULL
)
SourceModelArn |
[required] The Amazon Resource Name (ARN) of the custom model to import. |
ModelName |
The name to assign to the custom model that is created in Amazon Comprehend by this import. |
VersionName |
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/Region. |
ModelKmsKeyId |
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
|
DataAccessRoleArn |
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom model. |
Tags |
Tags to associate 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.