Skip to content

Commit 9dd4441

Browse files
author
AWS
committed
Amazon Comprehend Update: Support for customer managed KMS encryption of Comprehend custom models
1 parent f727a27 commit 9dd4441

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Comprehend",
4+
"contributor": "",
5+
"description": "Support for customer managed KMS encryption of Comprehend custom models"
6+
}

services/comprehend/src/main/resources/codegen-resources/service-2.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,10 @@
15201520
"Mode":{
15211521
"shape":"DocumentClassifierMode",
15221522
"documentation":"<p>Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class mode, which identifies one and only one class for each document, or multi-label mode, which identifies one or more labels for each document. In multi-label mode, multiple labels for an individual document are separated by a delimiter. The default delimiter between labels is a pipe (|).</p>"
1523+
},
1524+
"ModelKmsKeyId":{
1525+
"shape":"KmsKeyId",
1526+
"documentation":"<p>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:</p> <ul> <li> <p>KMS Key ID: <code>\"1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> <li> <p>Amazon Resource Name (ARN) of a KMS Key: <code>\"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> </ul>"
15231527
}
15241528
}
15251529
},
@@ -1560,6 +1564,10 @@
15601564
"Tags":{
15611565
"shape":"TagList",
15621566
"documentation":"<p>Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with \"Sales\" as the key might be added to an endpoint to indicate its use by the sales department. </p>"
1567+
},
1568+
"DataAccessRoleArn":{
1569+
"shape":"IamRoleArn",
1570+
"documentation":"<p>The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).</p>"
15631571
}
15641572
}
15651573
},
@@ -1613,6 +1621,10 @@
16131621
"VpcConfig":{
16141622
"shape":"VpcConfig",
16151623
"documentation":"<p>Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. </p>"
1624+
},
1625+
"ModelKmsKeyId":{
1626+
"shape":"KmsKeyId",
1627+
"documentation":"<p>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</p> <ul> <li> <p>KMS Key ID: <code>\"1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> <li> <p>Amazon Resource Name (ARN) of a KMS Key: <code>\"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> </ul>"
16161628
}
16171629
}
16181630
},
@@ -2283,6 +2295,10 @@
22832295
"Mode":{
22842296
"shape":"DocumentClassifierMode",
22852297
"documentation":"<p>Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.</p>"
2298+
},
2299+
"ModelKmsKeyId":{
2300+
"shape":"KmsKeyId",
2301+
"documentation":"<p>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:</p> <ul> <li> <p>KMS Key ID: <code>\"1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> <li> <p>Amazon Resource Name (ARN) of a KMS Key: <code>\"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> </ul>"
22862302
}
22872303
},
22882304
"documentation":"<p>Provides information about a document classifier.</p>"
@@ -2452,6 +2468,10 @@
24522468
"LastModifiedTime":{
24532469
"shape":"Timestamp",
24542470
"documentation":"<p>The date and time that the endpoint was last modified.</p>"
2471+
},
2472+
"DataAccessRoleArn":{
2473+
"shape":"IamRoleArn",
2474+
"documentation":"<p>The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).</p>"
24552475
}
24562476
},
24572477
"documentation":"<p>Specifies information about the specified endpoint.</p>"
@@ -2814,6 +2834,10 @@
28142834
"VpcConfig":{
28152835
"shape":"VpcConfig",
28162836
"documentation":"<p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. </p>"
2837+
},
2838+
"ModelKmsKeyId":{
2839+
"shape":"KmsKeyId",
2840+
"documentation":"<p>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: </p> <ul> <li> <p>KMS Key ID: <code>\"1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> <li> <p>Amazon Resource Name (ARN) of a KMS Key: <code>\"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> </ul>"
28172841
}
28182842
},
28192843
"documentation":"<p>Describes information about an entity recognizer.</p>"

0 commit comments

Comments
 (0)