#[non_exhaustive]
pub enum UpdateSubnetGroupErrorKind {
InvalidSubnet(InvalidSubnet),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
SubnetGroupNotFoundFault(SubnetGroupNotFoundFault),
SubnetInUse(SubnetInUse),
SubnetQuotaExceededFault(SubnetQuotaExceededFault),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the UpdateSubnetGroup
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.
SubnetGroupNotFoundFault(SubnetGroupNotFoundFault)
The requested subnet group name does not refer to an existing subnet group.
SubnetInUse(SubnetInUse)
The requested subnet is being used by another 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.