@aws-sdk/client-transcribe 3.864.0 → 3.872.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
@@ -67,15 +67,18 @@ __export(index_exports, {
67
67
  ListVocabularyFiltersCommand: () => ListVocabularyFiltersCommand,
68
68
  MediaFormat: () => MediaFormat,
69
69
  MedicalContentIdentificationType: () => MedicalContentIdentificationType,
70
+ MedicalScribeContextFilterSensitiveLog: () => MedicalScribeContextFilterSensitiveLog,
70
71
  MedicalScribeJobStatus: () => MedicalScribeJobStatus,
71
72
  MedicalScribeLanguageCode: () => MedicalScribeLanguageCode,
72
73
  MedicalScribeNoteTemplate: () => MedicalScribeNoteTemplate,
73
74
  MedicalScribeParticipantRole: () => MedicalScribeParticipantRole,
75
+ MedicalScribePatientContextFilterSensitiveLog: () => MedicalScribePatientContextFilterSensitiveLog,
74
76
  ModelStatus: () => ModelStatus,
75
77
  NotFoundException: () => NotFoundException,
76
78
  OutputLocationType: () => OutputLocationType,
77
79
  ParticipantRole: () => ParticipantRole,
78
80
  PiiEntityType: () => PiiEntityType,
81
+ Pronouns: () => Pronouns,
79
82
  RedactionOutput: () => RedactionOutput,
80
83
  RedactionType: () => RedactionType,
81
84
  Rule: () => Rule,
@@ -83,6 +86,7 @@ __export(index_exports, {
83
86
  Specialty: () => Specialty,
84
87
  StartCallAnalyticsJobCommand: () => StartCallAnalyticsJobCommand,
85
88
  StartMedicalScribeJobCommand: () => StartMedicalScribeJobCommand,
89
+ StartMedicalScribeJobRequestFilterSensitiveLog: () => StartMedicalScribeJobRequestFilterSensitiveLog,
86
90
  StartMedicalTranscriptionJobCommand: () => StartMedicalTranscriptionJobCommand,
87
91
  StartTranscriptionJobCommand: () => StartTranscriptionJobCommand,
88
92
  SubtitleFormat: () => SubtitleFormat,
@@ -268,6 +272,9 @@ var import_core2 = require("@aws-sdk/core");
268
272
 
269
273
 
270
274
 
275
+ // src/models/models_0.ts
276
+
277
+
271
278
  // src/models/TranscribeServiceException.ts
272
279
 
273
280
  var TranscribeServiceException = class _TranscribeServiceException extends import_smithy_client.ServiceException {
@@ -639,6 +646,25 @@ var OutputLocationType = {
639
646
  CUSTOMER_BUCKET: "CUSTOMER_BUCKET",
640
647
  SERVICE_BUCKET: "SERVICE_BUCKET"
641
648
  };
649
+ var Pronouns = {
650
+ HE_HIM: "HE_HIM",
651
+ SHE_HER: "SHE_HER",
652
+ THEY_THEM: "THEY_THEM"
653
+ };
654
+ var MedicalScribePatientContextFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
655
+ ...obj,
656
+ ...obj.Pronouns && { Pronouns: import_smithy_client.SENSITIVE_STRING }
657
+ }), "MedicalScribePatientContextFilterSensitiveLog");
658
+ var MedicalScribeContextFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
659
+ ...obj,
660
+ ...obj.PatientContext && { PatientContext: MedicalScribePatientContextFilterSensitiveLog(obj.PatientContext) }
661
+ }), "MedicalScribeContextFilterSensitiveLog");
662
+ var StartMedicalScribeJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
663
+ ...obj,
664
+ ...obj.MedicalScribeContext && {
665
+ MedicalScribeContext: MedicalScribeContextFilterSensitiveLog(obj.MedicalScribeContext)
666
+ }
667
+ }), "StartMedicalScribeJobRequestFilterSensitiveLog");
642
668
 
643
669
  // src/protocols/Aws_json1_1.ts
