@aws-sdk/client-compute-optimizer 3.1076.0 → 3.1078.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.
Files changed (104) hide show
  1. package/dist-cjs/index.js +39 -285
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +2 -14
  4. package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +2 -14
  5. package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +2 -14
  6. package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +2 -14
  7. package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +2 -14
  8. package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +2 -14
  9. package/dist-es/commands/ExportIdleRecommendationsCommand.js +2 -14
  10. package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +2 -14
  11. package/dist-es/commands/ExportLicenseRecommendationsCommand.js +2 -14
  12. package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +2 -14
  13. package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +2 -14
  14. package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +2 -14
  15. package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +2 -14
  16. package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +2 -14
  17. package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +2 -14
  18. package/dist-es/commands/GetECSServiceRecommendationsCommand.js +2 -14
  19. package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +2 -14
  20. package/dist-es/commands/GetEnrollmentStatusCommand.js +2 -14
  21. package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +2 -14
  22. package/dist-es/commands/GetIdleRecommendationsCommand.js +2 -14
  23. package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +2 -14
  24. package/dist-es/commands/GetLicenseRecommendationsCommand.js +2 -14
  25. package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +2 -14
  26. package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +2 -14
  27. package/dist-es/commands/GetRecommendationPreferencesCommand.js +2 -14
  28. package/dist-es/commands/GetRecommendationSummariesCommand.js +2 -14
  29. package/dist-es/commands/PutRecommendationPreferencesCommand.js +2 -14
  30. package/dist-es/commands/UpdateEnrollmentStatusCommand.js +2 -14
  31. package/dist-es/index.js +1 -0
  32. package/dist-es/runtimeConfig.browser.js +0 -2
  33. package/dist-es/runtimeConfig.js +1 -2
  34. package/dist-es/runtimeConfig.native.js +0 -2
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-types/commandBuilder.d.ts +18 -0
  37. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +3 -8
  39. package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +3 -8
  40. package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +3 -8
  41. package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +3 -8
  42. package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +3 -8
  43. package/dist-types/commands/ExportIdleRecommendationsCommand.d.ts +3 -8
  44. package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +3 -8
  45. package/dist-types/commands/ExportLicenseRecommendationsCommand.d.ts +3 -8
  46. package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +3 -8
  47. package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +3 -8
  48. package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +3 -8
  49. package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +3 -8
  50. package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +3 -8
  51. package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +3 -8
  52. package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +3 -8
  53. package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +3 -8
  54. package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +3 -8
  55. package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +3 -8
  56. package/dist-types/commands/GetIdleRecommendationsCommand.d.ts +3 -8
  57. package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +3 -8
  58. package/dist-types/commands/GetLicenseRecommendationsCommand.d.ts +3 -8
  59. package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +3 -8
  60. package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +3 -8
  61. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +3 -8
  62. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +3 -8
  63. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -8
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  67. package/dist-types/runtimeConfig.d.ts +1 -1
  68. package/dist-types/runtimeConfig.native.d.ts +1 -1
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  71. package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DescribeRecommendationExportJobsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ExportEBSVolumeRecommendationsCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ExportEC2InstanceRecommendationsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ExportIdleRecommendationsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ExportLicenseRecommendationsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetEBSVolumeRecommendationsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetEC2InstanceRecommendationsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetEnrollmentStatusCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetIdleRecommendationsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetLambdaFunctionRecommendationsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetLicenseRecommendationsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetRecommendationSummariesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/index.d.ts +1 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  104. package/package.json +8 -10
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ComputeOptimizerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ComputeOptimizerClient";
8
2
  import {
9
3
  GetRecommendationPreferencesRequest,
10
4
  GetRecommendationPreferencesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetRecommendationPreferencesCommandInput
15
8
  extends GetRecommendationPreferencesRequest {}
16
9
  export interface GetRecommendationPreferencesCommandOutput
@@ -22,22 +15,20 @@ declare const GetRecommendationPreferencesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetRecommendationPreferencesCommandInput,
24
17
  GetRecommendationPreferencesCommandOutput,
25
- ComputeOptimizerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ComputeOptimizerClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetRecommendationPreferencesCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetRecommendationPreferencesCommandInput,
33
26
  GetRecommendationPreferencesCommandOutput,
34
- ComputeOptimizerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ComputeOptimizerClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetRecommendationPreferencesCommand extends GetRecommendationPreferencesCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ComputeOptimizerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ComputeOptimizerClient";
8
2
  import {
9
3
  GetRecommendationSummariesRequest,
10
4
  GetRecommendationSummariesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetRecommendationSummariesCommandInput
15
8
  extends GetRecommendationSummariesRequest {}
16
9
  export interface GetRecommendationSummariesCommandOutput
@@ -22,22 +15,20 @@ declare const GetRecommendationSummariesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetRecommendationSummariesCommandInput,
24
17
  GetRecommendationSummariesCommandOutput,
25
- ComputeOptimizerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ComputeOptimizerClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [GetRecommendationSummariesCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetRecommendationSummariesCommandInput,
33
26
  GetRecommendationSummariesCommandOutput,
34
- ComputeOptimizerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ComputeOptimizerClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetRecommendationSummariesCommand extends GetRecommendationSummariesCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ComputeOptimizerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ComputeOptimizerClient";
8
2
  import {
9
3
  PutRecommendationPreferencesRequest,
10
4
  PutRecommendationPreferencesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface PutRecommendationPreferencesCommandInput
15
8
  extends PutRecommendationPreferencesRequest {}
16
9
  export interface PutRecommendationPreferencesCommandOutput
@@ -22,22 +15,20 @@ declare const PutRecommendationPreferencesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  PutRecommendationPreferencesCommandInput,
24
17
  PutRecommendationPreferencesCommandOutput,
25
- ComputeOptimizerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ComputeOptimizerClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: PutRecommendationPreferencesCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  PutRecommendationPreferencesCommandInput,
33
26
  PutRecommendationPreferencesCommandOutput,
34
- ComputeOptimizerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ComputeOptimizerClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class PutRecommendationPreferencesCommand extends PutRecommendationPreferencesCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ComputeOptimizerClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../ComputeOptimizerClient";
8
2
  import {
9
3
  UpdateEnrollmentStatusRequest,
10
4
  UpdateEnrollmentStatusResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateEnrollmentStatusCommandInput
15
8
  extends UpdateEnrollmentStatusRequest {}
16
9
  export interface UpdateEnrollmentStatusCommandOutput
@@ -22,22 +15,20 @@ declare const UpdateEnrollmentStatusCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  UpdateEnrollmentStatusCommandInput,
24
17
  UpdateEnrollmentStatusCommandOutput,
25
- ComputeOptimizerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").ComputeOptimizerClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: UpdateEnrollmentStatusCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  UpdateEnrollmentStatusCommandInput,
33
26
  UpdateEnrollmentStatusCommandOutput,
34
- ComputeOptimizerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").ComputeOptimizerClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class UpdateEnrollmentStatusCommand extends UpdateEnrollmentStatusCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ComputeOptimizerExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
22
22
  | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
25
  streamCollector: (
27
26
  stream:
28
27
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
23
23
  | RequestHandler
24
24
  | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@smithy/types").HashConstructor;
27
26
  streamCollector: (
28
27
  stream:
29
28
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
3
3
  config: ComputeOptimizerClientConfig
4
4
  ) => {
5
5
  runtime: string;
6
- sha256: import("@smithy/types").HashConstructor;
7
6
  requestHandler:
8
7
  | import("@smithy/types").NodeHttpHandlerOptions
9
8
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -20,6 +19,7 @@ export declare const getRuntimeConfig: (
20
19
  [setting: string]: unknown;
21
20
  };
22
21
  apiVersion: string;
22
+ sha256: import("@smithy/types").HashConstructor;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
25
  streamCollector: (
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
26
26
  defaultNamespace?: string;
27
27
  };
28
28
  serviceId: string;
29
+ sha256: import("@smithy/types").HashConstructor;
29
30
  urlParser: import("@smithy/types").UrlParser;
30
31
  utf8Decoder: import("@smithy/types").Decoder;
31
32
  utf8Encoder: (input: Uint8Array | string) => string;
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.1076.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,15 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
26
- "@aws-sdk/types": "^3.973.14",
27
- "@smithy/core": "^3.27.0",
28
- "@smithy/fetch-http-handler": "^5.6.0",
29
- "@smithy/node-http-handler": "^4.9.0",
30
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
31
29
  "tslib": "^2.6.2"
32
30
  },
33
31
  "devDependencies": {