[−][src]Struct rusoto_ce::GetReservationCoverageRequest
You can use the following request parameters to query for how much of your instance usage is covered by a reservation.
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
.
group_by: Option<Vec<GroupDefinition>>
You can group the data by the following attributes:
-
AZ
-
CACHEENGINE
-
DATABASEENGINE
-
DEPLOYMENTOPTION
-
INSTANCETYPE
-
LINKEDACCOUNT
-
OPERATINGSYSTEM
-
PLATFORM
-
REGION
-
TAG
-
TENANCY
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 for which you want to retrieve data about reservation coverage. 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]
impl Clone for GetReservationCoverageRequest
fn clone(&self) -> GetReservationCoverageRequest
[src]
fn clone(&self) -> GetReservationCoverageRequest
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for GetReservationCoverageRequest
[src]
impl Default for GetReservationCoverageRequest
impl PartialEq<GetReservationCoverageRequest> for GetReservationCoverageRequest
[src]
impl PartialEq<GetReservationCoverageRequest> for GetReservationCoverageRequest
fn eq(&self, other: &GetReservationCoverageRequest) -> bool
[src]
fn eq(&self, other: &GetReservationCoverageRequest) -> bool
fn ne(&self, other: &GetReservationCoverageRequest) -> bool
[src]
fn ne(&self, other: &GetReservationCoverageRequest) -> bool
impl Debug for GetReservationCoverageRequest
[src]
impl Debug for GetReservationCoverageRequest
impl Serialize for GetReservationCoverageRequest
[src]
impl Serialize for GetReservationCoverageRequest
Auto Trait Implementations
impl Send for GetReservationCoverageRequest
impl Send for GetReservationCoverageRequest
impl Sync for GetReservationCoverageRequest
impl Sync for GetReservationCoverageRequest
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
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]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
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]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T