-
Notifications
You must be signed in to change notification settings - Fork 249
/
get_ecs_service_recommendations.rs
19 lines (19 loc) · 4.18 KB
/
get_ecs_service_recommendations.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetECSServiceRecommendations`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`service_arns(Vec<String>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::service_arns) / [`set_service_arns(Option<Vec<String>>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::set_service_arns): <p> The ARN that identifies the ECS service. </p> <p> The following is the format of the ARN: </p> <p> <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code> </p>
/// - [`next_token(impl Into<String>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::set_next_token): <p> The token to advance to the next page of ECS service recommendations. </p>
/// - [`max_results(i32)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::set_max_results): <p> The maximum number of ECS service recommendations to return with a single request. </p> <p>To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.</p>
/// - [`filters(Vec<EcsServiceRecommendationFilter>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::filters) / [`set_filters(Option<Vec<EcsServiceRecommendationFilter>>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::set_filters): <p> An array of objects to specify a filter that returns a more specific list of ECS service recommendations. </p>
/// - [`account_ids(Vec<String>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::account_ids) / [`set_account_ids(Option<Vec<String>>)`](crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::set_account_ids): <p> Return the ECS service recommendations to the specified Amazon Web Services account IDs. </p> <p>If your account is the management account or the delegated administrator of an organization, use this parameter to return the ECS service recommendations to specific member accounts.</p> <p>You can only specify one account ID per request.</p>
/// - On success, responds with [`GetEcsServiceRecommendationsOutput`](crate::operation::get_ecs_service_recommendations::GetEcsServiceRecommendationsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::get_ecs_service_recommendations::GetEcsServiceRecommendationsOutput::next_token): <p> The token to advance to the next page of ECS service recommendations. </p>
/// - [`ecs_service_recommendations(Option<Vec<EcsServiceRecommendation>>)`](crate::operation::get_ecs_service_recommendations::GetEcsServiceRecommendationsOutput::ecs_service_recommendations): <p> An array of objects that describe the ECS service recommendations. </p>
/// - [`errors(Option<Vec<GetRecommendationError>>)`](crate::operation::get_ecs_service_recommendations::GetEcsServiceRecommendationsOutput::errors): <p> An array of objects that describe errors of the request. </p>
/// - On failure, responds with [`SdkError<GetECSServiceRecommendationsError>`](crate::operation::get_ecs_service_recommendations::GetECSServiceRecommendationsError)
pub fn get_ecs_service_recommendations(&self) -> crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder{
crate::operation::get_ecs_service_recommendations::builders::GetECSServiceRecommendationsFluentBuilder::new(self.handle.clone())
}
}