@ Override public java . util . concurrent . Future < PublishResult > publishAsync ( String topicArn , String message , com . amazonaws . handlers . AsyncHandler < PublishRequest , PublishResult > asyncHandler ) { return publishAsync ( new PublishRequest ( ) . withTopicArn ( topicArn ) . withMessage ( message ) , asyncHandler ) ; }
Simplified method form for invoking the Publish operation with an AsyncHandler .