#[non_exhaustive]
pub enum CreateSubnetGroupErrorKind {
InvalidSubnet(InvalidSubnet),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
SubnetGroupAlreadyExistsFault(SubnetGroupAlreadyExistsFault),
SubnetGroupQuotaExceededFault(SubnetGroupQuotaExceededFault),
SubnetQuotaExceededFault(SubnetQuotaExceededFault),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateSubnetGroup
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidSubnet(InvalidSubnet)
An invalid subnet identifier was specified.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
The specified service linked role (SLR) was not found.
SubnetGroupAlreadyExistsFault(SubnetGroupAlreadyExistsFault)
The specified subnet group already exists.
SubnetGroupQuotaExceededFault(SubnetGroupQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
SubnetQuotaExceededFault(SubnetQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.
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.