aws-sdk-transcribestreamingservice 1.33.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +20 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-transcribestreamingservice/async_client.rb +64 -10
 - data/lib/aws-sdk-transcribestreamingservice/client.rb +10 -1
 - data/lib/aws-sdk-transcribestreamingservice/client_api.rb +21 -1
 - data/lib/aws-sdk-transcribestreamingservice/types.rb +119 -24
 - data/lib/aws-sdk-transcribestreamingservice.rb +1 -1
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 833697cf9ef72da8a35387c1658670c6dc57ac25ee72a7e58cbc08d6060950c9
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ca81a308ff36bdbd4a0cbf161832ff6cc0b16040a0be89bad60f4acf54e7effb
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 6deacd3f0803fc143b1854724669898a86a3babc9ba98359dc11f916d1a7fa6fd21696feef42fd9643a1fc67ba7aee84dbbb8f19abaf12f1b183400beaa3ec3a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 396f4865b44db9b640ae246208ebda12582d7c38926513e5e7f29c865801a11446f9966dfaa1d9c00e2f3f8681b50ff65db62c253bf867c4c877ef8809e6a830
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,26 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.37.0 (2021-11-22)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - This release adds language identification support for streaming transcription.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.36.0 (2021-11-04)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            1.35.0 (2021-10-20)
         
     | 
| 
      
 15 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Feature - This release adds custom language support for streaming transcription.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            1.34.0 (2021-10-18)
         
     | 
| 
      
 20 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
       4 
24 
     | 
    
         
             
            1.33.0 (2021-09-14)
         
     | 
| 
       5 
25 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
26 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.37.0
         
     | 
| 
         @@ -220,6 +220,15 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       220 
220 
     | 
    
         
             
                #     ** Please note ** When response stubbing is enabled, no HTTP
         
     | 
| 
       221 
221 
     | 
    
         
             
                #     requests are made, and retries are disabled.
         
     | 
| 
       222 
222 
     | 
    
         
             
                #
         
     | 
| 
      
 223 
     | 
    
         
            +
                #   @option options [Boolean] :use_dualstack_endpoint
         
     | 
| 
      
 224 
     | 
    
         
            +
                #     When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
         
     | 
| 
      
 225 
     | 
    
         
            +
                #     will be used if available.
         
     | 
| 
      
 226 
     | 
    
         
            +
                #
         
     | 
| 
      
 227 
     | 
    
         
            +
                #   @option options [Boolean] :use_fips_endpoint
         
     | 
| 
      
 228 
     | 
    
         
            +
                #     When set to `true`, fips compatible endpoints will be used if available.
         
     | 
| 
      
 229 
     | 
    
         
            +
                #     When a `fips` region is used, the region is normalized and this config
         
     | 
| 
      
 230 
     | 
    
         
            +
                #     is set to `true`.
         
     | 
| 
      
 231 
     | 
    
         
            +
                #
         
     | 
| 
       223 
232 
     | 
    
         
             
                #   @option options [Boolean] :validate_params (true)
         
     | 
| 
       224 
233 
     | 
    
         
             
                #     When `true`, request parameters are validated before
         
     | 
| 
       225 
234 
     | 
    
         
             
                #     sending the request.
         
     | 
| 
         @@ -522,12 +531,13 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       522 
531 
     | 
    
         
             
                #
         
     | 
| 
       523 
532 
     | 
    
         
             
                # [1]: https://docs.aws.amazon.com/sdk-for-go/api/service/transcribestreamingservice/#TranscribeStreamingService.StartStreamTranscription
         
     | 
| 
       524 
533 
     | 
    
         
             
                #
         
     | 
| 
       525 
     | 
    
         
            -
                # @option params [ 
     | 
| 
       526 
     | 
    
         
            -
                #    
     | 
| 
      
 534 
     | 
    
         
            +
                # @option params [String] :language_code
         
     | 
| 
      
 535 
     | 
    
         
            +
                #   The language code of the input audio stream.
         
     | 
| 
       527 
536 
     | 
    
         
             
                #
         
     | 
| 
       528 
537 
     | 
    
         
             
                # @option params [required, Integer] :media_sample_rate_hertz
         
     | 
| 
       529 
     | 
    
         
            -
                #   The sample rate, in Hertz, of the input audio. We suggest that 
     | 
| 
       530 
     | 
    
         
            -
                #   8,000 Hz for low quality audio and 16,000 Hz  
     | 
| 
      
 538 
     | 
    
         
            +
                #   The sample rate, in Hertz (Hz), of the input audio. We suggest that
         
     | 
| 
      
 539 
     | 
    
         
            +
                #   you use 8,000 Hz for low quality audio and 16,000 Hz or higher for
         
     | 
| 
      
 540 
     | 
    
         
            +
                #   high quality audio.
         
     | 
| 
       531 
541 
     | 
    
         
             
                #
         
     | 
| 
       532 
542 
     | 
    
         
             
                # @option params [required, String] :media_encoding
         
     | 
| 
       533 
543 
     | 
    
         
             
                #   The encoding used for the input audio.
         
     | 
| 
         @@ -553,15 +563,15 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       553 
563 
     | 
    
         
             
                #   transcription results. `Mask` masks filtered words with a `***` in
         
     | 
| 
       554 
564 
     | 
    
         
             
                #   your transcription results. `Tag` keeps the filtered words in your
         
     | 
| 
       555 
565 
     | 
    
         
             
                #   transcription results and tags them. The tag appears as
         
     | 
| 
       556 
     | 
    
         
            -
                #   `VocabularyFilterMatch` equal to `True 
     | 
| 
      
 566 
     | 
    
         
            +
                #   `VocabularyFilterMatch` equal to `True`.
         
     | 
| 
       557 
567 
     | 
    
         
             
                #
         
     | 
| 
       558 
568 
     | 
    
         
             
                # @option params [Boolean] :show_speaker_label
         
     | 
| 
       559 
     | 
    
         
            -
                #   When `true`, enables speaker identification in your  
     | 
| 
      
 569 
     | 
    
         
            +
                #   When `true`, enables speaker identification in your media stream.
         
     | 
| 
       560 
570 
     | 
    
         
             
                #
         
     | 
| 
       561 
571 
     | 
    
         
             
                # @option params [Boolean] :enable_channel_identification
         
     | 
| 
       562 
