[−][src]Struct rusoto_ce::GetSavingsPlansCoverageRequest
Fields
filter: Option<Expression>
Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:
-
LINKED_ACCOUNT
-
REGION
-
SERVICE
-
INSTANCE_FAMILY
GetSavingsPlansCoverage
uses the same Expression object as the other operations, but only AND
is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.
Cost category is also supported.
granularity: Option<String>
The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity
can't be set if GroupBy
is set.
The GetSavingsPlansCoverage
operation supports only DAILY
and MONTHLY
granularities.
group_by: Option<Vec<GroupDefinition>>
You can group the data using the attributes INSTANCE_FAMILY
, REGION
, or SERVICE
.
max_results: Option<i64>
The number of items to be returned in a response. The default is 20
, with a minimum value of 1
.
metrics: Option<Vec<String>>
The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans
.
next_token: Option<String>
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
time_period: DateInterval
The time period that you want the usage and costs for. The Start
date must be within 13 months. The End
date must be after the Start
date, and before the current date. Future dates can't be used as an End
date.
Trait Implementations
impl Clone for GetSavingsPlansCoverageRequest
[src]
pub fn clone(&self) -> GetSavingsPlansCoverageRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetSavingsPlansCoverageRequest
[src]
impl Default for GetSavingsPlansCoverageRequest
[src]
pub fn default() -> GetSavingsPlansCoverageRequest
[src]
impl PartialEq<GetSavingsPlansCoverageRequest> for GetSavingsPlansCoverageRequest
[src]
pub fn eq(&self, other: &GetSavingsPlansCoverageRequest) -> bool
[src]
pub fn ne(&self, other: &GetSavingsPlansCoverageRequest) -> bool
[src]
impl Serialize for GetSavingsPlansCoverageRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GetSavingsPlansCoverageRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetSavingsPlansCoverageRequest
[src]
impl Send for GetSavingsPlansCoverageRequest
[src]
impl Sync for GetSavingsPlansCoverageRequest
[src]
impl Unpin for GetSavingsPlansCoverageRequest
[src]
impl UnwindSafe for GetSavingsPlansCoverageRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,