644
670
  var se_CreateCallAnalyticsCategoryCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1750,6 +1776,7 @@ var de_MedicalScribeJob = /* @__PURE__ */ __name((output, context) => {
1750
1776
  FailureReason: import_smithy_client.expectString,
1751
1777
  LanguageCode: import_smithy_client.expectString,
1752
1778
  Media: import_smithy_client._json,
1779
+ MedicalScribeContextProvided: import_smithy_client.expectBoolean,
1753
1780
  MedicalScribeJobName: import_smithy_client.expectString,
1754
1781
  MedicalScribeJobStatus: import_smithy_client.expectString,
1755
1782
  MedicalScribeOutput: import_smithy_client._json,
@@ -2499,7 +2526,7 @@ var StartMedicalScribeJobCommand = class extends import_smithy_client.Command.cl
2499
2526
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2500
2527
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2501
2528
  ];
2502
- }).s("Transcribe", "StartMedicalScribeJob", {}).n("TranscribeClient", "StartMedicalScribeJobCommand").f(void 0, void 0).ser(se_StartMedicalScribeJobCommand).de(de_StartMedicalScribeJobCommand).build() {
2529
+ }).s("Transcribe", "StartMedicalScribeJob", {}).n("TranscribeClient", "StartMedicalScribeJobCommand").f(StartMedicalScribeJobRequestFilterSensitiveLog, void 0).ser(se_StartMedicalScribeJobCommand).de(de_StartMedicalScribeJobCommand).build() {
2503
2530
  static {
2504
2531
  __name(this, "StartMedicalScribeJobCommand");
2505
2532
  }
@@ -2806,6 +2833,10 @@ var paginateListVocabularyFilters = (0, import_core.createPaginator)(TranscribeC
2806
2833
  Type,
2807
2834
  SubtitleFormat,
2808
2835
  ToxicityCategory,
2809
- OutputLocationType
2836
+ OutputLocationType,
2837
+ Pronouns,
2838
+ MedicalScribePatientContextFilterSensitiveLog,
2839
+ MedicalScribeContextFilterSensitiveLog,
2840
+ StartMedicalScribeJobRequestFilterSensitiveLog
2810
2841
  });
2811
2842
 
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { StartMedicalScribeJobRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_StartMedicalScribeJobCommand, se_StartMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class StartMedicalScribeJobCommand extends $Command
@@ -15,7 +16,7 @@ export class StartMedicalScribeJobCommand extends $Command
15
16
  })
16
17
  .s("Transcribe", "StartMedicalScribeJob", {})
17
18
  .n("TranscribeClient", "StartMedicalScribeJobCommand")
18
- .f(void 0, void 0)
19
+ .f(StartMedicalScribeJobRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_StartMedicalScribeJobCommand)
20
21
  .de(de_StartMedicalScribeJobCommand)
