Module Values.GetECSServiceRecommendationsRequestSource

Returns Amazon ECS service recommendations. Compute Optimizer generates recommendations for Amazon ECS services on Fargate that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

Sourcetype nonrec t = {
  1. serviceArns : ServiceArns.t option;
    (*

    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

    *)
  2. nextToken : NextToken.t option;
    (*

    The token to advance to the next page of Amazon ECS service recommendations.

    *)
  3. maxResults : MaxResults.t option;
    (*

    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.

    *)
  4. filters : ECSServiceRecommendationFilters.t option;
    (*

    An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.

    *)
  5. accountIds : AccountIds.t option;
    (*

    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.

    *)
}
Sourceval make : ?serviceArns:??? -> ?nextToken:??? -> ?maxResults:??? -> ?filters:??? -> ?accountIds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `List of [> `String of ServiceArn.t | `Structure of (string * [> `Enum of string | `List of [> `String of FilterValue.t ] list ]) list ] list | `String of NextToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t