#[non_exhaustive]pub struct CustomKeyStoreInvalidStateException { /* private fields */ }
Expand description
The request was rejected because of the ConnectionState
of the custom key store. To get the ConnectionState
of a custom key store, use the DescribeCustomKeyStores
operation.
This exception is thrown under the following conditions:
-
You requested the
CreateKey
orGenerateRandom
operation in a custom key store that is not connected. These operations are valid only when the custom key storeConnectionState
isCONNECTED
. -
You requested the
UpdateCustomKeyStore
orDeleteCustomKeyStore
operation on a custom key store that is not disconnected. This operation is valid only when the custom key storeConnectionState
isDISCONNECTED
. -
You requested the
ConnectCustomKeyStore
operation on a custom key store with aConnectionState
ofDISCONNECTING
orFAILED
. This operation is valid for all otherConnectionState
values.
Implementations§
source§impl CustomKeyStoreInvalidStateException
impl CustomKeyStoreInvalidStateException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomKeyStoreInvalidStateException
.
Trait Implementations§
source§impl Clone for CustomKeyStoreInvalidStateException
impl Clone for CustomKeyStoreInvalidStateException
source§fn clone(&self) -> CustomKeyStoreInvalidStateException
fn clone(&self) -> CustomKeyStoreInvalidStateException
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more