@aws-sdk/client-bcm-dashboards 3.1077.0 → 3.1079.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 (53) hide show
  1. package/dist-cjs/index.js +23 -153
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateDashboardCommand.js +2 -14
  4. package/dist-es/commands/CreateScheduledReportCommand.js +2 -14
  5. package/dist-es/commands/DeleteDashboardCommand.js +2 -14
  6. package/dist-es/commands/DeleteScheduledReportCommand.js +2 -14
  7. package/dist-es/commands/ExecuteScheduledReportCommand.js +2 -14
  8. package/dist-es/commands/GetDashboardCommand.js +2 -14
  9. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/GetScheduledReportCommand.js +2 -14
  11. package/dist-es/commands/ListDashboardsCommand.js +2 -14
  12. package/dist-es/commands/ListScheduledReportsCommand.js +2 -14
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  14. package/dist-es/commands/TagResourceCommand.js +2 -14
  15. package/dist-es/commands/UntagResourceCommand.js +2 -14
  16. package/dist-es/commands/UpdateDashboardCommand.js +2 -14
  17. package/dist-es/commands/UpdateScheduledReportCommand.js +2 -14
  18. package/dist-es/index.js +1 -0
  19. package/dist-types/commandBuilder.d.ts +18 -0
  20. package/dist-types/commands/CreateDashboardCommand.d.ts +3 -8
  21. package/dist-types/commands/CreateScheduledReportCommand.d.ts +3 -8
  22. package/dist-types/commands/DeleteDashboardCommand.d.ts +3 -8
  23. package/dist-types/commands/DeleteScheduledReportCommand.d.ts +3 -8
  24. package/dist-types/commands/ExecuteScheduledReportCommand.d.ts +3 -8
  25. package/dist-types/commands/GetDashboardCommand.d.ts +3 -8
  26. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  27. package/dist-types/commands/GetScheduledReportCommand.d.ts +3 -8
  28. package/dist-types/commands/ListDashboardsCommand.d.ts +3 -8
  29. package/dist-types/commands/ListScheduledReportsCommand.d.ts +3 -8
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  31. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  32. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  33. package/dist-types/commands/UpdateDashboardCommand.d.ts +3 -8
  34. package/dist-types/commands/UpdateScheduledReportCommand.d.ts +3 -8
  35. package/dist-types/index.d.ts +1 -0
  36. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  37. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/CreateScheduledReportCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DeleteScheduledReportCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/ExecuteScheduledReportCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/GetScheduledReportCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/ListScheduledReportsCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/UpdateScheduledReportCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/index.d.ts +1 -0
  53. 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");
@@ -66,7 +67,7 @@ const commonParams = {
66
67
  Region: { type: "builtInParams", name: "region" },
67
68
  };
68
69
 
69
- var version = "3.1076.0";
70
+ var version = "3.1078.0";
70
71
  var packageInfo = {
71
72
  version: version};
72
73
 
@@ -913,184 +914,53 @@ class BCMDashboardsClient extends Client {
913
914
  }
914
915
  }
915
916
 
916
- class CreateDashboardCommand extends Command
917
- .classBuilder()
918
- .ep(commonParams)
919
- .m(function (Command, cs, config, o) {
920
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
921
- })
922
- .s("AWSBCMDashboardsService", "CreateDashboard", {})
923
- .n("BCMDashboardsClient", "CreateDashboardCommand")
924
- .sc(CreateDashboard$)
925
- .build() {
917
+ const command = makeBuilder(commonParams, "AWSBCMDashboardsService", "BCMDashboardsClient", getEndpointPlugin);
918
+ const _ep0 = {};
919
+ const _mw0 = (Command, cs, config, o) => [];
920
+
921
+ class CreateDashboardCommand extends command(_ep0, _mw0, "CreateDashboard", CreateDashboard$) {
926
922
  }
927
923
 
928
- class CreateScheduledReportCommand extends Command
929
- .classBuilder()
930
- .ep(commonParams)
931
- .m(function (Command, cs, config, o) {
932
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
933
- })
934
- .s("AWSBCMDashboardsService", "CreateScheduledReport", {})
935
- .n("BCMDashboardsClient", "CreateScheduledReportCommand")
936
- .sc(CreateScheduledReport$)
937
- .build() {
924
+ class CreateScheduledReportCommand extends command(_ep0, _mw0, "CreateScheduledReport", CreateScheduledReport$) {
938
925
  }
939
926
 
940
- class DeleteDashboardCommand extends Command
941
- .classBuilder()
942
- .ep(commonParams)
943
- .m(function (Command, cs, config, o) {
944
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
945
- })
946
- .s("AWSBCMDashboardsService", "DeleteDashboard", {})
947
- .n("BCMDashboardsClient", "DeleteDashboardCommand")
948
- .sc(DeleteDashboard$)
949
- .build() {
927
+ class DeleteDashboardCommand extends command(_ep0, _mw0, "DeleteDashboard", DeleteDashboard$) {
950
928
  }
951
929
 
952
- class DeleteScheduledReportCommand extends Command
953
- .classBuilder()
954
- .ep(commonParams)
955
- .m(function (Command, cs, config, o) {
956
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
957
- })
958
- .s("AWSBCMDashboardsService", "DeleteScheduledReport", {})
959
- .n("BCMDashboardsClient", "DeleteScheduledReportCommand")
960
- .sc(DeleteScheduledReport$)
961
- .build() {
930
+ class DeleteScheduledReportCommand extends command(_ep0, _mw0, "DeleteScheduledReport", DeleteScheduledReport$) {
962
931
  }
963
932
 
964
- class ExecuteScheduledReportCommand extends Command
965
- .classBuilder()
966
- .ep(commonParams)
967
- .m(function (Command, cs, config, o) {
968
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
969
- })
970
- .s("AWSBCMDashboardsService", "ExecuteScheduledReport", {})
971
- .n("BCMDashboardsClient", "ExecuteScheduledReportCommand")
972
- .sc(ExecuteScheduledReport$)
973
- .build() {
933
+ class ExecuteScheduledReportCommand extends command(_ep0, _mw0, "ExecuteScheduledReport", ExecuteScheduledReport$) {
974
934
  }
975
935
 
976
- class GetDashboardCommand extends Command
977
- .classBuilder()
978
- .ep(commonParams)
979
- .m(function (Command, cs, config, o) {
980
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
981
- })
982
- .s("AWSBCMDashboardsService", "GetDashboard", {})
983
- .n("BCMDashboardsClient", "GetDashboardCommand")
984
- .sc(GetDashboard$)
985
- .build() {
936
+ class GetDashboardCommand extends command(_ep0, _mw0, "GetDashboard", GetDashboard$) {
986
937
  }
987
938
 
988
- class GetResourcePolicyCommand extends Command
989
- .classBuilder()
990
- .ep(commonParams)
991
- .m(function (Command, cs, config, o) {
992
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
993
- })
994
- .s("AWSBCMDashboardsService", "GetResourcePolicy", {})
995
- .n("BCMDashboardsClient", "GetResourcePolicyCommand")
996
- .sc(GetResourcePolicy$)
997
- .build() {
939
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
998
940
  }
999
941
 
1000
- class GetScheduledReportCommand extends Command
1001
- .classBuilder()
1002
- .ep(commonParams)
1003
- .m(function (Command, cs, config, o) {
1004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1005
- })
1006
- .s("AWSBCMDashboardsService", "GetScheduledReport", {})
1007
- .n("BCMDashboardsClient", "GetScheduledReportCommand")
1008
- .sc(GetScheduledReport$)
1009
- .build() {
942
+ class GetScheduledReportCommand extends command(_ep0, _mw0, "GetScheduledReport", GetScheduledReport$) {
1010
943
  }
1011
944
 
1012
- class ListDashboardsCommand extends Command
1013
- .classBuilder()
1014
- .ep(commonParams)
1015
- .m(function (Command, cs, config, o) {
1016
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1017
- })
1018
- .s("AWSBCMDashboardsService", "ListDashboards", {})
1019
- .n("BCMDashboardsClient", "ListDashboardsCommand")
1020
- .sc(ListDashboards$)
1021
- .build() {
945
+ class ListDashboardsCommand extends command(_ep0, _mw0, "ListDashboards", ListDashboards$) {
1022
946
  }
1023
947
 
1024
- class ListScheduledReportsCommand extends Command
1025
- .classBuilder()
1026
- .ep(commonParams)
1027
- .m(function (Command, cs, config, o) {
1028
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1029
- })
1030
- .s("AWSBCMDashboardsService", "ListScheduledReports", {})
1031
- .n("BCMDashboardsClient", "ListScheduledReportsCommand")
1032
- .sc(ListScheduledReports$)
1033
- .build() {
948
+ class ListScheduledReportsCommand extends command(_ep0, _mw0, "ListScheduledReports", ListScheduledReports$) {
1034
949
  }
1035
950
 
1036
- class ListTagsForResourceCommand extends Command
1037
- .classBuilder()
1038
- .ep(commonParams)
1039
- .m(function (Command, cs, config, o) {
1040
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1041
- })
1042
- .s("AWSBCMDashboardsService", "ListTagsForResource", {})
1043
- .n("BCMDashboardsClient", "ListTagsForResourceCommand")
1044
- .sc(ListTagsForResource$)
1045
- .build() {
951
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1046
952
  }
1047
953
 
1048
- class TagResourceCommand extends Command
1049
- .classBuilder()
1050
- .ep(commonParams)
1051
- .m(function (Command, cs, config, o) {
1052
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1053
- })
1054
- .s("AWSBCMDashboardsService", "TagResource", {})
1055
- .n("BCMDashboardsClient", "TagResourceCommand")
1056
- .sc(TagResource$)
1057
- .build() {
954
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1058
955
  }
1059
956
 
1060
- class UntagResourceCommand extends Command
1061
- .classBuilder()
1062
- .ep(commonParams)
1063
- .m(function (Command, cs, config, o) {
1064
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1065
- })
1066
- .s("AWSBCMDashboardsService", "UntagResource", {})
1067
- .n("BCMDashboardsClient", "UntagResourceCommand")
1068
- .sc(UntagResource$)
1069
- .build() {
957
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1070
958
  }
1071
959
 
1072
- class UpdateDashboardCommand extends Command
1073
- .classBuilder()
1074
- .ep(commonParams)
1075
- .m(function (Command, cs, config, o) {
1076
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1077
- })
1078
- .s("AWSBCMDashboardsService", "UpdateDashboard", {})
1079
- .n("BCMDashboardsClient", "UpdateDashboardCommand")
1080
- .sc(UpdateDashboard$)
1081
- .build() {
960
+ class UpdateDashboardCommand extends command(_ep0, _mw0, "UpdateDashboard", UpdateDashboard$) {
1082
961
  }
1083
962
 
1084
- class UpdateScheduledReportCommand extends Command
1085
- .classBuilder()
1086
- .ep(commonParams)
1087
- .m(function (Command, cs, config, o) {
1088
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1089
- })
1090
- .s("AWSBCMDashboardsService", "UpdateScheduledReport", {})
1091
- .n("BCMDashboardsClient", "UpdateScheduledReportCommand")
1092
- .sc(UpdateScheduledReport$)
1093
- .build() {
963
+ class UpdateScheduledReportCommand extends command(_ep0, _mw0, "UpdateScheduledReport", UpdateScheduledReport$) {
1094
964
  }
1095
965
 
1096
966
  const paginateListDashboards = createPaginator(BCMDashboardsClient, ListDashboardsCommand, "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, "AWSBCMDashboardsService", "BCMDashboardsClient", 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 { CreateDashboard$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDashboardCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "CreateDashboard", {})
13
- .n("BCMDashboardsClient", "CreateDashboardCommand")
14
- .sc(CreateDashboard$)
15
- .build() {
3
+ export class CreateDashboardCommand extends command(_ep0, _mw0, "CreateDashboard", CreateDashboard$) {
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 { CreateScheduledReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateScheduledReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "CreateScheduledReport", {})
13
- .n("BCMDashboardsClient", "CreateScheduledReportCommand")
14
- .sc(CreateScheduledReport$)
15
- .build() {
3
+ export class CreateScheduledReportCommand extends command(_ep0, _mw0, "CreateScheduledReport", CreateScheduledReport$) {
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 { DeleteDashboard$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDashboardCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "DeleteDashboard", {})
13
- .n("BCMDashboardsClient", "DeleteDashboardCommand")
14
- .sc(DeleteDashboard$)
15
- .build() {
3
+ export class DeleteDashboardCommand extends command(_ep0, _mw0, "DeleteDashboard", DeleteDashboard$) {
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 { DeleteScheduledReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteScheduledReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "DeleteScheduledReport", {})
13
- .n("BCMDashboardsClient", "DeleteScheduledReportCommand")
14
- .sc(DeleteScheduledReport$)
15
- .build() {
3
+ export class DeleteScheduledReportCommand extends command(_ep0, _mw0, "DeleteScheduledReport", DeleteScheduledReport$) {
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 { ExecuteScheduledReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExecuteScheduledReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "ExecuteScheduledReport", {})
13
- .n("BCMDashboardsClient", "ExecuteScheduledReportCommand")
14
- .sc(ExecuteScheduledReport$)
15
- .build() {
3
+ export class ExecuteScheduledReportCommand extends command(_ep0, _mw0, "ExecuteScheduledReport", ExecuteScheduledReport$) {
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 { GetDashboard$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDashboardCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "GetDashboard", {})
13
- .n("BCMDashboardsClient", "GetDashboardCommand")
14
- .sc(GetDashboard$)
15
- .build() {
3
+ export class GetDashboardCommand extends command(_ep0, _mw0, "GetDashboard", GetDashboard$) {
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "GetResourcePolicy", {})
13
- .n("BCMDashboardsClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
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 { GetScheduledReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetScheduledReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "GetScheduledReport", {})
13
- .n("BCMDashboardsClient", "GetScheduledReportCommand")
14
- .sc(GetScheduledReport$)
15
- .build() {
3
+ export class GetScheduledReportCommand extends command(_ep0, _mw0, "GetScheduledReport", GetScheduledReport$) {
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 { ListDashboards$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDashboardsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "ListDashboards", {})
13
- .n("BCMDashboardsClient", "ListDashboardsCommand")
14
- .sc(ListDashboards$)
15
- .build() {
3
+ export class ListDashboardsCommand extends command(_ep0, _mw0, "ListDashboards", ListDashboards$) {
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 { ListScheduledReports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListScheduledReportsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "ListScheduledReports", {})
13
- .n("BCMDashboardsClient", "ListScheduledReportsCommand")
14
- .sc(ListScheduledReports$)
15
- .build() {
3
+ export class ListScheduledReportsCommand extends command(_ep0, _mw0, "ListScheduledReports", ListScheduledReports$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "ListTagsForResource", {})
13
- .n("BCMDashboardsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "TagResource", {})
13
- .n("BCMDashboardsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "UntagResource", {})
13
- .n("BCMDashboardsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateDashboard$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDashboardCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "UpdateDashboard", {})
13
- .n("BCMDashboardsClient", "UpdateDashboardCommand")
14
- .sc(UpdateDashboard$)
15
- .build() {
3
+ export class UpdateDashboardCommand extends command(_ep0, _mw0, "UpdateDashboard", UpdateDashboard$) {
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 { UpdateScheduledReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateScheduledReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBCMDashboardsService", "UpdateScheduledReport", {})
13
- .n("BCMDashboardsClient", "UpdateScheduledReportCommand")
14
- .sc(UpdateScheduledReport$)
15
- .build() {
3
+ export class UpdateScheduledReportCommand extends command(_ep0, _mw0, "UpdateScheduledReport", UpdateScheduledReport$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BCMDashboardsClient";
2
2
  export * from "./BCMDashboards";
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 { BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BCMDashboardsClient";
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, BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BCMDashboardsClientResolvedConfig, 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 { BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMDashboardsClient";
4
2
  import type { CreateDashboardRequest, CreateDashboardResponse } 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 CreateDashboardCommandInput extends CreateDashboardRequest {
22
19
  export interface CreateDashboardCommandOutput extends CreateDashboardResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDashboardCommand_base: {
25
- new (input: CreateDashboardCommandInput): import("@smithy/core/client").CommandImpl<CreateDashboardCommandInput, CreateDashboardCommandOutput, BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDashboardCommandInput): import("@smithy/core/client").CommandImpl<CreateDashboardCommandInput, CreateDashboardCommandOutput, BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDashboardCommandInput): import("@smithy/core/client").CommandImpl<CreateDashboardCommandInput, CreateDashboardCommandOutput, import("..").BCMDashboardsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDashboardCommandInput): import("@smithy/core/client").CommandImpl<CreateDashboardCommandInput, CreateDashboardCommandOutput, import("..").BCMDashboardsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new dashboard that can contain multiple widgets displaying cost and usage data. You can add custom widgets or use predefined widgets, arranging them in your preferred layout.</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 { BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BCMDashboardsClient";
4
2
  import type { CreateScheduledReportRequest, CreateScheduledReportResponse } 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 CreateScheduledReportCommandInput extends CreateScheduledReport
22
19
  export interface CreateScheduledReportCommandOutput extends CreateScheduledReportResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateScheduledReportCommand_base: {
25
- new (input: CreateScheduledReportCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduledReportCommandInput, CreateScheduledReportCommandOutput, BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateScheduledReportCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduledReportCommandInput, CreateScheduledReportCommandOutput, BCMDashboardsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateScheduledReportCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduledReportCommandInput, CreateScheduledReportCommandOutput, import("..").BCMDashboardsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateScheduledReportCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduledReportCommandInput, CreateScheduledReportCommandOutput, import("..").BCMDashboardsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new scheduled report for a dashboard. A scheduled report automatically generates and delivers dashboard snapshots on a recurring schedule. Reports are delivered within 15 minutes of the scheduled delivery time.</p>