[−][src]Struct rusoto_ce::GetReservationCoverageRequest
You can use the following request parameters to query for how much of your instance usage a reservation covered.
Fields
filter: Option<Expression>
Filters utilization data by dimensions. You can filter by the following dimensions:
-
AZ
-
CACHE_ENGINE
-
DATABASE_ENGINE
-
DEPLOYMENT_OPTION
-
INSTANCE_TYPE
-
LINKED_ACCOUNT
-
OPERATING_SYSTEM
-
PLATFORM
-
REGION
-
SERVICE
-
TAG
-
TENANCY
GetReservationCoverage
uses the same Expression object as the other operations, but only AND
is supported among each dimension. You can nest only one level deep. If there are multiple values for a dimension, they are OR'd together.
If you don't provide a SERVICE
filter, Cost Explorer defaults to EC2.
granularity: Option<String>
The granularity of the AWS cost data for the reservation. Valid values are MONTHLY
and DAILY
.
If GroupBy
is set, Granularity
can't be set. If Granularity
isn't set, the response object doesn't include Granularity
, either MONTHLY
or DAILY
.
The GetReservationCoverage
operation supports only DAILY
and MONTHLY
granularities.
group_by: Option<Vec<GroupDefinition>>
You can group the data by the following attributes:
-
AZ
-
CACHEENGINE
-
DATABASEENGINE
-
DEPLOYMENTOPTION
-
INSTANCETYPE
-
LINKEDACCOUNT
-
OPERATINGSYSTEM
-
PLATFORM
-
REGION
-
TENANCY
metrics: Option<Vec<String>>
The measurement that you want your reservation coverage reported in.
Valid values are Hour
, Unit
, and Cost
. You can use multiple values in a request.
next_page_token: Option<String>
The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
time_period: DateInterval
The start and end dates of the period that you want to retrieve data about reservation coverage for. You can retrieve data for a maximum of 13 months: the last 12 months and the current month. The start date is inclusive, but the end date is exclusive. For example, if start
is 2017-01-01
and end
is 2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and including 2017-04-30
but not including 2017-05-01
.
Trait Implementations
impl PartialEq<GetReservationCoverageRequest> for GetReservationCoverageRequest
[src]
fn eq(&self, other: &GetReservationCoverageRequest) -> bool
[src]
fn ne(&self, other: &GetReservationCoverageRequest) -> bool
[src]
impl Default for GetReservationCoverageRequest
[src]
impl Clone for GetReservationCoverageRequest
[src]
fn clone(&self) -> GetReservationCoverageRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GetReservationCoverageRequest
[src]
impl Serialize for GetReservationCoverageRequest
[src]
Auto Trait Implementations
impl Send for GetReservationCoverageRequest
impl Sync for GetReservationCoverageRequest
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> Erased for T
impl<T> Same for T
type Output = T
Should always be Self