@aws-sdk/client-comprehend 3.299.0 → 3.301.0

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.
Files changed (85) hide show
  1. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +5 -0
  2. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -0
  3. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -0
  4. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -0
  5. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -0
  6. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -0
  7. package/dist-types/commands/ClassifyDocumentCommand.d.ts +12 -0
  8. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +4 -0
  9. package/dist-types/commands/CreateDatasetCommand.d.ts +43 -0
  10. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +48 -0
  11. package/dist-types/commands/CreateEndpointCommand.d.ts +14 -0
  12. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +56 -0
  13. package/dist-types/commands/CreateFlywheelCommand.d.ts +43 -0
  14. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +3 -0
  17. package/dist-types/commands/DeleteFlywheelCommand.d.ts +3 -0
  18. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  19. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -0
  20. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +3 -0
  21. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +3 -0
  22. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +3 -0
  23. package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +3 -0
  25. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +3 -0
  26. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeFlywheelCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +4 -0
  29. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -0
  32. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +3 -0
  33. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +3 -0
  34. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +3 -0
  35. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +3 -0
  36. package/dist-types/commands/DetectEntitiesCommand.d.ts +13 -0
  37. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +4 -0
  38. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +4 -0
  39. package/dist-types/commands/DetectSentimentCommand.d.ts +4 -0
  40. package/dist-types/commands/DetectSyntaxCommand.d.ts +4 -0
  41. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +4 -0
  42. package/dist-types/commands/ImportModelCommand.d.ts +13 -0
  43. package/dist-types/commands/ListDatasetsCommand.d.ts +11 -0
  44. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +10 -0
  45. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +4 -0
  46. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +10 -0
  47. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +10 -0
  48. package/dist-types/commands/ListEndpointsCommand.d.ts +10 -0
  49. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +10 -0
  50. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +4 -0
  51. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +10 -0
  52. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +10 -0
  53. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +9 -0
  54. package/dist-types/commands/ListFlywheelsCommand.d.ts +9 -0
  55. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +10 -0
  56. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +10 -0
  57. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +10 -0
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  59. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +10 -0
  60. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +10 -0
  61. package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -0
  62. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +37 -0
  63. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +35 -0
  64. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +38 -0
  65. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +30 -0
  66. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +4 -0
  67. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +36 -0
  68. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +35 -0
  69. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +36 -0
  70. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +36 -0
  71. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +36 -0
  72. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +3 -0
  73. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +3 -0
  74. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +3 -0
  75. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +3 -0
  76. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +3 -0
  77. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +3 -0
  78. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +3 -0
  79. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +3 -0
  80. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +3 -0
  81. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  82. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  83. package/dist-types/commands/UpdateEndpointCommand.d.ts +7 -0
  84. package/dist-types/commands/UpdateFlywheelCommand.d.ts +17 -0
  85. package/package.json +8 -8
