@Generated(value="software.amazon.awssdk:codegen") public final 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 and Description |
---|---|
static interface |
InvalidRoleException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidRoleException.Builder |
builder() |
static Class<? extends InvalidRoleException.Builder> |
serializableBuilderClass() |
InvalidRoleException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public InvalidRoleException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
toBuilder
in class SsmException
public static InvalidRoleException.Builder builder()
public static Class<? extends InvalidRoleException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.