#[non_exhaustive]pub struct UnsupportedAvailabilityZoneException { /* private fields */ }
Expand description
At least one of your specified cluster subnets is in an Availability Zone that does not support Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which you can choose subnets for your cluster.
Implementations§
source§impl UnsupportedAvailabilityZoneException
impl UnsupportedAvailabilityZoneException
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The Amazon EKS cluster associated with the exception.
sourcepub fn nodegroup_name(&self) -> Option<&str>
pub fn nodegroup_name(&self) -> Option<&str>
The Amazon EKS managed node group associated with the exception.
sourcepub fn valid_zones(&self) -> Option<&[String]>
pub fn valid_zones(&self) -> Option<&[String]>
The supported Availability Zones for your account. Choose subnets in these Availability Zones for your cluster.
source§impl UnsupportedAvailabilityZoneException
impl UnsupportedAvailabilityZoneException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UnsupportedAvailabilityZoneException
.
Trait Implementations§
source§impl Clone for UnsupportedAvailabilityZoneException
impl Clone for UnsupportedAvailabilityZoneException
source§fn clone(&self) -> UnsupportedAvailabilityZoneException
fn clone(&self) -> UnsupportedAvailabilityZoneException
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Error for UnsupportedAvailabilityZoneException
impl Error for UnsupportedAvailabilityZoneException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<UnsupportedAvailabilityZoneException> for UnsupportedAvailabilityZoneException
impl PartialEq<UnsupportedAvailabilityZoneException> for UnsupportedAvailabilityZoneException
source§fn eq(&self, other: &UnsupportedAvailabilityZoneException) -> bool
fn eq(&self, other: &UnsupportedAvailabilityZoneException) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.