@aws-sdk/client-cost-optimization-hub 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 (44) hide show
  1. package/dist-cjs/index.js +19 -85
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/GetPreferencesCommand.js +2 -14
  4. package/dist-es/commands/GetRecommendationCommand.js +2 -14
  5. package/dist-es/commands/ListEfficiencyMetricsCommand.js +2 -14
  6. package/dist-es/commands/ListEnrollmentStatusesCommand.js +2 -14
  7. package/dist-es/commands/ListRecommendationSummariesCommand.js +2 -14
  8. package/dist-es/commands/ListRecommendationsCommand.js +2 -14
  9. package/dist-es/commands/UpdateEnrollmentStatusCommand.js +2 -14
  10. package/dist-es/commands/UpdatePreferencesCommand.js +2 -14
  11. package/dist-es/index.js +1 -0
  12. package/dist-es/runtimeConfig.browser.js +0 -2
  13. package/dist-es/runtimeConfig.js +1 -2
  14. package/dist-es/runtimeConfig.native.js +0 -2
  15. package/dist-es/runtimeConfig.shared.js +2 -0
  16. package/dist-types/commandBuilder.d.ts +18 -0
  17. package/dist-types/commands/GetPreferencesCommand.d.ts +3 -8
  18. package/dist-types/commands/GetRecommendationCommand.d.ts +3 -8
  19. package/dist-types/commands/ListEfficiencyMetricsCommand.d.ts +3 -8
  20. package/dist-types/commands/ListEnrollmentStatusesCommand.d.ts +3 -8
  21. package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +3 -8
  22. package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -8
  23. package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -8
  24. package/dist-types/commands/UpdatePreferencesCommand.d.ts +3 -8
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  27. package/dist-types/runtimeConfig.d.ts +1 -1
  28. package/dist-types/runtimeConfig.native.d.ts +1 -1
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  30. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/ListEfficiencyMetricsCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/index.d.ts +1 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  44. package/package.json +8 -10
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
4
2
  import type { UpdatePreferencesRequest, UpdatePreferencesResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdatePreferencesCommandInput extends UpdatePreferencesRequest
22
19
  export interface UpdatePreferencesCommandOutput extends UpdatePreferencesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdatePreferencesCommand_base: {
25
- new (input: UpdatePreferencesCommandInput): import("@smithy/core/client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [UpdatePreferencesCommandInput]): import("@smithy/core/client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdatePreferencesCommandInput): import("@smithy/core/client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [UpdatePreferencesCommandInput]): import("@smithy/core/client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates a set of preferences for an account in order to add account-specific preferences into the service. These preferences impact how the savings associated with recommendations are presented.</p>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { CostOptimizationHubExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./models/enums";
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
17
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { CostOptimizationHubClientConfig } from "./CostOptimizationHubClien
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ CostOptimizationHubClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./CostOptimizationHubClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ CostOptimizationHubClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ CostOptimizationHubClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  GetPreferencesRequest,
10
4
  GetPreferencesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetPreferencesCommandInput extends GetPreferencesRequest {}
15
8
  export interface GetPreferencesCommandOutput
16
9
  extends GetPreferencesResponse,
@@ -21,22 +14,20 @@ declare const GetPreferencesCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  GetPreferencesCommandInput,
23
16
  GetPreferencesCommandOutput,
24
- CostOptimizationHubClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").CostOptimizationHubClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  ...[input]: [] | [GetPreferencesCommandInput]
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  GetPreferencesCommandInput,
32
25
  GetPreferencesCommandOutput,
33
- CostOptimizationHubClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").CostOptimizationHubClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class GetPreferencesCommand extends GetPreferencesCommand_base {
42
33
  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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  GetRecommendationRequest,
10
4
  GetRecommendationResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetRecommendationCommandInput
15
8
  extends GetRecommendationRequest {}
16
9
  export interface GetRecommendationCommandOutput
@@ -22,22 +15,20 @@ declare const GetRecommendationCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetRecommendationCommandInput,
24
17
  GetRecommendationCommandOutput,
25
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetRecommendationCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetRecommendationCommandInput,
33
26
  GetRecommendationCommandOutput,
34
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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 GetRecommendationCommand extends GetRecommendationCommand_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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  ListEfficiencyMetricsRequest,
10
4
  ListEfficiencyMetricsResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListEfficiencyMetricsCommandInput
15
8
  extends ListEfficiencyMetricsRequest {}
16
9
  export interface ListEfficiencyMetricsCommandOutput
@@ -22,22 +15,20 @@ declare const ListEfficiencyMetricsCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListEfficiencyMetricsCommandInput,
24
17
  ListEfficiencyMetricsCommandOutput,
25
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ListEfficiencyMetricsCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListEfficiencyMetricsCommandInput,
33
26
  ListEfficiencyMetricsCommandOutput,
34
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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 ListEfficiencyMetricsCommand extends ListEfficiencyMetricsCommand_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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  ListEnrollmentStatusesRequest,
10
4
  ListEnrollmentStatusesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListEnrollmentStatusesCommandInput
15
8
  extends ListEnrollmentStatusesRequest {}
16
9
  export interface ListEnrollmentStatusesCommandOutput
@@ -22,22 +15,20 @@ declare const ListEnrollmentStatusesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListEnrollmentStatusesCommandInput,
24
17
  ListEnrollmentStatusesCommandOutput,
25
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [ListEnrollmentStatusesCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListEnrollmentStatusesCommandInput,
33
26
  ListEnrollmentStatusesCommandOutput,
34
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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 ListEnrollmentStatusesCommand extends ListEnrollmentStatusesCommand_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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  ListRecommendationSummariesRequest,
10
4
  ListRecommendationSummariesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListRecommendationSummariesCommandInput
15
8
  extends ListRecommendationSummariesRequest {}
16
9
  export interface ListRecommendationSummariesCommandOutput
@@ -22,22 +15,20 @@ declare const ListRecommendationSummariesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListRecommendationSummariesCommandInput,
24
17
  ListRecommendationSummariesCommandOutput,
25
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ListRecommendationSummariesCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListRecommendationSummariesCommandInput,
33
26
  ListRecommendationSummariesCommandOutput,
34
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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 ListRecommendationSummariesCommand extends ListRecommendationSummariesCommand_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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  ListRecommendationsRequest,
10
4
  ListRecommendationsResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListRecommendationsCommandInput
15
8
  extends ListRecommendationsRequest {}
16
9
  export interface ListRecommendationsCommandOutput
@@ -22,22 +15,20 @@ declare const ListRecommendationsCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListRecommendationsCommandInput,
24
17
  ListRecommendationsCommandOutput,
25
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [ListRecommendationsCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListRecommendationsCommandInput,
33
26
  ListRecommendationsCommandOutput,
34
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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 ListRecommendationsCommand extends ListRecommendationsCommand_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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
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
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
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
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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: {
@@ -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
- CostOptimizationHubClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../CostOptimizationHubClient";
8
2
  import {
9
3
  UpdatePreferencesRequest,
10
4
  UpdatePreferencesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdatePreferencesCommandInput
15
8
  extends UpdatePreferencesRequest {}
16
9
  export interface UpdatePreferencesCommandOutput
@@ -22,22 +15,20 @@ declare const UpdatePreferencesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  UpdatePreferencesCommandInput,
24
17
  UpdatePreferencesCommandOutput,
25
- CostOptimizationHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").CostOptimizationHubClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [UpdatePreferencesCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  UpdatePreferencesCommandInput,
33
26
  UpdatePreferencesCommandOutput,
34
- CostOptimizationHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").CostOptimizationHubClientResolvedConfig,
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 UpdatePreferencesCommand extends UpdatePreferencesCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CostOptimizationHubExtensionConfiguration } 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: CostOptimizationHubClientConfig
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-cost-optimization-hub",
3
3
  "description": "AWS SDK for JavaScript Cost Optimization Hub 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": {