[−][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.
Cost category is also supported.
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 Clone for GetReservationCoverageRequest
[src]
fn clone(&self) -> GetReservationCoverageRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetReservationCoverageRequest
[src]
impl Default for GetReservationCoverageRequest
[src]
impl PartialEq<GetReservationCoverageRequest> for GetReservationCoverageRequest
[src]
fn eq(&self, other: &GetReservationCoverageRequest) -> bool
[src]
fn ne(&self, other: &GetReservationCoverageRequest) -> bool
[src]
impl Serialize for GetReservationCoverageRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GetReservationCoverageRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetReservationCoverageRequest
impl Send for GetReservationCoverageRequest
impl Sync for GetReservationCoverageRequest
impl Unpin for GetReservationCoverageRequest
impl UnwindSafe for GetReservationCoverageRequest
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,