aws-sdk-transcribestreamingservice 1.86.0 → 1.87.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85e9532f962ba51bca8ba66d5383fbe4a2dbdfbbae4692dac64ac416dd8c064f
4
- data.tar.gz: 66c2e15735cf6198de7049024603a51da5286cf767317aab1afdf6e5773310a2
3
+ metadata.gz: b53ce981f52482ea0c5120239ca0a0e6fa776132db5161f9f22a7883d6b91744
4
+ data.tar.gz: bb5ac8004ed5aa286bed41b4e566d06321c641017d70c216ca8346facd58e6dd
5
5
  SHA512:
6
- metadata.gz: 520e5c0e5db08420f58f137e441584acfae212b70073c3c431ae0390b1a22fa24ef4e16d68e948b61eb7fc278807eb9f41bec4a04b63b7549a6088193073f073
7
- data.tar.gz: feea38483c07e582480afe1f4133a2d84829a93bd95c1330c7e8599be02ce8e95709c759f5356d78a04dab30d16fa2c7d3a96055fe811f95ee0aafe6db872ca9
6
+ metadata.gz: 1799f32001b29aac990bf66fb780177386ccb1c534f29dbdc34923b92b454301b14a87a73ffa8dbd8faacda85dc7d3a5171ea70bd8dd54335fdbef91b866c326
7
+ data.tar.gz: 6eb08c1e8151855920e4e3e3a6157d9f120674b327987b425f166a25e7ca1a230d3be952f0b0f0e3f1b135fe22c46b7be419e4a65634e4cdb4a2234f1dc70945
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.87.0 (2025-08-12)
5
+ ------------------
6
+
7
+ * Feature - AWS HealthScribe now supports specifying preferred patient pronouns through the MedicalScribeContext parameter for use in the generated clinical notes.
8
+
4
9
  1.86.0 (2025-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.86.0
1
+ 1.87.0
@@ -856,12 +856,12 @@ module Aws::TranscribeStreamingService
856
856
  #
857
857
  # When you start a stream, you first specify the stream configuration in
858
858
  # a `MedicalScribeConfigurationEvent`. This event includes channel
859
- # definitions, encryption settings, and post-stream analytics settings,
860
- # such as the output configuration for aggregated transcript and
861
- # clinical note generation. These are additional streaming session
862
- # configurations beyond those provided in your initial start request
863
- # headers. Whether you are starting a new session or resuming an
864
- # existing session, your first event must be a
859
+ # definitions, encryption settings, medical scribe context, and
860
+ # post-stream analytics settings, such as the output configuration for
861
+ # aggregated transcript and clinical note generation. These are
862
+ # additional streaming session configurations beyond those provided in
863
+ # your initial start request headers. Whether you are starting a new
864
+ # session or resuming an existing session, your first event must be a
865
865
  # `MedicalScribeConfigurationEvent`.
866
866
  #
867
867
  # After you send a `MedicalScribeConfigurationEvent`, you start
@@ -2090,7 +2090,7 @@ module Aws::TranscribeStreamingService
2090
2090
  tracer: tracer
2091
2091
  )
2092
2092
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
2093
- context[:gem_version] = '1.86.0'
2093
+ context[:gem_version] = '1.87.0'
2094
2094
  Seahorse::Client::Request.new(handlers, context)
2095
2095
  end
2096
2096
 
@@ -532,6 +532,7 @@ module Aws::TranscribeStreamingService
532
532
  # resp.medical_scribe_stream_details.post_stream_analytics_result.clinical_note_generation_result.transcript_output_location #=> String
533
533
  # resp.medical_scribe_stream_details.post_stream_analytics_result.clinical_note_generation_result.status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
534
534
  # resp.medical_scribe_stream_details.post_stream_analytics_result.clinical_note_generation_result.failure_reason #=> String
535
+ # resp.medical_scribe_stream_details.medical_scribe_context_provided #=> Boolean
535
536
  #
536
537
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/GetMedicalScribeStream AWS API Documentation
537
538
  #
@@ -560,7 +561,7 @@ module Aws::TranscribeStreamingService
560
561
  tracer: tracer
561
562
  )
562
563
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
563
- context[:gem_version] = '1.86.0'
564
+ context[:gem_version] = '1.87.0'
564
565
  Seahorse::Client::Request.new(handlers, context)
565
566
  end
566
567
 
@@ -81,6 +81,7 @@ module Aws::TranscribeStreamingService
81
81
  MedicalScribeChannelDefinitions = Shapes::ListShape.new(name: 'MedicalScribeChannelDefinitions')
