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 ListLexicons operation. Returns a list of pronunciation lexicons 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.ListLexiconsRequest

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

Syntax

C#
public class ListLexiconsRequest : AmazonPollyRequest
         IAmazonWebServiceRequest

The ListLexiconsRequest type exposes the following members

Constructors

NameDescription
Public Method ListLexiconsRequest()

Properties

NameTypeDescription
Public Property NextToken System.String

Gets and sets the property NextToken.

An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons.

Examples

Returns a list of pronunciation lexicons stored in an AWS Region.

To list all lexicons in a region


var client = new AmazonPollyClient();
var response = client.ListLexicons(new ListLexiconsRequest 
{
});

List<LexiconDescription> lexicons = response.Lexicons;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5