aws-sdk-transcribestreamingservice 1.70.0 → 1.71.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: e47c1649b90a0c8c31a3b62bfd1963d5156c7221a7c6f19f03818d7c6ab2fcd7
4
- data.tar.gz: ce944d8b9747dd3d2b902c130dbaa0e5f9e236e141e4d4848a9280db078fe9a7
3
+ metadata.gz: 7adaec038cf125c8a4f92d78a5be2c0474bdc459288c6f52de3599354ed2af84
4
+ data.tar.gz: 7d9b4e6909a44b94dbbb73a4e774f20ad50984fdd933a6927a6250b4472be817
5
5
  SHA512:
6
- metadata.gz: 3fc315f55d8b664b42b7530bb6020899b535c2436d73fab07b8cead6bd5b4ebc361e717828c7cb15b6e689887f98d6680a3986c17117dfd49c3a837ff534a2bc
7
- data.tar.gz: 1fe9a051bcaa4beb1de6b5bbe3f1c3639b2b49c29a1d2fa20cf3c0d686235423f9886d58d2dee4ba7d82f54242287f4fdcf76a567479136f73f3a22f23cb9b50
6
+ metadata.gz: f91933cae1903226688afa9b86e87381025b633441cf76b474f95839df26a6ba663ffdf29b8aa0ae7357ee6a9149b3bb310bfc9e3c0d4e1ab20795df89fdf106
7
+ data.tar.gz: b4e69d507c4566cbb448fa337c5744ab7b354170b9f137dca2cb9a98c45d69808f89efc76fb1276326d4c714c8b07c9179c320d8c616d90ee50980eb2da291ad
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.71.0 (2024-10-15)
5
+ ------------------
6
+
7
+ * Feature - We are expanding support for 40 new locales in AWS Transcribe Streaming.
8
+
4
9
  1.70.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.70.0
1
+ 1.71.0
@@ -387,10 +387,7 @@ module Aws::TranscribeStreamingService
387
387
  # Specify the language code that represents the language spoken in your
388
388
  # audio.
389
389
  #
390
- # If you're unsure of the language spoken in your audio, consider using
391
- # `IdentifyLanguage` to enable automatic language identification.
392
- #
393
- # For a list of languages supported with streaming Call Analytics, refer
390
+ # For a list of languages supported with real-time Call Analytics, refer
394
391
  # to the [Supported languages][1] table.
395
392
  #
396
393
  #
@@ -439,8 +436,6 @@ module Aws::TranscribeStreamingService
439
436
  # don't include this parameter in your request, Amazon Transcribe
440
437
  # generates an ID and returns it in the response.
441
438
  #
442
- # You can use a session ID to retry a streaming session.
443
- #
444
439
  # @option params [String] :vocabulary_filter_name
445
440
  # Specify the name of the custom vocabulary filter that you want to use
446
441
  # when processing your transcription. Note that vocabulary filter names
@@ -511,7 +506,8 @@ module Aws::TranscribeStreamingService
511
506
  #
512
507
  # Content identification is performed at the segment level; PII
513
508
  # specified in `PiiEntityTypes` is flagged upon complete transcription
514
- # of an audio segment.
509
+ # of an audio segment. If you don't include `PiiEntityTypes` in your
510
+ # request, all PII is identified.
515
511
  #
516
512
  # You can’t set `ContentIdentificationType` and `ContentRedactionType`
517
513
  # in the same request. If you set both, your request returns a
@@ -530,7 +526,8 @@ module Aws::TranscribeStreamingService
530
526
  #
531
527
  # Content redaction is performed at the segment level; PII specified in
532
528
  # `PiiEntityTypes` is redacted upon complete transcription of an audio
533
- # segment.
529
+ # segment. If you don't include `PiiEntityTypes` in your request, all
530
+ # PII is redacted.
534
531
  #
535
532
  # You can’t set `ContentRedactionType` and `ContentIdentificationType`
536
533
  # in the same request. If you set both, your request returns a
@@ -548,14 +545,17 @@ module Aws::TranscribeStreamingService
548
545
  # want to redact in your transcript. You can include as many types as
549
546
  # you'd like, or you can select `ALL`.
550
547
  #
551
- # To include `PiiEntityTypes` in your Call Analytics request, you must
552
- # also include either `ContentIdentificationType` or
553
- # `ContentRedactionType`.
548
+ # Values must be comma-separated and can include: `ADDRESS`,
549
+ # `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_CVV`,
550
+ # `CREDIT_DEBIT_EXPIRY`, `CREDIT_DEBIT_NUMBER`, `EMAIL`, `NAME`,
551
+ # `PHONE`, `PIN`, `SSN`, or `ALL`.
552
+ #
553
+ # Note that if you include `PiiEntityTypes` in your request, you must
554
+ # also include `ContentIdentificationType` or `ContentRedactionType`.
554
555
  #
555
- # Values must be comma-separated and can include: `BANK_ACCOUNT_NUMBER`,
556
- # `BANK_ROUTING`, `CREDIT_DEBIT_NUMBER`, `CREDIT_DEBIT_CVV`,
557
- # `CREDIT_DEBIT_EXPIRY`, `PIN`, `EMAIL`, `ADDRESS`, `NAME`, `PHONE`,
558
- # `SSN`, or `ALL`.
556
+ # If you include `ContentRedactionType` or `ContentIdentificationType`
557
+ # in your request, but do not include `PiiEntityTypes`, all PII is
558
+ # redacted or identified.
559
559
  #
560
560
  # @return [Types::StartCallAnalyticsStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
561
561
  #
@@ -873,8 +873,6 @@ module Aws::TranscribeStreamingService
873
873
  # this parameter in your request, Amazon Transcribe Medical generates an
874
874
  # ID and returns it in the response.
875
875
  #
876
- # You can use a session ID to retry a streaming session.
877
- #
878
876
  # @option params [Boolean] :enable_channel_identification
879
877
  # Enables channel identification in multi-channel audio.
880
878
  #
@@ -886,6 +884,9 @@ module Aws::TranscribeStreamingService
886
884
  # identification, your audio is transcribed in a continuous manner and
887
885
  # your transcript is not separated by channel.
