@aws-sdk/client-compute-optimizer 3.888.0 → 3.891.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportIdleRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportLicenseRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +2 -0
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +2 -0
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +2 -0
- package/dist-types/commands/GetIdleRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetLicenseRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +2 -0
- package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +2 -0
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +2 -0
- package/package.json +19 -19
|
@@ -36,6 +36,8 @@ declare const DeleteRecommendationPreferencesCommand_base: {
|
|
|
36
36
|
* ```javascript
|
|
37
37
|
* import { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
38
38
|
* // const { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
39
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
40
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
39
41
|
* const client = new ComputeOptimizerClient(config);
|
|
40
42
|
* const input = { // DeleteRecommendationPreferencesRequest
|
|
41
43
|
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required
|
|
@@ -36,6 +36,8 @@ declare const DescribeRecommendationExportJobsCommand_base: {
|
|
|
36
36
|
* ```javascript
|
|
37
37
|
* import { ComputeOptimizerClient, DescribeRecommendationExportJobsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
38
38
|
* // const { ComputeOptimizerClient, DescribeRecommendationExportJobsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
39
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
40
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
39
41
|
* const client = new ComputeOptimizerClient(config);
|
|
40
42
|
* const input = { // DescribeRecommendationExportJobsRequest
|
|
41
43
|
* jobIds: [ // JobIds
|
|
@@ -38,6 +38,8 @@ declare const ExportAutoScalingGroupRecommendationsCommand_base: {
|
|
|
38
38
|
* ```javascript
|
|
39
39
|
* import { ComputeOptimizerClient, ExportAutoScalingGroupRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
40
40
|
* // const { ComputeOptimizerClient, ExportAutoScalingGroupRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
41
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
42
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
41
43
|
* const client = new ComputeOptimizerClient(config);
|
|
42
44
|
* const input = { // ExportAutoScalingGroupRecommendationsRequest
|
|
43
45
|
* accountIds: [ // AccountIds
|
|
@@ -38,6 +38,8 @@ declare const ExportEBSVolumeRecommendationsCommand_base: {
|
|
|
38
38
|
* ```javascript
|
|
39
39
|
* import { ComputeOptimizerClient, ExportEBSVolumeRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
40
40
|
* // const { ComputeOptimizerClient, ExportEBSVolumeRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
41
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
42
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
41
43
|
* const client = new ComputeOptimizerClient(config);
|
|
42
44
|
* const input = { // ExportEBSVolumeRecommendationsRequest
|
|
43
45
|
* accountIds: [ // AccountIds
|
|
@@ -38,6 +38,8 @@ declare const ExportEC2InstanceRecommendationsCommand_base: {
|
|
|
38
38
|
* ```javascript
|
|
39
39
|
* import { ComputeOptimizerClient, ExportEC2InstanceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
40
40
|
* // const { ComputeOptimizerClient, ExportEC2InstanceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
41
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
42
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
41
43
|
* const client = new ComputeOptimizerClient(config);
|
|
42
44
|
* const input = { // ExportEC2InstanceRecommendationsRequest
|
|
43
45
|
* accountIds: [ // AccountIds
|
|
@@ -40,6 +40,8 @@ declare const ExportECSServiceRecommendationsCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, ExportECSServiceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, ExportECSServiceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // ExportECSServiceRecommendationsRequest
|
|
45
47
|
* accountIds: [ // AccountIds
|
|
@@ -40,6 +40,8 @@ declare const ExportIdleRecommendationsCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, ExportIdleRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, ExportIdleRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // ExportIdleRecommendationsRequest
|
|
45
47
|
* accountIds: [ // AccountIds
|
|
@@ -38,6 +38,8 @@ declare const ExportLambdaFunctionRecommendationsCommand_base: {
|
|
|
38
38
|
* ```javascript
|
|
39
39
|
* import { ComputeOptimizerClient, ExportLambdaFunctionRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
40
40
|
* // const { ComputeOptimizerClient, ExportLambdaFunctionRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
41
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
42
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
41
43
|
* const client = new ComputeOptimizerClient(config);
|
|
42
44
|
* const input = { // ExportLambdaFunctionRecommendationsRequest
|
|
43
45
|
* accountIds: [ // AccountIds
|
|
@@ -40,6 +40,8 @@ declare const ExportLicenseRecommendationsCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, ExportLicenseRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, ExportLicenseRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // ExportLicenseRecommendationsRequest
|
|
45
47
|
* accountIds: [ // AccountIds
|
|
@@ -40,6 +40,8 @@ declare const ExportRDSDatabaseRecommendationsCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, ExportRDSDatabaseRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, ExportRDSDatabaseRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // ExportRDSDatabaseRecommendationsRequest
|
|
45
47
|
* accountIds: [ // AccountIds
|
|
@@ -37,6 +37,8 @@ declare const GetAutoScalingGroupRecommendationsCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetAutoScalingGroupRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetAutoScalingGroupRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // GetAutoScalingGroupRecommendationsRequest
|
|
42
44
|
* accountIds: [ // AccountIds
|
|
@@ -37,6 +37,8 @@ declare const GetEBSVolumeRecommendationsCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetEBSVolumeRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetEBSVolumeRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // GetEBSVolumeRecommendationsRequest
|
|
42
44
|
* volumeArns: [ // VolumeArns
|
|
@@ -37,6 +37,8 @@ declare const GetEC2InstanceRecommendationsCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetEC2InstanceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetEC2InstanceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // GetEC2InstanceRecommendationsRequest
|
|
42
44
|
* instanceArns: [ // InstanceArns
|
|
@@ -40,6 +40,8 @@ declare const GetEC2RecommendationProjectedMetricsCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, GetEC2RecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, GetEC2RecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // GetEC2RecommendationProjectedMetricsRequest
|
|
45
47
|
* instanceArn: "STRING_VALUE", // required
|
|
@@ -35,6 +35,8 @@ declare const GetECSServiceRecommendationProjectedMetricsCommand_base: {
|
|
|
35
35
|
* ```javascript
|
|
36
36
|
* import { ComputeOptimizerClient, GetECSServiceRecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
37
37
|
* // const { ComputeOptimizerClient, GetECSServiceRecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
38
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
39
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
38
40
|
* const client = new ComputeOptimizerClient(config);
|
|
39
41
|
* const input = { // GetECSServiceRecommendationProjectedMetricsRequest
|
|
40
42
|
* serviceArn: "STRING_VALUE", // required
|
|
@@ -42,6 +42,8 @@ declare const GetECSServiceRecommendationsCommand_base: {
|
|
|
42
42
|
* ```javascript
|
|
43
43
|
* import { ComputeOptimizerClient, GetECSServiceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
44
44
|
* // const { ComputeOptimizerClient, GetECSServiceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
45
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
46
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
45
47
|
* const client = new ComputeOptimizerClient(config);
|
|
46
48
|
* const input = { // GetECSServiceRecommendationsRequest
|
|
47
49
|
* serviceArns: [ // ServiceArns
|
|
@@ -38,6 +38,8 @@ declare const GetEffectiveRecommendationPreferencesCommand_base: {
|
|
|
38
38
|
* ```javascript
|
|
39
39
|
* import { ComputeOptimizerClient, GetEffectiveRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
40
40
|
* // const { ComputeOptimizerClient, GetEffectiveRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
41
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
42
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
41
43
|
* const client = new ComputeOptimizerClient(config);
|
|
42
44
|
* const input = { // GetEffectiveRecommendationPreferencesRequest
|
|
43
45
|
* resourceArn: "STRING_VALUE", // required
|
|
@@ -37,6 +37,8 @@ declare const GetEnrollmentStatusCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetEnrollmentStatusCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetEnrollmentStatusCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = {};
|
|
42
44
|
* const command = new GetEnrollmentStatusCommand(input);
|
|
@@ -35,6 +35,8 @@ declare const GetEnrollmentStatusesForOrganizationCommand_base: {
|
|
|
35
35
|
* ```javascript
|
|
36
36
|
* import { ComputeOptimizerClient, GetEnrollmentStatusesForOrganizationCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
37
37
|
* // const { ComputeOptimizerClient, GetEnrollmentStatusesForOrganizationCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
38
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
39
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
38
40
|
* const client = new ComputeOptimizerClient(config);
|
|
39
41
|
* const input = { // GetEnrollmentStatusesForOrganizationRequest
|
|
40
42
|
* filters: [ // EnrollmentFilters
|
|
@@ -37,6 +37,8 @@ declare const GetIdleRecommendationsCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetIdleRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetIdleRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // GetIdleRecommendationsRequest
|
|
42
44
|
* resourceArns: [ // ResourceArns
|
|
@@ -37,6 +37,8 @@ declare const GetLambdaFunctionRecommendationsCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetLambdaFunctionRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetLambdaFunctionRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // GetLambdaFunctionRecommendationsRequest
|
|
42
44
|
* functionArns: [ // FunctionArns
|
|
@@ -37,6 +37,8 @@ declare const GetLicenseRecommendationsCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, GetLicenseRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, GetLicenseRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // GetLicenseRecommendationsRequest
|
|
42
44
|
* resourceArns: [ // ResourceArns
|
|
@@ -35,6 +35,8 @@ declare const GetRDSDatabaseRecommendationProjectedMetricsCommand_base: {
|
|
|
35
35
|
* ```javascript
|
|
36
36
|
* import { ComputeOptimizerClient, GetRDSDatabaseRecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
37
37
|
* // const { ComputeOptimizerClient, GetRDSDatabaseRecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
38
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
39
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
38
40
|
* const client = new ComputeOptimizerClient(config);
|
|
39
41
|
* const input = { // GetRDSDatabaseRecommendationProjectedMetricsRequest
|
|
40
42
|
* resourceArn: "STRING_VALUE", // required
|
|
@@ -40,6 +40,8 @@ declare const GetRDSDatabaseRecommendationsCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, GetRDSDatabaseRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, GetRDSDatabaseRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // GetRDSDatabaseRecommendationsRequest
|
|
45
47
|
* resourceArns: [ // ResourceArns
|
|
@@ -40,6 +40,8 @@ declare const GetRecommendationPreferencesCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, GetRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, GetRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // GetRecommendationPreferencesRequest
|
|
45
47
|
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required
|
|
@@ -65,6 +65,8 @@ declare const GetRecommendationSummariesCommand_base: {
|
|
|
65
65
|
* ```javascript
|
|
66
66
|
* import { ComputeOptimizerClient, GetRecommendationSummariesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
67
67
|
* // const { ComputeOptimizerClient, GetRecommendationSummariesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
68
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
69
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
68
70
|
* const client = new ComputeOptimizerClient(config);
|
|
69
71
|
* const input = { // GetRecommendationSummariesRequest
|
|
70
72
|
* accountIds: [ // AccountIds
|
|
@@ -37,6 +37,8 @@ declare const PutRecommendationPreferencesCommand_base: {
|
|
|
37
37
|
* ```javascript
|
|
38
38
|
* import { ComputeOptimizerClient, PutRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
39
39
|
* // const { ComputeOptimizerClient, PutRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
41
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
40
42
|
* const client = new ComputeOptimizerClient(config);
|
|
41
43
|
* const input = { // PutRecommendationPreferencesRequest
|
|
42
44
|
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required
|
|
@@ -40,6 +40,8 @@ declare const UpdateEnrollmentStatusCommand_base: {
|
|
|
40
40
|
* ```javascript
|
|
41
41
|
* import { ComputeOptimizerClient, UpdateEnrollmentStatusCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
|
|
42
42
|
* // const { ComputeOptimizerClient, UpdateEnrollmentStatusCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
|
+
* // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer";
|
|
44
|
+
* const config = {}; // type is ComputeOptimizerClientConfig
|
|
43
45
|
* const client = new ComputeOptimizerClient(config);
|
|
44
46
|
* const input = { // UpdateEnrollmentStatusRequest
|
|
45
47
|
* status: "Active" || "Inactive" || "Pending" || "Failed", // required
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.891.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-compute-optimizer",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
23
|
+
"@aws-sdk/core": "3.890.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.891.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.891.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.891.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.891.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.890.0",
|
|
30
30
|
"@aws-sdk/types": "3.887.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.2.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.891.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.2",
|
|
41
|
+
"@smithy/middleware-retry": "^4.2.3",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
|
-
"@smithy/node-config-provider": "^4.2.
|
|
44
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.2",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
55
|
-
"@smithy/util-endpoints": "^3.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.2",
|
|
55
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
|
-
"@smithy/util-retry": "^4.1.
|
|
57
|
+
"@smithy/util-retry": "^4.1.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.1.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|