aws-sdk-transcribeservice 1.54.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +19 -4
- data/lib/aws-sdk-transcribeservice/client_api.rb +4 -0
- data/lib/aws-sdk-transcribeservice/types.rb +34 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f10fc138ce998f7e93f13f57c621b0be4e562109430614cbc88ec0991436a04
|
4
|
+
data.tar.gz: ce04613b83ede940909f590cb7e7038be753ab75101de7643e73529c24b9176f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a9ad78cd307426b2edbe50c1fae65537b05651286e5f705da9b6364d9b4a565e170eeb52832a28580c9c151398cb4cf3be6f9ea14bc972504f0cae4620049b9
|
7
|
+
data.tar.gz: 3262a86b547caee3da1ce342bda3065cb615ef2428c2d425158d9bceec078c3cf2b8fc303736e7b5e4aa1171367587815f07d7a577771bad786e8e022686def8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
@@ -486,7 +486,8 @@ module Aws::TranscribeService
|
|
486
486
|
# `ConflictException` error.
|
487
487
|
#
|
488
488
|
# @option params [required, String] :language_code
|
489
|
-
# The language code of the vocabulary entries.
|
489
|
+
# The language code of the vocabulary entries. For a list of languages
|
490
|
+
# and their corresponding language codes, see what-is-transcribe.
|
490
491
|
#
|
491
492
|
# @option params [Array<String>] :phrases
|
492
493
|
# An array of strings that contains the vocabulary entries.
|
@@ -505,7 +506,7 @@ module Aws::TranscribeService
|
|
505
506
|
#
|
506
507
|
#
|
507
508
|
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
508
|
-
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-
|
509
|
+
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
|
509
510
|
#
|
510
511
|
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
511
512
|
#
|
@@ -832,6 +833,7 @@ module Aws::TranscribeService
|
|
832
833
|
# resp.medical_transcription_job.settings.show_alternatives #=> Boolean
|
833
834
|
# resp.medical_transcription_job.settings.max_alternatives #=> Integer
|
834
835
|
# resp.medical_transcription_job.settings.vocabulary_name #=> String
|
836
|
+
# resp.medical_transcription_job.content_identification_type #=> String, one of "PHI"
|
835
837
|
# resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
|
836
838
|
# resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
|
837
839
|
#
|
@@ -1136,6 +1138,7 @@ module Aws::TranscribeService
|
|
1136
1138
|
# resp.medical_transcription_job_summaries[0].failure_reason #=> String
|
1137
1139
|
# resp.medical_transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
1138
1140
|
# resp.medical_transcription_job_summaries[0].specialty #=> String, one of "PRIMARYCARE"
|
1141
|
+
# resp.medical_transcription_job_summaries[0].content_identification_type #=> String, one of "PHI"
|
1139
1142
|
# resp.medical_transcription_job_summaries[0].type #=> String, one of "CONVERSATION", "DICTATION"
|
1140
1143
|
#
|
1141
1144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs AWS API Documentation
|
@@ -1483,6 +1486,12 @@ module Aws::TranscribeService
|
|
1483
1486
|
# @option params [Types::MedicalTranscriptionSetting] :settings
|
1484
1487
|
# Optional settings for the medical transcription job.
|
1485
1488
|
#
|
1489
|
+
# @option params [String] :content_identification_type
|
1490
|
+
# You can configure Amazon Transcribe Medical to label content in the
|
1491
|
+
# transcription output. If you specify `PHI`, Amazon Transcribe Medical
|
1492
|
+
# labels the personal health information (PHI) that it identifies in the
|
1493
|
+
# transcription output.
|
1494
|
+
#
|
1486
1495
|
# @option params [required, String] :specialty
|
1487
1496
|
# The medical specialty of any clinician speaking in the input media.
|
1488
1497
|
#
|
@@ -1517,6 +1526,7 @@ module Aws::TranscribeService
|
|
1517
1526
|
# max_alternatives: 1,
|
1518
1527
|
# vocabulary_name: "VocabularyName",
|
1519
1528
|
# },
|
1529
|
+
# content_identification_type: "PHI", # accepts PHI
|
1520
1530
|
# specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
|
1521
1531
|
# type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
|
1522
1532
|
# })
|
@@ -1540,6 +1550,7 @@ module Aws::TranscribeService
|
|
1540
1550
|
# resp.medical_transcription_job.settings.show_alternatives #=> Boolean
|
1541
1551
|
# resp.medical_transcription_job.settings.max_alternatives #=> Integer
|
1542
1552
|
# resp.medical_transcription_job.settings.vocabulary_name #=> String
|
1553
|
+
# resp.medical_transcription_job.content_identification_type #=> String, one of "PHI"
|
1543
1554
|
# resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
|
1544
1555
|
# resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
|
1545
1556
|
#
|
@@ -1563,6 +1574,9 @@ module Aws::TranscribeService
|
|
1563
1574
|
# @option params [String] :language_code
|
1564
1575
|
# The language code for the language used in the input media file.
|
1565
1576
|
#
|
1577
|
+
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
|
1578
|
+
# video file must be encoded at a sample rate of 16000 Hz or higher.
|
1579
|
+
#
|
1566
1580
|
# @option params [Integer] :media_sample_rate_hertz
|
1567
1581
|
# The sample rate, in Hertz, of the audio track in the input media file.
|
1568
1582
|
#
|
@@ -1851,7 +1865,8 @@ module Aws::TranscribeService
|
|
1851
1865
|
# vocabulary you will receive a `ConflictException` error.
|
1852
1866
|
#
|
1853
1867
|
# @option params [required, String] :language_code
|
1854
|
-
# The language code of the vocabulary entries.
|
1868
|
+
# The language code of the vocabulary entries. For a list of languages
|
1869
|
+
# and their corresponding language codes, see what-is-transcribe.
|
1855
1870
|
#
|
1856
1871
|
# @option params [Array<String>] :phrases
|
1857
1872
|
# An array of strings containing the vocabulary entries.
|
@@ -1983,7 +1998,7 @@ module Aws::TranscribeService
|
|
1983
1998
|
params: params,
|
1984
1999
|
config: config)
|
1985
2000
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
1986
|
-
context[:gem_version] = '1.
|
2001
|
+
context[:gem_version] = '1.55.0'
|
1987
2002
|
Seahorse::Client::Request.new(handlers, context)
|
1988
2003
|
end
|
1989
2004
|
|
@@ -75,6 +75,7 @@ module Aws::TranscribeService
|
|
75
75
|
Media = Shapes::StructureShape.new(name: 'Media')
|
76
76
|
MediaFormat = Shapes::StringShape.new(name: 'MediaFormat')
|
77
77
|
MediaSampleRateHertz = Shapes::IntegerShape.new(name: 'MediaSampleRateHertz')
|
78
|
+
MedicalContentIdentificationType = Shapes::StringShape.new(name: 'MedicalContentIdentificationType')
|
78
79
|
MedicalTranscript = Shapes::StructureShape.new(name: 'MedicalTranscript')
|
79
80
|
MedicalTranscriptionJob = Shapes::StructureShape.new(name: 'MedicalTranscriptionJob')
|
80
81
|
MedicalTranscriptionJobSummaries = Shapes::ListShape.new(name: 'MedicalTranscriptionJobSummaries')
|
@@ -360,6 +361,7 @@ module Aws::TranscribeService
|
|
360
361
|
MedicalTranscriptionJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
|
361
362
|
MedicalTranscriptionJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
362
363
|
MedicalTranscriptionJob.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
|
364
|
+
MedicalTranscriptionJob.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
363
365
|
MedicalTranscriptionJob.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, location_name: "Specialty"))
|
364
366
|
MedicalTranscriptionJob.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
|
365
367
|
MedicalTranscriptionJob.struct_class = Types::MedicalTranscriptionJob
|
@@ -375,6 +377,7 @@ module Aws::TranscribeService
|
|
375
377
|
MedicalTranscriptionJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
376
378
|
MedicalTranscriptionJobSummary.add_member(:output_location_type, Shapes::ShapeRef.new(shape: OutputLocationType, location_name: "OutputLocationType"))
|
377
379
|
MedicalTranscriptionJobSummary.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, location_name: "Specialty"))
|
380
|
+
MedicalTranscriptionJobSummary.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
378
381
|
MedicalTranscriptionJobSummary.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
|
379
382
|
MedicalTranscriptionJobSummary.struct_class = Types::MedicalTranscriptionJobSummary
|
380
383
|
|
@@ -415,6 +418,7 @@ module Aws::TranscribeService
|
|
415
418
|
StartMedicalTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
416
419
|
StartMedicalTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
417
420
|
StartMedicalTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
|
421
|
+
StartMedicalTranscriptionJobRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
418
422
|
StartMedicalTranscriptionJobRequest.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, required: true, location_name: "Specialty"))
|
419
423
|
StartMedicalTranscriptionJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
|
420
424
|
StartMedicalTranscriptionJobRequest.struct_class = Types::StartMedicalTranscriptionJobRequest
|
@@ -364,7 +364,8 @@ module Aws::TranscribeService
|
|
364
364
|
# @return [String]
|
365
365
|
#
|
366
366
|
# @!attribute [rw] language_code
|
367
|
-
# The language code of the vocabulary entries.
|
367
|
+
# The language code of the vocabulary entries. For a list of languages
|
368
|
+
# and their corresponding language codes, see what-is-transcribe.
|
368
369
|
# @return [String]
|
369
370
|
#
|
370
371
|
# @!attribute [rw] phrases
|
@@ -385,7 +386,7 @@ module Aws::TranscribeService
|
|
385
386
|
#
|
386
387
|
#
|
387
388
|
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
388
|
-
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-
|
389
|
+
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
|
389
390
|
# @return [String]
|
390
391
|
#
|
391
392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
|
@@ -1553,6 +1554,13 @@ module Aws::TranscribeService
|
|
1553
1554
|
# Object that contains object.
|
1554
1555
|
# @return [Types::MedicalTranscriptionSetting]
|
1555
1556
|
#
|
1557
|
+
# @!attribute [rw] content_identification_type
|
1558
|
+
# Shows the type of content that you've configured Amazon Transcribe
|
1559
|
+
# Medical to identify in a transcription job. If the value is `PHI`,
|
1560
|
+
# you've configured the job to identify personal health information
|
1561
|
+
# (PHI) in the transcription output.
|
1562
|
+
# @return [String]
|
1563
|
+
#
|
1556
1564
|
# @!attribute [rw] specialty
|
1557
1565
|
# The medical specialty of any clinicians providing a dictation or
|
1558
1566
|
# having a conversation. `PRIMARYCARE` is the only available setting
|
@@ -1586,6 +1594,7 @@ module Aws::TranscribeService
|
|
1586
1594
|
:completion_time,
|
1587
1595
|
:failure_reason,
|
1588
1596
|
:settings,
|
1597
|
+
:content_identification_type,
|
1589
1598
|
:specialty,
|
1590
1599
|
:type)
|
1591
1600
|
SENSITIVE = []
|
@@ -1636,6 +1645,13 @@ module Aws::TranscribeService
|
|
1636
1645
|
# the only valid value.
|
1637
1646
|
# @return [String]
|
1638
1647
|
#
|
1648
|
+
# @!attribute [rw] content_identification_type
|
1649
|
+
# Shows the type of information you've configured Amazon Transcribe
|
1650
|
+
# Medical to identify in a transcription job. If the value is `PHI`,
|
1651
|
+
# you've configured the transcription job to identify personal health
|
1652
|
+
# information (PHI).
|
1653
|
+
# @return [String]
|
1654
|
+
#
|
1639
1655
|
# @!attribute [rw] type
|
1640
1656
|
# The speech of the clinician in the input audio.
|
1641
1657
|
# @return [String]
|
@@ -1652,6 +1668,7 @@ module Aws::TranscribeService
|
|
1652
1668
|
:failure_reason,
|
1653
1669
|
:output_location_type,
|
1654
1670
|
:specialty,
|
1671
|
+
:content_identification_type,
|
1655
1672
|
:type)
|
1656
1673
|
SENSITIVE = []
|
1657
1674
|
include Aws::Structure
|
@@ -1896,6 +1913,7 @@ module Aws::TranscribeService
|
|
1896
1913
|
# max_alternatives: 1,
|
1897
1914
|
# vocabulary_name: "VocabularyName",
|
1898
1915
|
# },
|
1916
|
+
# content_identification_type: "PHI", # accepts PHI
|
1899
1917
|
# specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
|
1900
1918
|
# type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
|
1901
1919
|
# }
|
@@ -2015,6 +2033,13 @@ module Aws::TranscribeService
|
|
2015
2033
|
# Optional settings for the medical transcription job.
|
2016
2034
|
# @return [Types::MedicalTranscriptionSetting]
|
2017
2035
|
#
|
2036
|
+
# @!attribute [rw] content_identification_type
|
2037
|
+
# You can configure Amazon Transcribe Medical to label content in the
|
2038
|
+
# transcription output. If you specify `PHI`, Amazon Transcribe
|
2039
|
+
# Medical labels the personal health information (PHI) that it
|
2040
|
+
# identifies in the transcription output.
|
2041
|
+
# @return [String]
|
2042
|
+
#
|
2018
2043
|
# @!attribute [rw] specialty
|
2019
2044
|
# The medical specialty of any clinician speaking in the input media.
|
2020
2045
|
# @return [String]
|
@@ -2038,6 +2063,7 @@ module Aws::TranscribeService
|
|
2038
2063
|
:output_key,
|
2039
2064
|
:output_encryption_kms_key_id,
|
2040
2065
|
:settings,
|
2066
|
+
:content_identification_type,
|
2041
2067
|
:specialty,
|
2042
2068
|
:type)
|
2043
2069
|
SENSITIVE = []
|
@@ -2105,6 +2131,10 @@ module Aws::TranscribeService
|
|
2105
2131
|
#
|
2106
2132
|
# @!attribute [rw] language_code
|
2107
2133
|
# The language code for the language used in the input media file.
|
2134
|
+
#
|
2135
|
+
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio
|
2136
|
+
# or video file must be encoded at a sample rate of 16000 Hz or
|
2137
|
+
# higher.
|
2108
2138
|
# @return [String]
|
2109
2139
|
#
|
2110
2140
|
# @!attribute [rw] media_sample_rate_hertz
|
@@ -2727,7 +2757,8 @@ module Aws::TranscribeService
|
|
2727
2757
|
# @return [String]
|
2728
2758
|
#
|
2729
2759
|
# @!attribute [rw] language_code
|
2730
|
-
# The language code of the vocabulary entries.
|
2760
|
+
# The language code of the vocabulary entries. For a list of languages
|
2761
|
+
# and their corresponding language codes, see what-is-transcribe.
|
2731
2762
|
# @return [String]
|
2732
2763
|
#
|
2733
2764
|
# @!attribute [rw] phrases
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribeservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Amazon Transcribe Service
|