@Generated(value="software.amazon.awssdk:codegen") public final class InvalidInstanceIdException extends SsmException implements ToCopyableBuilder<InvalidInstanceIdException.Builder,InvalidInstanceIdException>
The following problems can cause this exception:
You do not have permission to access the instance.
SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running.
SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service.
The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvalidInstanceIdException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InvalidInstanceIdException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidInstanceIdException.Builder> |
serializableBuilderClass() |
InvalidInstanceIdException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic InvalidInstanceIdException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InvalidInstanceIdException.Builder,InvalidInstanceIdException>toBuilder in class SsmExceptionpublic static InvalidInstanceIdException.Builder builder()
public static Class<? extends InvalidInstanceIdException.Builder> serializableBuilderClass()
Copyright © 2019. All rights reserved.