AWSComprehendImportModelRequest

Objective-C

@interface AWSComprehendImportModelRequest

Swift

class AWSComprehendImportModelRequest
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dataAccessRoleArn;

    Swift

    var dataAccessRoleArn: String? { get set }
  • 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"

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable modelKmsKeyId;

    Swift

    var modelKmsKeyId: String? { get set }
  • The name to assign to the custom model that is created in Amazon Comprehend by this import.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable modelName;

    Swift

    var modelName: String? { get set }
  • The Amazon Resource Name (ARN) of the custom model to import.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable sourceModelArn;

    Swift

    var sourceModelArn: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSComprehendTag *> *_Nullable tags;

    Swift

    var tags: [AWSComprehendTag]? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable versionName;

    Swift

    var versionName: String? { get set }