@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()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic InvalidRoleException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>toBuilder in class SsmExceptionpublic static InvalidRoleException.Builder builder()
public static Class<? extends InvalidRoleException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.