@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRegionException extends AWSMarketplaceMeteringException
RegisterUsage must be called in the same AWS Region the ECS task was launched in. This prevents a
container from hardcoding a Region (e.g. withRegion(“us-east-1”) when calling RegisterUsage.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidRegionException(String message)
Constructs a new InvalidRegionException 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 InvalidRegionException(String message)
message - Describes the error encountered.