@aws-sdk/client-compute-optimizer 3.324.0 → 3.326.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.
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +23 -0
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +11 -0
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +11 -0
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +11 -0
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +11 -0
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +11 -0
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +77 -0
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +61 -0
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +80 -0
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +22 -0
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +25 -0
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +81 -0
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +9 -0
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +10 -0
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +14 -0
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +49 -0
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +20 -0
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +37 -0
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +7 -0
- package/package.json +16 -16
|
@@ -41,6 +41,8 @@ export interface DeleteRecommendationPreferencesCommandOutput extends DeleteReco
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DeleteRecommendationPreferencesCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
44
46
|
* ```
|
|
45
47
|
*
|
|
46
48
|
* @param DeleteRecommendationPreferencesCommandInput - {@link DeleteRecommendationPreferencesCommandInput}
|
|
@@ -74,6 +76,8 @@ export interface DeleteRecommendationPreferencesCommandOutput extends DeleteReco
|
|
|
74
76
|
* @throws {@link ThrottlingException} (client fault)
|
|
75
77
|
* <p>The request was denied due to request throttling.</p>
|
|
76
78
|
*
|
|
79
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
77
81
|
*
|
|
78
82
|
*/
|
|
79
83
|
export declare class DeleteRecommendationPreferencesCommand extends $Command<DeleteRecommendationPreferencesCommandInput, DeleteRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -46,6 +46,27 @@ export interface DescribeRecommendationExportJobsCommandOutput extends DescribeR
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new DescribeRecommendationExportJobsCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // DescribeRecommendationExportJobsResponse
|
|
50
|
+
* // recommendationExportJobs: [ // RecommendationExportJobs
|
|
51
|
+
* // { // RecommendationExportJob
|
|
52
|
+
* // jobId: "STRING_VALUE",
|
|
53
|
+
* // destination: { // ExportDestination
|
|
54
|
+
* // s3: { // S3Destination
|
|
55
|
+
* // bucket: "STRING_VALUE",
|
|
56
|
+
* // key: "STRING_VALUE",
|
|
57
|
+
* // metadataKey: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService",
|
|
61
|
+
* // status: "Queued" || "InProgress" || "Complete" || "Failed",
|
|
62
|
+
* // creationTimestamp: new Date("TIMESTAMP"),
|
|
63
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
64
|
+
* // failureReason: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
49
70
|
* ```
|
|
50
71
|
*
|
|
51
72
|
* @param DescribeRecommendationExportJobsCommandInput - {@link DescribeRecommendationExportJobsCommandInput}
|
|
@@ -79,6 +100,8 @@ export interface DescribeRecommendationExportJobsCommandOutput extends DescribeR
|
|
|
79
100
|
* @throws {@link ThrottlingException} (client fault)
|
|
80
101
|
* <p>The request was denied due to request throttling.</p>
|
|
81
102
|
*
|
|
103
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
82
105
|
*
|
|
83
106
|
*/
|
|
84
107
|
export declare class DescribeRecommendationExportJobsCommand extends $Command<DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExportJobsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -60,6 +60,15 @@ export interface ExportAutoScalingGroupRecommendationsCommandOutput extends Expo
|
|
|
60
60
|
* };
|
|
61
61
|
* const command = new ExportAutoScalingGroupRecommendationsCommand(input);
|
|
62
62
|
* const response = await client.send(command);
|
|
63
|
+
* // { // ExportAutoScalingGroupRecommendationsResponse
|
|
64
|
+
* // jobId: "STRING_VALUE",
|
|
65
|
+
* // s3Destination: { // S3Destination
|
|
66
|
+
* // bucket: "STRING_VALUE",
|
|
67
|
+
* // key: "STRING_VALUE",
|
|
68
|
+
* // metadataKey: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
63
72
|
* ```
|
|
64
73
|
*
|
|
65
74
|
* @param ExportAutoScalingGroupRecommendationsCommandInput - {@link ExportAutoScalingGroupRecommendationsCommandInput}
|
|
@@ -93,6 +102,8 @@ export interface ExportAutoScalingGroupRecommendationsCommandOutput extends Expo
|
|
|
93
102
|
* @throws {@link ThrottlingException} (client fault)
|
|
94
103
|
* <p>The request was denied due to request throttling.</p>
|
|
95
104
|
*
|
|
105
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
96
107
|
*
|
|
97
108
|
*/
|
|
98
109
|
export declare class ExportAutoScalingGroupRecommendationsCommand extends $Command<ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGroupRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -55,6 +55,15 @@ export interface ExportEBSVolumeRecommendationsCommandOutput extends ExportEBSVo
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new ExportEBSVolumeRecommendationsCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // ExportEBSVolumeRecommendationsResponse
|
|
59
|
+
* // jobId: "STRING_VALUE",
|
|
60
|
+
* // s3Destination: { // S3Destination
|
|
61
|
+
* // bucket: "STRING_VALUE",
|
|
62
|
+
* // key: "STRING_VALUE",
|
|
63
|
+
* // metadataKey: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
58
67
|
* ```
|
|
59
68
|
*
|
|
60
69
|
* @param ExportEBSVolumeRecommendationsCommandInput - {@link ExportEBSVolumeRecommendationsCommandInput}
|
|
@@ -88,6 +97,8 @@ export interface ExportEBSVolumeRecommendationsCommandOutput extends ExportEBSVo
|
|
|
88
97
|
* @throws {@link ThrottlingException} (client fault)
|
|
89
98
|
* <p>The request was denied due to request throttling.</p>
|
|
90
99
|
*
|
|
100
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
91
102
|
*
|
|
92
103
|
*/
|
|
93
104
|
export declare class ExportEBSVolumeRecommendationsCommand extends $Command<ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -60,6 +60,15 @@ export interface ExportEC2InstanceRecommendationsCommandOutput extends ExportEC2
|
|
|
60
60
|
* };
|
|
61
61
|
* const command = new ExportEC2InstanceRecommendationsCommand(input);
|
|
62
62
|
* const response = await client.send(command);
|
|
63
|
+
* // { // ExportEC2InstanceRecommendationsResponse
|
|
64
|
+
* // jobId: "STRING_VALUE",
|
|
65
|
+
* // s3Destination: { // S3Destination
|
|
66
|
+
* // bucket: "STRING_VALUE",
|
|
67
|
+
* // key: "STRING_VALUE",
|
|
68
|
+
* // metadataKey: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
63
72
|
* ```
|
|
64
73
|
*
|
|
65
74
|
* @param ExportEC2InstanceRecommendationsCommandInput - {@link ExportEC2InstanceRecommendationsCommandInput}
|
|
@@ -93,6 +102,8 @@ export interface ExportEC2InstanceRecommendationsCommandOutput extends ExportEC2
|
|
|
93
102
|
* @throws {@link ThrottlingException} (client fault)
|
|
94
103
|
* <p>The request was denied due to request throttling.</p>
|
|
95
104
|
*
|
|
105
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
96
107
|
*
|
|
97
108
|
*/
|
|
98
109
|
export declare class ExportEC2InstanceRecommendationsCommand extends $Command<ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -57,6 +57,15 @@ export interface ExportECSServiceRecommendationsCommandOutput extends ExportECSS
|
|
|
57
57
|
* };
|
|
58
58
|
* const command = new ExportECSServiceRecommendationsCommand(input);
|
|
59
59
|
* const response = await client.send(command);
|
|
60
|
+
* // { // ExportECSServiceRecommendationsResponse
|
|
61
|
+
* // jobId: "STRING_VALUE",
|
|
62
|
+
* // s3Destination: { // S3Destination
|
|
63
|
+
* // bucket: "STRING_VALUE",
|
|
64
|
+
* // key: "STRING_VALUE",
|
|
65
|
+
* // metadataKey: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
60
69
|
* ```
|
|
61
70
|
*
|
|
62
71
|
* @param ExportECSServiceRecommendationsCommandInput - {@link ExportECSServiceRecommendationsCommandInput}
|
|
@@ -90,6 +99,8 @@ export interface ExportECSServiceRecommendationsCommandOutput extends ExportECSS
|
|
|
90
99
|
* @throws {@link ThrottlingException} (client fault)
|
|
91
100
|
* <p>The request was denied due to request throttling.</p>
|
|
92
101
|
*
|
|
102
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
93
104
|
*
|
|
94
105
|
*/
|
|
95
106
|
export declare class ExportECSServiceRecommendationsCommand extends $Command<ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -55,6 +55,15 @@ export interface ExportLambdaFunctionRecommendationsCommandOutput extends Export
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new ExportLambdaFunctionRecommendationsCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // ExportLambdaFunctionRecommendationsResponse
|
|
59
|
+
* // jobId: "STRING_VALUE",
|
|
60
|
+
* // s3Destination: { // S3Destination
|
|
61
|
+
* // bucket: "STRING_VALUE",
|
|
62
|
+
* // key: "STRING_VALUE",
|
|
63
|
+
* // metadataKey: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
58
67
|
* ```
|
|
59
68
|
*
|
|
60
69
|
* @param ExportLambdaFunctionRecommendationsCommandInput - {@link ExportLambdaFunctionRecommendationsCommandInput}
|
|
@@ -88,6 +97,8 @@ export interface ExportLambdaFunctionRecommendationsCommandOutput extends Export
|
|
|
88
97
|
* @throws {@link ThrottlingException} (client fault)
|
|
89
98
|
* <p>The request was denied due to request throttling.</p>
|
|
90
99
|
*
|
|
100
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
91
102
|
*
|
|
92
103
|
*/
|
|
93
104
|
export declare class ExportLambdaFunctionRecommendationsCommand extends $Command<ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -55,6 +55,81 @@ export interface GetAutoScalingGroupRecommendationsCommandOutput extends GetAuto
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new GetAutoScalingGroupRecommendationsCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // GetAutoScalingGroupRecommendationsResponse
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // autoScalingGroupRecommendations: [ // AutoScalingGroupRecommendations
|
|
61
|
+
* // { // AutoScalingGroupRecommendation
|
|
62
|
+
* // accountId: "STRING_VALUE",
|
|
63
|
+
* // autoScalingGroupArn: "STRING_VALUE",
|
|
64
|
+
* // autoScalingGroupName: "STRING_VALUE",
|
|
65
|
+
* // finding: "Underprovisioned" || "Overprovisioned" || "Optimized" || "NotOptimized",
|
|
66
|
+
* // utilizationMetrics: [ // UtilizationMetrics
|
|
67
|
+
* // { // UtilizationMetric
|
|
68
|
+
* // name: "Cpu" || "Memory" || "EBS_READ_OPS_PER_SECOND" || "EBS_WRITE_OPS_PER_SECOND" || "EBS_READ_BYTES_PER_SECOND" || "EBS_WRITE_BYTES_PER_SECOND" || "DISK_READ_OPS_PER_SECOND" || "DISK_WRITE_OPS_PER_SECOND" || "DISK_READ_BYTES_PER_SECOND" || "DISK_WRITE_BYTES_PER_SECOND" || "NETWORK_IN_BYTES_PER_SECOND" || "NETWORK_OUT_BYTES_PER_SECOND" || "NETWORK_PACKETS_IN_PER_SECOND" || "NETWORK_PACKETS_OUT_PER_SECOND",
|
|
69
|
+
* // statistic: "Maximum" || "Average",
|
|
70
|
+
* // value: Number("double"),
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // lookBackPeriodInDays: Number("double"),
|
|
74
|
+
* // currentConfiguration: { // AutoScalingGroupConfiguration
|
|
75
|
+
* // desiredCapacity: Number("int"),
|
|
76
|
+
* // minSize: Number("int"),
|
|
77
|
+
* // maxSize: Number("int"),
|
|
78
|
+
* // instanceType: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // recommendationOptions: [ // AutoScalingGroupRecommendationOptions
|
|
81
|
+
* // { // AutoScalingGroupRecommendationOption
|
|
82
|
+
* // configuration: {
|
|
83
|
+
* // desiredCapacity: Number("int"),
|
|
84
|
+
* // minSize: Number("int"),
|
|
85
|
+
* // maxSize: Number("int"),
|
|
86
|
+
* // instanceType: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // projectedUtilizationMetrics: [ // ProjectedUtilizationMetrics
|
|
89
|
+
* // {
|
|
90
|
+
* // name: "Cpu" || "Memory" || "EBS_READ_OPS_PER_SECOND" || "EBS_WRITE_OPS_PER_SECOND" || "EBS_READ_BYTES_PER_SECOND" || "EBS_WRITE_BYTES_PER_SECOND" || "DISK_READ_OPS_PER_SECOND" || "DISK_WRITE_OPS_PER_SECOND" || "DISK_READ_BYTES_PER_SECOND" || "DISK_WRITE_BYTES_PER_SECOND" || "NETWORK_IN_BYTES_PER_SECOND" || "NETWORK_OUT_BYTES_PER_SECOND" || "NETWORK_PACKETS_IN_PER_SECOND" || "NETWORK_PACKETS_OUT_PER_SECOND",
|
|
91
|
+
* // statistic: "Maximum" || "Average",
|
|
92
|
+
* // value: Number("double"),
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // performanceRisk: Number("double"),
|
|
96
|
+
* // rank: Number("int"),
|
|
97
|
+
* // savingsOpportunity: { // SavingsOpportunity
|
|
98
|
+
* // savingsOpportunityPercentage: Number("double"),
|
|
99
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
100
|
+
* // currency: "USD" || "CNY",
|
|
101
|
+
* // value: Number("double"),
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // migrationEffort: "VeryLow" || "Low" || "Medium" || "High",
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
108
|
+
* // currentPerformanceRisk: "VeryLow" || "Low" || "Medium" || "High",
|
|
109
|
+
* // effectiveRecommendationPreferences: { // EffectiveRecommendationPreferences
|
|
110
|
+
* // cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
111
|
+
* // "AWS_ARM64" || "CURRENT",
|
|
112
|
+
* // ],
|
|
113
|
+
* // enhancedInfrastructureMetrics: "Active" || "Inactive",
|
|
114
|
+
* // inferredWorkloadTypes: "Active" || "Inactive",
|
|
115
|
+
* // externalMetricsPreference: { // ExternalMetricsPreference
|
|
116
|
+
* // source: "Datadog" || "Dynatrace" || "NewRelic" || "Instana",
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // inferredWorkloadTypes: [ // InferredWorkloadTypes
|
|
120
|
+
* // "AmazonEmr" || "ApacheCassandra" || "ApacheHadoop" || "Memcached" || "Nginx" || "PostgreSql" || "Redis" || "Kafka",
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // errors: [ // GetRecommendationErrors
|
|
125
|
+
* // { // GetRecommendationError
|
|
126
|
+
* // identifier: "STRING_VALUE",
|
|
127
|
+
* // code: "STRING_VALUE",
|
|
128
|
+
* // message: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // };
|
|
132
|
+
*
|
|
58
133
|
* ```
|
|
59
134
|
*
|
|
60
135
|
* @param GetAutoScalingGroupRecommendationsCommandInput - {@link GetAutoScalingGroupRecommendationsCommandInput}
|
|
@@ -88,6 +163,8 @@ export interface GetAutoScalingGroupRecommendationsCommandOutput extends GetAuto
|
|
|
88
163
|
* @throws {@link ThrottlingException} (client fault)
|
|
89
164
|
* <p>The request was denied due to request throttling.</p>
|
|
90
165
|
*
|
|
166
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
167
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
91
168
|
*
|
|
92
169
|
*/
|
|
93
170
|
export declare class GetAutoScalingGroupRecommendationsCommand extends $Command<GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -50,6 +50,65 @@ export interface GetEBSVolumeRecommendationsCommandOutput extends GetEBSVolumeRe
|
|
|
50
50
|
* };
|
|
51
51
|
* const command = new GetEBSVolumeRecommendationsCommand(input);
|
|
52
52
|
* const response = await client.send(command);
|
|
53
|
+
* // { // GetEBSVolumeRecommendationsResponse
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // volumeRecommendations: [ // VolumeRecommendations
|
|
56
|
+
* // { // VolumeRecommendation
|
|
57
|
+
* // volumeArn: "STRING_VALUE",
|
|
58
|
+
* // accountId: "STRING_VALUE",
|
|
59
|
+
* // currentConfiguration: { // VolumeConfiguration
|
|
60
|
+
* // volumeType: "STRING_VALUE",
|
|
61
|
+
* // volumeSize: Number("int"),
|
|
62
|
+
* // volumeBaselineIOPS: Number("int"),
|
|
63
|
+
* // volumeBurstIOPS: Number("int"),
|
|
64
|
+
* // volumeBaselineThroughput: Number("int"),
|
|
65
|
+
* // volumeBurstThroughput: Number("int"),
|
|
66
|
+
* // rootVolume: true || false,
|
|
67
|
+
* // },
|
|
68
|
+
* // finding: "Optimized" || "NotOptimized",
|
|
69
|
+
* // utilizationMetrics: [ // EBSUtilizationMetrics
|
|
70
|
+
* // { // EBSUtilizationMetric
|
|
71
|
+
* // name: "VolumeReadOpsPerSecond" || "VolumeWriteOpsPerSecond" || "VolumeReadBytesPerSecond" || "VolumeWriteBytesPerSecond",
|
|
72
|
+
* // statistic: "Maximum" || "Average",
|
|
73
|
+
* // value: Number("double"),
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // lookBackPeriodInDays: Number("double"),
|
|
77
|
+
* // volumeRecommendationOptions: [ // VolumeRecommendationOptions
|
|
78
|
+
* // { // VolumeRecommendationOption
|
|
79
|
+
* // configuration: {
|
|
80
|
+
* // volumeType: "STRING_VALUE",
|
|
81
|
+
* // volumeSize: Number("int"),
|
|
82
|
+
* // volumeBaselineIOPS: Number("int"),
|
|
83
|
+
* // volumeBurstIOPS: Number("int"),
|
|
84
|
+
* // volumeBaselineThroughput: Number("int"),
|
|
85
|
+
* // volumeBurstThroughput: Number("int"),
|
|
86
|
+
* // rootVolume: true || false,
|
|
87
|
+
* // },
|
|
88
|
+
* // performanceRisk: Number("double"),
|
|
89
|
+
* // rank: Number("int"),
|
|
90
|
+
* // savingsOpportunity: { // SavingsOpportunity
|
|
91
|
+
* // savingsOpportunityPercentage: Number("double"),
|
|
92
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
93
|
+
* // currency: "USD" || "CNY",
|
|
94
|
+
* // value: Number("double"),
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
100
|
+
* // currentPerformanceRisk: "VeryLow" || "Low" || "Medium" || "High",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // errors: [ // GetRecommendationErrors
|
|
104
|
+
* // { // GetRecommendationError
|
|
105
|
+
* // identifier: "STRING_VALUE",
|
|
106
|
+
* // code: "STRING_VALUE",
|
|
107
|
+
* // message: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // };
|
|
111
|
+
*
|
|
53
112
|
* ```
|
|
54
113
|
*
|
|
55
114
|
* @param GetEBSVolumeRecommendationsCommandInput - {@link GetEBSVolumeRecommendationsCommandInput}
|
|
@@ -83,6 +142,8 @@ export interface GetEBSVolumeRecommendationsCommandOutput extends GetEBSVolumeRe
|
|
|
83
142
|
* @throws {@link ThrottlingException} (client fault)
|
|
84
143
|
* <p>The request was denied due to request throttling.</p>
|
|
85
144
|
*
|
|
145
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
86
147
|
*
|
|
87
148
|
*/
|
|
88
149
|
export declare class GetEBSVolumeRecommendationsCommand extends $Command<GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -55,6 +55,84 @@ export interface GetEC2InstanceRecommendationsCommandOutput extends GetEC2Instan
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new GetEC2InstanceRecommendationsCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // GetEC2InstanceRecommendationsResponse
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // instanceRecommendations: [ // InstanceRecommendations
|
|
61
|
+
* // { // InstanceRecommendation
|
|
62
|
+
* // instanceArn: "STRING_VALUE",
|
|
63
|
+
* // accountId: "STRING_VALUE",
|
|
64
|
+
* // instanceName: "STRING_VALUE",
|
|
65
|
+
* // currentInstanceType: "STRING_VALUE",
|
|
66
|
+
* // finding: "Underprovisioned" || "Overprovisioned" || "Optimized" || "NotOptimized",
|
|
67
|
+
* // findingReasonCodes: [ // InstanceRecommendationFindingReasonCodes
|
|
68
|
+
* // "CPUOverprovisioned" || "CPUUnderprovisioned" || "MemoryOverprovisioned" || "MemoryUnderprovisioned" || "EBSThroughputOverprovisioned" || "EBSThroughputUnderprovisioned" || "EBSIOPSOverprovisioned" || "EBSIOPSUnderprovisioned" || "NetworkBandwidthOverprovisioned" || "NetworkBandwidthUnderprovisioned" || "NetworkPPSOverprovisioned" || "NetworkPPSUnderprovisioned" || "DiskIOPSOverprovisioned" || "DiskIOPSUnderprovisioned" || "DiskThroughputOverprovisioned" || "DiskThroughputUnderprovisioned",
|
|
69
|
+
* // ],
|
|
70
|
+
* // utilizationMetrics: [ // UtilizationMetrics
|
|
71
|
+
* // { // UtilizationMetric
|
|
72
|
+
* // name: "Cpu" || "Memory" || "EBS_READ_OPS_PER_SECOND" || "EBS_WRITE_OPS_PER_SECOND" || "EBS_READ_BYTES_PER_SECOND" || "EBS_WRITE_BYTES_PER_SECOND" || "DISK_READ_OPS_PER_SECOND" || "DISK_WRITE_OPS_PER_SECOND" || "DISK_READ_BYTES_PER_SECOND" || "DISK_WRITE_BYTES_PER_SECOND" || "NETWORK_IN_BYTES_PER_SECOND" || "NETWORK_OUT_BYTES_PER_SECOND" || "NETWORK_PACKETS_IN_PER_SECOND" || "NETWORK_PACKETS_OUT_PER_SECOND",
|
|
73
|
+
* // statistic: "Maximum" || "Average",
|
|
74
|
+
* // value: Number("double"),
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // lookBackPeriodInDays: Number("double"),
|
|
78
|
+
* // recommendationOptions: [ // RecommendationOptions
|
|
79
|
+
* // { // InstanceRecommendationOption
|
|
80
|
+
* // instanceType: "STRING_VALUE",
|
|
81
|
+
* // projectedUtilizationMetrics: [ // ProjectedUtilizationMetrics
|
|
82
|
+
* // {
|
|
83
|
+
* // name: "Cpu" || "Memory" || "EBS_READ_OPS_PER_SECOND" || "EBS_WRITE_OPS_PER_SECOND" || "EBS_READ_BYTES_PER_SECOND" || "EBS_WRITE_BYTES_PER_SECOND" || "DISK_READ_OPS_PER_SECOND" || "DISK_WRITE_OPS_PER_SECOND" || "DISK_READ_BYTES_PER_SECOND" || "DISK_WRITE_BYTES_PER_SECOND" || "NETWORK_IN_BYTES_PER_SECOND" || "NETWORK_OUT_BYTES_PER_SECOND" || "NETWORK_PACKETS_IN_PER_SECOND" || "NETWORK_PACKETS_OUT_PER_SECOND",
|
|
84
|
+
* // statistic: "Maximum" || "Average",
|
|
85
|
+
* // value: Number("double"),
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // platformDifferences: [ // PlatformDifferences
|
|
89
|
+
* // "Hypervisor" || "NetworkInterface" || "StorageInterface" || "InstanceStoreAvailability" || "VirtualizationType" || "Architecture",
|
|
90
|
+
* // ],
|
|
91
|
+
* // performanceRisk: Number("double"),
|
|
92
|
+
* // rank: Number("int"),
|
|
93
|
+
* // savingsOpportunity: { // SavingsOpportunity
|
|
94
|
+
* // savingsOpportunityPercentage: Number("double"),
|
|
95
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
96
|
+
* // currency: "USD" || "CNY",
|
|
97
|
+
* // value: Number("double"),
|
|
98
|
+
* // },
|
|
99
|
+
* // },
|
|
100
|
+
* // migrationEffort: "VeryLow" || "Low" || "Medium" || "High",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // recommendationSources: [ // RecommendationSources
|
|
104
|
+
* // { // RecommendationSource
|
|
105
|
+
* // recommendationSourceArn: "STRING_VALUE",
|
|
106
|
+
* // recommendationSourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "EcsService",
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
110
|
+
* // currentPerformanceRisk: "VeryLow" || "Low" || "Medium" || "High",
|
|
111
|
+
* // effectiveRecommendationPreferences: { // EffectiveRecommendationPreferences
|
|
112
|
+
* // cpuVendorArchitectures: [ // CpuVendorArchitectures
|
|
113
|
+
* // "AWS_ARM64" || "CURRENT",
|
|
114
|
+
* // ],
|
|
115
|
+
* // enhancedInfrastructureMetrics: "Active" || "Inactive",
|
|
116
|
+
* // inferredWorkloadTypes: "Active" || "Inactive",
|
|
117
|
+
* // externalMetricsPreference: { // ExternalMetricsPreference
|
|
118
|
+
* // source: "Datadog" || "Dynatrace" || "NewRelic" || "Instana",
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // inferredWorkloadTypes: [ // InferredWorkloadTypes
|
|
122
|
+
* // "AmazonEmr" || "ApacheCassandra" || "ApacheHadoop" || "Memcached" || "Nginx" || "PostgreSql" || "Redis" || "Kafka",
|
|
123
|
+
* // ],
|
|
124
|
+
* // instanceState: "pending" || "running" || "shutting-down" || "terminated" || "stopping" || "stopped",
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // errors: [ // GetRecommendationErrors
|
|
128
|
+
* // { // GetRecommendationError
|
|
129
|
+
* // identifier: "STRING_VALUE",
|
|
130
|
+
* // code: "STRING_VALUE",
|
|
131
|
+
* // message: "STRING_VALUE",
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // };
|
|
135
|
+
*
|
|
58
136
|
* ```
|
|
59
137
|
*
|
|
60
138
|
* @param GetEC2InstanceRecommendationsCommandInput - {@link GetEC2InstanceRecommendationsCommandInput}
|
|
@@ -88,6 +166,8 @@ export interface GetEC2InstanceRecommendationsCommandOutput extends GetEC2Instan
|
|
|
88
166
|
* @throws {@link ThrottlingException} (client fault)
|
|
89
167
|
* <p>The request was denied due to request throttling.</p>
|
|
90
168
|
*
|
|
169
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
170
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
91
171
|
*
|
|
92
172
|
*/
|
|
93
173
|
export declare class GetEC2InstanceRecommendationsCommand extends $Command<GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -47,6 +47,26 @@ export interface GetEC2RecommendationProjectedMetricsCommandOutput extends GetEC
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new GetEC2RecommendationProjectedMetricsCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // GetEC2RecommendationProjectedMetricsResponse
|
|
51
|
+
* // recommendedOptionProjectedMetrics: [ // RecommendedOptionProjectedMetrics
|
|
52
|
+
* // { // RecommendedOptionProjectedMetric
|
|
53
|
+
* // recommendedInstanceType: "STRING_VALUE",
|
|
54
|
+
* // rank: Number("int"),
|
|
55
|
+
* // projectedMetrics: [ // ProjectedMetrics
|
|
56
|
+
* // { // ProjectedMetric
|
|
57
|
+
* // name: "Cpu" || "Memory" || "EBS_READ_OPS_PER_SECOND" || "EBS_WRITE_OPS_PER_SECOND" || "EBS_READ_BYTES_PER_SECOND" || "EBS_WRITE_BYTES_PER_SECOND" || "DISK_READ_OPS_PER_SECOND" || "DISK_WRITE_OPS_PER_SECOND" || "DISK_READ_BYTES_PER_SECOND" || "DISK_WRITE_BYTES_PER_SECOND" || "NETWORK_IN_BYTES_PER_SECOND" || "NETWORK_OUT_BYTES_PER_SECOND" || "NETWORK_PACKETS_IN_PER_SECOND" || "NETWORK_PACKETS_OUT_PER_SECOND",
|
|
58
|
+
* // timestamps: [ // Timestamps
|
|
59
|
+
* // new Date("TIMESTAMP"),
|
|
60
|
+
* // ],
|
|
61
|
+
* // values: [ // MetricValues
|
|
62
|
+
* // Number("double"),
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
50
70
|
* ```
|
|
51
71
|
*
|
|
52
72
|
* @param GetEC2RecommendationProjectedMetricsCommandInput - {@link GetEC2RecommendationProjectedMetricsCommandInput}
|
|
@@ -80,6 +100,8 @@ export interface GetEC2RecommendationProjectedMetricsCommandOutput extends GetEC
|
|
|
80
100
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
101
|
* <p>The request was denied due to request throttling.</p>
|
|
82
102
|
*
|
|
103
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
83
105
|
*
|
|
84
106
|
*/
|
|
85
107
|
export declare class GetEC2RecommendationProjectedMetricsCommand extends $Command<GetEC2RecommendationProjectedMetricsCommandInput, GetEC2RecommendationProjectedMetricsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -37,6 +37,29 @@ export interface GetECSServiceRecommendationProjectedMetricsCommandOutput extend
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetECSServiceRecommendationProjectedMetricsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetECSServiceRecommendationProjectedMetricsResponse
|
|
41
|
+
* // recommendedOptionProjectedMetrics: [ // ECSServiceRecommendedOptionProjectedMetrics
|
|
42
|
+
* // { // ECSServiceRecommendedOptionProjectedMetric
|
|
43
|
+
* // recommendedCpuUnits: Number("int"),
|
|
44
|
+
* // recommendedMemorySize: Number("int"),
|
|
45
|
+
* // projectedMetrics: [ // ECSServiceProjectedMetrics
|
|
46
|
+
* // { // ECSServiceProjectedMetric
|
|
47
|
+
* // name: "Cpu" || "Memory",
|
|
48
|
+
* // timestamps: [ // Timestamps
|
|
49
|
+
* // new Date("TIMESTAMP"),
|
|
50
|
+
* // ],
|
|
51
|
+
* // upperBoundValues: [ // MetricValues
|
|
52
|
+
* // Number("double"),
|
|
53
|
+
* // ],
|
|
54
|
+
* // lowerBoundValues: [
|
|
55
|
+
* // Number("double"),
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
40
63
|
* ```
|
|
41
64
|
*
|
|
42
65
|
* @param GetECSServiceRecommendationProjectedMetricsCommandInput - {@link GetECSServiceRecommendationProjectedMetricsCommandInput}
|
|
@@ -70,6 +93,8 @@ export interface GetECSServiceRecommendationProjectedMetricsCommandOutput extend
|
|
|
70
93
|
* @throws {@link ThrottlingException} (client fault)
|
|
71
94
|
* <p>The request was denied due to request throttling.</p>
|
|
72
95
|
*
|
|
96
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
73
98
|
*
|
|
74
99
|
*/
|
|
75
100
|
export declare class GetECSServiceRecommendationProjectedMetricsCommand extends $Command<GetECSServiceRecommendationProjectedMetricsCommandInput, GetECSServiceRecommendationProjectedMetricsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -55,6 +55,85 @@ export interface GetECSServiceRecommendationsCommandOutput extends GetECSService
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new GetECSServiceRecommendationsCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // GetECSServiceRecommendationsResponse
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // ecsServiceRecommendations: [ // ECSServiceRecommendations
|
|
61
|
+
* // { // ECSServiceRecommendation
|
|
62
|
+
* // serviceArn: "STRING_VALUE",
|
|
63
|
+
* // accountId: "STRING_VALUE",
|
|
64
|
+
* // currentServiceConfiguration: { // ServiceConfiguration
|
|
65
|
+
* // memory: Number("int"),
|
|
66
|
+
* // cpu: Number("int"),
|
|
67
|
+
* // containerConfigurations: [ // ContainerConfigurations
|
|
68
|
+
* // { // ContainerConfiguration
|
|
69
|
+
* // containerName: "STRING_VALUE",
|
|
70
|
+
* // memorySizeConfiguration: { // MemorySizeConfiguration
|
|
71
|
+
* // memory: Number("int"),
|
|
72
|
+
* // memoryReservation: Number("int"),
|
|
73
|
+
* // },
|
|
74
|
+
* // cpu: Number("int"),
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // autoScalingConfiguration: "TargetTrackingScalingCpu" || "TargetTrackingScalingMemory",
|
|
78
|
+
* // taskDefinitionArn: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // utilizationMetrics: [ // ECSServiceUtilizationMetrics
|
|
81
|
+
* // { // ECSServiceUtilizationMetric
|
|
82
|
+
* // name: "Cpu" || "Memory",
|
|
83
|
+
* // statistic: "Maximum" || "Average",
|
|
84
|
+
* // value: Number("double"),
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // lookbackPeriodInDays: Number("double"),
|
|
88
|
+
* // launchType: "EC2" || "Fargate",
|
|
89
|
+
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
90
|
+
* // finding: "Optimized" || "Underprovisioned" || "Overprovisioned",
|
|
91
|
+
* // findingReasonCodes: [ // ECSServiceRecommendationFindingReasonCodes
|
|
92
|
+
* // "MemoryOverprovisioned" || "MemoryUnderprovisioned" || "CPUOverprovisioned" || "CPUUnderprovisioned",
|
|
93
|
+
* // ],
|
|
94
|
+
* // serviceRecommendationOptions: [ // ECSServiceRecommendationOptions
|
|
95
|
+
* // { // ECSServiceRecommendationOption
|
|
96
|
+
* // memory: Number("int"),
|
|
97
|
+
* // cpu: Number("int"),
|
|
98
|
+
* // savingsOpportunity: { // SavingsOpportunity
|
|
99
|
+
* // savingsOpportunityPercentage: Number("double"),
|
|
100
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
101
|
+
* // currency: "USD" || "CNY",
|
|
102
|
+
* // value: Number("double"),
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // projectedUtilizationMetrics: [ // ECSServiceProjectedUtilizationMetrics
|
|
106
|
+
* // { // ECSServiceProjectedUtilizationMetric
|
|
107
|
+
* // name: "Cpu" || "Memory",
|
|
108
|
+
* // statistic: "Maximum" || "Average",
|
|
109
|
+
* // lowerBoundValue: Number("double"),
|
|
110
|
+
* // upperBoundValue: Number("double"),
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // containerRecommendations: [ // ContainerRecommendations
|
|
114
|
+
* // { // ContainerRecommendation
|
|
115
|
+
* // containerName: "STRING_VALUE",
|
|
116
|
+
* // memorySizeConfiguration: {
|
|
117
|
+
* // memory: Number("int"),
|
|
118
|
+
* // memoryReservation: Number("int"),
|
|
119
|
+
* // },
|
|
120
|
+
* // cpu: Number("int"),
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // currentPerformanceRisk: "VeryLow" || "Low" || "Medium" || "High",
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // errors: [ // GetRecommendationErrors
|
|
129
|
+
* // { // GetRecommendationError
|
|
130
|
+
* // identifier: "STRING_VALUE",
|
|
131
|
+
* // code: "STRING_VALUE",
|
|
132
|
+
* // message: "STRING_VALUE",
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // };
|
|
136
|
+
*
|
|
58
137
|
* ```
|
|
59
138
|
*
|
|
60
139
|
* @param GetECSServiceRecommendationsCommandInput - {@link GetECSServiceRecommendationsCommandInput}
|
|
@@ -88,6 +167,8 @@ export interface GetECSServiceRecommendationsCommandOutput extends GetECSService
|
|
|
88
167
|
* @throws {@link ThrottlingException} (client fault)
|
|
89
168
|
* <p>The request was denied due to request throttling.</p>
|
|
90
169
|
*
|
|
170
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
171
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
91
172
|
*
|
|
92
173
|
*/
|
|
93
174
|
export declare class GetECSServiceRecommendationsCommand extends $Command<GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -36,6 +36,13 @@ export interface GetEffectiveRecommendationPreferencesCommandOutput extends GetE
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new GetEffectiveRecommendationPreferencesCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // GetEffectiveRecommendationPreferencesResponse
|
|
40
|
+
* // enhancedInfrastructureMetrics: "Active" || "Inactive",
|
|
41
|
+
* // externalMetricsPreference: { // ExternalMetricsPreference
|
|
42
|
+
* // source: "Datadog" || "Dynatrace" || "NewRelic" || "Instana",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
39
46
|
* ```
|
|
40
47
|
*
|
|
41
48
|
* @param GetEffectiveRecommendationPreferencesCommandInput - {@link GetEffectiveRecommendationPreferencesCommandInput}
|
|
@@ -69,6 +76,8 @@ export interface GetEffectiveRecommendationPreferencesCommandOutput extends GetE
|
|
|
69
76
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
77
|
* <p>The request was denied due to request throttling.</p>
|
|
71
78
|
*
|
|
79
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
72
81
|
*
|
|
73
82
|
*/
|
|
74
83
|
export declare class GetEffectiveRecommendationPreferencesCommand extends $Command<GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -33,6 +33,14 @@ export interface GetEnrollmentStatusCommandOutput extends GetEnrollmentStatusRes
|
|
|
33
33
|
* const input = {};
|
|
34
34
|
* const command = new GetEnrollmentStatusCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetEnrollmentStatusResponse
|
|
37
|
+
* // status: "Active" || "Inactive" || "Pending" || "Failed",
|
|
38
|
+
* // statusReason: "STRING_VALUE",
|
|
39
|
+
* // memberAccountsEnrolled: true || false,
|
|
40
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
41
|
+
* // numberOfMemberAccountsOptedIn: Number("int"),
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
36
44
|
* ```
|
|
37
45
|
*
|
|
38
46
|
* @param GetEnrollmentStatusCommandInput - {@link GetEnrollmentStatusCommandInput}
|
|
@@ -60,6 +68,8 @@ export interface GetEnrollmentStatusCommandOutput extends GetEnrollmentStatusRes
|
|
|
60
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
61
69
|
* <p>The request was denied due to request throttling.</p>
|
|
62
70
|
*
|
|
71
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
63
73
|
*
|
|
64
74
|
*/
|
|
65
75
|
export declare class GetEnrollmentStatusCommand extends $Command<GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -42,6 +42,18 @@ export interface GetEnrollmentStatusesForOrganizationCommandOutput extends GetEn
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new GetEnrollmentStatusesForOrganizationCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // GetEnrollmentStatusesForOrganizationResponse
|
|
46
|
+
* // accountEnrollmentStatuses: [ // AccountEnrollmentStatuses
|
|
47
|
+
* // { // AccountEnrollmentStatus
|
|
48
|
+
* // accountId: "STRING_VALUE",
|
|
49
|
+
* // status: "Active" || "Inactive" || "Pending" || "Failed",
|
|
50
|
+
* // statusReason: "STRING_VALUE",
|
|
51
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
45
57
|
* ```
|
|
46
58
|
*
|
|
47
59
|
* @param GetEnrollmentStatusesForOrganizationCommandInput - {@link GetEnrollmentStatusesForOrganizationCommandInput}
|
|
@@ -69,6 +81,8 @@ export interface GetEnrollmentStatusesForOrganizationCommandOutput extends GetEn
|
|
|
69
81
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
82
|
* <p>The request was denied due to request throttling.</p>
|
|
71
83
|
*
|
|
84
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
72
86
|
*
|
|
73
87
|
*/
|
|
74
88
|
export declare class GetEnrollmentStatusesForOrganizationCommand extends $Command<GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -50,6 +50,53 @@ export interface GetLambdaFunctionRecommendationsCommandOutput extends GetLambda
|
|
|
50
50
|
* };
|
|
51
51
|
* const command = new GetLambdaFunctionRecommendationsCommand(input);
|
|
52
52
|
* const response = await client.send(command);
|
|
53
|
+
* // { // GetLambdaFunctionRecommendationsResponse
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // lambdaFunctionRecommendations: [ // LambdaFunctionRecommendations
|
|
56
|
+
* // { // LambdaFunctionRecommendation
|
|
57
|
+
* // functionArn: "STRING_VALUE",
|
|
58
|
+
* // functionVersion: "STRING_VALUE",
|
|
59
|
+
* // accountId: "STRING_VALUE",
|
|
60
|
+
* // currentMemorySize: Number("int"),
|
|
61
|
+
* // numberOfInvocations: Number("long"),
|
|
62
|
+
* // utilizationMetrics: [ // LambdaFunctionUtilizationMetrics
|
|
63
|
+
* // { // LambdaFunctionUtilizationMetric
|
|
64
|
+
* // name: "Duration" || "Memory",
|
|
65
|
+
* // statistic: "Maximum" || "Average",
|
|
66
|
+
* // value: Number("double"),
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // lookbackPeriodInDays: Number("double"),
|
|
70
|
+
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
71
|
+
* // finding: "Optimized" || "NotOptimized" || "Unavailable",
|
|
72
|
+
* // findingReasonCodes: [ // LambdaFunctionRecommendationFindingReasonCodes
|
|
73
|
+
* // "MemoryOverprovisioned" || "MemoryUnderprovisioned" || "InsufficientData" || "Inconclusive",
|
|
74
|
+
* // ],
|
|
75
|
+
* // memorySizeRecommendationOptions: [ // LambdaFunctionMemoryRecommendationOptions
|
|
76
|
+
* // { // LambdaFunctionMemoryRecommendationOption
|
|
77
|
+
* // rank: Number("int"),
|
|
78
|
+
* // memorySize: Number("int"),
|
|
79
|
+
* // projectedUtilizationMetrics: [ // LambdaFunctionMemoryProjectedMetrics
|
|
80
|
+
* // { // LambdaFunctionMemoryProjectedMetric
|
|
81
|
+
* // name: "Duration",
|
|
82
|
+
* // statistic: "LowerBound" || "UpperBound" || "Expected",
|
|
83
|
+
* // value: Number("double"),
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // savingsOpportunity: { // SavingsOpportunity
|
|
87
|
+
* // savingsOpportunityPercentage: Number("double"),
|
|
88
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
89
|
+
* // currency: "USD" || "CNY",
|
|
90
|
+
* // value: Number("double"),
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // currentPerformanceRisk: "VeryLow" || "Low" || "Medium" || "High",
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // };
|
|
99
|
+
*
|
|
53
100
|
* ```
|
|
54
101
|
*
|
|
55
102
|
* @param GetLambdaFunctionRecommendationsCommandInput - {@link GetLambdaFunctionRecommendationsCommandInput}
|
|
@@ -83,6 +130,8 @@ export interface GetLambdaFunctionRecommendationsCommandOutput extends GetLambda
|
|
|
83
130
|
* @throws {@link ThrottlingException} (client fault)
|
|
84
131
|
* <p>The request was denied due to request throttling.</p>
|
|
85
132
|
*
|
|
133
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
86
135
|
*
|
|
87
136
|
*/
|
|
88
137
|
export declare class GetLambdaFunctionRecommendationsCommand extends $Command<GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -44,6 +44,24 @@ export interface GetRecommendationPreferencesCommandOutput extends GetRecommenda
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new GetRecommendationPreferencesCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // GetRecommendationPreferencesResponse
|
|
48
|
+
* // nextToken: "STRING_VALUE",
|
|
49
|
+
* // recommendationPreferencesDetails: [ // RecommendationPreferencesDetails
|
|
50
|
+
* // { // RecommendationPreferencesDetail
|
|
51
|
+
* // scope: { // Scope
|
|
52
|
+
* // name: "Organization" || "AccountId" || "ResourceArn",
|
|
53
|
+
* // value: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService",
|
|
56
|
+
* // enhancedInfrastructureMetrics: "Active" || "Inactive",
|
|
57
|
+
* // inferredWorkloadTypes: "Active" || "Inactive",
|
|
58
|
+
* // externalMetricsPreference: { // ExternalMetricsPreference
|
|
59
|
+
* // source: "Datadog" || "Dynatrace" || "NewRelic" || "Instana",
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
47
65
|
* ```
|
|
48
66
|
*
|
|
49
67
|
* @param GetRecommendationPreferencesCommandInput - {@link GetRecommendationPreferencesCommandInput}
|
|
@@ -77,6 +95,8 @@ export interface GetRecommendationPreferencesCommandOutput extends GetRecommenda
|
|
|
77
95
|
* @throws {@link ThrottlingException} (client fault)
|
|
78
96
|
* <p>The request was denied due to request throttling.</p>
|
|
79
97
|
*
|
|
98
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
80
100
|
*
|
|
81
101
|
*/
|
|
82
102
|
export declare class GetRecommendationPreferencesCommand extends $Command<GetRecommendationPreferencesCommandInput, GetRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -59,6 +59,41 @@ export interface GetRecommendationSummariesCommandOutput extends GetRecommendati
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new GetRecommendationSummariesCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // GetRecommendationSummariesResponse
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // recommendationSummaries: [ // RecommendationSummaries
|
|
65
|
+
* // { // RecommendationSummary
|
|
66
|
+
* // summaries: [ // Summaries
|
|
67
|
+
* // { // Summary
|
|
68
|
+
* // name: "Underprovisioned" || "Overprovisioned" || "Optimized" || "NotOptimized",
|
|
69
|
+
* // value: Number("double"),
|
|
70
|
+
* // reasonCodeSummaries: [ // ReasonCodeSummaries
|
|
71
|
+
* // { // ReasonCodeSummary
|
|
72
|
+
* // name: "MemoryOverprovisioned" || "MemoryUnderprovisioned",
|
|
73
|
+
* // value: Number("double"),
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // recommendationResourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "EcsService",
|
|
79
|
+
* // accountId: "STRING_VALUE",
|
|
80
|
+
* // savingsOpportunity: { // SavingsOpportunity
|
|
81
|
+
* // savingsOpportunityPercentage: Number("double"),
|
|
82
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
83
|
+
* // currency: "USD" || "CNY",
|
|
84
|
+
* // value: Number("double"),
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // currentPerformanceRiskRatings: { // CurrentPerformanceRiskRatings
|
|
88
|
+
* // high: Number("long"),
|
|
89
|
+
* // medium: Number("long"),
|
|
90
|
+
* // low: Number("long"),
|
|
91
|
+
* // veryLow: Number("long"),
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
62
97
|
* ```
|
|
63
98
|
*
|
|
64
99
|
* @param GetRecommendationSummariesCommandInput - {@link GetRecommendationSummariesCommandInput}
|
|
@@ -89,6 +124,8 @@ export interface GetRecommendationSummariesCommandOutput extends GetRecommendati
|
|
|
89
124
|
* @throws {@link ThrottlingException} (client fault)
|
|
90
125
|
* <p>The request was denied due to request throttling.</p>
|
|
91
126
|
*
|
|
127
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
128
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
92
129
|
*
|
|
93
130
|
*/
|
|
94
131
|
export declare class GetRecommendationSummariesCommand extends $Command<GetRecommendationSummariesCommandInput, GetRecommendationSummariesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -44,6 +44,8 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new PutRecommendationPreferencesCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
47
49
|
* ```
|
|
48
50
|
*
|
|
49
51
|
* @param PutRecommendationPreferencesCommandInput - {@link PutRecommendationPreferencesCommandInput}
|
|
@@ -77,6 +79,8 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
77
79
|
* @throws {@link ThrottlingException} (client fault)
|
|
78
80
|
* <p>The request was denied due to request throttling.</p>
|
|
79
81
|
*
|
|
82
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
80
84
|
*
|
|
81
85
|
*/
|
|
82
86
|
export declare class PutRecommendationPreferencesCommand extends $Command<PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
@@ -39,6 +39,11 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateEnrollmentStatusCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateEnrollmentStatusResponse
|
|
43
|
+
* // status: "Active" || "Inactive" || "Pending" || "Failed",
|
|
44
|
+
* // statusReason: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
44
49
|
* @param UpdateEnrollmentStatusCommandInput - {@link UpdateEnrollmentStatusCommandInput}
|
|
@@ -66,6 +71,8 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
66
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
72
|
* <p>The request was denied due to request throttling.</p>
|
|
68
73
|
*
|
|
74
|
+
* @throws {@link ComputeOptimizerServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
|
|
69
76
|
*
|
|
70
77
|
*/
|
|
71
78
|
export declare class UpdateEnrollmentStatusCommand extends $Command<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|