diff --git a/AWSPolly.podspec b/AWSPolly.podspec index 010660f164a..f7d72691a2b 100644 --- a/AWSPolly.podspec +++ b/AWSPolly.podspec @@ -14,5 +14,5 @@ Pod::Spec.new do |s| s.requires_arc = true s.dependency 'AWSCore', '2.36.2' s.source_files = 'AWSPolly/*.{h,m}' - s.resource_bundle = { 'AWSPolly' => ['AWSPolly/PrivacyInfo.xcprivacy']} + s.resource_bundle = { 'AWSPolly' => ['AWSPolly/PrivacyInfo.xcprivacy'] } end diff --git a/AWSPolly/AWSPollyModel.h b/AWSPolly/AWSPollyModel.h index 80394453075..0cd81ca6b9e 100644 --- a/AWSPolly/AWSPollyModel.h +++ b/AWSPolly/AWSPollyModel.h @@ -51,6 +51,7 @@ typedef NS_ENUM(NSInteger, AWSPollyEngine) { AWSPollyEngineStandard, AWSPollyEngineNeural, AWSPollyEngineLongForm, + AWSPollyEngineGenerative, }; typedef NS_ENUM(NSInteger, AWSPollyGender) { @@ -284,7 +285,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { /** -
Specifies the engine (standard
, neural
or long-form
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
, long-form
or generative
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
, long-form
or generative
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
+The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
*/ @property (nonatomic, strong) NSString * _Nullable sampleRate; @@ -645,7 +646,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @property (nonatomic, strong) NSDate * _Nullable creationTime; /** -Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
, long-form
or generative
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
+The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
*/ @property (nonatomic, strong) NSString * _Nullable sampleRate; @@ -723,7 +724,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { /** -Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
long-form-only voices
When using long-form-only voices such as Danielle (en-US), this parameter is required and must be set to long-form
. If the engine is not specified, or is set to standard
or neural
, this will result in an error.
Type: String
Valid Values: standard
| neural
| long-form
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
Specifies the engine (standard
, neural
, long-form
, or generative
) for Amazon Polly to use when processing input text for speech synthesis. Provide an engine that is supported by the voice you select. If you don't provide an engine, the standard engine is selected by default. If a chosen voice isn't supported by the standard engine, this will result in an error. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
Type: String
Valid Values: standard
| neural
| long-form
| generative
Required: Yes
*/ @property (nonatomic, assign) AWSPollyEngine engine; @@ -743,7 +744,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @property (nonatomic, assign) AWSPollyOutputFormat outputFormat; /** -The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
+The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
*/ @property (nonatomic, strong) NSString * _Nullable sampleRate; @@ -829,7 +830,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @property (nonatomic, strong) NSString * _Nullable name; /** -Specifies which engines (standard
, neural
or long-form
) are supported by a given voice.
Specifies which engines (standard
, neural
, long-form
or generative
) are supported by a given voice.
Specifies the engine (standard
, neural
or long-form
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
, long-form
or generative
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
, long-form
or generative
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ + \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\". The default value for generative voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ },\ \"SnsTopicArn\":{\ \"shape\":\"SnsTopicArn\",\ @@ -848,7 +849,7 @@ - (NSString *)definitionString { \"members\":{\ \"Engine\":{\ \"shape\":\"Engine\",\ - \"documentation\":\"Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
, long-form
or generative
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ + \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\". The default value for generative voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ },\ \"SpeechMarkTypes\":{\ \"shape\":\"SpeechMarkTypeList\",\ @@ -932,7 +933,7 @@ - (NSString *)definitionString { \"members\":{\ \"Engine\":{\ \"shape\":\"Engine\",\ - \"documentation\":\"Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
long-form-only voices
When using long-form-only voices such as Danielle (en-US), this parameter is required and must be set to long-form
. If the engine is not specified, or is set to standard
or neural
, this will result in an error.
Type: String
Valid Values: standard
| neural
| long-form
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
Specifies the engine (standard
, neural
, long-form
, or generative
) for Amazon Polly to use when processing input text for speech synthesis. Provide an engine that is supported by the voice you select. If you don't provide an engine, the standard engine is selected by default. If a chosen voice isn't supported by the standard engine, this will result in an error. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
Type: String
Valid Values: standard
| neural
| long-form
| generative
Required: Yes
\"\ },\ \"LanguageCode\":{\ \"shape\":\"LanguageCode\",\ @@ -948,7 +949,7 @@ - (NSString *)definitionString { },\ \"SampleRate\":{\ \"shape\":\"SampleRate\",\ - \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ + \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\". The default value for generative voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ },\ \"SpeechMarkTypes\":{\ \"shape\":\"SpeechMarkTypeList\",\ @@ -1068,7 +1069,7 @@ - (NSString *)definitionString { },\ \"SupportedEngines\":{\ \"shape\":\"EngineList\",\ - \"documentation\":\"Specifies which engines (standard
, neural
or long-form
) are supported by a given voice.
Specifies which engines (standard
, neural
, long-form
or generative
) are supported by a given voice.
Description of the voice.
\"\