888
886
  #
887
+ # If you include `EnableChannelIdentification` in your request, you must
888
+ # also include `NumberOfChannels`.
889
+ #
889
890
  # For more information, see [Transcribing multi-channel audio][1].
890
891
  #
891
892
  #
@@ -893,8 +894,13 @@ module Aws::TranscribeStreamingService
893
894
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/channel-id.html
894
895
  #
895
896
  # @option params [Integer] :number_of_channels
896
- # Specify the number of channels in your audio stream. Up to two
897
- # channels are supported.
897
+ # Specify the number of channels in your audio stream. This value must
898
+ # be `2`, as only two channels are supported. If your audio doesn't
899
+ # contain multiple channels, do not include this parameter in your
900
+ # request.
901
+ #
902
+ # If you include `NumberOfChannels` in your request, you must also
903
+ # include `EnableChannelIdentification`.
898
904
  #
899
905
  # @option params [String] :content_identification_type
900
906
  # Labels all personal health information (PHI) identified in your
@@ -1023,7 +1029,7 @@ module Aws::TranscribeStreamingService
1023
1029
  # @example Request syntax with placeholder values
1024
1030
  #
1025
1031
  # async_resp = async_client.start_medical_stream_transcription({
1026
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
1032
+ # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, th-TH, es-ES, ar-SA, pt-PT, ca-ES, ar-AE, hi-IN, zh-HK, nl-NL, no-NO, sv-SE, pl-PL, fi-FI, zh-TW, en-IN, en-IE, en-NZ, en-AB, en-ZA, en-WL, de-CH, af-ZA, eu-ES, hr-HR, cs-CZ, da-DK, fa-IR, gl-ES, el-GR, he-IL, id-ID, lv-LV, ms-MY, ro-RO, ru-RU, sr-RS, sk-SK, so-SO, tl-PH, uk-UA, vi-VN, zu-ZA
1027
1033
  # media_sample_rate_hertz: 1, # required
1028
1034
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
1029
1035
  # vocabulary_name: "VocabularyName",
@@ -1044,7 +1050,7 @@ module Aws::TranscribeStreamingService
1044
1050
  # @example Response structure
1045
1051
  #
1046
1052
  # resp.request_id #=> String
1047
- # resp.language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "hi-IN", "th-TH"
1053
+ # resp.language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "th-TH", "es-ES", "ar-SA", "pt-PT", "ca-ES", "ar-AE", "hi-IN", "zh-HK", "nl-NL", "no-NO", "sv-SE", "pl-PL", "fi-FI", "zh-TW", "en-IN", "en-IE", "en-NZ", "en-AB", "en-ZA", "en-WL", "de-CH", "af-ZA", "eu-ES", "hr-HR", "cs-CZ", "da-DK", "fa-IR", "gl-ES", "el-GR", "he-IL", "id-ID", "lv-LV", "ms-MY", "ro-RO", "ru-RU", "sr-RS", "sk-SK", "so-SO", "tl-PH", "uk-UA", "vi-VN", "zu-ZA"
1048
1054
  # resp.media_sample_rate_hertz #=> Integer
1049
1055
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
1050
1056
  # resp.vocabulary_name #=> String
@@ -1208,8 +1214,6 @@ module Aws::TranscribeStreamingService
1208
1214
  # this parameter in your request, Amazon Transcribe generates an ID and
1209
1215
  # returns it in the response.
1210
1216
  #
1211
- # You can use a session ID to retry a streaming session.
1212
- #
1213
1217
  # @option params [String] :vocabulary_filter_name
1214
1218
  # Specify the name of the custom vocabulary filter that you want to use
1215
1219
  # when processing your transcription. Note that vocabulary filter names
@@ -1263,6 +1267,9 @@ module Aws::TranscribeStreamingService
1263
1267
  # identification, your audio is transcribed in a continuous manner and
1264
1268
  # your transcript is not separated by channel.
1265
1269
  #
1270
+ # If you include `EnableChannelIdentification` in your request, you must
1271
+ # also include `NumberOfChannels`.
1272
+ #
1266
1273
  # For more information, see [Transcribing multi-channel audio][1].
1267
1274
  #
1268
1275
  #
@@ -1270,8 +1277,13 @@ module Aws::TranscribeStreamingService
1270
1277
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/channel-id.html
1271
1278
  #
1272
1279
  # @option params [Integer] :number_of_channels
1273
- # Specify the number of channels in your audio stream. Up to two
1274
- # channels are supported.
1280
+ # Specify the number of channels in your audio stream. This value must
1281
+ # be `2`, as only two channels are supported. If your audio doesn't
1282
+ # contain multiple channels, do not include this parameter in your
1283
+ # request.
1284
+ #
1285
+ # If you include `NumberOfChannels` in your request, you must also
1286
+ # include `EnableChannelIdentification`.
1275
1287
  #
1276
1288
  # @option params [Boolean] :enable_partial_results_stabilization
1277
1289
  # Enables partial result stabilization for your transcription. Partial
@@ -1301,7 +1313,8 @@ module Aws::TranscribeStreamingService
1301
1313
  #
1302
1314
  # Content identification is performed at the segment level; PII
1303
1315
  # specified in `PiiEntityTypes` is flagged upon complete transcription
1304
- # of an audio segment.
1316
+ # of an audio segment. If you don't include `PiiEntityTypes` in your
1317
+ # request, all PII is identified.
1305
1318
  #
1306
1319
  # You can’t set `ContentIdentificationType` and `ContentRedactionType`
1307
1320
  # in the same request. If you set both, your request returns a
@@ -1320,7 +1333,8 @@ module Aws::TranscribeStreamingService
1320
1333
  #
1321
1334
  # Content redaction is performed at the segment level; PII specified in
1322
1335
  # `PiiEntityTypes` is redacted upon complete transcription of an audio
1323
- # segment.
1336
+ # segment. If you don't include `PiiEntityTypes` in your request, all
1337
+ # PII is redacted.
1324
1338
  #
1325
1339
  # You can’t set `ContentRedactionType` and `ContentIdentificationType`
1326
1340
  # in the same request. If you set both, your request returns a
