C# Класс Amazon.Polly.SynthesizeSpeechUtil

Utility methods for synthesizing speech.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

GeneratePresignedUrl() публичный статический Метод

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.
Результат string

GeneratePresignedUrl() публичный статический Метод

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.
Результат string