Enum rusoto_events::PutRuleError [−][src]
pub enum PutRuleError { ConcurrentModification(String), Internal(String), InvalidEventPattern(String), LimitExceeded(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutRule
Variants
ConcurrentModification(String)
There is concurrent modification on a rule or target.
Internal(String)
This exception occurs due to unexpected causes.
InvalidEventPattern(String)
The event pattern is not valid.
LimitExceeded(String)
You tried to create more rules or add more targets to a rule than is allowed.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl PutRuleError
[src]
impl PutRuleError
pub fn from_body(body: &str) -> PutRuleError
[src]
pub fn from_body(body: &str) -> PutRuleError
Trait Implementations
impl Debug for PutRuleError
[src]
impl Debug for PutRuleError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PutRuleError
[src]
impl PartialEq for PutRuleError
fn eq(&self, other: &PutRuleError) -> bool
[src]
fn eq(&self, other: &PutRuleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutRuleError) -> bool
[src]
fn ne(&self, other: &PutRuleError) -> bool
This method tests for !=
.
impl From<Error> for PutRuleError
[src]
impl From<Error> for PutRuleError
fn from(err: Error) -> PutRuleError
[src]
fn from(err: Error) -> PutRuleError
Performs the conversion.
impl From<CredentialsError> for PutRuleError
[src]
impl From<CredentialsError> for PutRuleError
fn from(err: CredentialsError) -> PutRuleError
[src]
fn from(err: CredentialsError) -> PutRuleError
Performs the conversion.
impl From<HttpDispatchError> for PutRuleError
[src]
impl From<HttpDispatchError> for PutRuleError
fn from(err: HttpDispatchError) -> PutRuleError
[src]
fn from(err: HttpDispatchError) -> PutRuleError
Performs the conversion.
impl From<Error> for PutRuleError
[src]
impl From<Error> for PutRuleError
fn from(err: Error) -> PutRuleError
[src]
fn from(err: Error) -> PutRuleError
Performs the conversion.
impl Display for PutRuleError
[src]
impl Display for PutRuleError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for PutRuleError
[src]
impl Error for PutRuleError
Auto Trait Implementations
impl Send for PutRuleError
impl Send for PutRuleError
impl Sync for PutRuleError
impl Sync for PutRuleError