@aws-sdk/client-comprehend 3.1087.0 → 3.1088.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 (105) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/Comprehend.d.ts +275 -331
  3. package/dist-types/ts3.4/ComprehendClient.d.ts +7 -22
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +4 -6
  8. package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +5 -10
  11. package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +4 -6
  13. package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +4 -6
  17. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +4 -9
  18. package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +4 -9
  20. package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +4 -6
  21. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +4 -9
  22. package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
  25. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +4 -9
  26. package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +4 -6
  28. package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +4 -6
  29. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -9
  30. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +4 -6
  31. package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +4 -6
  32. package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +4 -6
  33. package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +4 -9
  34. package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +4 -6
  35. package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +4 -6
  36. package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +4 -6
  37. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +4 -6
  39. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +4 -6
  40. package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +4 -6
  41. package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +5 -10
  42. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +3 -8
  43. package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +4 -9
  44. package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +5 -10
  45. package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +4 -9
  46. package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +3 -5
  47. package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +4 -6
  48. package/dist-types/ts3.4/commands/DetectToxicContentCommand.d.ts +5 -10
  49. package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +3 -5
  50. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +3 -5
  52. package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +3 -5
  53. package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +3 -5
  54. package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +3 -5
  55. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +3 -8
  56. package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +3 -5
  57. package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +3 -5
  58. package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +4 -9
  59. package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +3 -5
  60. package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +4 -6
  61. package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +3 -8
  62. package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +3 -5
  63. package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +3 -5
  64. package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +3 -5
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  66. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +3 -5
  67. package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +3 -5
  68. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -10
  69. package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +4 -6
  70. package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +4 -6
  71. package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +4 -6
  72. package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +4 -6
  73. package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +5 -10
  74. package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +4 -6
  75. package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +4 -6
  76. package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +4 -6
  77. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +4 -6
  78. package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +4 -6
  79. package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +4 -6
  80. package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +4 -6
  81. package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +5 -10
  82. package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +4 -6
  83. package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +4 -6
  84. package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +4 -6
  85. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +4 -6
  86. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +4 -6
  87. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +4 -6
  88. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  89. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  90. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +4 -9
  91. package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +4 -9
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  93. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  94. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  95. package/dist-types/ts3.4/models/enums.d.ts +12 -24
  96. package/dist-types/ts3.4/models/errors.d.ts +16 -54
  97. package/dist-types/ts3.4/models/models_0.d.ts +13 -39
  98. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  99. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  100. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  101. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  102. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  103. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  104. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  105. package/package.json +38 -38
@@ -20,8 +20,7 @@ export type InvalidRequestDetailReason =
20
20
  export declare const InvalidRequestReason: {
21
21
  readonly INVALID_DOCUMENT: "INVALID_DOCUMENT";
22
22
  };
