@pgarbe/cdk-ecr-sync 0.5.25 → 0.5.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +147 -4
- package/.projenrc.ts +1 -1
- package/CHANGELOG.md +1 -1
- package/lib/ecr-sync.d.ts +4 -22
- package/lib/ecr-sync.js +3 -10
- package/lib/image.d.ts +5 -8
- package/lib/image.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +69 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +3 -1
- package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +11 -11
- package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +677 -237
- package/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json +7 -1
- package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +171 -15
- package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +43 -30
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +5 -1
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +86 -25
- package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +14 -2
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +167 -79
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +408 -133
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +122 -43
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +149 -21
- package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +125 -49
- package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +136 -30
- package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json +212 -6
- package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +4 -1
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +352 -77
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +114 -94
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +80 -55
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +0 -1
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +148 -127
- package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +79 -51
- package/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +2 -1
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +125 -49
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +3 -0
- package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +135 -45
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +152 -52
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +131 -123
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +15 -10
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +47 -33
- package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +11 -3
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +44 -40
- package/node_modules/aws-sdk/clients/amplify.d.ts +7 -7
- package/node_modules/aws-sdk/clients/appconfig.d.ts +13 -13
- package/node_modules/aws-sdk/clients/appconfigdata.d.ts +18 -18
- package/node_modules/aws-sdk/clients/appflow.d.ts +611 -3
- package/node_modules/aws-sdk/clients/apprunner.d.ts +179 -12
- package/node_modules/aws-sdk/clients/athena.d.ts +31 -8
- package/node_modules/aws-sdk/clients/auditmanager.d.ts +2 -2
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +407 -264
- package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +6 -5
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +287 -287
- package/node_modules/aws-sdk/clients/comprehend.d.ts +138 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +327 -10
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +17 -17
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +5 -5
- package/node_modules/aws-sdk/clients/ebs.d.ts +6 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +124 -10
- package/node_modules/aws-sdk/clients/efs.d.ts +131 -4
- package/node_modules/aws-sdk/clients/elasticache.d.ts +3 -3
- package/node_modules/aws-sdk/clients/emr.d.ts +14 -14
- package/node_modules/aws-sdk/clients/es.d.ts +97 -0
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +8 -8
- package/node_modules/aws-sdk/clients/fis.d.ts +142 -22
- package/node_modules/aws-sdk/clients/frauddetector.d.ts +308 -0
- package/node_modules/aws-sdk/clients/fsx.d.ts +15 -11
- package/node_modules/aws-sdk/clients/glue.d.ts +7 -7
- package/node_modules/aws-sdk/clients/guardduty.d.ts +309 -44
- package/node_modules/aws-sdk/clients/iot.d.ts +1 -1
- package/node_modules/aws-sdk/clients/kafka.d.ts +19 -1
- package/node_modules/aws-sdk/clients/kendra.d.ts +95 -59
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +1 -1
- package/node_modules/aws-sdk/clients/marketplacemetering.d.ts +17 -12
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +40 -6
- package/node_modules/aws-sdk/clients/mediatailor.d.ts +11 -0
- package/node_modules/aws-sdk/clients/opensearch.d.ts +97 -0
- package/node_modules/aws-sdk/clients/personalize.d.ts +7 -3
- package/node_modules/aws-sdk/clients/rbin.d.ts +41 -41
- package/node_modules/aws-sdk/clients/rds.d.ts +17 -17
- package/node_modules/aws-sdk/clients/robomaker.d.ts +30 -30
- package/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +275 -230
- package/node_modules/aws-sdk/clients/s3control.d.ts +137 -10
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +27 -7
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +62 -48
- package/node_modules/aws-sdk/clients/securityhub.d.ts +15 -0
- package/node_modules/aws-sdk/clients/ssmincidents.d.ts +1 -1
- package/node_modules/aws-sdk/clients/synthetics.d.ts +15 -5
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +6 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +35 -28
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +73 -66
- package/node_modules/aws-sdk/dist/aws-sdk.js +1048 -371
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -90
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
- package/node_modules/aws-sdk/lib/param_validator.js +2 -0
- package/node_modules/aws-sdk/package.json +2 -2
- package/node_modules/jmespath/jmespath.js +32 -27
- package/node_modules/jmespath/package.json +2 -7
- package/package.json +3 -3
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
- package/node_modules/jmespath/.eslintrc +0 -10
- package/node_modules/jmespath/.npmignore +0 -1
- package/node_modules/jmespath/.travis.yml +0 -6
- package/node_modules/jmespath/BASELINE +0 -15
- package/node_modules/jmespath/Gruntfile.js +0 -36
- package/node_modules/jmespath/g.sh +0 -5
- package/node_modules/jmespath/index.html +0 -93
- package/node_modules/jmespath/james.html +0 -7
- package/node_modules/jmespath/l.js +0 -189
- package/node_modules/jmespath/perf.js +0 -33
- package/node_modules/jmespath/reservedWords.json +0 -4
- package/node_modules/jmespath/test/compliance/basic.json +0 -96
- package/node_modules/jmespath/test/compliance/boolean.json +0 -257
- package/node_modules/jmespath/test/compliance/current.json +0 -25
- package/node_modules/jmespath/test/compliance/escape.json +0 -46
- package/node_modules/jmespath/test/compliance/filters.json +0 -468
- package/node_modules/jmespath/test/compliance/functions.json +0 -825
- package/node_modules/jmespath/test/compliance/identifiers.json +0 -1377
- package/node_modules/jmespath/test/compliance/indices.json +0 -346
- package/node_modules/jmespath/test/compliance/literal.json +0 -190
- package/node_modules/jmespath/test/compliance/multiselect.json +0 -393
- package/node_modules/jmespath/test/compliance/pipe.json +0 -131
- package/node_modules/jmespath/test/compliance/slice.json +0 -187
- package/node_modules/jmespath/test/compliance/syntax.json +0 -616
- package/node_modules/jmespath/test/compliance/unicode.json +0 -38
- package/node_modules/jmespath/test/compliance/wildcard.json +0 -460
- package/node_modules/jmespath/test/compliance.js +0 -56
- package/node_modules/jmespath/test/jmespath.js +0 -217
|
@@ -115,6 +115,14 @@ declare class Comprehend extends Service {
|
|
|
115
115
|
* Deletes an entity recognizer. Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned. This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
|
|
116
116
|
*/
|
|
117
117
|
deleteEntityRecognizer(callback?: (err: AWSError, data: Comprehend.Types.DeleteEntityRecognizerResponse) => void): Request<Comprehend.Types.DeleteEntityRecognizerResponse, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Deletes a resource-based policy that is attached to a custom model.
|
|
120
|
+
*/
|
|
121
|
+
deleteResourcePolicy(params: Comprehend.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: Comprehend.Types.DeleteResourcePolicyResponse) => void): Request<Comprehend.Types.DeleteResourcePolicyResponse, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Deletes a resource-based policy that is attached to a custom model.
|
|
124
|
+
*/
|
|
125
|
+
deleteResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.DeleteResourcePolicyResponse) => void): Request<Comprehend.Types.DeleteResourcePolicyResponse, AWSError>;
|
|
118
126
|
/**
|
|
119
127
|
* Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
|
|
120
128
|
*/
|
|
@@ -187,6 +195,14 @@ declare class Comprehend extends Service {
|
|
|
187
195
|
* Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
|
|
188
196
|
*/
|
|
189
197
|
describePiiEntitiesDetectionJob(callback?: (err: AWSError, data: Comprehend.Types.DescribePiiEntitiesDetectionJobResponse) => void): Request<Comprehend.Types.DescribePiiEntitiesDetectionJobResponse, AWSError>;
|
|
198
|
+
/**
|
|
199
|
+
* Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.
|
|
200
|
+
*/
|
|
201
|
+
describeResourcePolicy(params: Comprehend.Types.DescribeResourcePolicyRequest, callback?: (err: AWSError, data: Comprehend.Types.DescribeResourcePolicyResponse) => void): Request<Comprehend.Types.DescribeResourcePolicyResponse, AWSError>;
|
|
202
|
+
/**
|
|
203
|
+
* Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.
|
|
204
|
+
*/
|
|
205
|
+
describeResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.DescribeResourcePolicyResponse) => void): Request<Comprehend.Types.DescribeResourcePolicyResponse, AWSError>;
|
|
190
206
|
/**
|
|
191
207
|
* Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
|
|
192
208
|
*/
|
|
@@ -251,6 +267,14 @@ declare class Comprehend extends Service {
|
|
|
251
267
|
* Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax.
|
|
252
268
|
*/
|
|
253
269
|
detectSyntax(callback?: (err: AWSError, data: Comprehend.Types.DetectSyntaxResponse) => void): Request<Comprehend.Types.DetectSyntaxResponse, AWSError>;
|
|
270
|
+
/**
|
|
271
|
+
* Creates a new custom model that replicates a source custom model that you import. The source model can be in your AWS account or another one. If the source model is in another AWS account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same AWS region that you're using when you import. You can't import a model that's in a different region.
|
|
272
|
+
*/
|
|
273
|
+
importModel(params: Comprehend.Types.ImportModelRequest, callback?: (err: AWSError, data: Comprehend.Types.ImportModelResponse) => void): Request<Comprehend.Types.ImportModelResponse, AWSError>;
|
|
274
|
+
/**
|
|
275
|
+
* Creates a new custom model that replicates a source custom model that you import. The source model can be in your AWS account or another one. If the source model is in another AWS account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same AWS region that you're using when you import. You can't import a model that's in a different region.
|
|
276
|
+
*/
|
|
277
|
+
importModel(callback?: (err: AWSError, data: Comprehend.Types.ImportModelResponse) => void): Request<Comprehend.Types.ImportModelResponse, AWSError>;
|
|
254
278
|
/**
|
|
255
279
|
* Gets a list of the documentation classification jobs that you have submitted.
|
|
256
280
|
*/
|
|
@@ -363,6 +387,14 @@ declare class Comprehend extends Service {
|
|
|
363
387
|
* Gets a list of the topic detection jobs that you have submitted.
|
|
364
388
|
*/
|
|
365
389
|
listTopicsDetectionJobs(callback?: (err: AWSError, data: Comprehend.Types.ListTopicsDetectionJobsResponse) => void): Request<Comprehend.Types.ListTopicsDetectionJobsResponse, AWSError>;
|
|
390
|
+
/**
|
|
391
|
+
* Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another AWS account to import the custom model, which replicates it in Amazon Comprehend in their account.
|
|
392
|
+
*/
|
|
393
|
+
putResourcePolicy(params: Comprehend.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: Comprehend.Types.PutResourcePolicyResponse) => void): Request<Comprehend.Types.PutResourcePolicyResponse, AWSError>;
|
|
394
|
+
/**
|
|
395
|
+
* Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another AWS account to import the custom model, which replicates it in Amazon Comprehend in their account.
|
|
396
|
+
*/
|
|
397
|
+
putResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.PutResourcePolicyResponse) => void): Request<Comprehend.Types.PutResourcePolicyResponse, AWSError>;
|
|
366
398
|
/**
|
|
367
399
|
* Starts an asynchronous document classification job. Use the operation to track the progress of the job.
|
|
368
400
|
*/
|
|
@@ -855,6 +887,10 @@ declare namespace Comprehend {
|
|
|
855
887
|
* 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"
|
|
856
888
|
*/
|
|
857
889
|
ModelKmsKeyId?: KmsKeyId;
|
|
890
|
+
/**
|
|
891
|
+
* The resource-based policy to attach to your custom document classifier model. You can use this policy to allow another AWS account to import your custom model. Provide your policy as a JSON body that you enter as a UTF-8 encoded string without line breaks. To provide valid JSON, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy: "{\"attribute\": \"value\", \"attribute\": [\"value\"]}" To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values: '{"attribute": "value", "attribute": ["value"]}'
|
|
892
|
+
*/
|
|
893
|
+
ModelPolicy?: Policy;
|
|
858
894
|
}
|
|
859
895
|
export interface CreateDocumentClassifierResponse {
|
|
860
896
|
/**
|
|
@@ -935,6 +971,10 @@ declare namespace Comprehend {
|
|
|
935
971
|
* 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"
|
|
936
972
|
*/
|
|
937
973
|
ModelKmsKeyId?: KmsKeyId;
|
|
974
|
+
/**
|
|
975
|
+
* The JSON resource-based policy to attach to your custom entity recognizer model. You can use this policy to allow another AWS account to import your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy: "{\"attribute\": \"value\", \"attribute\": [\"value\"]}" To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values: '{"attribute": "value", "attribute": ["value"]}'
|
|
976
|
+
*/
|
|
977
|
+
ModelPolicy?: Policy;
|
|
938
978
|
}
|
|
939
979
|
export interface CreateEntityRecognizerResponse {
|
|
940
980
|
/**
|
|
@@ -968,6 +1008,18 @@ declare namespace Comprehend {
|
|
|
968
1008
|
}
|
|
969
1009
|
export interface DeleteEntityRecognizerResponse {
|
|
970
1010
|
}
|
|
1011
|
+
export interface DeleteResourcePolicyRequest {
|
|
1012
|
+
/**
|
|
1013
|
+
* The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
|
|
1014
|
+
*/
|
|
1015
|
+
ResourceArn: ComprehendModelArn;
|
|
1016
|
+
/**
|
|
1017
|
+
* The revision ID of the policy to delete.
|
|
1018
|
+
*/
|
|
1019
|
+
PolicyRevisionId?: PolicyRevisionId;
|
|
1020
|
+
}
|
|
1021
|
+
export interface DeleteResourcePolicyResponse {
|
|
1022
|
+
}
|
|
971
1023
|
export interface DescribeDocumentClassificationJobRequest {
|
|
972
1024
|
/**
|
|
973
1025
|
* The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.
|
|
@@ -1073,6 +1125,30 @@ declare namespace Comprehend {
|
|
|
1073
1125
|
export interface DescribePiiEntitiesDetectionJobResponse {
|
|
1074
1126
|
PiiEntitiesDetectionJobProperties?: PiiEntitiesDetectionJobProperties;
|
|
1075
1127
|
}
|
|
1128
|
+
export interface DescribeResourcePolicyRequest {
|
|
1129
|
+
/**
|
|
1130
|
+
* The Amazon Resource Name (ARN) of the policy to describe.
|
|
1131
|
+
*/
|
|
1132
|
+
ResourceArn: ComprehendModelArn;
|
|
1133
|
+
}
|
|
1134
|
+
export interface DescribeResourcePolicyResponse {
|
|
1135
|
+
/**
|
|
1136
|
+
* The JSON body of the resource-based policy.
|
|
1137
|
+
*/
|
|
1138
|
+
ResourcePolicy?: Policy;
|
|
1139
|
+
/**
|
|
1140
|
+
* The time at which the policy was created.
|
|
1141
|
+
*/
|
|
1142
|
+
CreationTime?: Timestamp;
|
|
1143
|
+
/**
|
|
1144
|
+
* The time at which the policy was last modified.
|
|
1145
|
+
*/
|
|
1146
|
+
LastModifiedTime?: Timestamp;
|
|
1147
|
+
/**
|
|
1148
|
+
* The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
|
|
1149
|
+
*/
|
|
1150
|
+
PolicyRevisionId?: PolicyRevisionId;
|
|
1151
|
+
}
|
|
1076
1152
|
export interface DescribeSentimentDetectionJobRequest {
|
|
1077
1153
|
/**
|
|
1078
1154
|
* The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.
|
|
@@ -1404,6 +1480,10 @@ declare namespace Comprehend {
|
|
|
1404
1480
|
* The version name that you assigned to the document classifier.
|
|
1405
1481
|
*/
|
|
1406
1482
|
VersionName?: VersionName;
|
|
1483
|
+
/**
|
|
1484
|
+
* The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the document classifier model in your AWS account.
|
|
1485
|
+
*/
|
|
1486
|
+
SourceModelArn?: DocumentClassifierArn;
|
|
1407
1487
|
}
|
|
1408
1488
|
export type DocumentClassifierPropertiesList = DocumentClassifierProperties[];
|
|
1409
1489
|
export type DocumentClassifierSummariesList = DocumentClassifierSummary[];
|
|
@@ -1897,6 +1977,10 @@ declare namespace Comprehend {
|
|
|
1897
1977
|
* The version name you assigned to the entity recognizer.
|
|
1898
1978
|
*/
|
|
1899
1979
|
VersionName?: VersionName;
|
|
1980
|
+
/**
|
|
1981
|
+
* The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the entity recognizer model in your AWS account.
|
|
1982
|
+
*/
|
|
1983
|
+
SourceModelArn?: EntityRecognizerArn;
|
|
1900
1984
|
}
|
|
1901
1985
|
export type EntityRecognizerPropertiesList = EntityRecognizerProperties[];
|
|
1902
1986
|
export type EntityRecognizerSummariesList = EntityRecognizerSummary[];
|
|
@@ -2017,6 +2101,38 @@ declare namespace Comprehend {
|
|
|
2017
2101
|
export type EventsDetectionJobPropertiesList = EventsDetectionJobProperties[];
|
|
2018
2102
|
export type Float = number;
|
|
2019
2103
|
export type IamRoleArn = string;
|
|
2104
|
+
export interface ImportModelRequest {
|
|
2105
|
+
/**
|
|
2106
|
+
* The Amazon Resource Name (ARN) of the custom model to import.
|
|
2107
|
+
*/
|
|
2108
|
+
SourceModelArn: ComprehendModelArn;
|
|
2109
|
+
/**
|
|
2110
|
+
* The name to assign to the custom model that is created in Amazon Comprehend by this import.
|
|
2111
|
+
*/
|
|
2112
|
+
ModelName?: ComprehendArnName;
|
|
2113
|
+
/**
|
|
2114
|
+
* 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.
|
|
2115
|
+
*/
|
|
2116
|
+
VersionName?: VersionName;
|
|
2117
|
+
/**
|
|
2118
|
+
* 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"
|
|
2119
|
+
*/
|
|
2120
|
+
ModelKmsKeyId?: KmsKeyId;
|
|
2121
|
+
/**
|
|
2122
|
+
* 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.
|
|
2123
|
+
*/
|
|
2124
|
+
DataAccessRoleArn?: IamRoleArn;
|
|
2125
|
+
/**
|
|
2126
|
+
* 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.
|
|
2127
|
+
*/
|
|
2128
|
+
Tags?: TagList;
|
|
2129
|
+
}
|
|
2130
|
+
export interface ImportModelResponse {
|
|
2131
|
+
/**
|
|
2132
|
+
* The Amazon Resource Name (ARN) of the custom model being imported.
|
|
2133
|
+
*/
|
|
2134
|
+
ModelArn?: ComprehendModelArn;
|
|
2135
|
+
}
|
|
2020
2136
|
export type InferenceUnitsInteger = number;
|
|
2021
2137
|
export interface InputDataConfig {
|
|
2022
2138
|
/**
|
|
@@ -2595,6 +2711,28 @@ declare namespace Comprehend {
|
|
|
2595
2711
|
*/
|
|
2596
2712
|
KmsKeyId?: KmsKeyId;
|
|
2597
2713
|
}
|
|
2714
|
+
export type Policy = string;
|
|
2715
|
+
export type PolicyRevisionId = string;
|
|
2716
|
+
export interface PutResourcePolicyRequest {
|
|
2717
|
+
/**
|
|
2718
|
+
* The Amazon Resource Name (ARN) of the custom model to attach the policy to.
|
|
2719
|
+
*/
|
|
2720
|
+
ResourceArn: ComprehendModelArn;
|
|
2721
|
+
/**
|
|
2722
|
+
* The JSON resource-based policy to attach to your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy: "{\"attribute\": \"value\", \"attribute\": [\"value\"]}" To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values: '{"attribute": "value", "attribute": ["value"]}'
|
|
2723
|
+
*/
|
|
2724
|
+
ResourcePolicy: Policy;
|
|
2725
|
+
/**
|
|
2726
|
+
* The revision ID that Amazon Comprehend assigned to the policy that you are updating. If you are creating a new policy that has no prior version, don't use this parameter. Amazon Comprehend creates the revision ID for you.
|
|
2727
|
+
*/
|
|
2728
|
+
PolicyRevisionId?: PolicyRevisionId;
|
|
2729
|
+
}
|
|
2730
|
+
export interface PutResourcePolicyResponse {
|
|
2731
|
+
/**
|
|
2732
|
+
* The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
|
|
2733
|
+
*/
|
|
2734
|
+
PolicyRevisionId?: PolicyRevisionId;
|
|
2735
|
+
}
|
|
2598
2736
|
export interface RedactionConfig {
|
|
2599
2737
|
/**
|
|
2600
2738
|
* An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
|