pub struct CeData {
pub anomaly_monitors: BTreeMap<String, Value>,
pub anomaly_subscriptions: BTreeMap<String, Value>,
pub anomalies: BTreeMap<String, Value>,
pub cost_categories: BTreeMap<String, Value>,
pub cost_category_associations: BTreeMap<String, Vec<Value>>,
pub cost_allocation_tags: BTreeMap<String, Value>,
pub backfill_requests: Vec<Value>,
pub commitment_analyses: BTreeMap<String, Value>,
pub sp_generations: BTreeMap<String, Value>,
pub tags: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
Per-account Cost Explorer state.
Fields§
§anomaly_monitors: BTreeMap<String, Value>Anomaly monitors keyed by MonitorArn, holding the AnomalyMonitor
object.
anomaly_subscriptions: BTreeMap<String, Value>Anomaly subscriptions keyed by SubscriptionArn, holding the
AnomalySubscription object.
anomalies: BTreeMap<String, Value>Detected anomalies keyed by AnomalyId (feedback target).
cost_categories: BTreeMap<String, Value>Cost category definitions keyed by CostCategoryArn, holding the
CostCategory object.
cost_category_associations: BTreeMap<String, Vec<Value>>Cost-category resource associations keyed by CostCategoryArn.
Cost allocation tags keyed by TagKey, holding the CostAllocationTag
object (status/type/timestamps).
backfill_requests: Vec<Value>Cost-allocation-tag backfill requests, newest last.
commitment_analyses: BTreeMap<String, Value>Commitment-purchase analyses keyed by AnalysisId.
sp_generations: BTreeMap<String, Value>Savings-plans purchase recommendation generations keyed by
RecommendationId.
Resource tags keyed by resource ARN -> (key -> value).
Trait Implementations§
Source§impl AccountState for CeData
impl AccountState for CeData
Source§fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl<'de> Deserialize<'de> for CeData
impl<'de> Deserialize<'de> for CeData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CeData
impl RefUnwindSafe for CeData
impl Send for CeData
impl Sync for CeData
impl Unpin for CeData
impl UnsafeUnpin for CeData
impl UnwindSafe for CeData
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