@aws-sdk/client-route53globalresolver 3.942.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 (245) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +581 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +2674 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +56 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +36 -0
  11. package/dist-es/Route53GlobalResolver.js +101 -0
  12. package/dist-es/Route53GlobalResolverClient.js +50 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/commands/AssociateHostedZoneCommand.js +16 -0
  16. package/dist-es/commands/BatchCreateFirewallRuleCommand.js +16 -0
  17. package/dist-es/commands/BatchDeleteFirewallRuleCommand.js +16 -0
  18. package/dist-es/commands/BatchUpdateFirewallRuleCommand.js +16 -0
  19. package/dist-es/commands/CreateAccessSourceCommand.js +16 -0
  20. package/dist-es/commands/CreateAccessTokenCommand.js +16 -0
  21. package/dist-es/commands/CreateDNSViewCommand.js +16 -0
  22. package/dist-es/commands/CreateFirewallDomainListCommand.js +16 -0
  23. package/dist-es/commands/CreateFirewallRuleCommand.js +16 -0
  24. package/dist-es/commands/CreateGlobalResolverCommand.js +16 -0
  25. package/dist-es/commands/DeleteAccessSourceCommand.js +16 -0
  26. package/dist-es/commands/DeleteAccessTokenCommand.js +16 -0
  27. package/dist-es/commands/DeleteDNSViewCommand.js +16 -0
  28. package/dist-es/commands/DeleteFirewallDomainListCommand.js +16 -0
  29. package/dist-es/commands/DeleteFirewallRuleCommand.js +16 -0
  30. package/dist-es/commands/DeleteGlobalResolverCommand.js +16 -0
  31. package/dist-es/commands/DisableDNSViewCommand.js +16 -0
  32. package/dist-es/commands/DisassociateHostedZoneCommand.js +16 -0
  33. package/dist-es/commands/EnableDNSViewCommand.js +16 -0
  34. package/dist-es/commands/GetAccessSourceCommand.js +16 -0
  35. package/dist-es/commands/GetAccessTokenCommand.js +16 -0
  36. package/dist-es/commands/GetDNSViewCommand.js +16 -0
  37. package/dist-es/commands/GetFirewallDomainListCommand.js +16 -0
  38. package/dist-es/commands/GetFirewallRuleCommand.js +16 -0
  39. package/dist-es/commands/GetGlobalResolverCommand.js +16 -0
  40. package/dist-es/commands/GetHostedZoneAssociationCommand.js +16 -0
  41. package/dist-es/commands/GetManagedFirewallDomainListCommand.js +16 -0
  42. package/dist-es/commands/ImportFirewallDomainsCommand.js +16 -0
  43. package/dist-es/commands/ListAccessSourcesCommand.js +16 -0
  44. package/dist-es/commands/ListAccessTokensCommand.js +16 -0
  45. package/dist-es/commands/ListDNSViewsCommand.js +16 -0
  46. package/dist-es/commands/ListFirewallDomainListsCommand.js +16 -0
  47. package/dist-es/commands/ListFirewallDomainsCommand.js +16 -0
  48. package/dist-es/commands/ListFirewallRulesCommand.js +16 -0
  49. package/dist-es/commands/ListGlobalResolversCommand.js +16 -0
  50. package/dist-es/commands/ListHostedZoneAssociationsCommand.js +16 -0
  51. package/dist-es/commands/ListManagedFirewallDomainListsCommand.js +16 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  53. package/dist-es/commands/TagResourceCommand.js +16 -0
  54. package/dist-es/commands/UntagResourceCommand.js +16 -0
  55. package/dist-es/commands/UpdateAccessSourceCommand.js +16 -0
  56. package/dist-es/commands/UpdateAccessTokenCommand.js +16 -0
  57. package/dist-es/commands/UpdateDNSViewCommand.js +16 -0
  58. package/dist-es/commands/UpdateFirewallDomainsCommand.js +16 -0
  59. package/dist-es/commands/UpdateFirewallRuleCommand.js +16 -0
  60. package/dist-es/commands/UpdateGlobalResolverCommand.js +16 -0
  61. package/dist-es/commands/UpdateHostedZoneAssociationCommand.js +16 -0
  62. package/dist-es/commands/index.js +47 -0
  63. package/dist-es/endpoint/EndpointParameters.js +11 -0
  64. package/dist-es/endpoint/endpointResolver.js +14 -0
  65. package/dist-es/endpoint/ruleset.js +4 -0
  66. package/dist-es/extensionConfiguration.js +1 -0
  67. package/dist-es/index.js +7 -0
  68. package/dist-es/models/Route53GlobalResolverServiceException.js +8 -0
  69. package/dist-es/models/enums.js +74 -0
  70. package/dist-es/models/errors.js +117 -0
  71. package/dist-es/models/models_0.js +1 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListAccessSourcesPaginator.js +4 -0
  74. package/dist-es/pagination/ListAccessTokensPaginator.js +4 -0
  75. package/dist-es/pagination/ListDNSViewsPaginator.js +4 -0
  76. package/dist-es/pagination/ListFirewallDomainListsPaginator.js +4 -0
  77. package/dist-es/pagination/ListFirewallDomainsPaginator.js +4 -0
  78. package/dist-es/pagination/ListFirewallRulesPaginator.js +4 -0
  79. package/dist-es/pagination/ListGlobalResolversPaginator.js +4 -0
  80. package/dist-es/pagination/ListHostedZoneAssociationsPaginator.js +4 -0
  81. package/dist-es/pagination/ListManagedFirewallDomainListsPaginator.js +4 -0
  82. package/dist-es/pagination/index.js +10 -0
  83. package/dist-es/runtimeConfig.browser.js +34 -0
  84. package/dist-es/runtimeConfig.js +51 -0
  85. package/dist-es/runtimeConfig.native.js +11 -0
  86. package/dist-es/runtimeConfig.shared.js +32 -0
  87. package/dist-es/runtimeExtensions.js +9 -0
  88. package/dist-es/schemas/schemas_0.js +1651 -0
  89. package/dist-types/Route53GlobalResolver.d.ts +342 -0
  90. package/dist-types/Route53GlobalResolverClient.d.ts +243 -0
  91. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  92. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  93. package/dist-types/commands/AssociateHostedZoneCommand.d.ts +104 -0
  94. package/dist-types/commands/BatchCreateFirewallRuleCommand.d.ts +156 -0
  95. package/dist-types/commands/BatchDeleteFirewallRuleCommand.d.ts +113 -0
  96. package/dist-types/commands/BatchUpdateFirewallRuleCommand.d.ts +151 -0
  97. package/dist-types/commands/CreateAccessSourceCommand.d.ts +144 -0
  98. package/dist-types/commands/CreateAccessTokenCommand.d.ts +109 -0
  99. package/dist-types/commands/CreateDNSViewCommand.d.ts +115 -0
  100. package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +109 -0
  101. package/dist-types/commands/CreateFirewallRuleCommand.d.ts +124 -0
  102. package/dist-types/commands/CreateGlobalResolverCommand.d.ts +116 -0
  103. package/dist-types/commands/DeleteAccessSourceCommand.d.ts +101 -0
  104. package/dist-types/commands/DeleteAccessTokenCommand.d.ts +91 -0
  105. package/dist-types/commands/DeleteDNSViewCommand.d.ts +103 -0
  106. package/dist-types/commands/DeleteFirewallDomainListCommand.d.ts +95 -0
  107. package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +108 -0
  108. package/dist-types/commands/DeleteGlobalResolverCommand.d.ts +107 -0
  109. package/dist-types/commands/DisableDNSViewCommand.d.ts +103 -0
  110. package/dist-types/commands/DisassociateHostedZoneCommand.d.ts +100 -0
  111. package/dist-types/commands/EnableDNSViewCommand.d.ts +103 -0
  112. package/dist-types/commands/GetAccessSourceCommand.d.ts +98 -0
  113. package/dist-types/commands/GetAccessTokenCommand.d.ts +99 -0
  114. package/dist-types/commands/GetDNSViewCommand.d.ts +100 -0
  115. package/dist-types/commands/GetFirewallDomainListCommand.d.ts +99 -0
  116. package/dist-types/commands/GetFirewallRuleCommand.d.ts +105 -0
  117. package/dist-types/commands/GetGlobalResolverCommand.d.ts +104 -0
  118. package/dist-types/commands/GetHostedZoneAssociationCommand.d.ts +96 -0
  119. package/dist-types/commands/GetManagedFirewallDomainListCommand.d.ts +92 -0
  120. package/dist-types/commands/ImportFirewallDomainsCommand.d.ts +96 -0
  121. package/dist-types/commands/ListAccessSourcesCommand.d.ts +106 -0
  122. package/dist-types/commands/ListAccessTokensCommand.d.ts +109 -0
  123. package/dist-types/commands/ListDNSViewsCommand.d.ts +107 -0
  124. package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +103 -0
  125. package/dist-types/commands/ListFirewallDomainsCommand.d.ts +94 -0
  126. package/dist-types/commands/ListFirewallRulesCommand.d.ts +117 -0
  127. package/dist-types/commands/ListGlobalResolversCommand.d.ts +107 -0
  128. package/dist-types/commands/ListHostedZoneAssociationsCommand.d.ts +103 -0
  129. package/dist-types/commands/ListManagedFirewallDomainListsCommand.d.ts +96 -0
  130. package/dist-types/commands/ListTagsForResourceCommand.d.ts +79 -0
  131. package/dist-types/commands/TagResourceCommand.d.ts +84 -0
  132. package/dist-types/commands/UntagResourceCommand.d.ts +81 -0
  133. package/dist-types/commands/UpdateAccessSourceCommand.d.ts +108 -0
  134. package/dist-types/commands/UpdateAccessTokenCommand.d.ts +94 -0
  135. package/dist-types/commands/UpdateDNSViewCommand.d.ts +108 -0
  136. package/dist-types/commands/UpdateFirewallDomainsCommand.d.ts +98 -0
  137. package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +119 -0
  138. package/dist-types/commands/UpdateGlobalResolverCommand.d.ts +110 -0
  139. package/dist-types/commands/UpdateHostedZoneAssociationCommand.d.ts +100 -0
  140. package/dist-types/commands/index.d.ts +47 -0
  141. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  142. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  143. package/dist-types/endpoint/ruleset.d.ts +2 -0
  144. package/dist-types/extensionConfiguration.d.ts +9 -0
  145. package/dist-types/index.d.ts +16 -0
  146. package/dist-types/models/Route53GlobalResolverServiceException.d.ts +14 -0
  147. package/dist-types/models/enums.d.ts +194 -0
  148. package/dist-types/models/errors.d.ts +162 -0
  149. package/dist-types/models/models_0.d.ts +3784 -0
  150. package/dist-types/pagination/Interfaces.d.ts +8 -0
  151. package/dist-types/pagination/ListAccessSourcesPaginator.d.ts +7 -0
  152. package/dist-types/pagination/ListAccessTokensPaginator.d.ts +7 -0
  153. package/dist-types/pagination/ListDNSViewsPaginator.d.ts +7 -0
  154. package/dist-types/pagination/ListFirewallDomainListsPaginator.d.ts +7 -0
  155. package/dist-types/pagination/ListFirewallDomainsPaginator.d.ts +7 -0
  156. package/dist-types/pagination/ListFirewallRulesPaginator.d.ts +7 -0
  157. package/dist-types/pagination/ListGlobalResolversPaginator.d.ts +7 -0
  158. package/dist-types/pagination/ListHostedZoneAssociationsPaginator.d.ts +7 -0
  159. package/dist-types/pagination/ListManagedFirewallDomainListsPaginator.d.ts +7 -0
  160. package/dist-types/pagination/index.d.ts +10 -0
  161. package/dist-types/runtimeConfig.browser.d.ts +51 -0
  162. package/dist-types/runtimeConfig.d.ts +51 -0
  163. package/dist-types/runtimeConfig.native.d.ts +50 -0
  164. package/dist-types/runtimeConfig.shared.d.ts +22 -0
  165. package/dist-types/runtimeExtensions.d.ts +17 -0
  166. package/dist-types/schemas/schemas_0.d.ts +192 -0
  167. package/dist-types/ts3.4/Route53GlobalResolver.d.ts +809 -0
  168. package/dist-types/ts3.4/Route53GlobalResolverClient.d.ts +408 -0
  169. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  170. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  171. package/dist-types/ts3.4/commands/AssociateHostedZoneCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/BatchCreateFirewallRuleCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/BatchDeleteFirewallRuleCommand.d.ts +51 -0
  174. package/dist-types/ts3.4/commands/BatchUpdateFirewallRuleCommand.d.ts +51 -0
  175. package/dist-types/ts3.4/commands/CreateAccessSourceCommand.d.ts +51 -0
  176. package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +50 -0
  177. package/dist-types/ts3.4/commands/CreateDNSViewCommand.d.ts +47 -0
  178. package/dist-types/ts3.4/commands/CreateFirewallDomainListCommand.d.ts +51 -0
  179. package/dist-types/ts3.4/commands/CreateFirewallRuleCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/CreateGlobalResolverCommand.d.ts +51 -0
  181. package/dist-types/ts3.4/commands/DeleteAccessSourceCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +50 -0
  183. package/dist-types/ts3.4/commands/DeleteDNSViewCommand.d.ts +47 -0
  184. package/dist-types/ts3.4/commands/DeleteFirewallDomainListCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/DeleteFirewallRuleCommand.d.ts +51 -0
  186. package/dist-types/ts3.4/commands/DeleteGlobalResolverCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/DisableDNSViewCommand.d.ts +47 -0
  188. package/dist-types/ts3.4/commands/DisassociateHostedZoneCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/EnableDNSViewCommand.d.ts +47 -0
  190. package/dist-types/ts3.4/commands/GetAccessSourceCommand.d.ts +50 -0
  191. package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +47 -0
  192. package/dist-types/ts3.4/commands/GetDNSViewCommand.d.ts +47 -0
  193. package/dist-types/ts3.4/commands/GetFirewallDomainListCommand.d.ts +51 -0
  194. package/dist-types/ts3.4/commands/GetFirewallRuleCommand.d.ts +50 -0
  195. package/dist-types/ts3.4/commands/GetGlobalResolverCommand.d.ts +50 -0
  196. package/dist-types/ts3.4/commands/GetHostedZoneAssociationCommand.d.ts +51 -0
  197. package/dist-types/ts3.4/commands/GetManagedFirewallDomainListCommand.d.ts +51 -0
  198. package/dist-types/ts3.4/commands/ImportFirewallDomainsCommand.d.ts +51 -0
  199. package/dist-types/ts3.4/commands/ListAccessSourcesCommand.d.ts +50 -0
  200. package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +50 -0
  201. package/dist-types/ts3.4/commands/ListDNSViewsCommand.d.ts +47 -0
  202. package/dist-types/ts3.4/commands/ListFirewallDomainListsCommand.d.ts +51 -0
  203. package/dist-types/ts3.4/commands/ListFirewallDomainsCommand.d.ts +51 -0
  204. package/dist-types/ts3.4/commands/ListFirewallRulesCommand.d.ts +50 -0
  205. package/dist-types/ts3.4/commands/ListGlobalResolversCommand.d.ts +51 -0
  206. package/dist-types/ts3.4/commands/ListHostedZoneAssociationsCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/ListManagedFirewallDomainListsCommand.d.ts +51 -0
  208. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  209. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  211. package/dist-types/ts3.4/commands/UpdateAccessSourceCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/UpdateAccessTokenCommand.d.ts +50 -0
  213. package/dist-types/ts3.4/commands/UpdateDNSViewCommand.d.ts +47 -0
  214. package/dist-types/ts3.4/commands/UpdateFirewallDomainsCommand.d.ts +51 -0
  215. package/dist-types/ts3.4/commands/UpdateFirewallRuleCommand.d.ts +51 -0
  216. package/dist-types/ts3.4/commands/UpdateGlobalResolverCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/UpdateHostedZoneAssociationCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  219. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  220. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  221. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  222. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  223. package/dist-types/ts3.4/index.d.ts +11 -0
  224. package/dist-types/ts3.4/models/Route53GlobalResolverServiceException.d.ts +9 -0
  225. package/dist-types/ts3.4/models/enums.d.ts +101 -0
  226. package/dist-types/ts3.4/models/errors.d.ts +69 -0
  227. package/dist-types/ts3.4/models/models_0.d.ts +879 -0
  228. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  229. package/dist-types/ts3.4/pagination/ListAccessSourcesPaginator.d.ts +11 -0
  230. package/dist-types/ts3.4/pagination/ListAccessTokensPaginator.d.ts +11 -0
  231. package/dist-types/ts3.4/pagination/ListDNSViewsPaginator.d.ts +11 -0
  232. package/dist-types/ts3.4/pagination/ListFirewallDomainListsPaginator.d.ts +11 -0
  233. package/dist-types/ts3.4/pagination/ListFirewallDomainsPaginator.d.ts +11 -0
  234. package/dist-types/ts3.4/pagination/ListFirewallRulesPaginator.d.ts +11 -0
  235. package/dist-types/ts3.4/pagination/ListGlobalResolversPaginator.d.ts +11 -0
  236. package/dist-types/ts3.4/pagination/ListHostedZoneAssociationsPaginator.d.ts +11 -0
  237. package/dist-types/ts3.4/pagination/ListManagedFirewallDomainListsPaginator.d.ts +11 -0
  238. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  239. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  240. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  241. package/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -0
  242. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +27 -0
  243. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  244. package/dist-types/ts3.4/schemas/schemas_0.d.ts +199 -0
  245. package/package.json +99 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const core_1 = require("@aws-sdk/core");
