Table of Contents

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

innerException Exception

KMSInvalidStateException(string)

Constructs a new KMSInvalidStateException with the specified error message.

public KMSInvalidStateException(string message)

Parameters

message string

Describes 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

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

KMSInvalidStateException(string, Exception)

Construct instance of KMSInvalidStateException

public KMSInvalidStateException(string message, Exception innerException)

Parameters

message string
innerException Exception

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

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