@aws-sdk/client-compute-optimizer 3.51.0 → 3.54.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ComputeOptimizerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +121 -3
- package/dist-cjs/protocols/Aws_json1_0.js +298 -1077
- package/dist-es/index.js +1 -0
- package/dist-es/models/ComputeOptimizerServiceException.js +12 -0
- package/dist-es/models/models_0.js +110 -1
- package/dist-es/protocols/Aws_json1_0.js +580 -1132
- package/dist-types/ComputeOptimizerClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ComputeOptimizerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +65 -37
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ComputeOptimizerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -37
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComputeOptimizerServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./ComputeOptimizer"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ComputeOptimizerClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var ComputeOptimizerServiceException_1 = require("./models/ComputeOptimizerServiceException");
|
|
10
|
+
Object.defineProperty(exports, "ComputeOptimizerServiceException", { enumerable: true, get: function () { return ComputeOptimizerServiceException_1.ComputeOptimizerServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComputeOptimizerServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class ComputeOptimizerServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, ComputeOptimizerServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ComputeOptimizerServiceException = ComputeOptimizerServiceException;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateEnrollmentStatusResponse = exports.UpdateEnrollmentStatusRequest = exports.PutRecommendationPreferencesResponse = exports.PutRecommendationPreferencesRequest = exports.GetRecommendationSummariesResponse = exports.RecommendationSummary = exports.Summary = exports.ReasonCodeSummary = exports.FindingReasonCode = exports.CurrentPerformanceRiskRatings = exports.GetRecommendationSummariesRequest = void 0;
|
|
3
|
+
exports.LimitExceededException = exports.ExportAutoScalingGroupRecommendationsResponse = exports.ExportAutoScalingGroupRecommendationsRequest = exports.S3DestinationConfig = exports.RecommendationPreferences = exports.Filter = exports.FilterName = exports.FileFormat = exports.ExportableAutoScalingGroupField = exports.DescribeRecommendationExportJobsResponse = exports.RecommendationExportJob = exports.JobStatus = exports.ExportDestination = exports.S3Destination = exports.DescribeRecommendationExportJobsRequest = exports.JobFilter = exports.JobFilterName = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.OptInRequiredException = exports.MissingAuthenticationToken = exports.InvalidParameterValueException = exports.InternalServerException = exports.DeleteRecommendationPreferencesResponse = exports.DeleteRecommendationPreferencesRequest = exports.Scope = exports.ScopeName = exports.ResourceType = exports.RecommendationPreferenceName = exports.AutoScalingGroupRecommendation = exports.AutoScalingGroupRecommendationOption = exports.SavingsOpportunity = exports.EstimatedMonthlySavings = exports.Currency = exports.UtilizationMetric = exports.MetricStatistic = exports.MetricName = exports.MigrationEffort = exports.InferredWorkloadType = exports.Finding = exports.EffectiveRecommendationPreferences = exports.InferredWorkloadTypesPreference = exports.EnhancedInfrastructureMetrics = exports.CpuVendorArchitecture = exports.CurrentPerformanceRisk = exports.AutoScalingGroupConfiguration = exports.AccountEnrollmentStatus = exports.Status = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.LambdaFunctionMemoryProjectedMetric = exports.LambdaFunctionMemoryMetricStatistic = exports.LambdaFunctionMemoryMetricName = exports.LambdaFunctionRecommendationFindingReasonCode = exports.LambdaFunctionRecommendationFinding = exports.GetLambdaFunctionRecommendationsRequest = exports.GetEnrollmentStatusesForOrganizationResponse = exports.GetEnrollmentStatusesForOrganizationRequest = exports.EnrollmentFilter = exports.EnrollmentFilterName = exports.GetEnrollmentStatusResponse = exports.GetEnrollmentStatusRequest = exports.GetEffectiveRecommendationPreferencesResponse = exports.GetEffectiveRecommendationPreferencesRequest = exports.GetEC2RecommendationProjectedMetricsResponse = exports.RecommendedOptionProjectedMetric = exports.ProjectedMetric = exports.GetEC2RecommendationProjectedMetricsRequest = exports.GetEC2InstanceRecommendationsResponse = exports.InstanceRecommendation = exports.RecommendationSource = exports.RecommendationSourceType = exports.InstanceRecommendationOption = exports.PlatformDifference = exports.InstanceRecommendationFindingReasonCode = exports.GetEC2InstanceRecommendationsRequest = exports.GetEBSVolumeRecommendationsResponse = exports.VolumeRecommendation = exports.VolumeRecommendationOption = exports.EBSUtilizationMetric = exports.EBSMetricName = exports.EBSFinding = exports.VolumeConfiguration = exports.GetEBSVolumeRecommendationsRequest = exports.GetAutoScalingGroupRecommendationsResponse = exports.GetRecommendationError = exports.GetAutoScalingGroupRecommendationsRequest = exports.ExportLambdaFunctionRecommendationsResponse = exports.ExportLambdaFunctionRecommendationsRequest = exports.LambdaFunctionRecommendationFilter = exports.LambdaFunctionRecommendationFilterName = exports.ExportableLambdaFunctionField = exports.ExportEC2InstanceRecommendationsResponse = exports.ExportEC2InstanceRecommendationsRequest = exports.ExportableInstanceField = exports.ExportEBSVolumeRecommendationsResponse = exports.ExportEBSVolumeRecommendationsRequest = exports.EBSFilter = exports.EBSFilterName = exports.ExportableVolumeField = void 0;
|
|
5
|
+
exports.UpdateEnrollmentStatusResponse = exports.UpdateEnrollmentStatusRequest = exports.PutRecommendationPreferencesResponse = exports.PutRecommendationPreferencesRequest = exports.GetRecommendationSummariesResponse = exports.RecommendationSummary = exports.Summary = exports.ReasonCodeSummary = exports.FindingReasonCode = exports.CurrentPerformanceRiskRatings = exports.GetRecommendationSummariesRequest = exports.GetRecommendationPreferencesResponse = exports.RecommendationPreferencesDetail = exports.GetRecommendationPreferencesRequest = exports.GetLambdaFunctionRecommendationsResponse = exports.LambdaFunctionRecommendation = exports.LambdaFunctionUtilizationMetric = exports.LambdaFunctionMetricStatistic = exports.LambdaFunctionMetricName = exports.LambdaFunctionMemoryRecommendationOption = void 0;
|
|
6
|
+
const ComputeOptimizerServiceException_1 = require("./ComputeOptimizerServiceException");
|
|
7
|
+
class AccessDeniedException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
20
|
var Status;
|
|
7
21
|
(function (Status) {
|
|
8
22
|
Status["ACTIVE"] = "Active";
|
|
@@ -168,6 +182,97 @@ var DeleteRecommendationPreferencesResponse;
|
|
|
168
182
|
...obj,
|
|
169
183
|
});
|
|
170
184
|
})(DeleteRecommendationPreferencesResponse = exports.DeleteRecommendationPreferencesResponse || (exports.DeleteRecommendationPreferencesResponse = {}));
|
|
185
|
+
class InternalServerException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "InternalServerException",
|
|
189
|
+
$fault: "server",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
this.name = "InternalServerException";
|
|
193
|
+
this.$fault = "server";
|
|
194
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.InternalServerException = InternalServerException;
|
|
198
|
+
class InvalidParameterValueException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "InvalidParameterValueException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
this.name = "InvalidParameterValueException";
|
|
206
|
+
this.$fault = "client";
|
|
207
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
211
|
+
class MissingAuthenticationToken extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "MissingAuthenticationToken",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
this.name = "MissingAuthenticationToken";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, MissingAuthenticationToken.prototype);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
exports.MissingAuthenticationToken = MissingAuthenticationToken;
|
|
224
|
+
class OptInRequiredException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "OptInRequiredException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
this.name = "OptInRequiredException";
|
|
232
|
+
this.$fault = "client";
|
|
233
|
+
Object.setPrototypeOf(this, OptInRequiredException.prototype);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.OptInRequiredException = OptInRequiredException;
|
|
237
|
+
class ResourceNotFoundException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
238
|
+
constructor(opts) {
|
|
239
|
+
super({
|
|
240
|
+
name: "ResourceNotFoundException",
|
|
241
|
+
$fault: "client",
|
|
242
|
+
...opts,
|
|
243
|
+
});
|
|
244
|
+
this.name = "ResourceNotFoundException";
|
|
245
|
+
this.$fault = "client";
|
|
246
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
250
|
+
class ServiceUnavailableException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
251
|
+
constructor(opts) {
|
|
252
|
+
super({
|
|
253
|
+
name: "ServiceUnavailableException",
|
|
254
|
+
$fault: "server",
|
|
255
|
+
...opts,
|
|
256
|
+
});
|
|
257
|
+
this.name = "ServiceUnavailableException";
|
|
258
|
+
this.$fault = "server";
|
|
259
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
263
|
+
class ThrottlingException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
264
|
+
constructor(opts) {
|
|
265
|
+
super({
|
|
266
|
+
name: "ThrottlingException",
|
|
267
|
+
$fault: "client",
|
|
268
|
+
...opts,
|
|
269
|
+
});
|
|
270
|
+
this.name = "ThrottlingException";
|
|
271
|
+
this.$fault = "client";
|
|
272
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
exports.ThrottlingException = ThrottlingException;
|
|
171
276
|
var JobFilterName;
|
|
172
277
|
(function (JobFilterName) {
|
|
173
278
|
JobFilterName["JOB_STATUS"] = "JobStatus";
|
|
@@ -313,6 +418,19 @@ var ExportAutoScalingGroupRecommendationsResponse;
|
|
|
313
418
|
...obj,
|
|
314
419
|
});
|
|
315
420
|
})(ExportAutoScalingGroupRecommendationsResponse = exports.ExportAutoScalingGroupRecommendationsResponse || (exports.ExportAutoScalingGroupRecommendationsResponse = {}));
|
|
421
|
+
class LimitExceededException extends ComputeOptimizerServiceException_1.ComputeOptimizerServiceException {
|
|
422
|
+
constructor(opts) {
|
|
423
|
+
super({
|
|
424
|
+
name: "LimitExceededException",
|
|
425
|
+
$fault: "client",
|
|
426
|
+
...opts,
|
|
427
|
+
});
|
|
428
|
+
this.name = "LimitExceededException";
|
|
429
|
+
this.$fault = "client";
|
|
430
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
exports.LimitExceededException = LimitExceededException;
|
|
316
434
|
var ExportableVolumeField;
|
|
317
435
|
(function (ExportableVolumeField) {
|
|
318
436
|
ExportableVolumeField["ACCOUNT_ID"] = "AccountId";
|