pub struct GetEC2InstanceRecommendationsRequest {
pub account_ids: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub instance_arns: Option<Vec<String>>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
}
Fields§
§account_ids: Option<Vec<String>>
The IDs of the AWS accounts for which to return instance recommendations.
If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to return instance recommendations.
Only one account ID can be specified per request.
filters: Option<Vec<Filter>>
An array of objects that describe a filter that returns a more specific list of instance recommendations.
instance_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
max_results: Option<i64>
The maximum number of instance recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken
value.
next_token: Option<String>
The token to advance to the next page of instance recommendations.
Trait Implementations§
Source§impl Clone for GetEC2InstanceRecommendationsRequest
impl Clone for GetEC2InstanceRecommendationsRequest
Source§fn clone(&self) -> GetEC2InstanceRecommendationsRequest
fn clone(&self) -> GetEC2InstanceRecommendationsRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for GetEC2InstanceRecommendationsRequest
impl Default for GetEC2InstanceRecommendationsRequest
Source§fn default() -> GetEC2InstanceRecommendationsRequest
fn default() -> GetEC2InstanceRecommendationsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetEC2InstanceRecommendationsRequest
impl PartialEq for GetEC2InstanceRecommendationsRequest
Source§fn eq(&self, other: &GetEC2InstanceRecommendationsRequest) -> bool
fn eq(&self, other: &GetEC2InstanceRecommendationsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetEC2InstanceRecommendationsRequest
Auto Trait Implementations§
impl Freeze for GetEC2InstanceRecommendationsRequest
impl RefUnwindSafe for GetEC2InstanceRecommendationsRequest
impl Send for GetEC2InstanceRecommendationsRequest
impl Sync for GetEC2InstanceRecommendationsRequest
impl Unpin for GetEC2InstanceRecommendationsRequest
impl UnwindSafe for GetEC2InstanceRecommendationsRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more