aws-sdk-polly 1.77.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dcddd20eb27fb85a9c6c846a4c2dfadeda4ee99ef164c0d04de2cd3878c8137
4
- data.tar.gz: 8549e6eaed4d2e46c56662da45115424bc3138b643016f2f5b7d08e21d3b4c86
3
+ metadata.gz: 04414f6fc5eec776d0940088544960164ef40564fa4fe1c83073684a33a0b79c
4
+ data.tar.gz: '0991e0d3aeba7a07ad3a1445d09958c2ad333a9bfa060921b734248f8ab35f33'
5
5
  SHA512:
6
- metadata.gz: 0fd82eb2986f6046439fec8bec5709d5ffa2ea0cc781996dfe2e15e63e711418bda1fa28438f078e2d3b10291c10593c50ecb096e5f07e74b4d19d2037924578
7
- data.tar.gz: 2748f7694614e075513b2cb47e22ab05087555795f29e62fb45230a32598d4d1a8a3bee25f274b4a5af3f61fb57b2f2a6a18d17e7e46f0162dcb5f896c8d65fb
6
+ metadata.gz: 4ee7521245b7f1c9835107208074ec1327ca937155269556eba39e00ca7ad45d64dd8c5fa9dc8d92352acd954464be3ebba64d44237dec80d4516a857c8f4bb3
7
+ data.tar.gz: 15fcb0b34081df119440973298a12b4c76bc438297565a29267d687eb220fe09265ed5321ecd8e1e8c7b57e201917bb9478b81186918a590c36ec30d9774cf71
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2023-11-16)
5
+ ------------------
6
+
7
+ * Feature - Add new engine - long-form - dedicated for longer content, such as news articles, training materials, or marketing videos.
8
+
4
9
  1.77.0 (2023-11-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.78.0
@@ -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 `neural`) used by Amazon Polly
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 `neural`) for Amazon Polly to use
861
- # when processing input text for speech synthesis. Using a voice that is
862
- # not supported for the engine selected will result in an error.
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 `neural`) for Amazon Polly to use
986
- # when processing input text for speech synthesis. For information on
987
- # Amazon Polly voices and which voices are available in standard-only,
988
- # NTTS-only, and both standard and NTTS formats, see [Available
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.77.0'
1161
+ context[:gem_version] = '1.78.0'
1153
1162
  Seahorse::Client::Request.new(handlers, context)
1154
1163
  end
1155
1164
 
@@ -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 `neural`) used by Amazon Polly
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 `neural`) for Amazon Polly to
579
- # use when processing input text for speech synthesis. Using a voice
580
- # that is not supported for the engine selected will result in an
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 `neural`) for Amazon Polly to
692
- # use when processing input text for speech synthesis. Using a voice
693
- # that is not supported for the engine selected will result in an
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 `neural`) for Amazon Polly to
817
- # use when processing input text for speech synthesis. For information
818
- # on Amazon Polly voices and which voices are available in
819
- # standard-only, NTTS-only, and both standard and NTTS formats, see
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 `neural`) that are supported
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-polly/customizations'
52
52
  # @!group service
53
53
  module Aws::Polly
54
54
 
55
- GEM_VERSION = '1.77.0'
55
+ GEM_VERSION = '1.78.0'
56
56
 
57
57
  end
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.77.0
4
+ version: 1.78.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-06 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core