Table of Contents

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

innerException Exception

InvalidRequestException(string)

Constructs a new InvalidRequestException with the specified error message.

public InvalidRequestException(string message)

Parameters

message string

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

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

InvalidRequestException(string, Exception)

Construct instance of InvalidRequestException

public InvalidRequestException(string message, Exception innerException)

Parameters

message string
innerException Exception

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

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode