Serializable
, ToCopyableBuilder<InvalidInstanceIdException.Builder,InvalidInstanceIdException>
@Generated("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 | Description |
---|---|---|
static interface |
InvalidInstanceIdException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | 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.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.