aws-sdk-polly 1.77.0 → 1.79.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-polly/client.rb +30 -21
- data/lib/aws-sdk-polly/types.rb +30 -21
- data/lib/aws-sdk-polly.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d04abbe2a6ccb62b8893552dd601135a0fa1aa1f7f26a7c3324ac5b164f34bbe
|
4
|
+
data.tar.gz: '08ee865f5b162f7f901d56989cf82ad30d58730ccfe3deeb31faf296b75b544f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0d7dc164c452d8fe6e808ef9f2fccd24a40133594a8d965c03d531ee8041b1f734c2a358460331cc3b24b20c9e955f49680bb151dc0e26a978432a3cca010e3
|
7
|
+
data.tar.gz: b99e21f3d81617bdebd9865ac443120f8d9b8b8f2ea440685e98230e99cbcb1e49c083c8761cc1dbaeea935a7b33271ca40f9848a89801a610c24c5ea82d6c31
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.79.0 (2023-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.78.0 (2023-11-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add new engine - long-form - dedicated for longer content, such as news articles, training materials, or marketing videos.
|
13
|
+
|
4
14
|
1.77.0 (2023-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.79.0
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -455,8 +455,8 @@ module Aws::Polly
|
|
455
455
|
# `polly:DescribeVoices` action.
|
456
456
|
#
|
457
457
|
# @option params [String] :engine
|
458
|
-
# Specifies the engine (`standard` or `
|
459
|
-
# when processing input text for speech synthesis.
|
458
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) used by
|
459
|
+
# Amazon Polly when processing input text for speech synthesis.
|
460
460
|
#
|
461
461
|
# @option params [String] :language_code
|
462
462
|
# The language identification tag (ISO 639 code for the language
|
@@ -521,7 +521,7 @@ module Aws::Polly
|
|
521
521
|
# @example Request syntax with placeholder values
|
522
522
|
#
|
523
523
|
# resp = client.describe_voices({
|
524
|
-
# engine: "standard", # accepts standard, neural
|
524
|
+
# engine: "standard", # accepts standard, neural, long-form
|
525
525
|
# language_code: "arb", # accepts arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB, en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT, ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE, nl-BE, fr-BE
|
526
526
|
# include_additional_language_codes: false,
|
527
527
|
# next_token: "NextToken",
|
@@ -538,7 +538,7 @@ module Aws::Polly
|
|
538
538
|
# resp.voices[0].additional_language_codes #=> Array
|
539
539
|
# resp.voices[0].additional_language_codes[0] #=> String, one of "arb", "cmn-CN", "cy-GB", "da-DK", "de-DE", "en-AU", "en-GB", "en-GB-WLS", "en-IN", "en-US", "es-ES", "es-MX", "es-US", "fr-CA", "fr-FR", "is-IS", "it-IT", "ja-JP", "hi-IN", "ko-KR", "nb-NO", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "sv-SE", "tr-TR", "en-NZ", "en-ZA", "ca-ES", "de-AT", "yue-CN", "ar-AE", "fi-FI", "en-IE", "nl-BE", "fr-BE"
|
540
540
|
# resp.voices[0].supported_engines #=> Array
|
541
|
-
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural"
|
541
|
+
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form"
|
542
542
|
# resp.next_token #=> String
|
543
543
|
#
|
544
544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices AWS API Documentation
|
@@ -637,7 +637,7 @@ module Aws::Polly
|
|
637
637
|
#
|
638
638
|
# @example Response structure
|
639
639
|
#
|
640
|
-
# resp.synthesis_task.engine #=> String, one of "standard", "neural"
|
640
|
+
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
|
641
641
|
# resp.synthesis_task.task_id #=> String
|
642
642
|
# resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
643
643
|
# resp.synthesis_task.task_status_reason #=> String
|
@@ -766,7 +766,7 @@ module Aws::Polly
|
|
766
766
|
#
|
767
767
|
# resp.next_token #=> String
|
768
768
|
# resp.synthesis_tasks #=> Array
|
769
|
-
# resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural"
|
769
|
+
# resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form"
|
770
770
|
# resp.synthesis_tasks[0].task_id #=> String
|
771
771
|
# resp.synthesis_tasks[0].task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
772
772
|
# resp.synthesis_tasks[0].task_status_reason #=> String
|
@@ -857,9 +857,10 @@ module Aws::Polly
|
|
857
857
|
# task.
|
858
858
|
#
|
859
859
|
# @option params [String] :engine
|
860
|
-
# Specifies the engine (`standard` or `
|
861
|
-
# when processing input text for speech synthesis. Using a
|
862
|
-
# not supported for the engine selected will result in an
|
860
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) for Amazon
|
861
|
+
# Polly to use when processing input text for speech synthesis. Using a
|
862
|
+
# voice that is not supported for the engine selected will result in an
|
863
|
+
# error.
|
863
864
|
#
|
864
865
|
# @option params [String] :language_code
|
865
866
|
# Optional language code for the Speech Synthesis request. This is only
|
@@ -898,7 +899,8 @@ module Aws::Polly
|
|
898
899
|
#
|
899
900
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
900
901
|
# "22050", and "24000". The default value for standard voices is
|
901
|
-
# "22050". The default value for neural voices is "24000".
|
902
|
+
# "22050". The default value for neural voices is "24000". The
|
903
|
+
# default value for long-form voices is "24000".
|
902
904
|
#
|
903
905
|
# Valid values for pcm are "8000" and "16000" The default value is
|
904
906
|
# "16000".
|
@@ -928,7 +930,7 @@ module Aws::Polly
|
|
928
930
|
# @example Request syntax with placeholder values
|
929
931
|
#
|
930
932
|
# resp = client.start_speech_synthesis_task({
|
931
|
-
# engine: "standard", # accepts standard, neural
|
933
|
+
# engine: "standard", # accepts standard, neural, long-form
|
932
934
|
# language_code: "arb", # accepts arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB, en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT, ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE, nl-BE, fr-BE
|
933
935
|
# lexicon_names: ["LexiconName"],
|
934
936
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
@@ -944,7 +946,7 @@ module Aws::Polly
|
|
944
946
|
#
|
945
947
|
# @example Response structure
|
946
948
|
#
|
947
|
-
# resp.synthesis_task.engine #=> String, one of "standard", "neural"
|
949
|
+
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
|
948
950
|
# resp.synthesis_task.task_id #=> String
|
949
951
|
# resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
950
952
|
# resp.synthesis_task.task_status_reason #=> String
|
@@ -982,11 +984,10 @@ module Aws::Polly
|
|
982
984
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html
|
983
985
|
#
|
984
986
|
# @option params [String] :engine
|
985
|
-
# Specifies the engine (`standard` or `
|
986
|
-
# when processing input text for speech synthesis. For
|
987
|
-
# Amazon Polly voices and which voices are available
|
988
|
-
#
|
989
|
-
# Voices][1].
|
987
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) for Amazon
|
988
|
+
# Polly to use when processing input text for speech synthesis. For
|
989
|
+
# information on Amazon Polly voices and which voices are available for
|
990
|
+
# each engine, see [Available Voices][1].
|
990
991
|
#
|
991
992
|
# **NTTS-only voices**
|
992
993
|
#
|
@@ -994,9 +995,16 @@ module Aws::Polly
|
|
994
995
|
# required and must be set to `neural`. If the engine is not specified,
|
995
996
|
# or is set to `standard`, this will result in an error.
|
996
997
|
#
|
998
|
+
# **long-form-only voices**
|
999
|
+
#
|
1000
|
+
# When using long-form-only voices such as Danielle (en-US), this
|
1001
|
+
# parameter is required and must be set to `long-form`. If the engine is
|
1002
|
+
# not specified, or is set to `standard` or `neural`, this will result
|
1003
|
+
# in an error.
|
1004
|
+
#
|
997
1005
|
# Type: String
|
998
1006
|
#
|
999
|
-
# Valid Values: `standard` \| `neural`
|
1007
|
+
# Valid Values: `standard` \| `neural` \| `long-form`
|
1000
1008
|
#
|
1001
1009
|
# Required: Yes
|
1002
1010
|
#
|
@@ -1050,7 +1058,8 @@ module Aws::Polly
|
|
1050
1058
|
#
|
1051
1059
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
1052
1060
|
# "22050", and "24000". The default value for standard voices is
|
1053
|
-
# "22050". The default value for neural voices is "24000".
|
1061
|
+
# "22050". The default value for neural voices is "24000". The
|
1062
|
+
# default value for long-form voices is "24000".
|
1054
1063
|
#
|
1055
1064
|
# Valid values for pcm are "8000" and "16000" The default value is
|
1056
1065
|
# "16000".
|
@@ -1110,7 +1119,7 @@ module Aws::Polly
|
|
1110
1119
|
# @example Request syntax with placeholder values
|
1111
1120
|
#
|
1112
1121
|
# resp = client.synthesize_speech({
|
1113
|
-
# engine: "standard", # accepts standard, neural
|
1122
|
+
# engine: "standard", # accepts standard, neural, long-form
|
1114
1123
|
# language_code: "arb", # accepts arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB, en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT, ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE, nl-BE, fr-BE
|
1115
1124
|
# lexicon_names: ["LexiconName"],
|
1116
1125
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
@@ -1149,7 +1158,7 @@ module Aws::Polly
|
|
1149
1158
|
params: params,
|
1150
1159
|
config: config)
|
1151
1160
|
context[:gem_name] = 'aws-sdk-polly'
|
1152
|
-
context[:gem_version] = '1.
|
1161
|
+
context[:gem_version] = '1.79.0'
|
1153
1162
|
Seahorse::Client::Request.new(handlers, context)
|
1154
1163
|
end
|
1155
1164
|
|
data/lib/aws-sdk-polly/types.rb
CHANGED
@@ -28,8 +28,8 @@ module Aws::Polly
|
|
28
28
|
class DeleteLexiconOutput < Aws::EmptyStructure; end
|
29
29
|
|
30
30
|
# @!attribute [rw] engine
|
31
|
-
# Specifies the engine (`standard` or `
|
32
|
-
# when processing input text for speech synthesis.
|
31
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) used by
|
32
|
+
# Amazon Polly when processing input text for speech synthesis.
|
33
33
|
# @return [String]
|
34
34
|
#
|
35
35
|
# @!attribute [rw] language_code
|
@@ -575,10 +575,10 @@ module Aws::Polly
|
|
575
575
|
end
|
576
576
|
|
577
577
|
# @!attribute [rw] engine
|
578
|
-
# Specifies the engine (`standard` or `
|
579
|
-
# use when processing input text for speech synthesis.
|
580
|
-
# that is not supported for the engine selected will
|
581
|
-
# error.
|
578
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) for
|
579
|
+
# Amazon Polly to use when processing input text for speech synthesis.
|
580
|
+
# Using a voice that is not supported for the engine selected will
|
581
|
+
# result in an error.
|
582
582
|
# @return [String]
|
583
583
|
#
|
584
584
|
# @!attribute [rw] language_code
|
@@ -623,7 +623,8 @@ module Aws::Polly
|
|
623
623
|
#
|
624
624
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
625
625
|
# "22050", and "24000". The default value for standard voices is
|
626
|
-
# "22050". The default value for neural voices is "24000".
|
626
|
+
# "22050". The default value for neural voices is "24000". The
|
627
|
+
# default value for long-form voices is "24000".
|
627
628
|
#
|
628
629
|
# Valid values for pcm are "8000" and "16000" The default value is
|
629
630
|
# "16000".
|
@@ -688,10 +689,10 @@ module Aws::Polly
|
|
688
689
|
# synthesis task.
|
689
690
|
#
|
690
691
|
# @!attribute [rw] engine
|
691
|
-
# Specifies the engine (`standard` or `
|
692
|
-
# use when processing input text for speech synthesis.
|
693
|
-
# that is not supported for the engine selected will
|
694
|
-
# error.
|
692
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) for
|
693
|
+
# Amazon Polly to use when processing input text for speech synthesis.
|
694
|
+
# Using a voice that is not supported for the engine selected will
|
695
|
+
# result in an error.
|
695
696
|
# @return [String]
|
696
697
|
#
|
697
698
|
# @!attribute [rw] task_id
|
@@ -741,7 +742,8 @@ module Aws::Polly
|
|
741
742
|
#
|
742
743
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
743
744
|
# "22050", and "24000". The default value for standard voices is
|
744
|
-
# "22050". The default value for neural voices is "24000".
|
745
|
+
# "22050". The default value for neural voices is "24000". The
|
746
|
+
# default value for long-form voices is "24000".
|
745
747
|
#
|
746
748
|
# Valid values for pcm are "8000" and "16000" The default value is
|
747
749
|
# "16000".
|
@@ -813,11 +815,10 @@ module Aws::Polly
|
|
813
815
|
end
|
814
816
|
|
815
817
|
# @!attribute [rw] engine
|
816
|
-
# Specifies the engine (`standard` or `
|
817
|
-
# use when processing input text for speech synthesis.
|
818
|
-
# on Amazon Polly voices and which voices are
|
819
|
-
#
|
820
|
-
# [Available Voices][1].
|
818
|
+
# Specifies the engine (`standard`, `neural` or `long-form`) for
|
819
|
+
# Amazon Polly to use when processing input text for speech synthesis.
|
820
|
+
# For information on Amazon Polly voices and which voices are
|
821
|
+
# available for each engine, see [Available Voices][1].
|
821
822
|
#
|
822
823
|
# **NTTS-only voices**
|
823
824
|
#
|
@@ -825,9 +826,16 @@ module Aws::Polly
|
|
825
826
|
# required and must be set to `neural`. If the engine is not
|
826
827
|
# specified, or is set to `standard`, this will result in an error.
|
827
828
|
#
|
829
|
+
# **long-form-only voices**
|
830
|
+
#
|
831
|
+
# When using long-form-only voices such as Danielle (en-US), this
|
832
|
+
# parameter is required and must be set to `long-form`. If the engine
|
833
|
+
# is not specified, or is set to `standard` or `neural`, this will
|
834
|
+
# result in an error.
|
835
|
+
#
|
828
836
|
# Type: String
|
829
837
|
#
|
830
|
-
# Valid Values: `standard` \| `neural`
|
838
|
+
# Valid Values: `standard` \| `neural` \| `long-form`
|
831
839
|
#
|
832
840
|
# Required: Yes
|
833
841
|
#
|
@@ -885,7 +893,8 @@ module Aws::Polly
|
|
885
893
|
#
|
886
894
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
887
895
|
# "22050", and "24000". The default value for standard voices is
|
888
|
-
# "22050". The default value for neural voices is "24000".
|
896
|
+
# "22050". The default value for neural voices is "24000". The
|
897
|
+
# default value for long-form voices is "24000".
|
889
898
|
#
|
890
899
|
# Valid values for pcm are "8000" and "16000" The default value is
|
891
900
|
# "16000".
|
@@ -1056,8 +1065,8 @@ module Aws::Polly
|
|
1056
1065
|
# @return [Array<String>]
|
1057
1066
|
#
|
1058
1067
|
# @!attribute [rw] supported_engines
|
1059
|
-
# Specifies which engines (`standard` or `
|
1060
|
-
# by a given voice.
|
1068
|
+
# Specifies which engines (`standard`, `neural` or `long-form`) are
|
1069
|
+
# supported by a given voice.
|
1061
1070
|
# @return [Array<String>]
|
1062
1071
|
#
|
1063
1072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/Voice AWS API Documentation
|
data/lib/aws-sdk-polly.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-polly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.79.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: 2023-11-
|
11
|
+
date: 2023-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.188.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.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '2.
|
84
|
+
version: '2.5'
|
85
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|