@aws-sdk/client-route-53 3.254.0 → 3.257.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/Route53.d.ts +370 -372
- package/dist-types/Route53Client.d.ts +8 -8
- package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +18 -18
- package/dist-types/commands/ChangeCidrCollectionCommand.d.ts +10 -10
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +27 -29
- package/dist-types/commands/ChangeTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/CreateHealthCheckCommand.d.ts +12 -12
- package/dist-types/commands/CreateHostedZoneCommand.d.ts +27 -27
- package/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +59 -59
- package/dist-types/commands/CreateReusableDelegationSetCommand.d.ts +27 -27
- package/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteHealthCheckCommand.d.ts +4 -4
- package/dist-types/commands/DeleteHostedZoneCommand.d.ts +13 -13
- package/dist-types/commands/DeleteKeySigningKeyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteQueryLoggingConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReusableDelegationSetCommand.d.ts +4 -4
- package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +8 -8
- package/dist-types/commands/DeleteTrafficPolicyInstanceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +22 -22
- package/dist-types/commands/GetAccountLimitCommand.d.ts +4 -4
- package/dist-types/commands/GetChangeCommand.d.ts +5 -5
- package/dist-types/commands/GetCheckerIpRangesCommand.d.ts +3 -3
- package/dist-types/commands/GetGeoLocationCommand.d.ts +7 -7
- package/dist-types/commands/GetHealthCheckStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetHostedZoneLimitCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryLoggingConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetReusableDelegationSetLimitCommand.d.ts +1 -1
- package/dist-types/commands/GetTrafficPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +6 -6
- package/dist-types/commands/ListGeoLocationsCommand.d.ts +3 -3
- package/dist-types/commands/ListHostedZonesByNameCommand.d.ts +17 -17
- package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +17 -17
- package/dist-types/commands/ListHostedZonesCommand.d.ts +1 -1
- package/dist-types/commands/ListQueryLoggingConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +23 -23
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +4 -4
- package/dist-types/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +4 -4
- package/dist-types/commands/ListTrafficPolicyInstancesCommand.d.ts +4 -4
- package/dist-types/commands/ListTrafficPolicyVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
- package/dist-types/commands/TestDNSAnswerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHealthCheckCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrafficPolicyInstanceCommand.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +882 -880
- package/dist-types/ts3.4/Route53Client.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +31 -31
|
@@ -11,57 +11,57 @@ export interface CreateQueryLoggingConfigCommandOutput extends CreateQueryLoggin
|
|
|
11
11
|
* <p>Creates a configuration for DNS query logging. After you create a query logging
|
|
12
12
|
* configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs
|
|
13
13
|
* log group.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>DNS query logs contain information about the queries that Route 53 receives for a
|
|
15
15
|
* specified public hosted zone, such as the following:</p>
|
|
16
|
-
*
|
|
16
|
+
* <ul>
|
|
17
17
|
* <li>
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* <p>Route 53 edge location that responded to the DNS query</p>
|
|
19
|
+
* </li>
|
|
20
20
|
* <li>
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* <p>Domain or subdomain that was requested</p>
|
|
22
|
+
* </li>
|
|
23
23
|
* <li>
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* <p>DNS record type, such as A or AAAA</p>
|
|
25
|
+
* </li>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
27
|
+
* <p>DNS response code, such as <code>NoError</code> or
|
|
28
28
|
* <code>ServFail</code>
|
|
29
29
|
* </p>
|
|
30
|
-
*
|
|
30
|
+
* </li>
|
|
31
31
|
* </ul>
|
|
32
|
-
*
|
|
32
|
+
* <dl>
|
|
33
33
|
* <dt>Log Group and Resource Policy</dt>
|
|
34
34
|
* <dd>
|
|
35
|
-
*
|
|
35
|
+
* <p>Before you create a query logging configuration, perform the following
|
|
36
36
|
* operations.</p>
|
|
37
|
-
*
|
|
38
|
-
*
|
|
37
|
+
* <note>
|
|
38
|
+
* <p>If you create a query logging configuration using the Route 53
|
|
39
39
|
* console, Route 53 performs these operations automatically.</p>
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* </note>
|
|
41
|
+
* <ol>
|
|
42
42
|
* <li>
|
|
43
|
-
*
|
|
43
|
+
* <p>Create a CloudWatch Logs log group, and make note of the ARN,
|
|
44
44
|
* which you specify when you create a query logging configuration.
|
|
45
45
|
* Note the following:</p>
|
|
46
|
-
*
|
|
46
|
+
* <ul>
|
|
47
47
|
* <li>
|
|
48
|
-
*
|
|
48
|
+
* <p>You must create the log group in the us-east-1
|
|
49
49
|
* region.</p>
|
|
50
|
-
*
|
|
50
|
+
* </li>
|
|
51
51
|
* <li>
|
|
52
|
-
*
|
|
52
|
+
* <p>You must use the same Amazon Web Services account to create
|
|
53
53
|
* the log group and the hosted zone that you want to configure
|
|
54
54
|
* query logging for.</p>
|
|
55
|
-
*
|
|
55
|
+
* </li>
|
|
56
56
|
* <li>
|
|
57
|
-
*
|
|
57
|
+
* <p>When you create log groups for query logging, we recommend
|
|
58
58
|
* that you use a consistent prefix, for example:</p>
|
|
59
|
-
*
|
|
59
|
+
* <p>
|
|
60
60
|
* <code>/aws/route53/<i>hosted zone
|
|
61
61
|
* name</i>
|
|
62
62
|
* </code>
|
|
63
63
|
* </p>
|
|
64
|
-
*
|
|
64
|
+
* <p>In the next step, you'll create a resource policy, which
|
|
65
65
|
* controls access to one or more log groups and the associated
|
|
66
66
|
* Amazon Web Services resources, such as Route 53 hosted
|
|
67
67
|
* zones. There's a limit on the number of resource policies
|
|
@@ -69,11 +69,11 @@ export interface CreateQueryLoggingConfigCommandOutput extends CreateQueryLoggin
|
|
|
69
69
|
* consistent prefix so you can use the same resource policy
|
|
70
70
|
* for all the log groups that you create for query
|
|
71
71
|
* logging.</p>
|
|
72
|
-
*
|
|
72
|
+
* </li>
|
|
73
73
|
* </ul>
|
|
74
|
-
*
|
|
74
|
+
* </li>
|
|
75
75
|
* <li>
|
|
76
|
-
*
|
|
76
|
+
* <p>Create a CloudWatch Logs resource policy, and give it the
|
|
77
77
|
* permissions that Route 53 needs to create log streams and to send
|
|
78
78
|
* query logs to log streams. For the value of <code>Resource</code>,
|
|
79
79
|
* specify the ARN for the log group that you created in the previous
|
|
@@ -81,72 +81,72 @@ export interface CreateQueryLoggingConfigCommandOutput extends CreateQueryLoggin
|
|
|
81
81
|
* log groups that you created for query logging configurations,
|
|
82
82
|
* replace the hosted zone name with <code>*</code>, for
|
|
83
83
|
* example:</p>
|
|
84
|
-
*
|
|
84
|
+
* <p>
|
|
85
85
|
* <code>arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*</code>
|
|
86
86
|
* </p>
|
|
87
|
-
*
|
|
87
|
+
* <p>To avoid the confused deputy problem, a security issue where an
|
|
88
88
|
* entity without a permission for an action can coerce a
|
|
89
89
|
* more-privileged entity to perform it, you can optionally limit the
|
|
90
90
|
* permissions that a service has to a resource in a resource-based
|
|
91
91
|
* policy by supplying the following values:</p>
|
|
92
|
-
*
|
|
92
|
+
* <ul>
|
|
93
93
|
* <li>
|
|
94
|
-
*
|
|
94
|
+
* <p>For <code>aws:SourceArn</code>, supply the hosted zone ARN
|
|
95
95
|
* used in creating the query logging configuration. For
|
|
96
96
|
* example, <code>aws:SourceArn:
|
|
97
97
|
* arn:aws:route53:::hostedzone/hosted zone
|
|
98
98
|
* ID</code>.</p>
|
|
99
|
-
*
|
|
99
|
+
* </li>
|
|
100
100
|
* <li>
|
|
101
|
-
*
|
|
101
|
+
* <p>For <code>aws:SourceAccount</code>, supply the account ID
|
|
102
102
|
* for the account that creates the query logging
|
|
103
103
|
* configuration. For example,
|
|
104
104
|
* <code>aws:SourceAccount:111111111111</code>.</p>
|
|
105
|
-
*
|
|
105
|
+
* </li>
|
|
106
106
|
* </ul>
|
|
107
|
-
*
|
|
107
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html">The confused
|
|
108
108
|
* deputy problem</a> in the <i>Amazon Web Services
|
|
109
109
|
* IAM User Guide</i>.</p>
|
|
110
|
-
*
|
|
111
|
-
*
|
|
110
|
+
* <note>
|
|
111
|
+
* <p>You can't use the CloudWatch console to create or edit a
|
|
112
112
|
* resource policy. You must use the CloudWatch API, one of the
|
|
113
113
|
* Amazon Web Services SDKs, or the CLI.</p>
|
|
114
|
-
*
|
|
115
|
-
*
|
|
114
|
+
* </note>
|
|
115
|
+
* </li>
|
|
116
116
|
* </ol>
|
|
117
|
-
*
|
|
117
|
+
* </dd>
|
|
118
118
|
* <dt>Log Streams and Edge Locations</dt>
|
|
119
119
|
* <dd>
|
|
120
|
-
*
|
|
120
|
+
* <p>When Route 53 finishes creating the configuration for DNS query logging,
|
|
121
121
|
* it does the following:</p>
|
|
122
|
-
*
|
|
122
|
+
* <ul>
|
|
123
123
|
* <li>
|
|
124
|
-
*
|
|
124
|
+
* <p>Creates a log stream for an edge location the first time that the
|
|
125
125
|
* edge location responds to DNS queries for the specified hosted zone.
|
|
126
126
|
* That log stream is used to log all queries that Route 53 responds to
|
|
127
127
|
* for that edge location.</p>
|
|
128
|
-
*
|
|
128
|
+
* </li>
|
|
129
129
|
* <li>
|
|
130
|
-
*
|
|
131
|
-
*
|
|
130
|
+
* <p>Begins to send query logs to the applicable log stream.</p>
|
|
131
|
+
* </li>
|
|
132
132
|
* </ul>
|
|
133
|
-
*
|
|
134
|
-
*
|
|
133
|
+
* <p>The name of each log stream is in the following format:</p>
|
|
134
|
+
* <p>
|
|
135
135
|
* <code>
|
|
136
136
|
* <i>hosted zone ID</i>/<i>edge location
|
|
137
137
|
* code</i>
|
|
138
138
|
* </code>
|
|
139
139
|
* </p>
|
|
140
|
-
*
|
|
140
|
+
* <p>The edge location code is a three-letter code and an arbitrarily assigned
|
|
141
141
|
* number, for example, DFW3. The three-letter code typically corresponds with
|
|
142
142
|
* the International Air Transport Association airport code for an airport near
|
|
143
143
|
* the edge location. (These abbreviations might change in the future.) For a
|
|
144
144
|
* list of edge locations, see "The Route 53 Global Network" on the <a href="http://aws.amazon.com/route53/details/">Route 53 Product Details</a>
|
|
145
145
|
* page.</p>
|
|
146
|
-
*
|
|
146
|
+
* </dd>
|
|
147
147
|
* <dt>Queries That Are Logged</dt>
|
|
148
148
|
* <dd>
|
|
149
|
-
*
|
|
149
|
+
* <p>Query logs contain only the queries that DNS resolvers forward to Route
|
|
150
150
|
* 53. If a DNS resolver has already cached the response to a query (such as
|
|
151
151
|
* the IP address for a load balancer for example.com), the resolver will
|
|
152
152
|
* continue to return the cached response. It doesn't forward another query to
|
|
@@ -158,23 +158,23 @@ export interface CreateQueryLoggingConfigCommandOutput extends CreateQueryLoggin
|
|
|
158
158
|
* see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html">Routing
|
|
159
159
|
* Internet Traffic to Your Website or Web Application</a> in the
|
|
160
160
|
* <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
161
|
-
*
|
|
161
|
+
* </dd>
|
|
162
162
|
* <dt>Log File Format</dt>
|
|
163
163
|
* <dd>
|
|
164
|
-
*
|
|
164
|
+
* <p>For a list of the values in each query log and the format of each value,
|
|
165
165
|
* see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html">Logging DNS
|
|
166
166
|
* Queries</a> in the <i>Amazon Route 53 Developer
|
|
167
167
|
* Guide</i>.</p>
|
|
168
|
-
*
|
|
168
|
+
* </dd>
|
|
169
169
|
* <dt>Pricing</dt>
|
|
170
170
|
* <dd>
|
|
171
|
-
*
|
|
172
|
-
*
|
|
171
|
+
* <p>For information about charges for query logs, see <a href="http://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p>
|
|
172
|
+
* </dd>
|
|
173
173
|
* <dt>How to Stop Logging</dt>
|
|
174
174
|
* <dd>
|
|
175
|
-
*
|
|
175
|
+
* <p>If you want Route 53 to stop sending query logs to CloudWatch Logs, delete
|
|
176
176
|
* the query logging configuration. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteQueryLoggingConfig.html">DeleteQueryLoggingConfig</a>.</p>
|
|
177
|
-
*
|
|
177
|
+
* </dd>
|
|
178
178
|
* </dl>
|
|
179
179
|
* @example
|
|
180
180
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,61 +10,61 @@ export interface CreateReusableDelegationSetCommandOutput extends CreateReusable
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a delegation set (a group of four name servers) that can be reused by multiple
|
|
12
12
|
* hosted zones that were created by the same Amazon Web Services account. </p>
|
|
13
|
-
*
|
|
13
|
+
* <p>You can also create a reusable delegation set that uses the four name servers that are
|
|
14
14
|
* associated with an existing hosted zone. Specify the hosted zone ID in the
|
|
15
15
|
* <code>CreateReusableDelegationSet</code> request.</p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* <note>
|
|
17
|
+
* <p>You can't associate a reusable delegation set with a private hosted zone.</p>
|
|
18
|
+
* </note>
|
|
19
|
+
* <p>For information about using a reusable delegation set to configure white label name
|
|
20
20
|
* servers, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/white-label-name-servers.html">Configuring White
|
|
21
21
|
* Label Name Servers</a>.</p>
|
|
22
|
-
*
|
|
22
|
+
* <p>The process for migrating existing hosted zones to use a reusable delegation set is
|
|
23
23
|
* comparable to the process for configuring white label name servers. You need to perform
|
|
24
24
|
* the following steps:</p>
|
|
25
|
-
*
|
|
25
|
+
* <ol>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* <p>Create a reusable delegation set.</p>
|
|
28
|
+
* </li>
|
|
29
29
|
* <li>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* <p>Recreate hosted zones, and reduce the TTL to 60 seconds or less.</p>
|
|
31
|
+
* </li>
|
|
32
32
|
* <li>
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* <p>Recreate resource record sets in the new hosted zones.</p>
|
|
34
|
+
* </li>
|
|
35
35
|
* <li>
|
|
36
|
-
*
|
|
36
|
+
* <p>Change the registrar's name servers to use the name servers for the new hosted
|
|
37
37
|
* zones.</p>
|
|
38
|
-
*
|
|
38
|
+
* </li>
|
|
39
39
|
* <li>
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* <p>Monitor traffic for the website or application.</p>
|
|
41
|
+
* </li>
|
|
42
42
|
* <li>
|
|
43
|
-
*
|
|
44
|
-
*
|
|
43
|
+
* <p>Change TTLs back to their original values.</p>
|
|
44
|
+
* </li>
|
|
45
45
|
* </ol>
|
|
46
|
-
*
|
|
46
|
+
* <p>If you want to migrate existing hosted zones to use a reusable delegation set, the
|
|
47
47
|
* existing hosted zones can't use any of the name servers that are assigned to the
|
|
48
48
|
* reusable delegation set. If one or more hosted zones do use one or more name servers
|
|
49
49
|
* that are assigned to the reusable delegation set, you can do one of the
|
|
50
50
|
* following:</p>
|
|
51
|
-
*
|
|
51
|
+
* <ul>
|
|
52
52
|
* <li>
|
|
53
|
-
*
|
|
53
|
+
* <p>For small numbers of hosted zones—up to a few hundred—it's
|
|
54
54
|
* relatively easy to create reusable delegation sets until you get one that has
|
|
55
55
|
* four name servers that don't overlap with any of the name servers in your hosted
|
|
56
56
|
* zones.</p>
|
|
57
|
-
*
|
|
57
|
+
* </li>
|
|
58
58
|
* <li>
|
|
59
|
-
*
|
|
59
|
+
* <p>For larger numbers of hosted zones, the easiest solution is to use more than
|
|
60
60
|
* one reusable delegation set.</p>
|
|
61
|
-
*
|
|
61
|
+
* </li>
|
|
62
62
|
* <li>
|
|
63
|
-
*
|
|
63
|
+
* <p>For larger numbers of hosted zones, you can also migrate hosted zones that
|
|
64
64
|
* have overlapping name servers to hosted zones that don't have overlapping name
|
|
65
65
|
* servers, then migrate the hosted zones again to use the reusable delegation
|
|
66
66
|
* set.</p>
|
|
67
|
-
*
|
|
67
|
+
* </li>
|
|
68
68
|
* </ul>
|
|
69
69
|
* @example
|
|
70
70
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -14,11 +14,11 @@ export interface CreateVPCAssociationAuthorizationCommandOutput extends CreateVP
|
|
|
14
14
|
* <code>CreateVPCAssociationAuthorization</code> request, you must use the account
|
|
15
15
|
* that created the hosted zone. After you authorize the association, use the account that
|
|
16
16
|
* created the VPC to submit an <code>AssociateVPCWithHostedZone</code> request.</p>
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* <note>
|
|
18
|
+
* <p>If you want to associate multiple VPCs that you created by using one account with
|
|
19
19
|
* a hosted zone that you created by using a different account, you must submit one
|
|
20
20
|
* authorization request for each VPC.</p>
|
|
21
|
-
*
|
|
21
|
+
* </note>
|
|
22
22
|
* @example
|
|
23
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
24
|
* ```javascript
|
|
@@ -9,16 +9,16 @@ export interface DeleteHealthCheckCommandOutput extends DeleteHealthCheckRespons
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a health check.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <important>
|
|
13
|
+
* <p>Amazon Route 53 does not prevent you from deleting a health check even if the
|
|
14
14
|
* health check is associated with one or more resource record sets. If you delete a
|
|
15
15
|
* health check and you don't update the associated resource record sets, the future
|
|
16
16
|
* status of the health check can't be predicted and may change. This will affect the
|
|
17
17
|
* routing of DNS queries for your DNS failover configuration. For more information,
|
|
18
18
|
* see <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> in the <i>Amazon Route 53
|
|
19
19
|
* Developer Guide</i>.</p>
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* </important>
|
|
21
|
+
* <p>If you're using Cloud Map and you configured Cloud Map to create a Route 53
|
|
22
22
|
* health check when you register an instance, you can't use the Route 53
|
|
23
23
|
* <code>DeleteHealthCheck</code> command to delete the health check. The health check
|
|
24
24
|
* is deleted automatically when you deregister the instance; there can be a delay of
|
|
@@ -9,46 +9,46 @@ export interface DeleteHostedZoneCommandOutput extends DeleteHostedZoneResponse,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a hosted zone.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>If the hosted zone was created by another service, such as Cloud Map, see
|
|
13
13
|
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DeleteHostedZone.html#delete-public-hosted-zone-created-by-another-service">Deleting Public Hosted Zones That Were Created by Another Service</a> in the
|
|
14
14
|
* <i>Amazon Route 53 Developer Guide</i> for information
|
|
15
15
|
* about how to delete it. (The process is the same for public and private hosted zones
|
|
16
16
|
* that were created by another service.)</p>
|
|
17
|
-
*
|
|
17
|
+
* <p>If you want to keep your domain registration but you want to stop routing internet
|
|
18
18
|
* traffic to your website or web application, we recommend that you delete resource record
|
|
19
19
|
* sets in the hosted zone instead of deleting the hosted zone.</p>
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* <important>
|
|
21
|
+
* <p>If you delete a hosted zone, you can't undelete it. You must create a new hosted
|
|
22
22
|
* zone and update the name servers for your domain registration, which can require up
|
|
23
23
|
* to 48 hours to take effect. (If you delegated responsibility for a subdomain to a
|
|
24
24
|
* hosted zone and you delete the child hosted zone, you must update the name servers
|
|
25
25
|
* in the parent hosted zone.) In addition, if you delete a hosted zone, someone could
|
|
26
26
|
* hijack the domain and route traffic to their own resources using your domain
|
|
27
27
|
* name.</p>
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* </important>
|
|
29
|
+
* <p>If you want to avoid the monthly charge for the hosted zone, you can transfer DNS
|
|
30
30
|
* service for the domain to a free DNS service. When you transfer DNS service, you have to
|
|
31
31
|
* update the name servers for the domain registration. If the domain is registered with
|
|
32
32
|
* Route 53, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_UpdateDomainNameservers.html">UpdateDomainNameservers</a> for information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is
|
|
33
33
|
* registered with another registrar, use the method provided by the registrar to update
|
|
34
34
|
* name servers for the domain registration. For more information, perform an internet
|
|
35
35
|
* search on "free DNS service."</p>
|
|
36
|
-
*
|
|
36
|
+
* <p>You can delete a hosted zone only if it contains only the default SOA record and NS
|
|
37
37
|
* resource record sets. If the hosted zone contains other resource record sets, you must
|
|
38
38
|
* delete them before you can delete the hosted zone. If you try to delete a hosted zone
|
|
39
39
|
* that contains other resource record sets, the request fails, and Route 53
|
|
40
40
|
* returns a <code>HostedZoneNotEmpty</code> error. For information about deleting records
|
|
41
41
|
* from your hosted zone, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html">ChangeResourceRecordSets</a>.</p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
42
|
+
* <p>To verify that the hosted zone has been deleted, do one of the following:</p>
|
|
43
|
+
* <ul>
|
|
44
44
|
* <li>
|
|
45
|
-
*
|
|
45
|
+
* <p>Use the <code>GetHostedZone</code> action to request information about the
|
|
46
46
|
* hosted zone.</p>
|
|
47
|
-
*
|
|
47
|
+
* </li>
|
|
48
48
|
* <li>
|
|
49
|
-
*
|
|
49
|
+
* <p>Use the <code>ListHostedZones</code> action to get a list of the hosted zones
|
|
50
50
|
* associated with the current Amazon Web Services account.</p>
|
|
51
|
-
*
|
|
51
|
+
* </li>
|
|
52
52
|
* </ul>
|
|
53
53
|
* @example
|
|
54
54
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,8 +11,8 @@ export interface DeleteKeySigningKeyCommandOutput extends DeleteKeySigningKeyRes
|
|
|
11
11
|
* <p>Deletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it.
|
|
12
12
|
* The KSK must be deactivated before you can delete it regardless of whether the hosted
|
|
13
13
|
* zone is enabled for DNSSEC signing.</p>
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* <p>You can use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeactivateKeySigningKey.html">DeactivateKeySigningKey</a> to deactivate the key before you delete it.</p>
|
|
15
|
+
* <p>Use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetDNSSEC.html">GetDNSSEC</a> to verify that the KSK is in an <code>INACTIVE</code>
|
|
16
16
|
* status.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,7 +11,7 @@ export interface DeleteQueryLoggingConfigCommandOutput extends DeleteQueryLoggin
|
|
|
11
11
|
* <p>Deletes a configuration for DNS query logging. If you delete a configuration, Amazon
|
|
12
12
|
* Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs
|
|
13
13
|
* that are already in CloudWatch Logs.</p>
|
|
14
|
-
*
|
|
14
|
+
* <p>For more information about DNS query logs, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateQueryLoggingConfig.html">CreateQueryLoggingConfig</a>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -9,11 +9,11 @@ export interface DeleteReusableDelegationSetCommandOutput extends DeleteReusable
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a reusable delegation set.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <important>
|
|
13
|
+
* <p>You can delete a reusable delegation set only if it isn't associated with any
|
|
14
14
|
* hosted zones.</p>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* </important>
|
|
16
|
+
* <p>To verify that the reusable delegation set is not associated with any hosted zones,
|
|
17
17
|
* submit a <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetReusableDelegationSet.html">GetReusableDelegationSet</a> request and specify the ID of the reusable
|
|
18
18
|
* delegation set that you want to delete.</p>
|
|
19
19
|
* @example
|
|
@@ -9,20 +9,20 @@ export interface DeleteTrafficPolicyCommandOutput extends DeleteTrafficPolicyRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a traffic policy.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you delete a traffic policy, Route 53 sets a flag on the policy to indicate that
|
|
13
13
|
* it has been deleted. However, Route 53 never fully deletes the traffic policy. Note the
|
|
14
14
|
* following:</p>
|
|
15
|
-
*
|
|
15
|
+
* <ul>
|
|
16
16
|
* <li>
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* <p>Deleted traffic policies aren't listed if you run <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListTrafficPolicies.html">ListTrafficPolicies</a>.</p>
|
|
18
|
+
* </li>
|
|
19
19
|
* <li>
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* <p> There's no way to get a list of deleted policies.</p>
|
|
21
|
+
* </li>
|
|
22
22
|
* <li>
|
|
23
|
-
*
|
|
23
|
+
* <p>If you retain the ID of the policy, you can get information about the policy,
|
|
24
24
|
* including the traffic policy document, by running <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html">GetTrafficPolicy</a>.</p>
|
|
25
|
-
*
|
|
25
|
+
* </li>
|
|
26
26
|
* </ul>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,10 +10,10 @@ export interface DeleteTrafficPolicyInstanceCommandOutput extends DeleteTrafficP
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a traffic policy instance and all of the resource record sets that Amazon
|
|
12
12
|
* Route 53 created when you created the instance.</p>
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* <note>
|
|
14
|
+
* <p>In the Route 53 console, traffic policy instances are known as policy
|
|
15
15
|
* records.</p>
|
|
16
|
-
*
|
|
16
|
+
* </note>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
19
|
* ```javascript
|
|
@@ -12,14 +12,14 @@ export interface DeleteVPCAssociationAuthorizationCommandOutput extends DeleteVP
|
|
|
12
12
|
* associate a specified VPC with a hosted zone that was created by a different account.
|
|
13
13
|
* You must use the account that created the hosted zone to submit a
|
|
14
14
|
* <code>DeleteVPCAssociationAuthorization</code> request.</p>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* <important>
|
|
16
|
+
* <p>Sending this request only prevents the Amazon Web Services account that created the
|
|
17
17
|
* VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If
|
|
18
18
|
* the VPC is already associated with the hosted zone,
|
|
19
19
|
* <code>DeleteVPCAssociationAuthorization</code> won't disassociate the VPC from
|
|
20
20
|
* the hosted zone. If you want to delete an existing association, use
|
|
21
21
|
* <code>DisassociateVPCFromHostedZone</code>.</p>
|
|
22
|
-
*
|
|
22
|
+
* </important>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -10,53 +10,53 @@ export interface DisassociateVPCFromHostedZoneCommandOutput extends Disassociate
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon Route 53
|
|
12
12
|
* private hosted zone. Note the following:</p>
|
|
13
|
-
*
|
|
13
|
+
* <ul>
|
|
14
14
|
* <li>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* <p>You can't disassociate the last Amazon VPC from a private hosted zone.</p>
|
|
16
|
+
* </li>
|
|
17
17
|
* <li>
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* <p>You can't convert a private hosted zone into a public hosted zone.</p>
|
|
19
|
+
* </li>
|
|
20
20
|
* <li>
|
|
21
|
-
*
|
|
21
|
+
* <p>You can submit a <code>DisassociateVPCFromHostedZone</code> request using
|
|
22
22
|
* either the account that created the hosted zone or the account that created the
|
|
23
23
|
* Amazon VPC.</p>
|
|
24
|
-
*
|
|
24
|
+
* </li>
|
|
25
25
|
* <li>
|
|
26
|
-
*
|
|
26
|
+
* <p>Some services, such as Cloud Map and Amazon Elastic File System
|
|
27
27
|
* (Amazon EFS) automatically create hosted zones and associate VPCs with the
|
|
28
28
|
* hosted zones. A service can create a hosted zone using your account or using its
|
|
29
29
|
* own account. You can disassociate a VPC from a hosted zone only if the service
|
|
30
30
|
* created the hosted zone using your account.</p>
|
|
31
|
-
*
|
|
31
|
+
* <p>When you run <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListHostedZonesByVPC.html">DisassociateVPCFromHostedZone</a>, if the hosted zone has a value for
|
|
32
32
|
* <code>OwningAccount</code>, you can use
|
|
33
33
|
* <code>DisassociateVPCFromHostedZone</code>. If the hosted zone has a value
|
|
34
34
|
* for <code>OwningService</code>, you can't use
|
|
35
35
|
* <code>DisassociateVPCFromHostedZone</code>.</p>
|
|
36
|
-
*
|
|
36
|
+
* </li>
|
|
37
37
|
* </ul>
|
|
38
|
-
*
|
|
39
|
-
*
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>When revoking access, the hosted zone and the Amazon VPC must belong to
|
|
40
40
|
* the same partition. A partition is a group of Amazon Web Services Regions. Each
|
|
41
41
|
* Amazon Web Services account is scoped to one partition.</p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
42
|
+
* <p>The following are the supported partitions:</p>
|
|
43
|
+
* <ul>
|
|
44
44
|
* <li>
|
|
45
|
-
*
|
|
45
|
+
* <p>
|
|
46
46
|
* <code>aws</code> - Amazon Web Services Regions</p>
|
|
47
|
-
*
|
|
47
|
+
* </li>
|
|
48
48
|
* <li>
|
|
49
|
-
*
|
|
49
|
+
* <p>
|
|
50
50
|
* <code>aws-cn</code> - China Regions</p>
|
|
51
|
-
*
|
|
51
|
+
* </li>
|
|
52
52
|
* <li>
|
|
53
|
-
*
|
|
53
|
+
* <p>
|
|
54
54
|
* <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
|
|
55
|
-
*
|
|
55
|
+
* </li>
|
|
56
56
|
* </ul>
|
|
57
|
-
*
|
|
57
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
|
|
58
58
|
* in the <i>Amazon Web Services General Reference</i>.</p>
|
|
59
|
-
*
|
|
59
|
+
* </note>
|
|
60
60
|
* @example
|
|
61
61
|
* Use a bare-bones client and the command you need to make an API call.
|
|
62
62
|
* ```javascript
|
|
@@ -10,13 +10,13 @@ export interface GetAccountLimitCommandOutput extends GetAccountLimitResponse, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets the specified limit for the current account, for example, the maximum number of
|
|
12
12
|
* health checks that you can create using the account.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>For the default limit, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the
|
|
14
14
|
* <i>Amazon Route 53 Developer Guide</i>. To request a higher limit,
|
|
15
15
|
* <a href="https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53">open a case</a>.</p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* <note>
|
|
17
|
+
* <p>You can also view account limits in Amazon Web Services Trusted Advisor. Sign in to
|
|
18
18
|
* the Amazon Web Services Management Console and open the Trusted Advisor console at <a href="https://console.aws.amazon.com/trustedadvisor">https://console.aws.amazon.com/trustedadvisor/</a>. Then choose <b>Service limits</b> in the navigation pane.</p>
|
|
19
|
-
*
|
|
19
|
+
* </note>
|
|
20
20
|
* @example
|
|
21
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
22
|
* ```javascript
|