pub enum CreateUsageReportSubscriptionError {
InvalidAccountStatus(String),
InvalidRole(String),
LimitExceeded(String),
}
Expand description
Errors returned by CreateUsageReportSubscription
Variants§
InvalidAccountStatus(String)
The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.
InvalidRole(String)
The specified role is invalid.
LimitExceeded(String)
The requested limit exceeds the permitted limit for an account.
Implementations§
Trait Implementations§
Source§impl Error for CreateUsageReportSubscriptionError
impl Error for CreateUsageReportSubscriptionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for CreateUsageReportSubscriptionError
impl PartialEq for CreateUsageReportSubscriptionError
Source§fn eq(&self, other: &CreateUsageReportSubscriptionError) -> bool
fn eq(&self, other: &CreateUsageReportSubscriptionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateUsageReportSubscriptionError
Auto Trait Implementations§
impl Freeze for CreateUsageReportSubscriptionError
impl RefUnwindSafe for CreateUsageReportSubscriptionError
impl Send for CreateUsageReportSubscriptionError
impl Sync for CreateUsageReportSubscriptionError
impl Unpin for CreateUsageReportSubscriptionError
impl UnwindSafe for CreateUsageReportSubscriptionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more