@aws-sdk/client-compute-optimizer 3.236.0 → 3.237.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/README.md +2 -1
- package/dist-cjs/ComputeOptimizer.js +45 -0
- package/dist-cjs/commands/ExportECSServiceRecommendationsCommand.js +46 -0
- package/dist-cjs/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +46 -0
- package/dist-cjs/commands/GetECSServiceRecommendationsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +137 -3
- package/dist-cjs/pagination/DescribeRecommendationExportJobsPaginator.js +36 -0
- package/dist-cjs/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +36 -0
- package/dist-cjs/pagination/GetLambdaFunctionRecommendationsPaginator.js +36 -0
- package/dist-cjs/pagination/GetRecommendationPreferencesPaginator.js +36 -0
- package/dist-cjs/pagination/GetRecommendationSummariesPaginator.js +36 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +491 -1
- package/dist-es/ComputeOptimizer.js +45 -0
- package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +42 -0
- package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +42 -0
- package/dist-es/commands/GetECSServiceRecommendationsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +117 -0
- package/dist-es/pagination/DescribeRecommendationExportJobsPaginator.js +32 -0
- package/dist-es/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +32 -0
- package/dist-es/pagination/GetLambdaFunctionRecommendationsPaginator.js +32 -0
- package/dist-es/pagination/GetRecommendationPreferencesPaginator.js +32 -0
- package/dist-es/pagination/GetRecommendationSummariesPaginator.js +32 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +484 -0
- package/dist-types/ComputeOptimizer.d.ts +76 -32
- package/dist-types/ComputeOptimizerClient.d.ts +7 -3
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +44 -0
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +2 -2
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +39 -0
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +46 -0
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +10 -6
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1353 -519
- package/dist-types/pagination/DescribeRecommendationExportJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +4 -0
- package/dist-types/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetRecommendationPreferencesPaginator.d.ts +4 -0
- package/dist-types/pagination/GetRecommendationSummariesPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/ComputeOptimizer.d.ts +57 -0
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/pagination/DescribeRecommendationExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetRecommendationPreferencesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetRecommendationSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export interface GetEffectiveRecommendationPreferencesCommandOutput extends GetE
|
|
|
11
11
|
* <p>Returns the recommendation preferences that are in effect for a given resource, such
|
|
12
12
|
* as enhanced infrastructure metrics. Considers all applicable preferences that you might
|
|
13
13
|
* have set at the resource, account, and organization level.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>When you create a recommendation preference, you can set its status to
|
|
15
15
|
* <code>Active</code> or <code>Inactive</code>. Use this action to view the
|
|
16
16
|
* recommendation preferences that are in effect, or <code>Active</code>.</p>
|
|
17
17
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface GetEnrollmentStatusCommandOutput extends GetEnrollmentStatusRes
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns the enrollment (opt in) status of an account to the Compute Optimizer
|
|
12
12
|
* service.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>If the account is the management account of an organization, this action also confirms
|
|
14
14
|
* the enrollment status of member accounts of the organization. Use the <a>GetEnrollmentStatusesForOrganization</a> action to get detailed information
|
|
15
15
|
* about the enrollment status of member accounts of an organization.</p>
|
|
16
16
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface GetEnrollmentStatusesForOrganizationCommandOutput extends GetEn
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns the Compute Optimizer enrollment (opt-in) status of organization member
|
|
12
12
|
* accounts, if your account is an organization management account.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>To get the enrollment status of standalone accounts, use the <a>GetEnrollmentStatus</a> action.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface GetLambdaFunctionRecommendationsCommandOutput extends GetLambda
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns Lambda function recommendations.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>Compute Optimizer generates recommendations for functions that meet a specific set
|
|
13
13
|
* of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
|
|
14
14
|
* requirements</a> in the <i>Compute Optimizer User
|
|
15
15
|
* Guide</i>.</p>
|
|
@@ -10,10 +10,10 @@ export interface GetRecommendationPreferencesCommandOutput extends GetRecommenda
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns existing recommendation preferences, such as enhanced infrastructure
|
|
12
12
|
* metrics.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>Use the <code>scope</code> parameter to specify which preferences to return. You can
|
|
14
14
|
* specify to return preferences for an organization, a specific account ID, or a specific
|
|
15
15
|
* EC2 instance or Auto Scaling group Amazon Resource Name (ARN).</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
|
|
17
17
|
* enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
|
|
18
18
|
* Guide</i>.</p>
|
|
19
19
|
* @example
|
|
@@ -9,25 +9,29 @@ export interface GetRecommendationSummariesCommandOutput extends GetRecommendati
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Returns the optimization findings for an account.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>It returns the number of:</p>
|
|
13
|
+
* <ul>
|
|
14
14
|
* <li>
|
|
15
|
-
*
|
|
15
|
+
* <p>Amazon EC2 instances in an account that are
|
|
16
16
|
* <code>Underprovisioned</code>, <code>Overprovisioned</code>, or
|
|
17
17
|
* <code>Optimized</code>.</p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
20
|
-
*
|
|
20
|
+
* <p>Auto Scaling groups in an account that are <code>NotOptimized</code>, or
|
|
21
21
|
* <code>Optimized</code>.</p>
|
|
22
22
|
* </li>
|
|
23
23
|
* <li>
|
|
24
|
-
*
|
|
24
|
+
* <p>Amazon EBS volumes in an account that are <code>NotOptimized</code>,
|
|
25
25
|
* or <code>Optimized</code>.</p>
|
|
26
26
|
* </li>
|
|
27
27
|
* <li>
|
|
28
|
-
*
|
|
28
|
+
* <p>Lambda functions in an account that are <code>NotOptimized</code>,
|
|
29
29
|
* or <code>Optimized</code>.</p>
|
|
30
30
|
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Amazon ECS services in an account that are <code>Underprovisioned</code>,
|
|
33
|
+
* <code>Overprovisioned</code>, or <code>Optimized</code>.</p>
|
|
34
|
+
* </li>
|
|
31
35
|
* </ul>
|
|
32
36
|
* @example
|
|
33
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,7 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a new recommendation preference or updates an existing recommendation
|
|
12
12
|
* preference, such as enhanced infrastructure metrics.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
|
|
14
14
|
* enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
|
|
15
15
|
* Guide</i>.</p>
|
|
16
16
|
* @example
|
|
@@ -9,11 +9,11 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>If the account is a management account of an organization, this action can also be
|
|
13
13
|
* used to enroll member accounts of the organization.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>You must have the appropriate permissions to opt in to Compute Optimizer, to view its
|
|
15
15
|
* recommendations, and to opt out. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html">Controlling access with Amazon Web Services Identity and Access Management</a> in the <i>Compute Optimizer User Guide</i>.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>When you opt in, Compute Optimizer automatically creates a service-linked role in your
|
|
17
17
|
* account to access its data. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html">Using
|
|
18
18
|
* Service-Linked Roles for Compute Optimizer</a> in the <i>Compute Optimizer User Guide</i>.</p>
|
|
19
19
|
* @example
|
|
@@ -3,11 +3,14 @@ export * from "./DescribeRecommendationExportJobsCommand";
|
|
|
3
3
|
export * from "./ExportAutoScalingGroupRecommendationsCommand";
|
|
4
4
|
export * from "./ExportEBSVolumeRecommendationsCommand";
|
|
5
5
|
export * from "./ExportEC2InstanceRecommendationsCommand";
|
|
6
|
+
export * from "./ExportECSServiceRecommendationsCommand";
|
|
6
7
|
export * from "./ExportLambdaFunctionRecommendationsCommand";
|
|
7
8
|
export * from "./GetAutoScalingGroupRecommendationsCommand";
|
|
8
9
|
export * from "./GetEBSVolumeRecommendationsCommand";
|
|
9
10
|
export * from "./GetEC2InstanceRecommendationsCommand";
|
|
10
11
|
export * from "./GetEC2RecommendationProjectedMetricsCommand";
|
|
12
|
+
export * from "./GetECSServiceRecommendationProjectedMetricsCommand";
|
|
13
|
+
export * from "./GetECSServiceRecommendationsCommand";
|
|
11
14
|
export * from "./GetEffectiveRecommendationPreferencesCommand";
|
|
12
15
|
export * from "./GetEnrollmentStatusCommand";
|
|
13
16
|
export * from "./GetEnrollmentStatusesForOrganizationCommand";
|
package/dist-types/index.d.ts
CHANGED