Struct rusoto_ce::GetCostCategoriesRequest
source · [−]pub struct GetCostCategoriesRequest {
pub cost_category_name: Option<String>,
pub filter: Option<Expression>,
pub max_results: Option<i64>,
pub next_page_token: Option<String>,
pub search_string: Option<String>,
pub sort_by: Option<Vec<SortDefinition>>,
pub time_period: DateInterval,
}
Fields
cost_category_name: Option<String>
filter: Option<Expression>
max_results: Option<i64>
This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not specified with SortBy
, the request will return 1000 results as the default value for this parameter.
For GetCostCategories
, MaxResults has an upper limit of 1000.
next_page_token: Option<String>
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.
search_string: Option<String>
The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used to filter Cost Category names that match the SearchString
pattern. If you do specifiy a CostCategoryName
, SearchString
will be used to filter Cost Category values that match the SearchString
pattern.
sort_by: Option<Vec<SortDefinition>>
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
-
BlendedCost
-
UnblendedCost
-
AmortizedCost
-
NetAmortizedCost
-
NetUnblendedCost
-
UsageQuantity
-
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not supported.
time_period: DateInterval
Trait Implementations
sourceimpl Clone for GetCostCategoriesRequest
impl Clone for GetCostCategoriesRequest
sourcefn clone(&self) -> GetCostCategoriesRequest
fn clone(&self) -> GetCostCategoriesRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetCostCategoriesRequest
impl Debug for GetCostCategoriesRequest
sourceimpl Default for GetCostCategoriesRequest
impl Default for GetCostCategoriesRequest
sourcefn default() -> GetCostCategoriesRequest
fn default() -> GetCostCategoriesRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetCostCategoriesRequest> for GetCostCategoriesRequest
impl PartialEq<GetCostCategoriesRequest> for GetCostCategoriesRequest
sourcefn eq(&self, other: &GetCostCategoriesRequest) -> bool
fn eq(&self, other: &GetCostCategoriesRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetCostCategoriesRequest) -> bool
fn ne(&self, other: &GetCostCategoriesRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetCostCategoriesRequest
impl Serialize for GetCostCategoriesRequest
impl StructuralPartialEq for GetCostCategoriesRequest
Auto Trait Implementations
impl RefUnwindSafe for GetCostCategoriesRequest
impl Send for GetCostCategoriesRequest
impl Sync for GetCostCategoriesRequest
impl Unpin for GetCostCategoriesRequest
impl UnwindSafe for GetCostCategoriesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more