@aws-sdk/client-compute-optimizer 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/ComputeOptimizerClient.js +13 -13
- package/dist/cjs/ComputeOptimizerClient.js.map +1 -1
- package/dist/cjs/commands/DescribeRecommendationExportJobsCommand.js +3 -3
- package/dist/cjs/commands/DescribeRecommendationExportJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportEBSVolumeRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportEC2InstanceRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/ExportLambdaFunctionRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/ExportLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetAutoScalingGroupRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEBSVolumeRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEC2InstanceRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js +3 -3
- package/dist/cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEnrollmentStatusCommand.js +3 -3
- package/dist/cjs/commands/GetEnrollmentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js +3 -3
- package/dist/cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetLambdaFunctionRecommendationsCommand.js +3 -3
- package/dist/cjs/commands/GetLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetRecommendationSummariesCommand.js +3 -3
- package/dist/cjs/commands/GetRecommendationSummariesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateEnrollmentStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateEnrollmentStatusCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +17 -17
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_0.js +116 -116
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/ComputeOptimizer.js +1 -14
- package/dist/es/ComputeOptimizer.js.map +1 -1
- package/dist/es/ComputeOptimizerClient.js +1 -19
- package/dist/es/ComputeOptimizerClient.js.map +1 -1
- package/dist/es/commands/DescribeRecommendationExportJobsCommand.js +2 -31
- package/dist/es/commands/DescribeRecommendationExportJobsCommand.js.map +1 -1
- package/dist/es/commands/ExportAutoScalingGroupRecommendationsCommand.js +2 -34
- package/dist/es/commands/ExportAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/ExportEBSVolumeRecommendationsCommand.js +2 -35
- package/dist/es/commands/ExportEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/ExportEC2InstanceRecommendationsCommand.js +2 -35
- package/dist/es/commands/ExportEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/ExportLambdaFunctionRecommendationsCommand.js +2 -35
- package/dist/es/commands/ExportLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetAutoScalingGroupRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetAutoScalingGroupRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetEBSVolumeRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetEBSVolumeRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetEC2InstanceRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetEC2InstanceRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetEC2RecommendationProjectedMetricsCommand.js +2 -35
- package/dist/es/commands/GetEC2RecommendationProjectedMetricsCommand.js.map +1 -1
- package/dist/es/commands/GetEnrollmentStatusCommand.js +2 -32
- package/dist/es/commands/GetEnrollmentStatusCommand.js.map +1 -1
- package/dist/es/commands/GetEnrollmentStatusesForOrganizationCommand.js +2 -30
- package/dist/es/commands/GetEnrollmentStatusesForOrganizationCommand.js.map +1 -1
- package/dist/es/commands/GetLambdaFunctionRecommendationsCommand.js +2 -32
- package/dist/es/commands/GetLambdaFunctionRecommendationsCommand.js.map +1 -1
- package/dist/es/commands/GetRecommendationSummariesCommand.js +2 -49
- package/dist/es/commands/GetRecommendationSummariesCommand.js.map +1 -1
- package/dist/es/commands/UpdateEnrollmentStatusCommand.js +2 -37
- package/dist/es/commands/UpdateEnrollmentStatusCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -207
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/protocols/Aws_json1_0.js +539 -544
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +3 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +3 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_json1_0.ts +12 -9
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComputeOptimizer.js","sourceRoot":"","sources":["../../ComputeOptimizer.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,uCAAuC,GAGxC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,4CAA4C,GAG7C,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,qCAAqC,GAGtC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,uCAAuC,GAGxC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,0CAA0C,GAG3C,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yCAAyC,GAG1C,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,kCAAkC,GAGnC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,oCAAoC,GAGrC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,2CAA2C,GAG5C,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,0BAA0B,GAG3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO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;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,iCAA+B,OAAO,WAAa,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AAziBD,CAAsC,sBAAsB,GAyiB3D"}
|
|
@@ -8,20 +8,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
* <p>Compute Optimizer is a service that analyzes the configuration and utilization
|
|
13
|
-
* metrics of your Amazon Web Services compute resources, such as Amazon EC2
|
|
14
|
-
* instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates
|
|
15
|
-
* optimization recommendations to reduce the cost and improve the performance of your
|
|
16
|
-
* workloads. Compute Optimizer also provides recent utilization metric data, in addition
|
|
17
|
-
* to projected utilization metric data for the recommendations, which you can use to
|
|
18
|
-
* evaluate which recommendation provides the best price-performance trade-off. The
|
|
19
|
-
* analysis of your usage patterns can help you decide when to move or resize your running
|
|
20
|
-
* resources, and still meet your performance and capacity requirements. For more
|
|
21
|
-
* information about Compute Optimizer, including the required permissions to use the
|
|
22
|
-
* service, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/">Compute Optimizer User Guide</a>.</p>
|
|
23
|
-
*/
|
|
24
|
-
var ComputeOptimizerClient = /** @class */ (function (_super) {
|
|
11
|
+
var ComputeOptimizerClient = (function (_super) {
|
|
25
12
|
__extends(ComputeOptimizerClient, _super);
|
|
26
13
|
function ComputeOptimizerClient(configuration) {
|
|
27
14
|
var _this = this;
|
|
@@ -42,11 +29,6 @@ var ComputeOptimizerClient = /** @class */ (function (_super) {
|
|
|
42
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
43
30
|
return _this;
|
|
44
31
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
47
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
48
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
49
|
-
*/
|
|
50
32
|
ComputeOptimizerClient.prototype.destroy = function () {
|
|
51
33
|
_super.prototype.destroy.call(this);
|
|
52
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComputeOptimizerClient.js","sourceRoot":"","sources":["../../ComputeOptimizerClient.ts"],"names":[],"mappings":";AAwDA,OAAO,EAAE,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAKL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAGL,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAyC,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACtH,OAAO,EAGL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,MAAM,IAAI,QAAQ,GAGnB,MAAM,wBAA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eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,sBAAsB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mBAAmB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,eAAe,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxD,KAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kBAAkB,CAAC,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC;;IAC5D,CAAC;IAOD,wCAAO,GAAP;QACE,iBAAM,OAAO,WAAE,CAAC;IAClB,CAAC;IACH,6BAAC;AAAD,CAAC,AArCD,CAA4C,QAAQ,GAqCnD"}
|
|
@@ -3,42 +3,13 @@ import { DescribeRecommendationExportJobsRequest, DescribeRecommendationExportJo
|
|
|
3
3
|
import { deserializeAws_json1_0DescribeRecommendationExportJobsCommand, serializeAws_json1_0DescribeRecommendationExportJobsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Describes recommendation export jobs created in the last seven days.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Use the <a>ExportAutoScalingGroupRecommendations</a> or <a>ExportEC2InstanceRecommendations</a> actions to request an export of your
|
|
10
|
-
* recommendations. Then use the <a>DescribeRecommendationExportJobs</a> action
|
|
11
|
-
* to view your export jobs.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ComputeOptimizerClient, DescribeRecommendationExportJobsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
16
|
-
* // const { ComputeOptimizerClient, DescribeRecommendationExportJobsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
17
|
-
* const client = new ComputeOptimizerClient(config);
|
|
18
|
-
* const command = new DescribeRecommendationExportJobsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeRecommendationExportJobsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeRecommendationExportJobsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var DescribeRecommendationExportJobsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeRecommendationExportJobsCommand = (function (_super) {
|
|
28
7
|
__extends(DescribeRecommendationExportJobsCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function DescribeRecommendationExportJobsCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
DescribeRecommendationExportJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeRecommendationExportJobsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeRecommendationExportJobsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uCAAuC,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DescribeRecommendationExportJobsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeRecommendationExportJobsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uCAAuC,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAqC7D;IAA6D,2DAI5D;IAIC,iDAAqB,KAAmD;QAAxE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8C;;IAIxE,CAAC;IAKD,mEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAmD,EACnD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,wBAAwB,CAAC;QAC5C,IAAM,WAAW,GAAG,yCAAyC,CAAC;QAC9D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uCAAuC,CAAC,kBAAkB;YACnF,wBAAwB,EAAE,wCAAwC,CAAC,kBAAkB;SACtF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2DAAS,GAAjB,UACE,KAAmD,EACnD,OAAuB;QAEvB,OAAO,2DAA2D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAEO,6DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,6DAA6D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAIH,8CAAC;AAAD,CAAC,AA5DD,CAA6D,QAAQ,GA4DpE"}
|
|
@@ -3,45 +3,13 @@ import { ExportAutoScalingGroupRecommendationsRequest, ExportAutoScalingGroupRec
|
|
|
3
3
|
import { deserializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand, serializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Exports optimization recommendations for Auto Scaling groups.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
|
|
10
|
-
* in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
|
|
11
|
-
* Recommendations</a> in the <i>Compute Optimizer User
|
|
12
|
-
* Guide</i>.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ComputeOptimizerClient, ExportAutoScalingGroupRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
19
|
-
* // const { ComputeOptimizerClient, ExportAutoScalingGroupRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
20
|
-
* const client = new ComputeOptimizerClient(config);
|
|
21
|
-
* const command = new ExportAutoScalingGroupRecommendationsCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ExportAutoScalingGroupRecommendationsCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ExportAutoScalingGroupRecommendationsCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var ExportAutoScalingGroupRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ExportAutoScalingGroupRecommendationsCommand = (function (_super) {
|
|
31
7
|
__extends(ExportAutoScalingGroupRecommendationsCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function ExportAutoScalingGroupRecommendationsCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
ExportAutoScalingGroupRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportAutoScalingGroupRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportAutoScalingGroupRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kEAAkE,EAClE,gEAAgE,GACjE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExportAutoScalingGroupRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportAutoScalingGroupRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kEAAkE,EAClE,gEAAgE,GACjE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyC7D;IAAkE,gEAIjE;IAIC,sDAAqB,KAAwD;QAA7E,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmD;;IAI7E,CAAC;IAKD,wEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAmD,EACnD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,wBAAwB,CAAC;QAC5C,IAAM,WAAW,GAAG,8CAA8C,CAAC;QACnE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,4CAA4C,CAAC,kBAAkB;YACxF,wBAAwB,EAAE,6CAA6C,CAAC,kBAAkB;SAC3F,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gEAAS,GAAjB,UACE,KAAwD,EACxD,OAAuB;QAEvB,OAAO,gEAAgE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAEO,kEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,kEAAkE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAIH,mDAAC;AAAD,CAAC,AA5DD,CAAkE,QAAQ,GA4DzE"}
|
|
@@ -3,46 +3,13 @@ import { ExportEBSVolumeRecommendationsRequest, ExportEBSVolumeRecommendationsRe
|
|
|
3
3
|
import { deserializeAws_json1_0ExportEBSVolumeRecommendationsCommand, serializeAws_json1_0ExportEBSVolumeRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Exports optimization recommendations for Amazon EBS volumes.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
|
|
10
|
-
* in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
|
|
12
|
-
* Recommendations</a> in the <i>Compute Optimizer User
|
|
13
|
-
* Guide</i>.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ComputeOptimizerClient, ExportEBSVolumeRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
20
|
-
* // const { ComputeOptimizerClient, ExportEBSVolumeRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
21
|
-
* const client = new ComputeOptimizerClient(config);
|
|
22
|
-
* const command = new ExportEBSVolumeRecommendationsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ExportEBSVolumeRecommendationsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ExportEBSVolumeRecommendationsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ExportEBSVolumeRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ExportEBSVolumeRecommendationsCommand = (function (_super) {
|
|
32
7
|
__extends(ExportEBSVolumeRecommendationsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ExportEBSVolumeRecommendationsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ExportEBSVolumeRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportEBSVolumeRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportEBSVolumeRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExportEBSVolumeRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportEBSVolumeRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyC7D;IAA2D,yDAI1D;IAIC,+CAAqB,KAAiD;QAAtE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA4C;;IAItE,CAAC;IAKD,iEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAmD,EACnD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,wBAAwB,CAAC;QAC5C,IAAM,WAAW,GAAG,uCAAuC,CAAC;QAC5D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qCAAqC,CAAC,kBAAkB;YACjF,wBAAwB,EAAE,sCAAsC,CAAC,kBAAkB;SACpF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,yDAAS,GAAjB,UACE,KAAiD,EACjD,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAEO,2DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,2DAA2D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAIH,4CAAC;AAAD,CAAC,AA5DD,CAA2D,QAAQ,GA4DlE"}
|
|
@@ -3,46 +3,13 @@ import { ExportEC2InstanceRecommendationsRequest, ExportEC2InstanceRecommendatio
|
|
|
3
3
|
import { deserializeAws_json1_0ExportEC2InstanceRecommendationsCommand, serializeAws_json1_0ExportEC2InstanceRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Exports optimization recommendations for Amazon EC2 instances.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
|
|
10
|
-
* in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
|
|
12
|
-
* Recommendations</a> in the <i>Compute Optimizer User
|
|
13
|
-
* Guide</i>.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ComputeOptimizerClient, ExportEC2InstanceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
20
|
-
* // const { ComputeOptimizerClient, ExportEC2InstanceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
21
|
-
* const client = new ComputeOptimizerClient(config);
|
|
22
|
-
* const command = new ExportEC2InstanceRecommendationsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ExportEC2InstanceRecommendationsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ExportEC2InstanceRecommendationsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ExportEC2InstanceRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ExportEC2InstanceRecommendationsCommand = (function (_super) {
|
|
32
7
|
__extends(ExportEC2InstanceRecommendationsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ExportEC2InstanceRecommendationsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ExportEC2InstanceRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportEC2InstanceRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportEC2InstanceRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uCAAuC,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExportEC2InstanceRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportEC2InstanceRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uCAAuC,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wB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 +3,13 @@ import { ExportLambdaFunctionRecommendationsRequest, ExportLambdaFunctionRecomme
|
|
|
3
3
|
import { deserializeAws_json1_0ExportLambdaFunctionRecommendationsCommand, serializeAws_json1_0ExportLambdaFunctionRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Exports optimization recommendations for Lambda functions.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
|
|
10
|
-
* in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
|
|
12
|
-
* Recommendations</a> in the <i>Compute Optimizer User
|
|
13
|
-
* Guide</i>.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>You can have only one Lambda function export job in progress per Amazon Web Services Region.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ComputeOptimizerClient, ExportLambdaFunctionRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
20
|
-
* // const { ComputeOptimizerClient, ExportLambdaFunctionRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
21
|
-
* const client = new ComputeOptimizerClient(config);
|
|
22
|
-
* const command = new ExportLambdaFunctionRecommendationsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ExportLambdaFunctionRecommendationsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ExportLambdaFunctionRecommendationsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var ExportLambdaFunctionRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ExportLambdaFunctionRecommendationsCommand = (function (_super) {
|
|
32
7
|
__extends(ExportLambdaFunctionRecommendationsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function ExportLambdaFunctionRecommendationsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
ExportLambdaFunctionRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportLambdaFunctionRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportLambdaFunctionRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,0CAA0C,EAC1C,2CAA2C,GAC5C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,gEAAgE,EAChE,8DAA8D,GAC/D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExportLambdaFunctionRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/ExportLambdaFunctionRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,0CAA0C,EAC1C,2CAA2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C;IACxF,CAAC;IAEO,gEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,gEAAgE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAIH,iDAAC;AAAD,CAAC,AA5DD,CAAgE,QAAQ,GA4DvE"}
|
|
@@ -3,43 +3,13 @@ import { GetAutoScalingGroupRecommendationsRequest, GetAutoScalingGroupRecommend
|
|
|
3
3
|
import { deserializeAws_json1_0GetAutoScalingGroupRecommendationsCommand, serializeAws_json1_0GetAutoScalingGroupRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns Auto Scaling group recommendations.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that
|
|
10
|
-
* meet a specific set of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported
|
|
11
|
-
* resources and requirements</a> in the <i>Compute Optimizer User
|
|
12
|
-
* Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ComputeOptimizerClient, GetAutoScalingGroupRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
17
|
-
* // const { ComputeOptimizerClient, GetAutoScalingGroupRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
18
|
-
* const client = new ComputeOptimizerClient(config);
|
|
19
|
-
* const command = new GetAutoScalingGroupRecommendationsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetAutoScalingGroupRecommendationsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetAutoScalingGroupRecommendationsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var GetAutoScalingGroupRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetAutoScalingGroupRecommendationsCommand = (function (_super) {
|
|
29
7
|
__extends(GetAutoScalingGroupRecommendationsCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function GetAutoScalingGroupRecommendationsCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
GetAutoScalingGroupRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAutoScalingGroupRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/GetAutoScalingGroupRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,+DAA+D,EAC/D,6DAA6D,GAC9D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetAutoScalingGroupRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/GetAutoScalingGroupRec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D,OAAuB;QAEvB,OAAO,6DAA6D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAEO,+DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,+DAA+D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAIH,gDAAC;AAAD,CAAC,AA5DD,CAA+D,QAAQ,GA4DtE"}
|
|
@@ -3,43 +3,13 @@ import { GetEBSVolumeRecommendationsRequest, GetEBSVolumeRecommendationsResponse
|
|
|
3
3
|
import { deserializeAws_json1_0GetEBSVolumeRecommendationsCommand, serializeAws_json1_0GetEBSVolumeRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Compute Optimizer generates recommendations for Amazon EBS volumes that
|
|
10
|
-
* meet a specific set of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported
|
|
11
|
-
* resources and requirements</a> in the <i>Compute Optimizer User
|
|
12
|
-
* Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ComputeOptimizerClient, GetEBSVolumeRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
17
|
-
* // const { ComputeOptimizerClient, GetEBSVolumeRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
18
|
-
* const client = new ComputeOptimizerClient(config);
|
|
19
|
-
* const command = new GetEBSVolumeRecommendationsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetEBSVolumeRecommendationsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetEBSVolumeRecommendationsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var GetEBSVolumeRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetEBSVolumeRecommendationsCommand = (function (_super) {
|
|
29
7
|
__extends(GetEBSVolumeRecommendationsCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function GetEBSVolumeRecommendationsCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
GetEBSVolumeRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEBSVolumeRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/GetEBSVolumeRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetEBSVolumeRecommendationsCommand.js","s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O,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -3,43 +3,13 @@ import { GetEC2InstanceRecommendationsRequest, GetEC2InstanceRecommendationsResp
|
|
|
3
3
|
import { deserializeAws_json1_0GetEC2InstanceRecommendationsCommand, serializeAws_json1_0GetEC2InstanceRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns Amazon EC2 instance recommendations.</p>
|
|
8
|
-
*
|
|
9
|
-
* <p>Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more
|
|
10
|
-
* information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
|
|
11
|
-
* requirements</a> in the <i>Compute Optimizer User
|
|
12
|
-
* Guide</i>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ComputeOptimizerClient, GetEC2InstanceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
17
|
-
* // const { ComputeOptimizerClient, GetEC2InstanceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
18
|
-
* const client = new ComputeOptimizerClient(config);
|
|
19
|
-
* const command = new GetEC2InstanceRecommendationsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetEC2InstanceRecommendationsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetEC2InstanceRecommendationsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var GetEC2InstanceRecommendationsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetEC2InstanceRecommendationsCommand = (function (_super) {
|
|
29
7
|
__extends(GetEC2InstanceRecommendationsCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function GetEC2InstanceRecommendationsCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
GetEC2InstanceRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEC2InstanceRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/GetEC2InstanceRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AACjH,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetEC2InstanceRecommendationsCommand.js","sourceRoot":"","sources":["../../../commands/GetEC2InstanceRecommendationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AACjH,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsC7D;IAA0D,wDAIzD;IAIC,8CAAqB,KAAgD;QAArE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2C;;IAIrE,CAAC;IAKD,gEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAmD,EACnD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,wBAAwB,CAAC;QAC5C,IAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oCAAoC,CAAC,kBAAkB;YAChF,wBAAwB,EAAE,qCAAqC,CAAC,kBAAkB;SACnF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wDAAS,GAAjB,UAAkB,KAAgD,EAAE,OAAuB;QACzF,OAAO,wDAAwD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAEO,0DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAIH,2CAAC;AAAD,CAAC,AAzDD,CAA0D,QAAQ,GAyDjE"}
|
|
@@ -3,46 +3,13 @@ import { GetEC2RecommendationProjectedMetricsRequest, GetEC2RecommendationProjec
|
|
|
3
3
|
import { deserializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand, serializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns the projected utilization metrics of Amazon EC2 instance
|
|
8
|
-
* recommendations.</p>
|
|
9
|
-
*
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>The <code>Cpu</code> and <code>Memory</code> metrics are the only projected
|
|
12
|
-
* utilization metrics returned when you run this action. Additionally, the
|
|
13
|
-
* <code>Memory</code> metric is returned only for resources that have the unified
|
|
14
|
-
* CloudWatch agent installed on them. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent">Enabling Memory Utilization with the CloudWatch Agent</a>.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ComputeOptimizerClient, GetEC2RecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
20
|
-
* // const { ComputeOptimizerClient, GetEC2RecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
21
|
-
* const client = new ComputeOptimizerClient(config);
|
|
22
|
-
* const command = new GetEC2RecommendationProjectedMetricsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link GetEC2RecommendationProjectedMetricsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link GetEC2RecommendationProjectedMetricsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ComputeOptimizerClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var GetEC2RecommendationProjectedMetricsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var GetEC2RecommendationProjectedMetricsCommand = (function (_super) {
|
|
32
7
|
__extends(GetEC2RecommendationProjectedMetricsCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function GetEC2RecommendationProjectedMetricsCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
GetEC2RecommendationProjectedMetricsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEC2RecommendationProjectedMetricsCommand.js","sourceRoot":"","sources":["../../../commands/GetEC2RecommendationProjectedMetricsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,2CAA2C,EAC3C,4CAA4C,GAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iEAAiE,EACjE,+DAA+D,GAChE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetEC2RecommendationProjectedMetricsCommand.js","sourceRoot":"","sources":["../../../commands/GetEC2RecommendationProjectedMetricsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,2CAA2C,EAC3C,4CAA4C,GAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iEAAiE,EACjE,+DAA+D,GAChE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyC7D;IAAiE,+DAIhE;IAIC,qDAAqB,KAAuD;QAA5E,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkD;;IAI5E,CAAC;IAKD,uEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAmD,EACnD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,wBAAwB,CAAC;QAC5C,IAAM,WAAW,GAAG,6CAA6C,CAAC;QAClE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2CAA2C,CAAC,kBAAkB;YACvF,wBAAwB,EAAE,4CAA4C,CAAC,kBAAkB;SAC1F,CAAC;QACM,I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