@aws-sdk/client-route-53 3.36.0 → 3.39.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.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/Route53.js +0 -3
- package/dist-cjs/Route53Client.js +0 -8
- package/dist-cjs/commands/ActivateKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js +0 -34
- package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js +0 -105
- package/dist-cjs/commands/ChangeTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/CreateHealthCheckCommand.js +0 -57
- package/dist-cjs/commands/CreateHostedZoneCommand.js +0 -56
- package/dist-cjs/commands/CreateKeySigningKeyCommand.js +0 -24
- package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js +0 -140
- package/dist-cjs/commands/CreateReusableDelegationSetCommand.js +0 -74
- package/dist-cjs/commands/CreateTrafficPolicyCommand.js +0 -25
- package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js +0 -27
- package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js +0 -28
- package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js +0 -32
- package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteHealthCheckCommand.js +0 -37
- package/dist-cjs/commands/DeleteHostedZoneCommand.js +0 -62
- package/dist-cjs/commands/DeleteKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js +0 -28
- package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js +0 -30
- package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +0 -38
- package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js +0 -27
- package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js +0 -32
- package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js +0 -25
- package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js +0 -44
- package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js +0 -24
- package/dist-cjs/commands/GetAccountLimitCommand.js +0 -33
- package/dist-cjs/commands/GetChangeCommand.js +0 -36
- package/dist-cjs/commands/GetCheckerIpRangesCommand.js +0 -31
- package/dist-cjs/commands/GetDNSSECCommand.js +0 -24
- package/dist-cjs/commands/GetGeoLocationCommand.js +0 -44
- package/dist-cjs/commands/GetHealthCheckCommand.js +0 -24
- package/dist-cjs/commands/GetHealthCheckCountCommand.js +0 -24
- package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js +0 -24
- package/dist-cjs/commands/GetHealthCheckStatusCommand.js +0 -27
- package/dist-cjs/commands/GetHostedZoneCommand.js +0 -24
- package/dist-cjs/commands/GetHostedZoneCountCommand.js +0 -24
- package/dist-cjs/commands/GetHostedZoneLimitCommand.js +0 -28
- package/dist-cjs/commands/GetQueryLoggingConfigCommand.js +0 -29
- package/dist-cjs/commands/GetReusableDelegationSetCommand.js +0 -25
- package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js +0 -27
- package/dist-cjs/commands/GetTrafficPolicyCommand.js +0 -27
- package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js +0 -32
- package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js +0 -24
- package/dist-cjs/commands/ListGeoLocationsCommand.js +0 -29
- package/dist-cjs/commands/ListHealthChecksCommand.js +0 -24
- package/dist-cjs/commands/ListHostedZonesByNameCommand.js +0 -68
- package/dist-cjs/commands/ListHostedZonesByVPCCommand.js +0 -36
- package/dist-cjs/commands/ListHostedZonesCommand.js +0 -27
- package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js +0 -31
- package/dist-cjs/commands/ListResourceRecordSetsCommand.js +0 -87
- package/dist-cjs/commands/ListReusableDelegationSetsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourcesCommand.js +0 -27
- package/dist-cjs/commands/ListTrafficPoliciesCommand.js +0 -30
- package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +0 -31
- package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js +0 -31
- package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js +0 -30
- package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js +0 -27
- package/dist-cjs/commands/TestDNSAnswerCommand.js +0 -26
- package/dist-cjs/commands/UpdateHealthCheckCommand.js +0 -27
- package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js +0 -24
- package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js +0 -24
- package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.js +0 -39
- package/dist-cjs/commands/index.js +67 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -71
- package/dist-cjs/models/models_0.js +0 -672
- package/dist-cjs/pagination/ListHealthChecksPaginator.js +0 -10
- package/dist-cjs/pagination/ListHostedZonesPaginator.js +0 -10
- package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restXml.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForResourceRecordSetsChanged.js +0 -9
- package/dist-es/commands/index.js +64 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -71
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-types/commands/index.d.ts +64 -0
- package/dist-types/index.d.ts +5 -71
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/Route53.d.ts +9 -1083
- package/dist-types/ts3.4/Route53Client.d.ts +24 -89
- package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +2 -101
- package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +0 -143
- package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +2 -83
- package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/index.d.ts +64 -0
- package/dist-types/ts3.4/index.d.ts +5 -71
- package/dist-types/ts3.4/models/models_0.d.ts +903 -4956
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +35 -35
|
@@ -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));
|
|
@@ -6,85 +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 delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by
|
|
11
|
-
* the same Amazon Web Services account. </p>
|
|
12
|
-
* <p>You can also create a reusable delegation set that uses the four name servers that are associated
|
|
13
|
-
* with an existing hosted zone. Specify the hosted zone ID in the <code>CreateReusableDelegationSet</code> request.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>You can't associate a reusable delegation set with a private hosted zone.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* <p>For information about using a reusable delegation set to configure white label name servers, see
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/white-label-name-servers.html">Configuring White Label Name Servers</a>.</p>
|
|
19
|
-
*
|
|
20
|
-
* <p>The process for migrating existing hosted zones to use a reusable delegation set is comparable to the process for
|
|
21
|
-
* configuring white label name servers. You need to perform the following steps:</p>
|
|
22
|
-
* <ol>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>Create a reusable delegation set.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Recreate hosted zones, and reduce the TTL to 60 seconds or less.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Recreate resource record sets in the new hosted zones.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Change the registrar's name servers to use the name servers for the new hosted zones.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Monitor traffic for the website or application.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>Change TTLs back to their original values.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ol>
|
|
42
|
-
*
|
|
43
|
-
* <p>If you want to migrate existing hosted zones to use a reusable delegation set, the existing hosted zones can't use
|
|
44
|
-
* any of the name servers that are assigned to the reusable delegation set. If one or more hosted zones do use one or more
|
|
45
|
-
* name servers that are assigned to the reusable delegation set, you can do one of the following:</p>
|
|
46
|
-
* <ul>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>For small numbers of hosted zones—up to a few hundred—it's relatively easy to create
|
|
49
|
-
* reusable delegation sets until you get one that has four name servers that don't overlap with any of the name servers
|
|
50
|
-
* in your hosted zones.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>For larger numbers of hosted zones, the easiest solution is to use more than one reusable delegation set.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>For larger numbers of hosted zones, you can also migrate hosted zones that have overlapping name servers
|
|
57
|
-
* to hosted zones that don't have overlapping name servers, then migrate the hosted zones again to use the
|
|
58
|
-
* reusable delegation set.</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* </ul>
|
|
61
|
-
* @example
|
|
62
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
63
|
-
* ```javascript
|
|
64
|
-
* import { Route53Client, CreateReusableDelegationSetCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
65
|
-
* // const { Route53Client, CreateReusableDelegationSetCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
66
|
-
* const client = new Route53Client(config);
|
|
67
|
-
* const command = new CreateReusableDelegationSetCommand(input);
|
|
68
|
-
* const response = await client.send(command);
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @see {@link CreateReusableDelegationSetCommandInput} for command's `input` shape.
|
|
72
|
-
* @see {@link CreateReusableDelegationSetCommandOutput} for command's `response` shape.
|
|
73
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
74
|
-
*
|
|
75
|
-
*/
|
|
76
9
|
class CreateReusableDelegationSetCommand extends smithy_client_1.Command {
|
|
77
|
-
// Start section: command_properties
|
|
78
|
-
// End section: command_properties
|
|
79
10
|
constructor(input) {
|
|
80
|
-
// Start section: command_constructor
|
|
81
11
|
super();
|
|
82
12
|
this.input = input;
|
|
83
|
-
// End section: command_constructor
|
|
84
13
|
}
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
89
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
90
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|
|
@@ -5,36 +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 traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or
|
|
10
|
-
* one subdomain name (such as www.example.com).</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { Route53Client, CreateTrafficPolicyCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
15
|
-
* // const { Route53Client, CreateTrafficPolicyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
16
|
-
* const client = new Route53Client(config);
|
|
17
|
-
* const command = new CreateTrafficPolicyCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateTrafficPolicyCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateTrafficPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateTrafficPolicyCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,38 +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 resource record sets in a specified hosted zone based on the settings in a specified traffic policy version.
|
|
11
|
-
* In addition, <code>CreateTrafficPolicyInstance</code> associates the resource record sets with a specified domain name (such as example.com) or
|
|
12
|
-
* subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets
|
|
13
|
-
* that <code>CreateTrafficPolicyInstance</code> created.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { Route53Client, CreateTrafficPolicyInstanceCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
18
|
-
* // const { Route53Client, CreateTrafficPolicyInstanceCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
19
|
-
* const client = new Route53Client(config);
|
|
20
|
-
* const command = new CreateTrafficPolicyInstanceCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link CreateTrafficPolicyInstanceCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link CreateTrafficPolicyInstanceCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
9
|
class CreateTrafficPolicyInstanceCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
10
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
11
|
super();
|
|
35
12
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
13
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|
|
@@ -6,39 +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 version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the
|
|
11
|
-
* traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create
|
|
12
|
-
* multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can
|
|
13
|
-
* create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new
|
|
14
|
-
* traffic policy.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { Route53Client, CreateTrafficPolicyVersionCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
19
|
-
* // const { Route53Client, CreateTrafficPolicyVersionCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
20
|
-
* const client = new Route53Client(config);
|
|
21
|
-
* const command = new CreateTrafficPolicyVersionCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateTrafficPolicyVersionCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateTrafficPolicyVersionCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
9
|
class CreateTrafficPolicyVersionCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
10
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
11
|
super();
|
|
36
12
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|
|
@@ -6,43 +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>Authorizes the Amazon Web Services account that created a specified VPC to submit an <code>AssociateVPCWithHostedZone</code>
|
|
11
|
-
* request to associate the VPC with a specified hosted zone that was created by a different account.
|
|
12
|
-
* To submit a <code>CreateVPCAssociationAuthorization</code> request, you must use the account that created the
|
|
13
|
-
* hosted zone. After you authorize the association, use the account that created the VPC to submit an
|
|
14
|
-
* <code>AssociateVPCWithHostedZone</code> request.</p>
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>If you want to associate multiple VPCs that you created by using one account with a hosted zone
|
|
17
|
-
* that you created by using a different account, you must submit one authorization request for each VPC.</p>
|
|
18
|
-
* </note>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { Route53Client, CreateVPCAssociationAuthorizationCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
23
|
-
* // const { Route53Client, CreateVPCAssociationAuthorizationCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
24
|
-
* const client = new Route53Client(config);
|
|
25
|
-
* const command = new CreateVPCAssociationAuthorizationCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link CreateVPCAssociationAuthorizationCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link CreateVPCAssociationAuthorizationCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
9
|
class CreateVPCAssociationAuthorizationCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
10
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
11
|
super();
|
|
40
12
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
13
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|
|
@@ -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>Deactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC. This operation changes the
|
|
11
|
-
* KSK status to <code>INACTIVE</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, DeactivateKeySigningKeyCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
16
|
-
* // const { Route53Client, DeactivateKeySigningKeyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
17
|
-
* const client = new Route53Client(config);
|
|
18
|
-
* const command = new DeactivateKeySigningKeyCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeactivateKeySigningKeyCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeactivateKeySigningKeyCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class DeactivateKeySigningKeyCommand 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));
|
|
@@ -5,48 +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>Deletes a health check.</p>
|
|
10
|
-
* <important>
|
|
11
|
-
* <p>Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more
|
|
12
|
-
* resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status
|
|
13
|
-
* of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover
|
|
14
|
-
* configuration. For more information, see
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html#health-checks-deleting.html">Replacing and Deleting Health Checks</a>
|
|
16
|
-
* in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
17
|
-
* </important>
|
|
18
|
-
*
|
|
19
|
-
* <p>If you're using Cloud Map and you configured Cloud Map to create a Route 53 health check when you register an instance,
|
|
20
|
-
* you can't use the Route 53 <code>DeleteHealthCheck</code> command to delete the health check. The health check is deleted
|
|
21
|
-
* automatically when you deregister the instance; there can be a delay of several hours before the health check is deleted
|
|
22
|
-
* from Route 53. </p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { Route53Client, DeleteHealthCheckCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
27
|
-
* // const { Route53Client, DeleteHealthCheckCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
28
|
-
* const client = new Route53Client(config);
|
|
29
|
-
* const command = new DeleteHealthCheckCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link DeleteHealthCheckCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link DeleteHealthCheckCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class DeleteHealthCheckCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,73 +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>Deletes a hosted zone.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>If the hosted zone was created by another service, such as Cloud Map, see
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DeleteHostedZone.html#delete-public-hosted-zone-created-by-another-service">Deleting
|
|
14
|
-
* Public Hosted Zones That Were Created by Another Service</a> in the <i>Amazon Route 53 Developer Guide</i> for information about how to delete it.
|
|
15
|
-
* (The process is the same for public and private hosted zones that were created by another service.)</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>If you want to keep your domain registration but you want to stop routing internet traffic to your website or web application,
|
|
18
|
-
* we recommend that you delete resource record sets in the hosted zone instead of deleting the hosted zone.</p>
|
|
19
|
-
*
|
|
20
|
-
* <important>
|
|
21
|
-
* <p>If you delete a hosted zone, you can't undelete it. You must create a new hosted zone and update the name servers for your
|
|
22
|
-
* domain registration, which can require up to 48 hours to take effect. (If you delegated responsibility for a subdomain to a hosted zone
|
|
23
|
-
* and you delete the child hosted zone, you must update the name servers in the parent hosted zone.) In addition, if you delete a hosted zone,
|
|
24
|
-
* someone could hijack the domain and route traffic to their own resources using your domain name.</p>
|
|
25
|
-
* </important>
|
|
26
|
-
*
|
|
27
|
-
* <p>If you want to avoid the monthly charge for the hosted zone, you can transfer DNS service for the domain to a free DNS service.
|
|
28
|
-
* When you transfer DNS service, you have to update the name servers for the domain registration. If the domain is registered with Route 53,
|
|
29
|
-
* see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_UpdateDomainNameservers.html">UpdateDomainNameservers</a>
|
|
30
|
-
* for information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is registered with
|
|
31
|
-
* another registrar, use the method provided by the registrar to update name servers for the domain registration. For more information,
|
|
32
|
-
* perform an internet search on "free DNS service."</p>
|
|
33
|
-
*
|
|
34
|
-
* <p>You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets.
|
|
35
|
-
* If the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone.
|
|
36
|
-
* If you try to delete a hosted zone that contains other resource record sets, the request fails, and Route 53 returns a
|
|
37
|
-
* <code>HostedZoneNotEmpty</code> error. For information about deleting records from your hosted zone, see
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html">ChangeResourceRecordSets</a>.</p>
|
|
39
|
-
* <p>To verify that the hosted zone has been deleted, do one of the following:</p>
|
|
40
|
-
* <ul>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Use the <code>GetHostedZone</code> action to request information about the hosted zone.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Use the <code>ListHostedZones</code> action to get a list of the hosted zones associated with the current
|
|
46
|
-
* Amazon Web Services account.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { Route53Client, DeleteHostedZoneCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
53
|
-
* // const { Route53Client, DeleteHostedZoneCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
54
|
-
* const client = new Route53Client(config);
|
|
55
|
-
* const command = new DeleteHostedZoneCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link DeleteHostedZoneCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link DeleteHostedZoneCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
9
|
class DeleteHostedZoneCommand extends smithy_client_1.Command {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
10
|
constructor(input) {
|
|
68
|
-
// Start section: command_constructor
|
|
69
11
|
super();
|
|
70
12
|
this.input = input;
|
|
71
|
-
// End section: command_constructor
|
|
72
13
|
}
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
77
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|
|
@@ -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>Deletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it. The KSK must be
|
|
11
|
-
* deactivated before you can delete it regardless of whether the hosted zone is enabled for DNSSEC signing.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { Route53Client, DeleteKeySigningKeyCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
16
|
-
* // const { Route53Client, DeleteKeySigningKeyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
17
|
-
* const client = new Route53Client(config);
|
|
18
|
-
* const command = new DeleteKeySigningKeyCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteKeySigningKeyCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteKeySigningKeyCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class DeleteKeySigningKeyCommand 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,39 +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>Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs.
|
|
11
|
-
* Route 53 doesn't delete any logs that are already in CloudWatch Logs.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>For more information about DNS query logs, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateQueryLoggingConfig.html">CreateQueryLoggingConfig</a>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { Route53Client, DeleteQueryLoggingConfigCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
19
|
-
* // const { Route53Client, DeleteQueryLoggingConfigCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
20
|
-
* const client = new Route53Client(config);
|
|
21
|
-
* const command = new DeleteQueryLoggingConfigCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link DeleteQueryLoggingConfigCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link DeleteQueryLoggingConfigCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
9
|
class DeleteQueryLoggingConfigCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
10
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
11
|
super();
|
|
36
12
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|