#[non_exhaustive]
pub enum CreateKeyGroupErrorKind {
InvalidArgument(InvalidArgument),
KeyGroupAlreadyExists(KeyGroupAlreadyExists),
TooManyKeyGroups(TooManyKeyGroups),
TooManyPublicKeysInKeyGroup(TooManyPublicKeysInKeyGroup),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateKeyGroup
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidArgument(InvalidArgument)
An argument is invalid.
KeyGroupAlreadyExists(KeyGroupAlreadyExists)
A key group with this name already exists. You must provide a unique name. To modify an existing key group, use UpdateKeyGroup
.
TooManyKeyGroups(TooManyKeyGroups)
You have reached the maximum number of key groups for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
TooManyPublicKeysInKeyGroup(TooManyPublicKeysInKeyGroup)
The number of public keys in this key group is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.