@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInUseException extends AmazonKinesisVideoException
The resource is currently not available for this operation. New resources cannot be created with the same name as
existing resources. Also, resources cannot be updated or deleted unless they are in an ACTIVE state.
If this exception is returned, do not use it to determine whether the requested resource already exists. Instead, it
is recommended you use the resource-specific describe API, for example, DescribeStream for video
streams.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ResourceInUseException(String message)
Constructs a new ResourceInUseException 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 ResourceInUseException(String message)
message - Describes the error encountered.Copyright © 2022. All rights reserved.