@aws-sdk/client-compute-optimizer 3.33.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 +11 -0
- package/dist/cjs/package.json +38 -38
- 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 +38 -38
- package/dist/es/protocols/Aws_json1_0.js +529 -534
- 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/package.json +38 -38
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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.34.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"types": "./dist/types/index.d.ts",
|
|
@@ -27,38 +27,38 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.34.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.34.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.34.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.34.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.34.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.34.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.34.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.34.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.34.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.34.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.34.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.34.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.34.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.34.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.34.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.34.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.34.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.34.0",
|
|
48
|
+
"@aws-sdk/types": "3.34.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.34.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.34.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.34.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.34.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.34.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.34.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.34.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.34.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.34.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.34.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
@@ -14,20 +14,7 @@ import { GetEnrollmentStatusesForOrganizationCommand, } from "./commands/GetEnro
|
|
|
14
14
|
import { GetLambdaFunctionRecommendationsCommand, } from "./commands/GetLambdaFunctionRecommendationsCommand";
|
|
15
15
|
import { GetRecommendationSummariesCommand, } from "./commands/GetRecommendationSummariesCommand";
|
|
16
16
|
import { UpdateEnrollmentStatusCommand, } from "./commands/UpdateEnrollmentStatusCommand";
|
|
17
|
-
|
|
18
|
-
* <p>Compute Optimizer is a service that analyzes the configuration and utilization
|
|
19
|
-
* metrics of your Amazon Web Services compute resources, such as Amazon EC2
|
|
20
|
-
* instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates
|
|
21
|
-
* optimization recommendations to reduce the cost and improve the performance of your
|
|
22
|
-
* workloads. Compute Optimizer also provides recent utilization metric data, in addition
|
|
23
|
-
* to projected utilization metric data for the recommendations, which you can use to
|
|
24
|
-
* evaluate which recommendation provides the best price-performance trade-off. The
|
|
25
|
-
* analysis of your usage patterns can help you decide when to move or resize your running
|
|
26
|
-
* resources, and still meet your performance and capacity requirements. For more
|
|
27
|
-
* information about Compute Optimizer, including the required permissions to use the
|
|
28
|
-
* service, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/">Compute Optimizer User Guide</a>.</p>
|
|
29
|
-
*/
|
|
30
|
-
var ComputeOptimizer = /** @class */ (function (_super) {
|
|
17
|
+
var ComputeOptimizer = (function (_super) {
|
|
31
18
|
__extends(ComputeOptimizer, _super);
|
|
32
19
|
function ComputeOptimizer() {
|
|
33
20
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -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,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;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;IA4BM,iDAAsB,GAA7B,UACE,IAAwC,EACxC,WAAqG,EACrG,EAAmE;QAEnE,IAAM,OAAO,GAAG,IAAI,6BAA6B,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;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,M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ribeRecommendationExportJo
|
|
|
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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_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,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AO,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":"ExportE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xB,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,wBAAwB,CAAC;AAyC7D;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,46 +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,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;AAyC7D;IAAgE,8DAI/D;IAIC,oDAAqB,KAAsD;QAA3E,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiD;;IAI3E,CAAC;IAKD,sEAAiB,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,4CAA4C,CAAC;QACjE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0CAA0C,CAAC,kBAAkB;YACtF,wBAAwB,EAAE,2CAA2C,CAAC,kBAAkB;SACzF,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,8DAAS,GAAjB,UACE,KAAsD,EACtD,OAAuB;QAEvB,OAAO,8DAA8D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;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/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;AAsC7D;IAA+D,6DAI9D;IAIC,mDAAqB,KAAqD;QAA1E,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgD;;IAI1E,CAAC;IAKD,qEAAiB,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,I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