572 
     | 
    
         
             
                #   When `true`, instructs Amazon Transcribe to process each audio channel
         
     | 
| 
       563 
     | 
    
         
            -
                #   separately  
     | 
| 
       564 
     | 
    
         
            -
                #    
     | 
| 
      
 573 
     | 
    
         
            +
                #   separately, then merges the transcription output of each channel into
         
     | 
| 
      
 574 
     | 
    
         
            +
                #   a single transcription.
         
     | 
| 
       565 
575 
     | 
    
         
             
                #
         
     | 
| 
       566 
576 
     | 
    
         
             
                #   Amazon Transcribe also produces a transcription of each item. An item
         
     | 
| 
       567 
577 
     | 
    
         
             
                #   includes the start time, end time, and any alternative transcriptions.
         
     | 
| 
         @@ -617,6 +627,34 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       617 
627 
     | 
    
         
             
                #   `PiiEntityTypes` is an optional parameter with a default value of
         
     | 
| 
       618 
628 
     | 
    
         
             
                #   `ALL`.
         
     | 
| 
       619 
629 
     | 
    
         
             
                #
         
     | 
| 
      
 630 
     | 
    
         
            +
                # @option params [String] :language_model_name
         
     | 
| 
      
 631 
     | 
    
         
            +
                #   The name of the language model you want to use.
         
     | 
| 
      
 632 
     | 
    
         
            +
                #
         
     | 
| 
      
 633 
     | 
    
         
            +
                # @option params [Boolean] :identify_language
         
     | 
| 
      
 634 
     | 
    
         
            +
                #   Optional. Set this value to `true` to enable language identification
         
     | 
| 
      
 635 
     | 
    
         
            +
                #   for your media stream.
         
     | 
| 
      
 636 
     | 
    
         
            +
                #
         
     | 
| 
      
 637 
     | 
    
         
            +
                # @option params [String] :language_options
         
     | 
| 
      
 638 
     | 
    
         
            +
                #   An object containing a list of languages that might be present in your
         
     | 
| 
      
 639 
     | 
    
         
            +
                #   audio.
         
     | 
| 
      
 640 
     | 
    
         
            +
                #
         
     | 
| 
      
 641 
     | 
    
         
            +
                #   You must provide two or more language codes to help Amazon Transcribe
         
     | 
| 
      
 642 
     | 
    
         
            +
                #   identify the correct language of your media stream with the highest
         
     | 
| 
      
 643 
     | 
    
         
            +
                #   possible accuracy. You can only select one variant per language; for
         
     | 
| 
      
 644 
     | 
    
         
            +
                #   example, you can't include both `en-US` and `en-UK` in the same
         
     | 
| 
      
 645 
     | 
    
         
            +
                #   request.
         
     | 
| 
      
 646 
     | 
    
         
            +
                #
         
     | 
| 
      
 647 
     | 
    
         
            +
                #   You can only use this parameter if you've set `IdentifyLanguage` to
         
     | 
| 
      
 648 
     | 
    
         
            +
                #   `true`in your request.
         
     | 
| 
      
 649 
     | 
    
         
            +
                #
         
     | 
| 
      
 650 
     | 
    
         
            +
                # @option params [String] :preferred_language
         
     | 
| 
      
 651 
     | 
    
         
            +
                #   Optional. From the subset of languages codes you provided for
         
     | 
| 
      
 652 
     | 
    
         
            +
                #   `LanguageOptions`, you can select one preferred language for your
         
     | 
| 
      
 653 
     | 
    
         
            +
                #   transcription.
         
     | 
| 
      
 654 
     | 
    
         
            +
                #
         
     | 
| 
      
 655 
     | 
    
         
            +
                #   You can only use this parameter if you've set `IdentifyLanguage` to
         
     | 
| 
      
 656 
     | 
    
         
            +
                #   `true`in your request.
         
     | 
| 
      
 657 
     | 
    
         
            +
                #
         
     | 
| 
       620 
658 
     | 
    
         
             
                # @return [Types::StartStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       621 
659 
     | 
    
         
             
                #
         
     | 
| 
       622 
660 
     | 
    
         
             
                #   * {Types::StartStreamTranscriptionResponse#request_id #request_id} => String
         
     | 
| 
         @@ -636,6 +674,10 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       636 
674 
     | 
    
         
             
                #   * {Types::StartStreamTranscriptionResponse#content_identification_type #content_identification_type} => String
         
     | 
| 
       637 
675 
     | 
    
         
             
                #   * {Types::StartStreamTranscriptionResponse#content_redaction_type #content_redaction_type} => String
         
     | 
| 
       638 
676 
     | 
    
         
             
                #   * {Types::StartStreamTranscriptionResponse#pii_entity_types #pii_entity_types} => String
         
     | 
| 
      
 677 
     | 
    
         
            +
                #   * {Types::StartStreamTranscriptionResponse#language_model_name #language_model_name} => String
         
     | 
| 
      
 678 
     | 
    
         
            +
                #   * {Types::StartStreamTranscriptionResponse#identify_language #identify_language} => Boolean
         
     | 
| 
      
 679 
     | 
    
         
            +
                #   * {Types::StartStreamTranscriptionResponse#language_options #language_options} => String
         
     | 
| 
      
 680 
     | 
    
         
            +
                #   * {Types::StartStreamTranscriptionResponse#preferred_language #preferred_language} => String
         
     | 
| 
       639 
681 
     | 
    
         
             
                #
         
     | 
| 
       640 
682 
     | 
    
         
             
                # @example Bi-directional EventStream Operation Example
         
     | 
| 
       641 
683 
     | 
    
         
             
                #
         
     | 
| 
         @@ -732,7 +774,7 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       732 
774 
     | 
    
         
             
                # @example Request syntax with placeholder values
         
     | 
| 
       733 
775 
     | 
    
         
             
                #
         
     | 
| 
       734 
776 
     | 
    
         
             
                #   async_resp = async_client.start_stream_transcription({
         
     | 
| 
       735 
     | 
    
         
            -
                #     language_code: "en-US", #  
     | 
| 
      
 777 
     | 
    
         
            +
                #     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
         
     | 
| 
       736 
778 
     | 
    
         
             
                #     media_sample_rate_hertz: 1, # required
         
     | 
| 
       737 
779 
     | 
    
         
             
                #     media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
         
     | 
| 
       738 
780 
     | 
    
         
             
                #     vocabulary_name: "VocabularyName",
         
     | 
