[][src]Enum rusoto_kms::UpdateCustomKeyStoreError

pub enum UpdateCustomKeyStoreError {
    CloudHsmClusterInvalidConfiguration(String),
    CloudHsmClusterNotActive(String),
    CloudHsmClusterNotFound(String),
    CloudHsmClusterNotRelated(String),
    CustomKeyStoreInvalidState(String),
    CustomKeyStoreNotFound(String),
    KMSInternal(String),
}

Errors returned by UpdateCustomKeyStore

Variants

CloudHsmClusterInvalidConfiguration(String)

The request was rejected because the associated AWS CloudHSM cluster did not meet the configuration requirements for a custom key store.

For information about the requirements for an AWS CloudHSM cluster that is associated with a custom key store, see Assemble the Prerequisites in the AWS Key Management Service Developer Guide. For information about creating a private subnet for an AWS CloudHSM cluster, see Create a Private Subnet in the AWS CloudHSM User Guide. For information about cluster security groups, see Configure a Default Security Group in the AWS CloudHSM User Guide .

CloudHsmClusterNotActive(String)

The request was rejected because the AWS CloudHSM cluster that is associated with the custom key store is not active. Initialize and activate the cluster and try the command again. For detailed instructions, see Getting Started in the AWS CloudHSM User Guide.

CloudHsmClusterNotFound(String)

The request was rejected because AWS KMS cannot find the AWS CloudHSM cluster with the specified cluster ID. Retry the request with a different cluster ID.

CloudHsmClusterNotRelated(String)

The request was rejected because the specified AWS CloudHSM cluster has a different cluster certificate than the original cluster. You cannot use the operation to specify an unrelated cluster.

Specify a cluster that shares a backup history with the original cluster. This includes clusters that were created from a backup of the current cluster, and clusters that were created from the same backup that produced the current cluster.

Clusters that share a backup history have the same cluster certificate. To view the cluster certificate of a cluster, use the DescribeClusters operation.

CustomKeyStoreInvalidState(String)

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:

CustomKeyStoreNotFound(String)

The request was rejected because AWS KMS cannot find a custom key store with the specified key store name or ID.

KMSInternal(String)

The request was rejected because an internal exception occurred. The request can be retried.

Methods

impl UpdateCustomKeyStoreError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<UpdateCustomKeyStoreError>
[src]

Trait Implementations

impl PartialEq<UpdateCustomKeyStoreError> for UpdateCustomKeyStoreError[src]

impl Debug for UpdateCustomKeyStoreError[src]

impl Display for UpdateCustomKeyStoreError[src]

impl Error for UpdateCustomKeyStoreError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for UpdateCustomKeyStoreError

impl Sync for UpdateCustomKeyStoreError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self