cdk-lambda-subminute 2.0.318 → 2.0.319
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 +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +8 -2
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +7 -1
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +282 -279
- package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +34 -14
- package/node_modules/aws-sdk/clients/backup.d.ts +18 -6
- package/node_modules/aws-sdk/clients/comprehend.d.ts +15 -15
- package/node_modules/aws-sdk/clients/connect.d.ts +8 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +5 -0
- package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +70 -41
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk.js +293 -283
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +60 -60
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/region_config_data.json +1 -0
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -34,7 +34,8 @@
|
|
34
34
|
"shape": "S5"
|
35
35
|
}
|
36
36
|
}
|
37
|
-
}
|
37
|
+
},
|
38
|
+
"idempotent": true
|
38
39
|
},
|
39
40
|
"CreateKey": {
|
40
41
|
"input": {
|
@@ -84,7 +85,8 @@
|
|
84
85
|
"output": {
|
85
86
|
"type": "structure",
|
86
87
|
"members": {}
|
87
|
-
}
|
88
|
+
},
|
89
|
+
"idempotent": true
|
88
90
|
},
|
89
91
|
"DeleteKey": {
|
90
92
|
"input": {
|
@@ -109,7 +111,8 @@
|
|
109
111
|
"shape": "Sk"
|
110
112
|
}
|
111
113
|
}
|
112
|
-
}
|
114
|
+
},
|
115
|
+
"idempotent": true
|
113
116
|
},
|
114
117
|
"ExportKey": {
|
115
118
|
"input": {
|
@@ -119,6 +122,21 @@
|
|
119
122
|
"KeyMaterial"
|
120
123
|
],
|
121
124
|
"members": {
|
125
|
+
"ExportAttributes": {
|
126
|
+
"type": "structure",
|
127
|
+
"members": {
|
128
|
+
"ExportDukptInitialKey": {
|
129
|
+
"type": "structure",
|
130
|
+
"required": [
|
131
|
+
"KeySerialNumber"
|
132
|
+
],
|
133
|
+
"members": {
|
134
|
+
"KeySerialNumber": {}
|
135
|
+
}
|
136
|
+
},
|
137
|
+
"KeyCheckValueAlgorithm": {}
|
138
|
+
}
|
139
|
+
},
|
122
140
|
"ExportKeyIdentifier": {},
|
123
141
|
"KeyMaterial": {
|
124
142
|
"type": "structure",
|
@@ -146,7 +164,7 @@
|
|
146
164
|
"KeyBlockFormat": {},
|
147
165
|
"RandomNonce": {},
|
148
166
|
"WrappingKeyCertificate": {
|
149
|
-
"shape": "
|
167
|
+
"shape": "S15"
|
150
168
|
}
|
151
169
|
}
|
152
170
|
}
|
@@ -166,6 +184,8 @@
|
|
166
184
|
"WrappingKeyArn"
|
167
185
|
],
|
168
186
|
"members": {
|
187
|
+
"KeyCheckValue": {},
|
188
|
+
"KeyCheckValueAlgorithm": {},
|
169
189
|
"KeyMaterial": {
|
170
190
|
"type": "string",
|
171
191
|
"sensitive": true
|
@@ -249,10 +269,10 @@
|
|
249
269
|
},
|
250
270
|
"SigningKeyAlgorithm": {},
|
251
271
|
"SigningKeyCertificate": {
|
252
|
-
"shape": "
|
272
|
+
"shape": "S15"
|
253
273
|
},
|
254
274
|
"SigningKeyCertificateChain": {
|
255
|
-
"shape": "
|
275
|
+
"shape": "S15"
|
256
276
|
}
|
257
277
|
}
|
258
278
|
}
|
@@ -285,10 +305,10 @@
|
|
285
305
|
},
|
286
306
|
"WrappingKeyAlgorithm": {},
|
287
307
|
"WrappingKeyCertificate": {
|
288
|
-
"shape": "
|
308
|
+
"shape": "S15"
|
289
309
|
},
|
290
310
|
"WrappingKeyCertificateChain": {
|
291
|
-
"shape": "
|
311
|
+
"shape": "S15"
|
292
312
|
}
|
293
313
|
}
|
294
314
|
}
|
@@ -311,10 +331,10 @@
|
|
311
331
|
],
|
312
332
|
"members": {
|
313
333
|
"KeyCertificate": {
|
314
|
-
"shape": "
|
334
|
+
"shape": "S15"
|
315
335
|
},
|
316
336
|
"KeyCertificateChain": {
|
317
|
-
"shape": "
|
337
|
+
"shape": "S15"
|
318
338
|
}
|
319
339
|
}
|
320
340
|
}
|
@@ -344,7 +364,7 @@
|
|
344
364
|
"shape": "S8"
|
345
365
|
},
|
346
366
|
"PublicKeyCertificate": {
|
347
|
-
"shape": "
|
367
|
+
"shape": "S15"
|
348
368
|
}
|
349
369
|
}
|
350
370
|
},
|
@@ -374,7 +394,7 @@
|
|
374
394
|
"KeyBlockFormat": {},
|
375
395
|
"RandomNonce": {},
|
376
396
|
"SigningKeyCertificate": {
|
377
|
-
"shape": "
|
397
|
+
"shape": "S15"
|
378
398
|
},
|
379
399
|
"WrappedKeyBlock": {}
|
380
400
|
}
|
@@ -392,7 +412,7 @@
|
|
392
412
|
"shape": "S8"
|
393
413
|
},
|
394
414
|
"PublicKeyCertificate": {
|
395
|
-
"shape": "
|
415
|
+
"shape": "S15"
|
396
416
|
}
|
397
417
|
}
|
398
418
|
}
|
@@ -762,7 +782,7 @@
|
|
762
782
|
}
|
763
783
|
}
|
764
784
|
},
|
765
|
-
"
|
785
|
+
"S15": {
|
766
786
|
"type": "string",
|
767
787
|
"sensitive": true
|
768
788
|
}
|
@@ -704,11 +704,11 @@ declare class Backup extends Service {
|
|
704
704
|
*/
|
705
705
|
updateRecoveryPointLifecycle(callback?: (err: AWSError, data: Backup.Types.UpdateRecoveryPointLifecycleOutput) => void): Request<Backup.Types.UpdateRecoveryPointLifecycleOutput, AWSError>;
|
706
706
|
/**
|
707
|
-
* Updates the current service opt-in settings for the Region.
|
707
|
+
* Updates the current service opt-in settings for the Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
|
708
708
|
*/
|
709
709
|
updateRegionSettings(params: Backup.Types.UpdateRegionSettingsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
710
710
|
/**
|
711
|
-
* Updates the current service opt-in settings for the Region.
|
711
|
+
* Updates the current service opt-in settings for the Region. Use the DescribeRegionSettings API to determine the resource types that are supported.
|
712
712
|
*/
|
713
713
|
updateRegionSettings(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
714
714
|
/**
|
@@ -2214,6 +2214,10 @@ declare namespace Backup {
|
|
2214
2214
|
* This is the non-unique name of the resource that belongs to the specified backup.
|
2215
2215
|
*/
|
2216
2216
|
ResourceName?: string;
|
2217
|
+
/**
|
2218
|
+
* This is the type of vault in which the described recovery point is stored.
|
2219
|
+
*/
|
2220
|
+
VaultType?: VaultType;
|
2217
2221
|
}
|
2218
2222
|
export interface DescribeRegionSettingsInput {
|
2219
2223
|
}
|
@@ -2847,7 +2851,7 @@ declare namespace Backup {
|
|
2847
2851
|
*/
|
2848
2852
|
ByCreatedAfter?: timestamp;
|
2849
2853
|
/**
|
2850
|
-
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune RDS for Amazon Relational Database Service Storage Gateway for Storage Gateway S3 for Amazon S3 VirtualMachine for virtual machines
|
2854
|
+
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
2851
2855
|
*/
|
2852
2856
|
ByResourceType?: ResourceType;
|
2853
2857
|
/**
|
@@ -3071,7 +3075,7 @@ declare namespace Backup {
|
|
3071
3075
|
*/
|
3072
3076
|
ByCreatedAfter?: timestamp;
|
3073
3077
|
/**
|
3074
|
-
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune RDS for Amazon Relational Database Service Storage Gateway for Storage Gateway S3 for Amazon S3 VirtualMachine for virtual machines
|
3078
|
+
* Returns only backup jobs for the specified resources: Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
3075
3079
|
*/
|
3076
3080
|
ByResourceType?: ResourceType;
|
3077
3081
|
/**
|
@@ -3220,7 +3224,7 @@ declare namespace Backup {
|
|
3220
3224
|
*/
|
3221
3225
|
ByResourceArn?: ARN;
|
3222
3226
|
/**
|
3223
|
-
* Returns only recovery points that match the specified resource type
|
3227
|
+
* Returns only recovery points that match the specified resource type(s): Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
3224
3228
|
*/
|
3225
3229
|
ByResourceType?: ResourceType;
|
3226
3230
|
/**
|
@@ -3443,6 +3447,10 @@ declare namespace Backup {
|
|
3443
3447
|
* The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
|
3444
3448
|
*/
|
3445
3449
|
ByAccountId?: AccountId;
|
3450
|
+
/**
|
3451
|
+
* Include this parameter to return only restore jobs for the specified resources: Aurora for Amazon Aurora CloudFormation for CloudFormation DocumentDB for Amazon DocumentDB (with MongoDB compatibility) DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSx for Amazon FSx Neptune for Amazon Neptune Redshift for Amazon Redshift RDS for Amazon Relational Database Service SAP HANA on Amazon EC2 for SAP HANA databases Storage Gateway for Storage Gateway S3 for Amazon S3 Timestream for Amazon Timestream VirtualMachine for virtual machines
|
3452
|
+
*/
|
3453
|
+
ByResourceType?: ResourceType;
|
3446
3454
|
/**
|
3447
3455
|
* Returns only restore jobs that were created before the specified date.
|
3448
3456
|
*/
|
@@ -3739,6 +3747,10 @@ declare namespace Backup {
|
|
3739
3747
|
* This is the non-unique name of the resource that belongs to the specified backup.
|
3740
3748
|
*/
|
3741
3749
|
ResourceName?: string;
|
3750
|
+
/**
|
3751
|
+
* This is the type of vault in which the described recovery point is stored.
|
3752
|
+
*/
|
3753
|
+
VaultType?: VaultType;
|
3742
3754
|
}
|
3743
3755
|
export type RecoveryPointByBackupVaultList = RecoveryPointByBackupVault[];
|
3744
3756
|
export interface RecoveryPointByResource {
|
@@ -4632,7 +4644,7 @@ declare namespace Backup {
|
|
4632
4644
|
}
|
4633
4645
|
export interface UpdateRegionSettingsInput {
|
4634
4646
|
/**
|
4635
|
-
* Updates the list of services along with the opt-in preferences for the Region.
|
4647
|
+
* Updates the list of services along with the opt-in preferences for the Region. If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.
|
4636
4648
|
*/
|
4637
4649
|
ResourceTypeOptInPreference?: ResourceTypeOptInPreference;
|
4638
4650
|
/**
|
@@ -60,11 +60,11 @@ declare class Comprehend extends Service {
|
|
60
60
|
*/
|
61
61
|
batchDetectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.BatchDetectTargetedSentimentResponse) => void): Request<Comprehend.Types.BatchDetectTargetedSentimentResponse, AWSError>;
|
62
62
|
/**
|
63
|
-
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt classifier - Amazon Comprehend provides a model for classifying prompts. For input, you provide English plain text input. For prompt classification, the response includes only the Classes field. For more information about prompt classifiers, see Prompt
|
63
|
+
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for generative AI applications. For input, you provide English plain text input. For prompt safety classification, the response includes only the Classes field. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an Errors field that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
|
64
64
|
*/
|
65
65
|
classifyDocument(params: Comprehend.Types.ClassifyDocumentRequest, callback?: (err: AWSError, data: Comprehend.Types.ClassifyDocumentResponse) => void): Request<Comprehend.Types.ClassifyDocumentResponse, AWSError>;
|
66
66
|
/**
|
67
|
-
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt classifier - Amazon Comprehend provides a model for classifying prompts. For input, you provide English plain text input. For prompt classification, the response includes only the Classes field. For more information about prompt classifiers, see Prompt
|
67
|
+
* Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for generative AI applications. For input, you provide English plain text input. For prompt safety classification, the response includes only the Classes field. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an Errors field that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.
|
68
68
|
*/
|
69
69
|
classifyDocument(callback?: (err: AWSError, data: Comprehend.Types.ClassifyDocumentResponse) => void): Request<Comprehend.Types.ClassifyDocumentResponse, AWSError>;
|
70
70
|
/**
|
@@ -340,11 +340,11 @@ declare class Comprehend extends Service {
|
|
340
340
|
*/
|
341
341
|
detectTargetedSentiment(callback?: (err: AWSError, data: Comprehend.Types.DetectTargetedSentimentResponse) => void): Request<Comprehend.Types.DetectTargetedSentimentResponse, AWSError>;
|
342
342
|
/**
|
343
|
-
* Performs toxicity analysis on the list of text strings that you provide as input. The
|
343
|
+
* Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
|
344
344
|
*/
|
345
345
|
detectToxicContent(params: Comprehend.Types.DetectToxicContentRequest, callback?: (err: AWSError, data: Comprehend.Types.DetectToxicContentResponse) => void): Request<Comprehend.Types.DetectToxicContentResponse, AWSError>;
|
346
346
|
/**
|
347
|
-
* Performs toxicity analysis on the list of text strings that you provide as input. The
|
347
|
+
* Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
|
348
348
|
*/
|
349
349
|
detectToxicContent(callback?: (err: AWSError, data: Comprehend.Types.DetectToxicContentResponse) => void): Request<Comprehend.Types.DetectToxicContentResponse, AWSError>;
|
350
350
|
/**
|
@@ -508,11 +508,11 @@ declare class Comprehend extends Service {
|
|
508
508
|
*/
|
509
509
|
putResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.PutResourcePolicyResponse) => void): Request<Comprehend.Types.PutResourcePolicyResponse, AWSError>;
|
510
510
|
/**
|
511
|
-
* Starts an asynchronous document classification job. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
511
|
+
* Starts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
512
512
|
*/
|
513
513
|
startDocumentClassificationJob(params: Comprehend.Types.StartDocumentClassificationJobRequest, callback?: (err: AWSError, data: Comprehend.Types.StartDocumentClassificationJobResponse) => void): Request<Comprehend.Types.StartDocumentClassificationJobResponse, AWSError>;
|
514
514
|
/**
|
515
|
-
* Starts an asynchronous document classification job. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
515
|
+
* Starts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.
|
516
516
|
*/
|
517
517
|
startDocumentClassificationJob(callback?: (err: AWSError, data: Comprehend.Types.StartDocumentClassificationJobResponse) => void): Request<Comprehend.Types.StartDocumentClassificationJobResponse, AWSError>;
|
518
518
|
/**
|
@@ -1053,11 +1053,11 @@ declare namespace Comprehend {
|
|
1053
1053
|
*/
|
1054
1054
|
Text?: CustomerInputString;
|
1055
1055
|
/**
|
1056
|
-
* The Amazon Resource Number (ARN) of the endpoint. For prompt classification, Amazon Comprehend provides the endpoint ARN
|
1056
|
+
* The Amazon Resource Number (ARN) of the endpoint. For prompt safety classification, Amazon Comprehend provides the endpoint ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide For custom classification, you create an endpoint for your custom model. For more information, see Using Amazon Comprehend endpoints.
|
1057
1057
|
*/
|
1058
1058
|
EndpointArn: DocumentClassifierEndpointArn;
|
1059
1059
|
/**
|
1060
|
-
* Use the Bytes parameter to input a text, PDF, Word or image file. When you classify a document using a custom model, you can also use the Bytes parameter to input an Amazon Textract DetectDocumentText or AnalyzeDocument output file. To classify a document using the prompt classifier, use the Text parameter for input. Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the Bytes parameter, do not use the Text parameter.
|
1060
|
+
* Use the Bytes parameter to input a text, PDF, Word or image file. When you classify a document using a custom model, you can also use the Bytes parameter to input an Amazon Textract DetectDocumentText or AnalyzeDocument output file. To classify a document using the prompt safety classifier, use the Text parameter for input. Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the Bytes parameter, do not use the Text parameter.
|
1061
1061
|
*/
|
1062
1062
|
Bytes?: SemiStructuredDocumentBlob;
|
1063
1063
|
/**
|
@@ -1067,11 +1067,11 @@ declare namespace Comprehend {
|
|
1067
1067
|
}
|
1068
1068
|
export interface ClassifyDocumentResponse {
|
1069
1069
|
/**
|
1070
|
-
* The classes used by the document being analyzed. These are used for multi-class
|
1070
|
+
* The classes used by the document being analyzed. These are used for models trained in multi-class mode. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time. For prompt safety classification, the response includes only two classes (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each class. The value range of the score is zero to one, where one is the highest confidence.
|
1071
1071
|
*/
|
1072
1072
|
Classes?: ListOfClasses;
|
1073
1073
|
/**
|
1074
|
-
* The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
|
1074
|
+
* The labels used in the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not mutually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.
|
1075
1075
|
*/
|
1076
1076
|
Labels?: ListOfLabels;
|
1077
1077
|
/**
|
@@ -1193,7 +1193,7 @@ declare namespace Comprehend {
|
|
1193
1193
|
*/
|
1194
1194
|
VpcConfig?: VpcConfig;
|
1195
1195
|
/**
|
1196
|
-
* Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class mode
|
1196
|
+
* Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class (single-label) mode or multi-label mode. Multi-class mode identifies a single class label for each document and multi-label mode identifies one or more class labels for each document. Multiple labels for an individual document are separated by a delimiter. The default delimiter between labels is a pipe (|).
|
1197
1197
|
*/
|
1198
1198
|
Mode?: DocumentClassifierMode;
|
1199
1199
|
/**
|
@@ -1911,7 +1911,7 @@ declare namespace Comprehend {
|
|
1911
1911
|
}
|
1912
1912
|
export interface DetectToxicContentRequest {
|
1913
1913
|
/**
|
1914
|
-
* A list of up to 10 text strings.
|
1914
|
+
* A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB.
|
1915
1915
|
*/
|
1916
1916
|
TextSegments: ListOfTextSegments;
|
1917
1917
|
/**
|
@@ -2244,7 +2244,7 @@ declare namespace Comprehend {
|
|
2244
2244
|
*/
|
2245
2245
|
DocumentReadMode?: DocumentReadMode;
|
2246
2246
|
/**
|
2247
|
-
* Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values: TABLES - Returns information about any tables that are detected in the input document. FORMS - Returns information
|
2247
|
+
* Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values: TABLES - Returns additional information about any tables that are detected in the input document. FORMS - Returns additional information about any forms that are detected in the input document.
|
2248
2248
|
*/
|
2249
2249
|
FeatureTypes?: ListOfDocumentReadFeatureTypes;
|
2250
2250
|
}
|
@@ -2780,7 +2780,7 @@ declare namespace Comprehend {
|
|
2780
2780
|
export type EntityTypesList = EntityTypesListItem[];
|
2781
2781
|
export interface EntityTypesListItem {
|
2782
2782
|
/**
|
2783
|
-
* An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab),
|
2783
|
+
* An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
|
2784
2784
|
*/
|
2785
2785
|
Type: EntityTypeName;
|
2786
2786
|
}
|
@@ -4858,7 +4858,7 @@ declare namespace Comprehend {
|
|
4858
4858
|
*/
|
4859
4859
|
Labels?: ListOfToxicContent;
|
4860
4860
|
/**
|
4861
|
-
* Overall toxicity score for the string.
|
4861
|
+
* Overall toxicity score for the string. Value range is zero to one, where one is the highest confidence.
|
4862
4862
|
*/
|
4863
4863
|
Toxicity?: Float;
|
4864
4864
|
}
|
@@ -3026,6 +3026,10 @@ declare namespace Connect {
|
|
3026
3026
|
* Your contact center allows outbound calls.
|
3027
3027
|
*/
|
3028
3028
|
OutboundCallsEnabled: OutboundCallsEnabled;
|
3029
|
+
/**
|
3030
|
+
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
3031
|
+
*/
|
3032
|
+
Tags?: TagMap;
|
3029
3033
|
}
|
3030
3034
|
export interface CreateInstanceResponse {
|
3031
3035
|
/**
|
@@ -6026,6 +6030,10 @@ declare namespace Connect {
|
|
6026
6030
|
* This URL allows contact center users to access the Amazon Connect admin website.
|
6027
6031
|
*/
|
6028
6032
|
InstanceAccessUrl?: Url;
|
6033
|
+
/**
|
6034
|
+
* The tags of an instance.
|
6035
|
+
*/
|
6036
|
+
Tags?: TagMap;
|
6029
6037
|
}
|
6030
6038
|
export type InstanceArn = string;
|
6031
6039
|
export type InstanceAttributeType = "INBOUND_CALLS"|"OUTBOUND_CALLS"|"CONTACTFLOW_LOGS"|"CONTACT_LENS"|"AUTO_RESOLVE_BEST_VOICES"|"USE_CUSTOM_TTS_VOICES"|"EARLY_MEDIA"|"MULTI_PARTY_CONFERENCE"|"HIGH_VOLUME_OUTBOUND"|"ENHANCED_CONTACT_MONITORING"|string;
|
@@ -8707,6 +8707,7 @@ declare namespace EC2 {
|
|
8707
8707
|
export type CoreCountList = CoreCount[];
|
8708
8708
|
export type CoreNetworkArn = string;
|
8709
8709
|
export type CpuManufacturer = "intel"|"amd"|"amazon-web-services"|string;
|
8710
|
+
export type CpuManufacturerName = string;
|
8710
8711
|
export type CpuManufacturerSet = CpuManufacturer[];
|
8711
8712
|
export interface CpuOptions {
|
8712
8713
|
/**
|
@@ -31668,6 +31669,10 @@ declare namespace EC2 {
|
|
31668
31669
|
* Indicates whether the instance type supports AMD SEV-SNP. If the request returns amd-sev-snp, AMD SEV-SNP is supported. Otherwise, it is not supported. For more information, see AMD SEV-SNP.
|
31669
31670
|
*/
|
31670
31671
|
SupportedFeatures?: SupportedAdditionalProcessorFeatureList;
|
31672
|
+
/**
|
31673
|
+
* The manufacturer of the processor.
|
31674
|
+
*/
|
31675
|
+
Manufacturer?: CpuManufacturerName;
|
31671
31676
|
}
|
31672
31677
|
export type ProcessorSustainedClockSpeed = number;
|
31673
31678
|
export interface ProductCode {
|