| 
         @@ -748,6 +790,10 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       748 
790 
     | 
    
         
             
                #     content_identification_type: "PII", # accepts PII
         
     | 
| 
       749 
791 
     | 
    
         
             
                #     content_redaction_type: "PII", # accepts PII
         
     | 
| 
       750 
792 
     | 
    
         
             
                #     pii_entity_types: "PiiEntityTypes",
         
     | 
| 
      
 793 
     | 
    
         
            +
                #     language_model_name: "ModelName",
         
     | 
| 
      
 794 
     | 
    
         
            +
                #     identify_language: false,
         
     | 
| 
      
 795 
     | 
    
         
            +
                #     language_options: "LanguageOptions",
         
     | 
| 
      
 796 
     | 
    
         
            +
                #     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
         
     | 
| 
       751 
797 
     | 
    
         
             
                #   })
         
     | 
| 
       752 
798 
     | 
    
         
             
                #   # => Seahorse::Client::AsyncResponse
         
     | 
| 
       753 
799 
     | 
    
         
             
                #   async_resp.wait
         
     | 
| 
         @@ -791,6 +837,10 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       791 
837 
     | 
    
         
             
                #   event.transcript.results[0].alternatives[0].entities[0].content #=> String
         
     | 
| 
       792 
838 
     | 
    
         
             
                #   event.transcript.results[0].alternatives[0].entities[0].confidence #=> Float
         
     | 
| 
       793 
839 
     | 
    
         
             
                #   event.transcript.results[0].channel_id #=> String
         
     | 
| 
      
 840 
     | 
    
         
            +
                #   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"
         
     | 
| 
      
 841 
     | 
    
         
            +
                #   event.transcript.results[0].language_identification #=> Array
         
     | 
| 
      
 842 
     | 
    
         
            +
                #   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"
         
     | 
| 
      
 843 
     | 
    
         
            +
                #   event.transcript.results[0].language_identification[0].score #=> Float
         
     | 
| 
       794 
844 
     | 
    
         
             
                #
         
     | 
| 
       795 
845 
     | 
    
         
             
                #   For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
         
     | 
| 
       796 
846 
     | 
    
         
             
                #   event.message #=> String
         
     | 
| 
         @@ -817,6 +867,10 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       817 
867 
     | 
    
         
             
                #   resp.content_identification_type #=> String, one of "PII"
         
     | 
| 
       818 
868 
     | 
    
         
             
                #   resp.content_redaction_type #=> String, one of "PII"
         
     | 
| 
       819 
869 
     | 
    
         
             
                #   resp.pii_entity_types #=> String
         
     | 
| 
      
 870 
     | 
    
         
            +
                #   resp.language_model_name #=> String
         
     | 
| 
      
 871 
     | 
    
         
            +
                #   resp.identify_language #=> Boolean
         
     | 
| 
      
 872 
     | 
    
         
            +
                #   resp.language_options #=> String
         
     | 
| 
      
 873 
     | 
    
         
            +
                #   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"
         
     | 
| 
       820 
874 
     | 
    
         
             
                #
         
     | 
| 
       821 
875 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
         
     | 
| 
       822 
876 
     | 
    
         
             
                #
         
     | 
| 
         @@ -861,7 +915,7 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       861 
915 
     | 
    
         
             
                    http_response: Seahorse::Client::Http::AsyncResponse.new,
         
     | 
| 
       862 
916 
     | 
    
         
             
                    config: config)
         
     | 
| 
       863 
917 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
         
     | 
| 
       864 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 918 
     | 
    
         
            +
                  context[:gem_version] = '1.37.0'
         
     | 
| 
       865 
919 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       866 
920 
     | 
    
         
             
                end
         
     | 
| 
       867 
921 
     | 
    
         | 
| 
         @@ -286,6 +286,15 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       286 
286 
     | 
    
         
             
                #     ** Please note ** When response stubbing is enabled, no HTTP
         
     | 
| 
       287 
287 
     | 
    
         
             
                #     requests are made, and retries are disabled.
         
     | 
| 
       288 
288 
     | 
    
         
             
                #
         
     | 
| 
      
 289 
     | 
    
         
            +
                #   @option options [Boolean] :use_dualstack_endpoint
         
     | 
| 
      
 290 
     | 
    
         
            +
                #     When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
         
     | 
| 
      
 291 
     | 
    
         
            +
                #     will be used if available.
         
     | 
| 
      
 292 
     | 
    
         
            +
                #
         
     | 
| 
      
 293 
     | 
    
         
            +
                #   @option options [Boolean] :use_fips_endpoint
         
     | 
| 
      
 294 
     | 
    
         
            +
                #     When set to `true`, fips compatible endpoints will be used if available.
         
     | 
| 
      
 295 
     | 
    
         
            +
                #     When a `fips` region is used, the region is normalized and this config
         
     | 
| 
      
 296 
     | 
    
         
            +
                #     is set to `true`.
         
     | 
| 
      
 297 
     | 
    
         
            +
                #
         
     | 
| 
       289 
298 
     | 
    
         
             
                #   @option options [Boolean] :validate_params (true)
         
     | 
| 
       290 
299 
     | 
    
         
             
                #     When `true`, request parameters are validated before
         
     | 
| 
       291 
300 
     | 
    
         
             
                #     sending the request.
         
     | 
| 
         @@ -351,7 +360,7 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       351 
360 
     | 
    
         
             
                    params: params,
         
     | 
| 
       352 
361 
     | 
    
         
             
                    config: config)
         
     | 
| 
       353 
362 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
         
     | 
| 
       354 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 363 
     | 
    
         
            +
                  context[:gem_version] = '1.37.0'
         
     | 
| 
       355 
364 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       356 
365 
     | 
    
         
             
                end
         
     | 
| 
       357 
366 
     | 
    
         | 
| 
         @@ -32,6 +32,9 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       32 
32 
     | 
    
         
             
                ItemList = Shapes::ListShape.new(name: 'ItemList')
         
     | 
| 
       33 
33 
     | 
    
         
             
                ItemType = Shapes::StringShape.new(name: 'ItemType')
         
     | 
| 
       34 
34 
     | 
    
         
             
                LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
         
     | 
| 
      
 35 
     | 
    
         
            +
                LanguageIdentification = Shapes::ListShape.new(name: 'LanguageIdentification')
         
     | 
