C# Class Amazon.Polly.SynthesizeSpeechUtil

Utility methods for synthesizing speech.
ファイルを表示 Open project: aws/aws-sdk-net

Public Methods

Method Description
GeneratePresignedUrl ( AWSCredentials credentials, RegionEndpoint region, SynthesizeSpeechRequest request ) : string

Generate a presigned URL based on a SynthesizeSpeechRequest.

GeneratePresignedUrl ( RegionEndpoint region, SynthesizeSpeechRequest request ) : string

Generate a presigned URL based on a SynthesizeSpeechRequest using the default configured credentials.

Private Methods

Method Description
ComposeUrl ( IRequest iRequest ) : Uri

This method was copied from AmazonServiceClient and adapted for use with this Utility. TODO When the SDK supports arrays in request parameters use the new implementation and delete this method.

DontUnescapePathDotsAndSlashes ( Uri uri ) : void

This method was copied as-is from AmazonServiceClient. TODO When the SDK supports arrays in request parameters remove this method.

Method Details

GeneratePresignedUrl() public static method

Generate a presigned URL based on a SynthesizeSpeechRequest.
public static GeneratePresignedUrl ( AWSCredentials credentials, RegionEndpoint region, SynthesizeSpeechRequest request ) : string
credentials Amazon.Runtime.AWSCredentials The credentials to use in the presigned URL.
region RegionEndpoint The region for the URL.
request Amazon.Polly.Model.SynthesizeSpeechRequest The request to base the presigned URL on.
return string

GeneratePresignedUrl() public static method

Generate a presigned URL based on a SynthesizeSpeechRequest using the default configured credentials.
public static GeneratePresignedUrl ( RegionEndpoint region, SynthesizeSpeechRequest request ) : string
region RegionEndpoint The region for the URL.
request Amazon.Polly.Model.SynthesizeSpeechRequest The request to base the presigned URL on.
return string