@@ -1338,13 +1352,17 @@ module Aws::TranscribeStreamingService
1338
1352
  # want to redact in your transcript. You can include as many types as
1339
1353
  # you'd like, or you can select `ALL`.
1340
1354
  #
1341
- # To include `PiiEntityTypes` in your request, you must also include
1342
- # either `ContentIdentificationType` or `ContentRedactionType`.
1355
+ # Values must be comma-separated and can include: `ADDRESS`,
1356
+ # `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_CVV`,
1357
+ # `CREDIT_DEBIT_EXPIRY`, `CREDIT_DEBIT_NUMBER`, `EMAIL`, `NAME`,
1358
+ # `PHONE`, `PIN`, `SSN`, or `ALL`.
1359
+ #
1360
+ # Note that if you include `PiiEntityTypes` in your request, you must
1361
+ # also include `ContentIdentificationType` or `ContentRedactionType`.
1343
1362
  #
1344
- # Values must be comma-separated and can include: `BANK_ACCOUNT_NUMBER`,
1345
- # `BANK_ROUTING`, `CREDIT_DEBIT_NUMBER`, `CREDIT_DEBIT_CVV`,
1346
- # `CREDIT_DEBIT_EXPIRY`, `PIN`, `EMAIL`, `ADDRESS`, `NAME`, `PHONE`,
1347
- # `SSN`, or `ALL`.
1363
+ # If you include `ContentRedactionType` or `ContentIdentificationType`
1364
+ # in your request, but do not include `PiiEntityTypes`, all PII is
1365
+ # redacted or identified.
1348
1366
  #
1349
1367
  # @option params [String] :language_model_name
1350
1368
  # Specify the name of the custom language model that you want to use
@@ -1365,10 +1383,9 @@ module Aws::TranscribeStreamingService
1365
1383
  # @option params [Boolean] :identify_language
1366
1384
  # Enables automatic language identification for your transcription.
1367
1385
  #
1368
- # If you include `IdentifyLanguage`, you can optionally include a list
1369
- # of language codes, using `LanguageOptions`, that you think may be
1370
- # present in your audio stream. Including language options can improve
1371
- # transcription accuracy.
1386
+ # If you include `IdentifyLanguage`, you must include a list of language
1387
+ # codes, using `LanguageOptions`, that you think may be present in your
1388
+ # audio stream.
1372
1389
  #
1373
1390
  # You can also include a preferred language using `PreferredLanguage`.
1374
1391
  # Adding a preferred language can help Amazon Transcribe identify the
@@ -1389,14 +1406,13 @@ module Aws::TranscribeStreamingService
1389
1406
  # @option params [String] :language_options
1390
1407
  # Specify two or more language codes that represent the languages you
1391
1408
  # think may be present in your media; including more than five is not
1392
- # recommended. If you're unsure what languages are present, do not
1393
- # include this parameter.
1409
+ # recommended.
1394
1410
  #
1395
1411
  # Including language options can improve the accuracy of language
1396
1412
  # identification.
1397
1413
  #
1398
1414
  # If you include `LanguageOptions` in your request, you must also
1399
- # include `IdentifyLanguage`.
1415
+ # include `IdentifyLanguage` or `IdentifyMultipleLanguages`.
1400
1416
  #
1401
1417
  # For a list of languages supported with Amazon Transcribe streaming,
1402
1418
  # refer to the [Supported languages][1] table.
@@ -1421,11 +1437,9 @@ module Aws::TranscribeStreamingService
1421
1437
  # language. If your stream contains only one language, use
1422
1438
  # IdentifyLanguage instead.
1423
1439
  #
1424
- # If you include `IdentifyMultipleLanguages`, you can optionally include
1425
- # a list of language codes, using `LanguageOptions`, that you think may
1426
- # be present in your stream. Including `LanguageOptions` restricts
1427
- # `IdentifyMultipleLanguages` to only the language options that you
1428
- # specify, which can improve transcription accuracy.
1440
+ # If you include `IdentifyMultipleLanguages`, you must include a list of
1441
+ # language codes, using `LanguageOptions`, that you think may be present
1442
+ # in your stream.
1429
1443
  #
1430
1444
  # If you want to apply a custom vocabulary or a custom vocabulary filter
1431
1445
  # to your automatic multiple language identification request, include
@@ -1599,7 +1613,7 @@ module Aws::TranscribeStreamingService
1599
1613
  # @example Request syntax with placeholder values
1600
1614
  #
1601
1615
  # async_resp = async_client.start_stream_transcription({
1602
- # language_code: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
1616
+ # language_code: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, th-TH, es-ES, ar-SA, pt-PT, ca-ES, ar-AE, hi-IN, zh-HK, nl-NL, no-NO, sv-SE, pl-PL, fi-FI, zh-TW, en-IN, en-IE, en-NZ, en-AB, en-ZA, en-WL, de-CH, af-ZA, eu-ES, hr-HR, cs-CZ, da-DK, fa-IR, gl-ES, el-GR, he-IL, id-ID, lv-LV, ms-MY, ro-RO, ru-RU, sr-RS, sk-SK, so-SO, tl-PH, uk-UA, vi-VN, zu-ZA
1603
1617
  # media_sample_rate_hertz: 1, # required
1604
1618
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
1605
1619
  # vocabulary_name: "VocabularyName",
@@ -1618,7 +1632,7 @@ module Aws::TranscribeStreamingService
1618
1632
  # language_model_name: "ModelName",
1619
1633
  # identify_language: false,
1620
1634
  # language_options: "LanguageOptions",
1621
- # preferred_language: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
1635
+ # preferred_language: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, th-TH, es-ES, ar-SA, pt-PT, ca-ES, ar-AE, hi-IN, zh-HK, nl-NL, no-NO, sv-SE, pl-PL, fi-FI, zh-TW, en-IN, en-IE, en-NZ, en-AB, en-ZA, en-WL, de-CH, af-ZA, eu-ES, hr-HR, cs-CZ, da-DK, fa-IR, gl-ES, el-GR, he-IL, id-ID, lv-LV, ms-MY, ro-RO, ru-RU, sr-RS, sk-SK, so-SO, tl-PH, uk-UA, vi-VN, zu-ZA
1622
1636
  # identify_multiple_languages: false,
