@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidInstanceIdException extends AWSSimpleSystemsManagementException
The following problems can cause this exception:
You don't have permission to access the instance.
Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is running.
SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.
The instance isn't in valid state. Valid states are: Running, Pending, Stopped
, and Stopping. Invalid states are: Shutting-down and Terminated.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidInstanceIdException(String message)
Constructs a new InvalidInstanceIdException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidInstanceIdException(String message)
message - Describes the error encountered.Copyright © 2021. All rights reserved.