Class InvalidRequestException
- Namespace
- Amazon.SecretsManager.Model
- Assembly
- AWSSDK.SecretsManager.dll
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. 
public class InvalidRequestException : AmazonSecretsManagerException- Inheritance
- 
      
      
      InvalidRequestException
Constructors
InvalidRequestException(Exception)
Construct instance of InvalidRequestException
public InvalidRequestException(Exception innerException)Parameters
- innerExceptionException
InvalidRequestException(string)
Constructs a new InvalidRequestException with the specified error message.
public InvalidRequestException(string message)Parameters
- messagestring
- Describes the error encountered. 
InvalidRequestException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidRequestException
public InvalidRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)Parameters
- messagestring
- errorTypeErrorType
- errorCodestring
- requestIdstring
- statusCodeHttpStatusCode
InvalidRequestException(string, Exception)
Construct instance of InvalidRequestException
public InvalidRequestException(string message, Exception innerException)Parameters
InvalidRequestException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of InvalidRequestException
public InvalidRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)Parameters
- messagestring
- innerExceptionException
- errorTypeErrorType
- errorCodestring
- requestIdstring
- statusCodeHttpStatusCode