[−][src]Struct rusoto_budgets::Notification
A notification that is associated with a budget. A budget can have up to five notifications.
Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.
For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:
-
A notificationType of
ACTUAL
-
A
thresholdType
ofPERCENTAGE
-
A
comparisonOperator
ofGREATER_THAN
-
A notification
threshold
of80
Fields
comparison_operator: String
The comparison that is used for this notification.
notification_state: Option<String>
Whether this notification is in alarm. If a budget notification is in the ALARM
state, you have passed the set threshold for the budget.
notification_type: String
Whether the notification is for how much you have spent (ACTUAL
) or for how much you're forecasted to spend (FORECASTED
).
threshold: f64
The threshold that is associated with a notification. Thresholds are always a percentage.
threshold_type: Option<String>
The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, AWS notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds, AWS notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE
threshold of 80%, AWS notifies you when you go over 160 dollars.
Trait Implementations
impl PartialEq<Notification> for Notification
[src]
fn eq(&self, other: &Notification) -> bool
[src]
fn ne(&self, other: &Notification) -> bool
[src]
impl Default for Notification
[src]
fn default() -> Notification
[src]
impl Clone for Notification
[src]
fn clone(&self) -> Notification
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Notification
[src]
impl Serialize for Notification
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Notification
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Notification
impl Sync for Notification
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self