Module: Aws::Polly::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-polly/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

Alphabet =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Alphabet')
AudioStream =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'AudioStream', streaming: true)
ContentType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ContentType')
DateTime =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'DateTime')
DeleteLexiconInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteLexiconInput')
DeleteLexiconOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteLexiconOutput')
DescribeVoicesInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeVoicesInput')
DescribeVoicesOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeVoicesOutput')
Engine =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Engine')
EngineList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'EngineList')
EngineNotSupportedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EngineNotSupportedException')
ErrorMessage =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ErrorMessage')
Gender =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Gender')
GetLexiconInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetLexiconInput')
GetLexiconOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetLexiconOutput')
GetSpeechSynthesisTaskInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetSpeechSynthesisTaskInput')
GetSpeechSynthesisTaskOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetSpeechSynthesisTaskOutput')
IncludeAdditionalLanguageCodes =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'IncludeAdditionalLanguageCodes')
InvalidLexiconException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidLexiconException')
InvalidNextTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidNextTokenException')
InvalidS3BucketException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidS3BucketException')
InvalidS3KeyException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidS3KeyException')
InvalidSampleRateException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidSampleRateException')
InvalidSnsTopicArnException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidSnsTopicArnException')
InvalidSsmlException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidSsmlException')
InvalidTaskIdException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidTaskIdException')
LanguageCode =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LanguageCode')
LanguageCodeList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'LanguageCodeList')
LanguageName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LanguageName')
LanguageNotSupportedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LanguageNotSupportedException')
LastModified =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'LastModified')
LexemesCount =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'LexemesCount')
Lexicon =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Lexicon')
LexiconArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LexiconArn')
LexiconAttributes =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LexiconAttributes')
LexiconContent =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LexiconContent')
LexiconDescription =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LexiconDescription')
LexiconDescriptionList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'LexiconDescriptionList')
LexiconName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LexiconName')
LexiconNameList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'LexiconNameList')
LexiconNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LexiconNotFoundException')
LexiconSizeExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LexiconSizeExceededException')
ListLexiconsInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListLexiconsInput')
ListLexiconsOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListLexiconsOutput')
ListSpeechSynthesisTasksInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListSpeechSynthesisTasksInput')
ListSpeechSynthesisTasksOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListSpeechSynthesisTasksOutput')
MarksNotSupportedForFormatException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'MarksNotSupportedForFormatException')
MaxLexemeLengthExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'MaxLexemeLengthExceededException')
MaxLexiconsNumberExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'MaxLexiconsNumberExceededException')
MaxResults =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'MaxResults')
NextToken =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NextToken')
OutputFormat =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'OutputFormat')
OutputS3BucketName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'OutputS3BucketName')
OutputS3KeyPrefix =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'OutputS3KeyPrefix')
OutputUri =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'OutputUri')
PutLexiconInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PutLexiconInput')
PutLexiconOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'PutLexiconOutput')
RequestCharacters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'RequestCharacters')
SampleRate =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SampleRate')
ServiceFailureException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ServiceFailureException')
Size =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'Size')
SnsTopicArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SnsTopicArn')
SpeechMarkType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SpeechMarkType')
SpeechMarkTypeList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'SpeechMarkTypeList')
SsmlMarksNotSupportedForTextTypeException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SsmlMarksNotSupportedForTextTypeException')
StartSpeechSynthesisTaskInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'StartSpeechSynthesisTaskInput')
StartSpeechSynthesisTaskOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'StartSpeechSynthesisTaskOutput')
SynthesisTask =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SynthesisTask')
SynthesisTaskNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SynthesisTaskNotFoundException')
SynthesisTasks =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'SynthesisTasks')
SynthesizeSpeechInput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SynthesizeSpeechInput')
SynthesizeSpeechOutput =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SynthesizeSpeechOutput')
TaskId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TaskId')
TaskStatus =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TaskStatus')
TaskStatusReason =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TaskStatusReason')
Text =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Text')
TextLengthExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TextLengthExceededException')
TextType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TextType')
UnsupportedPlsAlphabetException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UnsupportedPlsAlphabetException')
UnsupportedPlsLanguageException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UnsupportedPlsLanguageException')
Voice =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Voice')
VoiceId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'VoiceId')
VoiceList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'VoiceList')
VoiceName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'VoiceName')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2016-06-10"

  api. = {
    "apiVersion" => "2016-06-10",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "polly",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "Amazon Polly",
    "serviceId" => "Polly",
    "signatureVersion" => "v4",
    "uid" => "polly-2016-06-10",
  }

  api.add_operation(:delete_lexicon, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteLexicon"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/lexicons/{LexiconName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteLexiconInput)
    o.output = Shapes::ShapeRef.new(shape: DeleteLexiconOutput)
    o.errors << Shapes::ShapeRef.new(shape: LexiconNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
  end)

  api.add_operation(:describe_voices, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeVoices"
    o.http_method = "GET"
    o.http_request_uri = "/v1/voices"
    o.input = Shapes::ShapeRef.new(shape: DescribeVoicesInput)
    o.output = Shapes::ShapeRef.new(shape: DescribeVoicesOutput)
    o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
  end)

  api.add_operation(:get_lexicon, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetLexicon"
    o.http_method = "GET"
    o.http_request_uri = "/v1/lexicons/{LexiconName}"
    o.input = Shapes::ShapeRef.new(shape: GetLexiconInput)
    o.output = Shapes::ShapeRef.new(shape: GetLexiconOutput)
    o.errors << Shapes::ShapeRef.new(shape: LexiconNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
  end)

  api.add_operation(:get_speech_synthesis_task, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetSpeechSynthesisTask"
    o.http_method = "GET"
    o.http_request_uri = "/v1/synthesisTasks/{TaskId}"
    o.input = Shapes::ShapeRef.new(shape: GetSpeechSynthesisTaskInput)
    o.output = Shapes::ShapeRef.new(shape: GetSpeechSynthesisTaskOutput)
    o.errors << Shapes::ShapeRef.new(shape: InvalidTaskIdException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
    o.errors << Shapes::ShapeRef.new(shape: SynthesisTaskNotFoundException)
  end)

  api.add_operation(:list_lexicons, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListLexicons"
    o.http_method = "GET"
    o.http_request_uri = "/v1/lexicons"
    o.input = Shapes::ShapeRef.new(shape: ListLexiconsInput)
    o.output = Shapes::ShapeRef.new(shape: ListLexiconsOutput)
    o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
  end)

  api.add_operation(:list_speech_synthesis_tasks, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListSpeechSynthesisTasks"
    o.http_method = "GET"
    o.http_request_uri = "/v1/synthesisTasks"
    o.input = Shapes::ShapeRef.new(shape: ListSpeechSynthesisTasksInput)
    o.output = Shapes::ShapeRef.new(shape: ListSpeechSynthesisTasksOutput)
    o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:put_lexicon, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutLexicon"
    o.http_method = "PUT"
    o.http_request_uri = "/v1/lexicons/{LexiconName}"
    o.input = Shapes::ShapeRef.new(shape: PutLexiconInput)
    o.output = Shapes::ShapeRef.new(shape: PutLexiconOutput)
    o.errors << Shapes::ShapeRef.new(shape: InvalidLexiconException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedPlsAlphabetException)
    o.errors << Shapes::ShapeRef.new(shape: UnsupportedPlsLanguageException)
    o.errors << Shapes::ShapeRef.new(shape: LexiconSizeExceededException)
    o.errors << Shapes::ShapeRef.new(shape: MaxLexemeLengthExceededException)
    o.errors << Shapes::ShapeRef.new(shape: MaxLexiconsNumberExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
  end)

  api.add_operation(:start_speech_synthesis_task, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StartSpeechSynthesisTask"
    o.http_method = "POST"
    o.http_request_uri = "/v1/synthesisTasks"
    o.input = Shapes::ShapeRef.new(shape: StartSpeechSynthesisTaskInput)
    o.output = Shapes::ShapeRef.new(shape: StartSpeechSynthesisTaskOutput)
    o.errors << Shapes::ShapeRef.new(shape: TextLengthExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidS3BucketException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidS3KeyException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidSampleRateException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidSnsTopicArnException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidSsmlException)
    o.errors << Shapes::ShapeRef.new(shape: EngineNotSupportedException)
    o.errors << Shapes::ShapeRef.new(shape: LexiconNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
    o.errors << Shapes::ShapeRef.new(shape: MarksNotSupportedForFormatException)
    o.errors << Shapes::ShapeRef.new(shape: SsmlMarksNotSupportedForTextTypeException)
    o.errors << Shapes::ShapeRef.new(shape: LanguageNotSupportedException)
  end)

  api.add_operation(:synthesize_speech, Seahorse::Model::Operation.new.tap do |o|
    o.name = "SynthesizeSpeech"
    o.http_method = "POST"
    o.http_request_uri = "/v1/speech"
    o.input = Shapes::ShapeRef.new(shape: SynthesizeSpeechInput)
    o.output = Shapes::ShapeRef.new(shape: SynthesizeSpeechOutput)
    o.errors << Shapes::ShapeRef.new(shape: TextLengthExceededException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidSampleRateException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidSsmlException)
    o.errors << Shapes::ShapeRef.new(shape: LexiconNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
    o.errors << Shapes::ShapeRef.new(shape: MarksNotSupportedForFormatException)
    o.errors << Shapes::ShapeRef.new(shape: SsmlMarksNotSupportedForTextTypeException)
    o.errors << Shapes::ShapeRef.new(shape: LanguageNotSupportedException)
    o.errors << Shapes::ShapeRef.new(shape: EngineNotSupportedException)
  end)
end