@aws-sdk/client-cost-optimization-hub 3.533.0 → 3.540.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.
@@ -29,6 +29,7 @@ import {
29
29
  } from "./commands/UpdatePreferencesCommand";
30
30
  import { CostOptimizationHubClient } from "./CostOptimizationHubClient";
31
31
  export interface CostOptimizationHub {
32
+ getPreferences(): Promise<GetPreferencesCommandOutput>;
32
33
  getPreferences(
33
34
  args: GetPreferencesCommandInput,
34
35
  options?: __HttpHandlerOptions
@@ -55,6 +56,7 @@ export interface CostOptimizationHub {
55
56
  options: __HttpHandlerOptions,
56
57
  cb: (err: any, data?: GetRecommendationCommandOutput) => void
57
58
  ): void;
59
+ listEnrollmentStatuses(): Promise<ListEnrollmentStatusesCommandOutput>;
58
60
  listEnrollmentStatuses(
59
61
  args: ListEnrollmentStatusesCommandInput,
60
62
  options?: __HttpHandlerOptions
@@ -68,6 +70,7 @@ export interface CostOptimizationHub {
68
70
  options: __HttpHandlerOptions,
69
71
  cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void
70
72
  ): void;
73
+ listRecommendations(): Promise<ListRecommendationsCommandOutput>;
71
74
  listRecommendations(
72
75
  args: ListRecommendationsCommandInput,
73
76
  options?: __HttpHandlerOptions
@@ -107,6 +110,7 @@ export interface CostOptimizationHub {
107
110
  options: __HttpHandlerOptions,
108
111
  cb: (err: any, data?: UpdateEnrollmentStatusCommandOutput) => void
109
112
  ): void;
113
+ updatePreferences(): Promise<UpdatePreferencesCommandOutput>;
110
114
  updatePreferences(
111
115
  args: UpdatePreferencesCommandInput,
112
116
  options?: __HttpHandlerOptions
@@ -24,6 +24,15 @@ declare const GetPreferencesCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ ...[input]: [] | [GetPreferencesCommandInput]
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetPreferencesCommandInput,
31
+ GetPreferencesCommandOutput,
32
+ CostOptimizationHubClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class GetPreferencesCommand extends GetPreferencesCommand_base {}
@@ -25,6 +25,15 @@ declare const GetRecommendationCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetRecommendationCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetRecommendationCommandInput,
32
+ GetRecommendationCommandOutput,
33
+ CostOptimizationHubClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetRecommendationCommand extends GetRecommendationCommand_base {}
@@ -25,6 +25,15 @@ declare const ListEnrollmentStatusesCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [ListEnrollmentStatusesCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListEnrollmentStatusesCommandInput,
32
+ ListEnrollmentStatusesCommandOutput,
33
+ CostOptimizationHubClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListEnrollmentStatusesCommand extends ListEnrollmentStatusesCommand_base {}
@@ -25,6 +25,15 @@ declare const ListRecommendationSummariesCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ListRecommendationSummariesCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListRecommendationSummariesCommandInput,
32
+ ListRecommendationSummariesCommandOutput,
33
+ CostOptimizationHubClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListRecommendationSummariesCommand extends ListRecommendationSummariesCommand_base {}
@@ -25,6 +25,15 @@ declare const ListRecommendationsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [ListRecommendationsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListRecommendationsCommandInput,
32
+ ListRecommendationsCommandOutput,
33
+ CostOptimizationHubClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateEnrollmentStatusCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateEnrollmentStatusCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateEnrollmentStatusCommandInput,
32
+ UpdateEnrollmentStatusCommandOutput,
33
+ CostOptimizationHubClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateEnrollmentStatusCommand extends UpdateEnrollmentStatusCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdatePreferencesCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [UpdatePreferencesCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdatePreferencesCommandInput,
32
+ UpdatePreferencesCommandOutput,
33
+ CostOptimizationHubClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdatePreferencesCommand extends UpdatePreferencesCommand_base {}
@@ -6,5 +6,4 @@ export { CostOptimizationHubExtensionConfiguration } from "./extensionConfigurat
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { CostOptimizationHubServiceException } from "./models/CostOptimizationHubServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cost-optimization-hub",
3
3
  "description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.540.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-cost-optimization-hub",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",