@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRoleException extends AWSSimpleSystemsManagementException
The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about configuring the IAM role for Run Command notifications, see Configuring Amazon SNS Notifications for Run Command in the Amazon EC2 Systems Manager User Guide.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidRoleException(String message)
Constructs a new InvalidRoleException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRoleException(String message)
message
- Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.