C# Class Amazon.Polly.SynthesizeSpeechUtil.SynthesizeSpeechPresignedUrlSigner

TODO When the SDK supports arrays in request parameters use the new implementation and delete this class.
Inheritance: Amazon.Runtime.Internal.Auth.AWS4PreSignedUrlSigner
Show file Open project: aws/aws-sdk-net

Public Methods

Method Description
CanonicalizeQueryParametersForSynthesizeSpeech ( string>.IDictionary parameters, bool uriEncodeParameters ) : string

This method was copied from AWS4PreSignedUrlSigner.CanonicalizeQueryParameters and adapted for this utility.

SignSynthesizeSpeechRequest ( IRequest request, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey, string service, string region ) : AWS4SigningResult

This method was copied from AWS4PreSignedUrlSigner.SignRequest and adapted for this utility.

Private Methods

Method Description
AppendLexiconNamesParameter ( StringBuilder canonicalQueryString, string jsonArray, bool uriEncodeParameters ) : void

Method Details

CanonicalizeQueryParametersForSynthesizeSpeech() public static method

This method was copied from AWS4PreSignedUrlSigner.CanonicalizeQueryParameters and adapted for this utility.
public static CanonicalizeQueryParametersForSynthesizeSpeech ( string>.IDictionary parameters, bool uriEncodeParameters ) : string
parameters string>.IDictionary
uriEncodeParameters bool
return string

SignSynthesizeSpeechRequest() public static method

This method was copied from AWS4PreSignedUrlSigner.SignRequest and adapted for this utility.
public static SignSynthesizeSpeechRequest ( IRequest request, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey, string service, string region ) : AWS4SigningResult
request IRequest
metrics RequestMetrics
awsAccessKeyId string
awsSecretAccessKey string
service string
region string
return Amazon.Runtime.Internal.Auth.AWS4SigningResult