7
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
+ const getRuntimeConfig = (config) => {
21
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const loaderConfig = {
27
+ profile: config?.profile,
28
+ logger: clientSharedValues.logger,
29
+ };
30
+ return {
31
+ ...clientSharedValues,
32
+ ...config,
33
+ runtime: "node",
34
+ defaultsMode,
35
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
36
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
37
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
39
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
40
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
41
+ region: config?.region ??
42
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
43
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
44
+ retryMode: config?.retryMode ??
45
+ (0, node_config_provider_1.loadConfig)({
46
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
47
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
48
+ }, config),
49
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
50
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
51
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
52
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
53
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
54
+ };
55
+ };
56
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -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,36 @@
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 protocols_1 = require("@aws-sdk/core/protocols");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const url_parser_1 = require("@smithy/url-parser");
8
+ const util_base64_1 = require("@smithy/util-base64");
9
+ const util_utf8_1 = require("@smithy/util-utf8");
10
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const getRuntimeConfig = (config) => {
13
+ return {
14
+ apiVersion: "2022-09-27",
15
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
16
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
17
+ disableHostPrefix: config?.disableHostPrefix ?? false,
18
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
19
+ extensions: config?.extensions ?? [],
20
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultRoute53GlobalResolverHttpAuthSchemeProvider,
21
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
22
+ {
23
+ schemeId: "aws.auth#sigv4",
24
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
25
+ signer: new core_1.AwsSdkSigV4Signer(),
26
+ },
27
+ ],
28
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.route53globalresolver" }),
30
+ serviceId: config?.serviceId ?? "Route53GlobalResolver",
31
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
33
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
34
+ };
35
+ };
36
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,101 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { AssociateHostedZoneCommand, } from "./commands/AssociateHostedZoneCommand";
3
+ import { BatchCreateFirewallRuleCommand, } from "./commands/BatchCreateFirewallRuleCommand";
4
+ import { BatchDeleteFirewallRuleCommand, } from "./commands/BatchDeleteFirewallRuleCommand";
5
+ import { BatchUpdateFirewallRuleCommand, } from "./commands/BatchUpdateFirewallRuleCommand";
6
+ import { CreateAccessSourceCommand, } from "./commands/CreateAccessSourceCommand";
7
+ import { CreateAccessTokenCommand, } from "./commands/CreateAccessTokenCommand";
8
+ import { CreateDNSViewCommand, } from "./commands/CreateDNSViewCommand";
9
+ import { CreateFirewallDomainListCommand, } from "./commands/CreateFirewallDomainListCommand";
10
+ import { CreateFirewallRuleCommand, } from "./commands/CreateFirewallRuleCommand";
11
+ import { CreateGlobalResolverCommand, } from "./commands/CreateGlobalResolverCommand";
12
+ import { DeleteAccessSourceCommand, } from "./commands/DeleteAccessSourceCommand";
13
+ import { DeleteAccessTokenCommand, } from "./commands/DeleteAccessTokenCommand";
14
+ import { DeleteDNSViewCommand, } from "./commands/DeleteDNSViewCommand";
15
+ import { DeleteFirewallDomainListCommand, } from "./commands/DeleteFirewallDomainListCommand";
16
+ import { DeleteFirewallRuleCommand, } from "./commands/DeleteFirewallRuleCommand";
17
+ import { DeleteGlobalResolverCommand, } from "./commands/DeleteGlobalResolverCommand";
18
+ import { DisableDNSViewCommand, } from "./commands/DisableDNSViewCommand";
19
+ import { DisassociateHostedZoneCommand, } from "./commands/DisassociateHostedZoneCommand";
20
+ import { EnableDNSViewCommand, } from "./commands/EnableDNSViewCommand";
21
+ import { GetAccessSourceCommand, } from "./commands/GetAccessSourceCommand";
22
+ import { GetAccessTokenCommand, } from "./commands/GetAccessTokenCommand";
23
+ import { GetDNSViewCommand } from "./commands/GetDNSViewCommand";
24
+ import { GetFirewallDomainListCommand, } from "./commands/GetFirewallDomainListCommand";
25
+ import { GetFirewallRuleCommand, } from "./commands/GetFirewallRuleCommand";
26
+ import { GetGlobalResolverCommand, } from "./commands/GetGlobalResolverCommand";
27
+ import { GetHostedZoneAssociationCommand, } from "./commands/GetHostedZoneAssociationCommand";
28
+ import { GetManagedFirewallDomainListCommand, } from "./commands/GetManagedFirewallDomainListCommand";
29
+ import { ImportFirewallDomainsCommand, } from "./commands/ImportFirewallDomainsCommand";
30
+ import { ListAccessSourcesCommand, } from "./commands/ListAccessSourcesCommand";
31
+ import { ListAccessTokensCommand, } from "./commands/ListAccessTokensCommand";
32
+ import { ListDNSViewsCommand, } from "./commands/ListDNSViewsCommand";
33
+ import { ListFirewallDomainListsCommand, } from "./commands/ListFirewallDomainListsCommand";
34
+ import { ListFirewallDomainsCommand, } from "./commands/ListFirewallDomainsCommand";
35
+ import { ListFirewallRulesCommand, } from "./commands/ListFirewallRulesCommand";
36
+ import { ListGlobalResolversCommand, } from "./commands/ListGlobalResolversCommand";
37
+ import { ListHostedZoneAssociationsCommand, } from "./commands/ListHostedZoneAssociationsCommand";
38
+ import { ListManagedFirewallDomainListsCommand, } from "./commands/ListManagedFirewallDomainListsCommand";
39
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
40
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
41
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
42
+ import { UpdateAccessSourceCommand, } from "./commands/UpdateAccessSourceCommand";
43
+ import { UpdateAccessTokenCommand, } from "./commands/UpdateAccessTokenCommand";
44
+ import { UpdateDNSViewCommand, } from "./commands/UpdateDNSViewCommand";
45
+ import { UpdateFirewallDomainsCommand, } from "./commands/UpdateFirewallDomainsCommand";
46
+ import { UpdateFirewallRuleCommand, } from "./commands/UpdateFirewallRuleCommand";
47
+ import { UpdateGlobalResolverCommand, } from "./commands/UpdateGlobalResolverCommand";
48
+ import { UpdateHostedZoneAssociationCommand, } from "./commands/UpdateHostedZoneAssociationCommand";
49
+ import { Route53GlobalResolverClient } from "./Route53GlobalResolverClient";
50
+ const commands = {
51
+ AssociateHostedZoneCommand,
52
+ BatchCreateFirewallRuleCommand,
53
+ BatchDeleteFirewallRuleCommand,
54
+ BatchUpdateFirewallRuleCommand,
55
+ CreateAccessSourceCommand,
56
+ CreateAccessTokenCommand,
57
+ CreateDNSViewCommand,
58
+ CreateFirewallDomainListCommand,
59
+ CreateFirewallRuleCommand,
60
+ CreateGlobalResolverCommand,
61
+ DeleteAccessSourceCommand,
62
+ DeleteAccessTokenCommand,
63
+ DeleteDNSViewCommand,
64
+ DeleteFirewallDomainListCommand,
65
+ DeleteFirewallRuleCommand,
66
+ DeleteGlobalResolverCommand,
67
+ DisableDNSViewCommand,
68
+ DisassociateHostedZoneCommand,
69
+ EnableDNSViewCommand,
70
+ GetAccessSourceCommand,
71
+ GetAccessTokenCommand,
72
+ GetDNSViewCommand,
73
+ GetFirewallDomainListCommand,
74
+ GetFirewallRuleCommand,
75
+ GetGlobalResolverCommand,
76
+ GetHostedZoneAssociationCommand,
77
+ GetManagedFirewallDomainListCommand,
78
+ ImportFirewallDomainsCommand,
79
+ ListAccessSourcesCommand,
80
+ ListAccessTokensCommand,
81
+ ListDNSViewsCommand,
82
+ ListFirewallDomainListsCommand,
83
+ ListFirewallDomainsCommand,
84
+ ListFirewallRulesCommand,
85
+ ListGlobalResolversCommand,
86
+ ListHostedZoneAssociationsCommand,
87
+ ListManagedFirewallDomainListsCommand,
88
+ ListTagsForResourceCommand,
89
+ TagResourceCommand,
90
+ UntagResourceCommand,
91
+ UpdateAccessSourceCommand,
92
+ UpdateAccessTokenCommand,
93
+ UpdateDNSViewCommand,
94
+ UpdateFirewallDomainsCommand,
95
+ UpdateFirewallRuleCommand,
96
+ UpdateGlobalResolverCommand,
97
+ UpdateHostedZoneAssociationCommand,
98
+ };
99
+ export class Route53GlobalResolver extends Route53GlobalResolverClient {
100
+ }
101
+ createAggregatedClient(commands, Route53GlobalResolver);
@@ -0,0 +1,50 @@
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 { getSchemaSerdePlugin } from "@smithy/core/schema";
8
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
11
+ import { Client as __Client, } from "@smithy/smithy-client";
12
+ import { defaultRoute53GlobalResolverHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
+ export { __Client };
17
+ export class Route53GlobalResolverClient extends __Client {
18
+ config;
19
+ constructor(...[configuration]) {
20
+ const _config_0 = __getRuntimeConfig(configuration || {});
21
+ super(_config_0);
22
+ this.initConfig = _config_0;
23
+ const _config_1 = resolveClientEndpointParameters(_config_0);
24
+ const _config_2 = resolveUserAgentConfig(_config_1);
25
+ const _config_3 = resolveRetryConfig(_config_2);
26
+ const _config_4 = resolveRegionConfig(_config_3);
27
+ const _config_5 = resolveHostHeaderConfig(_config_4);
28
+ const _config_6 = resolveEndpointConfig(_config_5);
29
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
30
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
31
+ this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
34
+ this.middlewareStack.use(getRetryPlugin(this.config));
35
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
36
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
37
+ this.middlewareStack.use(getLoggerPlugin(this.config));
38
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
39
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
40
+ httpAuthSchemeParametersProvider: defaultRoute53GlobalResolverHttpAuthSchemeParametersProvider,
41
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
42
+ "aws.auth#sigv4": config.credentials,
43
+ }),
44
+ }));
45
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
46
+ }
47
+ destroy() {
48
+ super.destroy();
49
+ }
50
+ }
@@ -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 defaultRoute53GlobalResolverHttpAuthSchemeParametersProvider = 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: "route53globalresolver",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultRoute53GlobalResolverHttpAuthSchemeProvider = (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,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AssociateHostedZone } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AssociateHostedZoneCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "AssociateHostedZone", {})
13
+ .n("Route53GlobalResolverClient", "AssociateHostedZoneCommand")
14
+ .sc(AssociateHostedZone)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchCreateFirewallRule } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchCreateFirewallRuleCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "BatchCreateFirewallRule", {})
13
+ .n("Route53GlobalResolverClient", "BatchCreateFirewallRuleCommand")
14
+ .sc(BatchCreateFirewallRule)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchDeleteFirewallRule } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchDeleteFirewallRuleCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "BatchDeleteFirewallRule", {})
13
+ .n("Route53GlobalResolverClient", "BatchDeleteFirewallRuleCommand")
14
+ .sc(BatchDeleteFirewallRule)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchUpdateFirewallRule } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchUpdateFirewallRuleCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "BatchUpdateFirewallRule", {})
13
+ .n("Route53GlobalResolverClient", "BatchUpdateFirewallRuleCommand")
14
+ .sc(BatchUpdateFirewallRule)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateAccessSource } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateAccessSourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "CreateAccessSource", {})
13
+ .n("Route53GlobalResolverClient", "CreateAccessSourceCommand")
14
+ .sc(CreateAccessSource)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateAccessToken } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateAccessTokenCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "CreateAccessToken", {})
13
+ .n("Route53GlobalResolverClient", "CreateAccessTokenCommand")
14
+ .sc(CreateAccessToken)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateDNSView } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateDNSViewCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "CreateDNSView", {})
13
+ .n("Route53GlobalResolverClient", "CreateDNSViewCommand")
14
+ .sc(CreateDNSView)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateFirewallDomainList } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateFirewallDomainListCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "CreateFirewallDomainList", {})
13
+ .n("Route53GlobalResolverClient", "CreateFirewallDomainListCommand")
14
+ .sc(CreateFirewallDomainList)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateFirewallRule } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateFirewallRuleCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "CreateFirewallRule", {})
13
+ .n("Route53GlobalResolverClient", "CreateFirewallRuleCommand")
14
+ .sc(CreateFirewallRule)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateGlobalResolver } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateGlobalResolverCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "CreateGlobalResolver", {})
13
+ .n("Route53GlobalResolverClient", "CreateGlobalResolverCommand")
14
+ .sc(CreateGlobalResolver)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteAccessSource } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteAccessSourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "DeleteAccessSource", {})
13
+ .n("Route53GlobalResolverClient", "DeleteAccessSourceCommand")
14
+ .sc(DeleteAccessSource)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteAccessToken } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteAccessTokenCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "DeleteAccessToken", {})
13
+ .n("Route53GlobalResolverClient", "DeleteAccessTokenCommand")
14
+ .sc(DeleteAccessToken)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteDNSView } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteDNSViewCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "DeleteDNSView", {})
13
+ .n("Route53GlobalResolverClient", "DeleteDNSViewCommand")
14
+ .sc(DeleteDNSView)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteFirewallDomainList } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteFirewallDomainListCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("EC2DNSGlobalResolverCustomerAPI", "DeleteFirewallDomainList", {})
13
+ .n("Route53GlobalResolverClient", "DeleteFirewallDomainListCommand")
14
+ .sc(DeleteFirewallDomainList)
15
+ .build() {
16
+ }