@aws-sdk/client-route-53 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/Route53ServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +826 -4
  5. package/dist-cjs/protocols/Aws_restXml.js +864 -2450
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/Route53ServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +759 -1
  9. package/dist-es/protocols/Aws_restXml.js +1467 -2749
  10. package/dist-types/Route53.d.ts +111 -2
  11. package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +22 -0
  12. package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +2 -2
  13. package/dist-types/commands/CreateHostedZoneCommand.d.ts +21 -0
  14. package/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +22 -0
  15. package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +21 -0
  16. package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +23 -0
  17. package/dist-types/index.d.ts +1 -0
  18. package/dist-types/models/Route53ServiceException.d.ts +10 -0
  19. package/dist-types/models/models_0.d.ts +367 -291
  20. package/dist-types/ts3.4/Route53.d.ts +97 -0
  21. package/dist-types/ts3.4/Route53Client.d.ts +137 -0
  22. package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +8 -0
  30. package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/index.d.ts +64 -0
  87. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  88. package/dist-types/ts3.4/index.d.ts +7 -0
  89. package/dist-types/ts3.4/models/Route53ServiceException.d.ts +6 -0
  90. package/dist-types/ts3.4/models/index.d.ts +1 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +2456 -0
  92. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  93. package/dist-types/ts3.4/pagination/ListHealthChecksPaginator.d.ts +4 -0
  94. package/dist-types/ts3.4/pagination/ListHostedZonesPaginator.d.ts +4 -0
  95. package/dist-types/ts3.4/pagination/ListQueryLoggingConfigsPaginator.d.ts +4 -0
  96. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  97. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +194 -0
  98. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  99. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  100. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  101. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  102. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  103. package/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +7 -0
  104. package/package.json +36 -36
