@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,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
+ const url_parser_1 = require("@smithy/url-parser");
7
+ const util_base64_1 = require("@smithy/util-base64");
8
+ const util_utf8_1 = require("@smithy/util-utf8");
9
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
11
+ const getRuntimeConfig = (config) => {
12
+ return {
13
+ apiVersion: "2025-08-18",
14
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
15
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
16
+ disableHostPrefix: config?.disableHostPrefix ?? false,
17
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
18
+ extensions: config?.extensions ?? [],
19
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultBCMDashboardsHttpAuthSchemeProvider,
20
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
21
+ {
22
+ schemeId: "aws.auth#sigv4",
23
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
24
+ signer: new core_1.AwsSdkSigV4Signer(),
25
+ },
26
+ ],
27
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
28
+ serviceId: config?.serviceId ?? "BCM Dashboards",
29
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
31
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
32
+ };
33
+ };
34
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
8
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
+ const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
10
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
+ return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
12
+ };
13
+ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -0,0 +1,25 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { BCMDashboardsClient } from "./BCMDashboardsClient";
3
+ import { CreateDashboardCommand, } from "./commands/CreateDashboardCommand";
4
+ import { DeleteDashboardCommand, } from "./commands/DeleteDashboardCommand";
5
+ import { GetDashboardCommand, } from "./commands/GetDashboardCommand";
6
+ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
7
+ import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
8
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
9
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
10
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
11
+ import { UpdateDashboardCommand, } from "./commands/UpdateDashboardCommand";
12
+ const commands = {
13
+ CreateDashboardCommand,
14
+ DeleteDashboardCommand,
15
+ GetDashboardCommand,
16
+ GetResourcePolicyCommand,
17
+ ListDashboardsCommand,
18
+ ListTagsForResourceCommand,
19
+ TagResourceCommand,
20
+ UntagResourceCommand,
21
+ UpdateDashboardCommand,
22
+ };
23
+ export class BCMDashboards extends BCMDashboardsClient {
24
+ }
25
+ createAggregatedClient(commands, BCMDashboards);
@@ -0,0 +1,48 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
+ import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { defaultBCMDashboardsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
12
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
13
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
+ export { __Client };
16
+ export class BCMDashboardsClient extends __Client {
17
+ config;
18
+ constructor(...[configuration]) {
19
+ const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
22
+ const _config_1 = resolveClientEndpointParameters(_config_0);
23
+ const _config_2 = resolveUserAgentConfig(_config_1);
24
+ const _config_3 = resolveRetryConfig(_config_2);
25
+ const _config_4 = resolveRegionConfig(_config_3);
26
+ const _config_5 = resolveHostHeaderConfig(_config_4);
27
+ const _config_6 = resolveEndpointConfig(_config_5);
28
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
+ this.config = _config_8;
31
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
32
+ this.middlewareStack.use(getRetryPlugin(this.config));
33
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
34
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
35
+ this.middlewareStack.use(getLoggerPlugin(this.config));
36
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
37
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
38
+ httpAuthSchemeParametersProvider: defaultBCMDashboardsHttpAuthSchemeParametersProvider,
39
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
40
+ "aws.auth#sigv4": config.credentials,
41
+ }),
42
+ }));
43
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
44
+ }
45
+ destroy() {
46
+ super.destroy();
47
+ }
48
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,41 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultBCMDashboardsHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "bcm-dashboards",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultBCMDashboardsHttpAuthSchemeProvider = (authParameters) => {
28
+ const options = [];
29
+ switch (authParameters.operation) {
30
+ default: {
31
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
32
+ }
33
+ }
34
+ return options;
35
+ };
36
+ export const resolveHttpAuthSchemeConfig = (config) => {
37
+ const config_0 = resolveAwsSdkSigV4Config(config);
38
+ return Object.assign(config_0, {
39
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
40
+ });
41
+ };
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateDashboardCommand, se_CreateDashboardCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "CreateDashboard", {})
17
+ .n("BCMDashboardsClient", "CreateDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateDashboardCommand)
20
+ .de(de_CreateDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteDashboardCommand, se_DeleteDashboardCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "DeleteDashboard", {})
17
+ .n("BCMDashboardsClient", "DeleteDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteDashboardCommand)
20
+ .de(de_DeleteDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDashboardCommand, se_GetDashboardCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "GetDashboard", {})
17
+ .n("BCMDashboardsClient", "GetDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetDashboardCommand)
20
+ .de(de_GetDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetResourcePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "GetResourcePolicy", {})
17
+ .n("BCMDashboardsClient", "GetResourcePolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetResourcePolicyCommand)
20
+ .de(de_GetResourcePolicyCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDashboardsCommand, se_ListDashboardsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListDashboardsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "ListDashboards", {})
17
+ .n("BCMDashboardsClient", "ListDashboardsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDashboardsCommand)
20
+ .de(de_ListDashboardsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "ListTagsForResource", {})
17
+ .n("BCMDashboardsClient", "ListTagsForResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTagsForResourceCommand)
20
+ .de(de_ListTagsForResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "TagResource", {})
17
+ .n("BCMDashboardsClient", "TagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_TagResourceCommand)
20
+ .de(de_TagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "UntagResource", {})
17
+ .n("BCMDashboardsClient", "UntagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UntagResourceCommand)
20
+ .de(de_UntagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateDashboardCommand, se_UpdateDashboardCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdateDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBCMDashboardsService", "UpdateDashboard", {})
17
+ .n("BCMDashboardsClient", "UpdateDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateDashboardCommand)
20
+ .de(de_UpdateDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,9 @@
1
+ export * from "./CreateDashboardCommand";
2
+ export * from "./DeleteDashboardCommand";
3
+ export * from "./GetDashboardCommand";
4
+ export * from "./GetResourcePolicyCommand";
5
+ export * from "./ListDashboardsCommand";
6
+ export * from "./ListTagsForResourceCommand";
7
+ export * from "./TagResourceCommand";
8
+ export * from "./UntagResourceCommand";
9
+ export * from "./UpdateDashboardCommand";
@@ -0,0 +1,11 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
4
+ defaultSigningName: "bcm-dashboards",
5
+ });
6
+ };
7
+ export const commonParams = {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ };
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const l = "ref";
2
+ 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" }];
3
+ 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 }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./BCMDashboardsClient";
2
+ export * from "./BCMDashboards";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { BCMDashboardsServiceException } from "./models/BCMDashboardsServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class BCMDashboardsServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, BCMDashboardsServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";