Example usage for com.amazonaws.services.sns AmazonSNSAsyncClient AmazonSNSAsyncClient

List of usage examples for com.amazonaws.services.sns AmazonSNSAsyncClient AmazonSNSAsyncClient

Introduction

In this page you can find the example usage for com.amazonaws.services.sns AmazonSNSAsyncClient AmazonSNSAsyncClient.

Prototype

AmazonSNSAsyncClient(AwsAsyncClientParams asyncClientParams) 

Source Link

Document

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

Usage

From source file:br.com.insula.log4j.sns.SNSAppender.java

License:Open Source License

private void createAmazonSNSAsyncIfNeeded() {
    if (this.amazonSNSAsync == null) {
        this.amazonSNSAsync = new AmazonSNSAsyncClient(new BasicAWSCredentials(accessKey, secretKey));
    }/*from  w  w w  .java 2 s.  c o m*/
}