Struct aws_sdk_devopsguru::error::ThrottlingException
source · [−]#[non_exhaustive]pub struct ThrottlingException { /* private fields */ }
Expand description
The request was denied due to a request throttling.
Implementations
sourceimpl ThrottlingException
impl ThrottlingException
sourcepub fn quota_code(&self) -> Option<&str>
pub fn quota_code(&self) -> Option<&str>
The code of the quota that was exceeded, causing the throttling exception.
sourcepub fn service_code(&self) -> Option<&str>
pub fn service_code(&self) -> Option<&str>
The code of the service that caused the throttling exception.
sourcepub fn retry_after_seconds(&self) -> i32
pub fn retry_after_seconds(&self) -> i32
The number of seconds after which the action that caused the throttling exception can be retried.
sourceimpl ThrottlingException
impl ThrottlingException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ThrottlingException
.
Trait Implementations
sourceimpl Clone for ThrottlingException
impl Clone for ThrottlingException
sourcefn clone(&self) -> ThrottlingException
fn clone(&self) -> ThrottlingException
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ThrottlingException
impl Debug for ThrottlingException
sourceimpl Display for ThrottlingException
impl Display for ThrottlingException
sourceimpl Error for ThrottlingException
impl Error for ThrottlingException
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<ThrottlingException> for ThrottlingException
impl PartialEq<ThrottlingException> for ThrottlingException
sourcefn eq(&self, other: &ThrottlingException) -> bool
fn eq(&self, other: &ThrottlingException) -> bool
impl StructuralPartialEq for ThrottlingException
Auto Trait Implementations
impl RefUnwindSafe for ThrottlingException
impl Send for ThrottlingException
impl Sync for ThrottlingException
impl Unpin for ThrottlingException
impl UnwindSafe for ThrottlingException
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more