| 
      
 36 
     | 
    
         
            +
                LanguageOptions = Shapes::StringShape.new(name: 'LanguageOptions')
         
     | 
| 
      
 37 
     | 
    
         
            +
                LanguageWithScore = Shapes::StructureShape.new(name: 'LanguageWithScore')
         
     | 
| 
       35 
38 
     | 
    
         
             
                LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
         
     | 
| 
       36 
39 
     | 
    
         
             
                MediaEncoding = Shapes::StringShape.new(name: 'MediaEncoding')
         
     | 
| 
       37 
40 
     | 
    
         
             
                MediaSampleRateHertz = Shapes::IntegerShape.new(name: 'MediaSampleRateHertz')
         
     | 
| 
         @@ -47,6 +50,7 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       47 
50 
     | 
    
         
             
                MedicalTranscript = Shapes::StructureShape.new(name: 'MedicalTranscript')
         
     | 
| 
       48 
51 
     | 
    
         
             
                MedicalTranscriptEvent = Shapes::StructureShape.new(name: 'MedicalTranscriptEvent')
         
     | 
| 
       49 
52 
     | 
    
         
             
                MedicalTranscriptResultStream = Shapes::StructureShape.new(name: 'MedicalTranscriptResultStream')
         
     | 
| 
      
 53 
     | 
    
         
            +
                ModelName = Shapes::StringShape.new(name: 'ModelName')
         
     | 
| 
       50 
54 
     | 
    
         
             
                NumberOfChannels = Shapes::IntegerShape.new(name: 'NumberOfChannels')
         
     | 
| 
       51 
55 
     | 
    
         
             
                PartialResultsStability = Shapes::StringShape.new(name: 'PartialResultsStability')
         
     | 
| 
       52 
56 
     | 
    
         
             
                PiiEntityTypes = Shapes::StringShape.new(name: 'PiiEntityTypes')
         
     | 
| 
         @@ -114,6 +118,12 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       114 
118 
     | 
    
         | 
| 
       115 
119 
     | 
    
         
             
                ItemList.member = Shapes::ShapeRef.new(shape: Item)
         
     | 
| 
       116 
120 
     | 
    
         | 
| 
      
 121 
     | 
    
         
            +
                LanguageIdentification.member = Shapes::ShapeRef.new(shape: LanguageWithScore)
         
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
      
 123 
     | 
    
         
            +
                LanguageWithScore.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
         
     | 
| 
      
 124 
     | 
    
         
            +
                LanguageWithScore.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "Score"))
         
     | 
| 
      
 125 
     | 
    
         
            +
                LanguageWithScore.struct_class = Types::LanguageWithScore
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
       117 
127 
     | 
    
         
             
                LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
         
     | 
| 
       118 
128 
     | 
    
         
             
                LimitExceededException.struct_class = Types::LimitExceededException
         
     | 
| 
       119 
129 
     | 
    
         | 
| 
         @@ -173,6 +183,8 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       173 
183 
     | 
    
         
             
                Result.add_member(:is_partial, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsPartial"))
         
     | 
| 
       174 
184 
     | 
    
         
             
                Result.add_member(:alternatives, Shapes::ShapeRef.new(shape: AlternativeList, location_name: "Alternatives"))
         
     | 
| 
       175 
185 
     | 
    
         
             
                Result.add_member(:channel_id, Shapes::ShapeRef.new(shape: String, location_name: "ChannelId"))
         
     | 
| 
      
 186 
     | 
    
         
            +
                Result.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
         
     | 
| 
      
 187 
     | 
    
         
            +
                Result.add_member(:language_identification, Shapes::ShapeRef.new(shape: LanguageIdentification, location_name: "LanguageIdentification"))
         
     | 
| 
       176 
188 
     | 
    
         
             
                Result.struct_class = Types::Result
         
     | 
| 
       177 
189 
     | 
    
         | 
| 
       178 
190 
     | 
    
         
             
                ResultList.member = Shapes::ShapeRef.new(shape: Result)
         
     | 
| 
         @@ -213,7 +225,7 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       213 
225 
     | 
    
         
             
                StartMedicalStreamTranscriptionResponse[:payload] = :transcript_result_stream
         
     | 
| 
       214 
226 
     | 
    
         
             
                StartMedicalStreamTranscriptionResponse[:payload_member] = StartMedicalStreamTranscriptionResponse.member(:transcript_result_stream)
         
     | 
| 
       215 
227 
     | 
    
         | 
| 
       216 
     | 
    
         
            -
                StartStreamTranscriptionRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode,  
     | 
| 
      
 228 
     | 
    
         
            +
                StartStreamTranscriptionRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-language-code"))
         
     | 
| 
       217 
229 
     | 
    
         
             
                StartStreamTranscriptionRequest.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, required: true, location: "header", location_name: "x-amzn-transcribe-sample-rate"))
         
     | 
| 
       218 
230 
     | 
    
         
             
                StartStreamTranscriptionRequest.add_member(:media_encoding, Shapes::ShapeRef.new(shape: MediaEncoding, required: true, location: "header", location_name: "x-amzn-transcribe-media-encoding"))
         
     | 
| 
       219 
231 
     | 
    
         
             
                StartStreamTranscriptionRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location: "header", location_name: "x-amzn-transcribe-vocabulary-name"))
         
     | 
| 
         @@ -229,6 +241,10 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       229 
241 
     | 
    
         
             
                StartStreamTranscriptionRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: ContentIdentificationType, location: "header", location_name: "x-amzn-transcribe-content-identification-type"))
         
     | 
| 
       230 
242 
     | 
    
         
             
                StartStreamTranscriptionRequest.add_member(:content_redaction_type, Shapes::ShapeRef.new(shape: ContentRedactionType, location: "header", location_name: "x-amzn-transcribe-content-redaction-type"))
         
     | 
| 
       231 
243 
     | 
    
         
             
                StartStreamTranscriptionRequest.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: PiiEntityTypes, location: "header", location_name: "x-amzn-transcribe-pii-entity-types"))
         
     | 
| 
      
 244 
     | 
    
         
            +
                StartStreamTranscriptionRequest.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location: "header", location_name: "x-amzn-transcribe-language-model-name"))
         
     | 
| 
      
 245 
     | 
    
         
            +
                StartStreamTranscriptionRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-language"))
         
     | 
