@aws-sdk/client-compute-optimizer 3.696.0 → 3.699.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +255 -2
  3. package/dist-es/ComputeOptimizer.js +4 -0
  4. package/dist-es/commands/ExportIdleRecommendationsCommand.js +22 -0
  5. package/dist-es/commands/GetIdleRecommendationsCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +87 -0
  8. package/dist-es/protocols/Aws_json1_0.js +122 -0
  9. package/dist-types/ComputeOptimizer.d.ts +15 -0
  10. package/dist-types/ComputeOptimizerClient.d.ts +4 -2
  11. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
  13. package/dist-types/commands/ExportIdleRecommendationsCommand.d.ts +127 -0
  14. package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetIdleRecommendationsCommand.d.ts +166 -0
  16. package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +1 -1
  17. package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +6 -3
  18. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
  19. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +20 -0
  20. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +623 -4
  23. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  24. package/dist-types/ts3.4/ComputeOptimizer.d.ts +35 -0
  25. package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/ExportIdleRecommendationsCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/GetIdleRecommendationsCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +184 -0
  30. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  31. package/package.json +4 -4
@@ -1100,6 +1100,7 @@ export declare const ResourceType: {
1100
1100
  readonly EBS_VOLUME: "EbsVolume";
1101
1101
  readonly EC2_INSTANCE: "Ec2Instance";
1102
1102
  readonly ECS_SERVICE: "EcsService";
1103
+ readonly IDLE: "Idle";
1103
1104
  readonly LAMBDA_FUNCTION: "LambdaFunction";
1104
1105
  readonly LICENSE: "License";
1105
1106
  readonly NOT_APPLICABLE: "NotApplicable";
@@ -2501,6 +2502,167 @@ export interface ExportECSServiceRecommendationsResponse {
2501
2502
  */
2502
2503
  s3Destination?: S3Destination | undefined;
2503
2504
  }
2505
+ /**
2506
+ * @public
2507
+ * @enum
2508
+ */
2509
+ export declare const ExportableIdleField: {
2510
+ readonly ACCOUNT_ID: "AccountId";
2511
+ readonly FINDING: "Finding";
2512
+ readonly FINDING_DESCRIPTION: "FindingDescription";
2513
+ readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
2514
+ readonly LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays";
2515
+ readonly RESOURCE_ARN: "ResourceArn";
2516
+ readonly RESOURCE_ID: "ResourceId";
2517
+ readonly RESOURCE_TYPE: "ResourceType";
2518
+ readonly SAVINGS_OPPORTUNITY: "SavingsOpportunity";
2519
+ readonly SAVINGS_OPPORTUNITY_AFTER_DISCOUNT: "SavingsOpportunityAfterDiscount";
2520
+ readonly TAGS: "Tags";
2521
+ readonly UTILIZATION_METRICS_CPU_MAXIMUM: "UtilizationMetricsCpuMaximum";
2522
+ readonly UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM: "UtilizationMetricsDatabaseConnectionsMaximum";
2523
+ readonly UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeReadIOPSMaximum";
2524
+ readonly UTILIZATION_METRICS_EBS_VOLUME_WRITE_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeWriteIOPSMaximum";
2525
+ readonly UTILIZATION_METRICS_MEMORY_MAXIMUM: "UtilizationMetricsMemoryMaximum";
2526
+ readonly UTILIZATION_METRICS_NETWORK_IN_BYTES_PER_SECOND_MAXIMUM: "UtilizationMetricsNetworkInBytesPerSecondMaximum";
2527
+ readonly UTILIZATION_METRICS_NETWORK_OUT_BYTES_PER_SECOND_MAXIMUM: "UtilizationMetricsNetworkOutBytesPerSecondMaximum";
2528
+ readonly UTILIZATION_METRICS_VOLUME_READ_OPS_PER_SECOND_MAXIMUM: "UtilizationMetricsVolumeReadOpsPerSecondMaximum";
2529
+ readonly UTILIZATION_METRICS_VOLUME_WRITE_OPS_PER_SECOND_MAXIMUM: "UtilizationMetricsVolumeWriteOpsPerSecondMaximum";
2530
+ };
2531
+ /**
2532
+ * @public
2533
+ */
2534
+ export type ExportableIdleField = (typeof ExportableIdleField)[keyof typeof ExportableIdleField];
2535
+ /**
2536
+ * @public
2537
+ * @enum
2538
+ */
2539
+ export declare const IdleRecommendationFilterName: {
2540
+ readonly FINDING: "Finding";
2541
+ readonly RESOURCE_TYPE: "ResourceType";
2542
+ };
2543
+ /**
2544
+ * @public
2545
+ */
2546
+ export type IdleRecommendationFilterName = (typeof IdleRecommendationFilterName)[keyof typeof IdleRecommendationFilterName];
2547
+ /**
2548
+ * <p>Describes a filter that returns a more specific list of idle resource recommendations.</p>
2549
+ * @public
2550
+ */
2551
+ export interface IdleRecommendationFilter {
2552
+ /**
2553
+ * <p>
2554
+ * The name of the filter.
2555
+ * </p>
2556
+ * <p>
2557
+ * Specify <code>Finding</code> to return recommendations with a specific finding classification.
2558
+ * </p>
2559
+ * <p>You can filter your idle resource recommendations by <code>tag:key</code>
2560
+ * and <code>tag-key</code> tags.</p>
2561
+ * <p>A <code>tag:key</code> is a key and value combination of a tag assigned to your
2562
+ * idle resource recommendations. Use the tag key in the filter name and the tag value
2563
+ * as the filter value. For example, to find all idle resource service recommendations that have
2564
+ * a tag with the key of <code>Owner</code> and the value of <code>TeamA</code>,
2565
+ * specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
2566
+ * <p>A <code>tag-key</code> is the key of a tag assigned to your idle resource recommendations. Use
2567
+ * this filter to find all of your idle resource recommendations that have a tag with a
2568
+ * specific key. This doesn’t consider the tag value. For example, you can find
2569
+ * your idle resource service recommendations with a tag key value of <code>Owner</code> or without any tag
2570
+ * keys assigned.</p>
2571
+ * @public
2572
+ */
2573
+ name?: IdleRecommendationFilterName | undefined;
2574
+ /**
2575
+ * <p>The value of the filter.</p>
2576
+ * @public
2577
+ */
2578
+ values?: string[] | undefined;
2579
+ }
2580
+ /**
2581
+ * @public
2582
+ */
2583
+ export interface ExportIdleRecommendationsRequest {
2584
+ /**
2585
+ * <p>
2586
+ * The Amazon Web Services account IDs for the export idle resource recommendations.
2587
+ * </p>
2588
+ * <p>If your account is the management account or the delegated administrator
2589
+ * of an organization, use this parameter to specify the member account you want to
2590
+ * export recommendations to.</p>
2591
+ * <p>This parameter can't be specified together with the include member accounts
2592
+ * parameter. The parameters are mutually exclusive.</p>
2593
+ * <p>If this parameter or the include member accounts parameter is omitted,
2594
+ * the recommendations for member accounts aren't included in the export.</p>
2595
+ * <p>You can specify multiple account IDs per request.</p>
2596
+ * @public
2597
+ */
2598
+ accountIds?: string[] | undefined;
2599
+ /**
2600
+ * <p>An array of objects to specify a filter that exports a more specific set of idle resource recommendations.</p>
2601
+ * @public
2602
+ */
2603
+ filters?: IdleRecommendationFilter[] | undefined;
2604
+ /**
2605
+ * <p>The recommendations data to include in the export file. For more information about the
2606
+ * fields that can be exported, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files">Exported files</a> in the <i>Compute Optimizer User
2607
+ * Guide</i>.</p>
2608
+ * @public
2609
+ */
2610
+ fieldsToExport?: ExportableIdleField[] | undefined;
2611
+ /**
2612
+ * <p>Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and
2613
+ * key prefix for a recommendations export job.</p>
2614
+ * <p>You must create the destination Amazon S3 bucket for your recommendations
2615
+ * export before you create the export job. Compute Optimizer does not create the S3 bucket
2616
+ * for you. After you create the S3 bucket, ensure that it has the required permission
2617
+ * policy to allow Compute Optimizer to write the export file to it. If you plan to specify
2618
+ * an object prefix when you create the export job, you must include the object prefix in
2619
+ * the policy that you add to the S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html">Amazon S3 Bucket Policy for Compute Optimizer</a> in the
2620
+ * <i>Compute Optimizer User Guide</i>.</p>
2621
+ * @public
2622
+ */
2623
+ s3DestinationConfig: S3DestinationConfig | undefined;
2624
+ /**
2625
+ * <p>The format of the export file. The CSV file is the only export file format currently supported.</p>
2626
+ * @public
2627
+ */
2628
+ fileFormat?: FileFormat | undefined;
2629
+ /**
2630
+ * <p>If your account is the management account or the delegated administrator of an organization,
2631
+ * this parameter indicates whether to include recommendations for resources in all member accounts of
2632
+ * the organization.</p>
2633
+ * <p>The member accounts must also be opted in to Compute Optimizer, and trusted access for
2634
+ * Compute Optimizer must be enabled in the organization account. For more information,
2635
+ * see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access">Compute Optimizer and Amazon Web Services Organizations trusted access</a> in the
2636
+ * <i>Compute Optimizer User Guide</i>.</p>
2637
+ * <p>If this parameter is omitted, recommendations for member accounts of the
2638
+ * organization aren't included in the export file.</p>
2639
+ * <p>If this parameter or the account ID parameter is omitted, recommendations for
2640
+ * member accounts aren't included in the export.</p>
2641
+ * @public
2642
+ */
2643
+ includeMemberAccounts?: boolean | undefined;
2644
+ }
2645
+ /**
2646
+ * @public
2647
+ */
2648
+ export interface ExportIdleRecommendationsResponse {
2649
+ /**
2650
+ * <p>
2651
+ * The identification number of the export job.
2652
+ * </p>
2653
+ * <p>To view the status of an export job, use the
2654
+ * <a>DescribeRecommendationExportJobs</a> action and specify the job ID.
2655
+ * </p>
2656
+ * @public
2657
+ */
2658
+ jobId?: string | undefined;
2659
+ /**
2660
+ * <p>Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and
2661
+ * object keys of a recommendations export file, and its associated metadata file.</p>
2662
+ * @public
2663
+ */
2664
+ s3Destination?: S3Destination | undefined;
2665
+ }
2504
2666
  /**
2505
2667
  * @public
2506
2668
  * @enum
@@ -2875,12 +3037,14 @@ export declare const ExportableRDSDBField: {
2875
3037
  readonly ACCOUNT_ID: "AccountId";
2876
3038
  readonly CURRENT_DB_INSTANCE_CLASS: "CurrentDBInstanceClass";
2877
3039
  readonly CURRENT_INSTANCE_ON_DEMAND_HOURLY_PRICE: "CurrentInstanceOnDemandHourlyPrice";
3040
+ readonly CURRENT_INSTANCE_PERFORMANCE_RISK: "CurrentInstancePerformanceRisk";
2878
3041
  readonly CURRENT_STORAGE_CONFIGURATION_ALLOCATED_STORAGE: "CurrentStorageConfigurationAllocatedStorage";
2879
3042
  readonly CURRENT_STORAGE_CONFIGURATION_IOPS: "CurrentStorageConfigurationIOPS";
2880
3043
  readonly CURRENT_STORAGE_CONFIGURATION_MAX_ALLOCATED_STORAGE: "CurrentStorageConfigurationMaxAllocatedStorage";
2881
3044
  readonly CURRENT_STORAGE_CONFIGURATION_STORAGE_THROUGHPUT: "CurrentStorageConfigurationStorageThroughput";
2882
3045
  readonly CURRENT_STORAGE_CONFIGURATION_STORAGE_TYPE: "CurrentStorageConfigurationStorageType";
2883
3046
  readonly CURRENT_STORAGE_ON_DEMAND_MONTHLY_PRICE: "CurrentStorageOnDemandMonthlyPrice";
3047
+ readonly DB_CLUSTER_IDENTIFIER: "DBClusterIdentifier";
2884
3048
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures";
2885
3049
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
2886
3050
  readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod";
@@ -2904,6 +3068,7 @@ export declare const ExportableRDSDBField: {
2904
3068
  readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
2905
3069
  readonly LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays";
2906
3070
  readonly MULTI_AZ_DB_INSTANCE: "MultiAZDBInstance";
3071
+ readonly PROMOTION_TIER: "PromotionTier";
2907
3072
  readonly RESOURCE_ARN: "ResourceArn";
2908
3073
  readonly STORAGE_FINDING: "StorageFinding";
2909
3074
  readonly STORAGE_FINDING_REASON_CODES: "StorageFindingReasonCodes";
@@ -2921,6 +3086,10 @@ export declare const ExportableRDSDBField: {
2921
3086
  readonly STORAGE_RECOMMENDATION_OPTIONS_STORAGE_THROUGHPUT: "StorageRecommendationOptionsStorageThroughput";
2922
3087
  readonly STORAGE_RECOMMENDATION_OPTIONS_STORAGE_TYPE: "StorageRecommendationOptionsStorageType";
2923
3088
  readonly TAGS: "Tags";
3089
+ readonly UTILIZATION_METRICS_AURORA_MEMORY_HEALTH_STATE_MAXIMUM: "UtilizationMetricsAuroraMemoryHealthStateMaximum";
3090
+ readonly UTILIZATION_METRICS_AURORA_MEMORY_NUM_DECLINED_SQL_TOTAL_MAXIMUM: "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum";
3091
+ readonly UTILIZATION_METRICS_AURORA_MEMORY_NUM_KILL_CONN_TOTAL_MAXIMUM: "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum";
3092
+ readonly UTILIZATION_METRICS_AURORA_MEMORY_NUM_KILL_QUERY_TOTAL_MAXIMUM: "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum";
2924
3093
  readonly UTILIZATION_METRICS_CPU_MAXIMUM: "UtilizationMetricsCpuMaximum";
2925
3094
  readonly UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM: "UtilizationMetricsDatabaseConnectionsMaximum";
2926
3095
  readonly UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeReadIOPSMaximum";
@@ -2931,6 +3100,10 @@ export declare const ExportableRDSDBField: {
2931
3100
  readonly UTILIZATION_METRICS_MEMORY_MAXIMUM: "UtilizationMetricsMemoryMaximum";
2932
3101
  readonly UTILIZATION_METRICS_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkReceiveThroughputMaximum";
2933
3102
  readonly UTILIZATION_METRICS_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkTransmitThroughputMaximum";
3103
+ readonly UTILIZATION_METRICS_READ_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsReadIOPSEphemeralStorageMaximum";
3104
+ readonly UTILIZATION_METRICS_STORAGE_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkReceiveThroughputMaximum";
3105
+ readonly UTILIZATION_METRICS_STORAGE_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkTransmitThroughputMaximum";
3106
+ readonly UTILIZATION_METRICS_WRITE_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsWriteIOPSEphemeralStorageMaximum";
2934
3107
  };
2935
3108
  /**
2936
3109
  * @public
@@ -3227,10 +3400,29 @@ export interface GetEBSVolumeRecommendationsRequest {
3227
3400
  export interface VolumeConfiguration {
3228
3401
  /**
3229
3402
  * <p>The volume type.</p>
3230
- * <p>This can be <code>gp2</code> for General Purpose SSD, <code>io1</code> or
3231
- * <code>io2</code> for Provisioned IOPS SSD, <code>st1</code> for Throughput Optimized
3232
- * HDD, <code>sc1</code> for Cold HDD, or <code>standard</code> for Magnetic
3233
- * volumes.</p>
3403
+ * <p>The volume types can be the following:</p>
3404
+ * <ul>
3405
+ * <li>
3406
+ * <p>General Purpose SSD <code>gp2</code> and <code>gp3</code>
3407
+ * </p>
3408
+ * </li>
3409
+ * <li>
3410
+ * <p>Provisioned IOPS SSD <code>io1</code>, <code>io2</code>, and <code>io2 Block Express</code>
3411
+ * </p>
3412
+ * </li>
3413
+ * <li>
3414
+ * <p>Throughput Optimized HDD <code>st1</code>
3415
+ * </p>
3416
+ * </li>
3417
+ * <li>
3418
+ * <p>Cold HDD <code>sc1</code>
3419
+ * </p>
3420
+ * </li>
3421
+ * <li>
3422
+ * <p>Magnetic volumes <code>standard</code>
3423
+ * </p>
3424
+ * </li>
3425
+ * </ul>
3234
3426
  * @public
3235
3427
  */
3236
3428
  volumeType?: string | undefined;
@@ -5697,6 +5889,328 @@ export interface GetEnrollmentStatusesForOrganizationResponse {
5697
5889
  */
5698
5890
  nextToken?: string | undefined;
5699
5891
  }
5892
+ /**
5893
+ * @public
5894
+ * @enum
5895
+ */
5896
+ export declare const Dimension: {
5897
+ readonly SAVINGS_VALUE: "SavingsValue";
5898
+ readonly SAVINGS_VALUE_AFTER_DISCOUNT: "SavingsValueAfterDiscount";
5899
+ };
5900
+ /**
5901
+ * @public
5902
+ */
5903
+ export type Dimension = (typeof Dimension)[keyof typeof Dimension];
5904
+ /**
5905
+ * @public
5906
+ * @enum
5907
+ */
5908
+ export declare const Order: {
5909
+ readonly ASC: "Asc";
5910
+ readonly DESC: "Desc";
5911
+ };
5912
+ /**
5913
+ * @public
5914
+ */
5915
+ export type Order = (typeof Order)[keyof typeof Order];
5916
+ /**
5917
+ * <p>Describes how the recommendations are ordered.</p>
5918
+ * @public
5919
+ */
5920
+ export interface OrderBy {
5921
+ /**
5922
+ * <p>The dimension values to sort the recommendations.</p>
5923
+ * @public
5924
+ */
5925
+ dimension?: Dimension | undefined;
5926
+ /**
5927
+ * <p>The order to sort the recommendations.</p>
5928
+ * @public
5929
+ */
5930
+ order?: Order | undefined;
5931
+ }
5932
+ /**
5933
+ * @public
5934
+ */
5935
+ export interface GetIdleRecommendationsRequest {
5936
+ /**
5937
+ * <p>The ARN that identifies the idle resource.</p>
5938
+ * @public
5939
+ */
5940
+ resourceArns?: string[] | undefined;
5941
+ /**
5942
+ * <p>The token to advance to the next page of idle resource recommendations.</p>
5943
+ * @public
5944
+ */
5945
+ nextToken?: string | undefined;
5946
+ /**
5947
+ * <p>The maximum number of idle resource recommendations to return with a single request. </p>
5948
+ * <p>To retrieve the remaining results,
5949
+ * make another request with the returned <code>nextToken</code> value.</p>
5950
+ * @public
5951
+ */
5952
+ maxResults?: number | undefined;
5953
+ /**
5954
+ * <p>An array of objects to specify a filter that returns a more specific list of idle resource recommendations.</p>
5955
+ * @public
5956
+ */
5957
+ filters?: IdleRecommendationFilter[] | undefined;
5958
+ /**
5959
+ * <p>Return the idle resource recommendations to the specified Amazon Web Services account IDs.</p>
5960
+ * <p>If your account is the management account
5961
+ * or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to
5962
+ * specific member accounts.</p>
5963
+ * <p>You can only specify one account ID per request.</p>
5964
+ * @public
5965
+ */
5966
+ accountIds?: string[] | undefined;
5967
+ /**
5968
+ * <p>The order to sort the idle resource recommendations.</p>
5969
+ * @public
5970
+ */
5971
+ orderBy?: OrderBy | undefined;
5972
+ }
5973
+ /**
5974
+ * @public
5975
+ * @enum
5976
+ */
5977
+ export declare const IdleRecommendationResourceType: {
5978
+ readonly AUTO_SCALING_GROUP: "AutoScalingGroup";
5979
+ readonly EBS_VOLUME: "EBSVolume";
5980
+ readonly EC2_INSTANCE: "EC2Instance";
5981
+ readonly ECS_SERVICE: "ECSService";
5982
+ readonly RDS_DB_INSTANCE: "RDSDBInstance";
5983
+ };
5984
+ /**
5985
+ * @public
5986
+ */
5987
+ export type IdleRecommendationResourceType = (typeof IdleRecommendationResourceType)[keyof typeof IdleRecommendationResourceType];
5988
+ /**
5989
+ * <p>Returns of list of resources that doesn't have idle recommendations.</p>
5990
+ * @public
5991
+ */
5992
+ export interface IdleRecommendationError {
5993
+ /**
5994
+ * <p>The ID of the error.</p>
5995
+ * @public
5996
+ */
5997
+ identifier?: string | undefined;
5998
+ /**
5999
+ * <p>The error code.</p>
6000
+ * @public
6001
+ */
6002
+ code?: string | undefined;
6003
+ /**
6004
+ * <p>The error message.</p>
6005
+ * @public
6006
+ */
6007
+ message?: string | undefined;
6008
+ /**
6009
+ * <p>The type of resource associated with the error.</p>
6010
+ * @public
6011
+ */
6012
+ resourceType?: IdleRecommendationResourceType | undefined;
6013
+ }
6014
+ /**
6015
+ * @public
6016
+ * @enum
6017
+ */
6018
+ export declare const IdleFinding: {
6019
+ readonly IDLE: "Idle";
6020
+ readonly UNATTACHED: "Unattached";
6021
+ };
6022
+ /**
6023
+ * @public
6024
+ */
6025
+ export type IdleFinding = (typeof IdleFinding)[keyof typeof IdleFinding];
6026
+ /**
6027
+ * <p>Describes the estimated monthly savings possible for idle resources by adopting Compute Optimizer recommendations.</p>
6028
+ * @public
6029
+ */
6030
+ export interface IdleEstimatedMonthlySavings {
6031
+ /**
6032
+ * <p>The currency of the estimated monthly savings.</p>
6033
+ * @public
6034
+ */
6035
+ currency?: Currency | undefined;
6036
+ /**
6037
+ * <p>The value of the estimated monthly savings for Idle resources.</p>
6038
+ * @public
6039
+ */
6040
+ value?: number | undefined;
6041
+ }
6042
+ /**
6043
+ * <p>Describes the savings opportunity for idle resource recommendations.</p>
6044
+ * @public
6045
+ */
6046
+ export interface IdleSavingsOpportunity {
6047
+ /**
6048
+ * <p>The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations.</p>
6049
+ * @public
6050
+ */
6051
+ savingsOpportunityPercentage?: number | undefined;
6052
+ /**
6053
+ * <p>The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.</p>
6054
+ * @public
6055
+ */
6056
+ estimatedMonthlySavings?: IdleEstimatedMonthlySavings | undefined;
6057
+ }
6058
+ /**
6059
+ * <p>Describes the savings opportunity for idle resource recommendations after applying discounts.</p>
6060
+ * <p>Savings opportunity represents the estimated monthly savings after applying discounts. You can achieve this by implementing a given Compute Optimizer recommendation.</p>
6061
+ * @public
6062
+ */
6063
+ export interface IdleSavingsOpportunityAfterDiscounts {
6064
+ /**
6065
+ * <p>The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.</p>
6066
+ * @public
6067
+ */
6068
+ savingsOpportunityPercentage?: number | undefined;
6069
+ /**
6070
+ * <p>The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.</p>
6071
+ * @public
6072
+ */
6073
+ estimatedMonthlySavings?: IdleEstimatedMonthlySavings | undefined;
6074
+ }
6075
+ /**
6076
+ * @public
6077
+ * @enum
6078
+ */
6079
+ export declare const IdleMetricName: {
6080
+ readonly CPU: "CPU";
6081
+ readonly DATABASE_CONNECTIONS: "DatabaseConnections";
6082
+ readonly EBS_VOLUME_READ_IOPS: "EBSVolumeReadIOPS";
6083
+ readonly EBS_VOLUME_WRITE_IOPS: "EBSVolumeWriteIOPS";
6084
+ readonly MEMORY: "Memory";
6085
+ readonly NETWORK_IN_BYTES_PER_SECOND: "NetworkInBytesPerSecond";
6086
+ readonly NETWORK_OUT_BYTES_PER_SECOND: "NetworkOutBytesPerSecond";
6087
+ readonly VOLUME_READ_OPS_PER_SECOND: "VolumeReadOpsPerSecond";
6088
+ readonly VOLUME_WRITE_OPS_PER_SECOND: "VolumeWriteOpsPerSecond";
6089
+ };
6090
+ /**
6091
+ * @public
6092
+ */
6093
+ export type IdleMetricName = (typeof IdleMetricName)[keyof typeof IdleMetricName];
6094
+ /**
6095
+ * <p>Describes the utilization metric of an idle resource.</p>
6096
+ * @public
6097
+ */
6098
+ export interface IdleUtilizationMetric {
6099
+ /**
6100
+ * <p>The name of the utilization metric.</p>
6101
+ * @public
6102
+ */
6103
+ name?: IdleMetricName | undefined;
6104
+ /**
6105
+ * <p>
6106
+ * The statistic of the utilization metric.
6107
+ * </p>
6108
+ * <p>The Compute Optimizer API, Command Line Interface (CLI), and SDKs
6109
+ * return utilization metrics using only the <code>Maximum</code> statistic, which is the
6110
+ * highest value observed during the specified period.</p>
6111
+ * <p>The Compute Optimizer console displays graphs for some utilization metrics using the
6112
+ * <code>Average</code> statistic, which is the value of <code>Sum</code> /
6113
+ * <code>SampleCount</code> during the specified period. For more information, see
6114
+ * <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html">Viewing resource
6115
+ * recommendations</a> in the <i>Compute Optimizer User
6116
+ * Guide</i>. You can also get averaged utilization metric data for your resources
6117
+ * using Amazon CloudWatch. For more information, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html">Amazon CloudWatch
6118
+ * User Guide</a>.</p>
6119
+ * @public
6120
+ */
6121
+ statistic?: MetricStatistic | undefined;
6122
+ /**
6123
+ * <p>The value of the utilization metric.</p>
6124
+ * @public
6125
+ */
6126
+ value?: number | undefined;
6127
+ }
6128
+ /**
6129
+ * <p>Describes an Idle resource recommendation.</p>
6130
+ * @public
6131
+ */
6132
+ export interface IdleRecommendation {
6133
+ /**
6134
+ * <p>The ARN of the current idle resource.</p>
6135
+ * @public
6136
+ */
6137
+ resourceArn?: string | undefined;
6138
+ /**
6139
+ * <p>The unique identifier for the resource.</p>
6140
+ * @public
6141
+ */
6142
+ resourceId?: string | undefined;
6143
+ /**
6144
+ * <p>The type of resource that is idle.</p>
6145
+ * @public
6146
+ */
6147
+ resourceType?: IdleRecommendationResourceType | undefined;
6148
+ /**
6149
+ * <p>The Amazon Web Services account ID of the idle resource.</p>
6150
+ * @public
6151
+ */
6152
+ accountId?: string | undefined;
6153
+ /**
6154
+ * <p>The finding classification of an idle resource.</p>
6155
+ * @public
6156
+ */
6157
+ finding?: IdleFinding | undefined;
6158
+ /**
6159
+ * <p>A summary of the findings for the resource.</p>
6160
+ * @public
6161
+ */
6162
+ findingDescription?: string | undefined;
6163
+ /**
6164
+ * <p>The savings opportunity for the idle resource.</p>
6165
+ * @public
6166
+ */
6167
+ savingsOpportunity?: IdleSavingsOpportunity | undefined;
6168
+ /**
6169
+ * <p>The savings opportunity for the idle resource after any applying discounts.</p>
6170
+ * @public
6171
+ */
6172
+ savingsOpportunityAfterDiscounts?: IdleSavingsOpportunityAfterDiscounts | undefined;
6173
+ /**
6174
+ * <p>An array of objects that describe the utilization metrics of the idle resource.</p>
6175
+ * @public
6176
+ */
6177
+ utilizationMetrics?: IdleUtilizationMetric[] | undefined;
6178
+ /**
6179
+ * <p>The number of days the idle resource utilization metrics were analyzed.</p>
6180
+ * @public
6181
+ */
6182
+ lookBackPeriodInDays?: number | undefined;
6183
+ /**
6184
+ * <p>The timestamp of when the idle resource recommendation was last generated.</p>
6185
+ * @public
6186
+ */
6187
+ lastRefreshTimestamp?: Date | undefined;
6188
+ /**
6189
+ * <p>A list of tags assigned to your idle resource recommendations.</p>
6190
+ * @public
6191
+ */
6192
+ tags?: Tag[] | undefined;
6193
+ }
6194
+ /**
6195
+ * @public
6196
+ */
6197
+ export interface GetIdleRecommendationsResponse {
6198
+ /**
6199
+ * <p>The token to advance to the next page of idle resource recommendations.</p>
6200
+ * @public
6201
+ */
6202
+ nextToken?: string | undefined;
6203
+ /**
6204
+ * <p>An array of objects that describe the idle resource recommendations.</p>
6205
+ * @public
6206
+ */
6207
+ idleRecommendations?: IdleRecommendation[] | undefined;
6208
+ /**
6209
+ * <p>An array of objects that describe errors of the request.</p>
6210
+ * @public
6211
+ */
6212
+ errors?: IdleRecommendationError[] | undefined;
6213
+ }
5700
6214
  /**
5701
6215
  * @public
5702
6216
  */
@@ -6670,6 +7184,10 @@ export interface GetRDSDatabaseRecommendationProjectedMetricsRequest {
6670
7184
  * @enum
6671
7185
  */
6672
7186
  export declare const RDSDBMetricName: {
7187
+ readonly AURORA_MEMORY_HEALTH_STATE: "AuroraMemoryHealthState";
7188
+ readonly AURORA_MEMORY_NUM_DECLINED_SQL: "AuroraMemoryNumDeclinedSql";
7189
+ readonly AURORA_MEMORY_NUM_KILL_CONN_TOTAL: "AuroraMemoryNumKillConnTotal";
7190
+ readonly AURORA_MEMORY_NUM_KILL_QUERY_TOTAL: "AuroraMemoryNumKillQueryTotal";
6673
7191
  readonly CPU: "CPU";
6674
7192
  readonly DATABASE_CONNECTIONS: "DatabaseConnections";
6675
7193
  readonly EBS_VOLUME_READ_IOPS: "EBSVolumeReadIOPS";
@@ -6680,6 +7198,10 @@ export declare const RDSDBMetricName: {
6680
7198
  readonly MEMORY: "Memory";
6681
7199
  readonly NETWORK_RECEIVE_THROUGHPUT: "NetworkReceiveThroughput";
6682
7200
  readonly NETWORK_TRANSMIT_THROUGHPUT: "NetworkTransmitThroughput";
7201
+ readonly READ_IOPS_EPHEMERAL_STORAGE: "ReadIOPSEphemeralStorage";
7202
+ readonly STORAGE_NETWORK_RECEIVE_THROUGHPUT: "StorageNetworkReceiveThroughput";
7203
+ readonly STORAGE_NETWORK_TRANSMIT_THROUGHPUT: "StorageNetworkTransmitThroughput";
7204
+ readonly WRITE_IOPS_EPHEMERAL_STORAGE: "WriteIOPSEphemeralStorage";
6683
7205
  };
6684
7206
  /**
6685
7207
  * @public
@@ -6824,6 +7346,20 @@ export interface GetRDSDatabaseRecommendationsRequest {
6824
7346
  */
6825
7347
  recommendationPreferences?: RecommendationPreferences | undefined;
6826
7348
  }
7349
+ /**
7350
+ * @public
7351
+ * @enum
7352
+ */
7353
+ export declare const RDSCurrentInstancePerformanceRisk: {
7354
+ readonly HIGH: "High";
7355
+ readonly LOW: "Low";
7356
+ readonly MEDIUM: "Medium";
7357
+ readonly VERY_LOW: "VeryLow";
7358
+ };
7359
+ /**
7360
+ * @public
7361
+ */
7362
+ export type RDSCurrentInstancePerformanceRisk = (typeof RDSCurrentInstancePerformanceRisk)[keyof typeof RDSCurrentInstancePerformanceRisk];
6827
7363
  /**
6828
7364
  * <p>
6829
7365
  * The configuration of the recommended RDS storage.
@@ -6971,9 +7507,14 @@ export type RDSInstanceFinding = (typeof RDSInstanceFinding)[keyof typeof RDSIns
6971
7507
  export declare const RDSInstanceFindingReasonCode: {
6972
7508
  readonly CPU_OVER_PROVISIONED: "CPUOverprovisioned";
6973
7509
  readonly CPU_UNDER_PROVISIONED: "CPUUnderprovisioned";
7510
+ readonly DB_CLUSTER_WRITER_UNDER_PROVISIONED: "DBClusterWriterUnderprovisioned";
6974
7511
  readonly EBS_IOPS_OVER_PROVISIONED: "EBSIOPSOverprovisioned";
7512
+ readonly EBS_IOPS_UNDER_PROVISIONED: "EBSIOPSUnderprovisioned";
6975
7513
  readonly EBS_THROUGHPUT_OVER_PROVISIONED: "EBSThroughputOverprovisioned";
6976
7514
  readonly EBS_THROUGHPUT_UNDER_PROVISIONED: "EBSThroughputUnderprovisioned";
7515
+ readonly INSTANCE_STORAGE_READ_IOPS_UNDER_PROVISIONED: "InstanceStorageReadIOPSUnderprovisioned";
7516
+ readonly INSTANCE_STORAGE_WRITE_IOPS_UNDER_PROVISIONED: "InstanceStorageWriteIOPSUnderprovisioned";
7517
+ readonly MEMORY_UNDER_PROVISIONED: "MemoryUnderprovisioned";
6977
7518
  readonly NETWORK_BANDWIDTH_OVER_PROVISIONED: "NetworkBandwidthOverprovisioned";
6978
7519
  readonly NETWORK_BANDWIDTH_UNDER_PROVISIONED: "NetworkBandwidthUnderprovisioned";
6979
7520
  readonly NEW_ENGINE_VERSION_AVAILABLE: "NewEngineVersionAvailable";
@@ -7329,6 +7870,11 @@ export interface RDSDBRecommendation {
7329
7870
  * @public
7330
7871
  */
7331
7872
  engineVersion?: string | undefined;
7873
+ /**
7874
+ * <p>The promotion tier for the Aurora instance.</p>
7875
+ * @public
7876
+ */
7877
+ promotionTier?: number | undefined;
7332
7878
  /**
7333
7879
  * <p>
7334
7880
  * The DB instance class of the current RDS instance.
@@ -7343,6 +7889,11 @@ export interface RDSDBRecommendation {
7343
7889
  * @public
7344
7890
  */
7345
7891
  currentStorageConfiguration?: DBStorageConfiguration | undefined;
7892
+ /**
7893
+ * <p>The identifier for DB cluster.</p>
7894
+ * @public
7895
+ */
7896
+ dbClusterIdentifier?: string | undefined;
7346
7897
  /**
7347
7898
  * <p>
7348
7899
  * This indicates if the RDS instance is idle or not.
@@ -7425,6 +7976,11 @@ export interface RDSDBRecommendation {
7425
7976
  * @public
7426
7977
  */
7427
7978
  instanceFindingReasonCodes?: RDSInstanceFindingReasonCode[] | undefined;
7979
+ /**
7980
+ * <p>The performance risk for the current DB instance.</p>
7981
+ * @public
7982
+ */
7983
+ currentInstancePerformanceRisk?: RDSCurrentInstancePerformanceRisk | undefined;
7428
7984
  /**
7429
7985
  * <p>
7430
7986
  * The reason for the finding classification of Amazon RDS storage.
@@ -7719,6 +8275,22 @@ export interface CurrentPerformanceRiskRatings {
7719
8275
  */
7720
8276
  veryLow?: number | undefined;
7721
8277
  }
8278
+ /**
8279
+ * <p>Describes the findings summary of the idle resources.</p>
8280
+ * @public
8281
+ */
8282
+ export interface IdleSummary {
8283
+ /**
8284
+ * <p>The name of the finding group for the idle resources.</p>
8285
+ * @public
8286
+ */
8287
+ name?: IdleFinding | undefined;
8288
+ /**
8289
+ * <p>The count of idle resources in the finding group.</p>
8290
+ * @public
8291
+ */
8292
+ value?: number | undefined;
8293
+ }
7722
8294
  /**
7723
8295
  * <p>
7724
8296
  * The estimated monthly savings after you adjust the configurations of your instances running on the
@@ -7849,6 +8421,13 @@ export interface RecommendationSummary {
7849
8421
  * @public
7850
8422
  */
7851
8423
  summaries?: Summary[] | undefined;
8424
+ /**
8425
+ * <p>
8426
+ * Describes the findings summary of the idle resources.
8427
+ * </p>
8428
+ * @public
8429
+ */
8430
+ idleSummaries?: IdleSummary[] | undefined;
7852
8431
  /**
7853
8432
  * <p>The resource type that the recommendation summary applies to.</p>
7854
8433
  * @public
@@ -7865,6 +8444,46 @@ export interface RecommendationSummary {
7865
8444
  * @public
7866
8445
  */
7867
8446
  savingsOpportunity?: SavingsOpportunity | undefined;
8447
+ /**
8448
+ * <p>Describes the savings opportunity for recommendations of a given resource type or for
8449
+ * the recommendation option of an individual resource.</p>
8450
+ * <p>Savings opportunity represents the estimated monthly savings you can achieve by
8451
+ * implementing a given Compute Optimizer recommendation.</p>
8452
+ * <important>
8453
+ * <p>Savings opportunity data requires that you opt in to Cost Explorer, as well as
8454
+ * activate <b>Receive Amazon EC2 resource
8455
+ * recommendations</b> in the Cost Explorer preferences page. That
8456
+ * creates a connection between Cost Explorer and Compute Optimizer. With this
8457
+ * connection, Cost Explorer generates savings estimates considering the price of
8458
+ * existing resources, the price of recommended resources, and historical usage data.
8459
+ * Estimated monthly savings reflects the projected dollar savings associated with each
8460
+ * of the recommendations generated. For more information, see <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html">Enabling Cost Explorer</a> and <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html">Optimizing your cost
8461
+ * with Rightsizing Recommendations</a> in the <i>Cost Management User
8462
+ * Guide</i>.</p>
8463
+ * </important>
8464
+ * @public
8465
+ */
8466
+ idleSavingsOpportunity?: SavingsOpportunity | undefined;
8467
+ /**
8468
+ * <p>Describes the savings opportunity for recommendations of a given resource type or for
8469
+ * the recommendation option of an individual resource.</p>
8470
+ * <p>Savings opportunity represents the estimated monthly savings you can achieve by
8471
+ * implementing a given Compute Optimizer recommendation.</p>
8472
+ * <important>
8473
+ * <p>Savings opportunity data requires that you opt in to Cost Explorer, as well as
8474
+ * activate <b>Receive Amazon EC2 resource
8475
+ * recommendations</b> in the Cost Explorer preferences page. That
8476
+ * creates a connection between Cost Explorer and Compute Optimizer. With this
8477
+ * connection, Cost Explorer generates savings estimates considering the price of
8478
+ * existing resources, the price of recommended resources, and historical usage data.
8479
+ * Estimated monthly savings reflects the projected dollar savings associated with each
8480
+ * of the recommendations generated. For more information, see <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html">Enabling Cost Explorer</a> and <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html">Optimizing your cost
8481
+ * with Rightsizing Recommendations</a> in the <i>Cost Management User
8482
+ * Guide</i>.</p>
8483
+ * </important>
8484
+ * @public
8485
+ */
8486
+ aggregatedSavingsOpportunity?: SavingsOpportunity | undefined;
7868
8487
  /**
7869
8488
  * <p>An object that describes the performance risk ratings for a given resource
7870
8489
  * type.</p>