21
22
  .build() {
@@ -1,3 +1,4 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
1
2
  import { TranscribeServiceException as __BaseException } from "./TranscribeServiceException";
2
3
  export class BadRequestException extends __BaseException {
3
4
  name = "BadRequestException";
@@ -328,3 +329,22 @@ export const OutputLocationType = {
328
329
  CUSTOMER_BUCKET: "CUSTOMER_BUCKET",
329
330
  SERVICE_BUCKET: "SERVICE_BUCKET",
330
331
  };
332
+ export const Pronouns = {
333
+ HE_HIM: "HE_HIM",
334
+ SHE_HER: "SHE_HER",
335
+ THEY_THEM: "THEY_THEM",
336
+ };
337
+ export const MedicalScribePatientContextFilterSensitiveLog = (obj) => ({
338
+ ...obj,
339
+ ...(obj.Pronouns && { Pronouns: SENSITIVE_STRING }),
340
+ });
341
+ export const MedicalScribeContextFilterSensitiveLog = (obj) => ({
342
+ ...obj,
343
+ ...(obj.PatientContext && { PatientContext: MedicalScribePatientContextFilterSensitiveLog(obj.PatientContext) }),
344
+ });
345
+ export const StartMedicalScribeJobRequestFilterSensitiveLog = (obj) => ({
346
+ ...obj,
347
+ ...(obj.MedicalScribeContext && {
348
+ MedicalScribeContext: MedicalScribeContextFilterSensitiveLog(obj.MedicalScribeContext),
349
+ }),
350
+ });
@@ -1118,6 +1118,7 @@ const de_MedicalScribeJob = (output, context) => {
1118
1118
  FailureReason: __expectString,
1119
1119
  LanguageCode: __expectString,
1120
1120
  Media: _json,
1121
+ MedicalScribeContextProvided: __expectBoolean,
1121
1122
  MedicalScribeJobName: __expectString,
1122
1123
  MedicalScribeJobStatus: __expectString,
1123
1124
  MedicalScribeOutput: _json,
@@ -81,6 +81,7 @@ declare const GetMedicalScribeJobCommand_base: {
81
81
  * // ParticipantRole: "PATIENT" || "CLINICIAN", // required
82
82
  * // },
83
83
  * // ],
84
+ * // MedicalScribeContextProvided: true || false,
84
85
  * // Tags: [ // TagList
85
86
  * // { // Tag
86
87
  * // Key: "STRING_VALUE", // required
@@ -61,7 +61,7 @@ declare const StartMedicalScribeJobCommand_base: {
61
61
  * </li>
62
62
  * <li>
63
63
  * <p>
64
- * <code>Settings</code>: A <code>MedicalScribeSettings</code> obect
64
+ * <code>Settings</code>: A <code>MedicalScribeSettings</code> object
65
65
  * that must set exactly one of <code>ShowSpeakerLabels</code> or <code>ChannelIdentification</code> to true.
66
66
  * If <code>ShowSpeakerLabels</code> is true, <code>MaxSpeakerLabels</code> must also be set.
67
67
  * </p>
@@ -114,6 +114,11 @@ declare const StartMedicalScribeJobCommand_base: {
114
114
  * Value: "STRING_VALUE", // required
115
115
  * },
116
116
  * ],
117
+ * MedicalScribeContext: { // MedicalScribeContext
118
+ * PatientContext: { // MedicalScribePatientContext
119
+ * Pronouns: "HE_HIM" || "SHE_HER" || "THEY_THEM",
120
+ * },
121
+ * },
117
122
  * };
118
123
  * const command = new StartMedicalScribeJobCommand(input);
119
124
  * const response = await client.send(command);
@@ -152,6 +157,7 @@ declare const StartMedicalScribeJobCommand_base: {
152
157
  * // ParticipantRole: "PATIENT" || "CLINICIAN", // required
153
158
  * // },
154
159
  * // ],
160
+ * // MedicalScribeContextProvided: true || false,
155
161
  * // Tags: [ // TagList
156
162
  * // { // Tag
157
163
  * // Key: "STRING_VALUE", // required
@@ -2565,7 +2565,12 @@ export interface MedicalScribeJob {
2565
2565
  */
2566
2566
  ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
2567
2567
  /**
2568
- * <p>Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.</p>
2568
+ * <p>Indicates whether the <code>MedicalScribeContext</code> object was provided when the Medical Scribe job was started.</p>
2569
+ * @public
2570
+ */
2571
+ MedicalScribeContextProvided?: boolean | undefined;
2572
+ /**
2573
+ * <p>Adds one or more custom tags, each in the form of a key:value pair, to the Medical Scribe job.</p>
2569
2574
  * <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
2570
2575
  * resources</a>.</p>
2571
2576
  * @public
@@ -4419,6 +4424,42 @@ export interface ListVocabularyFiltersResponse {
4419
4424
  */
4420
4425
  VocabularyFilters?: VocabularyFilterInfo[] | undefined;
4421
4426
  }
4427
+ /**
4428
+ * @public
4429
+ * @enum
4430
+ */
4431
+ export declare const Pronouns: {
4432
+ readonly HE_HIM: "HE_HIM";
4433
+ readonly SHE_HER: "SHE_HER";
4434
+ readonly THEY_THEM: "THEY_THEM";
4435
+ };
4436
+ /**
4437
+ * @public
4438
+ */
4439
+ export type Pronouns = (typeof Pronouns)[keyof typeof Pronouns];
4440
+ /**
4441
+ * <p>Contains patient-specific information used to customize the clinical note generation.</p>
4442
+ * @public
4443
+ */
4444
+ export interface MedicalScribePatientContext {
4445
+ /**
4446
+ * <p>The patient's preferred pronouns that the user wants to provide as a context for clinical note generation.</p>
4447
+ * @public
4448
+ */
4449
+ Pronouns?: Pronouns | undefined;
4450
+ }
4451
+ /**
4452
+ * <p>The <code>MedicalScribeContext</code> object that contains contextual information used to generate
4453
+ * customized clinical notes.</p>
4454
+ * @public
4455
+ */
4456
+ export interface MedicalScribeContext {
4457
+ /**
4458
+ * <p>Contains patient-specific information.</p>
4459
+ * @public
4460
+ */
4461
+ PatientContext?: MedicalScribePatientContext | undefined;
4462
+ }
4422
4463
  /**
4423
4464
  * @public
4424
4465
  */
@@ -4464,17 +4505,49 @@ export interface StartCallAnalyticsJobRequest {
4464
4505
  */
4465
4506
  OutputLocation?: string | undefined;
4466
4507
  /**
4467
- * <p>The Amazon Resource Name (ARN) of a KMS key that you want to use to
4468
- * encrypt your Call Analytics output.</p>
4469
- * <p>KMS key ARNs have the format <code>arn:partition:kms:region:account:key/key-id</code>. For example:
4470
- * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.
4471
- * For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">
4472
- * KMS key ARNs</a>.</p>
4508
+ * <p>The KMS key you want to use to encrypt your Call Analytics
4509
+ * output.</p>
4510
+ * <p>If using a key located in the <b>current</b>
4511
+ * Amazon Web Services account, you can specify your KMS key in one of four
4512
+ * ways:</p>
4513
+ * <ol>
4514
+ * <li>
4515
+ * <p>Use the KMS key ID itself. For example,
4516
+ * <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4517
+ * </li>
4518
+ * <li>
4519
+ * <p>Use an alias for the KMS key ID. For example,
4520
+ * <code>alias/ExampleAlias</code>.</p>
4521
+ * </li>
4522
+ * <li>
4523
+ * <p>Use the Amazon Resource Name (ARN) for the KMS key ID. For
4524
+ * example,
4525
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4526
+ * </li>
4527
+ * <li>
4528
+ * <p>Use the ARN for the KMS key alias. For example,
4529
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
4530
+ * </li>
4531
+ * </ol>
4532
+ * <p>If using a key located in a <b>different</b>
4533
+ * Amazon Web Services account than the current Amazon Web Services account, you can specify
4534
+ * your KMS key in one of two ways:</p>
4535
+ * <ol>
4536
+ * <li>
4537
+ * <p>Use the ARN for the KMS key ID. For example,
4538
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4539
+ * </li>
4540
+ * <li>
4541
+ * <p>Use the ARN for the KMS key alias. For example,
4542
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
4543
+ * </li>
4544
+ * </ol>
4473
4545
  * <p>If you do not specify an encryption key, your output is encrypted with the default
4474
- * Amazon S3 key (SSE-S3).</p>
4475
- * <p>Note that the role making the request and the role specified in
4476
- * the <code>DataAccessRoleArn</code> request parameter (if present) must have permission to use the
4477
- * specified KMS key.</p>
4546
+ * Amazon S3 key (SSE-S3).</p>
4547
+ * <p>If you specify a KMS key to encrypt your output, you must also specify
4548
+ * an output location using the <code>OutputLocation</code> parameter.</p>
4549
+ * <p>Note that the role making the request must
4550
+ * have permission to use the specified KMS key.</p>
4478
4551
  * @public
4479
4552
  */
4480
4553
  OutputEncryptionKMSKeyId?: string | undefined;
@@ -4556,17 +4629,47 @@ export interface StartMedicalScribeJobRequest {
4556
4629
  */
4557
4630
  OutputBucketName: string | undefined;
4558
4631
  /**
4559
- * <p>The Amazon Resource Name (ARN) of a KMS key that you want to use to
4560
- * encrypt your Medical Scribe output.</p>
4561
- * <p>KMS key ARNs have the format <code>arn:partition:kms:region:account:key/key-id</code>. For example:
4562
- * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.
4563
- * For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">
4564
- * KMS key ARNs</a>.</p>
4632
+ * <p>The KMS key you want to use to encrypt your Medical Scribe
4633
+ * output.</p>
4634
+ * <p>If using a key located in the <b>current</b>
4635
+ * Amazon Web Services account, you can specify your KMS key in one of four
4636
+ * ways:</p>
4637
+ * <ol>
4638
+ * <li>
4639
+ * <p>Use the KMS key ID itself. For example,
4640
+ * <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4641
+ * </li>
4642
+ * <li>
4643
+ * <p>Use an alias for the KMS key ID. For example,
4644
+ * <code>alias/ExampleAlias</code>.</p>
4645
+ * </li>
4646
+ * <li>
4647
+ * <p>Use the Amazon Resource Name (ARN) for the KMS key ID. For
4648
+ * example,
4649
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4650
+ * </li>
4651
+ * <li>
4652
+ * <p>Use the ARN for the KMS key alias. For example,
4653
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
4654
+ * </li>
4655
+ * </ol>
4656
+ * <p>If using a key located in a <b>different</b>
4657
+ * Amazon Web Services account than the current Amazon Web Services account, you can specify
4658
+ * your KMS key in one of two ways:</p>
4659
+ * <ol>
4660
+ * <li>
4661
+ * <p>Use the ARN for the KMS key ID. For example,
4662
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4663
+ * </li>
4664
+ * <li>
4665
+ * <p>Use the ARN for the KMS key alias. For example,
4666
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
4667
+ * </li>
4668
+ * </ol>
4565
4669
  * <p>If you do not specify an encryption key, your output is encrypted with the default
4566
4670
  * Amazon S3 key (SSE-S3).</p>
4567
- * <p>Note that the role making the request and the role specified in
4568
- * the <code>DataAccessRoleArn</code> request parameter (if present)
4569
- * must have permission to use the specified KMS key.</p>
4671
+ * <p>Note that the role specified in the <code>DataAccessRoleArn</code> request parameter
4672
+ * must have permission to use the specified KMS key.</p>
4570
4673
  * @public
4571
4674
  */
4572
4675
  OutputEncryptionKMSKeyId?: string | undefined;
@@ -4614,12 +4717,18 @@ export interface StartMedicalScribeJobRequest {
4614
4717
  */
4615
4718
  ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
4616
4719
  /**
4617
- * <p>Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.</p>
4720
+ * <p>Adds one or more custom tags, each in the form of a key:value pair, to the Medical Scribe job.</p>
4618
4721
  * <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
4619
4722
  * resources</a>.</p>
4620
4723
  * @public
4621
4724
  */
4622
4725
  Tags?: Tag[] | undefined;
4726
+ /**
4727
+ * <p>The <code>MedicalScribeContext</code> object that contains contextual information which is used during
4728
+ * clinical note generation to add relevant context to the note.</p>
4729
+ * @public
4730
+ */
4731
+ MedicalScribeContext?: MedicalScribeContext | undefined;
4623
4732
  }
4624
4733
  /**
4625
4734
  * @public
@@ -4735,17 +4844,49 @@ export interface StartMedicalTranscriptionJobRequest {
4735
4844
  */
4736
4845
  OutputKey?: string | undefined;
4737
4846
  /**
4738
- * <p>The Amazon Resource Name (ARN) of a KMS key that you want to use to
4739
- * encrypt your medical transcription output.</p>
4740
- * <p>KMS key ARNs have the format <code>arn:partition:kms:region:account:key/key-id</code>. For example:
4741
- * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.
4742
- * For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">
4743
- * KMS key ARNs</a>.</p>
4847
+ * <p>The KMS key you want to use to encrypt your medical transcription
4848
+ * output.</p>
4849
+ * <p>If using a key located in the <b>current</b>
4850
+ * Amazon Web Services account, you can specify your KMS key in one of four
4851
+ * ways:</p>
4852
+ * <ol>
4853
+ * <li>
4854
+ * <p>Use the KMS key ID itself. For example,
4855
+ * <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4856
+ * </li>
4857
+ * <li>
4858
+ * <p>Use an alias for the KMS key ID. For example,
4859
+ * <code>alias/ExampleAlias</code>.</p>
4860
+ * </li>
4861
+ * <li>
4862
+ * <p>Use the Amazon Resource Name (ARN) for the KMS key ID. For
4863
+ * example,
4864
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4865
+ * </li>
4866
+ * <li>
4867
+ * <p>Use the ARN for the KMS key alias. For example,
4868
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
4869
+ * </li>
4870
+ * </ol>
4871
+ * <p>If using a key located in a <b>different</b>
4872
+ * Amazon Web Services account than the current Amazon Web Services account, you can specify
4873
+ * your KMS key in one of two ways:</p>
4874
+ * <ol>
4875
+ * <li>
4876
+ * <p>Use the ARN for the KMS key ID. For example,
4877
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
4878
+ * </li>
4879
+ * <li>
4880
+ * <p>Use the ARN for the KMS key alias. For example,
4881
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
4882
+ * </li>
4883
+ * </ol>
4744
4884
  * <p>If you do not specify an encryption key, your output is encrypted with the default
4745
- * Amazon S3 key (SSE-S3).</p>
4746
- * <p>Note that the role making the request and the role specified
4747
- * in the <code>DataAccessRoleArn</code> request parameter (if present) must have permission to use the
4748
- * specified KMS key.</p>
4885
+ * Amazon S3 key (SSE-S3).</p>
4886
+ * <p>If you specify a KMS key to encrypt your output, you must also specify
4887
+ * an output location using the <code>OutputLocation</code> parameter.</p>
4888
+ * <p>Note that the role making the request must
4889
+ * have permission to use the specified KMS key.</p>
4749
4890
  * @public
4750
4891
  */
4751
4892
  OutputEncryptionKMSKeyId?: string | undefined;
@@ -4941,17 +5082,49 @@ export interface StartTranscriptionJobRequest {
4941
5082
  */
4942
5083
  OutputKey?: string | undefined;
4943
5084
  /**
4944
- * <p>The Amazon Resource Name (ARN) of a KMS key that you want to use to
4945
- * encrypt your transcription output.</p>
4946
- * <p>KMS key ARNs have the format <code>arn:partition:kms:region:account:key/key-id</code>. For example:
4947
- * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.
4948
- * For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">
4949
- * KMS key ARNs</a>.</p>
5085
+ * <p>The KMS key you want to use to encrypt your transcription
5086
+ * output.</p>
5087
+ * <p>If using a key located in the <b>current</b>
5088
+ * Amazon Web Services account, you can specify your KMS key in one of four
5089
+ * ways:</p>
5090
+ * <ol>
5091
+ * <li>
5092
+ * <p>Use the KMS key ID itself. For example,
5093
+ * <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
5094
+ * </li>
5095
+ * <li>
5096
+ * <p>Use an alias for the KMS key ID. For example,
5097
+ * <code>alias/ExampleAlias</code>.</p>
5098
+ * </li>
5099
+ * <li>
5100
+ * <p>Use the Amazon Resource Name (ARN) for the KMS key ID. For
5101
+ * example,
5102
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
5103
+ * </li>
5104
+ * <li>
5105
+ * <p>Use the ARN for the KMS key alias. For example,
5106
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
5107
+ * </li>
5108
+ * </ol>
5109
+ * <p>If using a key located in a <b>different</b>
5110
+ * Amazon Web Services account than the current Amazon Web Services account, you can specify
5111
+ * your KMS key in one of two ways:</p>
5112
+ * <ol>
5113
+ * <li>
5114
+ * <p>Use the ARN for the KMS key ID. For example,
5115
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
5116
+ * </li>
5117
+ * <li>
5118
+ * <p>Use the ARN for the KMS key alias. For example,
5119
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
5120
+ * </li>
5121
+ * </ol>
4950
5122
  * <p>If you do not specify an encryption key, your output is encrypted with the default
4951
- * Amazon S3 key (SSE-S3).</p>
4952
- * <p>Note that the role making the request and the role specified in the
4953
- * <code>DataAccessRoleArn</code> request parameter (if present) must have permission to use the specified
4954
- * KMS key.</p>
5123
+ * Amazon S3 key (SSE-S3).</p>
5124
+ * <p>If you specify a KMS key to encrypt your output, you must also specify
5125
+ * an output location using the <code>OutputLocation</code> parameter.</p>
5126
+ * <p>Note that the role making the request must
5127
+ * have permission to use the specified KMS key.</p>
4955
5128
  * @public
4956
5129
  */
4957
5130
  OutputEncryptionKMSKeyId?: string | undefined;
@@ -5451,3 +5624,15 @@ export interface UpdateVocabularyFilterResponse {
5451
5624
  */
5452
5625
  LastModifiedTime?: Date | undefined;
5453
5626
  }
5627
+ /**
5628
+ * @internal
5629
+ */
5630
+ export declare const MedicalScribePatientContextFilterSensitiveLog: (obj: MedicalScribePatientContext) => any;
5631
+ /**
5632
+ * @internal
5633
+ */
5634
+ export declare const MedicalScribeContextFilterSensitiveLog: (obj: MedicalScribeContext) => any;
5635
+ /**
5636
+ * @internal
5637
+ */
5638
+ export declare const StartMedicalScribeJobRequestFilterSensitiveLog: (obj: StartMedicalScribeJobRequest) => any;
@@ -629,6 +629,7 @@ export interface MedicalScribeJob {
629
629
  Settings?: MedicalScribeSettings | undefined;
630
630
  DataAccessRoleArn?: string | undefined;
631
631
  ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
632
+ MedicalScribeContextProvided?: boolean | undefined;
632
633
  Tags?: Tag[] | undefined;
633
634
  }
634
635
  export interface GetMedicalScribeJobResponse {
@@ -954,6 +955,18 @@ export interface ListVocabularyFiltersResponse {
954
955
  NextToken?: string | undefined;
955
956
  VocabularyFilters?: VocabularyFilterInfo[] | undefined;
956
957
  }
958
+ export declare const Pronouns: {
959
+ readonly HE_HIM: "HE_HIM";
960
+ readonly SHE_HER: "SHE_HER";
961
+ readonly THEY_THEM: "THEY_THEM";
962
+ };
963
+ export type Pronouns = (typeof Pronouns)[keyof typeof Pronouns];
964
+ export interface MedicalScribePatientContext {
965
+ Pronouns?: Pronouns | undefined;
966
+ }
967
+ export interface MedicalScribeContext {
968
+ PatientContext?: MedicalScribePatientContext | undefined;
969
+ }
957
970
  export interface StartCallAnalyticsJobRequest {
958
971
  CallAnalyticsJobName: string | undefined;
959
972
  Media: Media | undefined;
@@ -977,6 +990,7 @@ export interface StartMedicalScribeJobRequest {
977
990
  Settings: MedicalScribeSettings | undefined;
978
991
  ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
979
992
  Tags?: Tag[] | undefined;
993
+ MedicalScribeContext?: MedicalScribeContext | undefined;
980
994
  }
981
995
  export interface StartMedicalScribeJobResponse {
982
996
  MedicalScribeJob?: MedicalScribeJob | undefined;
@@ -1084,3 +1098,12 @@ export interface UpdateVocabularyFilterResponse {
1084
1098
  LanguageCode?: LanguageCode | undefined;
1085
1099
  LastModifiedTime?: Date | undefined;
1086
1100
  }
1101
+ export declare const MedicalScribePatientContextFilterSensitiveLog: (
1102
+ obj: MedicalScribePatientContext
1103
+ ) => any;
1104
+ export declare const MedicalScribeContextFilterSensitiveLog: (
1105
+ obj: MedicalScribeContext
1106
+ ) => any;
1107
+ export declare const StartMedicalScribeJobRequestFilterSensitiveLog: (
1108
+ obj: StartMedicalScribeJobRequest
1109
+ ) => any;
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.864.0",
4
+ "version": "3.872.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.864.0",
24
- "@aws-sdk/credential-provider-node": "3.864.0",
24
+ "@aws-sdk/credential-provider-node": "3.872.0",
25
25
  "@aws-sdk/middleware-host-header": "3.862.0",
26
26
  "@aws-sdk/middleware-logger": "3.862.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.862.0",