@aws-sdk/client-transcribe 3.726.1 → 3.727.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.
package/dist-cjs/index.js CHANGED
@@ -1523,6 +1523,7 @@ var de_CallAnalyticsJob = /* @__PURE__ */ __name((output, context) => {
1523
1523
  MediaSampleRateHertz: import_smithy_client.expectInt32,
1524
1524
  Settings: import_smithy_client._json,
1525
1525
  StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1526
+ Tags: import_smithy_client._json,
1526
1527
  Transcript: import_smithy_client._json
1527
1528
  });
1528
1529
  }, "de_CallAnalyticsJob");
@@ -1550,7 +1551,8 @@ var de_CategoryProperties = /* @__PURE__ */ __name((output, context) => {
1550
1551
  CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1551
1552
  InputType: import_smithy_client.expectString,
1552
1553
  LastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1553
- Rules: import_smithy_client._json
1554
+ Rules: import_smithy_client._json,
1555
+ Tags: import_smithy_client._json
1554
1556
  });
1555
1557
  }, "de_CategoryProperties");
1556
1558
  var de_CategoryPropertiesList = /* @__PURE__ */ __name((output, context) => {
@@ -892,6 +892,7 @@ const de_CallAnalyticsJob = (output, context) => {
892
892
  MediaSampleRateHertz: __expectInt32,
893
893
  Settings: _json,
894
894
  StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
895
+ Tags: _json,
895
896
  Transcript: _json,
896
897
  });
897
898
  };
@@ -922,6 +923,7 @@ const de_CategoryProperties = (output, context) => {
922
923
  InputType: __expectString,
923
924
  LastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
924
925
  Rules: _json,
926
+ Tags: _json,
925
927
  });
926
928
  };
927
929
  const de_CategoryPropertiesList = (output, context) => {
@@ -127,6 +127,12 @@ declare const CreateCallAnalyticsCategoryCommand_base: {
127
127
  * },
128
128
  * },
129
129
  * ],
130
+ * Tags: [ // TagList
131
+ * { // Tag
132
+ * Key: "STRING_VALUE", // required
133
+ * Value: "STRING_VALUE", // required
134
+ * },
135
+ * ],
130
136
  * InputType: "REAL_TIME" || "POST_CALL",
131
137
  * };
132
138
  * const command = new CreateCallAnalyticsCategoryCommand(input);