1623
1637
  # vocabulary_names: "VocabularyNames",
1624
1638
  # vocabulary_filter_names: "VocabularyFilterNames",
@@ -1631,7 +1645,7 @@ module Aws::TranscribeStreamingService
1631
1645
  # @example Response structure
1632
1646
  #
1633
1647
  # resp.request_id #=> String
1634
- # resp.language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "hi-IN", "th-TH"
1648
+ # resp.language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "th-TH", "es-ES", "ar-SA", "pt-PT", "ca-ES", "ar-AE", "hi-IN", "zh-HK", "nl-NL", "no-NO", "sv-SE", "pl-PL", "fi-FI", "zh-TW", "en-IN", "en-IE", "en-NZ", "en-AB", "en-ZA", "en-WL", "de-CH", "af-ZA", "eu-ES", "hr-HR", "cs-CZ", "da-DK", "fa-IR", "gl-ES", "el-GR", "he-IL", "id-ID", "lv-LV", "ms-MY", "ro-RO", "ru-RU", "sr-RS", "sk-SK", "so-SO", "tl-PH", "uk-UA", "vi-VN", "zu-ZA"
1635
1649
  # resp.media_sample_rate_hertz #=> Integer
1636
1650
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
1637
1651
  # resp.vocabulary_name #=> String
@@ -1665,9 +1679,9 @@ module Aws::TranscribeStreamingService
1665
1679
  # event.transcript.results[0].alternatives[0].entities[0].content #=> String
1666
1680
  # event.transcript.results[0].alternatives[0].entities[0].confidence #=> Float
1667
1681
  # event.transcript.results[0].channel_id #=> String
1668
- # event.transcript.results[0].language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "hi-IN", "th-TH"
1682
+ # event.transcript.results[0].language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "th-TH", "es-ES", "ar-SA", "pt-PT", "ca-ES", "ar-AE", "hi-IN", "zh-HK", "nl-NL", "no-NO", "sv-SE", "pl-PL", "fi-FI", "zh-TW", "en-IN", "en-IE", "en-NZ", "en-AB", "en-ZA", "en-WL", "de-CH", "af-ZA", "eu-ES", "hr-HR", "cs-CZ", "da-DK", "fa-IR", "gl-ES", "el-GR", "he-IL", "id-ID", "lv-LV", "ms-MY", "ro-RO", "ru-RU", "sr-RS", "sk-SK", "so-SO", "tl-PH", "uk-UA", "vi-VN", "zu-ZA"
1669
1683
  # event.transcript.results[0].language_identification #=> Array
1670
- # event.transcript.results[0].language_identification[0].language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "hi-IN", "th-TH"
1684
+ # event.transcript.results[0].language_identification[0].language_code #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "th-TH", "es-ES", "ar-SA", "pt-PT", "ca-ES", "ar-AE", "hi-IN", "zh-HK", "nl-NL", "no-NO", "sv-SE", "pl-PL", "fi-FI", "zh-TW", "en-IN", "en-IE", "en-NZ", "en-AB", "en-ZA", "en-WL", "de-CH", "af-ZA", "eu-ES", "hr-HR", "cs-CZ", "da-DK", "fa-IR", "gl-ES", "el-GR", "he-IL", "id-ID", "lv-LV", "ms-MY", "ro-RO", "ru-RU", "sr-RS", "sk-SK", "so-SO", "tl-PH", "uk-UA", "vi-VN", "zu-ZA"
1671
1685
  # event.transcript.results[0].language_identification[0].score #=> Float
1672
1686
  #
1673
1687
  # For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
@@ -1698,7 +1712,7 @@ module Aws::TranscribeStreamingService
1698
1712
  # resp.language_model_name #=> String
1699
1713
  # resp.identify_language #=> Boolean
1700
1714
  # resp.language_options #=> String
1701
- # resp.preferred_language #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "hi-IN", "th-TH"
1715
+ # resp.preferred_language #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "th-TH", "es-ES", "ar-SA", "pt-PT", "ca-ES", "ar-AE", "hi-IN", "zh-HK", "nl-NL", "no-NO", "sv-SE", "pl-PL", "fi-FI", "zh-TW", "en-IN", "en-IE", "en-NZ", "en-AB", "en-ZA", "en-WL", "de-CH", "af-ZA", "eu-ES", "hr-HR", "cs-CZ", "da-DK", "fa-IR", "gl-ES", "el-GR", "he-IL", "id-ID", "lv-LV", "ms-MY", "ro-RO", "ru-RU", "sr-RS", "sk-SK", "so-SO", "tl-PH", "uk-UA", "vi-VN", "zu-ZA"
1702
1716
  # resp.identify_multiple_languages #=> Boolean
1703
1717
  # resp.vocabulary_names #=> String
1704
1718
  # resp.vocabulary_filter_names #=> String
@@ -1751,7 +1765,7 @@ module Aws::TranscribeStreamingService
1751
1765
  tracer: tracer
1752
1766
  )
1753
1767
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
1754
- context[:gem_version] = '1.70.0'
1768
+ context[:gem_version] = '1.71.0'
1755
1769
  Seahorse::Client::Request.new(handlers, context)
1756
1770
  end
1757
1771
 
@@ -476,7 +476,7 @@ module Aws::TranscribeStreamingService
476
476
  tracer: tracer
477
477
  )
478
478
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
479
- context[:gem_version] = '1.70.0'
479
+ context[:gem_version] = '1.71.0'
480
480
  Seahorse::Client::Request.new(handlers, context)
481
481
  end
482
482
 
@@ -29,7 +29,15 @@ module Aws::TranscribeStreamingService
29
29
  # @option params [Types::PostCallAnalyticsSettings] :post_call_analytics_settings
30
30
  # Provides additional optional settings for your Call Analytics
31
31
  # post-call request, including encryption and output locations for your
32
- # redacted and unredacted transcript.
32
+ # redacted transcript.
33
+ #
34
+ # `PostCallAnalyticsSettings` provides you with the same insights as a
35
+ # Call Analytics post-call transcription. Refer to [Post-call
36
+ # analytics][1] for more information on this feature.
37
+ #
38
+ #
39
+ #
40
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tca-post-call.html
33
41
  #
