aws-sdk-transcribestreamingservice 1.34.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +7 -6
- data/lib/aws-sdk-transcribestreamingservice/client.rb +1 -1
- data/lib/aws-sdk-transcribestreamingservice/client_api.rb +3 -0
- data/lib/aws-sdk-transcribestreamingservice/types.rb +12 -7
- data/lib/aws-sdk-transcribestreamingservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cab57d9ea500511c5ce899a81279bb7c29da44a7dbd576b0ba778c54044ebd9b
|
4
|
+
data.tar.gz: 15f079c0e5fc44eaa231d5f20a89a121cbd4996135b6fa1bd5f754a614fa8860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41c61e4ddc54dd800d47f525eda033c4ad7bd423cb5cd072a206b7df580f428ab25b61e3fa39a6e388f6f4742c62282376f7fe6246d6fd6f55422164de86de16
|
7
|
+
data.tar.gz: 7ee08f47ca72d41636d9a5c9b0614cf1528d75294ed20a45f1595d09d7e3f21c307a65ddf7da1d22c36bce99f90902e6b8658954acdd4e630c4aaff630117efc
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -609,14 +609,12 @@ module Aws::TranscribeStreamingService
|
|
609
609
|
# specify entity types, you must have either `ContentIdentificationType`
|
610
610
|
# or `ContentRedactionType` enabled.
|
611
611
|
#
|
612
|
-
# `PIIEntityTypes` must be comma-separated; the available values are:
|
613
|
-
# `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_NUMBER`,
|
614
|
-
# `CREDIT_DEBIT_CVV`, `CREDIT_DEBIT_EXPIRY`, `PIN`, `EMAIL`, `ADDRESS`,
|
615
|
-
# `NAME`, `PHONE`, `SSN`, and `ALL`.
|
616
|
-
#
|
617
612
|
# `PiiEntityTypes` is an optional parameter with a default value of
|
618
613
|
# `ALL`.
|
619
614
|
#
|
615
|
+
# @option params [String] :language_model_name
|
616
|
+
# The name of the language model you want to use.
|
617
|
+
#
|
620
618
|
# @return [Types::StartStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
621
619
|
#
|
622
620
|
# * {Types::StartStreamTranscriptionResponse#request_id #request_id} => String
|
@@ -636,6 +634,7 @@ module Aws::TranscribeStreamingService
|
|
636
634
|
# * {Types::StartStreamTranscriptionResponse#content_identification_type #content_identification_type} => String
|
637
635
|
# * {Types::StartStreamTranscriptionResponse#content_redaction_type #content_redaction_type} => String
|
638
636
|
# * {Types::StartStreamTranscriptionResponse#pii_entity_types #pii_entity_types} => String
|
637
|
+
# * {Types::StartStreamTranscriptionResponse#language_model_name #language_model_name} => String
|
639
638
|
#
|
640
639
|
# @example Bi-directional EventStream Operation Example
|
641
640
|
#
|
@@ -748,6 +747,7 @@ module Aws::TranscribeStreamingService
|
|
748
747
|
# content_identification_type: "PII", # accepts PII
|
749
748
|
# content_redaction_type: "PII", # accepts PII
|
750
749
|
# pii_entity_types: "PiiEntityTypes",
|
750
|
+
# language_model_name: "ModelName",
|
751
751
|
# })
|
752
752
|
# # => Seahorse::Client::AsyncResponse
|
753
753
|
# async_resp.wait
|
@@ -817,6 +817,7 @@ module Aws::TranscribeStreamingService
|
|
817
817
|
# resp.content_identification_type #=> String, one of "PII"
|
818
818
|
# resp.content_redaction_type #=> String, one of "PII"
|
819
819
|
# resp.pii_entity_types #=> String
|
820
|
+
# resp.language_model_name #=> String
|
820
821
|
#
|
821
822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
|
822
823
|
#
|
@@ -861,7 +862,7 @@ module Aws::TranscribeStreamingService
|
|
861
862
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
862
863
|
config: config)
|
863
864
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
864
|
-
context[:gem_version] = '1.
|
865
|
+
context[:gem_version] = '1.35.0'
|
865
866
|
Seahorse::Client::Request.new(handlers, context)
|
866
867
|
end
|
867
868
|
|
@@ -351,7 +351,7 @@ module Aws::TranscribeStreamingService
|
|
351
351
|
params: params,
|
352
352
|
config: config)
|
353
353
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
354
|
-
context[:gem_version] = '1.
|
354
|
+
context[:gem_version] = '1.35.0'
|
355
355
|
Seahorse::Client::Request.new(handlers, context)
|
356
356
|
end
|
357
357
|
|
@@ -47,6 +47,7 @@ module Aws::TranscribeStreamingService
|
|
47
47
|
MedicalTranscript = Shapes::StructureShape.new(name: 'MedicalTranscript')
|
48
48
|
MedicalTranscriptEvent = Shapes::StructureShape.new(name: 'MedicalTranscriptEvent')
|
49
49
|
MedicalTranscriptResultStream = Shapes::StructureShape.new(name: 'MedicalTranscriptResultStream')
|
50
|
+
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
50
51
|
NumberOfChannels = Shapes::IntegerShape.new(name: 'NumberOfChannels')
|
51
52
|
PartialResultsStability = Shapes::StringShape.new(name: 'PartialResultsStability')
|
52
53
|
PiiEntityTypes = Shapes::StringShape.new(name: 'PiiEntityTypes')
|
@@ -229,6 +230,7 @@ module Aws::TranscribeStreamingService
|
|
229
230
|
StartStreamTranscriptionRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: ContentIdentificationType, location: "header", location_name: "x-amzn-transcribe-content-identification-type"))
|
230
231
|
StartStreamTranscriptionRequest.add_member(:content_redaction_type, Shapes::ShapeRef.new(shape: ContentRedactionType, location: "header", location_name: "x-amzn-transcribe-content-redaction-type"))
|
231
232
|
StartStreamTranscriptionRequest.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: PiiEntityTypes, location: "header", location_name: "x-amzn-transcribe-pii-entity-types"))
|
233
|
+
StartStreamTranscriptionRequest.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location: "header", location_name: "x-amzn-transcribe-language-model-name"))
|
232
234
|
StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
|
233
235
|
StartStreamTranscriptionRequest[:payload] = :audio_stream
|
234
236
|
StartStreamTranscriptionRequest[:payload_member] = StartStreamTranscriptionRequest.member(:audio_stream)
|
@@ -250,6 +252,7 @@ module Aws::TranscribeStreamingService
|
|
250
252
|
StartStreamTranscriptionResponse.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: ContentIdentificationType, location: "header", location_name: "x-amzn-transcribe-content-identification-type"))
|
251
253
|
StartStreamTranscriptionResponse.add_member(:content_redaction_type, Shapes::ShapeRef.new(shape: ContentRedactionType, location: "header", location_name: "x-amzn-transcribe-content-redaction-type"))
|
252
254
|
StartStreamTranscriptionResponse.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: PiiEntityTypes, location: "header", location_name: "x-amzn-transcribe-pii-entity-types"))
|
255
|
+
StartStreamTranscriptionResponse.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location: "header", location_name: "x-amzn-transcribe-language-model-name"))
|
253
256
|
StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
|
254
257
|
StartStreamTranscriptionResponse[:payload] = :transcript_result_stream
|
255
258
|
StartStreamTranscriptionResponse[:payload_member] = StartStreamTranscriptionResponse.member(:transcript_result_stream)
|
@@ -710,6 +710,7 @@ module Aws::TranscribeStreamingService
|
|
710
710
|
# content_identification_type: "PII", # accepts PII
|
711
711
|
# content_redaction_type: "PII", # accepts PII
|
712
712
|
# pii_entity_types: "PiiEntityTypes",
|
713
|
+
# language_model_name: "ModelName",
|
713
714
|
# }
|
714
715
|
#
|
715
716
|
# @!attribute [rw] language_code
|
@@ -823,15 +824,14 @@ module Aws::TranscribeStreamingService
|
|
823
824
|
# to specify entity types, you must have either
|
824
825
|
# `ContentIdentificationType` or `ContentRedactionType` enabled.
|
825
826
|
#
|
826
|
-
# `PIIEntityTypes` must be comma-separated; the available values are:
|
827
|
-
# `BANK_ACCOUNT_NUMBER`, `BANK_ROUTING`, `CREDIT_DEBIT_NUMBER`,
|
828
|
-
# `CREDIT_DEBIT_CVV`, `CREDIT_DEBIT_EXPIRY`, `PIN`, `EMAIL`,
|
829
|
-
# `ADDRESS`, `NAME`, `PHONE`, `SSN`, and `ALL`.
|
830
|
-
#
|
831
827
|
# `PiiEntityTypes` is an optional parameter with a default value of
|
832
828
|
# `ALL`.
|
833
829
|
# @return [String]
|
834
830
|
#
|
831
|
+
# @!attribute [rw] language_model_name
|
832
|
+
# The name of the language model you want to use.
|
833
|
+
# @return [String]
|
834
|
+
#
|
835
835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionRequest AWS API Documentation
|
836
836
|
#
|
837
837
|
class StartStreamTranscriptionRequest < Struct.new(
|
@@ -850,7 +850,8 @@ module Aws::TranscribeStreamingService
|
|
850
850
|
:partial_results_stability,
|
851
851
|
:content_identification_type,
|
852
852
|
:content_redaction_type,
|
853
|
-
:pii_entity_types
|
853
|
+
:pii_entity_types,
|
854
|
+
:language_model_name)
|
854
855
|
SENSITIVE = []
|
855
856
|
include Aws::Structure
|
856
857
|
end
|
@@ -927,6 +928,9 @@ module Aws::TranscribeStreamingService
|
|
927
928
|
# Lists the PII entity types you specified in your request.
|
928
929
|
# @return [String]
|
929
930
|
#
|
931
|
+
# @!attribute [rw] language_model_name
|
932
|
+
# @return [String]
|
933
|
+
#
|
930
934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionResponse AWS API Documentation
|
931
935
|
#
|
932
936
|
class StartStreamTranscriptionResponse < Struct.new(
|
@@ -946,7 +950,8 @@ module Aws::TranscribeStreamingService
|
|
946
950
|
:partial_results_stability,
|
947
951
|
:content_identification_type,
|
948
952
|
:content_redaction_type,
|
949
|
-
:pii_entity_types
|
953
|
+
:pii_entity_types,
|
954
|
+
:language_model_name)
|
950
955
|
SENSITIVE = []
|
951
956
|
include Aws::Structure
|
952
957
|
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.35.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-10-
|
11
|
+
date: 2021-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|