| 
      
 246 
     | 
    
         
            +
                StartStreamTranscriptionRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location: "header", location_name: "x-amzn-transcribe-language-options"))
         
     | 
| 
      
 247 
     | 
    
         
            +
                StartStreamTranscriptionRequest.add_member(:preferred_language, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-preferred-language"))
         
     | 
| 
       232 
248 
     | 
    
         
             
                StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
         
     | 
| 
       233 
249 
     | 
    
         
             
                StartStreamTranscriptionRequest[:payload] = :audio_stream
         
     | 
| 
       234 
250 
     | 
    
         
             
                StartStreamTranscriptionRequest[:payload_member] = StartStreamTranscriptionRequest.member(:audio_stream)
         
     | 
| 
         @@ -250,6 +266,10 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       250 
266 
     | 
    
         
             
                StartStreamTranscriptionResponse.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: ContentIdentificationType, location: "header", location_name: "x-amzn-transcribe-content-identification-type"))
         
     | 
| 
       251 
267 
     | 
    
         
             
                StartStreamTranscriptionResponse.add_member(:content_redaction_type, Shapes::ShapeRef.new(shape: ContentRedactionType, location: "header", location_name: "x-amzn-transcribe-content-redaction-type"))
         
     | 
| 
       252 
268 
     | 
    
         
             
                StartStreamTranscriptionResponse.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: PiiEntityTypes, location: "header", location_name: "x-amzn-transcribe-pii-entity-types"))
         
     | 
| 
      
 269 
     | 
    
         
            +
                StartStreamTranscriptionResponse.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location: "header", location_name: "x-amzn-transcribe-language-model-name"))
         
     | 
| 
      
 270 
     | 
    
         
            +
                StartStreamTranscriptionResponse.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-language"))
         
     | 
| 
      
 271 
     | 
    
         
            +
                StartStreamTranscriptionResponse.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location: "header", location_name: "x-amzn-transcribe-language-options"))
         
     | 
