@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,144 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateAccessSourceInput, CreateAccessSourceOutput } from "../models/models_0";
4
+ import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAccessSourceCommand}.
14
+ */
15
+ export interface CreateAccessSourceCommandInput extends CreateAccessSourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAccessSourceCommand}.
21
+ */
22
+ export interface CreateAccessSourceCommandOutput extends CreateAccessSourceOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateAccessSourceCommand_base: {
25
+ new (input: CreateAccessSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessSourceCommandInput, CreateAccessSourceCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAccessSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessSourceCommandInput, CreateAccessSourceCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an access source for a DNS view. Access sources define IP addresses or CIDR ranges that are allowed to send DNS queries to the Route 53 Global Resolver, along with the permitted DNS protocols.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Route53GlobalResolverClient, CreateAccessSourceCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
35
+ * // const { Route53GlobalResolverClient, CreateAccessSourceCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
36
+ * // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
37
+ * const config = {}; // type is Route53GlobalResolverClientConfig
38
+ * const client = new Route53GlobalResolverClient(config);
39
+ * const input = { // CreateAccessSourceInput
40
+ * cidr: "STRING_VALUE", // required
41
+ * clientToken: "STRING_VALUE",
42
+ * ipAddressType: "IPV4" || "IPV6",
43
+ * name: "STRING_VALUE",
44
+ * dnsViewId: "STRING_VALUE", // required
45
+ * protocol: "DO53" || "DOH" || "DOT", // required
46
+ * tags: { // Tags
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new CreateAccessSourceCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateAccessSourceOutput
53
+ * // arn: "STRING_VALUE", // required
54
+ * // cidr: "STRING_VALUE", // required
55
+ * // createdAt: new Date("TIMESTAMP"), // required
56
+ * // id: "STRING_VALUE", // required
57
+ * // ipAddressType: "IPV4" || "IPV6", // required
58
+ * // name: "STRING_VALUE",
59
+ * // dnsViewId: "STRING_VALUE", // required
60
+ * // protocol: "DO53" || "DOH" || "DOT", // required
61
+ * // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
62
+ * // updatedAt: new Date("TIMESTAMP"), // required
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param CreateAccessSourceCommandInput - {@link CreateAccessSourceCommandInput}
68
+ * @returns {@link CreateAccessSourceCommandOutput}
69
+ * @see {@link CreateAccessSourceCommandInput} for command's `input` shape.
70
+ * @see {@link CreateAccessSourceCommandOutput} for command's `response` shape.
71
+ * @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>An internal server error occurred. Try again later.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The specified resource was not found. Verify the resource ID and try again.</p>
84
+ *
85
+ * @throws {@link ServiceQuotaExceededException} (client fault)
86
+ * <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The input parameters are invalid. Check the parameter values and try again.</p>
93
+ *
94
+ * @throws {@link Route53GlobalResolverServiceException}
95
+ * <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
96
+ *
97
+ *
98
+ * @example CreateAccessSource example
99
+ * ```javascript
100
+ * //
101
+ * const input = {
102
+ * cidr: "85.90.183.3/30",
103
+ * clientToken: "9fas9-9usdfa-xbi8-kco",
104
+ * dnsViewId: "dnsv-123456789",
105
+ * ipAddressType: "IPV4",
106
+ * name: "My Access Source",
107
+ * protocol: "DO53",
108
+ * tags: {
109
+ * Key1: "Value1"
110
+ * }
111
+ * };
112
+ * const command = new CreateAccessSourceCommand(input);
113
+ * const response = await client.send(command);
114
+ * /* response is
115
+ * {
116
+ * arn: "arn:aws:route53globalresolver::123456789012:access-source/as-823as9d9831",
117
+ * cidr: "85.90.183.3/30",
118
+ * createdAt: "2025-10-16T14:07:45.934184715Z",
119
+ * dnsViewId: "dnsv-123456789",
120
+ * id: "as-123456789",
121
+ * ipAddressType: "IPV4",
122
+ * name: "My Access Source",
123
+ * protocol: "DO53",
124
+ * status: "CREATING",
125
+ * updatedAt: "2025-10-16T14:07:45.934184715Z"
126
+ * }
127
+ * *\/
128
+ * ```
129
+ *
130
+ * @public
131
+ */
132
+ export declare class CreateAccessSourceCommand extends CreateAccessSourceCommand_base {
133
+ /** @internal type navigation helper, not in runtime. */
134
+ protected static __types: {
135
+ api: {
136
+ input: CreateAccessSourceInput;
137
+ output: CreateAccessSourceOutput;
138
+ };
139
+ sdk: {
140
+ input: CreateAccessSourceCommandInput;
141
+ output: CreateAccessSourceCommandOutput;
142
+ };
143
+ };
144
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateAccessTokenInput, CreateAccessTokenOutput } from "../models/models_0";
4
+ import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAccessTokenCommand}.
14
+ */
15
+ export interface CreateAccessTokenCommandInput extends CreateAccessTokenInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAccessTokenCommand}.
21
+ */
22
+ export interface CreateAccessTokenCommandOutput extends CreateAccessTokenOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateAccessTokenCommand_base: {
25
+ new (input: CreateAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an access token for a DNS view. Access tokens provide token-based authentication for DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) connections to the Route 53 Global Resolver.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Route53GlobalResolverClient, CreateAccessTokenCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
35
+ * // const { Route53GlobalResolverClient, CreateAccessTokenCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
36
+ * // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
37
+ * const config = {}; // type is Route53GlobalResolverClientConfig
38
+ * const client = new Route53GlobalResolverClient(config);
39
+ * const input = { // CreateAccessTokenInput
40
+ * clientToken: "STRING_VALUE",
41
+ * dnsViewId: "STRING_VALUE", // required
42
+ * expiresAt: new Date("TIMESTAMP"),
43
+ * name: "STRING_VALUE",
44
+ * tags: { // Tags
45
+ * "<keys>": "STRING_VALUE",
46
+ * },
47
+ * };
48
+ * const command = new CreateAccessTokenCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateAccessTokenOutput
51
+ * // id: "STRING_VALUE", // required
52
+ * // arn: "STRING_VALUE", // required
53
+ * // clientToken: "STRING_VALUE",
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // dnsViewId: "STRING_VALUE", // required
56
+ * // expiresAt: new Date("TIMESTAMP"), // required
57
+ * // name: "STRING_VALUE",
58
+ * // status: "CREATING" || "OPERATIONAL" || "DELETING", // required
59
+ * // value: "STRING_VALUE", // required
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param CreateAccessTokenCommandInput - {@link CreateAccessTokenCommandInput}
65
+ * @returns {@link CreateAccessTokenCommandOutput}
66
+ * @see {@link CreateAccessTokenCommandInput} for command's `input` shape.
67
+ * @see {@link CreateAccessTokenCommandOutput} for command's `response` shape.
68
+ * @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>An internal server error occurred. Try again later.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The specified resource was not found. Verify the resource ID and try again.</p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input parameters are invalid. Check the parameter values and try again.</p>
90
+ *
91
+ * @throws {@link Route53GlobalResolverServiceException}
92
+ * <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class CreateAccessTokenCommand extends CreateAccessTokenCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: CreateAccessTokenInput;
102
+ output: CreateAccessTokenOutput;
103
+ };
104
+ sdk: {
105
+ input: CreateAccessTokenCommandInput;
106
+ output: CreateAccessTokenCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDNSViewInput, CreateDNSViewOutput } from "../models/models_0";
4
+ import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDNSViewCommand}.
14
+ */
15
+ export interface CreateDNSViewCommandInput extends CreateDNSViewInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDNSViewCommand}.
21
+ */
22
+ export interface CreateDNSViewCommandOutput extends CreateDNSViewOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateDNSViewCommand_base: {
25
+ new (input: CreateDNSViewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDNSViewCommandInput, CreateDNSViewCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateDNSViewCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDNSViewCommandInput, CreateDNSViewCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a DNS view within a Route 53 Global Resolver. A DNS view models end users, user groups, networks, and devices, and serves as a parent resource that holds configurations controlling access, authorization, DNS firewall rules, and forwarding rules.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Route53GlobalResolverClient, CreateDNSViewCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
35
+ * // const { Route53GlobalResolverClient, CreateDNSViewCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
36
+ * // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
37
+ * const config = {}; // type is Route53GlobalResolverClientConfig
38
+ * const client = new Route53GlobalResolverClient(config);
39
+ * const input = { // CreateDNSViewInput
40
+ * globalResolverId: "STRING_VALUE", // required
41
+ * clientToken: "STRING_VALUE",
42
+ * name: "STRING_VALUE", // required
43
+ * dnssecValidation: "ENABLED" || "DISABLED",
44
+ * ednsClientSubnet: "ENABLED" || "DISABLED",
45
+ * firewallRulesFailOpen: "ENABLED" || "DISABLED",
46
+ * description: "STRING_VALUE",
47
+ * tags: { // Tags
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * };
51
+ * const command = new CreateDNSViewCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // CreateDNSViewOutput
54
+ * // id: "STRING_VALUE", // required
55
+ * // arn: "STRING_VALUE", // required
56
+ * // clientToken: "STRING_VALUE",
57
+ * // dnssecValidation: "ENABLED" || "DISABLED", // required
58
+ * // ednsClientSubnet: "ENABLED" || "DISABLED", // required
59
+ * // firewallRulesFailOpen: "ENABLED" || "DISABLED", // required
60
+ * // name: "STRING_VALUE", // required
61
+ * // description: "STRING_VALUE",
62
+ * // globalResolverId: "STRING_VALUE", // required
63
+ * // createdAt: new Date("TIMESTAMP"), // required
64
+ * // updatedAt: new Date("TIMESTAMP"), // required
65
+ * // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "ENABLING" || "DISABLING" || "DISABLED" || "DELETING", // required
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param CreateDNSViewCommandInput - {@link CreateDNSViewCommandInput}
71
+ * @returns {@link CreateDNSViewCommandOutput}
72
+ * @see {@link CreateDNSViewCommandInput} for command's `input` shape.
73
+ * @see {@link CreateDNSViewCommandOutput} for command's `response` shape.
74
+ * @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>An internal server error occurred. Try again later.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The specified resource was not found. Verify the resource ID and try again.</p>
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>The input parameters are invalid. Check the parameter values and try again.</p>
96
+ *
97
+ * @throws {@link Route53GlobalResolverServiceException}
98
+ * <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
99
+ *
100
+ *
101
+ * @public
102
+ */
103
+ export declare class CreateDNSViewCommand extends CreateDNSViewCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: CreateDNSViewInput;
108
+ output: CreateDNSViewOutput;
109
+ };
110
+ sdk: {
111
+ input: CreateDNSViewCommandInput;
112
+ output: CreateDNSViewCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateFirewallDomainListInput, CreateFirewallDomainListOutput } from "../models/models_0";
4
+ import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateFirewallDomainListCommand}.
14
+ */
15
+ export interface CreateFirewallDomainListCommandInput extends CreateFirewallDomainListInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateFirewallDomainListCommand}.
21
+ */
22
+ export interface CreateFirewallDomainListCommandOutput extends CreateFirewallDomainListOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateFirewallDomainListCommand_base: {
25
+ new (input: CreateFirewallDomainListCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFirewallDomainListCommandInput, CreateFirewallDomainListCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateFirewallDomainListCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFirewallDomainListCommandInput, CreateFirewallDomainListCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a firewall domain list. Domain lists are reusable sets of domain specifications that you use in DNS firewall rules to allow, block, or alert on DNS queries to specific domains.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Route53GlobalResolverClient, CreateFirewallDomainListCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
35
+ * // const { Route53GlobalResolverClient, CreateFirewallDomainListCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
36
+ * // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
37
+ * const config = {}; // type is Route53GlobalResolverClientConfig
38
+ * const client = new Route53GlobalResolverClient(config);
39
+ * const input = { // CreateFirewallDomainListInput
40
+ * clientToken: "STRING_VALUE",
41
+ * globalResolverId: "STRING_VALUE", // required
42
+ * description: "STRING_VALUE",
43
+ * name: "STRING_VALUE", // required
44
+ * tags: { // Tags
45
+ * "<keys>": "STRING_VALUE",
46
+ * },
47
+ * };
48
+ * const command = new CreateFirewallDomainListCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateFirewallDomainListOutput
51
+ * // arn: "STRING_VALUE", // required
52
+ * // globalResolverId: "STRING_VALUE", // required
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // description: "STRING_VALUE",
55
+ * // domainCount: Number("int"), // required
56
+ * // id: "STRING_VALUE", // required
57
+ * // name: "STRING_VALUE", // required
58
+ * // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
59
+ * // updatedAt: new Date("TIMESTAMP"), // required
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param CreateFirewallDomainListCommandInput - {@link CreateFirewallDomainListCommandInput}
65
+ * @returns {@link CreateFirewallDomainListCommandOutput}
66
+ * @see {@link CreateFirewallDomainListCommandInput} for command's `input` shape.
67
+ * @see {@link CreateFirewallDomainListCommandOutput} for command's `response` shape.
68
+ * @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>An internal server error occurred. Try again later.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The specified resource was not found. Verify the resource ID and try again.</p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The input parameters are invalid. Check the parameter values and try again.</p>
90
+ *
91
+ * @throws {@link Route53GlobalResolverServiceException}
92
+ * <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class CreateFirewallDomainListCommand extends CreateFirewallDomainListCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: CreateFirewallDomainListInput;
102
+ output: CreateFirewallDomainListOutput;
103
+ };
104
+ sdk: {
105
+ input: CreateFirewallDomainListCommandInput;
106
+ output: CreateFirewallDomainListCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateFirewallRuleInput, CreateFirewallRuleOutput } from "../models/models_0";
4
+ import { Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53GlobalResolverClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateFirewallRuleCommand}.
14
+ */
15
+ export interface CreateFirewallRuleCommandInput extends CreateFirewallRuleInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateFirewallRuleCommand}.
21
+ */
22
+ export interface CreateFirewallRuleCommandOutput extends CreateFirewallRuleOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateFirewallRuleCommand_base: {
25
+ new (input: CreateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFirewallRuleCommandInput, CreateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateFirewallRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFirewallRuleCommandInput, CreateFirewallRuleCommandOutput, Route53GlobalResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Route53GlobalResolverClient, CreateFirewallRuleCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import
35
+ * // const { Route53GlobalResolverClient, CreateFirewallRuleCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import
36
+ * // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver";
37
+ * const config = {}; // type is Route53GlobalResolverClientConfig
38
+ * const client = new Route53GlobalResolverClient(config);
39
+ * const input = { // CreateFirewallRuleInput
40
+ * action: "ALLOW" || "ALERT" || "BLOCK", // required
41
+ * blockOverrideDnsType: "CNAME",
42
+ * blockOverrideDomain: "STRING_VALUE",
43
+ * blockOverrideTtl: Number("int"),
44
+ * blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
45
+ * clientToken: "STRING_VALUE",
46
+ * confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
47
+ * description: "STRING_VALUE",
48
+ * dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
49
+ * firewallDomainListId: "STRING_VALUE",
50
+ * name: "STRING_VALUE", // required
51
+ * priority: Number("long"),
52
+ * dnsViewId: "STRING_VALUE", // required
53
+ * qType: "STRING_VALUE",
54
+ * };
55
+ * const command = new CreateFirewallRuleCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // CreateFirewallRuleOutput
58
+ * // action: "ALLOW" || "ALERT" || "BLOCK", // required
59
+ * // blockOverrideDnsType: "CNAME",
60
+ * // blockOverrideDomain: "STRING_VALUE",
61
+ * // blockOverrideTtl: Number("int"),
62
+ * // blockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
63
+ * // confidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
64
+ * // createdAt: new Date("TIMESTAMP"), // required
65
+ * // description: "STRING_VALUE",
66
+ * // dnsAdvancedProtection: "DGA" || "DNS_TUNNELING",
67
+ * // firewallDomainListId: "STRING_VALUE",
68
+ * // id: "STRING_VALUE", // required
69
+ * // name: "STRING_VALUE", // required
70
+ * // priority: Number("long"), // required
71
+ * // dnsViewId: "STRING_VALUE", // required
72
+ * // queryType: "STRING_VALUE",
73
+ * // status: "CREATING" || "OPERATIONAL" || "UPDATING" || "DELETING", // required
74
+ * // updatedAt: new Date("TIMESTAMP"), // required
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param CreateFirewallRuleCommandInput - {@link CreateFirewallRuleCommandInput}
80
+ * @returns {@link CreateFirewallRuleCommandOutput}
81
+ * @see {@link CreateFirewallRuleCommandInput} for command's `input` shape.
82
+ * @see {@link CreateFirewallRuleCommandOutput} for command's `response` shape.
83
+ * @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape.
84
+ *
85
+ * @throws {@link AccessDeniedException} (client fault)
86
+ * <p>You don't have permission to perform this operation. Check your IAM permissions and try again.</p>
87
+ *
88
+ * @throws {@link ConflictException} (client fault)
89
+ * <p>The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.</p>
90
+ *
91
+ * @throws {@link InternalServerException} (server fault)
92
+ * <p>An internal server error occurred. Try again later.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The specified resource was not found. Verify the resource ID and try again.</p>
96
+ *
97
+ * @throws {@link ServiceQuotaExceededException} (client fault)
98
+ * <p>The request would exceed one or more service quotas. Check your current usage and quotas, then try again.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The request was throttled due to too many requests. Wait a moment and try again.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The input parameters are invalid. Check the parameter values and try again.</p>
105
+ *
106
+ * @throws {@link Route53GlobalResolverServiceException}
107
+ * <p>Base exception class for all service exceptions from Route53GlobalResolver service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class CreateFirewallRuleCommand extends CreateFirewallRuleCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: CreateFirewallRuleInput;
117
+ output: CreateFirewallRuleOutput;
118
+ };
119
+ sdk: {
120
+ input: CreateFirewallRuleCommandInput;
121
+ output: CreateFirewallRuleCommandOutput;
122
+ };
123
+ };
124
+ }