@aws-sdk/client-route-53 3.425.0 → 3.426.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/models/models_0.js +4 -1
- package/dist-cjs/protocols/Aws_restXml.js +1 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restXml.js +1 -0
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrafficPolicyInstanceCommand.d.ts +8 -0
- package/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +4 -4
- package/dist-types/commands/ListHostedZonesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTrafficPolicyInstanceCommand.d.ts +7 -1
- package/dist-types/models/models_0.d.ts +25 -3
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryLoggingConfigAlreadyExists = exports.NoSuchCloudWatchLogsLogGroup = exports.InsufficientCloudWatchLogsResourcePolicy = exports.TooManyKeySigningKeys = exports.KeySigningKeyAlreadyExists = exports.InvalidKeySigningKeyName = exports.InvalidArgument = exports.TooManyHostedZones = exports.NoSuchDelegationSet = exports.InvalidDomainName = exports.HostedZoneAlreadyExists = exports.DelegationSetNotReusable = exports.DelegationSetNotAvailable = exports.TooManyHealthChecks = exports.HealthCheckAlreadyExists = exports.Statistic = exports.ComparisonOperator = exports.HealthCheckType = exports.HealthCheckRegion = exports.InsufficientDataHealthStatus = exports.CidrCollectionAlreadyExistsException = exports.ThrottlingException = exports.TagResourceType = exports.NoSuchHealthCheck = exports.InvalidChangeBatch = exports.RRType = exports.ResourceRecordSetRegion = exports.ResourceRecordSetFailover = exports.ChangeAction = exports.NoSuchCidrCollectionException = exports.CidrCollectionVersionMismatchException = exports.CidrBlockInUseException = exports.CidrCollectionChangeAction = exports.PublicZoneVPCAssociation = exports.PriorRequestNotComplete = exports.NotAuthorizedException = exports.NoSuchHostedZone = exports.LimitsExceeded = exports.InvalidVPCId = exports.ConflictingDomainExists = exports.VPCRegion = exports.CloudWatchRegion = exports.NoSuchKeySigningKey = exports.InvalidSigningStatus = exports.InvalidKMSArn = exports.InvalidKeySigningKeyStatus = exports.InvalidInput = exports.ConcurrentModification = exports.ChangeStatus = exports.AccountLimitType = void 0;
|
|
4
|
-
exports.ConflictingTypes = exports.ResettableElementName = exports.HealthCheckVersionMismatch = exports.InvalidPaginationToken = exports.NoSuchCidrLocationException = exports.ReusableDelegationSetLimitType = exports.HostedZoneNotPrivate = exports.HostedZoneLimitType = exports.IncompatibleVersion = exports.NoSuchGeoLocation = exports.NoSuchChange = exports.KeySigningKeyWithActiveStatusNotFound = exports.HostedZonePartiallyDelegated = exports.VPCAssociationNotFound = exports.LastVPCAssociation = exports.DNSSECNotFound = exports.VPCAssociationAuthorizationNotFound = exports.NoSuchTrafficPolicyInstance = exports.TrafficPolicyInUse = exports.DelegationSetInUse = exports.NoSuchQueryLoggingConfig = exports.HostedZoneNotEmpty = exports.HealthCheckInUse = exports.CidrCollectionInUseException = exports.KeySigningKeyInUse = exports.KeySigningKeyInParentDSRecord = exports.TooManyVPCAssociationAuthorizations = exports.TooManyTrafficPolicyVersionsForCurrentPolicy = exports.TrafficPolicyInstanceAlreadyExists = exports.TooManyTrafficPolicyInstances = exports.NoSuchTrafficPolicy = exports.TrafficPolicyAlreadyExists = exports.TooManyTrafficPolicies = exports.InvalidTrafficPolicyDocument = exports.HostedZoneNotFound = exports.DelegationSetAlreadyReusable = exports.DelegationSetAlreadyCreated = void 0;
|
|
4
|
+
exports.ConflictingTypes = exports.ResettableElementName = exports.HealthCheckVersionMismatch = exports.InvalidPaginationToken = exports.HostedZoneType = exports.NoSuchCidrLocationException = exports.ReusableDelegationSetLimitType = exports.HostedZoneNotPrivate = exports.HostedZoneLimitType = exports.IncompatibleVersion = exports.NoSuchGeoLocation = exports.NoSuchChange = exports.KeySigningKeyWithActiveStatusNotFound = exports.HostedZonePartiallyDelegated = exports.VPCAssociationNotFound = exports.LastVPCAssociation = exports.DNSSECNotFound = exports.VPCAssociationAuthorizationNotFound = exports.NoSuchTrafficPolicyInstance = exports.TrafficPolicyInUse = exports.DelegationSetInUse = exports.NoSuchQueryLoggingConfig = exports.HostedZoneNotEmpty = exports.HealthCheckInUse = exports.CidrCollectionInUseException = exports.KeySigningKeyInUse = exports.KeySigningKeyInParentDSRecord = exports.TooManyVPCAssociationAuthorizations = exports.TooManyTrafficPolicyVersionsForCurrentPolicy = exports.TrafficPolicyInstanceAlreadyExists = exports.TooManyTrafficPolicyInstances = exports.NoSuchTrafficPolicy = exports.TrafficPolicyAlreadyExists = exports.TooManyTrafficPolicies = exports.InvalidTrafficPolicyDocument = exports.HostedZoneNotFound = exports.DelegationSetAlreadyReusable = exports.DelegationSetAlreadyCreated = void 0;
|
|
5
5
|
const Route53ServiceException_1 = require("./Route53ServiceException");
|
|
6
6
|
exports.AccountLimitType = {
|
|
7
7
|
MAX_HEALTH_CHECKS_BY_OWNER: "MAX_HEALTH_CHECKS_BY_OWNER",
|
|
@@ -1061,6 +1061,9 @@ class NoSuchCidrLocationException extends Route53ServiceException_1.Route53Servi
|
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
1063
1063
|
exports.NoSuchCidrLocationException = NoSuchCidrLocationException;
|
|
1064
|
+
exports.HostedZoneType = {
|
|
1065
|
+
PRIVATE_HOSTED_ZONE: "PrivateHostedZone",
|
|
1066
|
+
};
|
|
1064
1067
|
class InvalidPaginationToken extends Route53ServiceException_1.Route53ServiceException {
|
|
1065
1068
|
constructor(opts) {
|
|
1066
1069
|
super({
|
|
@@ -1207,6 +1207,7 @@ const se_ListHostedZonesCommand = async (input, context) => {
|
|
|
1207
1207
|
marker: [, input.Marker],
|
|
1208
1208
|
maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
1209
1209
|
delegationsetid: [, input.DelegationSetId],
|
|
1210
|
+
hostedzonetype: [, input.HostedZoneType],
|
|
1210
1211
|
});
|
|
1211
1212
|
let body;
|
|
1212
1213
|
return new protocol_http_1.HttpRequest({
|
|
@@ -991,6 +991,9 @@ export class NoSuchCidrLocationException extends __BaseException {
|
|
|
991
991
|
this.Message = opts.Message;
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
|
+
export const HostedZoneType = {
|
|
995
|
+
PRIVATE_HOSTED_ZONE: "PrivateHostedZone",
|
|
996
|
+
};
|
|
994
997
|
export class InvalidPaginationToken extends __BaseException {
|
|
995
998
|
constructor(opts) {
|
|
996
999
|
super({
|
|
@@ -1151,6 +1151,7 @@ export const se_ListHostedZonesCommand = async (input, context) => {
|
|
|
1151
1151
|
marker: [, input.Marker],
|
|
1152
1152
|
maxitems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
1153
1153
|
delegationsetid: [, input.DelegationSetId],
|
|
1154
|
+
hostedzonetype: [, input.HostedZoneType],
|
|
1154
1155
|
});
|
|
1155
1156
|
let body;
|
|
1156
1157
|
return new __HttpRequest({
|
|
@@ -84,8 +84,8 @@ export interface ChangeResourceRecordSetsCommandOutput extends ChangeResourceRec
|
|
|
84
84
|
* </li>
|
|
85
85
|
* <li>
|
|
86
86
|
* <p>
|
|
87
|
-
* <code>UPSERT</code>: If a resource set
|
|
88
|
-
* values in the request. </p>
|
|
87
|
+
* <code>UPSERT</code>: If a resource set doesn't exist, Route 53 creates it. If a resource
|
|
88
|
+
* set exists Route 53 updates it with the values in the request. </p>
|
|
89
89
|
* </li>
|
|
90
90
|
* </ul>
|
|
91
91
|
* <p>
|
|
@@ -29,6 +29,14 @@ export interface CreateTrafficPolicyInstanceCommandOutput extends CreateTrafficP
|
|
|
29
29
|
* or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for
|
|
30
30
|
* the domain or subdomain name by using the resource record sets that
|
|
31
31
|
* <code>CreateTrafficPolicyInstance</code> created.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>After you submit an <code>CreateTrafficPolicyInstance</code> request, there's a
|
|
34
|
+
* brief delay while Amazon Route 53 creates the resource record sets that are
|
|
35
|
+
* specified in the traffic policy definition.
|
|
36
|
+
* Use <code>GetTrafficPolicyInstance</code> with the <code>id</code> of new traffic policy instance to confirm that the <code>CreateTrafficPolicyInstance</code>
|
|
37
|
+
* request completed successfully. For more information, see the
|
|
38
|
+
* <code>State</code> response element.</p>
|
|
39
|
+
* </note>
|
|
32
40
|
* @example
|
|
33
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
42
|
* ```javascript
|
|
@@ -25,10 +25,10 @@ export interface GetTrafficPolicyInstanceCommandOutput extends GetTrafficPolicyI
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Gets information about a specified traffic policy instance.</p>
|
|
27
27
|
* <note>
|
|
28
|
-
* <p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
28
|
+
* <p>
|
|
29
|
+
* Use <code>GetTrafficPolicyInstance</code> with the <code>id</code> of new traffic policy instance to confirm that the
|
|
30
|
+
* <code>CreateTrafficPolicyInstance</code> or an <code>UpdateTrafficPolicyInstance</code> request completed successfully.
|
|
31
|
+
* For more information, see the <code>State</code> response
|
|
32
32
|
* element.</p>
|
|
33
33
|
* </note>
|
|
34
34
|
* <note>
|
|
@@ -39,6 +39,7 @@ export interface ListHostedZonesCommandOutput extends ListHostedZonesResponse, _
|
|
|
39
39
|
* Marker: "STRING_VALUE",
|
|
40
40
|
* MaxItems: Number("int"),
|
|
41
41
|
* DelegationSetId: "STRING_VALUE",
|
|
42
|
+
* HostedZoneType: "PrivateHostedZone",
|
|
42
43
|
* };
|
|
43
44
|
* const command = new ListHostedZonesCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
@@ -23,7 +23,13 @@ export interface UpdateTrafficPolicyInstanceCommandOutput extends UpdateTrafficP
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>After you submit a <code>UpdateTrafficPolicyInstance</code> request, there's a brief delay while Route 53 creates the resource record sets
|
|
28
|
+
* that are specified in the traffic policy definition. Use <code>GetTrafficPolicyInstance</code> with the <code>id</code> of updated traffic policy instance confirm
|
|
29
|
+
* that the
|
|
30
|
+
* <code>UpdateTrafficPolicyInstance</code> request completed successfully. For more information, see the <code>State</code> response element.</p>
|
|
31
|
+
* </note>
|
|
32
|
+
* <p>Updates the resource record sets in a specified hosted zone that were created based on
|
|
27
33
|
* the settings in a specified traffic policy version.</p>
|
|
28
34
|
* <p>When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS
|
|
29
35
|
* queries for the root resource record set name (such as example.com) while it replaces
|
|
@@ -1154,6 +1154,7 @@ export interface GeoLocation {
|
|
|
1154
1154
|
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
|
|
1155
1155
|
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
|
|
1156
1156
|
* alpha-2</a>.</p>
|
|
1157
|
+
* <p>Route 53 also supports the contry code <b>UA</b> forr Ukraine.</p>
|
|
1157
1158
|
*/
|
|
1158
1159
|
CountryCode?: string;
|
|
1159
1160
|
/**
|
|
@@ -2681,6 +2682,8 @@ export interface CreateHealthCheckRequest {
|
|
|
2681
2682
|
* check, Route 53 creates the health check.</p>
|
|
2682
2683
|
* </li>
|
|
2683
2684
|
* </ul>
|
|
2685
|
+
* <p> Route 53 does not store the <code>CallerReference</code> for a deleted health check indefinitely.
|
|
2686
|
+
* The <code>CallerReference</code> for a deleted health check will be deleted after a number of days.</p>
|
|
2684
2687
|
*/
|
|
2685
2688
|
CallerReference: string | undefined;
|
|
2686
2689
|
/**
|
|
@@ -4839,6 +4842,7 @@ export interface GetGeoLocationRequest {
|
|
|
4839
4842
|
* @public
|
|
4840
4843
|
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
|
|
4841
4844
|
* alpha-2</a>.</p>
|
|
4845
|
+
* <p>Route 53 also supports the contry code <b>UA</b> forr Ukraine.</p>
|
|
4842
4846
|
*/
|
|
4843
4847
|
CountryCode?: string;
|
|
4844
4848
|
/**
|
|
@@ -5739,9 +5743,9 @@ export interface ListHealthChecksRequest {
|
|
|
5739
5743
|
/**
|
|
5740
5744
|
* @public
|
|
5741
5745
|
* <p>The maximum number of health checks that you want <code>ListHealthChecks</code> to
|
|
5742
|
-
* return in response to the current request. Amazon Route 53 returns a maximum of
|
|
5743
|
-
* items. If you set <code>MaxItems</code> to a value greater than
|
|
5744
|
-
* only the first
|
|
5746
|
+
* return in response to the current request. Amazon Route 53 returns a maximum of 1000
|
|
5747
|
+
* items. If you set <code>MaxItems</code> to a value greater than 1000, Route 53 returns
|
|
5748
|
+
* only the first 1000 health checks. </p>
|
|
5745
5749
|
*/
|
|
5746
5750
|
MaxItems?: number;
|
|
5747
5751
|
}
|
|
@@ -5787,6 +5791,17 @@ export interface ListHealthChecksResponse {
|
|
|
5787
5791
|
*/
|
|
5788
5792
|
MaxItems: number | undefined;
|
|
5789
5793
|
}
|
|
5794
|
+
/**
|
|
5795
|
+
* @public
|
|
5796
|
+
* @enum
|
|
5797
|
+
*/
|
|
5798
|
+
export declare const HostedZoneType: {
|
|
5799
|
+
readonly PRIVATE_HOSTED_ZONE: "PrivateHostedZone";
|
|
5800
|
+
};
|
|
5801
|
+
/**
|
|
5802
|
+
* @public
|
|
5803
|
+
*/
|
|
5804
|
+
export type HostedZoneType = (typeof HostedZoneType)[keyof typeof HostedZoneType];
|
|
5790
5805
|
/**
|
|
5791
5806
|
* @public
|
|
5792
5807
|
* <p>A request to retrieve a list of the public and private hosted zones that are
|
|
@@ -5821,6 +5836,13 @@ export interface ListHostedZonesRequest {
|
|
|
5821
5836
|
* delegation set. </p>
|
|
5822
5837
|
*/
|
|
5823
5838
|
DelegationSetId?: string;
|
|
5839
|
+
/**
|
|
5840
|
+
* @public
|
|
5841
|
+
* <p>
|
|
5842
|
+
* (Optional) Specifies if the hosted zone is private.
|
|
5843
|
+
* </p>
|
|
5844
|
+
*/
|
|
5845
|
+
HostedZoneType?: HostedZoneType | string;
|
|
5824
5846
|
}
|
|
5825
5847
|
/**
|
|
5826
5848
|
* @public
|
|
@@ -1264,10 +1264,16 @@ export interface ListHealthChecksResponse {
|
|
|
1264
1264
|
NextMarker?: string;
|
|
1265
1265
|
MaxItems: number | undefined;
|
|
1266
1266
|
}
|
|
1267
|
+
export declare const HostedZoneType: {
|
|
1268
|
+
readonly PRIVATE_HOSTED_ZONE: "PrivateHostedZone";
|
|
1269
|
+
};
|
|
1270
|
+
export type HostedZoneType =
|
|
1271
|
+
(typeof HostedZoneType)[keyof typeof HostedZoneType];
|
|
1267
1272
|
export interface ListHostedZonesRequest {
|
|
1268
1273
|
Marker?: string;
|
|
1269
1274
|
MaxItems?: number;
|
|
1270
1275
|
DelegationSetId?: string;
|
|
1276
|
+
HostedZoneType?: HostedZoneType | string;
|
|
1271
1277
|
}
|
|
1272
1278
|
export interface ListHostedZonesResponse {
|
|
1273
1279
|
HostedZones: HostedZone[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route-53",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.426.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|