Values.ECSServiceRecommendationSourceDescribes an Amazon ECS service recommendation.
type nonrec t = {serviceArn : ServiceArn.t option;The Amazon Resource Name (ARN) of the current Amazon ECS service. The following is the format of the ARN: arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
*)accountId : AccountId.t option;The Amazon Web Services account ID of the Amazon ECS service.
*)currentServiceConfiguration : ServiceConfiguration.t option;The configuration of the current Amazon ECS service.
*)utilizationMetrics : ECSServiceUtilizationMetrics.t option;An array of objects that describe the utilization metrics of the Amazon ECS service.
*)lookbackPeriodInDays : LookBackPeriodInDays.t option;The number of days the Amazon ECS service utilization metrics were analyzed.
*)launchType : ECSServiceLaunchType.t option;The launch type the Amazon ECS service is using. Compute Optimizer only supports the Fargate launch type.
*)lastRefreshTimestamp : LastRefreshTimestamp.t option;The timestamp of when the Amazon ECS service recommendation was last generated.
*)finding : ECSServiceRecommendationFinding.t option;The finding classification of an Amazon ECS service. Findings for Amazon ECS services include: Underprovisioned โ When Compute Optimizer detects that thereโs not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance. Overprovisioned โ When Compute Optimizer detects that thereโs excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs. Optimized โ When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
*)findingReasonCodes : ECSServiceRecommendationFindingReasonCodes.t option;The reason for the finding classification of an Amazon ECS service. Finding reason codes for Amazon ECS services include: CPUUnderprovisioned โ The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period. CPUOverprovisioned โ The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period. MemoryUnderprovisioned โ The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period. MemoryOverprovisioned โ The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.
*)serviceRecommendationOptions : ECSServiceRecommendationOptions.t option;An array of objects that describe the recommendation options for the Amazon ECS service.
*)currentPerformanceRisk : CurrentPerformanceRisk.t option;The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
*)effectiveRecommendationPreferences : ECSEffectiveRecommendationPreferences.t
option;Describes the effective recommendation preferences for Amazon ECS services.
*)}val make :
?serviceArn:??? ->
?accountId:??? ->
?currentServiceConfiguration:??? ->
?utilizationMetrics:??? ->
?lookbackPeriodInDays:??? ->
?launchType:??? ->
?lastRefreshTimestamp:??? ->
?finding:??? ->
?findingReasonCodes:??? ->
?serviceRecommendationOptions:??? ->
?currentPerformanceRisk:??? ->
?effectiveRecommendationPreferences:??? ->
?tags:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Double of LookBackPeriodInDays.t
| `Enum of string
| `List of
[> `Enum of string
| `Structure of
(string
* [> `Double of MetricValue.t
| `Enum of string
| `Integer of NullableMemory.t
| `List of
[> `Structure of
(string
* [> `Double of LowerBoundValue.t
| `Enum of string
| `Integer of NullableCpu.t
| `String of ContainerName.t
| `Structure of
(string * [> `Integer of NullableMemory.t ]) list ])
list ]
list
| `String of TagKey.t
| `Structure of
(string
* [> `Double of SavingsOpportunityPercentage.t
| `Structure of
(string * [> `Double of Value.t | `Enum of string ])
list ])
list ])
list ]
list
| `String of ServiceArn.t
| `Structure of
(string
* [> `Enum of string
| `Integer of NullableMemory.t
| `List of
[> `Structure of
(string
* [> `Integer of NullableCpu.t
| `String of ContainerName.t
| `Structure of
(string * [> `Integer of NullableMemory.t ]) list ])
list ]
list
| `String of TaskDefinitionArn.t
| `Structure of (string * [> `Enum of string ]) list ])
list
| `Timestamp of LastRefreshTimestamp.t ])
list ]