pub struct GetSavingsPlansPurchaseRecommendationRequest {
pub account_scope: Option<String>,
pub filter: Option<Expression>,
pub lookback_period_in_days: String,
pub next_page_token: Option<String>,
pub page_size: Option<i64>,
pub payment_option: String,
pub savings_plans_type: String,
pub term_in_years: String,
}
Fields
account_scope: Option<String>
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER
. If the value is LINKED
, recommendations are calculated for individual member accounts only.
filter: Option<Expression>
You can filter your recommendations by Account ID with the LINKED_ACCOUNT
dimension. To filter your recommendations by Account ID, specify Key
as LINKED_ACCOUNT
and Value
as the comma-separated Acount ID(s) for which you want to see Savings Plans purchase recommendations.
For GetSavingsPlansPurchaseRecommendation, the Filter
does not include CostCategories
or Tags
. It only includes Dimensions
. With Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can be a single Account ID or multiple comma-separated Account IDs for which you want to see Savings Plans Purchase Recommendations. AND
and OR
operators are not supported.
lookback_period_in_days: String
The lookback period used to generate the recommendation.
next_page_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.
page_size: Option<i64>
The number of recommendations that you want returned in a single response object.
payment_option: String
The payment option used to generate these recommendations.
savings_plans_type: String
The Savings Plans recommendation type requested.
term_in_years: String
The savings plan recommendation term used to generate these recommendations.
Trait Implementations
sourceimpl Clone for GetSavingsPlansPurchaseRecommendationRequest
impl Clone for GetSavingsPlansPurchaseRecommendationRequest
sourcefn clone(&self) -> GetSavingsPlansPurchaseRecommendationRequest
fn clone(&self) -> GetSavingsPlansPurchaseRecommendationRequest
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 Default for GetSavingsPlansPurchaseRecommendationRequest
impl Default for GetSavingsPlansPurchaseRecommendationRequest
sourcefn default() -> GetSavingsPlansPurchaseRecommendationRequest
fn default() -> GetSavingsPlansPurchaseRecommendationRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetSavingsPlansPurchaseRecommendationRequest> for GetSavingsPlansPurchaseRecommendationRequest
impl PartialEq<GetSavingsPlansPurchaseRecommendationRequest> for GetSavingsPlansPurchaseRecommendationRequest
sourcefn eq(&self, other: &GetSavingsPlansPurchaseRecommendationRequest) -> bool
fn eq(&self, other: &GetSavingsPlansPurchaseRecommendationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetSavingsPlansPurchaseRecommendationRequest) -> bool
fn ne(&self, other: &GetSavingsPlansPurchaseRecommendationRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetSavingsPlansPurchaseRecommendationRequest
Auto Trait Implementations
impl RefUnwindSafe for GetSavingsPlansPurchaseRecommendationRequest
impl Send for GetSavingsPlansPurchaseRecommendationRequest
impl Sync for GetSavingsPlansPurchaseRecommendationRequest
impl Unpin for GetSavingsPlansPurchaseRecommendationRequest
impl UnwindSafe for GetSavingsPlansPurchaseRecommendationRequest
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