34
42
  def signal_configuration_event_event(params = {})
35
43
  @event_emitter.emit(:configuration_event, params)
@@ -65,7 +73,15 @@ module Aws::TranscribeStreamingService
65
73
  # @option params [Types::PostCallAnalyticsSettings] :post_call_analytics_settings
66
74
  # Provides additional optional settings for your Call Analytics
67
75
  # post-call request, including encryption and output locations for your
68
- # redacted and unredacted transcript.
76
+ # redacted transcript.
77
+ #
78
+ # `PostCallAnalyticsSettings` provides you with the same insights as a
79
+ # Call Analytics post-call transcription. Refer to [Post-call
80
+ # analytics][1] for more information on this feature.
81
+ #
82
+ #
83
+ #
84
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tca-post-call.html
69
85
  #
70
86
  def signal_configuration_event_event(params = {})
71
87
  @event_emitter.emit(:configuration_event, params)
@@ -101,7 +117,15 @@ module Aws::TranscribeStreamingService
101
117
  # @option params [Types::PostCallAnalyticsSettings] :post_call_analytics_settings
102
118
  # Provides additional optional settings for your Call Analytics
103
119
  # post-call request, including encryption and output locations for your
104
- # redacted and unredacted transcript.
120
+ # redacted transcript.
121
+ #
122
+ # `PostCallAnalyticsSettings` provides you with the same insights as a
123
+ # Call Analytics post-call transcription. Refer to [Post-call
124
+ # analytics][1] for more information on this feature.
125
+ #
126
+ #
127
+ #
128
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tca-post-call.html
105
129
  #
106
130
  def signal_configuration_event_event(params = {})
107
131
  @event_emitter.emit(:configuration_event, params)
@@ -64,7 +64,7 @@ module Aws::TranscribeStreamingService
64
64
  # One or more arguments to the `StartStreamTranscription`,
65
65
  # `StartMedicalStreamTranscription`, or
66
66
  # `StartCallAnalyticsStreamTranscription` operation was not valid. For
67
- # example, `MediaEncoding` or `LanguageCode` used not valid values.
67
+ # example, `MediaEncoding` or `LanguageCode` used unsupported values.
68
68
  # Check the specified parameters and try your request again.
69
69
  #
70
70
  # @!attribute [rw] message
@@ -269,7 +269,15 @@ module Aws::TranscribeStreamingService
269
269
  # @!attribute [rw] post_call_analytics_settings
270
270
  # Provides additional optional settings for your Call Analytics
271
271
  # post-call request, including encryption and output locations for
272
- # your redacted and unredacted transcript.
272
+ # your redacted transcript.
273
+ #
274
+ # `PostCallAnalyticsSettings` provides you with the same insights as a
275
+ # Call Analytics post-call transcription. Refer to [Post-call
276
+ # analytics][1] for more information on this feature.
277
+ #
278
+ #
279
+ #
280
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tca-post-call.html
273
281
  # @return [Types::PostCallAnalyticsSettings]
274
282
  #
275
283
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/ConfigurationEvent AWS API Documentation
@@ -713,13 +721,19 @@ module Aws::TranscribeStreamingService
713
721
  include Aws::Structure
714
722
  end
715
723
 
716
- # Allows you to specify additional settings for your streaming Call
717
- # Analytics post-call request, including output locations for your
718
- # redacted and unredacted transcript, which IAM role to use, and,
719
- # optionally, which encryption key to use.
724
+ # Allows you to specify additional settings for your Call Analytics
725
+ # post-call request, including output locations for your redacted
726
+ # transcript, which IAM role to use, and which encryption key to use.
727
+ #
728
+ # `DataAccessRoleArn` and `OutputLocation` are required fields.
729
+ #
730
+ # `PostCallAnalyticsSettings` provides you with the same insights as a
731
+ # Call Analytics post-call transcription. Refer to [Post-call
732
+ # analytics][1] for more information on this feature.
733
+ #
720
734
  #
721
- # `ContentRedactionOutput`, `DataAccessRoleArn`, and `OutputLocation`
722
- # are required fields.
735
+ #
736
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tca-post-call.html
723
737
  #
724
738
  # @!attribute [rw] output_location
725
739
  # The Amazon S3 location where you want your Call Analytics post-call
@@ -789,7 +803,7 @@ module Aws::TranscribeStreamingService
789
803
  # 2. Use the ARN for the KMS key alias. For example,
790
804
  # `arn:aws:kms:region:account-ID:alias/ExampleAlias`.
791
805
  #
792
- # Note that the user making the request must have permission to use
806
+ # Note that the role making the request must have permission to use
793
807
  # the specified KMS key.
794
808
  # @return [String]
795
809
  #
@@ -887,11 +901,7 @@ module Aws::TranscribeStreamingService
887
901
  # Specify the language code that represents the language spoken in
888
902
  # your audio.
889
903
  #
890
- # If you're unsure of the language spoken in your audio, consider
891
- # using `IdentifyLanguage` to enable automatic language
892
- # identification.
893
- #
894
- # For a list of languages supported with streaming Call Analytics,
904
+ # For a list of languages supported with real-time Call Analytics,
895
905
  # refer to the [Supported languages][1] table.
896
906
  #
897
907
  #
@@ -943,8 +953,6 @@ module Aws::TranscribeStreamingService
943
953
  # Specify a name for your Call Analytics transcription session. If you
944
954
  # don't include this parameter in your request, Amazon Transcribe
945
955
  # generates an ID and returns it in the response.
946
- #
947
- # You can use a session ID to retry a streaming session.
948
956
  # @return [String]
949
957
  #
950
958
  # @!attribute [rw] audio_stream
@@ -1034,7 +1042,8 @@ module Aws::TranscribeStreamingService
1034
1042
  #
1035
1043
  # Content identification is performed at the segment level; PII
1036
1044
  # specified in `PiiEntityTypes` is flagged upon complete transcription
1037
- # of an audio segment.
1045
+ # of an audio segment. If you don't include `PiiEntityTypes` in your
1046
+ # request, all PII is identified.
1038
1047
  #
