C# Class Amazon.Polly.SynthesizeSpeechUtil

Utility methods for synthesizing speech.
Afficher le fichier Open project: aws/aws-sdk-net

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat string

GeneratePresignedUrl() public static méthode

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.
Résultat string