82
82
  MedicalScribeChannelId = Shapes::IntegerShape.new(name: 'MedicalScribeChannelId')
83
83
  MedicalScribeConfigurationEvent = Shapes::StructureShape.new(name: 'MedicalScribeConfigurationEvent')
84
+ MedicalScribeContext = Shapes::StructureShape.new(name: 'MedicalScribeContext')
84
85
  MedicalScribeEncryptionSettings = Shapes::StructureShape.new(name: 'MedicalScribeEncryptionSettings')
85
86
  MedicalScribeInputStream = Shapes::StructureShape.new(name: 'MedicalScribeInputStream')
86
87
  MedicalScribeLanguageCode = Shapes::StringShape.new(name: 'MedicalScribeLanguageCode')
@@ -88,6 +89,7 @@ module Aws::TranscribeStreamingService
88
89
  MedicalScribeMediaSampleRateHertz = Shapes::IntegerShape.new(name: 'MedicalScribeMediaSampleRateHertz')
89
90
  MedicalScribeNoteTemplate = Shapes::StringShape.new(name: 'MedicalScribeNoteTemplate')
90
91
  MedicalScribeParticipantRole = Shapes::StringShape.new(name: 'MedicalScribeParticipantRole')
92
+ MedicalScribePatientContext = Shapes::StructureShape.new(name: 'MedicalScribePatientContext')
91
93
  MedicalScribePostStreamAnalyticsResult = Shapes::StructureShape.new(name: 'MedicalScribePostStreamAnalyticsResult')
92
94
  MedicalScribePostStreamAnalyticsSettings = Shapes::StructureShape.new(name: 'MedicalScribePostStreamAnalyticsSettings')
93
95
  MedicalScribeResultStream = Shapes::StructureShape.new(name: 'MedicalScribeResultStream')
@@ -113,6 +115,7 @@ module Aws::TranscribeStreamingService
113
115
  PiiEntityTypes = Shapes::StringShape.new(name: 'PiiEntityTypes')
114
116
  PointsOfInterest = Shapes::StructureShape.new(name: 'PointsOfInterest')
115
117
  PostCallAnalyticsSettings = Shapes::StructureShape.new(name: 'PostCallAnalyticsSettings')
118
+ Pronouns = Shapes::StringShape.new(name: 'Pronouns')
116
119
  RequestId = Shapes::StringShape.new(name: 'RequestId')
117
120
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
118
121
  Result = Shapes::StructureShape.new(name: 'Result')
@@ -327,8 +330,12 @@ module Aws::TranscribeStreamingService
327
330
  MedicalScribeConfigurationEvent.add_member(:channel_definitions, Shapes::ShapeRef.new(shape: MedicalScribeChannelDefinitions, location_name: "ChannelDefinitions"))
328
331
  MedicalScribeConfigurationEvent.add_member(:encryption_settings, Shapes::ShapeRef.new(shape: MedicalScribeEncryptionSettings, location_name: "EncryptionSettings"))
329
332
  MedicalScribeConfigurationEvent.add_member(:post_stream_analytics_settings, Shapes::ShapeRef.new(shape: MedicalScribePostStreamAnalyticsSettings, required: true, location_name: "PostStreamAnalyticsSettings"))
333
+ MedicalScribeConfigurationEvent.add_member(:medical_scribe_context, Shapes::ShapeRef.new(shape: MedicalScribeContext, location_name: "MedicalScribeContext"))
330
334
  MedicalScribeConfigurationEvent.struct_class = Types::MedicalScribeConfigurationEvent
331
335
 
336
+ MedicalScribeContext.add_member(:patient_context, Shapes::ShapeRef.new(shape: MedicalScribePatientContext, location_name: "PatientContext"))
337
+ MedicalScribeContext.struct_class = Types::MedicalScribeContext
338
+
332
339
  MedicalScribeEncryptionSettings.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KmsEncryptionContext"))
333
340
  MedicalScribeEncryptionSettings.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, required: true, location_name: "KmsKeyId"))
334
341
  MedicalScribeEncryptionSettings.struct_class = Types::MedicalScribeEncryptionSettings
@@ -338,6 +345,9 @@ module Aws::TranscribeStreamingService
338
345
  MedicalScribeInputStream.add_member(:configuration_event, Shapes::ShapeRef.new(shape: MedicalScribeConfigurationEvent, event: true, location_name: "ConfigurationEvent"))
339
346
  MedicalScribeInputStream.struct_class = Types::MedicalScribeInputStream
340
347
 
348
+ MedicalScribePatientContext.add_member(:pronouns, Shapes::ShapeRef.new(shape: Pronouns, location_name: "Pronouns"))
349
+ MedicalScribePatientContext.struct_class = Types::MedicalScribePatientContext
350
+
341
351
  MedicalScribePostStreamAnalyticsResult.add_member(:clinical_note_generation_result, Shapes::ShapeRef.new(shape: ClinicalNoteGenerationResult, location_name: "ClinicalNoteGenerationResult"))
342
352
  MedicalScribePostStreamAnalyticsResult.struct_class = Types::MedicalScribePostStreamAnalyticsResult
343
353
 
@@ -370,6 +380,7 @@ module Aws::TranscribeStreamingService
370
380
  MedicalScribeStreamDetails.add_member(:stream_status, Shapes::ShapeRef.new(shape: MedicalScribeStreamStatus, location_name: "StreamStatus"))
371
381
  MedicalScribeStreamDetails.add_member(:post_stream_analytics_settings, Shapes::ShapeRef.new(shape: MedicalScribePostStreamAnalyticsSettings, location_name: "PostStreamAnalyticsSettings"))
372
382
  MedicalScribeStreamDetails.add_member(:post_stream_analytics_result, Shapes::ShapeRef.new(shape: MedicalScribePostStreamAnalyticsResult, location_name: "PostStreamAnalyticsResult"))
383
+ MedicalScribeStreamDetails.add_member(:medical_scribe_context_provided, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "MedicalScribeContextProvided"))
373
384
  MedicalScribeStreamDetails.struct_class = Types::MedicalScribeStreamDetails
374
385
 
375
386
  MedicalScribeTranscriptEvent.add_member(:transcript_segment, Shapes::ShapeRef.new(shape: MedicalScribeTranscriptSegment, location_name: "TranscriptSegment"))
@@ -173,6 +173,10 @@ module Aws::TranscribeStreamingService
173
173
  # @option params [Types::MedicalScribePostStreamAnalyticsSettings] :post_stream_analytics_settings
174
174
  # Specify settings for post-stream analytics.
175
175
  #
176
+ # @option params [Types::MedicalScribeContext] :medical_scribe_context
177
+ # The `MedicalScribeContext` object that contains contextual information
178
+ # used to generate customized clinical notes.
179
+ #
176
180
  def signal_configuration_event_event(params = {})
177
181
  @event_emitter.emit(:configuration_event, params)
178
182
  end
@@ -947,6 +947,11 @@ module Aws::TranscribeStreamingService
947
947
  # Specify settings for post-stream analytics.
948
948
  # @return [Types::MedicalScribePostStreamAnalyticsSettings]
949
949
  #
950
+ # @!attribute [rw] medical_scribe_context
951
+ # The `MedicalScribeContext` object that contains contextual
952
+ # information used to generate customized clinical notes.
953
+ # @return [Types::MedicalScribeContext]
954
+ #
950
955
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalScribeConfigurationEvent AWS API Documentation
951
956
  #
952
957
  class MedicalScribeConfigurationEvent < Struct.new(
@@ -957,11 +962,29 @@ module Aws::TranscribeStreamingService
957
962
  :channel_definitions,
958
963
  :encryption_settings,
959
964
  :post_stream_analytics_settings,
965
+ :medical_scribe_context,
960
966
  :event_type)
961
967
  SENSITIVE = []
962
968
  include Aws::Structure
963
969
  end
964
970
 
971
+ # The `MedicalScribeContext` object that contains contextual information
972
+ # which is used during clinical note generation to add relevant context
973
+ # to the note.
974
+ #
975
+ # @!attribute [rw] patient_context
976
+ # Contains patient-specific information used to customize the clinical
977
+ # note generation.
978
+ # @return [Types::MedicalScribePatientContext]
979
+ #
980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalScribeContext AWS API Documentation
981
+ #
982
+ class MedicalScribeContext < Struct.new(
983
+ :patient_context)
984
+ SENSITIVE = []
985
+ include Aws::Structure
986
+ end
987
+
965
988
  # Contains encryption related settings to be used for data encryption
966
989
  # with Key Management Service, including KmsEncryptionContext and
967
990
  # KmsKeyId. The KmsKeyId is required, while KmsEncryptionContext is
@@ -1030,6 +1053,21 @@ module Aws::TranscribeStreamingService
1030
1053
  include Aws::Structure
1031
1054
  end
1032
1055
 
1056
+ # Contains patient-specific information.
1057
+ #
1058
+ # @!attribute [rw] pronouns
1059
+ # The patient's preferred pronouns that the user wants to provide as
1060
+ # a context for clinical note generation .
1061
+ # @return [String]
1062
+ #
1063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalScribePatientContext AWS API Documentation
1064
+ #
1065
+ class MedicalScribePatientContext < Struct.new(
1066
+ :pronouns)
1067
+ SENSITIVE = [:pronouns]
1068
+ include Aws::Structure
1069
+ end
1070
+
1033
1071
  # Contains details for the result of post-stream analytics.
1034
1072
  #
1035
1073
  # @!attribute [rw] clinical_note_generation_result
@@ -1181,6 +1219,11 @@ module Aws::TranscribeStreamingService
1181
1219
  # session.
1182
1220
  # @return [Types::MedicalScribePostStreamAnalyticsResult]
1183
1221
  #
1222
+ # @!attribute [rw] medical_scribe_context_provided
1223
+ # Indicates whether the `MedicalScribeContext` object was provided
1224
+ # when the stream was started.
1225
+ # @return [Boolean]
1226
+ #
1184
1227
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalScribeStreamDetails AWS API Documentation
1185
1228
  #
1186
1229
  class MedicalScribeStreamDetails < Struct.new(
@@ -1198,7 +1241,8 @@ module Aws::TranscribeStreamingService
1198
1241
  :encryption_settings,
1199
1242
  :stream_status,
1200
1243
  :post_stream_analytics_settings,
1201
- :post_stream_analytics_result)
1244
+ :post_stream_analytics_result,
1245
+ :medical_scribe_context_provided)
1202
1246
  SENSITIVE = []
1203
1247
  include Aws::Structure
1204
1248
  end
@@ -56,7 +56,7 @@ module Aws::TranscribeStreamingService
56
56
  autoload :AsyncClient, 'aws-sdk-transcribestreamingservice/async_client'
57
57
  autoload :EventStreams, 'aws-sdk-transcribestreamingservice/event_streams'
58
58
 
59
- GEM_VERSION = '1.86.0'
59
+ GEM_VERSION = '1.87.0'
60
60
 
61
61
  end
62
62
 
data/sig/types.rbs CHANGED
@@ -205,16 +205,27 @@ module Aws::TranscribeStreamingService
205
205
  attr_accessor channel_definitions: ::Array[Types::MedicalScribeChannelDefinition]
206
206
  attr_accessor encryption_settings: Types::MedicalScribeEncryptionSettings
207
207
  attr_accessor post_stream_analytics_settings: Types::MedicalScribePostStreamAnalyticsSettings
208
+ attr_accessor medical_scribe_context: Types::MedicalScribeContext
208
209
  attr_accessor event_type: untyped
209
210
  SENSITIVE: []
210
211
  end
211
212
 
213
+ class MedicalScribeContext
214
+ attr_accessor patient_context: Types::MedicalScribePatientContext
215
+ SENSITIVE: []
216
+ end
217
+
212
218
  class MedicalScribeEncryptionSettings
213
219
  attr_accessor kms_encryption_context: ::Hash[::String, ::String]
214
220
  attr_accessor kms_key_id: ::String
215
221
  SENSITIVE: []
216
222
  end
217
223
 
224
+ class MedicalScribePatientContext
225
+ attr_accessor pronouns: ("HE_HIM" | "SHE_HER" | "THEY_THEM")
226
+ SENSITIVE: [:pronouns]
227
+ end
228
+
218
229
  class MedicalScribePostStreamAnalyticsResult
219
230
  attr_accessor clinical_note_generation_result: Types::ClinicalNoteGenerationResult
220
231
  SENSITIVE: []
@@ -247,6 +258,7 @@ module Aws::TranscribeStreamingService
247
258
  attr_accessor stream_status: ("IN_PROGRESS" | "PAUSED" | "FAILED" | "COMPLETED")
248
259
  attr_accessor post_stream_analytics_settings: Types::MedicalScribePostStreamAnalyticsSettings
249
260
  attr_accessor post_stream_analytics_result: Types::MedicalScribePostStreamAnalyticsResult
261
+ attr_accessor medical_scribe_context_provided: bool
250
262
  SENSITIVE: []
251
263
  end
252
264
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transcribestreamingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.86.0
4
+ version: 1.87.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services