@@ -26,6 +26,41 @@ export interface StartPiiEntitiesDetectionJobCommandOutput extends StartPiiEntit
26
26
  * import { ComprehendClient, StartPiiEntitiesDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
27
27
  * // const { ComprehendClient, StartPiiEntitiesDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
28
28
  * const client = new ComprehendClient(config);
29
+ * const input = { // StartPiiEntitiesDetectionJobRequest
30
+ * InputDataConfig: { // InputDataConfig
31
+ * S3Uri: "STRING_VALUE", // required
32
+ * InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
33
+ * DocumentReaderConfig: { // DocumentReaderConfig
34
+ * DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
35
+ * DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
36
+ * FeatureTypes: [ // ListOfDocumentReadFeatureTypes
37
+ * "TABLES" || "FORMS",
38
+ * ],
39
+ * },
40
+ * },
41
+ * OutputDataConfig: { // OutputDataConfig
42
+ * S3Uri: "STRING_VALUE", // required
43
+ * KmsKeyId: "STRING_VALUE",
44
+ * },
45
+ * Mode: "ONLY_REDACTION" || "ONLY_OFFSETS", // required
46
+ * RedactionConfig: { // RedactionConfig
47
+ * PiiEntityTypes: [ // ListOfPiiEntityTypes
48
+ * "BANK_ACCOUNT_NUMBER" || "BANK_ROUTING" || "CREDIT_DEBIT_NUMBER" || "CREDIT_DEBIT_CVV" || "CREDIT_DEBIT_EXPIRY" || "PIN" || "EMAIL" || "ADDRESS" || "NAME" || "PHONE" || "SSN" || "DATE_TIME" || "PASSPORT_NUMBER" || "DRIVER_ID" || "URL" || "AGE" || "USERNAME" || "PASSWORD" || "AWS_ACCESS_KEY" || "AWS_SECRET_KEY" || "IP_ADDRESS" || "MAC_ADDRESS" || "ALL" || "LICENSE_PLATE" || "VEHICLE_IDENTIFICATION_NUMBER" || "UK_NATIONAL_INSURANCE_NUMBER" || "CA_SOCIAL_INSURANCE_NUMBER" || "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" || "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" || "IN_PERMANENT_ACCOUNT_NUMBER" || "IN_NREGA" || "INTERNATIONAL_BANK_ACCOUNT_NUMBER" || "SWIFT_CODE" || "UK_NATIONAL_HEALTH_SERVICE_NUMBER" || "CA_HEALTH_NUMBER" || "IN_AADHAAR" || "IN_VOTER_NUMBER",
49
+ * ],
50
+ * MaskMode: "MASK" || "REPLACE_WITH_PII_ENTITY_TYPE",
51
+ * MaskCharacter: "STRING_VALUE",
52
+ * },
53
+ * DataAccessRoleArn: "STRING_VALUE", // required
54
+ * JobName: "STRING_VALUE",
55
+ * LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", // required
56
+ * ClientRequestToken: "STRING_VALUE",
57
+ * Tags: [ // TagList
58
+ * { // Tag
59
+ * Key: "STRING_VALUE", // required
60
+ * Value: "STRING_VALUE",
61
+ * },
62
+ * ],
63
+ * };
29
64
  * const command = new StartPiiEntitiesDetectionJobCommand(input);
30
65
  * const response = await client.send(command);
31
66
  * ```
@@ -28,6 +28,42 @@ export interface StartSentimentDetectionJobCommandOutput extends StartSentimentD
28
28
  * import { ComprehendClient, StartSentimentDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
29
29
  * // const { ComprehendClient, StartSentimentDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
30
30
  * const client = new ComprehendClient(config);
31
+ * const input = { // StartSentimentDetectionJobRequest
32
+ * InputDataConfig: { // InputDataConfig
33
+ * S3Uri: "STRING_VALUE", // required
34
+ * InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
35
+ * DocumentReaderConfig: { // DocumentReaderConfig
36
+ * DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
37
+ * DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
38
+ * FeatureTypes: [ // ListOfDocumentReadFeatureTypes
39
+ * "TABLES" || "FORMS",
40
+ * ],
41
+ * },
42
+ * },
43
+ * OutputDataConfig: { // OutputDataConfig
44
+ * S3Uri: "STRING_VALUE", // required
45
+ * KmsKeyId: "STRING_VALUE",
46
+ * },
47
+ * DataAccessRoleArn: "STRING_VALUE", // required
48
+ * JobName: "STRING_VALUE",
49
+ * LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", // required
50
+ * ClientRequestToken: "STRING_VALUE",
51
+ * VolumeKmsKeyId: "STRING_VALUE",
52
+ * VpcConfig: { // VpcConfig
53
+ * SecurityGroupIds: [ // SecurityGroupIds // required
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * Subnets: [ // Subnets // required
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * },
60
+ * Tags: [ // TagList
61
+ * { // Tag
62
+ * Key: "STRING_VALUE", // required
63
+ * Value: "STRING_VALUE",
64
+ * },
65
+ * ],
66
+ * };
31
67
  * const command = new StartSentimentDetectionJobCommand(input);
32
68
  * const response = await client.send(command);
33
69
  * ```
@@ -28,6 +28,42 @@ export interface StartTargetedSentimentDetectionJobCommandOutput extends StartTa
28
28
  * import { ComprehendClient, StartTargetedSentimentDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
29
29
  * // const { ComprehendClient, StartTargetedSentimentDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
30
30
  * const client = new ComprehendClient(config);
31
+ * const input = { // StartTargetedSentimentDetectionJobRequest
32
+ * InputDataConfig: { // InputDataConfig
33
+ * S3Uri: "STRING_VALUE", // required
34
+ * InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
35
+ * DocumentReaderConfig: { // DocumentReaderConfig
36
+ * DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
37
+ * DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
38
+ * FeatureTypes: [ // ListOfDocumentReadFeatureTypes
39
+ * "TABLES" || "FORMS",
40
+ * ],
41
+ * },
42
+ * },
43
+ * OutputDataConfig: { // OutputDataConfig
44
+ * S3Uri: "STRING_VALUE", // required
45
+ * KmsKeyId: "STRING_VALUE",
46
+ * },
47
+ * DataAccessRoleArn: "STRING_VALUE", // required
48
+ * JobName: "STRING_VALUE",
49
+ * LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", // required
50
+ * ClientRequestToken: "STRING_VALUE",
51
+ * VolumeKmsKeyId: "STRING_VALUE",
52
+ * VpcConfig: { // VpcConfig
53
+ * SecurityGroupIds: [ // SecurityGroupIds // required
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * Subnets: [ // Subnets // required
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * },
60
+ * Tags: [ // TagList
61
+ * { // Tag
62
+ * Key: "STRING_VALUE", // required
63
+ * Value: "STRING_VALUE",
64
+ * },
65
+ * ],
66
+ * };
31
67
  * const command = new StartTargetedSentimentDetectionJobCommand(input);
32
68
  * const response = await client.send(command);
33
69
  * ```
@@ -27,6 +27,42 @@ export interface StartTopicsDetectionJobCommandOutput extends StartTopicsDetecti
27
27
  * import { ComprehendClient, StartTopicsDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
28
28
  * // const { ComprehendClient, StartTopicsDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
29
29
  * const client = new ComprehendClient(config);
30
+ * const input = { // StartTopicsDetectionJobRequest
31
+ * InputDataConfig: { // InputDataConfig
32
+ * S3Uri: "STRING_VALUE", // required
33
+ * InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
34
+ * DocumentReaderConfig: { // DocumentReaderConfig
35
+ * DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
36
+ * DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
37
+ * FeatureTypes: [ // ListOfDocumentReadFeatureTypes
38
+ * "TABLES" || "FORMS",
39
+ * ],
40
+ * },
41
+ * },
42
+ * OutputDataConfig: { // OutputDataConfig
43
+ * S3Uri: "STRING_VALUE", // required
44
+ * KmsKeyId: "STRING_VALUE",
45
+ * },
46
+ * DataAccessRoleArn: "STRING_VALUE", // required
47
+ * JobName: "STRING_VALUE",
48
+ * NumberOfTopics: Number("int"),
49
+ * ClientRequestToken: "STRING_VALUE",
50
+ * VolumeKmsKeyId: "STRING_VALUE",
51
+ * VpcConfig: { // VpcConfig
52
+ * SecurityGroupIds: [ // SecurityGroupIds // required
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * Subnets: [ // Subnets // required
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * },
59
+ * Tags: [ // TagList
60
+ * { // Tag
61
+ * Key: "STRING_VALUE", // required
62
+ * Value: "STRING_VALUE",
63
+ * },
64
+ * ],
65
+ * };
30
66
  * const command = new StartTopicsDetectionJobCommand(input);
31
67
  * const response = await client.send(command);
32
68
  * ```
@@ -35,6 +35,9 @@ export interface StopDominantLanguageDetectionJobCommandOutput extends StopDomin
35
35
  * import { ComprehendClient, StopDominantLanguageDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
36
36
  * // const { ComprehendClient, StopDominantLanguageDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
37
37
  * const client = new ComprehendClient(config);
38
+ * const input = { // StopDominantLanguageDetectionJobRequest
39
+ * JobId: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new StopDominantLanguageDetectionJobCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -35,6 +35,9 @@ export interface StopEntitiesDetectionJobCommandOutput extends StopEntitiesDetec
35
35
  * import { ComprehendClient, StopEntitiesDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
36
36
  * // const { ComprehendClient, StopEntitiesDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
37
37
  * const client = new ComprehendClient(config);
38
+ * const input = { // StopEntitiesDetectionJobRequest
39
+ * JobId: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new StopEntitiesDetectionJobCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -26,6 +26,9 @@ export interface StopEventsDetectionJobCommandOutput extends StopEventsDetection
26
26
  * import { ComprehendClient, StopEventsDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
27
27
  * // const { ComprehendClient, StopEventsDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
28
28
  * const client = new ComprehendClient(config);
29
+ * const input = { // StopEventsDetectionJobRequest
30
+ * JobId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopEventsDetectionJobCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -35,6 +35,9 @@ export interface StopKeyPhrasesDetectionJobCommandOutput extends StopKeyPhrasesD
35
35
  * import { ComprehendClient, StopKeyPhrasesDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
36
36
  * // const { ComprehendClient, StopKeyPhrasesDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
37
37
  * const client = new ComprehendClient(config);
38
+ * const input = { // StopKeyPhrasesDetectionJobRequest
39
+ * JobId: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new StopKeyPhrasesDetectionJobCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -26,6 +26,9 @@ export interface StopPiiEntitiesDetectionJobCommandOutput extends StopPiiEntitie
26
26
  * import { ComprehendClient, StopPiiEntitiesDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
27
27
  * // const { ComprehendClient, StopPiiEntitiesDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
28
28
  * const client = new ComprehendClient(config);
29
+ * const input = { // StopPiiEntitiesDetectionJobRequest
30
+ * JobId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopPiiEntitiesDetectionJobCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -35,6 +35,9 @@ export interface StopSentimentDetectionJobCommandOutput extends StopSentimentDet
35
35
  * import { ComprehendClient, StopSentimentDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
36
36
  * // const { ComprehendClient, StopSentimentDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
37
37
  * const client = new ComprehendClient(config);
38
+ * const input = { // StopSentimentDetectionJobRequest
39
+ * JobId: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new StopSentimentDetectionJobCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -35,6 +35,9 @@ export interface StopTargetedSentimentDetectionJobCommandOutput extends StopTarg
35
35
  * import { ComprehendClient, StopTargetedSentimentDetectionJobCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
36
36
  * // const { ComprehendClient, StopTargetedSentimentDetectionJobCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
37
37
  * const client = new ComprehendClient(config);
38
+ * const input = { // StopTargetedSentimentDetectionJobRequest
39
+ * JobId: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new StopTargetedSentimentDetectionJobCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -31,6 +31,9 @@ export interface StopTrainingDocumentClassifierCommandOutput extends StopTrainin
31
31
  * import { ComprehendClient, StopTrainingDocumentClassifierCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
32
32
  * // const { ComprehendClient, StopTrainingDocumentClassifierCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
33
33
  * const client = new ComprehendClient(config);
34
+ * const input = { // StopTrainingDocumentClassifierRequest
35
+ * DocumentClassifierArn: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new StopTrainingDocumentClassifierCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -31,6 +31,9 @@ export interface StopTrainingEntityRecognizerCommandOutput extends StopTrainingE
31
31
  * import { ComprehendClient, StopTrainingEntityRecognizerCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
32
32
  * // const { ComprehendClient, StopTrainingEntityRecognizerCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
33
33
  * const client = new ComprehendClient(config);
34
+ * const input = { // StopTrainingEntityRecognizerRequest
35
+ * EntityRecognizerArn: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new StopTrainingEntityRecognizerCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -29,6 +29,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * import { ComprehendClient, TagResourceCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
30
30
  * // const { ComprehendClient, TagResourceCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
31
31
  * const client = new ComprehendClient(config);
32
+ * const input = { // TagResourceRequest
33
+ * ResourceArn: "STRING_VALUE", // required
34
+ * Tags: [ // TagList // required
35
+ * { // Tag
36
+ * Key: "STRING_VALUE", // required
37
+ * Value: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * };
32
41
  * const command = new TagResourceCommand(input);
33
42
  * const response = await client.send(command);
34
43
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { ComprehendClient, UntagResourceCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
27
27
  * // const { ComprehendClient, UntagResourceCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
28
28
  * const client = new ComprehendClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,13 @@ export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __M
27
27
  * import { ComprehendClient, UpdateEndpointCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
28
28
  * // const { ComprehendClient, UpdateEndpointCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
29
29
  * const client = new ComprehendClient(config);
30
+ * const input = { // UpdateEndpointRequest
31
+ * EndpointArn: "STRING_VALUE", // required
32
+ * DesiredModelArn: "STRING_VALUE",
33
+ * DesiredInferenceUnits: Number("int"),
34
+ * DesiredDataAccessRoleArn: "STRING_VALUE",
35
+ * FlywheelArn: "STRING_VALUE",
36
+ * };
30
37
  * const command = new UpdateEndpointCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,23 @@ export interface UpdateFlywheelCommandOutput extends UpdateFlywheelResponse, __M
26
26
  * import { ComprehendClient, UpdateFlywheelCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
27
27
  * // const { ComprehendClient, UpdateFlywheelCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
28
28
  * const client = new ComprehendClient(config);
29
+ * const input = { // UpdateFlywheelRequest
30
+ * FlywheelArn: "STRING_VALUE", // required
31
+ * ActiveModelArn: "STRING_VALUE",
32
+ * DataAccessRoleArn: "STRING_VALUE",
33
+ * DataSecurityConfig: { // UpdateDataSecurityConfig
34
+ * ModelKmsKeyId: "STRING_VALUE",
35
+ * VolumeKmsKeyId: "STRING_VALUE",
36
+ * VpcConfig: { // VpcConfig
37
+ * SecurityGroupIds: [ // SecurityGroupIds // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * Subnets: [ // Subnets // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * },
45
+ * };
29
46
  * const command = new UpdateFlywheelCommand(input);
30
47
  * const response = await client.send(command);
31
48
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-comprehend",
3
3
  "description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"