Serializable
, ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
@Generated("software.amazon.awssdk:codegen") public class InvalidRoleException extends SSMException implements ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InvalidRoleException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | Description |
---|---|---|
static InvalidRoleException.Builder |
builder() |
|
static Class<? extends InvalidRoleException.Builder> |
serializableBuilderClass() |
|
InvalidRoleException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRoleException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
public static InvalidRoleException.Builder builder()
public static Class<? extends InvalidRoleException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.