1039
1048
  # You can’t set `ContentIdentificationType` and `ContentRedactionType`
1040
1049
  # in the same request. If you set both, your request returns a
@@ -1054,7 +1063,8 @@ module Aws::TranscribeStreamingService
1054
1063
  #
1055
1064
  # Content redaction is performed at the segment level; PII specified
1056
1065
  # in `PiiEntityTypes` is redacted upon complete transcription of an
1057
- # audio segment.
1066
+ # audio segment. If you don't include `PiiEntityTypes` in your
1067
+ # request, all PII is redacted.
1058
1068
  #
1059
1069
  # You can’t set `ContentRedactionType` and `ContentIdentificationType`
1060
1070
  # in the same request. If you set both, your request returns a
@@ -1073,14 +1083,17 @@ module Aws::TranscribeStreamingService
1073
1083
  # want to redact in your transcript. You can include as many types as
1074
1084
  # you'd like, or you can select `ALL`.
1075
1085
  #
1076
- # To include `PiiEntityTypes` in your Call Analytics request, you must
1077
- # also include either `ContentIdentificationType` or
1078
- # `ContentRedactionType`.
1086
+ # Values must be comma-separated and can include: `ADDRESS`,
1087
+ # `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_CVV`,
1088
+ # `CREDIT_DEBIT_EXPIRY`, `CREDIT_DEBIT_NUMBER`, `EMAIL`, `NAME`,
1089
+ # `PHONE`, `PIN`, `SSN`, or `ALL`.
1079
1090
  #
1080
- # Values must be comma-separated and can include:
1081
- # `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_NUMBER`,
1082
- # `CREDIT_DEBIT_CVV`, `CREDIT_DEBIT_EXPIRY`, `PIN`, `EMAIL`,
1083
- # `ADDRESS`, `NAME`, `PHONE`, `SSN`, or `ALL`.
1091
+ # Note that if you include `PiiEntityTypes` in your request, you must
1092
+ # also include `ContentIdentificationType` or `ContentRedactionType`.
1093
+ #
1094
+ # If you include `ContentRedactionType` or `ContentIdentificationType`
1095
+ # in your request, but do not include `PiiEntityTypes`, all PII is
1096
+ # redacted or identified.
1084
1097
  # @return [String]
1085
1098
  #
1086
1099
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartCallAnalyticsStreamTranscriptionRequest AWS API Documentation
@@ -1105,7 +1118,7 @@ module Aws::TranscribeStreamingService
1105
1118
  end
1106
1119
 
1107
1120
  # @!attribute [rw] request_id
1108
- # Provides the identifier for your Call Analytics streaming request.
1121
+ # Provides the identifier for your real-time Call Analytics request.
1109
1122
  # @return [String]
1110
1123
  #
1111
1124
  # @!attribute [rw] language_code
@@ -1134,7 +1147,7 @@ module Aws::TranscribeStreamingService
1134
1147
  # @return [String]
1135
1148
  #
1136
1149
  # @!attribute [rw] call_analytics_transcript_result_stream
1137
- # Provides detailed information about your Call Analytics streaming
1150
+ # Provides detailed information about your real-time Call Analytics
1138
1151
  # session.
1139
1152
  # @return [Types::CallAnalyticsTranscriptResultStream]
1140
1153
  #
@@ -1262,8 +1275,6 @@ module Aws::TranscribeStreamingService
1262
1275
  # Specify a name for your transcription session. If you don't include
1263
1276
  # this parameter in your request, Amazon Transcribe Medical generates
1264
1277
  # an ID and returns it in the response.
1265
- #
1266
- # You can use a session ID to retry a streaming session.
1267
1278
  # @return [String]
1268
1279
  #
1269
1280
  # @!attribute [rw] audio_stream
@@ -1288,6 +1299,9 @@ module Aws::TranscribeStreamingService
1288
1299
  # identification, your audio is transcribed in a continuous manner and
1289
1300
  # your transcript is not separated by channel.
1290
1301
  #
1302
+ # If you include `EnableChannelIdentification` in your request, you
1303
+ # must also include `NumberOfChannels`.
1304
+ #
1291
1305
  # For more information, see [Transcribing multi-channel audio][1].
1292
1306
  #
1293
1307
  #
@@ -1296,8 +1310,13 @@ module Aws::TranscribeStreamingService
1296
1310
  # @return [Boolean]
1297
1311
  #
1298
1312
  # @!attribute [rw] number_of_channels
1299
- # Specify the number of channels in your audio stream. Up to two
1300
- # channels are supported.
1313
+ # Specify the number of channels in your audio stream. This value must
1314
+ # be `2`, as only two channels are supported. If your audio doesn't
1315
+ # contain multiple channels, do not include this parameter in your
1316
+ # request.
1317
+ #
1318
+ # If you include `NumberOfChannels` in your request, you must also
1319
+ # include `EnableChannelIdentification`.
1301
1320
  # @return [Integer]
1302
1321
  #
1303
1322
  # @!attribute [rw] content_identification_type
@@ -1477,8 +1496,6 @@ module Aws::TranscribeStreamingService
1477
1496
  # Specify a name for your transcription session. If you don't include
1478
1497
  # this parameter in your request, Amazon Transcribe generates an ID
1479
1498
  # and returns it in the response.
1480
- #
1481
- # You can use a session ID to retry a streaming session.
1482
1499
  # @return [String]
1483
1500
  #
1484
1501
  # @!attribute [rw] audio_stream
@@ -1549,6 +1566,9 @@ module Aws::TranscribeStreamingService
1549
1566
  # identification, your audio is transcribed in a continuous manner and
1550
1567
  # your transcript is not separated by channel.
1551
1568
  #
1569
+ # If you include `EnableChannelIdentification` in your request, you
1570
+ # must also include `NumberOfChannels`.
1571
+ #
1552
1572
  # For more information, see [Transcribing multi-channel audio][1].
1553
1573
  #
1554
1574
  #
@@ -1557,8 +1577,13 @@ module Aws::TranscribeStreamingService
1557
1577
  # @return [Boolean]
1558
1578
  #
1559
1579
  # @!attribute [rw] number_of_channels
