aws-sdk-transcribeservice 1.17.0 → 1.18.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ef31a131f25ac3bf3960e64783cf5ca456e8db3
|
4
|
+
data.tar.gz: 6b571af281b8fa3844e5481f5512451b4ab00272
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 749447d2109487b7b60e9f417489c847dfb4d4d655deb049585711ef4876e88467a6cba5c0aaab3b66be6f3a445ea440240c7e34ac7a72c55aba0ac21b8d035f
|
7
|
+
data.tar.gz: af1f7e9fc9e81b8bfe2a0de17e77ccd31d8908340e08bbb01c1101c903a25a2cdb4a8d918633e9d25aefdf17c99ad685261c984fc365c4126e9950544f8b7220
|
@@ -225,9 +225,33 @@ module Aws::TranscribeService
|
|
225
225
|
# @option params [required, String] :language_code
|
226
226
|
# The language code of the vocabulary entries.
|
227
227
|
#
|
228
|
-
# @option params [
|
228
|
+
# @option params [Array<String>] :phrases
|
229
229
|
# An array of strings that contains the vocabulary entries.
|
230
230
|
#
|
231
|
+
# @option params [String] :vocabulary_file_uri
|
232
|
+
# The S3 location of the text file that contains the definition of the
|
233
|
+
# custom vocabulary. The URI must be in the same region as the API
|
234
|
+
# endpoint that you are calling. The general form is
|
235
|
+
#
|
236
|
+
# `
|
237
|
+
# https://s3-<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
238
|
+
# `
|
239
|
+
#
|
240
|
+
# For example:
|
241
|
+
#
|
242
|
+
# `https://s3-us-east-1.amazonaws.com/examplebucket/vocab.txt`
|
243
|
+
#
|
244
|
+
# For more information about S3 object names, see [Object Keys][1] in
|
245
|
+
# the *Amazon S3 Developer Guide*.
|
246
|
+
#
|
247
|
+
# For more information about custom vocabularies, see [Custom
|
248
|
+
# Vocabularies][2].
|
249
|
+
#
|
250
|
+
#
|
251
|
+
#
|
252
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
253
|
+
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
|
254
|
+
#
|
231
255
|
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
232
256
|
#
|
233
257
|
# * {Types::CreateVocabularyResponse#vocabulary_name #vocabulary_name} => String
|
@@ -241,7 +265,8 @@ module Aws::TranscribeService
|
|
241
265
|
# resp = client.create_vocabulary({
|
242
266
|
# vocabulary_name: "VocabularyName", # required
|
243
267
|
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
244
|
-
# phrases: ["Phrase"],
|
268
|
+
# phrases: ["Phrase"],
|
269
|
+
# vocabulary_file_uri: "Uri",
|
245
270
|
# })
|
246
271
|
#
|
247
272
|
# @example Response structure
|
@@ -608,9 +633,33 @@ module Aws::TranscribeService
|
|
608
633
|
# @option params [required, String] :language_code
|
609
634
|
# The language code of the vocabulary entries.
|
610
635
|
#
|
611
|
-
# @option params [
|
636
|
+
# @option params [Array<String>] :phrases
|
612
637
|
# An array of strings containing the vocabulary entries.
|
613
638
|
#
|
639
|
+
# @option params [String] :vocabulary_file_uri
|
640
|
+
# The S3 location of the text file that contains the definition of the
|
641
|
+
# custom vocabulary. The URI must be in the same region as the API
|
642
|
+
# endpoint that you are calling. The general form is
|
643
|
+
#
|
644
|
+
# `
|
645
|
+
# https://s3-<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
646
|
+
# `
|
647
|
+
#
|
648
|
+
# For example:
|
649
|
+
#
|
650
|
+
# `https://s3-us-east-1.amazonaws.com/examplebucket/vocab.txt`
|
651
|
+
#
|
652
|
+
# For more information about S3 object names, see [Object Keys][1] in
|
653
|
+
# the *Amazon S3 Developer Guide*.
|
654
|
+
#
|
655
|
+
# For more information about custom vocabularies, see [Custom
|
656
|
+
# Vocabularies][2].
|
657
|
+
#
|
658
|
+
#
|
659
|
+
#
|
660
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
661
|
+
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
|
662
|
+
#
|
614
663
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
615
664
|
#
|
616
665
|
# * {Types::UpdateVocabularyResponse#vocabulary_name #vocabulary_name} => String
|
@@ -623,7 +672,8 @@ module Aws::TranscribeService
|
|
623
672
|
# resp = client.update_vocabulary({
|
624
673
|
# vocabulary_name: "VocabularyName", # required
|
625
674
|
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
626
|
-
# phrases: ["Phrase"],
|
675
|
+
# phrases: ["Phrase"],
|
676
|
+
# vocabulary_file_uri: "Uri",
|
627
677
|
# })
|
628
678
|
#
|
629
679
|
# @example Response structure
|
@@ -655,7 +705,7 @@ module Aws::TranscribeService
|
|
655
705
|
params: params,
|
656
706
|
config: config)
|
657
707
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
658
|
-
context[:gem_version] = '1.
|
708
|
+
context[:gem_version] = '1.18.0'
|
659
709
|
Seahorse::Client::Request.new(handlers, context)
|
660
710
|
end
|
661
711
|
|
@@ -62,7 +62,8 @@ module Aws::TranscribeService
|
|
62
62
|
|
63
63
|
CreateVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
64
64
|
CreateVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
65
|
-
CreateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases,
|
65
|
+
CreateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
|
66
|
+
CreateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
66
67
|
CreateVocabularyRequest.struct_class = Types::CreateVocabularyRequest
|
67
68
|
|
68
69
|
CreateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
@@ -169,7 +170,8 @@ module Aws::TranscribeService
|
|
169
170
|
|
170
171
|
UpdateVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
171
172
|
UpdateVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
172
|
-
UpdateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases,
|
173
|
+
UpdateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
|
174
|
+
UpdateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
173
175
|
UpdateVocabularyRequest.struct_class = Types::UpdateVocabularyRequest
|
174
176
|
|
175
177
|
UpdateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
@@ -14,7 +14,8 @@ module Aws::TranscribeService
|
|
14
14
|
# {
|
15
15
|
# vocabulary_name: "VocabularyName", # required
|
16
16
|
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
17
|
-
# phrases: ["Phrase"],
|
17
|
+
# phrases: ["Phrase"],
|
18
|
+
# vocabulary_file_uri: "Uri",
|
18
19
|
# }
|
19
20
|
#
|
20
21
|
# @!attribute [rw] vocabulary_name
|
@@ -30,12 +31,38 @@ module Aws::TranscribeService
|
|
30
31
|
# An array of strings that contains the vocabulary entries.
|
31
32
|
# @return [Array<String>]
|
32
33
|
#
|
34
|
+
# @!attribute [rw] vocabulary_file_uri
|
35
|
+
# The S3 location of the text file that contains the definition of the
|
36
|
+
# custom vocabulary. The URI must be in the same region as the API
|
37
|
+
# endpoint that you are calling. The general form is
|
38
|
+
#
|
39
|
+
# `
|
40
|
+
# https://s3-<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
41
|
+
# `
|
42
|
+
#
|
43
|
+
# For example:
|
44
|
+
#
|
45
|
+
# `https://s3-us-east-1.amazonaws.com/examplebucket/vocab.txt`
|
46
|
+
#
|
47
|
+
# For more information about S3 object names, see [Object Keys][1] in
|
48
|
+
# the *Amazon S3 Developer Guide*.
|
49
|
+
#
|
50
|
+
# For more information about custom vocabularies, see [Custom
|
51
|
+
# Vocabularies][2].
|
52
|
+
#
|
53
|
+
#
|
54
|
+
#
|
55
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
56
|
+
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
|
57
|
+
# @return [String]
|
58
|
+
#
|
33
59
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
|
34
60
|
#
|
35
61
|
class CreateVocabularyRequest < Struct.new(
|
36
62
|
:vocabulary_name,
|
37
63
|
:language_code,
|
38
|
-
:phrases
|
64
|
+
:phrases,
|
65
|
+
:vocabulary_file_uri)
|
39
66
|
include Aws::Structure
|
40
67
|
end
|
41
68
|
|
@@ -720,7 +747,8 @@ module Aws::TranscribeService
|
|
720
747
|
# {
|
721
748
|
# vocabulary_name: "VocabularyName", # required
|
722
749
|
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
723
|
-
# phrases: ["Phrase"],
|
750
|
+
# phrases: ["Phrase"],
|
751
|
+
# vocabulary_file_uri: "Uri",
|
724
752
|
# }
|
725
753
|
#
|
726
754
|
# @!attribute [rw] vocabulary_name
|
@@ -735,12 +763,38 @@ module Aws::TranscribeService
|
|
735
763
|
# An array of strings containing the vocabulary entries.
|
736
764
|
# @return [Array<String>]
|
737
765
|
#
|
766
|
+
# @!attribute [rw] vocabulary_file_uri
|
767
|
+
# The S3 location of the text file that contains the definition of the
|
768
|
+
# custom vocabulary. The URI must be in the same region as the API
|
769
|
+
# endpoint that you are calling. The general form is
|
770
|
+
#
|
771
|
+
# `
|
772
|
+
# https://s3-<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
773
|
+
# `
|
774
|
+
#
|
775
|
+
# For example:
|
776
|
+
#
|
777
|
+
# `https://s3-us-east-1.amazonaws.com/examplebucket/vocab.txt`
|
778
|
+
#
|
779
|
+
# For more information about S3 object names, see [Object Keys][1] in
|
780
|
+
# the *Amazon S3 Developer Guide*.
|
781
|
+
#
|
782
|
+
# For more information about custom vocabularies, see [Custom
|
783
|
+
# Vocabularies][2].
|
784
|
+
#
|
785
|
+
#
|
786
|
+
#
|
787
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
788
|
+
# [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
|
789
|
+
# @return [String]
|
790
|
+
#
|
738
791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyRequest AWS API Documentation
|
739
792
|
#
|
740
793
|
class UpdateVocabularyRequest < Struct.new(
|
741
794
|
:vocabulary_name,
|
742
795
|
:language_code,
|
743
|
-
:phrases
|
796
|
+
:phrases,
|
797
|
+
:vocabulary_file_uri)
|
744
798
|
include Aws::Structure
|
745
799
|
end
|
746
800
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribeservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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: 2019-03-
|
11
|
+
date: 2019-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|