@@ -87,6 +87,28 @@ export declare class Route53 extends Route53Client {
87
87
  * <code>CreateVPCAssociationAuthorization</code> request. Then the account that created the VPC must submit an
88
88
  * <code>AssociateVPCWithHostedZone</code> request.</p>
89
89
  * </note>
90
+ * <note>
91
+ * <p>When granting access, the hosted zone and the Amazon VPC must belong to the same partition. A
92
+ * partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one
93
+ * partition.</p>
94
+ * <p>The following are the supported partitions:</p>
95
+ * <ul>
96
+ * <li>
97
+ * <p>
98
+ * <code>aws</code> - Amazon Web Services Regions</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>
102
+ * <code>aws-cn</code> - China Regions</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>
106
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
107
+ * </li>
108
+ * </ul>
109
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
110
+ * in the <i>Amazon Web Services General Reference</i>.</p>
111
+ * </note>
90
112
  */
91
113
  associateVPCWithHostedZone(args: AssociateVPCWithHostedZoneCommandInput, options?: __HttpHandlerOptions): Promise<AssociateVPCWithHostedZoneCommandOutput>;
92
114
  associateVPCWithHostedZone(args: AssociateVPCWithHostedZoneCommandInput, cb: (err: any, data?: AssociateVPCWithHostedZoneCommandOutput) => void): void;
@@ -141,8 +163,8 @@ export declare class Route53 extends Route53Client {
141
163
  * </li>
142
164
  * <li>
143
165
  * <p>
144
- * <code>UPSERT</code>: If a resource record set does not already exist, Amazon Web Services creates it.
145
- * If a resource set does exist, Route 53 updates it with the values in the request. </p>
166
+ * <code>UPSERT</code>: If a resource set exists Route 53 updates it with the values in the
167
+ * request. </p>
146
168
  * </li>
147
169
  * </ul>
148
170
  *
@@ -260,6 +282,27 @@ export declare class Route53 extends Route53Client {
260
282
  * For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the
261
283
  * NS and SOA records are available, the status of the zone changes to <code>INSYNC</code>.</p>
262
284
  * <p>The <code>CreateHostedZone</code> request requires the caller to have an <code>ec2:DescribeVpcs</code> permission.</p>
285
+ * <note>
286
+ * <p>When creating private hosted zones, the Amazon VPC must belong to the same partition
287
+ * 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 partition.</p>
288
+ * <p>The following are the supported partitions:</p>
289
+ * <ul>
290
+ * <li>
291
+ * <p>
292
+ * <code>aws</code> - Amazon Web Services Regions</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>
296
+ * <code>aws-cn</code> - China Regions</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>
300
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
301
+ * </li>
302
+ * </ul>
303
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
304
+ * in the <i>Amazon Web Services General Reference</i>.</p>
305
+ * </note>
263
306
  */
264
307
  createHostedZone(args: CreateHostedZoneCommandInput, options?: __HttpHandlerOptions): Promise<CreateHostedZoneCommandOutput>;
265
308
  createHostedZone(args: CreateHostedZoneCommandInput, cb: (err: any, data?: CreateHostedZoneCommandOutput) => void): void;
@@ -330,6 +373,28 @@ export declare class Route53 extends Route53Client {
330
373
  * <p>
331
374
  * <code>arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*</code>
332
375
  * </p>
376
+ *
377
+ * <p>To avoid the confused deputy problem, a security issue where an entity without a
378
+ * permission for an action can coerce a more-privileged entity to
379
+ * perform it, you can optionally limit the permissions that a service
380
+ * has to a resource in a resource-based policy by supplying the
381
+ * following values:</p>
382
+ * <ul>
383
+ * <li>
384
+ * <p>For <code>aws:SourceArn</code>, supply the hosted zone ARN used in creating the query logging
385
+ * configuration. For example, <code>aws:SourceArn:
386
+ * arn:aws:route53:::hostedzone/hosted zone
387
+ * ID</code>.</p>
388
+ * </li>
389
+ * <li>
390
+ * <p>For <code>aws:SourceAccount</code>, supply the account ID for the account that creates the
391
+ * query logging configuration. For example,
392
+ * <code>aws:SourceAccount:111111111111</code>.</p>
393
+ * </li>
394
+ * </ul>
395
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html">The confused
396
+ * deputy problem</a> in the <i>Amazon Web Services
397
+ * IAM User Guide</i>.</p>
333
398
  * <note>
334
399
  * <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,
335
400
  * or the CLI.</p>
@@ -663,6 +728,27 @@ export declare class Route53 extends Route53Client {
663
728
  * If the hosted zone has a value for <code>OwningService</code>, you can't use <code>DisassociateVPCFromHostedZone</code>.</p>
664
729
  * </li>
665
730
  * </ul>
731
+ * <note>
732
+ * <p>When revoking access, the hosted zone and the Amazon VPC must belong to the same
733
+ * partition. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.</p>
734
+ * <p>The following are the supported partitions:</p>
735
+ * <ul>
736
+ * <li>
737
+ * <p>
738
+ * <code>aws</code> - Amazon Web Services Regions</p>
739
+ * </li>
740
+ * <li>
741
+ * <p>
742
+ * <code>aws-cn</code> - China Regions</p>
743
+ * </li>
744
+ * <li>
745
+ * <p>
746
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
747
+ * </li>
748
+ * </ul>
749
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
750
+ * in the <i>Amazon Web Services General Reference</i>.</p>
751
+ * </note>
666
752
  */
667
753
  disassociateVPCFromHostedZone(args: DisassociateVPCFromHostedZoneCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateVPCFromHostedZoneCommandOutput>;
668
754
  disassociateVPCFromHostedZone(args: DisassociateVPCFromHostedZoneCommandInput, cb: (err: any, data?: DisassociateVPCFromHostedZoneCommandOutput) => void): void;
@@ -946,6 +1032,29 @@ export declare class Route53 extends Route53Client {
946
1032
  * <code>efs.amazonaws.com</code>. </p>
947
1033
  * </li>
948
1034
  * </ul>
1035
+ * <note>
1036
+ * <p>When listing private hosted zones, the hosted zone and the Amazon VPC must belong to
1037
+ * the same partition where the hosted zones were created. A partition is a group of
1038
+ * Amazon Web Services Regions. Each Amazon Web Services account is scoped to one
1039
+ * partition.</p>
1040
+ * <p>The following are the supported partitions:</p>
1041
+ * <ul>
1042
+ * <li>
1043
+ * <p>
1044
+ * <code>aws</code> - Amazon Web Services Regions</p>
1045
+ * </li>
1046
+ * <li>
1047
+ * <p>
1048
+ * <code>aws-cn</code> - China Regions</p>
1049
+ * </li>
1050
+ * <li>
1051
+ * <p>
1052
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
1053
+ * </li>
1054
+ * </ul>
1055
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
1056
+ * in the <i>Amazon Web Services General Reference</i>.</p>
1057
+ * </note>
949
1058
  */
950
1059
  listHostedZonesByVPC(args: ListHostedZonesByVPCCommandInput, options?: __HttpHandlerOptions): Promise<ListHostedZonesByVPCCommandOutput>;
951
1060
  listHostedZonesByVPC(args: ListHostedZonesByVPCCommandInput, cb: (err: any, data?: ListHostedZonesByVPCCommandOutput) => void): void;
@@ -18,6 +18,28 @@ export interface AssociateVPCWithHostedZoneCommandOutput extends AssociateVPCWit
18
18
  * <code>CreateVPCAssociationAuthorization</code> request. Then the account that created the VPC must submit an
19
19
  * <code>AssociateVPCWithHostedZone</code> request.</p>
20
20
  * </note>
21
+ * <note>
22
+ * <p>When granting access, the hosted zone and the Amazon VPC must belong to the same partition. A
23
+ * partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one
24
+ * partition.</p>
25
+ * <p>The following are the supported partitions:</p>
26
+ * <ul>
27
+ * <li>
28
+ * <p>
29
+ * <code>aws</code> - Amazon Web Services Regions</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <code>aws-cn</code> - China Regions</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
38
+ * </li>
39
+ * </ul>
40
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
41
+ * in the <i>Amazon Web Services General Reference</i>.</p>
42
+ * </note>
21
43
  * @example
22
44
  * Use a bare-bones client and the command you need to make an API call.
23
45
  * ```javascript
@@ -56,8 +56,8 @@ export interface ChangeResourceRecordSetsCommandOutput extends ChangeResourceRec
56
56
  * </li>
57
57
  * <li>
58
58
  * <p>
59
- * <code>UPSERT</code>: If a resource record set does not already exist, Amazon Web Services creates it.
60
- * If a resource set does exist, Route 53 updates it with the values in the request. </p>
59
+ * <code>UPSERT</code>: If a resource set exists Route 53 updates it with the values in the
60
+ * request. </p>
61
61
  * </li>
62
62
  * </ul>
63
63
  *
@@ -40,6 +40,27 @@ export interface CreateHostedZoneCommandOutput extends CreateHostedZoneResponse,
40
40
  * For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the
41
41
  * NS and SOA records are available, the status of the zone changes to <code>INSYNC</code>.</p>
42
42
  * <p>The <code>CreateHostedZone</code> request requires the caller to have an <code>ec2:DescribeVpcs</code> permission.</p>
43
+ * <note>
44
+ * <p>When creating private hosted zones, the Amazon VPC must belong to the same partition
45
+ * 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 partition.</p>
46
+ * <p>The following are the supported partitions:</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>
50
+ * <code>aws</code> - Amazon Web Services Regions</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>aws-cn</code> - China Regions</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
59
+ * </li>
60
+ * </ul>
61
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
62
+ * in the <i>Amazon Web Services General Reference</i>.</p>
63
+ * </note>
43
64
  * @example
44
65
  * Use a bare-bones client and the command you need to make an API call.
45
66
  * ```javascript
@@ -66,6 +66,28 @@ export interface CreateQueryLoggingConfigCommandOutput extends CreateQueryLoggin
66
66
  * <p>
67
67
  * <code>arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*</code>
68
68
  * </p>
69
+ *
70
+ * <p>To avoid the confused deputy problem, a security issue where an entity without a
71
+ * permission for an action can coerce a more-privileged entity to
72
+ * perform it, you can optionally limit the permissions that a service
73
+ * has to a resource in a resource-based policy by supplying the
74
+ * following values:</p>
75
+ * <ul>
76
+ * <li>
77
+ * <p>For <code>aws:SourceArn</code>, supply the hosted zone ARN used in creating the query logging
78
+ * configuration. For example, <code>aws:SourceArn:
79
+ * arn:aws:route53:::hostedzone/hosted zone
80
+ * ID</code>.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>For <code>aws:SourceAccount</code>, supply the account ID for the account that creates the
84
+ * query logging configuration. For example,
85
+ * <code>aws:SourceAccount:111111111111</code>.</p>
86
+ * </li>
87
+ * </ul>
88
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html">The confused
89
+ * deputy problem</a> in the <i>Amazon Web Services
90
+ * IAM User Guide</i>.</p>
69
91
  * <note>
70
92
  * <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
93
  * or the CLI.</p>
@@ -28,6 +28,27 @@ export interface DisassociateVPCFromHostedZoneCommandOutput extends Disassociate
28
28
  * If the hosted zone has a value for <code>OwningService</code>, you can't use <code>DisassociateVPCFromHostedZone</code>.</p>
29
29
  * </li>
30
30
  * </ul>
31
+ * <note>
32
+ * <p>When revoking access, the hosted zone and the Amazon VPC must belong to the same
33
+ * partition. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.</p>
34
+ * <p>The following are the supported partitions:</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>
38
+ * <code>aws</code> - Amazon Web Services Regions</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>aws-cn</code> - China Regions</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
47
+ * </li>
48
+ * </ul>
49
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
50
+ * in the <i>Amazon Web Services General Reference</i>.</p>
51
+ * </note>
31
52
  * @example
32
53
  * Use a bare-bones client and the command you need to make an API call.
33
54
  * ```javascript
@@ -20,6 +20,29 @@ export interface ListHostedZonesByVPCCommandOutput extends ListHostedZonesByVPCR
20
20
  * <code>efs.amazonaws.com</code>. </p>
21
21
  * </li>
22
22
  * </ul>
23
+ * <note>
24
+ * <p>When listing private hosted zones, the hosted zone and the Amazon VPC must belong to
25
+ * the same partition where the hosted zones were created. A partition is a group of
26
+ * Amazon Web Services Regions. Each Amazon Web Services account is scoped to one
27
+ * partition.</p>
28
+ * <p>The following are the supported partitions:</p>
29
+ * <ul>
30
+ * <li>
31
+ * <p>
32
+ * <code>aws</code> - Amazon Web Services Regions</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>aws-cn</code> - China Regions</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <code>aws-us-gov</code> - Amazon Web Services GovCloud (US) Region</p>
41
+ * </li>
42
+ * </ul>
43
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Access Management</a>
44
+ * in the <i>Amazon Web Services General Reference</i>.</p>
45
+ * </note>
23
46
  * @example
24
47
  * Use a bare-bones client and the command you need to make an API call.
25
48
  * ```javascript
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { Route53ServiceException } from "./models/Route53ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Route53 service.
4
+ */
5
+ export declare class Route53ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }