Class KMSInvalidStateException
- Namespace
- Amazon.SimpleNotificationService.Model
- Assembly
- AWSSDK.SimpleNotificationService.dll
The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the AWS Key Management Service Developer Guide.
public class KMSInvalidStateException : AmazonSimpleNotificationServiceException
- Inheritance
-
KMSInvalidStateException
Constructors
KMSInvalidStateException(Exception)
Construct instance of KMSInvalidStateException
public KMSInvalidStateException(Exception innerException)
Parameters
innerExceptionException
KMSInvalidStateException(string)
Constructs a new KMSInvalidStateException with the specified error message.
public KMSInvalidStateException(string message)
Parameters
messagestringDescribes the error encountered.
KMSInvalidStateException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of KMSInvalidStateException
public KMSInvalidStateException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
messagestringerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode
KMSInvalidStateException(string, Exception)
Construct instance of KMSInvalidStateException
public KMSInvalidStateException(string message, Exception innerException)
Parameters
KMSInvalidStateException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of KMSInvalidStateException
public KMSInvalidStateException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
messagestringinnerExceptionExceptionerrorTypeErrorTypeerrorCodestringrequestIdstringstatusCodeHttpStatusCode