aws-sdk-transcribeservice 1.58.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49ea7c85e5ae1dc9977584c1f640dfff5b36759c2bb0ced1cd895e7d0668d9bf
4
- data.tar.gz: 7411c3e4f07e8cc7f7fb57fdda976c6d9ec14bdedc404ae5b61f6263d1680b78
3
+ metadata.gz: b60338041c7083adfed9dd75310c49e5bb54a7fee56ae618f37454aad82bab14
4
+ data.tar.gz: 7bc5fe6d08d2f116a441223f7588e65c9a898bf89c04f316db2fefa1f817176e
5
5
  SHA512:
6
- metadata.gz: 9457b31bc19ca0718584f69fa97d8441bc61b23d16256ebb4b3b7034ee417b3fb9ed869cdb52a6b99c9a627943f9b3e3deda9d98c49aeac53ee63b4ce8f5f1f0
7
- data.tar.gz: d5a9e22bcb7ccff3dc7c815491abcab3033a2db35cc334b9cd324a999012d6468d00c657c11deb51ef2814bff91519cb8c6517dd8f660e16728ae193fded0f82
6
+ metadata.gz: c3100b6aebd859adb2a80c241f29cd2376e00c2249421f2f72bd0e08ae77a8628c8adfcc917066f7f940dcab0bfa4e60b5b62a5bed8dd7d06dff826800183568
7
+ data.tar.gz: 3532547363f1e2918e12ff89ebbdb7eb1bfeed96594f5d362d29397af494dcb909f1fa48e6fe5bb06f3c351aaf5a20bce08cfc30d23e25570102d3d14efae6a1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2021-08-24)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for feature tagging with Amazon Transcribe batch jobs.
8
+
4
9
  1.58.0 (2021-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -511,10 +511,10 @@ module Aws::TranscribeService
511
511
  # create your custom language model.
512
512
  #
513
513
  # If you want to use your custom language model to transcribe audio with
514
- # a sample rate of 16 kHz or greater, choose `Wideband`.
514
+ # a sample rate of 16,000 Hz or greater, choose `Wideband`.
515
515
  #
516
516
  # If you want to use your custom language model to transcribe audio with
517
- # a sample rate that is less than 16 kHz, choose `Narrowband`.
517
+ # a sample rate that is less than 16,000 Hz, choose `Narrowband`.
518
518
  #
519
519
  # @option params [required, String] :model_name
520
520
  # The name you choose for your custom language model when you create it.
@@ -523,6 +523,10 @@ module Aws::TranscribeService
523
523
  # Contains the data access role and the Amazon S3 prefixes to read the
524
524
  # required input files to create a custom language model.
525
525
  #
526
+ # @option params [Array<Types::Tag>] :tags
527
+ # Adds one or more tags, each in the form of a key:value pair, to a new
528
+ # language model at the time you create this new model.
529
+ #
526
530
  # @return [Types::CreateLanguageModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
527
531
  #
528
532
  # * {Types::CreateLanguageModelResponse#language_code #language_code} => String
@@ -542,6 +546,12 @@ module Aws::TranscribeService
542
546
  # tuning_data_s3_uri: "Uri",
543
547
  # data_access_role_arn: "DataAccessRoleArn", # required
544
548
  # },
549
+ # tags: [
550
+ # {
551
+ # key: "TagKey", # required
552
+ # value: "TagValue", # required
553
+ # },
554
+ # ],
545
555
  # })
546
556
  #
547
557
  # @example Response structure
@@ -563,7 +573,7 @@ module Aws::TranscribeService
563
573
  req.send_request(options)
564
574
  end
565
575
 
566
- # Creates a new custom vocabulary that you can use to change how Amazon
576
+ # Creates a new custom vocabulary that you can use to modify how Amazon
567
577
  # Transcribe Medical transcribes your audio file.
568
578
  #
569
579
  # @option params [required, String] :vocabulary_name
@@ -604,6 +614,10 @@ module Aws::TranscribeService
604
614
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
605
615
  # [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med
606
616
  #
617
+ # @option params [Array<Types::Tag>] :tags
618
+ # Adds one or more tags, each in the form of a key:value pair, to a new
619
+ # medical vocabulary at the time you create this new vocabulary.
620
+ #
607
621
  # @return [Types::CreateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
608
622
  #
609
623
  # * {Types::CreateMedicalVocabularyResponse#vocabulary_name #vocabulary_name} => String
@@ -618,6 +632,12 @@ module Aws::TranscribeService
618
632
  # vocabulary_name: "VocabularyName", # required
619
633
  # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
620
634
  # vocabulary_file_uri: "Uri", # required
635
+ # tags: [
636
+ # {
637
+ # key: "TagKey", # required
638
+ # value: "TagValue", # required
639
+ # },
640
+ # ],
621
641
  # })
622
642
  #
623
643
  # @example Response structure
@@ -648,7 +668,7 @@ module Aws::TranscribeService
648
668
  #
649
669
  # @option params [required, String] :language_code
650
670
  # The language code of the vocabulary entries. For a list of languages
651
- # and their corresponding language codes, see what-is-transcribe.
671
+ # and their corresponding language codes, see transcribe-whatis.
652
672
  #
653
673
  # @option params [Array<String>] :phrases
654
674
  # An array of strings that contains the vocabulary entries.
@@ -656,19 +676,24 @@ module Aws::TranscribeService
656
676
  # @option params [String] :vocabulary_file_uri
657
677
  # The S3 location of the text file that contains the definition of the
658
678
  # custom vocabulary. The URI must be in the same region as the API
659
- # endpoint that you are calling. The general form is
679
+ # endpoint that you are calling. The general form is:
660
680
  #
661
681
  # For more information about S3 object names, see [Object Keys][1] in
662
682
  # the *Amazon S3 Developer Guide*.
663
683
  #
664
684
  # For more information about custom vocabularies, see [Custom
665
- # Vocabularies][2].
685
+ # vocabularies][2].
666
686
  #
667
687
  #
668
688
  #
669
689
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
670
690
  # [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
671
691
  #
692
+ # @option params [Array<Types::Tag>] :tags
693
+ # Adds one or more tags, each in the form of a key:value pair, to a new
694
+ # Amazon Transcribe vocabulary at the time you create this new
695
+ # vocabulary.
696
+ #
672
697
  # @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
673
698
  #
674
699
  # * {Types::CreateVocabularyResponse#vocabulary_name #vocabulary_name} => String
@@ -684,6 +709,12 @@ module Aws::TranscribeService
684
709
  # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
685
710
  # phrases: ["Phrase"],
686
711
  # vocabulary_file_uri: "Uri",
712
+ # tags: [
713
+ # {
714
+ # key: "TagKey", # required
715
+ # value: "TagValue", # required
716
+ # },
717
+ # ],
687
718
  # })
688
719
  #
689
720
  # @example Response structure
@@ -745,6 +776,11 @@ module Aws::TranscribeService
745
776
  #
746
777
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets
747
778
  #
779
+ # @option params [Array<Types::Tag>] :tags
780
+ # Adds one or more tags, each in the form of a key:value pair, to a new
781
+ # Amazon Transcribe vocabulary filter at the time you create this new
782
+ # vocabulary filter.
783
+ #
748
784
  # @return [Types::CreateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
749
785
  #
750
786
  # * {Types::CreateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
@@ -758,6 +794,12 @@ module Aws::TranscribeService
758
794
  # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
759
795
  # words: ["Word"],
760
796
  # vocabulary_filter_file_uri: "Uri",
797
+ # tags: [
798
+ # {
799
+ # key: "TagKey", # required
800
+ # value: "TagValue", # required
801
+ # },
802
+ # ],
761
803
  # })
762
804
  #
763
805
  # @example Response structure
@@ -1180,6 +1222,9 @@ module Aws::TranscribeService
1180
1222
  # resp.medical_transcription_job.content_identification_type #=> String, one of "PHI"
1181
1223
  # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
1182
1224
  # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
1225
+ # resp.medical_transcription_job.tags #=> Array
1226
+ # resp.medical_transcription_job.tags[0].key #=> String
1227
+ # resp.medical_transcription_job.tags[0].value #=> String
1183
1228
  #
1184
1229
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob AWS API Documentation
1185
1230
  #
@@ -1281,6 +1326,9 @@ module Aws::TranscribeService
1281
1326
  # resp.transcription_job.language_options #=> Array
1282
1327
  # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1283
1328
  # resp.transcription_job.identified_language_score #=> Float
1329
+ # resp.transcription_job.tags #=> Array
1330
+ # resp.transcription_job.tags[0].key #=> String
1331
+ # resp.transcription_job.tags[0].value #=> String
1284
1332
  #
1285
1333
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
1286
1334
  #
@@ -1374,9 +1422,10 @@ module Aws::TranscribeService
1374
1422
  # result of the previous request was truncated.
1375
1423
  #
1376
1424
  # @option params [Integer] :max_results
1377
- # The maximum number of categories to return in the response. If there
1378
- # are fewer results in the list, the response contains only the actual
1379
- # results.
1425
+ # The maximum number of categories to return in each page of results. If
1426
+ # there are fewer results than the value you specify, only the actual
1427
+ # results are returned. If you do not specify a value, the default of 5
1428
+ # is used.
1380
1429
  #
1381
1430
  # @return [Types::ListCallAnalyticsCategoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1382
1431
  #
@@ -1474,9 +1523,10 @@ module Aws::TranscribeService
1474
1523
  # `NextToken` to fetch the next set of jobs.
1475
1524
  #
1476
1525
  # @option params [Integer] :max_results
1477
- # The maximum number of call analytics jobs to return in the response.
1478
- # If there are fewer results in the list, this response contains only
1479
- # the actual results.
1526
+ # The maximum number of call analytics jobs to return in each page of
1527
+ # results. If there are fewer results than the value you specify, only
1528
+ # the actual results are returned. If you do not specify a value, the
1529
+ # default of 5 is used.
1480
1530
  #
1481
1531
  # @return [Types::ListCallAnalyticsJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1482
1532
  #
@@ -1537,9 +1587,10 @@ module Aws::TranscribeService
1537
1587
  # previous request was truncated.
1538
1588
  #
1539
1589
  # @option params [Integer] :max_results
1540
- # The maximum number of language models to return in the response. If
1541
- # there are fewer results in the list, the response contains only the
1542
- # actual results.
1590
+ # The maximum number of language models to return in each page of
1591
+ # results. If there are fewer results than the value you specify, only
1592
+ # the actual results are returned. If you do not specify a value, the
1593
+ # default of 5 is used.
1543
1594
  #
1544
1595
  # @return [Types::ListLanguageModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1545
1596
  #
@@ -1601,9 +1652,10 @@ module Aws::TranscribeService
1601
1652
  # set of jobs.
1602
1653
  #
1603
1654
  # @option params [Integer] :max_results
1604
- # The maximum number of medical transcription jobs to return in the
1605
- # response. IF there are fewer results in the list, this response
1606
- # contains only the actual results.
1655
+ # The maximum number of medical transcription jobs to return in each
1656
+ # page of results. If there are fewer results than the value you
1657
+ # specify, only the actual results are returned. If you do not specify a
1658
+ # value, the default of 5 is used.
1607
1659
  #
1608
1660
  # @return [Types::ListMedicalTranscriptionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1609
1661
  #
@@ -1658,7 +1710,10 @@ module Aws::TranscribeService
1658
1710
  # vocabularies.
1659
1711
  #
1660
1712
  # @option params [Integer] :max_results
1661
- # The maximum number of vocabularies to return in the response.
1713
+ # The maximum number of vocabularies to return in each page of results.
1714
+ # If there are fewer results than the value you specify, only the actual
1715
+ # results are returned. If you do not specify a value, the default of 5
1716
+ # is used.
1662
1717
  #
1663
1718
  # @option params [String] :state_equals
1664
1719
  # When specified, returns only vocabularies with the `VocabularyState`
@@ -1706,6 +1761,39 @@ module Aws::TranscribeService
1706
1761
  req.send_request(options)
1707
1762
  end
1708
1763
 
1764
+ # Lists all tags associated with a given transcription job, vocabulary,
1765
+ # or resource.
1766
+ #
1767
+ # @option params [required, String] :resource_arn
1768
+ # Lists all tags associated with a given Amazon Resource Name (ARN).
1769
+ #
1770
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1771
+ #
1772
+ # * {Types::ListTagsForResourceResponse#resource_arn #resource_arn} => String
1773
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1774
+ #
1775
+ # @example Request syntax with placeholder values
1776
+ #
1777
+ # resp = client.list_tags_for_resource({
1778
+ # resource_arn: "TranscribeArn", # required
1779
+ # })
1780
+ #
1781
+ # @example Response structure
1782
+ #
1783
+ # resp.resource_arn #=> String
1784
+ # resp.tags #=> Array
1785
+ # resp.tags[0].key #=> String
1786
+ # resp.tags[0].value #=> String
1787
+ #
1788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResource AWS API Documentation
1789
+ #
1790
+ # @overload list_tags_for_resource(params = {})
1791
+ # @param [Hash] params ({})
1792
+ def list_tags_for_resource(params = {}, options = {})
1793
+ req = build_request(:list_tags_for_resource, params)
1794
+ req.send_request(options)
1795
+ end
1796
+
1709
1797
  # Lists transcription jobs with the specified status.
1710
1798
  #
1711
1799
  # @option params [String] :status
@@ -1723,9 +1811,9 @@ module Aws::TranscribeService
1723
1811
  # truncated, include the `NextToken` to fetch the next set of jobs.
1724
1812
  #
1725
1813
  # @option params [Integer] :max_results
1726
- # The maximum number of jobs to return in the response. If there are
1727
- # fewer results in the list, this response contains only the actual
1728
- # results.
1814
+ # The maximum number of jobs to return in each page of results. If there
1815
+ # are fewer results than the value you specify, only the actual results
1816
+ # are returned. If you do not specify a value, the default of 5 is used.
1729
1817
  #
1730
1818
  # @return [Types::ListTranscriptionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1731
1819
  #
@@ -1780,9 +1868,10 @@ module Aws::TranscribeService
1780
1868
  # truncated, include the `NextToken` to fetch the next set of jobs.
1781
1869
  #
1782
1870
  # @option params [Integer] :max_results
1783
- # The maximum number of vocabularies to return in the response. If there
1784
- # are fewer results in the list, this response contains only the actual
1785
- # results.
1871
+ # The maximum number of vocabularies to return in each page of results.
1872
+ # If there are fewer results than the value you specify, only the actual
1873
+ # results are returned. If you do not specify a value, the default of 5
1874
+ # is used.
1786
1875
  #
1787
1876
  # @option params [String] :state_equals
1788
1877
  # When specified, only returns vocabularies with the `VocabularyState`
@@ -1838,9 +1927,10 @@ module Aws::TranscribeService
1838
1927
  # collections.
1839
1928
  #
1840
1929
  # @option params [Integer] :max_results
1841
- # The maximum number of filters to return in the response. If there are
1842
- # fewer results in the list, this response contains only the actual
1843
- # results.
1930
+ # The maximum number of filters to return in each page of results. If
1931
+ # there are fewer results than the value you specify, only the actual
1932
+ # results are returned. If you do not specify a value, the default of 5
1933
+ # is used.
1844
1934
  #
1845
1935
  # @option params [String] :name_contains
1846
1936
  # Filters the response so that it only contains vocabulary filters whose
@@ -1890,9 +1980,9 @@ module Aws::TranscribeService
1890
1980
  # @option params [required, String] :call_analytics_job_name
1891
1981
  # The name of the call analytics job. You can't use the string "." or
1892
1982
  # ".." by themselves as the job name. The name must also be unique
1893
- # within an AWS account. If you try to create a call analytics job with
1894
- # the same name as a previous call analytics job, you get a
1895
- # `ConflictException` error.
1983
+ # within an Amazon Web Services account. If you try to create a call
1984
+ # analytics job with the same name as a previous call analytics job, you
1985
+ # get a `ConflictException` error.
1896
1986
  #
1897
1987
  # @option params [required, Types::Media] :media
1898
1988
  # Describes the input media file in a transcription request.
@@ -1921,19 +2011,21 @@ module Aws::TranscribeService
1921
2011
  # Transcribe saves the output of the analytics job as
1922
2012
  # s3://DOC-EXAMPLEBUCKET1/folder/filename.json
1923
2013
  #
1924
- # You can specify an AWS Key Management Service key to encrypt the
1925
- # output of our analytics job using the `OutputEncryptionKMSKeyId`
1926
- # parameter. If you don't specify a KMS key, Amazon Transcribe uses the
1927
- # default Amazon S3 key for server-side encryption of the analytics job
1928
- # output that is placed in your S3 bucket.
2014
+ # You can specify an Amazon Web Services Key Management Service (KMS)
2015
+ # key to encrypt the output of our analytics job using the
2016
+ # `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS key,
2017
+ # Amazon Transcribe uses the default Amazon S3 key for server-side
2018
+ # encryption of the analytics job output that is placed in your S3
2019
+ # bucket.
1929
2020
  #
1930
2021
  # @option params [String] :output_encryption_kms_key_id
1931
- # The Amazon Resource Name (ARN) of the AWS Key Management Service key
1932
- # used to encrypt the output of the call analytics job. The user calling
1933
- # the operation must have permission to use the specified KMS key.
2022
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Key
2023
+ # Management Service key used to encrypt the output of the call
2024
+ # analytics job. The user calling the operation must have permission to
2025
+ # use the specified KMS key.
1934
2026
  #
1935
- # You use either of the following to identify an AWS KMS key in the
1936
- # current account:
2027
+ # You use either of the following to identify an Amazon Web Services KMS
2028
+ # key in the current account:
1937
2029
  #
1938
2030
  # * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
1939
2031
  #
@@ -2165,7 +2257,10 @@ module Aws::TranscribeService
2165
2257
  # The type of speech in the input audio. `CONVERSATION` refers to
2166
2258
  # conversations between two or more speakers, e.g., a conversations
2167
2259
  # between doctors and patients. `DICTATION` refers to single-speaker
2168
- # dictated speech, e.g., for clinical notes.
2260
+ # dictated speech, such as clinical notes.
2261
+ #
2262
+ # @option params [Array<Types::Tag>] :tags
2263
+ # Add tags to an Amazon Transcribe medical transcription job.
2169
2264
  #
2170
2265
  # @return [Types::StartMedicalTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2171
2266
  #
@@ -2196,6 +2291,12 @@ module Aws::TranscribeService
2196
2291
  # content_identification_type: "PHI", # accepts PHI
2197
2292
  # specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
2198
2293
  # type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
2294
+ # tags: [
2295
+ # {
2296
+ # key: "TagKey", # required
2297
+ # value: "TagValue", # required
2298
+ # },
2299
+ # ],
2199
2300
  # })
2200
2301
  #
2201
2302
  # @example Response structure
@@ -2221,6 +2322,9 @@ module Aws::TranscribeService
2221
2322
  # resp.medical_transcription_job.content_identification_type #=> String, one of "PHI"
2222
2323
  # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
2223
2324
  # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
2325
+ # resp.medical_transcription_job.tags #=> Array
2326
+ # resp.medical_transcription_job.tags[0].key #=> String
2327
+ # resp.medical_transcription_job.tags[0].value #=> String
2224
2328
  #
2225
2329
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob AWS API Documentation
2226
2330
  #
@@ -2244,7 +2348,7 @@ module Aws::TranscribeService
2244
2348
  # The language code for the language used in the input media file.
2245
2349
  #
2246
2350
  # To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
2247
- # video file must be encoded at a sample rate of 16000 Hz or higher.
2351
+ # video file must be encoded at a sample rate of 16,000 Hz or higher.
2248
2352
  #
2249
2353
  # @option params [Integer] :media_sample_rate_hertz
2250
2354
  # The sample rate, in Hertz, of the audio track in the input media file.
@@ -2371,7 +2475,10 @@ module Aws::TranscribeService
2371
2475
  # language that best matches the source audio from that list.
2372
2476
  #
2373
2477
  # To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
2374
- # video file must be encoded at a sample rate of 16000 Hz or higher.
2478
+ # video file must be encoded at a sample rate of 16,000 Hz or higher.
2479
+ #
2480
+ # @option params [Array<Types::Tag>] :tags
2481
+ # Add tags to an Amazon Transcribe transcription job.
2375
2482
  #
2376
2483
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2377
2484
  #
@@ -2414,6 +2521,12 @@ module Aws::TranscribeService
2414
2521
  # },
2415
2522
  # identify_language: false,
2416
2523
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
2524
+ # tags: [
2525
+ # {
2526
+ # key: "TagKey", # required
2527
+ # value: "TagValue", # required
2528
+ # },
2529
+ # ],
2417
2530
  # })
2418
2531
  #
2419
2532
  # @example Response structure
@@ -2448,6 +2561,9 @@ module Aws::TranscribeService
2448
2561
  # resp.transcription_job.language_options #=> Array
2449
2562
  # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2450
2563
  # resp.transcription_job.identified_language_score #=> Float
2564
+ # resp.transcription_job.tags #=> Array
2565
+ # resp.transcription_job.tags[0].key #=> String
2566
+ # resp.transcription_job.tags[0].value #=> String
2451
2567
  #
2452
2568
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
2453
2569
  #
@@ -2458,6 +2574,66 @@ module Aws::TranscribeService
2458
2574
  req.send_request(options)
2459
2575
  end
2460
2576
 
2577
+ # Tags a Amazon Transcribe resource with the given list of tags.
2578
+ #
2579
+ # @option params [required, String] :resource_arn
2580
+ # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2581
+ # want to tag.
2582
+ #
2583
+ # @option params [required, Array<Types::Tag>] :tags
2584
+ # The tags you are assigning to a given Amazon Transcribe resource.
2585
+ #
2586
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2587
+ #
2588
+ # @example Request syntax with placeholder values
2589
+ #
2590
+ # resp = client.tag_resource({
2591
+ # resource_arn: "TranscribeArn", # required
2592
+ # tags: [ # required
2593
+ # {
2594
+ # key: "TagKey", # required
2595
+ # value: "TagValue", # required
2596
+ # },
2597
+ # ],
2598
+ # })
2599
+ #
2600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResource AWS API Documentation
2601
+ #
2602
+ # @overload tag_resource(params = {})
2603
+ # @param [Hash] params ({})
2604
+ def tag_resource(params = {}, options = {})
2605
+ req = build_request(:tag_resource, params)
2606
+ req.send_request(options)
2607
+ end
2608
+
2609
+ # Removes specified tags from a specified Amazon Transcribe resource.
2610
+ #
2611
+ # @option params [required, String] :resource_arn
2612
+ # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2613
+ # want to remove tags from.
2614
+ #
2615
+ # @option params [required, Array<String>] :tag_keys
2616
+ # A list of tag keys you want to remove from a specified Amazon
2617
+ # Transcribe resource.
2618
+ #
2619
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2620
+ #
2621
+ # @example Request syntax with placeholder values
2622
+ #
2623
+ # resp = client.untag_resource({
2624
+ # resource_arn: "TranscribeArn", # required
2625
+ # tag_keys: ["TagKey"], # required
2626
+ # })
2627
+ #
2628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UntagResource AWS API Documentation
2629
+ #
2630
+ # @overload untag_resource(params = {})
2631
+ # @param [Hash] params ({})
2632
+ def untag_resource(params = {}, options = {})
2633
+ req = build_request(:untag_resource, params)
2634
+ req.send_request(options)
2635
+ end
2636
+
2461
2637
  # Updates the call analytics category with new values. The
2462
2638
  # `UpdateCallAnalyticsCategory` operation overwrites all of the existing
2463
2639
  # information with the values that you provide in the request.
@@ -2632,10 +2808,10 @@ module Aws::TranscribeService
2632
2808
  # Amazon Transcribe Medical.
2633
2809
  #
2634
2810
  # @option params [String] :vocabulary_file_uri
2635
- # The location in Amazon S3 of the text file that contains the you use
2636
- # for your custom vocabulary. The URI must be in the same Amazon Web
2637
- # Services Region as the resource that you are calling. The following is
2638
- # the format for a URI:
2811
+ # The location in Amazon S3 of the text file that contains your custom
2812
+ # vocabulary. The URI must be in the same Amazon Web Services Region as
2813
+ # the resource that you are calling. The following is the format for a
2814
+ # URI:
2639
2815
  #
2640
2816
  # `
2641
2817
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
@@ -2698,7 +2874,7 @@ module Aws::TranscribeService
2698
2874
  #
2699
2875
  # @option params [required, String] :language_code
2700
2876
  # The language code of the vocabulary entries. For a list of languages
2701
- # and their corresponding language codes, see what-is-transcribe.
2877
+ # and their corresponding language codes, see transcribe-whatis.
2702
2878
  #
2703
2879
  # @option params [Array<String>] :phrases
2704
2880
  # An array of strings containing the vocabulary entries.
@@ -2830,7 +3006,7 @@ module Aws::TranscribeService
2830
3006
  params: params,
2831
3007
  config: config)
2832
3008
  context[:gem_name] = 'aws-sdk-transcribeservice'
2833
- context[:gem_version] = '1.58.0'
3009
+ context[:gem_version] = '1.59.0'
2834
3010
  Seahorse::Client::Request.new(handlers, context)
2835
3011
  end
2836
3012