public class InvalidRoleException extends AmazonServiceException
The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidRoleException(String message)
Constructs a new InvalidRoleException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidRoleException(String message)
message - Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.