Example usage for com.amazonaws.services.polly AmazonPollyAsyncClient AmazonPollyAsyncClient

List of usage examples for com.amazonaws.services.polly AmazonPollyAsyncClient AmazonPollyAsyncClient

Introduction

In this page you can find the example usage for com.amazonaws.services.polly AmazonPollyAsyncClient AmazonPollyAsyncClient.

Prototype

AmazonPollyAsyncClient(AwsAsyncClientParams asyncClientParams) 

Source Link

Document

Constructs a new asynchronous client to invoke service methods on Amazon Polly using the specified parameters.

Usage

From source file:com.github.gregwhitaker.awspolly.example.PollyModule.java

License:Apache License

@Override
protected void configure() {
    bind(AmazonPollyAsyncClient.class)
            .toInstance(new AmazonPollyAsyncClient(new DefaultAWSCredentialsProviderChain()));
    bind(PollyReadHandler.class);
    bind(PollyVoicesHandler.class);
}