pub enum CreatePartnerEventSourceError {
ConcurrentModification(String),
Internal(String),
LimitExceeded(String),
OperationDisabled(String),
ResourceAlreadyExists(String),
}Expand description
Errors returned by CreatePartnerEventSource
Variants§
ConcurrentModification(String)
There is concurrent modification on a rule or target.
Internal(String)
This exception occurs due to unexpected causes.
LimitExceeded(String)
You tried to create more rules or add more targets to a rule than is allowed.
OperationDisabled(String)
The operation you are attempting is not available in this region.
ResourceAlreadyExists(String)
The resource you are trying to create already exists.
Implementations§
Trait Implementations§
Source§impl Error for CreatePartnerEventSourceError
impl Error for CreatePartnerEventSourceError
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 CreatePartnerEventSourceError
impl PartialEq for CreatePartnerEventSourceError
Source§fn eq(&self, other: &CreatePartnerEventSourceError) -> bool
fn eq(&self, other: &CreatePartnerEventSourceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatePartnerEventSourceError
Auto Trait Implementations§
impl Freeze for CreatePartnerEventSourceError
impl RefUnwindSafe for CreatePartnerEventSourceError
impl Send for CreatePartnerEventSourceError
impl Sync for CreatePartnerEventSourceError
impl Unpin for CreatePartnerEventSourceError
impl UnwindSafe for CreatePartnerEventSourceError
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