@Generated(value="software.amazon.awssdk:codegen") public class InvalidInstanceIdException extends SSMException implements software.amazon.awssdk.utils.builder.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 |
AmazonServiceException.ErrorType| Modifier and Type | Method and Description |
|---|---|
static InvalidInstanceIdException.Builder |
builder() |
static Class<? extends InvalidInstanceIdException.Builder> |
serializableBuilderClass() |
InvalidInstanceIdException.Builder |
toBuilder() |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidInstanceIdException.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<InvalidInstanceIdException.Builder,InvalidInstanceIdException>public static InvalidInstanceIdException.Builder builder()
public static Class<? extends InvalidInstanceIdException.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.