@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()
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 InvalidInstanceIdException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<InvalidInstanceIdException.Builder,InvalidInstanceIdException>
toBuilder
in class SsmException
public static InvalidInstanceIdException.Builder builder()
public static Class<? extends InvalidInstanceIdException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.