| 
      
 272 
     | 
    
         
            +
                StartStreamTranscriptionResponse.add_member(:preferred_language, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-preferred-language"))
         
     | 
| 
       253 
273 
     | 
    
         
             
                StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
         
     | 
| 
       254 
274 
     | 
    
         
             
                StartStreamTranscriptionResponse[:payload] = :transcript_result_stream
         
     | 
| 
       255 
275 
     | 
    
         
             
                StartStreamTranscriptionResponse[:payload_member] = StartStreamTranscriptionResponse.member(:transcript_result_stream)
         
     | 
| 
         @@ -111,8 +111,8 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       111 
111 
     | 
    
         
             
                #   @return [Float]
         
     | 
| 
       112 
112 
     | 
    
         
             
                #
         
     | 
| 
       113 
113 
     | 
    
         
             
                # @!attribute [rw] category
         
     | 
| 
       114 
     | 
    
         
            -
                #   The category of  
     | 
| 
       115 
     | 
    
         
            -
                #    
     | 
| 
      
 114 
     | 
    
         
            +
                #   The category of information identified in this entity; for example,
         
     | 
| 
      
 115 
     | 
    
         
            +
                #   PII.
         
     | 
| 
       116 
116 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       117 
117 
     | 
    
         
             
                #
         
     | 
| 
       118 
118 
     | 
    
         
             
                # @!attribute [rw] type
         
     | 
| 
         @@ -185,18 +185,18 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       185 
185 
     | 
    
         
             
                #
         
     | 
| 
       186 
186 
     | 
    
         
             
                # @!attribute [rw] vocabulary_filter_match
         
     | 
| 
       187 
187 
     | 
    
         
             
                #   Indicates whether a word in the item matches a word in the
         
     | 
| 
       188 
     | 
    
         
            -
                #   vocabulary filter you've chosen for your  
     | 
| 
       189 
     | 
    
         
            -
                #    
     | 
| 
      
 188 
     | 
    
         
            +
                #   vocabulary filter you've chosen for your media stream. If `true`
         
     | 
| 
      
 189 
     | 
    
         
            +
                #   then a word in the item matches your vocabulary filter.
         
     | 
| 
       190 
190 
     | 
    
         
             
                #   @return [Boolean]
         
     | 
| 
       191 
191 
     | 
    
         
             
                #
         
     | 
| 
       192 
192 
     | 
    
         
             
                # @!attribute [rw] speaker
         
     | 
| 
       193 
193 
     | 
    
         
             
                #   If speaker identification is enabled, shows the speakers identified
         
     | 
| 
       194 
     | 
    
         
            -
                #   in the  
     | 
| 
      
 194 
     | 
    
         
            +
                #   in the media stream.
         
     | 
| 
       195 
195 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       196 
196 
     | 
    
         
             
                #
         
     | 
| 
       197 
197 
     | 
    
         
             
                # @!attribute [rw] confidence
         
     | 
| 
       198 
     | 
    
         
            -
                #   A value between  
     | 
| 
       199 
     | 
    
         
            -
                #   Amazon Transcribe assigns to each word or phrase that it
         
     | 
| 
      
 198 
     | 
    
         
            +
                #   A value between zero and one for an item that is a confidence score
         
     | 
| 
      
 199 
     | 
    
         
            +
                #   that Amazon Transcribe assigns to each word or phrase that it
         
     | 
| 
       200 
200 
     | 
    
         
             
                #   transcribes.
         
     | 
| 
       201 
201 
     | 
    
         
             
                #   @return [Float]
         
     | 
| 
       202 
202 
     | 
    
         
             
                #
         
     | 
| 
         @@ -221,6 +221,30 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       221 
221 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       222 
222 
     | 
    
         
             
                end
         
     | 
| 
       223 
223 
     | 
    
         | 
| 
      
 224 
     | 
    
         
            +
                # The language codes of the identified languages and their associated
         
     | 
| 
      
 225 
     | 
    
         
            +
                # confidence scores. The confidence score is a value between zero and
         
     | 
| 
      
 226 
     | 
    
         
            +
                # one; a larger value indicates a higher confidence in the identified
         
     | 
| 
      
 227 
     | 
    
         
            +
                # language.
         
     | 
| 
      
 228 
     | 
    
         
            +
                #
         
     | 
| 
      
 229 
     | 
    
         
            +
                # @!attribute [rw] language_code
         
     | 
| 
      
 230 
     | 
    
         
            +
                #   The language code of the language identified by Amazon Transcribe.
         
     | 
| 
      
 231 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 232 
     | 
    
         
            +
                #
         
     | 
| 
      
 233 
     | 
    
         
            +
                # @!attribute [rw] score
         
     | 
| 
      
 234 
     | 
    
         
            +
                #   The confidence score for the associated language code. Confidence
         
     | 
| 
      
 235 
     | 
    
         
            +
                #   scores are values between zero and one; larger values indicate a
         
     | 
| 
      
 236 
     | 
    
         
            +
                #   higher confidence in the identified language.
         
     | 
| 
      
 237 
     | 
    
         
            +
                #   @return [Float]
         
     | 
| 
      
 238 
     | 
    
         
            +
                #
         
     | 
| 
      
 239 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/LanguageWithScore AWS API Documentation
         
     | 
| 
      
 240 
     | 
    
         
            +
                #
         
     | 
| 
      
 241 
     | 
    
         
            +
                class LanguageWithScore < Struct.new(
         
     | 
| 
      
 242 
     | 
    
         
            +
                  :language_code,
         
     | 
| 
      
 243 
     | 
    
         
            +
                  :score)
         
     | 
| 
      
 244 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 245 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 246 
     | 
    
         
            +
                end
         
     | 
| 
      
 247 
     | 
    
         
            +
             
     | 
| 
       224 
248 
     | 
    
         
             
                # You have exceeded the maximum number of concurrent transcription
         
     | 
| 
       225 
249 
     | 
    
         
             
                # streams, are starting transcription streams too quickly, or the
         
     | 
| 
       226 
250 
     | 
    
         
             
                # maximum audio length of 4 hours. Wait until a stream has finished
         
     | 
| 
         @@ -482,6 +506,14 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       482 
506 
     | 
    
         
             
                #   single channel in your audio stream.
         
     | 
| 
       483 
507 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       484 
508 
     | 
    
         
             
                #
         
     | 
| 
      
 509 
     | 
    
         
            +
                # @!attribute [rw] language_code
         
     | 
| 
      
 510 
     | 
    
         
            +
                #   The language code of the identified language in your media stream.
         
     | 
| 
      
 511 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 512 
     | 
    
         
            +
                #
         
     | 
| 
      
 513 
     | 
    
         
            +
                # @!attribute [rw] language_identification
         
     | 
| 
      
 514 
     | 
    
         
            +
                #   The language code of the dominant language identified in your media.
         
     | 
| 
      
 515 
     | 
    
         
            +
                #   @return [Array<Types::LanguageWithScore>]
         
     | 
| 
      
 516 
     | 
    
         
            +
                #
         
     | 
| 
       485 
517 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/Result AWS API Documentation
         
     | 
| 
       486 
518 
     | 
    
         
             
                #
         
     | 
| 
       487 
519 
     | 
    
         
             
                class Result < Struct.new(
         
     | 
| 
         @@ -490,7 +522,9 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       490 
522 
     | 
    
         
             
                  :end_time,
         
     | 
| 
       491 
523 
     | 
    
         
             
                  :is_partial,
         
     | 
| 
       492 
524 
     | 
    
         
             
                  :alternatives,
         
     | 
| 
       493 
     | 
    
         
            -
                  :channel_id 
     | 
| 
      
 525 
     | 
    
         
            +
                  :channel_id,
         
     | 
| 
      
 526 
     | 
    
         
            +
                  :language_code,
         
     | 
| 
      
 527 
     | 
    
         
            +
                  :language_identification)
         
     | 
| 
       494 
528 
     | 
    
         
             
                  SENSITIVE = []
         
     | 
| 
       495 
529 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       496 
530 
     | 
    
         
             
                end
         
     | 
| 
         @@ -694,7 +728,7 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       694 
728 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
       695 
729 
     | 
    
         
             
                #
         
     | 
| 
       696 
730 
     | 
    
         
             
                #       {
         
     | 
| 
       697 
     | 
    
         
            -
                #         language_code: "en-US", #  
     | 
| 
      
 731 
     | 
    
         
            +
                #         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
         
     | 
| 
       698 
732 
     | 
    
         
             
                #         media_sample_rate_hertz: 1, # required
         
     | 
| 
       699 
733 
     | 
    
         
             
                #         media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
         
     | 
| 
       700 
734 
     | 
    
         
             
                #         vocabulary_name: "VocabularyName",
         
     | 
| 
         @@ -710,16 +744,20 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       710 
744 
     | 
    
         
             
                #         content_identification_type: "PII", # accepts PII
         
     | 
| 
       711 
745 
     | 
    
         
             
                #         content_redaction_type: "PII", # accepts PII
         
     | 
| 
       712 
746 
     | 
    
         
             
                #         pii_entity_types: "PiiEntityTypes",
         
     | 
| 
      
 747 
     | 
    
         
            +
                #         language_model_name: "ModelName",
         
     | 
| 
      
 748 
     | 
    
         
            +
                #         identify_language: false,
         
     | 
| 
      
 749 
     | 
    
         
            +
                #         language_options: "LanguageOptions",
         
     | 
| 
      
 750 
     | 
    
         
            +
                #         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
         
     | 
| 
       713 
751 
     | 
    
         
             
                #       }
         
     | 
| 
       714 
752 
     | 
    
         
             
                #
         
     | 
| 
       715 
753 
     | 
    
         
             
                # @!attribute [rw] language_code
         
     | 
| 
       716 
     | 
    
         
            -
                #    
     | 
| 
      
 754 
     | 
    
         
            +
                #   The language code of the input audio stream.
         
     | 
| 
       717 
755 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       718 
756 
     | 
    
         
             
                #
         
     | 
| 
       719 
757 
     | 
    
         
             
                # @!attribute [rw] media_sample_rate_hertz
         
     | 
| 
       720 
     | 
    
         
            -
                #   The sample rate, in Hertz, of the input audio. We suggest that 
     | 
| 
       721 
     | 
    
         
            -
                #   use 8,000 Hz for low quality audio and 16,000 Hz  
     | 
| 
       722 
     | 
    
         
            -
                #   audio.
         
     | 
| 
      
 758 
     | 
    
         
            +
                #   The sample rate, in Hertz (Hz), of the input audio. We suggest that
         
     | 
| 
      
 759 
     | 
    
         
            +
                #   you use 8,000 Hz for low quality audio and 16,000 Hz or higher for
         
     | 
| 
      
 760 
     | 
    
         
            +
                #   high quality audio.
         
     | 
| 
       723 
761 
     | 
    
         
             
                #   @return [Integer]
         
     | 
| 
       724 
762 
     | 
    
         
             
                #
         
     | 
| 
       725 
763 
     | 
    
         
             
                # @!attribute [rw] media_encoding
         
     | 
| 
         @@ -755,17 +793,16 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       755 
793 
     | 
    
         
             
                #   transcription results. `Mask` masks filtered words with a `***` in
         
     | 
| 
       756 
794 
     | 
    
         
             
                #   your transcription results. `Tag` keeps the filtered words in your
         
     | 
| 
       757 
795 
     | 
    
         
             
                #   transcription results and tags them. The tag appears as
         
     | 
| 
       758 
     | 
    
         
            -
                #   `VocabularyFilterMatch` equal to `True 
     | 
| 
      
 796 
     | 
    
         
            +
                #   `VocabularyFilterMatch` equal to `True`.
         
     | 
| 
       759 
797 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       760 
798 
     | 
    
         
             
                #
         
     | 
| 
       761 
799 
     | 
    
         
             
                # @!attribute [rw] show_speaker_label
         
     | 
| 
       762 
     | 
    
         
            -
                #   When `true`, enables speaker identification in your  
     | 
| 
       763 
     | 
    
         
            -
                #   stream.
         
     | 
| 
      
 800 
     | 
    
         
            +
                #   When `true`, enables speaker identification in your media stream.
         
     | 
| 
       764 
801 
     | 
    
         
             
                #   @return [Boolean]
         
     | 
| 
       765 
802 
     | 
    
         
             
                #
         
     | 
| 
       766 
803 
     | 
    
         
             
                # @!attribute [rw] enable_channel_identification
         
     | 
| 
       767 
804 
     | 
    
         
             
                #   When `true`, instructs Amazon Transcribe to process each audio
         
     | 
| 
       768 
     | 
    
         
            -
                #   channel separately  
     | 
| 
      
 805 
     | 
    
         
            +
                #   channel separately, then merges the transcription output of each
         
     | 
| 
       769 
806 
     | 
    
         
             
                #   channel into a single transcription.
         
     | 
| 
       770 
807 
     | 
    
         
             
                #
         
     | 
| 
       771 
808 
     | 
    
         
             
                #   Amazon Transcribe also produces a transcription of each item. An
         
     | 
| 
         @@ -832,6 +869,38 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       832 
869 
     | 
    
         
             
                #   `ALL`.
         
     | 
| 
       833 
870 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       834 
871 
     | 
    
         
             
                #
         
     | 
| 
      
 872 
     | 
    
         
            +
                # @!attribute [rw] language_model_name
         
     | 
| 
      
 873 
     | 
    
         
            +
                #   The name of the language model you want to use.
         
     | 
| 
      
 874 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 875 
     | 
    
         
            +
                #
         
     | 
| 
      
 876 
     | 
    
         
            +
                # @!attribute [rw] identify_language
         
     | 
| 
      
 877 
     | 
    
         
            +
                #   Optional. Set this value to `true` to enable language identification
         
     | 
| 
      
 878 
     | 
    
         
            +
                #   for your media stream.
         
     | 
| 
      
 879 
     | 
    
         
            +
                #   @return [Boolean]
         
     | 
| 
      
 880 
     | 
    
         
            +
                #
         
     | 
| 
      
 881 
     | 
    
         
            +
                # @!attribute [rw] language_options
         
     | 
| 
      
 882 
     | 
    
         
            +
                #   An object containing a list of languages that might be present in
         
     | 
| 
      
 883 
     | 
    
         
            +
                #   your audio.
         
     | 
| 
      
 884 
     | 
    
         
            +
                #
         
     | 
| 
      
 885 
     | 
    
         
            +
                #   You must provide two or more language codes to help Amazon
         
     | 
| 
      
 886 
     | 
    
         
            +
                #   Transcribe identify the correct language of your media stream with
         
     | 
| 
      
 887 
     | 
    
         
            +
                #   the highest possible accuracy. You can only select one variant per
         
     | 
| 
      
 888 
     | 
    
         
            +
                #   language; for example, you can't include both `en-US` and `en-UK`
         
     | 
| 
      
 889 
     | 
    
         
            +
                #   in the same request.
         
     | 
| 
      
 890 
     | 
    
         
            +
                #
         
     | 
| 
      
 891 
     | 
    
         
            +
                #   You can only use this parameter if you've set `IdentifyLanguage` to
         
     | 
| 
      
 892 
     | 
    
         
            +
                #   `true`in your request.
         
     | 
| 
      
 893 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 894 
     | 
    
         
            +
                #
         
     | 
| 
      
 895 
     | 
    
         
            +
                # @!attribute [rw] preferred_language
         
     | 
| 
      
 896 
     | 
    
         
            +
                #   Optional. From the subset of languages codes you provided for
         
     | 
| 
      
 897 
     | 
    
         
            +
                #   `LanguageOptions`, you can select one preferred language for your
         
     | 
| 
      
 898 
     | 
    
         
            +
                #   transcription.
         
     | 
| 
      
 899 
     | 
    
         
            +
                #
         
     | 
| 
      
 900 
     | 
    
         
            +
                #   You can only use this parameter if you've set `IdentifyLanguage` to
         
     | 
| 
      
 901 
     | 
    
         
            +
                #   `true`in your request.
         
     | 
| 
      
 902 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 903 
     | 
    
         
            +
                #
         
     | 
| 
       835 
904 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionRequest AWS API Documentation
         
     | 
| 
       836 
905 
     | 
    
         
             
                #
         
     | 
| 
       837 
906 
     | 
    
         
             
                class StartStreamTranscriptionRequest < Struct.new(
         
     | 
| 
         @@ -850,7 +919,11 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       850 
919 
     | 
    
         
             
                  :partial_results_stability,
         
     | 
| 
       851 
920 
     | 
    
         
             
                  :content_identification_type,
         
     | 
| 
       852 
921 
     | 
    
         
             
                  :content_redaction_type,
         
     | 
| 
       853 
     | 
    
         
            -
                  :pii_entity_types 
     | 
| 
      
 922 
     | 
    
         
            +
                  :pii_entity_types,
         
     | 
| 
      
 923 
     | 
    
         
            +
                  :language_model_name,
         
     | 
| 
      
 924 
     | 
    
         
            +
                  :identify_language,
         
     | 
| 
      
 925 
     | 
    
         
            +
                  :language_options,
         
     | 
| 
      
 926 
     | 
    
         
            +
                  :preferred_language)
         
     | 
| 
       854 
927 
     | 
    
         
             
                  SENSITIVE = []
         
     | 
| 
       855 
928 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       856 
929 
     | 
    
         
             
                end
         
     | 
| 
         @@ -860,12 +933,13 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       860 
933 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       861 
934 
     | 
    
         
             
                #
         
     | 
| 
       862 
935 
     | 
    
         
             
                # @!attribute [rw] language_code
         
     | 
| 
       863 
     | 
    
         
            -
                #   The language code  
     | 
| 
      
 936 
     | 
    
         
            +
                #   The language code of the input audio stream.
         
     | 
| 
       864 
937 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       865 
938 
     | 
    
         
             
                #
         
     | 
| 
       866 
939 
     | 
    
         
             
                # @!attribute [rw] media_sample_rate_hertz
         
     | 
| 
       867 
     | 
    
         
            -
                #   The sample rate for the input audio stream. Use 
     | 
| 
       868 
     | 
    
         
            -
                #   quality audio and 16,000 Hz for high 
     | 
| 
      
 940 
     | 
    
         
            +
                #   The sample rate, in Hertz (Hz), for the input audio stream. Use
         
     | 
| 
      
 941 
     | 
    
         
            +
                #   8,000 Hz for low quality audio and 16,000 Hz or higher for high
         
     | 
| 
      
 942 
     | 
    
         
            +
                #   quality audio.
         
     | 
| 
       869 
943 
     | 
    
         
             
                #   @return [Integer]
         
     | 
| 
       870 
944 
     | 
    
         
             
                #
         
     | 
| 
       871 
945 
     | 
    
         
             
                # @!attribute [rw] media_encoding
         
     | 
| 
         @@ -886,11 +960,11 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       886 
960 
     | 
    
         
             
                #   @return [Types::TranscriptResultStream]
         
     | 
| 
       887 
961 
     | 
    
         
             
                #
         
     | 
| 
       888 
962 
     | 
    
         
             
                # @!attribute [rw] vocabulary_filter_name
         
     | 
| 
       889 
     | 
    
         
            -
                #   The name of the vocabulary filter used in your  
     | 
| 
      
 963 
     | 
    
         
            +
                #   The name of the vocabulary filter used in your media stream.
         
     | 
| 
       890 
964 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       891 
965 
     | 
    
         
             
                #
         
     | 
| 
       892 
966 
     | 
    
         
             
                # @!attribute [rw] vocabulary_filter_method
         
     | 
| 
       893 
     | 
    
         
            -
                #   The vocabulary filtering method used in the  
     | 
| 
      
 967 
     | 
    
         
            +
                #   The vocabulary filtering method used in the media stream.
         
     | 
| 
       894 
968 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       895 
969 
     | 
    
         
             
                #
         
     | 
| 
       896 
970 
     | 
    
         
             
                # @!attribute [rw] show_speaker_label
         
     | 
| 
         @@ -927,6 +1001,23 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       927 
1001 
     | 
    
         
             
                #   Lists the PII entity types you specified in your request.
         
     | 
| 
       928 
1002 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       929 
1003 
     | 
    
         
             
                #
         
     | 
| 
      
 1004 
     | 
    
         
            +
                # @!attribute [rw] language_model_name
         
     | 
| 
      
 1005 
     | 
    
         
            +
                #   The name of the language model used in your media stream.
         
     | 
| 
      
 1006 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 1007 
     | 
    
         
            +
                #
         
     | 
| 
      
 1008 
     | 
    
         
            +
                # @!attribute [rw] identify_language
         
     | 
| 
      
 1009 
     | 
    
         
            +
                #   The language code of the language identified in your media stream.
         
     | 
| 
      
 1010 
     | 
    
         
            +
                #   @return [Boolean]
         
     | 
| 
      
 1011 
     | 
    
         
            +
                #
         
     | 
| 
      
 1012 
     | 
    
         
            +
                # @!attribute [rw] language_options
         
     | 
| 
      
 1013 
     | 
    
         
            +
                #   The language codes used in the identification of your media
         
     | 
| 
      
 1014 
     | 
    
         
            +
                #   stream's predominant language.
         
     | 
| 
      
 1015 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 1016 
     | 
    
         
            +
                #
         
     | 
| 
      
 1017 
     | 
    
         
            +
                # @!attribute [rw] preferred_language
         
     | 
| 
      
 1018 
     | 
    
         
            +
                #   The preferred language you specified in your request.
         
     | 
| 
      
 1019 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 1020 
     | 
    
         
            +
                #
         
     | 
| 
       930 
1021 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionResponse AWS API Documentation
         
     | 
| 
       931 
1022 
     | 
    
         
             
                #
         
     | 
| 
       932 
1023 
     | 
    
         
             
                class StartStreamTranscriptionResponse < Struct.new(
         
     | 
| 
         @@ -946,7 +1037,11 @@ module Aws::TranscribeStreamingService 
     | 
|
| 
       946 
1037 
     | 
    
         
             
                  :partial_results_stability,
         
     | 
| 
       947 
1038 
     | 
    
         
             
                  :content_identification_type,
         
     | 
| 
       948 
1039 
     | 
    
         
             
                  :content_redaction_type,
         
     | 
| 
       949 
     | 
    
         
            -
                  :pii_entity_types 
     | 
| 
      
 1040 
     | 
    
         
            +
                  :pii_entity_types,
         
     | 
| 
      
 1041 
     | 
    
         
            +
                  :language_model_name,
         
     | 
| 
      
 1042 
     | 
    
         
            +
                  :identify_language,
         
     | 
| 
      
 1043 
     | 
    
         
            +
                  :language_options,
         
     | 
| 
      
 1044 
     | 
    
         
            +
                  :preferred_language)
         
     | 
| 
       950 
1045 
     | 
    
         
             
                  SENSITIVE = []
         
     | 
| 
       951 
1046 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       952 
1047 
     | 
    
         
             
                end
         
     | 
    
        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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.37.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-11-22 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     | 
| 
         @@ -19,7 +19,7 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ">="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 3.122.0
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -29,7 +29,7 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 3.122.0
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |