aws-sdk-polly 1.82.0 → 1.84.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: ffc7c6d3aba95e6ea1d265bcd972528314ea87870accdddf71fcd9e80a4274fb
4
- data.tar.gz: c179826a857fe756c21d28f121f8be110dfea41718dbb52288350e03e8ee527c
3
+ metadata.gz: 473f819f595770ae4023b41ceaca37e65fc5a7f632da3534e3d0b0bec1570284
4
+ data.tar.gz: a5b8133baf3cdaf1d1e07d08ca3a5903d3b865fa08abcfb00285b22328c269b8
5
5
  SHA512:
6
- metadata.gz: ec990fcb8bbb90c328cd1ace230f1fb4d7515398dc3193a4484b92843cb88f6ae7bee575362e1914a4732e766fa85e1967423d7987977f6a92e4fb6bf1939a5e
7
- data.tar.gz: 3f0791168503623aefb0e9089ce8f52afa89aeb856478418b6667c5f5fd333853b412184701797675043008b4bdd89295c023cce34c31c092ceefdb2fcd25d08
6
+ metadata.gz: 8b615b55b0e02065307b114e1067ccd6e25cd093a53e1a614e2597e938d7b3a321f52e6411cff206bcdd3ccbc1b7c1fa97cadebc581d9c5aa6fd6423aabd9caf
7
+ data.tar.gz: 6f3aab9ddb384b1afdfd902fdf20ef3a351bec2d981f14820581fe381d5dbdc6f1b8257af32349bf9ef5997e55553e040a719f150b6ec164dd8ef2c7dbc15a5b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2024-05-08)
5
+ ------------------
6
+
7
+ * Feature - Add new engine - generative - that builds the most expressive conversational voices.
8
+
9
+ 1.83.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.82.0 (2024-02-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.84.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::Polly
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::Polly
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::Polly
337
346
  # @option options [Aws::Polly::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Polly::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -455,8 +479,9 @@ module Aws::Polly
455
479
  # `polly:DescribeVoices` action.
456
480
  #
457
481
  # @option params [String] :engine
458
- # Specifies the engine (`standard`, `neural` or `long-form`) used by
459
- # Amazon Polly when processing input text for speech synthesis.
482
+ # Specifies the engine (`standard`, `neural`, `long-form` or
483
+ # `generative`) used by Amazon Polly when processing input text for
484
+ # speech synthesis.
460
485
  #
461
486
  # @option params [String] :language_code
462
487
  # The language identification tag (ISO 639 code for the language
@@ -521,7 +546,7 @@ module Aws::Polly
521
546
  # @example Request syntax with placeholder values
522
547
  #
523
548
  # resp = client.describe_voices({
524
- # engine: "standard", # accepts standard, neural, long-form
549
+ # engine: "standard", # accepts standard, neural, long-form, generative
525
550
  # 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
551
  # include_additional_language_codes: false,
527
552
  # next_token: "NextToken",
@@ -538,7 +563,7 @@ module Aws::Polly
538
563
  # resp.voices[0].additional_language_codes #=> Array
539
564
  # 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
565
  # resp.voices[0].supported_engines #=> Array
541
- # resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form"
566
+ # resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form", "generative"
542
567
  # resp.next_token #=> String
543
568
  #
544
569
  # @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices AWS API Documentation
@@ -637,7 +662,7 @@ module Aws::Polly
637
662
  #
638
663
  # @example Response structure
639
664
  #
640
- # resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
665
+ # resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form", "generative"
641
666
  # resp.synthesis_task.task_id #=> String
642
667
  # resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
643
668
  # resp.synthesis_task.task_status_reason #=> String
@@ -766,7 +791,7 @@ module Aws::Polly
766
791
  #
767
792
  # resp.next_token #=> String
768
793
  # resp.synthesis_tasks #=> Array
769
- # resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form"
794
+ # resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form", "generative"
770
795
  # resp.synthesis_tasks[0].task_id #=> String
771
796
  # resp.synthesis_tasks[0].task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
772
797
  # resp.synthesis_tasks[0].task_status_reason #=> String
@@ -857,10 +882,10 @@ module Aws::Polly
857
882
  # task.
858
883
  #
859
884
  # @option params [String] :engine
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.
885
+ # Specifies the engine (`standard`, `neural`, `long-form` or
886
+ # `generative`) for Amazon Polly to use when processing input text for
887
+ # speech synthesis. Using a voice that is not supported for the engine
888
+ # selected will result in an error.
864
889
  #
865
890
  # @option params [String] :language_code
866
891
  # Optional language code for the Speech Synthesis request. This is only
@@ -900,7 +925,8 @@ module Aws::Polly
900
925
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
901
926
  # "22050", and "24000". The default value for standard voices is
902
927
  # "22050". The default value for neural voices is "24000". The
903
- # default value for long-form voices is "24000".
928
+ # default value for long-form voices is "24000". The default value for
929
+ # generative voices is "24000".
904
930
  #
905
931
  # Valid values for pcm are "8000" and "16000" The default value is
906
932
  # "16000".
@@ -930,7 +956,7 @@ module Aws::Polly
930
956
  # @example Request syntax with placeholder values
931
957
  #
932
958
  # resp = client.start_speech_synthesis_task({
933
- # engine: "standard", # accepts standard, neural, long-form
959
+ # engine: "standard", # accepts standard, neural, long-form, generative
934
960
  # 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
935
961
  # lexicon_names: ["LexiconName"],
936
962
  # output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
@@ -946,7 +972,7 @@ module Aws::Polly
946
972
  #
947
973
  # @example Response structure
948
974
  #
949
- # resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
975
+ # resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form", "generative"
950
976
  # resp.synthesis_task.task_id #=> String
951
977
  # resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
952
978
  # resp.synthesis_task.task_status_reason #=> String
@@ -984,37 +1010,21 @@ module Aws::Polly
984
1010
  # [1]: https://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html
985
1011
  #
986
1012
  # @option params [String] :engine
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].
991
- #
992
- # **NTTS-only voices**
993
- #
994
- # When using NTTS-only voices such as Kevin (en-US), this parameter is
995
- # required and must be set to `neural`. If the engine is not specified,
996
- # or is set to `standard`, this will result in an error.
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.
1013
+ # Specifies the engine (`standard`, `neural`, `long-form`, or
1014
+ # `generative`) for Amazon Polly to use when processing input text for
1015
+ # speech synthesis. Provide an engine that is supported by the voice you
1016
+ # select. If you don't provide an engine, the standard engine is
1017
+ # selected by default. If a chosen voice isn't supported by the
1018
+ # standard engine, this will result in an error. For information on
1019
+ # Amazon Polly voices and which voices are available for each engine,
1020
+ # see [Available Voices][1].
1004
1021
  #
1005
1022
  # Type: String
1006
1023
  #
1007
- # Valid Values: `standard` \| `neural` \| `long-form`
1024
+ # Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
1008
1025
  #
1009
1026
  # Required: Yes
1010
1027
  #
1011
- # **Standard voices**
1012
- #
1013
- # For standard voices, this is not required; the engine parameter
1014
- # defaults to `standard`. If the engine is not specified, or is set to
1015
- # `standard` and an NTTS-only voice is selected, this will result in an
1016
- # error.
1017
- #
1018
1028
  #
1019
1029
  #
1020
1030
  # [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
@@ -1059,7 +1069,8 @@ module Aws::Polly
1059
1069
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
1060
1070
  # "22050", and "24000". The default value for standard voices is
1061
1071
  # "22050". The default value for neural voices is "24000". The
1062
- # default value for long-form voices is "24000".
1072
+ # default value for long-form voices is "24000". The default value for
1073
+ # generative voices is "24000".
1063
1074
  #
1064
1075
  # Valid values for pcm are "8000" and "16000" The default value is
1065
1076
  # "16000".
@@ -1119,7 +1130,7 @@ module Aws::Polly
1119
1130
  # @example Request syntax with placeholder values
1120
1131
  #
1121
1132
  # resp = client.synthesize_speech({
1122
- # engine: "standard", # accepts standard, neural, long-form
1133
+ # engine: "standard", # accepts standard, neural, long-form, generative
1123
1134
  # 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
1124
1135
  # lexicon_names: ["LexiconName"],
1125
1136
  # output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
@@ -1158,7 +1169,7 @@ module Aws::Polly
1158
1169
  params: params,
1159
1170
  config: config)
1160
1171
  context[:gem_name] = 'aws-sdk-polly'
1161
- context[:gem_version] = '1.82.0'
1172
+ context[:gem_version] = '1.84.0'
1162
1173
  Seahorse::Client::Request.new(handlers, context)
1163
1174
  end
1164
1175
 
@@ -28,8 +28,9 @@ module Aws::Polly
28
28
  class DeleteLexiconOutput < Aws::EmptyStructure; end
29
29
 
30
30
  # @!attribute [rw] engine
31
- # Specifies the engine (`standard`, `neural` or `long-form`) used by
32
- # Amazon Polly when processing input text for speech synthesis.
31
+ # Specifies the engine (`standard`, `neural`, `long-form` or
32
+ # `generative`) used by Amazon Polly when processing input text for
33
+ # speech synthesis.
33
34
  # @return [String]
34
35
  #
35
36
  # @!attribute [rw] language_code
@@ -575,10 +576,10 @@ module Aws::Polly
575
576
  end
576
577
 
577
578
  # @!attribute [rw] engine
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.
579
+ # Specifies the engine (`standard`, `neural`, `long-form` or
580
+ # `generative`) for Amazon Polly to use when processing input text for
581
+ # speech synthesis. Using a voice that is not supported for the engine
582
+ # selected will result in an error.
582
583
  # @return [String]
583
584
  #
584
585
  # @!attribute [rw] language_code
@@ -624,7 +625,8 @@ module Aws::Polly
624
625
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
625
626
  # "22050", and "24000". The default value for standard voices is
626
627
  # "22050". The default value for neural voices is "24000". The
627
- # default value for long-form voices is "24000".
628
+ # default value for long-form voices is "24000". The default value
629
+ # for generative voices is "24000".
628
630
  #
629
631
  # Valid values for pcm are "8000" and "16000" The default value is
630
632
  # "16000".
@@ -689,10 +691,10 @@ module Aws::Polly
689
691
  # synthesis task.
690
692
  #
691
693
  # @!attribute [rw] engine
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.
694
+ # Specifies the engine (`standard`, `neural`, `long-form` or
695
+ # `generative`) for Amazon Polly to use when processing input text for
696
+ # speech synthesis. Using a voice that is not supported for the engine
697
+ # selected will result in an error.
696
698
  # @return [String]
697
699
  #
698
700
  # @!attribute [rw] task_id
@@ -743,7 +745,8 @@ module Aws::Polly
743
745
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
744
746
  # "22050", and "24000". The default value for standard voices is
745
747
  # "22050". The default value for neural voices is "24000". The
746
- # default value for long-form voices is "24000".
748
+ # default value for long-form voices is "24000". The default value
749
+ # for generative voices is "24000".
747
750
  #
748
751
  # Valid values for pcm are "8000" and "16000" The default value is
749
752
  # "16000".
@@ -815,37 +818,21 @@ module Aws::Polly
815
818
  end
816
819
 
817
820
  # @!attribute [rw] engine
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].
822
- #
823
- # **NTTS-only voices**
824
- #
825
- # When using NTTS-only voices such as Kevin (en-US), this parameter is
826
- # required and must be set to `neural`. If the engine is not
827
- # specified, or is set to `standard`, this will result in an error.
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.
821
+ # Specifies the engine (`standard`, `neural`, `long-form`, or
822
+ # `generative`) for Amazon Polly to use when processing input text for
823
+ # speech synthesis. Provide an engine that is supported by the voice
824
+ # you select. If you don't provide an engine, the standard engine is
825
+ # selected by default. If a chosen voice isn't supported by the
826
+ # standard engine, this will result in an error. For information on
827
+ # Amazon Polly voices and which voices are available for each engine,
828
+ # see [Available Voices][1].
835
829
  #
836
830
  # Type: String
837
831
  #
838
- # Valid Values: `standard` \| `neural` \| `long-form`
832
+ # Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
839
833
  #
840
834
  # Required: Yes
841
835
  #
842
- # **Standard voices**
843
- #
844
- # For standard voices, this is not required; the engine parameter
845
- # defaults to `standard`. If the engine is not specified, or is set to
846
- # `standard` and an NTTS-only voice is selected, this will result in
847
- # an error.
848
- #
849
836
  #
850
837
  #
851
838
  # [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
@@ -894,7 +881,8 @@ module Aws::Polly
894
881
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
895
882
  # "22050", and "24000". The default value for standard voices is
896
883
  # "22050". The default value for neural voices is "24000". The
897
- # default value for long-form voices is "24000".
884
+ # default value for long-form voices is "24000". The default value
885
+ # for generative voices is "24000".
898
886
  #
899
887
  # Valid values for pcm are "8000" and "16000" The default value is
900
888
  # "16000".
@@ -1065,8 +1053,8 @@ module Aws::Polly
1065
1053
  # @return [Array<String>]
1066
1054
  #
1067
1055
  # @!attribute [rw] supported_engines
1068
- # Specifies which engines (`standard`, `neural` or `long-form`) are
1069
- # supported by a given voice.
1056
+ # Specifies which engines (`standard`, `neural`, `long-form` or
1057
+ # `generative`) are supported by a given voice.
1070
1058
  # @return [Array<String>]
1071
1059
  #
1072
1060
  # @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.82.0'
55
+ GEM_VERSION = '1.84.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -88,7 +88,7 @@ module Aws
88
88
  end
89
89
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Polly/Client.html#describe_voices-instance_method
90
90
  def describe_voices: (
91
- ?engine: ("standard" | "neural" | "long-form"),
91
+ ?engine: ("standard" | "neural" | "long-form" | "generative"),
92
92
  ?language_code: ("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"),
93
93
  ?include_additional_language_codes: bool,
94
94
  ?next_token: ::String
@@ -156,7 +156,7 @@ module Aws
156
156
  end
157
157
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Polly/Client.html#start_speech_synthesis_task-instance_method
158
158
  def start_speech_synthesis_task: (
159
- ?engine: ("standard" | "neural" | "long-form"),
159
+ ?engine: ("standard" | "neural" | "long-form" | "generative"),
160
160
  ?language_code: ("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"),
161
161
  ?lexicon_names: Array[::String],
162
162
  output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm"),
@@ -179,7 +179,7 @@ module Aws
179
179
  end
180
180
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Polly/Client.html#synthesize_speech-instance_method
181
181
  def synthesize_speech: (
182
- ?engine: ("standard" | "neural" | "long-form"),
182
+ ?engine: ("standard" | "neural" | "long-form" | "generative"),
183
183
  ?language_code: ("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"),
184
184
  ?lexicon_names: Array[::String],
185
185
  output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm"),
data/sig/types.rbs CHANGED
@@ -17,7 +17,7 @@ module Aws::Polly
17
17
  end
18
18
 
19
19
  class DescribeVoicesInput
20
- attr_accessor engine: ("standard" | "neural" | "long-form")
20
+ attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
21
21
  attr_accessor language_code: ("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")
22
22
  attr_accessor include_additional_language_codes: bool
23
23
  attr_accessor next_token: ::String
@@ -192,7 +192,7 @@ module Aws::Polly
192
192
  end
193
193
 
194
194
  class StartSpeechSynthesisTaskInput
195
- attr_accessor engine: ("standard" | "neural" | "long-form")
195
+ attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
196
196
  attr_accessor language_code: ("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")
197
197
  attr_accessor lexicon_names: ::Array[::String]
198
198
  attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
@@ -213,7 +213,7 @@ module Aws::Polly
213
213
  end
214
214
 
215
215
  class SynthesisTask
216
- attr_accessor engine: ("standard" | "neural" | "long-form")
216
+ attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
217
217
  attr_accessor task_id: ::String
218
218
  attr_accessor task_status: ("scheduled" | "inProgress" | "completed" | "failed")
219
219
  attr_accessor task_status_reason: ::String
@@ -237,7 +237,7 @@ module Aws::Polly
237
237
  end
238
238
 
239
239
  class SynthesizeSpeechInput
240
- attr_accessor engine: ("standard" | "neural" | "long-form")
240
+ attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
241
241
  attr_accessor language_code: ("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")
242
242
  attr_accessor lexicon_names: ::Array[::String]
243
243
  attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
@@ -278,7 +278,7 @@ module Aws::Polly
278
278
  attr_accessor language_name: ::String
279
279
  attr_accessor name: ::String
280
280
  attr_accessor additional_language_codes: ::Array[("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")]
281
- attr_accessor supported_engines: ::Array[("standard" | "neural" | "long-form")]
281
+ attr_accessor supported_engines: ::Array[("standard" | "neural" | "long-form" | "generative")]
282
282
  SENSITIVE: []
283
283
  end
284
284
  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.82.0
4
+ version: 1.84.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: 2024-02-15 00:00:00.000000000 Z
11
+ date: 2024-05-08 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement