@aws-sdk/client-bcm-dashboards 3.870.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 (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +277 -0
  3. package/dist-cjs/BCMDashboards.js +29 -0
  4. package/dist-cjs/BCMDashboardsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateDashboardCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteDashboardCommand.js +26 -0
  9. package/dist-cjs/commands/GetDashboardCommand.js +26 -0
  10. package/dist-cjs/commands/GetResourcePolicyCommand.js +26 -0
  11. package/dist-cjs/commands/ListDashboardsCommand.js +26 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UpdateDashboardCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  18. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  19. package/dist-cjs/endpoint/ruleset.js +7 -0
  20. package/dist-cjs/extensionConfiguration.js +2 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/BCMDashboardsServiceException.js +12 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +181 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListDashboardsPaginator.js +7 -0
  27. package/dist-cjs/pagination/index.js +5 -0
  28. package/dist-cjs/protocols/Aws_json1_0.js +587 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +56 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +34 -0
  33. package/dist-cjs/runtimeExtensions.js +13 -0
  34. package/dist-es/BCMDashboards.js +25 -0
  35. package/dist-es/BCMDashboardsClient.js +48 -0
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  38. package/dist-es/commands/CreateDashboardCommand.js +22 -0
  39. package/dist-es/commands/DeleteDashboardCommand.js +22 -0
  40. package/dist-es/commands/GetDashboardCommand.js +22 -0
  41. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  42. package/dist-es/commands/ListDashboardsCommand.js +22 -0
  43. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  44. package/dist-es/commands/TagResourceCommand.js +22 -0
  45. package/dist-es/commands/UntagResourceCommand.js +22 -0
  46. package/dist-es/commands/UpdateDashboardCommand.js +22 -0
  47. package/dist-es/commands/index.js +9 -0
  48. package/dist-es/endpoint/EndpointParameters.js +11 -0
  49. package/dist-es/endpoint/endpointResolver.js +14 -0
  50. package/dist-es/endpoint/ruleset.js +4 -0
  51. package/dist-es/extensionConfiguration.js +1 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/BCMDashboardsServiceException.js +8 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +172 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListDashboardsPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +2 -0
  59. package/dist-es/protocols/Aws_json1_0.js +566 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +51 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +30 -0
  64. package/dist-es/runtimeExtensions.js +9 -0
  65. package/dist-types/BCMDashboards.d.ts +74 -0
  66. package/dist-types/BCMDashboardsClient.d.ts +196 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  69. package/dist-types/commands/CreateDashboardCommand.d.ts +328 -0
  70. package/dist-types/commands/DeleteDashboardCommand.d.ts +99 -0
  71. package/dist-types/commands/GetDashboardCommand.d.ts +332 -0
  72. package/dist-types/commands/GetResourcePolicyCommand.d.ts +104 -0
  73. package/dist-types/commands/ListDashboardsCommand.d.ts +117 -0
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +113 -0
  75. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  76. package/dist-types/commands/UntagResourceCommand.d.ts +101 -0
  77. package/dist-types/commands/UpdateDashboardCommand.d.ts +324 -0
  78. package/dist-types/commands/index.d.ts +9 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/extensionConfiguration.d.ts +9 -0
  83. package/dist-types/index.d.ts +14 -0
  84. package/dist-types/models/BCMDashboardsServiceException.d.ts +14 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +1006 -0
  87. package/dist-types/pagination/Interfaces.d.ts +8 -0
  88. package/dist-types/pagination/ListDashboardsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +2 -0
  90. package/dist-types/protocols/Aws_json1_0.d.ts +83 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  92. package/dist-types/runtimeConfig.d.ts +50 -0
  93. package/dist-types/runtimeConfig.native.d.ts +49 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/BCMDashboards.d.ts +161 -0
  97. package/dist-types/ts3.4/BCMDashboardsClient.d.ts +174 -0
  98. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  99. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  100. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +50 -0
  102. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +47 -0
  103. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  108. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  111. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  112. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/ts3.4/index.d.ts +9 -0
  115. package/dist-types/ts3.4/models/BCMDashboardsServiceException.d.ts +9 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +381 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  121. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  127. package/package.json +99 -0
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateDashboardCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class CreateDashboardCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "CreateDashboard", {})
20
+ .n("BCMDashboardsClient", "CreateDashboardCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_CreateDashboardCommand)
23
+ .de(Aws_json1_0_1.de_CreateDashboardCommand)
24
+ .build() {
25
+ }
26
+ exports.CreateDashboardCommand = CreateDashboardCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDashboardCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DeleteDashboardCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "DeleteDashboard", {})
20
+ .n("BCMDashboardsClient", "DeleteDashboardCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteDashboardCommand)
23
+ .de(Aws_json1_0_1.de_DeleteDashboardCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteDashboardCommand = DeleteDashboardCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDashboardCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class GetDashboardCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "GetDashboard", {})
20
+ .n("BCMDashboardsClient", "GetDashboardCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_GetDashboardCommand)
23
+ .de(Aws_json1_0_1.de_GetDashboardCommand)
24
+ .build() {
25
+ }
26
+ exports.GetDashboardCommand = GetDashboardCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetResourcePolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class GetResourcePolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "GetResourcePolicy", {})
20
+ .n("BCMDashboardsClient", "GetResourcePolicyCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_GetResourcePolicyCommand)
23
+ .de(Aws_json1_0_1.de_GetResourcePolicyCommand)
24
+ .build() {
25
+ }
26
+ exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDashboardsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListDashboardsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "ListDashboards", {})
20
+ .n("BCMDashboardsClient", "ListDashboardsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListDashboardsCommand)
23
+ .de(Aws_json1_0_1.de_ListDashboardsCommand)
24
+ .build() {
25
+ }
26
+ exports.ListDashboardsCommand = ListDashboardsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "ListTagsForResource", {})
20
+ .n("BCMDashboardsClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListTagsForResourceCommand)
23
+ .de(Aws_json1_0_1.de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "TagResource", {})
20
+ .n("BCMDashboardsClient", "TagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_TagResourceCommand)
23
+ .de(Aws_json1_0_1.de_TagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "UntagResource", {})
20
+ .n("BCMDashboardsClient", "UntagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_UntagResourceCommand)
23
+ .de(Aws_json1_0_1.de_UntagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDashboardCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UpdateDashboardCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSBCMDashboardsService", "UpdateDashboard", {})
20
+ .n("BCMDashboardsClient", "UpdateDashboardCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_UpdateDashboardCommand)
23
+ .de(Aws_json1_0_1.de_UpdateDashboardCommand)
24
+ .build() {
25
+ }
26
+ exports.UpdateDashboardCommand = UpdateDashboardCommand;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateDashboardCommand"), exports);
5
+ tslib_1.__exportStar(require("./DeleteDashboardCommand"), exports);
6
+ tslib_1.__exportStar(require("./GetDashboardCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
8
+ tslib_1.__exportStar(require("./ListDashboardsCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
10
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
11
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
12
+ tslib_1.__exportStar(require("./UpdateDashboardCommand"), exports);
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return Object.assign(options, {
6
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
7
+ defaultSigningName: "bcm-dashboards",
8
+ });
9
+ };
10
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
11
+ exports.commonParams = {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseFIPS"],
10
+ });
11
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
13
+ endpointParams: endpointParams,
14
+ logger: context.logger,
15
+ }));
16
+ };
17
+ exports.defaultEndpointResolver = defaultEndpointResolver;
18
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const l = "ref";
5
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: {}, headers: {} }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://bcm-dashboards-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }, { endpoint: { url: "https://bcm-dashboards.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BCMDashboardsServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./BCMDashboardsClient"), exports);
6
+ tslib_1.__exportStar(require("./BCMDashboards"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var BCMDashboardsServiceException_1 = require("./models/BCMDashboardsServiceException");
11
+ Object.defineProperty(exports, "BCMDashboardsServiceException", { enumerable: true, get: function () { return BCMDashboardsServiceException_1.BCMDashboardsServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BCMDashboardsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class BCMDashboardsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, BCMDashboardsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.BCMDashboardsServiceException = BCMDashboardsServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,181 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QueryParameters = exports.ResourceNotFoundException = exports.DashboardType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.DateTimeType = exports.MetricName = exports.GroupDefinitionType = exports.Granularity = exports.Dimension = exports.MatchOption = exports.DisplayConfig = exports.VisualType = exports.AccessDeniedException = void 0;
4
+ const BCMDashboardsServiceException_1 = require("./BCMDashboardsServiceException");
5
+ class AccessDeniedException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ exports.VisualType = {
19
+ BAR: "BAR",
20
+ LINE: "LINE",
21
+ STACK: "STACK",
22
+ };
23
+ var DisplayConfig;
24
+ (function (DisplayConfig) {
25
+ DisplayConfig.visit = (value, visitor) => {
26
+ if (value.graph !== undefined)
27
+ return visitor.graph(value.graph);
28
+ if (value.table !== undefined)
29
+ return visitor.table(value.table);
30
+ return visitor._(value.$unknown[0], value.$unknown[1]);
31
+ };
32
+ })(DisplayConfig || (exports.DisplayConfig = DisplayConfig = {}));
33
+ exports.MatchOption = {
34
+ ABSENT: "ABSENT",
35
+ CASE_INSENSITIVE: "CASE_INSENSITIVE",
36
+ CASE_SENSITIVE: "CASE_SENSITIVE",
37
+ CONTAINS: "CONTAINS",
38
+ ENDS_WITH: "ENDS_WITH",
39
+ EQUALS: "EQUALS",
40
+ GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
41
+ STARTS_WITH: "STARTS_WITH",
42
+ };
43
+ exports.Dimension = {
44
+ AZ: "AZ",
45
+ BILLING_ENTITY: "BILLING_ENTITY",
46
+ CACHE_ENGINE: "CACHE_ENGINE",
47
+ COST_CATEGORY_NAME: "COST_CATEGORY_NAME",
48
+ DATABASE_ENGINE: "DATABASE_ENGINE",
49
+ DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION",
50
+ INSTANCE_TYPE: "INSTANCE_TYPE",
51
+ INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY",
52
+ LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME",
53
+ LINKED_ACCOUNT: "LINKED_ACCOUNT",
54
+ OPERATING_SYSTEM: "OPERATING_SYSTEM",
55
+ OPERATION: "OPERATION",
56
+ PLATFORM: "PLATFORM",
57
+ PURCHASE_TYPE: "PURCHASE_TYPE",
58
+ RECORD_TYPE: "RECORD_TYPE",
59
+ REGION: "REGION",
60
+ RESERVATION_ID: "RESERVATION_ID",
61
+ RESOURCE_ID: "RESOURCE_ID",
62
+ SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE",
63
+ SCOPE: "SCOPE",
64
+ SERVICE: "SERVICE",
65
+ SUBSCRIPTION_ID: "SUBSCRIPTION_ID",
66
+ TAG_KEY: "TAG_KEY",
67
+ TENANCY: "TENANCY",
68
+ USAGE_TYPE: "USAGE_TYPE",
69
+ USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP",
70
+ };
71
+ exports.Granularity = {
72
+ DAILY: "DAILY",
73
+ HOURLY: "HOURLY",
74
+ MONTHLY: "MONTHLY",
75
+ };
76
+ exports.GroupDefinitionType = {
77
+ COST_CATEGORY: "COST_CATEGORY",
78
+ DIMENSION: "DIMENSION",
79
+ TAG: "TAG",
80
+ };
81
+ exports.MetricName = {
82
+ AmortizedCost: "AmortizedCost",
83
+ BlendedCost: "BlendedCost",
84
+ Cost: "Cost",
85
+ Hour: "Hour",
86
+ NetAmortizedCost: "NetAmortizedCost",
87
+ NetUnblendedCost: "NetUnblendedCost",
88
+ NormalizedUsageAmount: "NormalizedUsageAmount",
89
+ SpendCoveredBySavingsPlans: "SpendCoveredBySavingsPlans",
90
+ UnblendedCost: "UnblendedCost",
91
+ Unit: "Unit",
92
+ UsageQuantity: "UsageQuantity",
93
+ };
94
+ exports.DateTimeType = {
95
+ ABSOLUTE: "ABSOLUTE",
96
+ RELATIVE: "RELATIVE",
97
+ };
98
+ class InternalServerException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
99
+ name = "InternalServerException";
100
+ $fault = "server";
101
+ constructor(opts) {
102
+ super({
103
+ name: "InternalServerException",
104
+ $fault: "server",
105
+ ...opts,
106
+ });
107
+ Object.setPrototypeOf(this, InternalServerException.prototype);
108
+ }
109
+ }
110
+ exports.InternalServerException = InternalServerException;
111
+ class ServiceQuotaExceededException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
112
+ name = "ServiceQuotaExceededException";
113
+ $fault = "client";
114
+ constructor(opts) {
115
+ super({
116
+ name: "ServiceQuotaExceededException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
121
+ }
122
+ }
123
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
124
+ class ThrottlingException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
125
+ name = "ThrottlingException";
126
+ $fault = "client";
127
+ constructor(opts) {
128
+ super({
129
+ name: "ThrottlingException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
134
+ }
135
+ }
136
+ exports.ThrottlingException = ThrottlingException;
137
+ class ValidationException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
138
+ name = "ValidationException";
139
+ $fault = "client";
140
+ constructor(opts) {
141
+ super({
142
+ name: "ValidationException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ Object.setPrototypeOf(this, ValidationException.prototype);
147
+ }
148
+ }
149
+ exports.ValidationException = ValidationException;
150
+ exports.DashboardType = {
151
+ CUSTOM: "CUSTOM",
152
+ };
153
+ class ResourceNotFoundException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
154
+ name = "ResourceNotFoundException";
155
+ $fault = "client";
156
+ constructor(opts) {
157
+ super({
158
+ name: "ResourceNotFoundException",
159
+ $fault: "client",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
163
+ }
164
+ }
165
+ exports.ResourceNotFoundException = ResourceNotFoundException;
166
+ var QueryParameters;
167
+ (function (QueryParameters) {
168
+ QueryParameters.visit = (value, visitor) => {
169
+ if (value.costAndUsage !== undefined)
170
+ return visitor.costAndUsage(value.costAndUsage);
171
+ if (value.savingsPlansCoverage !== undefined)
172
+ return visitor.savingsPlansCoverage(value.savingsPlansCoverage);
173
+ if (value.savingsPlansUtilization !== undefined)
174
+ return visitor.savingsPlansUtilization(value.savingsPlansUtilization);
175
+ if (value.reservationCoverage !== undefined)
176
+ return visitor.reservationCoverage(value.reservationCoverage);
177
+ if (value.reservationUtilization !== undefined)
178
+ return visitor.reservationUtilization(value.reservationUtilization);
179
+ return visitor._(value.$unknown[0], value.$unknown[1]);
180
+ };
181
+ })(QueryParameters || (exports.QueryParameters = QueryParameters = {}));
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDashboards = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const BCMDashboardsClient_1 = require("../BCMDashboardsClient");
6
+ const ListDashboardsCommand_1 = require("../commands/ListDashboardsCommand");
7
+ exports.paginateListDashboards = (0, core_1.createPaginator)(BCMDashboardsClient_1.BCMDashboardsClient, ListDashboardsCommand_1.ListDashboardsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListDashboardsPaginator"), exports);