@aws-sdk/client-cost-optimization-hub 3.1077.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 (32) hide show
  1. package/dist-cjs/index.js +16 -83
  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-types/commandBuilder.d.ts +18 -0
  13. package/dist-types/commands/GetPreferencesCommand.d.ts +3 -8
  14. package/dist-types/commands/GetRecommendationCommand.d.ts +3 -8
  15. package/dist-types/commands/ListEfficiencyMetricsCommand.d.ts +3 -8
  16. package/dist-types/commands/ListEnrollmentStatusesCommand.d.ts +3 -8
  17. package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +3 -8
  18. package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -8
  19. package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -8
  20. package/dist-types/commands/UpdatePreferencesCommand.d.ts +3 -8
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  23. package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +7 -16
  24. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +7 -16
  25. package/dist-types/ts3.4/commands/ListEfficiencyMetricsCommand.d.ts +7 -16
  26. package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +7 -16
  27. package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +7 -16
  28. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +7 -16
  29. package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/index.d.ts +1 -0
  32. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1152,100 +1153,32 @@ class CostOptimizationHubClient extends Client {
1152
1153
  }
1153
1154
  }
1154
1155
 
1155
- class GetPreferencesCommand extends Command
1156
- .classBuilder()
1157
- .ep(commonParams)
1158
- .m(function (Command, cs, config, o) {
1159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
- })
1161
- .s("CostOptimizationHubService", "GetPreferences", {})
1162
- .n("CostOptimizationHubClient", "GetPreferencesCommand")
1163
- .sc(GetPreferences$)
1164
- .build() {
1156
+ const command = makeBuilder(commonParams, "CostOptimizationHubService", "CostOptimizationHubClient", getEndpointPlugin);
1157
+ const _ep0 = {};
1158
+ const _mw0 = (Command, cs, config, o) => [];
1159
+
1160
+ class GetPreferencesCommand extends command(_ep0, _mw0, "GetPreferences", GetPreferences$) {
1165
1161
  }
1166
1162
 
1167
- class GetRecommendationCommand extends Command
1168
- .classBuilder()
1169
- .ep(commonParams)
1170
- .m(function (Command, cs, config, o) {
1171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
- })
1173
- .s("CostOptimizationHubService", "GetRecommendation", {})
1174
- .n("CostOptimizationHubClient", "GetRecommendationCommand")
1175
- .sc(GetRecommendation$)
1176
- .build() {
1163
+ class GetRecommendationCommand extends command(_ep0, _mw0, "GetRecommendation", GetRecommendation$) {
1177
1164
  }
1178
1165
 
1179
- class ListEfficiencyMetricsCommand extends Command
1180
- .classBuilder()
1181
- .ep(commonParams)
1182
- .m(function (Command, cs, config, o) {
1183
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
- })
1185
- .s("CostOptimizationHubService", "ListEfficiencyMetrics", {})
1186
- .n("CostOptimizationHubClient", "ListEfficiencyMetricsCommand")
1187
- .sc(ListEfficiencyMetrics$)
1188
- .build() {
1166
+ class ListEfficiencyMetricsCommand extends command(_ep0, _mw0, "ListEfficiencyMetrics", ListEfficiencyMetrics$) {
1189
1167
  }
1190
1168
 
1191
- class ListEnrollmentStatusesCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("CostOptimizationHubService", "ListEnrollmentStatuses", {})
1198
- .n("CostOptimizationHubClient", "ListEnrollmentStatusesCommand")
1199
- .sc(ListEnrollmentStatuses$)
1200
- .build() {
1169
+ class ListEnrollmentStatusesCommand extends command(_ep0, _mw0, "ListEnrollmentStatuses", ListEnrollmentStatuses$) {
1201
1170
  }
1202
1171
 
1203
- class ListRecommendationsCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("CostOptimizationHubService", "ListRecommendations", {})
1210
- .n("CostOptimizationHubClient", "ListRecommendationsCommand")
1211
- .sc(ListRecommendations$)
1212
- .build() {
1172
+ class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
1213
1173
  }
1214
1174
 
1215
- class ListRecommendationSummariesCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("CostOptimizationHubService", "ListRecommendationSummaries", {})
1222
- .n("CostOptimizationHubClient", "ListRecommendationSummariesCommand")
1223
- .sc(ListRecommendationSummaries$)
1224
- .build() {
1175
+ class ListRecommendationSummariesCommand extends command(_ep0, _mw0, "ListRecommendationSummaries", ListRecommendationSummaries$) {
1225
1176
  }
1226
1177
 
1227
- class UpdateEnrollmentStatusCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("CostOptimizationHubService", "UpdateEnrollmentStatus", {})
1234
- .n("CostOptimizationHubClient", "UpdateEnrollmentStatusCommand")
1235
- .sc(UpdateEnrollmentStatus$)
1236
- .build() {
1178
+ class UpdateEnrollmentStatusCommand extends command(_ep0, _mw0, "UpdateEnrollmentStatus", UpdateEnrollmentStatus$) {
1237
1179
  }
1238
1180
 
1239
- class UpdatePreferencesCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("CostOptimizationHubService", "UpdatePreferences", {})
1246
- .n("CostOptimizationHubClient", "UpdatePreferencesCommand")
1247
- .sc(UpdatePreferences$)
1248
- .build() {
1181
+ class UpdatePreferencesCommand extends command(_ep0, _mw0, "UpdatePreferences", UpdatePreferences$) {
1249
1182
  }
1250
1183
 
1251
1184
  const paginateListEfficiencyMetrics = createPaginator(CostOptimizationHubClient, ListEfficiencyMetricsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "CostOptimizationHubService", "CostOptimizationHubClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPreferencesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "GetPreferences", {})
13
- .n("CostOptimizationHubClient", "GetPreferencesCommand")
14
- .sc(GetPreferences$)
15
- .build() {
3
+ export class GetPreferencesCommand extends command(_ep0, _mw0, "GetPreferences", GetPreferences$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRecommendation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRecommendationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "GetRecommendation", {})
13
- .n("CostOptimizationHubClient", "GetRecommendationCommand")
14
- .sc(GetRecommendation$)
15
- .build() {
3
+ export class GetRecommendationCommand extends command(_ep0, _mw0, "GetRecommendation", GetRecommendation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEfficiencyMetrics$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEfficiencyMetricsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "ListEfficiencyMetrics", {})
13
- .n("CostOptimizationHubClient", "ListEfficiencyMetricsCommand")
14
- .sc(ListEfficiencyMetrics$)
15
- .build() {
3
+ export class ListEfficiencyMetricsCommand extends command(_ep0, _mw0, "ListEfficiencyMetrics", ListEfficiencyMetrics$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEnrollmentStatuses$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEnrollmentStatusesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "ListEnrollmentStatuses", {})
13
- .n("CostOptimizationHubClient", "ListEnrollmentStatusesCommand")
14
- .sc(ListEnrollmentStatuses$)
15
- .build() {
3
+ export class ListEnrollmentStatusesCommand extends command(_ep0, _mw0, "ListEnrollmentStatuses", ListEnrollmentStatuses$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRecommendationSummaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRecommendationSummariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "ListRecommendationSummaries", {})
13
- .n("CostOptimizationHubClient", "ListRecommendationSummariesCommand")
14
- .sc(ListRecommendationSummaries$)
15
- .build() {
3
+ export class ListRecommendationSummariesCommand extends command(_ep0, _mw0, "ListRecommendationSummaries", ListRecommendationSummaries$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRecommendations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRecommendationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "ListRecommendations", {})
13
- .n("CostOptimizationHubClient", "ListRecommendationsCommand")
14
- .sc(ListRecommendations$)
15
- .build() {
3
+ export class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEnrollmentStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEnrollmentStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "UpdateEnrollmentStatus", {})
13
- .n("CostOptimizationHubClient", "UpdateEnrollmentStatusCommand")
14
- .sc(UpdateEnrollmentStatus$)
15
- .build() {
3
+ export class UpdateEnrollmentStatusCommand extends command(_ep0, _mw0, "UpdateEnrollmentStatus", UpdateEnrollmentStatus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdatePreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePreferencesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CostOptimizationHubService", "UpdatePreferences", {})
13
- .n("CostOptimizationHubClient", "UpdatePreferencesCommand")
14
- .sc(UpdatePreferences$)
15
- .build() {
3
+ export class UpdatePreferencesCommand extends command(_ep0, _mw0, "UpdatePreferences", UpdatePreferences$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CostOptimizationHubClient";
2
2
  export * from "./CostOptimizationHub";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CostOptimizationHubClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -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 { GetPreferencesRequest, GetPreferencesResponse } 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 GetPreferencesCommandInput extends GetPreferencesRequest {
22
19
  export interface GetPreferencesCommandOutput extends GetPreferencesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetPreferencesCommand_base: {
25
- new (input: GetPreferencesCommandInput): import("@smithy/core/client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetPreferencesCommandInput]): import("@smithy/core/client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetPreferencesCommandInput): import("@smithy/core/client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetPreferencesCommandInput]): import("@smithy/core/client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns 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—estimated savings after discounts or estimated savings before discounts, for example.</p>
@@ -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 { GetRecommendationRequest, GetRecommendationResponse } 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 GetRecommendationCommandInput extends GetRecommendationRequest
22
19
  export interface GetRecommendationCommandOutput extends GetRecommendationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetRecommendationCommand_base: {
25
- new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRecommendationCommandInput): import("@smithy/core/client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns both the current and recommended resource configuration and the estimated cost impact for a recommendation.</p> <p>The <code>recommendationId</code> is only valid for up to a maximum of 24 hours as recommendations are refreshed daily. To retrieve the <code>recommendationId</code>, use the <code>ListRecommendations</code> API.</p>
@@ -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 { ListEfficiencyMetricsRequest, ListEfficiencyMetricsResponse } 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 ListEfficiencyMetricsCommandInput extends ListEfficiencyMetrics
22
19
  export interface ListEfficiencyMetricsCommandOutput extends ListEfficiencyMetricsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListEfficiencyMetricsCommand_base: {
25
- new (input: ListEfficiencyMetricsCommandInput): import("@smithy/core/client").CommandImpl<ListEfficiencyMetricsCommandInput, ListEfficiencyMetricsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListEfficiencyMetricsCommandInput): import("@smithy/core/client").CommandImpl<ListEfficiencyMetricsCommandInput, ListEfficiencyMetricsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListEfficiencyMetricsCommandInput): import("@smithy/core/client").CommandImpl<ListEfficiencyMetricsCommandInput, ListEfficiencyMetricsCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListEfficiencyMetricsCommandInput): import("@smithy/core/client").CommandImpl<ListEfficiencyMetricsCommandInput, ListEfficiencyMetricsCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns cost efficiency metrics aggregated over time and optionally grouped by a specified dimension. The metrics provide insights into your cost optimization progress by tracking estimated savings, spending, and measures how effectively you're optimizing your Cloud resources.</p> <p>The operation supports both daily and monthly time granularities and allows grouping results by account ID, Amazon Web Services Region. Results are returned as time-series data, enabling you to analyze trends in your cost optimization performance over the specified time period.</p>
@@ -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 { ListEnrollmentStatusesRequest, ListEnrollmentStatusesResponse } 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 ListEnrollmentStatusesCommandInput extends ListEnrollmentStatus
22
19
  export interface ListEnrollmentStatusesCommandOutput extends ListEnrollmentStatusesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListEnrollmentStatusesCommand_base: {
25
- new (input: ListEnrollmentStatusesCommandInput): import("@smithy/core/client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListEnrollmentStatusesCommandInput]): import("@smithy/core/client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListEnrollmentStatusesCommandInput): import("@smithy/core/client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListEnrollmentStatusesCommandInput]): import("@smithy/core/client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the enrollment status for an account. It can also return the list of accounts that are enrolled under the organization.</p>
@@ -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 { ListRecommendationSummariesRequest, ListRecommendationSummariesResponse } 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 ListRecommendationSummariesCommandInput extends ListRecommendat
22
19
  export interface ListRecommendationSummariesCommandOutput extends ListRecommendationSummariesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListRecommendationSummariesCommand_base: {
25
- new (input: ListRecommendationSummariesCommandInput): import("@smithy/core/client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListRecommendationSummariesCommandInput): import("@smithy/core/client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListRecommendationSummariesCommandInput): import("@smithy/core/client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListRecommendationSummariesCommandInput): import("@smithy/core/client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a concise representation of savings estimates for resources. Also returns de-duped savings across different types of recommendations.</p> <note> <p>The following filters are not supported for this API: <code>recommendationIds</code>, <code>resourceArns</code>, and <code>resourceIds</code>.</p> </note>
@@ -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 { ListRecommendationsRequest, ListRecommendationsResponse } 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 ListRecommendationsCommandInput extends ListRecommendationsRequ
22
19
  export interface ListRecommendationsCommandOutput extends ListRecommendationsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListRecommendationsCommand_base: {
25
- new (input: ListRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListRecommendationsCommandInput]): import("@smithy/core/client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListRecommendationsCommandInput]): import("@smithy/core/client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a list of recommendations.</p>
@@ -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 { UpdateEnrollmentStatusRequest, UpdateEnrollmentStatusResponse } 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 UpdateEnrollmentStatusCommandInput extends UpdateEnrollmentStat
22
19
  export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentStatusResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateEnrollmentStatusCommand_base: {
25
- new (input: UpdateEnrollmentStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateEnrollmentStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateEnrollmentStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateEnrollmentStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, import("..").CostOptimizationHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization Hub service.</p> <p>If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.</p> <p>You must have the appropriate permissions to opt in to Cost Optimization Hub and to view its recommendations. When you opt in, Cost Optimization Hub automatically creates a service-linked role in your account to access its data.</p>
@@ -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";
@@ -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";
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.1077.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,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@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",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {