@aws-sdk/client-route-53 3.36.0 → 3.36.1

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 (150) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Route53.js +0 -3
  3. package/dist-cjs/Route53Client.js +0 -8
  4. package/dist-cjs/commands/ActivateKeySigningKeyCommand.js +0 -25
  5. package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js +0 -34
  6. package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js +0 -105
  7. package/dist-cjs/commands/ChangeTagsForResourceCommand.js +0 -27
  8. package/dist-cjs/commands/CreateHealthCheckCommand.js +0 -57
  9. package/dist-cjs/commands/CreateHostedZoneCommand.js +0 -56
  10. package/dist-cjs/commands/CreateKeySigningKeyCommand.js +0 -24
  11. package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js +0 -140
  12. package/dist-cjs/commands/CreateReusableDelegationSetCommand.js +0 -74
  13. package/dist-cjs/commands/CreateTrafficPolicyCommand.js +0 -25
  14. package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js +0 -27
  15. package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js +0 -28
  16. package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js +0 -32
  17. package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js +0 -25
  18. package/dist-cjs/commands/DeleteHealthCheckCommand.js +0 -37
  19. package/dist-cjs/commands/DeleteHostedZoneCommand.js +0 -62
  20. package/dist-cjs/commands/DeleteKeySigningKeyCommand.js +0 -25
  21. package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js +0 -28
  22. package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js +0 -30
  23. package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +0 -38
  24. package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js +0 -27
  25. package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js +0 -32
  26. package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js +0 -25
  27. package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js +0 -44
  28. package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js +0 -24
  29. package/dist-cjs/commands/GetAccountLimitCommand.js +0 -33
  30. package/dist-cjs/commands/GetChangeCommand.js +0 -36
  31. package/dist-cjs/commands/GetCheckerIpRangesCommand.js +0 -31
  32. package/dist-cjs/commands/GetDNSSECCommand.js +0 -24
  33. package/dist-cjs/commands/GetGeoLocationCommand.js +0 -44
  34. package/dist-cjs/commands/GetHealthCheckCommand.js +0 -24
  35. package/dist-cjs/commands/GetHealthCheckCountCommand.js +0 -24
  36. package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js +0 -24
  37. package/dist-cjs/commands/GetHealthCheckStatusCommand.js +0 -27
  38. package/dist-cjs/commands/GetHostedZoneCommand.js +0 -24
  39. package/dist-cjs/commands/GetHostedZoneCountCommand.js +0 -24
  40. package/dist-cjs/commands/GetHostedZoneLimitCommand.js +0 -28
  41. package/dist-cjs/commands/GetQueryLoggingConfigCommand.js +0 -29
  42. package/dist-cjs/commands/GetReusableDelegationSetCommand.js +0 -25
  43. package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js +0 -27
  44. package/dist-cjs/commands/GetTrafficPolicyCommand.js +0 -27
  45. package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js +0 -32
  46. package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js +0 -24
  47. package/dist-cjs/commands/ListGeoLocationsCommand.js +0 -29
  48. package/dist-cjs/commands/ListHealthChecksCommand.js +0 -24
  49. package/dist-cjs/commands/ListHostedZonesByNameCommand.js +0 -68
  50. package/dist-cjs/commands/ListHostedZonesByVPCCommand.js +0 -36
  51. package/dist-cjs/commands/ListHostedZonesCommand.js +0 -27
  52. package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js +0 -31
  53. package/dist-cjs/commands/ListResourceRecordSetsCommand.js +0 -87
  54. package/dist-cjs/commands/ListReusableDelegationSetsCommand.js +0 -24
  55. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
  56. package/dist-cjs/commands/ListTagsForResourcesCommand.js +0 -27
  57. package/dist-cjs/commands/ListTrafficPoliciesCommand.js +0 -30
  58. package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +0 -31
  59. package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js +0 -31
  60. package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js +0 -30
  61. package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js +0 -25
  62. package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js +0 -27
  63. package/dist-cjs/commands/TestDNSAnswerCommand.js +0 -26
  64. package/dist-cjs/commands/UpdateHealthCheckCommand.js +0 -27
  65. package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js +0 -24
  66. package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js +0 -24
  67. package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.js +0 -39
  68. package/dist-cjs/models/models_0.js +0 -672
  69. package/dist-cjs/pagination/ListHealthChecksPaginator.js +0 -10
  70. package/dist-cjs/pagination/ListHostedZonesPaginator.js +0 -10
  71. package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js +0 -10
  72. package/dist-cjs/protocols/Aws_restXml.js +0 -2
  73. package/dist-cjs/runtimeConfig.browser.js +1 -5
  74. package/dist-cjs/runtimeConfig.js +1 -5
  75. package/dist-cjs/runtimeConfig.native.js +0 -3
  76. package/dist-cjs/runtimeConfig.shared.js +0 -3
  77. package/dist-cjs/waiters/waitForResourceRecordSetsChanged.js +0 -9
  78. package/dist-types/ts3.4/Route53.d.ts +9 -1083
  79. package/dist-types/ts3.4/Route53Client.d.ts +24 -89
  80. package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +2 -30
  82. package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +2 -101
  83. package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +2 -23
  84. package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +2 -53
  85. package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +2 -52
  86. package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +0 -143
  88. package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +2 -70
  89. package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +2 -21
  90. package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +2 -23
  91. package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +2 -24
  92. package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -28
  93. package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +2 -21
  94. package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +2 -33
  95. package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +2 -58
  96. package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +2 -21
  97. package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +2 -24
  98. package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +2 -26
  99. package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +2 -34
  100. package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +2 -23
  101. package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +2 -28
  102. package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +2 -40
  104. package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +2 -29
  106. package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +2 -32
  107. package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +2 -27
  108. package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +2 -40
  110. package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +2 -23
  114. package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +2 -24
  117. package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +2 -25
  118. package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +2 -23
  120. package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +2 -28
  122. package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +2 -25
  124. package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +2 -64
  126. package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +2 -32
  127. package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +2 -23
  128. package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +2 -27
  129. package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +2 -83
  130. package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +2 -23
  133. package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +2 -26
  134. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +2 -27
  135. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +2 -27
  136. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +2 -26
  137. package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -21
  138. package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +2 -23
  139. package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +2 -22
  140. package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +2 -23
  141. package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +2 -35
  144. package/dist-types/ts3.4/models/models_0.d.ts +903 -4956
  145. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  146. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  147. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  149. package/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +2 -9
  150. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -66,9 +66,6 @@ const UpdateHostedZoneCommentCommand_1 = require("./commands/UpdateHostedZoneCom
66
66
  const UpdateTrafficPolicyCommentCommand_1 = require("./commands/UpdateTrafficPolicyCommentCommand");
67
67
  const UpdateTrafficPolicyInstanceCommand_1 = require("./commands/UpdateTrafficPolicyInstanceCommand");
68
68
  const Route53Client_1 = require("./Route53Client");
69
- /**
70
- * <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.</p>
71
- */
72
69
  class Route53 extends Route53Client_1.Route53Client {
73
70
  activateKeySigningKey(args, optionsOrCb, cb) {
74
71
  const command = new ActivateKeySigningKeyCommand_1.ActivateKeySigningKeyCommand(args);
@@ -10,9 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.</p>
15
- */
16
13
  class Route53Client extends smithy_client_1.Client {
17
14
  constructor(configuration) {
18
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -31,11 +28,6 @@ class Route53Client extends smithy_client_1.Client {
31
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
32
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
33
30
  }
34
- /**
35
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
36
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
37
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
38
- */
39
31
  destroy() {
40
32
  super.destroy();
41
33
  }
@@ -6,36 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
- /**
10
- * <p>Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This operation changes the
11
- * KSK status to <code>ACTIVE</code>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { Route53Client, ActivateKeySigningKeyCommand } from "@aws-sdk/client-route-53"; // ES Modules import
16
- * // const { Route53Client, ActivateKeySigningKeyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
17
- * const client = new Route53Client(config);
18
- * const command = new ActivateKeySigningKeyCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ActivateKeySigningKeyCommandInput} for command's `input` shape.
23
- * @see {@link ActivateKeySigningKeyCommandOutput} for command's `response` shape.
24
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
9
  class ActivateKeySigningKeyCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
10
  constructor(input) {
31
- // Start section: command_constructor
32
11
  super();
33
12
  this.input = input;
34
- // End section: command_constructor
35
13
  }
36
- /**
37
- * @internal
38
- */
39
14
  resolveMiddleware(clientStack, configuration, options) {
40
15
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
16
  this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
@@ -6,45 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
- /**
10
- * <p>Associates an Amazon VPC with a private hosted zone. </p>
11
- * <important>
12
- * <p>To perform the association, the VPC and the private hosted zone must already exist.
13
- * You can't convert a public hosted zone into a private hosted zone.</p>
14
- * </important>
15
- * <note>
16
- * <p>If you want to associate a VPC that was created by using one Amazon Web Services account with a private hosted zone that was created
17
- * by using a different account, the Amazon Web Services account that created the private hosted zone must first submit a
18
- * <code>CreateVPCAssociationAuthorization</code> request. Then the account that created the VPC must submit an
19
- * <code>AssociateVPCWithHostedZone</code> request.</p>
20
- * </note>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { Route53Client, AssociateVPCWithHostedZoneCommand } from "@aws-sdk/client-route-53"; // ES Modules import
25
- * // const { Route53Client, AssociateVPCWithHostedZoneCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
26
- * const client = new Route53Client(config);
27
- * const command = new AssociateVPCWithHostedZoneCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link AssociateVPCWithHostedZoneCommandInput} for command's `input` shape.
32
- * @see {@link AssociateVPCWithHostedZoneCommandOutput} for command's `response` shape.
33
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
9
  class AssociateVPCWithHostedZoneCommand extends smithy_client_1.Command {
37
- // Start section: command_properties
38
- // End section: command_properties
39
10
  constructor(input) {
40
- // Start section: command_constructor
41
11
  super();
42
12
  this.input = input;
43
- // End section: command_constructor
44
13
  }
45
- /**
46
- * @internal
47
- */
48
14
  resolveMiddleware(clientStack, configuration, options) {
49
15
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
50
16
  this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
@@ -6,116 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
- /**
10
- * <p>Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified
11
- * domain name or subdomain name. For example, you can use <code>ChangeResourceRecordSets</code> to create a resource record set that
12
- * routes traffic for test.example.com to a web server that has an IP address of 192.0.2.44.</p>
13
- *
14
- * <p>
15
- * <b>Deleting Resource Record Sets</b>
16
- * </p>
17
- * <p>To delete a resource record set, you must specify all the same values that you specified when you created it.</p>
18
- *
19
- * <p>
20
- * <b>Change Batches and Transactional Changes</b>
21
- * </p>
22
- * <p>The request body must include a document with a <code>ChangeResourceRecordSetsRequest</code> element.
23
- * The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes.
24
- * Route 53 validates the changes in the request and then either makes all or none of the changes in the change batch request.
25
- * This ensures that DNS routing isn't adversely affected by partial changes to the resource record sets in a hosted zone. </p>
26
- * <p>For example, suppose a change batch request contains two changes: it deletes the <code>CNAME</code> resource record set for www.example.com and
27
- * creates an alias resource record set for www.example.com. If validation for both records succeeds, Route 53 deletes the first resource record set and
28
- * creates the second resource record set in a single operation. If validation for either the <code>DELETE</code> or the <code>CREATE</code> action fails,
29
- * then the request is canceled, and the original <code>CNAME</code> record continues to exist.</p>
30
- * <note>
31
- * <p>If you try to delete the same resource record set more than once in a single change batch, Route 53 returns an <code>InvalidChangeBatch</code> error.</p>
32
- * </note>
33
- *
34
- * <p>
35
- * <b>Traffic Flow</b>
36
- * </p>
37
- * <p>To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the
38
- * Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy,
39
- * then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com),
40
- * in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing
41
- * as expected. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html">Using Traffic Flow to Route DNS Traffic</a>
42
- * in the <i>Amazon Route 53 Developer Guide</i>.</p>
43
- *
44
- * <p>
45
- * <b>Create, Delete, and Upsert</b>
46
- * </p>
47
- * <p>Use <code>ChangeResourceRecordsSetsRequest</code> to perform the following actions:</p>
48
- * <ul>
49
- * <li>
50
- * <p>
51
- * <code>CREATE</code>: Creates a resource record set that has the specified values.</p>
52
- * </li>
53
- * <li>
54
- * <p>
55
- * <code>DELETE</code>: Deletes an existing resource record set that has the specified values.</p>
56
- * </li>
57
- * <li>
58
- * <p>
59
- * <code>UPSERT</code>: If a resource record set does not already exist, Amazon Web Services creates it.
60
- * If a resource set does exist, Route 53 updates it with the values in the request. </p>
61
- * </li>
62
- * </ul>
63
- *
64
- * <p>
65
- * <b>Syntaxes for Creating, Updating, and Deleting Resource Record Sets</b>
66
- * </p>
67
- * <p>The syntax for a request depends on the type of resource record set that you want to create, delete, or update, such as
68
- * weighted, alias, or failover. The XML elements in your request must appear in the order listed in the syntax. </p>
69
- *
70
- *
71
- * <p>For an example for each type of resource record set, see "Examples."</p>
72
- *
73
- *
74
- * <p>Don't refer to the syntax in the "Parameter Syntax" section, which includes all of the elements for every kind of
75
- * resource record set that you can create, delete, or update by using <code>ChangeResourceRecordSets</code>. </p>
76
- *
77
- * <p>
78
- * <b>Change Propagation to Route 53 DNS Servers</b>
79
- * </p>
80
- * <p>When you submit a <code>ChangeResourceRecordSets</code> request, Route 53 propagates your changes to all of the
81
- * Route 53 authoritative DNS servers. While your changes are propagating, <code>GetChange</code> returns a status of
82
- * <code>PENDING</code>. When propagation is complete, <code>GetChange</code> returns a status of <code>INSYNC</code>.
83
- * Changes generally propagate to all Route 53 name servers within 60 seconds. For more information, see
84
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>.</p>
85
- *
86
- * <p>
87
- * <b>Limits on ChangeResourceRecordSets Requests</b>
88
- * </p>
89
- * <p>For information about the limits on a <code>ChangeResourceRecordSets</code> request, see
90
- * <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the
91
- * <i>Amazon Route 53 Developer Guide</i>.</p>
92
- * @example
93
- * Use a bare-bones client and the command you need to make an API call.
94
- * ```javascript
95
- * import { Route53Client, ChangeResourceRecordSetsCommand } from "@aws-sdk/client-route-53"; // ES Modules import
96
- * // const { Route53Client, ChangeResourceRecordSetsCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
97
- * const client = new Route53Client(config);
98
- * const command = new ChangeResourceRecordSetsCommand(input);
99
- * const response = await client.send(command);
100
- * ```
101
- *
102
- * @see {@link ChangeResourceRecordSetsCommandInput} for command's `input` shape.
103
- * @see {@link ChangeResourceRecordSetsCommandOutput} for command's `response` shape.
104
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
105
- *
106
- */
107
9
  class ChangeResourceRecordSetsCommand extends smithy_client_1.Command {
108
- // Start section: command_properties
109
- // End section: command_properties
110
10
  constructor(input) {
111
- // Start section: command_constructor
112
11
  super();
113
12
  this.input = input;
114
- // End section: command_constructor
115
13
  }
116
- /**
117
- * @internal
118
- */
119
14
  resolveMiddleware(clientStack, configuration, options) {
120
15
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
121
16
  this.middlewareStack.use(middleware_sdk_route53_1.getChangeResourceRecordSetsPlugin(configuration));
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
8
- /**
9
- * <p>Adds, edits, or deletes tags for a health check or a hosted zone.</p>
10
- * <p>For information about using tags for cost allocation, see
11
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation Tags</a>
12
- * in the <i>Billing and Cost Management User Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { Route53Client, ChangeTagsForResourceCommand } from "@aws-sdk/client-route-53"; // ES Modules import
17
- * // const { Route53Client, ChangeTagsForResourceCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
18
- * const client = new Route53Client(config);
19
- * const command = new ChangeTagsForResourceCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ChangeTagsForResourceCommandInput} for command's `input` shape.
24
- * @see {@link ChangeTagsForResourceCommandOutput} for command's `response` shape.
25
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ChangeTagsForResourceCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,68 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
8
- /**
9
- * <p>Creates a new health check.</p>
10
- * <p>For information about adding health checks to resource record sets, see
11
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResourceRecordSet.html#Route53-Type-ResourceRecordSet-HealthCheckId">HealthCheckId</a>
12
- * in
13
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html">ChangeResourceRecordSets</a>. </p>
14
- *
15
- * <p>
16
- * <b>ELB Load Balancers</b>
17
- * </p>
18
- * <p>If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the
19
- * EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a
20
- * similar function to a Route 53 health check.</p>
21
- *
22
- * <p>
23
- * <b>Private Hosted Zones</b>
24
- * </p>
25
- * <p>You can associate health checks with failover resource record sets in a private hosted zone. Note the following:</p>
26
- * <ul>
27
- * <li>
28
- * <p>Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must
29
- * assign a public IP address to the instance in the VPC.</p>
30
- * </li>
31
- * <li>
32
- * <p>You can configure a health checker to check the health of an external resource that the instance relies on, such as a
33
- * database server.</p>
34
- * </li>
35
- * <li>
36
- * <p>You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the
37
- * state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 <code>StatusCheckFailed</code> metric,
38
- * add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating
39
- * CloudWatch metrics and alarms by using the CloudWatch console, see the
40
- * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html">Amazon CloudWatch User Guide</a>.</p>
41
- * </li>
42
- * </ul>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { Route53Client, CreateHealthCheckCommand } from "@aws-sdk/client-route-53"; // ES Modules import
47
- * // const { Route53Client, CreateHealthCheckCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
48
- * const client = new Route53Client(config);
49
- * const command = new CreateHealthCheckCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link CreateHealthCheckCommandInput} for command's `input` shape.
54
- * @see {@link CreateHealthCheckCommandOutput} for command's `response` shape.
55
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
8
  class CreateHealthCheckCommand extends smithy_client_1.Command {
59
- // Start section: command_properties
60
- // End section: command_properties
61
9
  constructor(input) {
62
- // Start section: command_constructor
63
10
  super();
64
11
  this.input = input;
65
- // End section: command_constructor
66
12
  }
67
- /**
68
- * @internal
69
- */
70
13
  resolveMiddleware(clientStack, configuration, options) {
71
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
72
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -6,67 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
- /**
10
- * <p>Creates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic
11
- * on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a
12
- * private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more
13
- * Amazon Virtual Private Clouds (Amazon VPCs). </p>
14
- * <important>
15
- * <p>You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone
16
- * with the same name and create new resource record sets.</p>
17
- * </important>
18
- * <p>For more information about charges for hosted zones, see <a href="http://aws.amazon.com/route53/pricing/">Amazon Route 53 Pricing</a>.</p>
19
- * <p>Note the following:</p>
20
- * <ul>
21
- * <li>
22
- * <p>You can't create a hosted zone for a top-level domain (TLD) such as .com.</p>
23
- * </li>
24
- * <li>
25
- * <p>For public hosted zones, Route 53 automatically creates a default SOA record and four NS records for the zone.
26
- * For more information about SOA and NS records, see
27
- * <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html">NS and SOA Records that Route 53 Creates for a Hosted Zone</a> in the
28
- * <i>Amazon Route 53 Developer Guide</i>.</p>
29
- * <p>If you want to use the same name servers for multiple public hosted zones, you can optionally associate a reusable delegation set
30
- * with the hosted zone. See the <code>DelegationSetId</code> element.</p>
31
- * </li>
32
- * <li>
33
- * <p>If your domain is registered with a registrar other than Route 53, you must update the name servers with your registrar to make
34
- * Route 53 the DNS service for the domain. For more information, see
35
- * <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html">Migrating DNS Service for an Existing Domain to Amazon Route 53</a> in the
36
- * <i>Amazon Route 53 Developer Guide</i>. </p>
37
- * </li>
38
- * </ul>
39
- * <p>When you submit a <code>CreateHostedZone</code> request, the initial status of the hosted zone is <code>PENDING</code>.
40
- * For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the
41
- * NS and SOA records are available, the status of the zone changes to <code>INSYNC</code>.</p>
42
- * <p>The <code>CreateHostedZone</code> request requires the caller to have an <code>ec2:DescribeVpcs</code> permission.</p>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { Route53Client, CreateHostedZoneCommand } from "@aws-sdk/client-route-53"; // ES Modules import
47
- * // const { Route53Client, CreateHostedZoneCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
48
- * const client = new Route53Client(config);
49
- * const command = new CreateHostedZoneCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link CreateHostedZoneCommandInput} for command's `input` shape.
54
- * @see {@link CreateHostedZoneCommandOutput} for command's `response` shape.
55
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
9
  class CreateHostedZoneCommand extends smithy_client_1.Command {
59
- // Start section: command_properties
60
- // End section: command_properties
61
10
  constructor(input) {
62
- // Start section: command_constructor
63
11
  super();
64
12
  this.input = input;
65
- // End section: command_constructor
66
13
  }
67
- /**
68
- * @internal
69
- */
70
14
  resolveMiddleware(clientStack, configuration, options) {
71
15
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
72
16
  this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
@@ -6,35 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
- /**
10
- * <p>Creates a new key-signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { Route53Client, CreateKeySigningKeyCommand } from "@aws-sdk/client-route-53"; // ES Modules import
15
- * // const { Route53Client, CreateKeySigningKeyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
16
- * const client = new Route53Client(config);
17
- * const command = new CreateKeySigningKeyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateKeySigningKeyCommandInput} for command's `input` shape.
22
- * @see {@link CreateKeySigningKeyCommandOutput} for command's `response` shape.
23
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
9
  class CreateKeySigningKeyCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
10
  constructor(input) {
30
- // Start section: command_constructor
31
11
  super();
32
12
  this.input = input;
33
- // End section: command_constructor
34
13
  }
35
- /**
36
- * @internal
37
- */
38
14
  resolveMiddleware(clientStack, configuration, options) {
39
15
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
16
  this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
@@ -6,151 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restXml_1 = require("../protocols/Aws_restXml");
9
- /**
10
- * <p>Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish
11
- * log data to an Amazon CloudWatch Logs log group.</p>
12
- * <p>DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following:</p>
13
- * <ul>
14
- * <li>
15
- * <p>Route 53 edge location that responded to the DNS query</p>
16
- * </li>
17
- * <li>
18
- * <p>Domain or subdomain that was requested</p>
19
- * </li>
20
- * <li>
21
- * <p>DNS record type, such as A or AAAA</p>
22
- * </li>
23
- * <li>
24
- * <p>DNS response code, such as <code>NoError</code> or <code>ServFail</code>
25
- * </p>
26
- * </li>
27
- * </ul>
28
- *
29
- * <dl>
30
- * <dt>Log Group and Resource Policy</dt>
31
- * <dd>
32
- * <p>Before you create a query logging configuration, perform the following operations.</p>
33
- * <note>
34
- * <p>If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically.</p>
35
- * </note>
36
- * <ol>
37
- * <li>
38
- * <p>Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a
39
- * query logging configuration. Note the following:</p>
40
- * <ul>
41
- * <li>
42
- * <p>You must create the log group in the us-east-1 region.</p>
43
- * </li>
44
- * <li>
45
- * <p>You must use the same Amazon Web Services account to create the log group and the hosted zone that you want to
46
- * configure query logging for.</p>
47
- * </li>
48
- * <li>
49
- * <p>When you create log groups for query logging, we recommend that you use a consistent prefix, for example:</p>
50
- * <p>
51
- * <code>/aws/route53/<i>hosted zone name</i>
52
- * </code>
53
- * </p>
54
- * <p>In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated
55
- * Amazon Web Services resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so
56
- * we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create
57
- * for query logging.</p>
58
- * </li>
59
- * </ul>
60
- * </li>
61
- * <li>
62
- * <p>Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to
63
- * send query logs to log streams. For the value of <code>Resource</code>, specify the ARN for the log group that you created
64
- * in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations,
65
- * replace the hosted zone name with <code>*</code>, for example:</p>
66
- * <p>
67
- * <code>arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*</code>
68
- * </p>
69
- * <note>
70
- * <p>You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the Amazon Web Services SDKs,
71
- * or the CLI.</p>
72
- * </note>
73
- * </li>
74
- * </ol>
75
- * </dd>
76
- * <dt>Log Streams and Edge Locations</dt>
77
- * <dd>
78
- * <p>When Route 53 finishes creating the configuration for DNS query logging, it does the following:</p>
79
- * <ul>
80
- * <li>
81
- * <p>Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the
82
- * specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location.</p>
83
- * </li>
84
- * <li>
85
- * <p>Begins to send query logs to the applicable log stream.</p>
86
- * </li>
87
- * </ul>
88
- * <p>The name of each log stream is in the following format:</p>
89
- * <p>
90
- * <code>
91
- * <i>hosted zone ID</i>/<i>edge location code</i>
92
- * </code>
93
- * </p>
94
- * <p>The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code
95
- * typically corresponds with the International Air Transport Association airport code for an airport near the edge location.
96
- * (These abbreviations might change in the future.) For a list of edge locations, see "The Route 53 Global Network" on the
97
- * <a href="http://aws.amazon.com/route53/details/">Route 53 Product Details</a> page.</p>
98
- * </dd>
99
- * <dt>Queries That Are Logged</dt>
100
- * <dd>
101
- * <p>Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached
102
- * the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return
103
- * the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires.
104
- * Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set,
105
- * query logs might contain information about only one query out of every several thousand queries that are submitted to DNS.
106
- * For more information about how DNS works, see
107
- * <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html">Routing Internet Traffic to Your Website or Web Application</a>
108
- * in the <i>Amazon Route 53 Developer Guide</i>.</p>
109
- * </dd>
110
- * <dt>Log File Format</dt>
111
- * <dd>
112
- * <p>For a list of the values in each query log and the format of each value, see
113
- * <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html">Logging DNS Queries</a> in the
114
- * <i>Amazon Route 53 Developer Guide</i>.</p>
115
- * </dd>
116
- * <dt>Pricing</dt>
117
- * <dd>
118
- * <p>For information about charges for query logs, see
119
- * <a href="http://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p>
120
- * </dd>
121
- * <dt>How to Stop Logging</dt>
122
- * <dd>
123
- * <p>If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see
124
- * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteQueryLoggingConfig.html">DeleteQueryLoggingConfig</a>.</p>
125
- * </dd>
126
- * </dl>
127
- * @example
128
- * Use a bare-bones client and the command you need to make an API call.
129
- * ```javascript
130
- * import { Route53Client, CreateQueryLoggingConfigCommand } from "@aws-sdk/client-route-53"; // ES Modules import
131
- * // const { Route53Client, CreateQueryLoggingConfigCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
132
- * const client = new Route53Client(config);
133
- * const command = new CreateQueryLoggingConfigCommand(input);
134
- * const response = await client.send(command);
135
- * ```
136
- *
137
- * @see {@link CreateQueryLoggingConfigCommandInput} for command's `input` shape.
138
- * @see {@link CreateQueryLoggingConfigCommandOutput} for command's `response` shape.
139
- * @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
140
- *
141
- */
142
9
  class CreateQueryLoggingConfigCommand extends smithy_client_1.Command {
143
- // Start section: command_properties
144
- // End section: command_properties
145
10
  constructor(input) {
146
- // Start section: command_constructor
147
11
  super();
148
12
  this.input = input;
149
- // End section: command_constructor
150
13
  }
151
- /**
152
- * @internal
153
- */
154
14
  resolveMiddleware(clientStack, configuration, options) {
155
15
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
156
16
  this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));