[][src]Struct rusoto_ce::GetSavingsPlansCoverageRequest

pub struct GetSavingsPlansCoverageRequest {
    pub filter: Option<Expression>,
    pub granularity: Option<String>,
    pub group_by: Option<Vec<GroupDefinition>>,
    pub max_results: Option<i64>,
    pub metrics: Option<Vec<String>>,
    pub next_token: Option<String>,
    pub time_period: DateInterval,
}

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]

impl Debug for GetSavingsPlansCoverageRequest[src]

impl Default for GetSavingsPlansCoverageRequest[src]

impl PartialEq<GetSavingsPlansCoverageRequest> for GetSavingsPlansCoverageRequest[src]

impl Serialize for GetSavingsPlansCoverageRequest[src]

impl StructuralPartialEq for GetSavingsPlansCoverageRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.