pub enum CreateNotificationRuleError {
AccessDenied(String),
ConcurrentModification(String),
Configuration(String),
LimitExceeded(String),
ResourceAlreadyExists(String),
}
Expand description
Errors returned by CreateNotificationRule
Variants§
AccessDenied(String)
AWS CodeStar Notifications can't create the notification rule because you do not have sufficient permissions.
ConcurrentModification(String)
AWS CodeStar Notifications can't complete the request because the resource is being modified by another process. Wait a few minutes and try again.
Configuration(String)
Some or all of the configuration is incomplete, missing, or not valid.
LimitExceeded(String)
One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to accounts, notification rules, notifications, resources, and targets. For more information, see Limits.
ResourceAlreadyExists(String)
A resource with the same name or ID already exists. Notification rule names must be unique in your AWS account.
Implementations§
Source§impl CreateNotificationRuleError
impl CreateNotificationRuleError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateNotificationRuleError>
Trait Implementations§
Source§impl Debug for CreateNotificationRuleError
impl Debug for CreateNotificationRuleError
Source§impl Error for CreateNotificationRuleError
impl Error for CreateNotificationRuleError
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()
impl StructuralPartialEq for CreateNotificationRuleError
Auto Trait Implementations§
impl Freeze for CreateNotificationRuleError
impl RefUnwindSafe for CreateNotificationRuleError
impl Send for CreateNotificationRuleError
impl Sync for CreateNotificationRuleError
impl Unpin for CreateNotificationRuleError
impl UnwindSafe for CreateNotificationRuleError
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