23
- export type InvalidRequestReason =
24
- (typeof InvalidRequestReason)[keyof typeof InvalidRequestReason];
23
+ export type InvalidRequestReason = (typeof InvalidRequestReason)[keyof typeof InvalidRequestReason];
25
24
  export declare const LanguageCode: {
26
25
  readonly AR: "ar";
27
26
  readonly DE: "de";
@@ -64,8 +63,7 @@ export declare const SyntaxLanguageCode: {
64
63
  readonly IT: "it";
65
64
  readonly PT: "pt";
66
65
  };
67
- export type SyntaxLanguageCode =
68
- (typeof SyntaxLanguageCode)[keyof typeof SyntaxLanguageCode];
66
+ export type SyntaxLanguageCode = (typeof SyntaxLanguageCode)[keyof typeof SyntaxLanguageCode];
69
67
  export declare const PartOfSpeechTagType: {
70
68
  readonly ADJ: "ADJ";
71
69
  readonly ADP: "ADP";
@@ -86,8 +84,7 @@ export declare const PartOfSpeechTagType: {
86
84
  readonly SYM: "SYM";
87
85
  readonly VERB: "VERB";
88
86
  };
89
- export type PartOfSpeechTagType =
90
- (typeof PartOfSpeechTagType)[keyof typeof PartOfSpeechTagType];
87
+ export type PartOfSpeechTagType = (typeof PartOfSpeechTagType)[keyof typeof PartOfSpeechTagType];
91
88
  export declare const TargetedSentimentEntityType: {
92
89
  readonly ATTRIBUTE: "ATTRIBUTE";
93
90
  readonly BOOK: "BOOK";
@@ -117,20 +114,17 @@ export type BlockType = (typeof BlockType)[keyof typeof BlockType];
117
114
  export declare const RelationshipType: {
118
115
  readonly CHILD: "CHILD";
119
116
  };
120
- export type RelationshipType =
121
- (typeof RelationshipType)[keyof typeof RelationshipType];
117
+ export type RelationshipType = (typeof RelationshipType)[keyof typeof RelationshipType];
122
118
  export declare const DocumentReadAction: {
123
119
  readonly TEXTRACT_ANALYZE_DOCUMENT: "TEXTRACT_ANALYZE_DOCUMENT";
124
120
  readonly TEXTRACT_DETECT_DOCUMENT_TEXT: "TEXTRACT_DETECT_DOCUMENT_TEXT";
125
121
  };
126
- export type DocumentReadAction =
127
- (typeof DocumentReadAction)[keyof typeof DocumentReadAction];
122
+ export type DocumentReadAction = (typeof DocumentReadAction)[keyof typeof DocumentReadAction];
128
123
  export declare const DocumentReadMode: {
129
124
  readonly FORCE_DOCUMENT_READ_ACTION: "FORCE_DOCUMENT_READ_ACTION";
130
125
  readonly SERVICE_DEFAULT: "SERVICE_DEFAULT";
131
126
  };
132
- export type DocumentReadMode =
133
- (typeof DocumentReadMode)[keyof typeof DocumentReadMode];
127
+ export type DocumentReadMode = (typeof DocumentReadMode)[keyof typeof DocumentReadMode];
134
128
  export declare const DocumentReadFeatureTypes: {
135
129
  readonly FORMS: "FORMS";
136
130
  readonly TABLES: "TABLES";
@@ -154,14 +148,12 @@ export declare const PageBasedErrorCode: {
154
148
  readonly TEXTRACT_BAD_PAGE: "TEXTRACT_BAD_PAGE";
155
149
  readonly TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED: "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED";
156
150
  };
157
- export type PageBasedErrorCode =
158
- (typeof PageBasedErrorCode)[keyof typeof PageBasedErrorCode];
151
+ export type PageBasedErrorCode = (typeof PageBasedErrorCode)[keyof typeof PageBasedErrorCode];
159
152
  export declare const PageBasedWarningCode: {
160
153
  readonly INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL: "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL";
161
154
  readonly INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL: "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL";
162
155
  };
163
- export type PageBasedWarningCode =
164
- (typeof PageBasedWarningCode)[keyof typeof PageBasedWarningCode];
156
+ export type PageBasedWarningCode = (typeof PageBasedWarningCode)[keyof typeof PageBasedWarningCode];
165
157
  export declare const PiiEntityType: {
166
158
  readonly ADDRESS: "ADDRESS";
167
159
  readonly AGE: "AGE";
@@ -211,8 +203,7 @@ export declare const DatasetDataFormat: {
211
203
  readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
212
204
  readonly COMPREHEND_CSV: "COMPREHEND_CSV";
213
205
  };
214
- export type DatasetDataFormat =
215
- (typeof DatasetDataFormat)[keyof typeof DatasetDataFormat];
206
+ export type DatasetDataFormat = (typeof DatasetDataFormat)[keyof typeof DatasetDataFormat];
216
207
  export declare const InputFormat: {
217
208
  readonly ONE_DOC_PER_FILE: "ONE_DOC_PER_FILE";
218
209
  readonly ONE_DOC_PER_LINE: "ONE_DOC_PER_LINE";
@@ -280,8 +271,7 @@ export declare const EndpointStatus: {
280
271
  readonly IN_SERVICE: "IN_SERVICE";
281
272
  readonly UPDATING: "UPDATING";
282
273
  };
283
- export type EndpointStatus =
284
- (typeof EndpointStatus)[keyof typeof EndpointStatus];
274
+ export type EndpointStatus = (typeof EndpointStatus)[keyof typeof EndpointStatus];
285
275
  export declare const FlywheelStatus: {
286
276
  readonly ACTIVE: "ACTIVE";
287
277
  readonly CREATING: "CREATING";
@@ -289,8 +279,7 @@ export declare const FlywheelStatus: {
289
279
  readonly FAILED: "FAILED";
290
280
  readonly UPDATING: "UPDATING";
291
281
  };
292
- export type FlywheelStatus =
293
- (typeof FlywheelStatus)[keyof typeof FlywheelStatus];
282
+ export type FlywheelStatus = (typeof FlywheelStatus)[keyof typeof FlywheelStatus];
294
283
  export declare const FlywheelIterationStatus: {
295
284
  readonly COMPLETED: "COMPLETED";
296
285
  readonly EVALUATING: "EVALUATING";
@@ -322,5 +311,4 @@ export declare const ToxicContentType: {
322
311
  readonly SEXUAL: "SEXUAL";
323
312
  readonly VIOLENCE_OR_THREAT: "VIOLENCE_OR_THREAT";
324
313
  };
325
- export type ToxicContentType =
326
- (typeof ToxicContentType)[keyof typeof ToxicContentType];
314
+ export type ToxicContentType = (typeof ToxicContentType)[keyof typeof ToxicContentType];
@@ -6,20 +6,13 @@ export declare class BatchSizeLimitExceededException extends __BaseException {
6
6
  readonly name: "BatchSizeLimitExceededException";
7
7
  readonly $fault: "client";
8
8
  Message?: string | undefined;
9
- constructor(
10
- opts: __ExceptionOptionType<
11
- BatchSizeLimitExceededException,
12
- __BaseException
13
- >
14
- );
9
+ constructor(opts: __ExceptionOptionType<BatchSizeLimitExceededException, __BaseException>);
15
10
  }
16
11
  export declare class InternalServerException extends __BaseException {
17
12
  readonly name: "InternalServerException";
18
13
  readonly $fault: "server";
19
14
  Message?: string | undefined;
20
- constructor(
21
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
- );
15
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
23
16
  }
24
17
  export declare class InvalidRequestException extends __BaseException {
25
18
  readonly name: "InvalidRequestException";
@@ -27,114 +20,83 @@ export declare class InvalidRequestException extends __BaseException {
27
20
  Message?: string | undefined;
28
21
  Reason?: InvalidRequestReason | undefined;
29
22
  Detail?: InvalidRequestDetail | undefined;
30
- constructor(
31
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
32
- );
23
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
33
24
  }
34
25
  export declare class TextSizeLimitExceededException extends __BaseException {
35
26
  readonly name: "TextSizeLimitExceededException";
36
27
  readonly $fault: "client";
37
28
  Message?: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
40
- );
29
+ constructor(opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>);
41
30
  }
42
31
  export declare class UnsupportedLanguageException extends __BaseException {
43
32
  readonly name: "UnsupportedLanguageException";
44
33
  readonly $fault: "client";
45
34
  Message?: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>
48
- );
35
+ constructor(opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>);
49
36
  }
50
37
  export declare class ResourceUnavailableException extends __BaseException {
51
38
  readonly name: "ResourceUnavailableException";
52
39
  readonly $fault: "client";
53
40
  Message?: string | undefined;
54
- constructor(
55
- opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
56
- );
41
+ constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
57
42
  }
58
43
  export declare class ResourceInUseException extends __BaseException {
59
44
  readonly name: "ResourceInUseException";
60
45
  readonly $fault: "client";
61
46
  Message?: string | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
64
- );
47
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
65
48
  }
66
49
  export declare class ResourceLimitExceededException extends __BaseException {
67
50
  readonly name: "ResourceLimitExceededException";
68
51
  readonly $fault: "client";
69
52
  Message?: string | undefined;
70
- constructor(
71
- opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
72
- );
53
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
73
54
  }
74
55
  export declare class ResourceNotFoundException extends __BaseException {
75
56
  readonly name: "ResourceNotFoundException";
76
57
  readonly $fault: "client";
77
58
  Message?: string | undefined;
78
- constructor(
79
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
80
- );
59
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
81
60
  }
82
61
  export declare class TooManyRequestsException extends __BaseException {
83
62
  readonly name: "TooManyRequestsException";
84
63
  readonly $fault: "client";
85
64
  Message?: string | undefined;
86
- constructor(
87
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
88
- );
65
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
89
66
  }
90
67
  export declare class TooManyTagsException extends __BaseException {
91
68
  readonly name: "TooManyTagsException";
92
69
  readonly $fault: "client";
93
70
  Message?: string | undefined;
94
- constructor(
95
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
96
- );
71
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
97
72
  }
98
73
  export declare class KmsKeyValidationException extends __BaseException {
99
74
  readonly name: "KmsKeyValidationException";
100
75
  readonly $fault: "client";
101
76
  Message?: string | undefined;
102
- constructor(
103
- opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>
104
- );
77
+ constructor(opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>);
105
78
  }
106
79
  export declare class JobNotFoundException extends __BaseException {
107
80
  readonly name: "JobNotFoundException";
108
81
  readonly $fault: "client";
109
82
  Message?: string | undefined;
110
- constructor(
111
- opts: __ExceptionOptionType<JobNotFoundException, __BaseException>
112
- );
83
+ constructor(opts: __ExceptionOptionType<JobNotFoundException, __BaseException>);
113
84
  }
114
85
  export declare class InvalidFilterException extends __BaseException {
115
86
  readonly name: "InvalidFilterException";
116
87
  readonly $fault: "client";
117
88
  Message?: string | undefined;
118
- constructor(
119
- opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
120
- );
89
+ constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
121
90
  }
122
91
  export declare class ConcurrentModificationException extends __BaseException {
123
92
  readonly name: "ConcurrentModificationException";
124
93
  readonly $fault: "client";
125
94
  Message?: string | undefined;
126
- constructor(
127
- opts: __ExceptionOptionType<
128
- ConcurrentModificationException,
129
- __BaseException
130
- >
131
- );
95
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
132
96
  }
133
97
  export declare class TooManyTagKeysException extends __BaseException {
134
98
  readonly name: "TooManyTagKeysException";
135
99
  readonly $fault: "client";
136
100
  Message?: string | undefined;
137
- constructor(
138
- opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>
139
- );
101
+ constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
140
102
  }
@@ -319,12 +319,8 @@ export interface DatasetEntityRecognizerInputDataConfig {
319
319
  export interface DatasetInputDataConfig {
320
320
  AugmentedManifests?: DatasetAugmentedManifestsListItem[] | undefined;
321
321
  DataFormat?: DatasetDataFormat | undefined;
322
- DocumentClassifierInputDataConfig?:
323
- | DatasetDocumentClassifierInputDataConfig
324
- | undefined;
325
- EntityRecognizerInputDataConfig?:
326
- | DatasetEntityRecognizerInputDataConfig
327
- | undefined;
322
+ DocumentClassifierInputDataConfig?: DatasetDocumentClassifierInputDataConfig | undefined;
323
+ EntityRecognizerInputDataConfig?: DatasetEntityRecognizerInputDataConfig | undefined;
328
324
  }
329
325
  export interface Tag {
330
326
  Key: string | undefined;
@@ -536,9 +532,7 @@ export interface DocumentClassificationJobProperties {
536
532
  FlywheelArn?: string | undefined;
537
533
  }
538
534
  export interface DescribeDocumentClassificationJobResponse {
539
- DocumentClassificationJobProperties?:
540
- | DocumentClassificationJobProperties
541
- | undefined;
535
+ DocumentClassificationJobProperties?: DocumentClassificationJobProperties | undefined;
542
536
  }
543
537
  export interface DescribeDocumentClassifierRequest {
544
538
  DocumentClassifierArn: string | undefined;
@@ -585,9 +579,7 @@ export interface DominantLanguageDetectionJobProperties {
585
579
  VpcConfig?: VpcConfig | undefined;
586
580
  }
587
581
  export interface DescribeDominantLanguageDetectionJobResponse {
588
- DominantLanguageDetectionJobProperties?:
589
- | DominantLanguageDetectionJobProperties
590
- | undefined;
582
+ DominantLanguageDetectionJobProperties?: DominantLanguageDetectionJobProperties | undefined;
591
583
  }
592
584
  export interface DescribeEndpointRequest {
593
585
  EndpointArn: string | undefined;
@@ -767,9 +759,7 @@ export interface KeyPhrasesDetectionJobProperties {
767
759
  VpcConfig?: VpcConfig | undefined;
768
760
  }
769
761
  export interface DescribeKeyPhrasesDetectionJobResponse {
770
- KeyPhrasesDetectionJobProperties?:
771
- | KeyPhrasesDetectionJobProperties
772
- | undefined;
762
+ KeyPhrasesDetectionJobProperties?: KeyPhrasesDetectionJobProperties | undefined;
773
763
  }
774
764
  export interface DescribePiiEntitiesDetectionJobRequest {
775
765
  JobId: string | undefined;
@@ -799,9 +789,7 @@ export interface PiiEntitiesDetectionJobProperties {
799
789
  Mode?: PiiEntitiesDetectionMode | undefined;
800
790
  }
801
791
  export interface DescribePiiEntitiesDetectionJobResponse {
802
- PiiEntitiesDetectionJobProperties?:
803
- | PiiEntitiesDetectionJobProperties
804
- | undefined;
792
+ PiiEntitiesDetectionJobProperties?: PiiEntitiesDetectionJobProperties | undefined;
805
793
  }
806
794
  export interface DescribeResourcePolicyRequest {
807
795
  ResourceArn: string | undefined;
@@ -852,9 +840,7 @@ export interface TargetedSentimentDetectionJobProperties {
852
840
  VpcConfig?: VpcConfig | undefined;
853
841
  }
854
842
  export interface DescribeTargetedSentimentDetectionJobResponse {
855
- TargetedSentimentDetectionJobProperties?:
856
- | TargetedSentimentDetectionJobProperties
857
- | undefined;
843
+ TargetedSentimentDetectionJobProperties?: TargetedSentimentDetectionJobProperties | undefined;
858
844
  }
859
845
  export interface DescribeTopicsDetectionJobRequest {
860
846
  JobId: string | undefined;
@@ -996,9 +982,7 @@ export interface ListDocumentClassificationJobsRequest {
996
982
  MaxResults?: number | undefined;
997
983
  }
998
984
  export interface ListDocumentClassificationJobsResponse {
999
- DocumentClassificationJobPropertiesList?:
1000
- | DocumentClassificationJobProperties[]
1001
- | undefined;
985
+ DocumentClassificationJobPropertiesList?: DocumentClassificationJobProperties[] | undefined;
1002
986
  NextToken?: string | undefined;
1003
987
  }
1004
988
  export interface DocumentClassifierFilter {
@@ -1043,9 +1027,7 @@ export interface ListDominantLanguageDetectionJobsRequest {
1043
1027
  MaxResults?: number | undefined;
1044
1028
  }
1045
1029
  export interface ListDominantLanguageDetectionJobsResponse {
1046
- DominantLanguageDetectionJobPropertiesList?:
1047
- | DominantLanguageDetectionJobProperties[]
1048
- | undefined;
1030
+ DominantLanguageDetectionJobPropertiesList?: DominantLanguageDetectionJobProperties[] | undefined;
1049
1031
  NextToken?: string | undefined;
1050
1032
  }
1051
1033
  export interface EndpointFilter {
@@ -1075,9 +1057,7 @@ export interface ListEntitiesDetectionJobsRequest {
1075
1057
  MaxResults?: number | undefined;
1076
1058
  }
1077
1059
  export interface ListEntitiesDetectionJobsResponse {
1078
- EntitiesDetectionJobPropertiesList?:
1079
- | EntitiesDetectionJobProperties[]
1080
- | undefined;
1060
+ EntitiesDetectionJobPropertiesList?: EntitiesDetectionJobProperties[] | undefined;
1081
1061
  NextToken?: string | undefined;
1082
1062
  }
1083
1063
  export interface EntityRecognizerFilter {
@@ -1176,9 +1156,7 @@ export interface ListKeyPhrasesDetectionJobsRequest {
1176
1156
  MaxResults?: number | undefined;
1177
1157
  }
1178
1158
  export interface ListKeyPhrasesDetectionJobsResponse {
1179
- KeyPhrasesDetectionJobPropertiesList?:
1180
- | KeyPhrasesDetectionJobProperties[]
1181
- | undefined;
1159
+ KeyPhrasesDetectionJobPropertiesList?: KeyPhrasesDetectionJobProperties[] | undefined;
1182
1160
  NextToken?: string | undefined;
1183
1161
  }
1184
1162
  export interface PiiEntitiesDetectionJobFilter {
@@ -1193,9 +1171,7 @@ export interface ListPiiEntitiesDetectionJobsRequest {
1193
1171
  MaxResults?: number | undefined;
1194
1172
  }
1195
1173
  export interface ListPiiEntitiesDetectionJobsResponse {
1196
- PiiEntitiesDetectionJobPropertiesList?:
1197
- | PiiEntitiesDetectionJobProperties[]
1198
- | undefined;
1174
+ PiiEntitiesDetectionJobPropertiesList?: PiiEntitiesDetectionJobProperties[] | undefined;
1199
1175
  NextToken?: string | undefined;
1200
1176
  }
1201
1177
  export interface SentimentDetectionJobFilter {
@@ -1210,9 +1186,7 @@ export interface ListSentimentDetectionJobsRequest {
1210
1186
  MaxResults?: number | undefined;
1211
1187
  }
1212
1188
  export interface ListSentimentDetectionJobsResponse {
1213
- SentimentDetectionJobPropertiesList?:
1214
- | SentimentDetectionJobProperties[]
1215
- | undefined;
1189
+ SentimentDetectionJobPropertiesList?: SentimentDetectionJobProperties[] | undefined;
1216
1190
  NextToken?: string | undefined;
1217
1191
  }
1218
1192
  export interface ListTagsForResourceRequest {
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { ComprehendClient } from "../ComprehendClient";
3
- export interface ComprehendPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface ComprehendPaginationConfiguration extends PaginationConfiguration {
5
4
  client: ComprehendClient;
6
5
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComprehendHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var ComprehendServiceException$: StaticErrorSchema;
8
4
  export declare var BatchSizeLimitExceededException$: StaticErrorSchema;
9
5
  export declare var ConcurrentModificationException$: StaticErrorSchema;