@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
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { ActivateKeySigningKeyCommandInput, ActivateKeySigningKeyCommandOutput } from "./commands/ActivateKeySigningKeyCommand";
|
|
11
11
|
import { AssociateVPCWithHostedZoneCommandInput, AssociateVPCWithHostedZoneCommandOutput } from "./commands/AssociateVPCWithHostedZoneCommand";
|
|
@@ -176,9 +176,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
176
176
|
*/
|
|
177
177
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
178
178
|
/**
|
|
179
|
-
* The {@link
|
|
179
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
180
180
|
*/
|
|
181
|
-
defaultsMode?:
|
|
181
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
182
182
|
}
|
|
183
183
|
declare type Route53ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
184
184
|
/**
|
|
@@ -195,19 +195,19 @@ export interface Route53ClientResolvedConfig extends Route53ClientResolvedConfig
|
|
|
195
195
|
/**
|
|
196
196
|
* <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
|
|
197
197
|
* service.</p>
|
|
198
|
-
*
|
|
199
|
-
*
|
|
198
|
+
* <p>You can use Route 53 to:</p>
|
|
199
|
+
* <ul>
|
|
200
200
|
* <li>
|
|
201
201
|
* <p>Register domain names.</p>
|
|
202
|
-
*
|
|
202
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-domain-registration.html">How domain registration works</a>.</p>
|
|
203
203
|
* </li>
|
|
204
204
|
* <li>
|
|
205
205
|
* <p>Route internet traffic to the resources for your domain</p>
|
|
206
|
-
*
|
|
206
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html">How internet traffic is routed to your website or web application</a>.</p>
|
|
207
207
|
* </li>
|
|
208
208
|
* <li>
|
|
209
209
|
* <p>Check the health of your resources.</p>
|
|
210
|
-
*
|
|
210
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-health-checks.html">How Route 53 checks the health of your resources</a>.</p>
|
|
211
211
|
* </li>
|
|
212
212
|
* </ul>
|
|
213
213
|
*/
|
|
@@ -9,39 +9,39 @@ export interface AssociateVPCWithHostedZoneCommandOutput extends AssociateVPCWit
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Associates an Amazon VPC with a private hosted zone. </p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <important>
|
|
13
|
+
* <p>To perform the association, the VPC and the private hosted zone must already
|
|
14
14
|
* exist. You can't convert a public hosted zone into a private hosted zone.</p>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* </important>
|
|
16
|
+
* <note>
|
|
17
|
+
* <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 by using a
|
|
18
18
|
* different account, the Amazon Web Services account that created the private hosted
|
|
19
19
|
* zone must first submit a <code>CreateVPCAssociationAuthorization</code> request.
|
|
20
20
|
* Then the account that created the VPC must submit an
|
|
21
21
|
* <code>AssociateVPCWithHostedZone</code> request.</p>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* </note>
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>When granting access, the hosted zone and the Amazon VPC must belong to
|
|
25
25
|
* the same partition. A partition is a group of Amazon Web Services Regions. Each
|
|
26
26
|
* Amazon Web Services account is scoped to one partition.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* <p>The following are the supported partitions:</p>
|
|
28
|
+
* <ul>
|
|
29
29
|
* <li>
|
|
30
|
-
*
|
|
30
|
+
* <p>
|
|
31
31
|
* <code>aws</code> - Amazon Web Services Regions</p>
|
|
32
|
-
*
|
|
32
|
+
* </li>
|
|
33
33
|
* <li>
|
|
34
|
-
*
|
|
34
|
+
* <p>
|
|
35
35
|
* <code>aws-cn</code> - China Regions</p>
|
|
36
|
-
*
|
|
36
|
+
* </li>
|
|
37
37
|
* <li>
|
|
38
|
-
*
|
|
38
|
+
* <p>
|
|
39
39
|
* <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
|
|
40
|
-
*
|
|
40
|
+
* </li>
|
|
41
41
|
* </ul>
|
|
42
|
-
*
|
|
42
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
|
|
43
43
|
* in the <i>Amazon Web Services General Reference</i>.</p>
|
|
44
|
-
*
|
|
44
|
+
* </note>
|
|
45
45
|
* @example
|
|
46
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
47
|
* ```javascript
|
|
@@ -10,28 +10,28 @@ export interface ChangeCidrCollectionCommandOutput extends ChangeCidrCollectionR
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates, changes, or deletes CIDR blocks within a collection. Contains authoritative
|
|
12
12
|
* IP information mapping blocks to one or multiple locations.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>A change request can update multiple locations in a collection at a time, which is
|
|
14
14
|
* helpful if you want to move one or more CIDR blocks from one location to another in one
|
|
15
15
|
* transaction, without downtime. </p>
|
|
16
|
-
*
|
|
16
|
+
* <p>
|
|
17
17
|
* <b>Limits</b>
|
|
18
18
|
* </p>
|
|
19
|
-
*
|
|
19
|
+
* <p>The max number of CIDR blocks included in the request is 1000. As a result, big updates
|
|
20
20
|
* require multiple API calls.</p>
|
|
21
|
-
*
|
|
21
|
+
* <p>
|
|
22
22
|
* <b> PUT and DELETE_IF_EXISTS</b>
|
|
23
23
|
* </p>
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* <p>Use <code>ChangeCidrCollection</code> to perform the following actions:</p>
|
|
25
|
+
* <ul>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
27
|
+
* <p>
|
|
28
28
|
* <code>PUT</code>: Create a CIDR block within the specified collection.</p>
|
|
29
|
-
*
|
|
29
|
+
* </li>
|
|
30
30
|
* <li>
|
|
31
|
-
*
|
|
31
|
+
* <p>
|
|
32
32
|
* <code> DELETE_IF_EXISTS</code>: Delete an existing CIDR block from the
|
|
33
33
|
* collection.</p>
|
|
34
|
-
*
|
|
34
|
+
* </li>
|
|
35
35
|
* </ul>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -13,36 +13,36 @@ export interface ChangeResourceRecordSetsCommandOutput extends ChangeResourceRec
|
|
|
13
13
|
* <code>ChangeResourceRecordSets</code> to create a resource record set that routes
|
|
14
14
|
* traffic for test.example.com to a web server that has an IP address of
|
|
15
15
|
* 192.0.2.44.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>
|
|
17
17
|
* <b>Deleting Resource Record Sets</b>
|
|
18
18
|
* </p>
|
|
19
|
-
*
|
|
19
|
+
* <p>To delete a resource record set, you must specify all the same values that you
|
|
20
20
|
* specified when you created it.</p>
|
|
21
|
-
*
|
|
21
|
+
* <p>
|
|
22
22
|
* <b>Change Batches and Transactional Changes</b>
|
|
23
23
|
* </p>
|
|
24
|
-
*
|
|
24
|
+
* <p>The request body must include a document with a
|
|
25
25
|
* <code>ChangeResourceRecordSetsRequest</code> element. The request body contains a
|
|
26
26
|
* list of change items, known as a change batch. Change batches are considered
|
|
27
27
|
* transactional changes. Route 53 validates the changes in the request and then either
|
|
28
28
|
* makes all or none of the changes in the change batch request. This ensures that DNS
|
|
29
29
|
* routing isn't adversely affected by partial changes to the resource record sets in a
|
|
30
30
|
* hosted zone. </p>
|
|
31
|
-
*
|
|
31
|
+
* <p>For example, suppose a change batch request contains two changes: it deletes the
|
|
32
32
|
* <code>CNAME</code> resource record set for www.example.com and creates an alias
|
|
33
33
|
* resource record set for www.example.com. If validation for both records succeeds, Route
|
|
34
34
|
* 53 deletes the first resource record set and creates the second resource record set in a
|
|
35
35
|
* single operation. If validation for either the <code>DELETE</code> or the
|
|
36
36
|
* <code>CREATE</code> action fails, then the request is canceled, and the original
|
|
37
37
|
* <code>CNAME</code> record continues to exist.</p>
|
|
38
|
-
*
|
|
39
|
-
*
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>If you try to delete the same resource record set more than once in a single
|
|
40
40
|
* change batch, Route 53 returns an <code>InvalidChangeBatch</code> error.</p>
|
|
41
|
-
*
|
|
42
|
-
*
|
|
41
|
+
* </note>
|
|
42
|
+
* <p>
|
|
43
43
|
* <b>Traffic Flow</b>
|
|
44
44
|
* </p>
|
|
45
|
-
*
|
|
45
|
+
* <p>To create resource record sets for complex routing configurations, use either the
|
|
46
46
|
* traffic flow visual editor in the Route 53 console or the API actions for traffic
|
|
47
47
|
* policies and traffic policy instances. Save the configuration as a traffic policy, then
|
|
48
48
|
* associate the traffic policy with one or more domain names (such as example.com) or
|
|
@@ -51,54 +51,52 @@ export interface ChangeResourceRecordSetsCommandOutput extends ChangeResourceRec
|
|
|
51
51
|
* expected. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html">Using Traffic Flow to Route
|
|
52
52
|
* DNS Traffic</a> in the <i>Amazon Route 53 Developer
|
|
53
53
|
* Guide</i>.</p>
|
|
54
|
-
*
|
|
54
|
+
* <p>
|
|
55
55
|
* <b>Create, Delete, and Upsert</b>
|
|
56
56
|
* </p>
|
|
57
|
-
*
|
|
57
|
+
* <p>Use <code>ChangeResourceRecordsSetsRequest</code> to perform the following
|
|
58
58
|
* actions:</p>
|
|
59
|
-
*
|
|
59
|
+
* <ul>
|
|
60
60
|
* <li>
|
|
61
|
-
*
|
|
61
|
+
* <p>
|
|
62
62
|
* <code>CREATE</code>: Creates a resource record set that has the specified
|
|
63
63
|
* values.</p>
|
|
64
|
-
*
|
|
64
|
+
* </li>
|
|
65
65
|
* <li>
|
|
66
|
-
*
|
|
66
|
+
* <p>
|
|
67
67
|
* <code>DELETE</code>: Deletes an existing resource record set that has the
|
|
68
68
|
* specified values.</p>
|
|
69
|
-
*
|
|
69
|
+
* </li>
|
|
70
70
|
* <li>
|
|
71
|
-
*
|
|
71
|
+
* <p>
|
|
72
72
|
* <code>UPSERT</code>: If a resource set exists Route 53 updates it with the
|
|
73
73
|
* values in the request. </p>
|
|
74
|
-
*
|
|
74
|
+
* </li>
|
|
75
75
|
* </ul>
|
|
76
|
-
*
|
|
76
|
+
* <p>
|
|
77
77
|
* <b>Syntaxes for Creating, Updating, and Deleting Resource Record
|
|
78
78
|
* Sets</b>
|
|
79
79
|
* </p>
|
|
80
|
-
*
|
|
80
|
+
* <p>The syntax for a request depends on the type of resource record set that you want to
|
|
81
81
|
* create, delete, or update, such as weighted, alias, or failover. The XML elements in
|
|
82
82
|
* your request must appear in the order listed in the syntax. </p>
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* <p>Don't refer to the syntax in the "Parameter Syntax" section, which includes
|
|
83
|
+
* <p>For an example for each type of resource record set, see "Examples."</p>
|
|
84
|
+
* <p>Don't refer to the syntax in the "Parameter Syntax" section, which includes
|
|
87
85
|
* all of the elements for every kind of resource record set that you can create, delete,
|
|
88
86
|
* or update by using <code>ChangeResourceRecordSets</code>. </p>
|
|
89
|
-
*
|
|
87
|
+
* <p>
|
|
90
88
|
* <b>Change Propagation to Route 53 DNS Servers</b>
|
|
91
89
|
* </p>
|
|
92
|
-
*
|
|
90
|
+
* <p>When you submit a <code>ChangeResourceRecordSets</code> request, Route 53 propagates
|
|
93
91
|
* your changes to all of the Route 53 authoritative DNS servers. While your changes are
|
|
94
92
|
* propagating, <code>GetChange</code> returns a status of <code>PENDING</code>. When
|
|
95
93
|
* propagation is complete, <code>GetChange</code> returns a status of <code>INSYNC</code>.
|
|
96
94
|
* Changes generally propagate to all Route 53 name servers within 60 seconds. For more
|
|
97
95
|
* information, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>.</p>
|
|
98
|
-
*
|
|
96
|
+
* <p>
|
|
99
97
|
* <b>Limits on ChangeResourceRecordSets Requests</b>
|
|
100
98
|
* </p>
|
|
101
|
-
*
|
|
99
|
+
* <p>For information about the limits on a <code>ChangeResourceRecordSets</code> request,
|
|
102
100
|
* see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
103
101
|
* @example
|
|
104
102
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,7 +9,7 @@ export interface ChangeTagsForResourceCommandOutput extends ChangeTagsForResourc
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Adds, edits, or deletes tags for a health check or a hosted zone.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>For information about using tags for cost allocation, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
13
13
|
* Tags</a> in the <i>Billing and Cost Management User Guide</i>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,31 +9,31 @@ export interface CreateHealthCheckCommandOutput extends CreateHealthCheckRespons
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a new health check.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>For information about adding health checks to resource record sets, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResourceRecordSet.html#Route53-Type-ResourceRecordSet-HealthCheckId">HealthCheckId</a> in <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html">ChangeResourceRecordSets</a>. </p>
|
|
13
|
+
* <p>
|
|
14
14
|
* <b>ELB Load Balancers</b>
|
|
15
15
|
* </p>
|
|
16
|
-
*
|
|
16
|
+
* <p>If you're registering EC2 instances with an Elastic Load Balancing (ELB) load
|
|
17
17
|
* balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you
|
|
18
18
|
* register an EC2 instance with a load balancer, you configure settings for an ELB health
|
|
19
19
|
* check, which performs a similar function to a Route 53 health check.</p>
|
|
20
|
-
*
|
|
20
|
+
* <p>
|
|
21
21
|
* <b>Private Hosted Zones</b>
|
|
22
22
|
* </p>
|
|
23
|
-
*
|
|
23
|
+
* <p>You can associate health checks with failover resource record sets in a private hosted
|
|
24
24
|
* zone. Note the following:</p>
|
|
25
|
-
*
|
|
25
|
+
* <ul>
|
|
26
26
|
* <li>
|
|
27
|
-
*
|
|
27
|
+
* <p>Route 53 health checkers are outside the VPC. To check the health of an
|
|
28
28
|
* endpoint within a VPC by IP address, you must assign a public IP address to the
|
|
29
29
|
* instance in the VPC.</p>
|
|
30
|
-
*
|
|
30
|
+
* </li>
|
|
31
31
|
* <li>
|
|
32
|
-
*
|
|
32
|
+
* <p>You can configure a health checker to check the health of an external resource
|
|
33
33
|
* that the instance relies on, such as a database server.</p>
|
|
34
|
-
*
|
|
34
|
+
* </li>
|
|
35
35
|
* <li>
|
|
36
|
-
*
|
|
36
|
+
* <p>You can create a CloudWatch metric, associate an alarm with the metric, and
|
|
37
37
|
* then create a health check that is based on the state of the alarm. For example,
|
|
38
38
|
* you might create a CloudWatch metric that checks the status of the Amazon EC2
|
|
39
39
|
* <code>StatusCheckFailed</code> metric, add an alarm to the metric, and then
|
|
@@ -41,7 +41,7 @@ export interface CreateHealthCheckCommandOutput extends CreateHealthCheckRespons
|
|
|
41
41
|
* about creating CloudWatch metrics and alarms by using the CloudWatch console,
|
|
42
42
|
* see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html">Amazon
|
|
43
43
|
* CloudWatch User Guide</a>.</p>
|
|
44
|
-
*
|
|
44
|
+
* </li>
|
|
45
45
|
* </ul>
|
|
46
46
|
* @example
|
|
47
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -13,64 +13,64 @@ export interface CreateHostedZoneCommandOutput extends CreateHostedZoneResponse,
|
|
|
13
13
|
* example.com, and its subdomains (apex.example.com, acme.example.com). You create records
|
|
14
14
|
* in a private hosted zone to define how you want to route traffic for a domain and its
|
|
15
15
|
* subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs). </p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* <important>
|
|
17
|
+
* <p>You can't convert a public hosted zone to a private hosted zone or vice versa.
|
|
18
18
|
* Instead, you must create a new hosted zone with the same name and create new
|
|
19
19
|
* resource record sets.</p>
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
20
|
+
* </important>
|
|
21
|
+
* <p>For more information about charges for hosted zones, see <a href="http://aws.amazon.com/route53/pricing/">Amazon Route 53 Pricing</a>.</p>
|
|
22
|
+
* <p>Note the following:</p>
|
|
23
|
+
* <ul>
|
|
24
24
|
* <li>
|
|
25
|
-
*
|
|
25
|
+
* <p>You can't create a hosted zone for a top-level domain (TLD) such as
|
|
26
26
|
* .com.</p>
|
|
27
|
-
*
|
|
27
|
+
* </li>
|
|
28
28
|
* <li>
|
|
29
|
-
*
|
|
29
|
+
* <p>For public hosted zones, Route 53 automatically creates a default SOA record
|
|
30
30
|
* and four NS records for the zone. For more information about SOA and NS records,
|
|
31
31
|
* see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html">NS and SOA Records
|
|
32
32
|
* that Route 53 Creates for a Hosted Zone</a> in the
|
|
33
33
|
* <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
34
|
-
*
|
|
34
|
+
* <p>If you want to use the same name servers for multiple public hosted zones, you
|
|
35
35
|
* can optionally associate a reusable delegation set with the hosted zone. See the
|
|
36
36
|
* <code>DelegationSetId</code> element.</p>
|
|
37
|
-
*
|
|
37
|
+
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
*
|
|
39
|
+
* <p>If your domain is registered with a registrar other than Route 53,
|
|
40
40
|
* you must update the name servers with your registrar to make Route 53 the DNS
|
|
41
41
|
* service for the domain. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html">Migrating DNS Service
|
|
42
42
|
* for an Existing Domain to Amazon Route 53</a> in the
|
|
43
43
|
* <i>Amazon Route 53 Developer Guide</i>. </p>
|
|
44
|
-
*
|
|
44
|
+
* </li>
|
|
45
45
|
* </ul>
|
|
46
|
-
*
|
|
46
|
+
* <p>When you submit a <code>CreateHostedZone</code> request, the initial status of the
|
|
47
47
|
* hosted zone is <code>PENDING</code>. For public hosted zones, this means that the NS and
|
|
48
48
|
* SOA records are not yet available on all Route 53 DNS servers. When the NS and
|
|
49
49
|
* SOA records are available, the status of the zone changes to <code>INSYNC</code>.</p>
|
|
50
|
-
*
|
|
50
|
+
* <p>The <code>CreateHostedZone</code> request requires the caller to have an
|
|
51
51
|
* <code>ec2:DescribeVpcs</code> permission.</p>
|
|
52
|
-
*
|
|
53
|
-
*
|
|
52
|
+
* <note>
|
|
53
|
+
* <p>When creating private hosted zones, the Amazon VPC must belong to the same
|
|
54
54
|
* partition where the hosted zone is created. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one
|
|
55
55
|
* partition.</p>
|
|
56
|
-
*
|
|
57
|
-
*
|
|
56
|
+
* <p>The following are the supported partitions:</p>
|
|
57
|
+
* <ul>
|
|
58
58
|
* <li>
|
|
59
|
-
*
|
|
59
|
+
* <p>
|
|
60
60
|
* <code>aws</code> - Amazon Web Services Regions</p>
|
|
61
|
-
*
|
|
61
|
+
* </li>
|
|
62
62
|
* <li>
|
|
63
|
-
*
|
|
63
|
+
* <p>
|
|
64
64
|
* <code>aws-cn</code> - China Regions</p>
|
|
65
|
-
*
|
|
65
|
+
* </li>
|
|
66
66
|
* <li>
|
|
67
|
-
*
|
|
67
|
+
* <p>
|
|
68
68
|
* <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
|
|
69
|
-
*
|
|
69
|
+
* </li>
|
|
70
70
|
* </ul>
|
|
71
|
-
*
|
|
71
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
|
|
72
72
|
* in the <i>Amazon Web Services General Reference</i>.</p>
|
|
73
|
-
*
|
|
73
|
+
* </note>
|
|
74
74
|
* @example
|
|
75
75
|
* Use a bare-bones client and the command you need to make an API call.
|
|
76
76
|
* ```javascript
|