AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetLexicon operation. Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Polly.AmazonPollyRequest
      Amazon.Polly.Model.GetLexiconRequest

Namespace: Amazon.Polly.Model
Assembly: AWSSDK.Polly.dll
Version: 3.x.y.z

Syntax

C#
public class GetLexiconRequest : AmazonPollyRequest
         IAmazonWebServiceRequest

The GetLexiconRequest type exposes the following members

Constructors

NameDescription
Public Method GetLexiconRequest()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

Name of the lexicon.

Examples

Returns the content of the specified pronunciation lexicon stored in an AWS Region.

To retrieve a lexicon


var client = new AmazonPollyClient();
var response = client.GetLexicon(new GetLexiconRequest 
{
    Name = ""
});

Lexicon lexicon = response.Lexicon;
LexiconAttributes lexiconAttributes = response.LexiconAttributes;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5