1560
- # Specify the number of channels in your audio stream. Up to two
1561
- # channels are supported.
1580
+ # Specify the number of channels in your audio stream. This value must
1581
+ # be `2`, as only two channels are supported. If your audio doesn't
1582
+ # contain multiple channels, do not include this parameter in your
1583
+ # request.
1584
+ #
1585
+ # If you include `NumberOfChannels` in your request, you must also
1586
+ # include `EnableChannelIdentification`.
1562
1587
  # @return [Integer]
1563
1588
  #
1564
1589
  # @!attribute [rw] enable_partial_results_stabilization
@@ -1592,7 +1617,8 @@ module Aws::TranscribeStreamingService
1592
1617
  #
1593
1618
  # Content identification is performed at the segment level; PII
1594
1619
  # specified in `PiiEntityTypes` is flagged upon complete transcription
1595
- # of an audio segment.
1620
+ # of an audio segment. If you don't include `PiiEntityTypes` in your
1621
+ # request, all PII is identified.
1596
1622
  #
1597
1623
  # You can’t set `ContentIdentificationType` and `ContentRedactionType`
1598
1624
  # in the same request. If you set both, your request returns a
@@ -1612,7 +1638,8 @@ module Aws::TranscribeStreamingService
1612
1638
  #
1613
1639
  # Content redaction is performed at the segment level; PII specified
1614
1640
  # in `PiiEntityTypes` is redacted upon complete transcription of an
1615
- # audio segment.
1641
+ # audio segment. If you don't include `PiiEntityTypes` in your
1642
+ # request, all PII is redacted.
1616
1643
  #
1617
1644
  # You can’t set `ContentRedactionType` and `ContentIdentificationType`
1618
1645
  # in the same request. If you set both, your request returns a
@@ -1631,13 +1658,17 @@ module Aws::TranscribeStreamingService
1631
1658
  # want to redact in your transcript. You can include as many types as
1632
1659
  # you'd like, or you can select `ALL`.
1633
1660
  #
1634
- # To include `PiiEntityTypes` in your request, you must also include
1635
- # either `ContentIdentificationType` or `ContentRedactionType`.
1661
+ # Values must be comma-separated and can include: `ADDRESS`,
1662
+ # `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_CVV`,
1663
+ # `CREDIT_DEBIT_EXPIRY`, `CREDIT_DEBIT_NUMBER`, `EMAIL`, `NAME`,
1664
+ # `PHONE`, `PIN`, `SSN`, or `ALL`.
1636
1665
  #
1637
- # Values must be comma-separated and can include:
1638
- # `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_NUMBER`,
1639
- # `CREDIT_DEBIT_CVV`, `CREDIT_DEBIT_EXPIRY`, `PIN`, `EMAIL`,
1640
- # `ADDRESS`, `NAME`, `PHONE`, `SSN`, or `ALL`.
1666
+ # Note that if you include `PiiEntityTypes` in your request, you must
1667
+ # also include `ContentIdentificationType` or `ContentRedactionType`.
1668
+ #
1669
+ # If you include `ContentRedactionType` or `ContentIdentificationType`
1670
+ # in your request, but do not include `PiiEntityTypes`, all PII is
1671
+ # redacted or identified.
1641
1672
  # @return [String]
1642
1673
  #
1643
1674
  # @!attribute [rw] language_model_name
@@ -1660,10 +1691,9 @@ module Aws::TranscribeStreamingService
1660
1691
  # @!attribute [rw] identify_language
1661
1692
  # Enables automatic language identification for your transcription.
1662
1693
  #
1663
- # If you include `IdentifyLanguage`, you can optionally include a list
1664
- # of language codes, using `LanguageOptions`, that you think may be
1665
- # present in your audio stream. Including language options can improve
1666
- # transcription accuracy.
1694
+ # If you include `IdentifyLanguage`, you must include a list of
1695
+ # language codes, using `LanguageOptions`, that you think may be
1696
+ # present in your audio stream.
1667
1697
  #
1668
1698
  # You can also include a preferred language using `PreferredLanguage`.
1669
1699
  # Adding a preferred language can help Amazon Transcribe identify the
@@ -1686,14 +1716,13 @@ module Aws::TranscribeStreamingService
1686
1716
  # @!attribute [rw] language_options
1687
1717
  # Specify two or more language codes that represent the languages you
1688
1718
  # think may be present in your media; including more than five is not
1689
- # recommended. If you're unsure what languages are present, do not
1690
- # include this parameter.
1719
+ # recommended.
1691
1720
  #
1692
1721
  # Including language options can improve the accuracy of language
1693
1722
  # identification.
1694
1723
  #
1695
1724
  # If you include `LanguageOptions` in your request, you must also
1696
- # include `IdentifyLanguage`.
1725
+ # include `IdentifyLanguage` or `IdentifyMultipleLanguages`.
1697
1726
  #
1698
1727
  # For a list of languages supported with Amazon Transcribe streaming,
1699
1728
  # refer to the [Supported languages][1] table.
@@ -1721,11 +1750,9 @@ module Aws::TranscribeStreamingService
1721
1750
  # contains more than one language. If your stream contains only one
1722
1751
  # language, use IdentifyLanguage instead.
1723
1752
  #
1724
- # If you include `IdentifyMultipleLanguages`, you can optionally
1725
- # include a list of language codes, using `LanguageOptions`, that you
1726
- # think may be present in your stream. Including `LanguageOptions`
1727
- # restricts `IdentifyMultipleLanguages` to only the language options
1728
- # that you specify, which can improve transcription accuracy.
1753
+ # If you include `IdentifyMultipleLanguages`, you must include a list
1754
+ # of language codes, using `LanguageOptions`, that you think may be
1755
+ # present in your stream.
1729
1756
  #
1730
1757
  # If you want to apply a custom vocabulary or a custom vocabulary
1731
1758
  # filter to your automatic multiple language identification request,
@@ -2112,7 +2139,7 @@ module Aws::TranscribeStreamingService
2112
2139
 
2113
2140
  end
2114
2141
 
2115
- # Contains detailed information about your Call Analytics streaming
2142
+ # Contains detailed information about your real-time Call Analytics
2116
2143
  # session. These details are provided in the `UtteranceEvent` and
