pub enum CreateGrantError {
DependencyTimeout(String),
Disabled(String),
InvalidArn(String),
InvalidGrantToken(String),
KMSInternal(String),
KMSInvalidState(String),
LimitExceeded(String),
NotFound(String),
}
Expand description
Errors returned by CreateGrant
Variants§
DependencyTimeout(String)
The system timed out while trying to fulfill the request. The request can be retried.
Disabled(String)
The request was rejected because the specified CMK is not enabled.
InvalidArn(String)
The request was rejected because a specified ARN, or an ARN in a key policy, is not valid.
InvalidGrantToken(String)
The request was rejected because the specified grant token is not valid.
KMSInternal(String)
The request was rejected because an internal exception occurred. The request can be retried.
KMSInvalidState(String)
The request was rejected because the state of the specified resource is not valid for this request.
For more information about how key state affects the use of a CMK, see How Key State Affects Use of a Customer Master Key in the AWS Key Management Service Developer Guide .
LimitExceeded(String)
The request was rejected because a quota was exceeded. For more information, see Quotas in the AWS Key Management Service Developer Guide.
NotFound(String)
The request was rejected because the specified entity or resource could not be found.