List of usage examples for com.amazonaws.services.sns.model AuthorizationErrorException AuthorizationErrorException
public AuthorizationErrorException(String message)
From source file:eu.openg.aws.sns.internal.SNSExceptionBuilder.java
License:Apache License
static SNSExceptionBuilder newAuthorizationErrorException(String topic) { return new SNSExceptionBuilder( new AuthorizationErrorException("User: arn:aws:iam::0:user/test is not authorized " + "to perform: SNS:CreateTopic " + "on resource: arn:aws:sns:us-east-1:0:" + topic), "AuthorizationError", 403); }