@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 AWS Systems Manager User Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidRoleException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidRoleException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidRoleException.Builder> |
serializableBuilderClass() |
InvalidRoleException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public InvalidRoleException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
toBuilder
in class SsmException
public static InvalidRoleException.Builder builder()
public static Class<? extends InvalidRoleException.Builder> serializableBuilderClass()
Copyright © 2020. All rights reserved.