@@ -212,6 +218,12 @@ declare const CreateCallAnalyticsCategoryCommand_base: {
212
218
  * // ],
213
219
  * // CreateTime: new Date("TIMESTAMP"),
214
220
  * // LastUpdateTime: new Date("TIMESTAMP"),
221
+ * // Tags: [ // TagList
222
+ * // { // Tag
223
+ * // Key: "STRING_VALUE", // required
224
+ * // Value: "STRING_VALUE", // required
225
+ * // },
226
+ * // ],
215
227
  * // InputType: "REAL_TIME" || "POST_CALL",
216
228
  * // },
217
229
  * // };
@@ -121,6 +121,12 @@ declare const GetCallAnalyticsCategoryCommand_base: {
121
121
  * // ],
122
122
  * // CreateTime: new Date("TIMESTAMP"),
123
123
  * // LastUpdateTime: new Date("TIMESTAMP"),
124
+ * // Tags: [ // TagList
125
+ * // { // Tag
126
+ * // Key: "STRING_VALUE", // required
127
+ * // Value: "STRING_VALUE", // required
128
+ * // },
129
+ * // ],
124
130
  * // InputType: "REAL_TIME" || "POST_CALL",
125
131
  * // },
126
132
  * // };
@@ -112,6 +112,12 @@ declare const GetCallAnalyticsJobCommand_base: {
112
112
  * // ParticipantRole: "AGENT" || "CUSTOMER",
113
113
  * // },
114
114
  * // ],
115
+ * // Tags: [ // TagList
116
+ * // { // Tag
117
+ * // Key: "STRING_VALUE", // required
118
+ * // Value: "STRING_VALUE", // required
119
+ * // },
120
+ * // ],
115
121
  * // },
116
122
  * // };
117
123
  *
@@ -125,6 +125,12 @@ declare const ListCallAnalyticsCategoriesCommand_base: {
125
125
  * // ],
126
126
  * // CreateTime: new Date("TIMESTAMP"),
127
127
  * // LastUpdateTime: new Date("TIMESTAMP"),
128
+ * // Tags: [ // TagList
129
+ * // { // Tag
130
+ * // Key: "STRING_VALUE", // required
131
+ * // Value: "STRING_VALUE", // required
132
+ * // },
133
+ * // ],
128
134
  * // InputType: "REAL_TIME" || "POST_CALL",
129
135
  * // },
130
136
  * // ],
@@ -119,6 +119,12 @@ declare const StartCallAnalyticsJobCommand_base: {
119
119
  * GenerateAbstractiveSummary: true || false, // required
120
120
  * },
121
121
  * },
122
+ * Tags: [ // TagList
123
+ * { // Tag
124
+ * Key: "STRING_VALUE", // required
125
+ * Value: "STRING_VALUE", // required
126
+ * },
127
+ * ],
122
128
  * ChannelDefinitions: [ // ChannelDefinitions
123
129
  * { // ChannelDefinition
124
130
  * ChannelId: Number("int"),
@@ -190,6 +196,12 @@ declare const StartCallAnalyticsJobCommand_base: {
190
196
  * // ParticipantRole: "AGENT" || "CUSTOMER",
191
197
  * // },
192
198
  * // ],
199
+ * // Tags: [ // TagList
200
+ * // { // Tag
201
+ * // Key: "STRING_VALUE", // required
202
+ * // Value: "STRING_VALUE", // required
203
+ * // },
204
+ * // ],
193
205
  * // },
194
206
  * // };
195
207
  *
@@ -201,6 +201,12 @@ declare const UpdateCallAnalyticsCategoryCommand_base: {
201
201
  * // ],
202
202
  * // CreateTime: new Date("TIMESTAMP"),
203
203
  * // LastUpdateTime: new Date("TIMESTAMP"),
204
+ * // Tags: [ // TagList
205
+ * // { // Tag
206
+ * // Key: "STRING_VALUE", // required
207
+ * // Value: "STRING_VALUE", // required
208
+ * // },
209
+ * // ],
204
210
  * // InputType: "REAL_TIME" || "POST_CALL",
205
211
  * // },
206
212
  * // };
@@ -640,6 +640,31 @@ export interface CallAnalyticsJobSettings {
640
640
  */
641
641
  Summarization?: Summarization | undefined;
642
642
  }
643
+ /**
644
+ * <p>Adds metadata, in the form of a key:value pair, to the specified resource.</p>
645
+ * <p>For example, you could add the tag <code>Department:Sales</code> to a resource to
646
+ * indicate that it pertains to your organization's sales department. You can also use tags
647
+ * for tag-based access control.</p>
648
+ * <p>To learn more about tagging, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html">Tagging resources</a>.</p>
649
+ * @public
650
+ */
651
+ export interface Tag {
652
+ /**
653
+ * <p>The first part of a key:value pair that forms a tag associated with a given resource.
654
+ * For example, in the tag <code>Department:Sales</code>, the key is 'Department'.</p>
655
+ * @public
656
+ */
657
+ Key: string | undefined;
658
+ /**
659
+ * <p>The second part of a key:value pair that forms a tag associated with a given resource.
660
+ * For example, in the tag <code>Department:Sales</code>, the value is 'Sales'.</p>
661
+ * <p>Note that you can set the value of a tag to an empty string, but you can't set the
662
+ * value of a tag to null. Omitting the tag value is the same as using an empty
663
+ * string.</p>
664
+ * @public
665
+ */
666
+ Value: string | undefined;
667
+ }
643
668
  /**
644
669
  * <p>Provides you with the Amazon S3 URI you can use to access your
645
670
  * transcript.</p>
@@ -857,6 +882,12 @@ export interface CallAnalyticsJob {
857
882
  * @public
858
883
  */
859
884
  ChannelDefinitions?: ChannelDefinition[] | undefined;
885
+ /**
886
+ * <p>The tags, each in the form of a key:value pair, assigned to the specified
887
+ * call analytics job.</p>
888
+ * @public
889
+ */
890
+ Tags?: Tag[] | undefined;
860
891
  }
861
892
  /**
862
893
  * <p>Provides detailed information about a specific Call Analytics job.</p>
@@ -1338,6 +1369,12 @@ export interface CategoryProperties {
1338
1369
  * @public
1339
1370
  */
1340
1371
  LastUpdateTime?: Date | undefined;
1372
+ /**
1373
+ * <p>The tags, each in the form of a key:value pair, assigned to the specified
1374
+ * call analytics category.</p>
1375
+ * @public
1376
+ */
1377
+ Tags?: Tag[] | undefined;
1341
1378
  /**
1342
1379
  * <p>The input type associated with the specified category. <code>POST_CALL</code>
1343
1380
  * refers to a category that is applied to batch transcriptions; <code>REAL_TIME</code>
@@ -1398,6 +1435,14 @@ export interface CreateCallAnalyticsCategoryRequest {
1398
1435
  * @public
1399
1436
  */
1400
1437
  Rules: Rule[] | undefined;
1438
+ /**
1439
+ * <p>Adds one or more custom tags, each in the form of a key:value pair, to a new
1440
+ * call analytics category at the time you start this new job.</p>
1441
+ * <p>To learn more about using tags with Amazon Transcribe, refer to <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html">Tagging
1442
+ * resources</a>.</p>
1443
+ * @public
1444
+ */
1445
+ Tags?: Tag[] | undefined;
1401
1446
  /**
1402
1447
  * <p>Choose whether you want to create a real-time or a post-call category for your Call
1403
1448
  * Analytics transcription.</p>
@@ -1492,31 +1537,6 @@ export interface InputDataConfig {
1492
1537
  */
1493
1538
  DataAccessRoleArn: string | undefined;
1494
1539
  }
1495
- /**
1496
- * <p>Adds metadata, in the form of a key:value pair, to the specified resource.</p>
1497
- * <p>For example, you could add the tag <code>Department:Sales</code> to a resource to
1498
- * indicate that it pertains to your organization's sales department. You can also use tags
1499
- * for tag-based access control.</p>
1500
- * <p>To learn more about tagging, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html">Tagging resources</a>.</p>
1501
- * @public
1502
- */
1503
- export interface Tag {
1504
- /**
1505
- * <p>The first part of a key:value pair that forms a tag associated with a given resource.
1506
- * For example, in the tag <code>Department:Sales</code>, the key is 'Department'.</p>
1507
- * @public
1508
- */
1509
- Key: string | undefined;
1510
- /**
1511
- * <p>The second part of a key:value pair that forms a tag associated with a given resource.
1512
- * For example, in the tag <code>Department:Sales</code>, the value is 'Sales'.</p>
1513
- * <p>Note that you can set the value of a tag to an empty string, but you can't set the
1514
- * value of a tag to null. Omitting the tag value is the same as using an empty
1515
- * string.</p>
1516
- * @public
1517
- */
1518
- Value: string | undefined;
1519
- }
1520
1540
  /**
1521
1541
  * @public
1522
1542
  */
@@ -4448,6 +4468,14 @@ export interface StartCallAnalyticsJobRequest {
4448
4468
  * @public
4449
4469
  */
4450
4470
  Settings?: CallAnalyticsJobSettings | undefined;
4471
+ /**
4472
+ * <p>Adds one or more custom tags, each in the form of a key:value pair, to a new
4473
+ * call analytics job at the time you start this new job.</p>
4474
+ * <p>To learn more about using tags with Amazon Transcribe, refer to <a href="https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html">Tagging
4475
+ * resources</a>.</p>
4476
+ * @public
4477
+ */
4478
+ Tags?: Tag[] | undefined;
4451
4479
  /**
4452
4480
  * <p>Makes it possible to specify which speaker is on which channel. For example, if your
4453
4481
  * agent is the first participant to speak, you would set <code>ChannelId</code> to
@@ -234,6 +234,10 @@ export interface CallAnalyticsJobSettings {
234
234
  | undefined;
235
235
  Summarization?: Summarization | undefined;
236
236
  }
237
+ export interface Tag {
238
+ Key: string | undefined;
239
+ Value: string | undefined;
240
+ }
237
241
  export interface Transcript {
238
242
  TranscriptFileUri?: string | undefined;
239
243
  RedactedTranscriptFileUri?: string | undefined;
@@ -255,6 +259,7 @@ export interface CallAnalyticsJob {
255
259
  IdentifiedLanguageScore?: number | undefined;
256
260
  Settings?: CallAnalyticsJobSettings | undefined;
257
261
  ChannelDefinitions?: ChannelDefinition[] | undefined;
262
+ Tags?: Tag[] | undefined;
258
263
  }
259
264
  export interface CallAnalyticsJobSummary {
260
265
  CallAnalyticsJobName?: string | undefined;
@@ -374,6 +379,7 @@ export interface CategoryProperties {
374
379
  Rules?: Rule[] | undefined;
375
380
  CreateTime?: Date | undefined;
376
381
  LastUpdateTime?: Date | undefined;
382
+ Tags?: Tag[] | undefined;
377
383
  InputType?: InputType | undefined;
378
384
  }
379
385
  export declare const CLMLanguageCode: {
@@ -396,6 +402,7 @@ export declare class ConflictException extends __BaseException {
396
402
  export interface CreateCallAnalyticsCategoryRequest {
397
403
  CategoryName: string | undefined;
398
404
  Rules: Rule[] | undefined;
405
+ Tags?: Tag[] | undefined;
399
406
  InputType?: InputType | undefined;
400
407
  }
401
408
  export interface CreateCallAnalyticsCategoryResponse {
@@ -422,10 +429,6 @@ export interface InputDataConfig {
422
429
  TuningDataS3Uri?: string | undefined;
423
430
  DataAccessRoleArn: string | undefined;
424
431
  }
425
- export interface Tag {
426
- Key: string | undefined;
427
- Value: string | undefined;
428
- }
429
432
  export interface CreateLanguageModelRequest {
430
433
  LanguageCode: CLMLanguageCode | undefined;
431
434
  BaseModelName: BaseModelName | undefined;
@@ -941,6 +944,7 @@ export interface StartCallAnalyticsJobRequest {
941
944
  OutputEncryptionKMSKeyId?: string | undefined;
942
945
  DataAccessRoleArn?: string | undefined;
943
946
  Settings?: CallAnalyticsJobSettings | undefined;
947
+ Tags?: Tag[] | undefined;
944
948
  ChannelDefinitions?: ChannelDefinition[] | undefined;
945
949
  }
946
950
  export interface StartCallAnalyticsJobResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe",
3
3
  "description": "AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native",
4
- "version": "3.726.1",
4
+ "version": "3.727.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-transcribe",