Struct aws_sdk_computeoptimizer::operation::get_ecs_service_recommendations::GetEcsServiceRecommendationsInput   
source · #[non_exhaustive]pub struct GetEcsServiceRecommendationsInput {
    pub service_arns: Option<Vec<String>>,
    pub next_token: Option<String>,
    pub max_results: Option<i32>,
    pub filters: Option<Vec<EcsServiceRecommendationFilter>>,
    pub account_ids: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.service_arns: Option<Vec<String>>The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
 arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name 
next_token: Option<String>The token to advance to the next page of Amazon ECS service recommendations.
max_results: Option<i32>The maximum number of Amazon ECS service recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
filters: Option<Vec<EcsServiceRecommendationFilter>>An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
account_ids: Option<Vec<String>>Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
Implementations§
source§impl GetEcsServiceRecommendationsInput
 
impl GetEcsServiceRecommendationsInput
sourcepub fn service_arns(&self) -> Option<&[String]>
 
pub fn service_arns(&self) -> Option<&[String]>
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
 arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name 
sourcepub fn next_token(&self) -> Option<&str>
 
pub fn next_token(&self) -> Option<&str>
The token to advance to the next page of Amazon ECS service recommendations.
sourcepub fn max_results(&self) -> Option<i32>
 
pub fn max_results(&self) -> Option<i32>
The maximum number of Amazon ECS service recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
sourcepub fn filters(&self) -> Option<&[EcsServiceRecommendationFilter]>
 
pub fn filters(&self) -> Option<&[EcsServiceRecommendationFilter]>
An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
sourcepub fn account_ids(&self) -> Option<&[String]>
 
pub fn account_ids(&self) -> Option<&[String]>
Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
source§impl GetEcsServiceRecommendationsInput
 
impl GetEcsServiceRecommendationsInput
sourcepub fn builder() -> GetEcsServiceRecommendationsInputBuilder
 
pub fn builder() -> GetEcsServiceRecommendationsInputBuilder
Creates a new builder-style object to manufacture GetEcsServiceRecommendationsInput.
Trait Implementations§
source§impl Clone for GetEcsServiceRecommendationsInput
 
impl Clone for GetEcsServiceRecommendationsInput
source§fn clone(&self) -> GetEcsServiceRecommendationsInput
 
fn clone(&self) -> GetEcsServiceRecommendationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetEcsServiceRecommendationsInput
 
impl PartialEq for GetEcsServiceRecommendationsInput
source§fn eq(&self, other: &GetEcsServiceRecommendationsInput) -> bool
 
fn eq(&self, other: &GetEcsServiceRecommendationsInput) -> bool
self and other values to be equal, and is used
by ==.