@Generated(value="software.amazon.awssdk:codegen") public 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.
The 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.
The SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling the 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() |
static Class<? extends InvalidInstanceIdException.Builder> |
serializableBuilderClass() |
InvalidInstanceIdException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InvalidInstanceIdException.Builder,InvalidInstanceIdException>
public static InvalidInstanceIdException.Builder builder()
public static Class<? extends InvalidInstanceIdException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.