2117
2144
  # `CategoryEvent` objects.
2118
2145
  #
@@ -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.70.0'
59
+ GEM_VERSION = '1.71.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -118,7 +118,7 @@ module Aws
118
118
  interface _StartMedicalStreamTranscriptionResponseSuccess
119
119
  include ::Seahorse::Client::_ResponseSuccess[Types::StartMedicalStreamTranscriptionResponse]
120
120
  def request_id: () -> ::String
121
- def language_code: () -> ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
121
+ def language_code: () -> ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
122
122
  def media_sample_rate_hertz: () -> ::Integer
123
123
  def media_encoding: () -> ("pcm" | "ogg-opus" | "flac")
124
124
  def vocabulary_name: () -> ::String
@@ -133,7 +133,7 @@ module Aws
133
133
  end
134
134
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeStreamingService/Client.html#start_medical_stream_transcription-instance_method
135
135
  def start_medical_stream_transcription: (
136
- language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH"),
136
+ language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA"),
137
137
  media_sample_rate_hertz: ::Integer,
138
138
  media_encoding: ("pcm" | "ogg-opus" | "flac"),
139
139
  ?vocabulary_name: ::String,
@@ -151,7 +151,7 @@ module Aws
151
151
  interface _StartStreamTranscriptionResponseSuccess
152
152
  include ::Seahorse::Client::_ResponseSuccess[Types::StartStreamTranscriptionResponse]
153
153
  def request_id: () -> ::String
154
- def language_code: () -> ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
154
+ def language_code: () -> ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
155
155
  def media_sample_rate_hertz: () -> ::Integer
156
156
  def media_encoding: () -> ("pcm" | "ogg-opus" | "flac")
157
157
  def vocabulary_name: () -> ::String
@@ -170,14 +170,14 @@ module Aws
170
170
  def language_model_name: () -> ::String
171
171
  def identify_language: () -> bool
172
172
  def language_options: () -> ::String
173
- def preferred_language: () -> ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
173
+ def preferred_language: () -> ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
174
174
  def identify_multiple_languages: () -> bool
175
175
  def vocabulary_names: () -> ::String
176
176
  def vocabulary_filter_names: () -> ::String
177
177
  end
178
178
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeStreamingService/Client.html#start_stream_transcription-instance_method
179
179
  def start_stream_transcription: (
180
- ?language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH"),
180
+ ?language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA"),
181
181
  media_sample_rate_hertz: ::Integer,
182
182
  media_encoding: ("pcm" | "ogg-opus" | "flac"),
183
183
  ?vocabulary_name: ::String,
@@ -196,7 +196,7 @@ module Aws
196
196
  ?language_model_name: ::String,
197
197
  ?identify_language: bool,
198
198
  ?language_options: ::String,
199
- ?preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH"),
199
+ ?preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA"),
200
200
  ?identify_multiple_languages: bool,
201
201
  ?vocabulary_names: ::String,
202
202
  ?vocabulary_filter_names: ::String
data/sig/types.rbs CHANGED
@@ -114,7 +114,7 @@ module Aws::TranscribeStreamingService
114
114
  end
115
115
 
116
116
  class LanguageWithScore
117
- attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
117
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
118
118
  attr_accessor score: ::Float
119
119
  SENSITIVE: []
120
120
  end
@@ -192,7 +192,7 @@ module Aws::TranscribeStreamingService
192
192
  attr_accessor is_partial: bool
193
193
  attr_accessor alternatives: ::Array[Types::Alternative]
194
194
  attr_accessor channel_id: ::String
195
- attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
195
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
196
196
  attr_accessor language_identification: ::Array[Types::LanguageWithScore]
197
197
  SENSITIVE: []
198
198
  end
@@ -241,7 +241,7 @@ module Aws::TranscribeStreamingService
241
241
  end
242
242
 
243
243
  class StartMedicalStreamTranscriptionRequest
244
- attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
244
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
245
245
  attr_accessor media_sample_rate_hertz: ::Integer
246
246
  attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
247
247
  attr_accessor vocabulary_name: ::String
@@ -258,7 +258,7 @@ module Aws::TranscribeStreamingService
258
258
 
259
259
  class StartMedicalStreamTranscriptionResponse
260
260
  attr_accessor request_id: ::String
261
- attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
261
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
262
262
  attr_accessor media_sample_rate_hertz: ::Integer
263
263
  attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
264
264
  attr_accessor vocabulary_name: ::String
@@ -274,7 +274,7 @@ module Aws::TranscribeStreamingService
274
274
  end
275
275
 
276
276
  class StartStreamTranscriptionRequest
277
- attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
277
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
278
278
  attr_accessor media_sample_rate_hertz: ::Integer
279
279
  attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
280
280
  attr_accessor vocabulary_name: ::String
@@ -293,7 +293,7 @@ module Aws::TranscribeStreamingService
293
293
  attr_accessor language_model_name: ::String
294
294
  attr_accessor identify_language: bool
295
295
  attr_accessor language_options: ::String
296
- attr_accessor preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
296
+ attr_accessor preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
297
297
  attr_accessor identify_multiple_languages: bool
298
298
  attr_accessor vocabulary_names: ::String
299
299
  attr_accessor vocabulary_filter_names: ::String
@@ -302,7 +302,7 @@ module Aws::TranscribeStreamingService
302
302
 
303
303
  class StartStreamTranscriptionResponse
304
304
  attr_accessor request_id: ::String
305
- attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
305
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
306
306
  attr_accessor media_sample_rate_hertz: ::Integer
307
307
  attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
308
308
  attr_accessor vocabulary_name: ::String
@@ -321,7 +321,7 @@ module Aws::TranscribeStreamingService
321
321
  attr_accessor language_model_name: ::String
322
322
  attr_accessor identify_language: bool
323
323
  attr_accessor language_options: ::String
324
- attr_accessor preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
324
+ attr_accessor preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
325
325
  attr_accessor identify_multiple_languages: bool
326
326
  attr_accessor vocabulary_names: ::String
327
327
  attr_accessor vocabulary_filter_names: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transcribestreamingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.70.0
4
+ version: 1.71.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core