@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestException extends AWSSecretsManagerException
You provided a parameter value that is not valid for the current state of the resource.
Possible causes:
You tried to perform the operation on a secret that's currently marked deleted.
You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and you didn't include such an ARN as a parameter in this call.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidRequestException(String message)
Constructs a new InvalidRequestException 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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRequestException(String message)
message
- Describes the error encountered.