@aws-sdk/client-route-53 3.484.0 → 3.489.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/protocols/Aws_restXml.js +57 -0
- package/dist-es/protocols/Aws_restXml.js +57 -0
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +9 -0
- package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +105 -27
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +37 -37
|
@@ -5122,6 +5122,12 @@ const se_CidrRoutingConfig = (input, context) => {
|
|
|
5122
5122
|
}
|
|
5123
5123
|
return bn;
|
|
5124
5124
|
};
|
|
5125
|
+
const se_Coordinates = (input, context) => {
|
|
5126
|
+
const bn = new xml_builder_1.XmlNode(_Coo);
|
|
5127
|
+
bn.cc(input, _La);
|
|
5128
|
+
bn.cc(input, _Lo);
|
|
5129
|
+
return bn;
|
|
5130
|
+
};
|
|
5125
5131
|
const se_GeoLocation = (input, context) => {
|
|
5126
5132
|
const bn = new xml_builder_1.XmlNode(_GL);
|
|
5127
5133
|
if (input[_CC] != null) {
|
|
@@ -5135,6 +5141,18 @@ const se_GeoLocation = (input, context) => {
|
|
|
5135
5141
|
}
|
|
5136
5142
|
return bn;
|
|
5137
5143
|
};
|
|
5144
|
+
const se_GeoProximityLocation = (input, context) => {
|
|
5145
|
+
const bn = new xml_builder_1.XmlNode(_GPL);
|
|
5146
|
+
bn.cc(input, _AWSR);
|
|
5147
|
+
bn.cc(input, _LZG);
|
|
5148
|
+
if (input[_Coo] != null) {
|
|
5149
|
+
bn.c(se_Coordinates(input[_Coo], context).n(_Coo));
|
|
5150
|
+
}
|
|
5151
|
+
if (input[_B] != null) {
|
|
5152
|
+
bn.c(xml_builder_1.XmlNode.of(_B, String(input[_B])).n(_B));
|
|
5153
|
+
}
|
|
5154
|
+
return bn;
|
|
5155
|
+
};
|
|
5138
5156
|
const se_HealthCheckConfig = (input, context) => {
|
|
5139
5157
|
const bn = new xml_builder_1.XmlNode(_HCC);
|
|
5140
5158
|
bn.cc(input, _IPA);
|
|
@@ -5256,6 +5274,9 @@ const se_ResourceRecordSet = (input, context) => {
|
|
|
5256
5274
|
if (input[_CRC] != null) {
|
|
5257
5275
|
bn.c(se_CidrRoutingConfig(input[_CRC], context).n(_CRC));
|
|
5258
5276
|
}
|
|
5277
|
+
if (input[_GPL] != null) {
|
|
5278
|
+
bn.c(se_GeoProximityLocation(input[_GPL], context).n(_GPL));
|
|
5279
|
+
}
|
|
5259
5280
|
return bn;
|
|
5260
5281
|
};
|
|
5261
5282
|
const se_Tag = (input, context) => {
|
|
@@ -5458,6 +5479,16 @@ const de_CollectionSummary = (output, context) => {
|
|
|
5458
5479
|
}
|
|
5459
5480
|
return contents;
|
|
5460
5481
|
};
|
|
5482
|
+
const de_Coordinates = (output, context) => {
|
|
5483
|
+
const contents = {};
|
|
5484
|
+
if (output[_La] != null) {
|
|
5485
|
+
contents[_La] = (0, smithy_client_1.expectString)(output[_La]);
|
|
5486
|
+
}
|
|
5487
|
+
if (output[_Lo] != null) {
|
|
5488
|
+
contents[_Lo] = (0, smithy_client_1.expectString)(output[_Lo]);
|
|
5489
|
+
}
|
|
5490
|
+
return contents;
|
|
5491
|
+
};
|
|
5461
5492
|
const de_DelegationSet = (output, context) => {
|
|
5462
5493
|
const contents = {};
|
|
5463
5494
|
if (output[_Id] != null) {
|
|
@@ -5564,6 +5595,22 @@ const de_GeoLocationDetailsList = (output, context) => {
|
|
|
5564
5595
|
return de_GeoLocationDetails(entry, context);
|
|
5565
5596
|
});
|
|
5566
5597
|
};
|
|
5598
|
+
const de_GeoProximityLocation = (output, context) => {
|
|
5599
|
+
const contents = {};
|
|
5600
|
+
if (output[_AWSR] != null) {
|
|
5601
|
+
contents[_AWSR] = (0, smithy_client_1.expectString)(output[_AWSR]);
|
|
5602
|
+
}
|
|
5603
|
+
if (output[_LZG] != null) {
|
|
5604
|
+
contents[_LZG] = (0, smithy_client_1.expectString)(output[_LZG]);
|
|
5605
|
+
}
|
|
5606
|
+
if (output[_Coo] != null) {
|
|
5607
|
+
contents[_Coo] = de_Coordinates(output[_Coo], context);
|
|
5608
|
+
}
|
|
5609
|
+
if (output[_B] != null) {
|
|
5610
|
+
contents[_B] = (0, smithy_client_1.strictParseInt32)(output[_B]);
|
|
5611
|
+
}
|
|
5612
|
+
return contents;
|
|
5613
|
+
};
|
|
5567
5614
|
const de_HealthCheck = (output, context) => {
|
|
5568
5615
|
const contents = {};
|
|
5569
5616
|
if (output[_Id] != null) {
|
|
@@ -5934,6 +5981,9 @@ const de_ResourceRecordSet = (output, context) => {
|
|
|
5934
5981
|
if (output[_CRC] != null) {
|
|
5935
5982
|
contents[_CRC] = de_CidrRoutingConfig(output[_CRC], context);
|
|
5936
5983
|
}
|
|
5984
|
+
if (output[_GPL] != null) {
|
|
5985
|
+
contents[_GPL] = de_GeoProximityLocation(output[_GPL], context);
|
|
5986
|
+
}
|
|
5937
5987
|
return contents;
|
|
5938
5988
|
};
|
|
5939
5989
|
const de_ResourceRecordSets = (output, context) => {
|
|
@@ -6133,7 +6183,9 @@ const _AT = "AddTags";
|
|
|
6133
6183
|
const _ATl = "AliasTarget";
|
|
6134
6184
|
const _AVPCC = "AssociateVPCComment";
|
|
6135
6185
|
const _AVPCWHZR = "AssociateVPCWithHostedZoneRequest";
|
|
6186
|
+
const _AWSR = "AWSRegion";
|
|
6136
6187
|
const _Ar = "Arn";
|
|
6188
|
+
const _B = "Bias";
|
|
6137
6189
|
const _C = "Comment";
|
|
6138
6190
|
const _CA = "ChangeAction";
|
|
6139
6191
|
const _CB = "ChangeBatch";
|
|
@@ -6184,6 +6236,7 @@ const _Cha = "Change";
|
|
|
6184
6236
|
const _Ci = "Cidr";
|
|
6185
6237
|
const _Co = "Collection";
|
|
6186
6238
|
const _Con = "Config";
|
|
6239
|
+
const _Coo = "Coordinates";
|
|
6187
6240
|
const _Cou = "Count";
|
|
6188
6241
|
const _D = "Document";
|
|
6189
6242
|
const _DAM = "DigestAlgorithmMnemonic";
|
|
@@ -6217,6 +6270,7 @@ const _GLCCe = "GeoLocationCountryCode";
|
|
|
6217
6270
|
const _GLD = "GeoLocationDetails";
|
|
6218
6271
|
const _GLDL = "GeoLocationDetailsList";
|
|
6219
6272
|
const _GLSC = "GeoLocationSubdivisionCode";
|
|
6273
|
+
const _GPL = "GeoProximityLocation";
|
|
6220
6274
|
const _HC = "HealthCheck";
|
|
6221
6275
|
const _HCC = "HealthCheckConfig";
|
|
6222
6276
|
const _HCCe = "HealthCheckCount";
|
|
@@ -6256,7 +6310,10 @@ const _LN = "LocationName";
|
|
|
6256
6310
|
const _LS = "LinkedService";
|
|
6257
6311
|
const _LTFRR = "ListTagsForResourcesRequest";
|
|
6258
6312
|
const _LV = "LatestVersion";
|
|
6313
|
+
const _LZG = "LocalZoneGroup";
|
|
6314
|
+
const _La = "Latitude";
|
|
6259
6315
|
const _Li = "Limit";
|
|
6316
|
+
const _Lo = "Longitude";
|
|
6260
6317
|
const _M = "Marker";
|
|
6261
6318
|
const _MI = "MaxItems";
|
|
6262
6319
|
const _ML = "MeasureLatency";
|
|
@@ -4977,6 +4977,12 @@ const se_CidrRoutingConfig = (input, context) => {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
return bn;
|
|
4979
4979
|
};
|
|
4980
|
+
const se_Coordinates = (input, context) => {
|
|
4981
|
+
const bn = new __XmlNode(_Coo);
|
|
4982
|
+
bn.cc(input, _La);
|
|
4983
|
+
bn.cc(input, _Lo);
|
|
4984
|
+
return bn;
|
|
4985
|
+
};
|
|
4980
4986
|
const se_GeoLocation = (input, context) => {
|
|
4981
4987
|
const bn = new __XmlNode(_GL);
|
|
4982
4988
|
if (input[_CC] != null) {
|
|
@@ -4990,6 +4996,18 @@ const se_GeoLocation = (input, context) => {
|
|
|
4990
4996
|
}
|
|
4991
4997
|
return bn;
|
|
4992
4998
|
};
|
|
4999
|
+
const se_GeoProximityLocation = (input, context) => {
|
|
5000
|
+
const bn = new __XmlNode(_GPL);
|
|
5001
|
+
bn.cc(input, _AWSR);
|
|
5002
|
+
bn.cc(input, _LZG);
|
|
5003
|
+
if (input[_Coo] != null) {
|
|
5004
|
+
bn.c(se_Coordinates(input[_Coo], context).n(_Coo));
|
|
5005
|
+
}
|
|
5006
|
+
if (input[_B] != null) {
|
|
5007
|
+
bn.c(__XmlNode.of(_B, String(input[_B])).n(_B));
|
|
5008
|
+
}
|
|
5009
|
+
return bn;
|
|
5010
|
+
};
|
|
4993
5011
|
const se_HealthCheckConfig = (input, context) => {
|
|
4994
5012
|
const bn = new __XmlNode(_HCC);
|
|
4995
5013
|
bn.cc(input, _IPA);
|
|
@@ -5111,6 +5129,9 @@ const se_ResourceRecordSet = (input, context) => {
|
|
|
5111
5129
|
if (input[_CRC] != null) {
|
|
5112
5130
|
bn.c(se_CidrRoutingConfig(input[_CRC], context).n(_CRC));
|
|
5113
5131
|
}
|
|
5132
|
+
if (input[_GPL] != null) {
|
|
5133
|
+
bn.c(se_GeoProximityLocation(input[_GPL], context).n(_GPL));
|
|
5134
|
+
}
|
|
5114
5135
|
return bn;
|
|
5115
5136
|
};
|
|
5116
5137
|
const se_Tag = (input, context) => {
|
|
@@ -5313,6 +5334,16 @@ const de_CollectionSummary = (output, context) => {
|
|
|
5313
5334
|
}
|
|
5314
5335
|
return contents;
|
|
5315
5336
|
};
|
|
5337
|
+
const de_Coordinates = (output, context) => {
|
|
5338
|
+
const contents = {};
|
|
5339
|
+
if (output[_La] != null) {
|
|
5340
|
+
contents[_La] = __expectString(output[_La]);
|
|
5341
|
+
}
|
|
5342
|
+
if (output[_Lo] != null) {
|
|
5343
|
+
contents[_Lo] = __expectString(output[_Lo]);
|
|
5344
|
+
}
|
|
5345
|
+
return contents;
|
|
5346
|
+
};
|
|
5316
5347
|
const de_DelegationSet = (output, context) => {
|
|
5317
5348
|
const contents = {};
|
|
5318
5349
|
if (output[_Id] != null) {
|
|
@@ -5419,6 +5450,22 @@ const de_GeoLocationDetailsList = (output, context) => {
|
|
|
5419
5450
|
return de_GeoLocationDetails(entry, context);
|
|
5420
5451
|
});
|
|
5421
5452
|
};
|
|
5453
|
+
const de_GeoProximityLocation = (output, context) => {
|
|
5454
|
+
const contents = {};
|
|
5455
|
+
if (output[_AWSR] != null) {
|
|
5456
|
+
contents[_AWSR] = __expectString(output[_AWSR]);
|
|
5457
|
+
}
|
|
5458
|
+
if (output[_LZG] != null) {
|
|
5459
|
+
contents[_LZG] = __expectString(output[_LZG]);
|
|
5460
|
+
}
|
|
5461
|
+
if (output[_Coo] != null) {
|
|
5462
|
+
contents[_Coo] = de_Coordinates(output[_Coo], context);
|
|
5463
|
+
}
|
|
5464
|
+
if (output[_B] != null) {
|
|
5465
|
+
contents[_B] = __strictParseInt32(output[_B]);
|
|
5466
|
+
}
|
|
5467
|
+
return contents;
|
|
5468
|
+
};
|
|
5422
5469
|
const de_HealthCheck = (output, context) => {
|
|
5423
5470
|
const contents = {};
|
|
5424
5471
|
if (output[_Id] != null) {
|
|
@@ -5789,6 +5836,9 @@ const de_ResourceRecordSet = (output, context) => {
|
|
|
5789
5836
|
if (output[_CRC] != null) {
|
|
5790
5837
|
contents[_CRC] = de_CidrRoutingConfig(output[_CRC], context);
|
|
5791
5838
|
}
|
|
5839
|
+
if (output[_GPL] != null) {
|
|
5840
|
+
contents[_GPL] = de_GeoProximityLocation(output[_GPL], context);
|
|
5841
|
+
}
|
|
5792
5842
|
return contents;
|
|
5793
5843
|
};
|
|
5794
5844
|
const de_ResourceRecordSets = (output, context) => {
|
|
@@ -5988,7 +6038,9 @@ const _AT = "AddTags";
|
|
|
5988
6038
|
const _ATl = "AliasTarget";
|
|
5989
6039
|
const _AVPCC = "AssociateVPCComment";
|
|
5990
6040
|
const _AVPCWHZR = "AssociateVPCWithHostedZoneRequest";
|
|
6041
|
+
const _AWSR = "AWSRegion";
|
|
5991
6042
|
const _Ar = "Arn";
|
|
6043
|
+
const _B = "Bias";
|
|
5992
6044
|
const _C = "Comment";
|
|
5993
6045
|
const _CA = "ChangeAction";
|
|
5994
6046
|
const _CB = "ChangeBatch";
|
|
@@ -6039,6 +6091,7 @@ const _Cha = "Change";
|
|
|
6039
6091
|
const _Ci = "Cidr";
|
|
6040
6092
|
const _Co = "Collection";
|
|
6041
6093
|
const _Con = "Config";
|
|
6094
|
+
const _Coo = "Coordinates";
|
|
6042
6095
|
const _Cou = "Count";
|
|
6043
6096
|
const _D = "Document";
|
|
6044
6097
|
const _DAM = "DigestAlgorithmMnemonic";
|
|
@@ -6072,6 +6125,7 @@ const _GLCCe = "GeoLocationCountryCode";
|
|
|
6072
6125
|
const _GLD = "GeoLocationDetails";
|
|
6073
6126
|
const _GLDL = "GeoLocationDetailsList";
|
|
6074
6127
|
const _GLSC = "GeoLocationSubdivisionCode";
|
|
6128
|
+
const _GPL = "GeoProximityLocation";
|
|
6075
6129
|
const _HC = "HealthCheck";
|
|
6076
6130
|
const _HCC = "HealthCheckConfig";
|
|
6077
6131
|
const _HCCe = "HealthCheckCount";
|
|
@@ -6111,7 +6165,10 @@ const _LN = "LocationName";
|
|
|
6111
6165
|
const _LS = "LinkedService";
|
|
6112
6166
|
const _LTFRR = "ListTagsForResourcesRequest";
|
|
6113
6167
|
const _LV = "LatestVersion";
|
|
6168
|
+
const _LZG = "LocalZoneGroup";
|
|
6169
|
+
const _La = "Latitude";
|
|
6114
6170
|
const _Li = "Limit";
|
|
6171
|
+
const _Lo = "Longitude";
|
|
6115
6172
|
const _M = "Marker";
|
|
6116
6173
|
const _MI = "MaxItems";
|
|
6117
6174
|
const _ML = "MeasureLatency";
|
|
@@ -159,6 +159,15 @@ declare const ChangeResourceRecordSetsCommand_base: {
|
|
|
159
159
|
* CollectionId: "STRING_VALUE", // required
|
|
160
160
|
* LocationName: "STRING_VALUE", // required
|
|
161
161
|
* },
|
|
162
|
+
* GeoProximityLocation: { // GeoProximityLocation
|
|
163
|
+
* AWSRegion: "STRING_VALUE",
|
|
164
|
+
* LocalZoneGroup: "STRING_VALUE",
|
|
165
|
+
* Coordinates: { // Coordinates
|
|
166
|
+
* Latitude: "STRING_VALUE", // required
|
|
167
|
+
* Longitude: "STRING_VALUE", // required
|
|
168
|
+
* },
|
|
169
|
+
* Bias: Number("int"),
|
|
170
|
+
* },
|
|
162
171
|
* },
|
|
163
172
|
* },
|
|
164
173
|
* ],
|
|
@@ -144,6 +144,15 @@ declare const ListResourceRecordSetsCommand_base: {
|
|
|
144
144
|
* // CollectionId: "STRING_VALUE", // required
|
|
145
145
|
* // LocationName: "STRING_VALUE", // required
|
|
146
146
|
* // },
|
|
147
|
+
* // GeoProximityLocation: { // GeoProximityLocation
|
|
148
|
+
* // AWSRegion: "STRING_VALUE",
|
|
149
|
+
* // LocalZoneGroup: "STRING_VALUE",
|
|
150
|
+
* // Coordinates: { // Coordinates
|
|
151
|
+
* // Latitude: "STRING_VALUE", // required
|
|
152
|
+
* // Longitude: "STRING_VALUE", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // Bias: Number("int"),
|
|
155
|
+
* // },
|
|
147
156
|
* // },
|
|
148
157
|
* // ],
|
|
149
158
|
* // IsTruncated: true || false, // required
|
|
@@ -344,10 +344,11 @@ export interface AliasTarget {
|
|
|
344
344
|
* </dd>
|
|
345
345
|
* <dt>Elastic Beanstalk environment</dt>
|
|
346
346
|
* <dd>
|
|
347
|
-
* <p>Specify the hosted zone ID for the region that you created the environment
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* <i>Amazon Web Services
|
|
347
|
+
* <p>Specify the hosted zone ID for the region that you created the environment in. The
|
|
348
|
+
* environment must have a regionalized subdomain. For a list of regions and
|
|
349
|
+
* the corresponding hosted zone IDs, see <a href="https://docs.aws.amazon.com/general/latest/gr/elasticbeanstalk.html">Elastic Beanstalk
|
|
350
|
+
* endpoints and quotas</a> in the <i>Amazon Web Services
|
|
351
|
+
* General Reference</i>.</p>
|
|
351
352
|
* </dd>
|
|
352
353
|
* <dt>ELB load balancer</dt>
|
|
353
354
|
* <dd>
|
|
@@ -959,8 +960,7 @@ export type CidrCollectionChangeAction = (typeof CidrCollectionChangeAction)[key
|
|
|
959
960
|
export interface CidrCollectionChange {
|
|
960
961
|
/**
|
|
961
962
|
* @public
|
|
962
|
-
* <p>Name of the location that is associated with the CIDR
|
|
963
|
-
* collection.</p>
|
|
963
|
+
* <p>Name of the location that is associated with the CIDR collection.</p>
|
|
964
964
|
*/
|
|
965
965
|
LocationName: string | undefined;
|
|
966
966
|
/**
|
|
@@ -1156,7 +1156,8 @@ export interface GeoLocation {
|
|
|
1156
1156
|
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
|
|
1157
1157
|
* <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
|
|
1158
1158
|
* alpha-2</a>.</p>
|
|
1159
|
-
* <p>Route 53 also supports the
|
|
1159
|
+
* <p>Route 53 also supports the country code <b>UA</b> for
|
|
1160
|
+
* Ukraine.</p>
|
|
1160
1161
|
*/
|
|
1161
1162
|
CountryCode?: string;
|
|
1162
1163
|
/**
|
|
@@ -1170,6 +1171,77 @@ export interface GeoLocation {
|
|
|
1170
1171
|
*/
|
|
1171
1172
|
SubdivisionCode?: string;
|
|
1172
1173
|
}
|
|
1174
|
+
/**
|
|
1175
|
+
* @public
|
|
1176
|
+
* <p>
|
|
1177
|
+
* A complex type that lists the coordinates for a geoproximity resource record.
|
|
1178
|
+
* </p>
|
|
1179
|
+
*/
|
|
1180
|
+
export interface Coordinates {
|
|
1181
|
+
/**
|
|
1182
|
+
* @public
|
|
1183
|
+
* <p> Specifies a coordinate of the north–south position of a geographic point on the surface of
|
|
1184
|
+
* the Earth (-90 - 90). </p>
|
|
1185
|
+
*/
|
|
1186
|
+
Latitude: string | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* @public
|
|
1189
|
+
* <p> Specifies a coordinate of the east–west position of a geographic point on the surface of
|
|
1190
|
+
* the Earth (-180 - 180). </p>
|
|
1191
|
+
*/
|
|
1192
|
+
Longitude: string | undefined;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* @public
|
|
1196
|
+
* <p> (Resource record sets only): A complex type that lets you control how Amazon Route 53
|
|
1197
|
+
* responds to DNS queries based on the geographic origin of the query and your resources.
|
|
1198
|
+
* Only one of , <code>LocalZoneGroup</code>, <code>Coordinates</code>, or <code>Amazon Web ServicesRegion</code> is allowed per request at a time.</p>
|
|
1199
|
+
* <p>For more information about geoproximity routing, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-geoproximity.html">Geoproximity routing</a> in the
|
|
1200
|
+
* <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
1201
|
+
*/
|
|
1202
|
+
export interface GeoProximityLocation {
|
|
1203
|
+
/**
|
|
1204
|
+
* @public
|
|
1205
|
+
* <p> The Amazon Web Services Region the resource you are directing DNS traffic to, is in. </p>
|
|
1206
|
+
*/
|
|
1207
|
+
AWSRegion?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
* <p>
|
|
1211
|
+
* Specifies an Amazon Web Services Local Zone Group.
|
|
1212
|
+
* </p>
|
|
1213
|
+
* <p>A local Zone Group is usually the Local Zone code without the ending character. For example,
|
|
1214
|
+
* if the Local Zone is <code>us-east-1-bue-1a</code> the Local Zone Group is <code>us-east-1-bue-1</code>.</p>
|
|
1215
|
+
* <p>You can identify the Local Zones Group for a specific Local Zone by using the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-availability-zones.html">describe-availability-zones</a> CLI command:</p>
|
|
1216
|
+
* <p>This command returns: <code>"GroupName": "us-west-2-den-1"</code>, specifying that the Local Zone <code>us-west-2-den-1a</code>
|
|
1217
|
+
* belongs to the Local Zone Group <code>us-west-2-den-1</code>.</p>
|
|
1218
|
+
*/
|
|
1219
|
+
LocalZoneGroup?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* @public
|
|
1222
|
+
* <p> Contains the longitude and latitude for a geographic region. </p>
|
|
1223
|
+
*/
|
|
1224
|
+
Coordinates?: Coordinates;
|
|
1225
|
+
/**
|
|
1226
|
+
* @public
|
|
1227
|
+
* <p>
|
|
1228
|
+
* The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.
|
|
1229
|
+
* </p>
|
|
1230
|
+
* <p>To use <code>Bias</code> to change the size of the geographic region, specify the
|
|
1231
|
+
* applicable value for the bias:</p>
|
|
1232
|
+
* <ul>
|
|
1233
|
+
* <li>
|
|
1234
|
+
* <p>To expand the size of the geographic region from which Route 53 routes traffic to a resource, specify a
|
|
1235
|
+
* positive integer from 1 to 99 for the bias. Route 53 shrinks the size of adjacent regions. </p>
|
|
1236
|
+
* </li>
|
|
1237
|
+
* <li>
|
|
1238
|
+
* <p>To shrink the size of the geographic region from which Route 53 routes traffic to a resource, specify a
|
|
1239
|
+
* negative bias of -1 to -99. Route 53 expands the size of adjacent regions. </p>
|
|
1240
|
+
* </li>
|
|
1241
|
+
* </ul>
|
|
1242
|
+
*/
|
|
1243
|
+
Bias?: number;
|
|
1244
|
+
}
|
|
1173
1245
|
/**
|
|
1174
1246
|
* @public
|
|
1175
1247
|
* @enum
|
|
@@ -1490,16 +1562,12 @@ export interface ResourceRecordSet {
|
|
|
1490
1562
|
/**
|
|
1491
1563
|
* @public
|
|
1492
1564
|
* <p>
|
|
1493
|
-
* <i>Geolocation resource record sets only:</i> A complex type that lets
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1565
|
+
* <i>Geolocation resource record sets only:</i> A complex type that lets you
|
|
1566
|
+
* control how Amazon Route 53 responds to DNS queries based on the geographic origin of
|
|
1567
|
+
* the query. For example, if you want all queries from Africa to be routed to a web server
|
|
1568
|
+
* with an IP address of <code>192.0.2.111</code>, create a resource record set with a
|
|
1569
|
+
* <code>Type</code> of <code>A</code> and a <code>ContinentCode</code> of
|
|
1498
1570
|
* <code>AF</code>.</p>
|
|
1499
|
-
* <note>
|
|
1500
|
-
* <p>Although creating geolocation and geolocation alias resource record sets in a
|
|
1501
|
-
* private hosted zone is allowed, it's not supported.</p>
|
|
1502
|
-
* </note>
|
|
1503
1571
|
* <p>If you create separate resource record sets for overlapping geographic regions (for
|
|
1504
1572
|
* example, one resource record set for a continent and one for a country on the same
|
|
1505
1573
|
* continent), priority goes to the smallest geographic region. This allows you to route
|
|
@@ -1861,6 +1929,14 @@ export interface ResourceRecordSet {
|
|
|
1861
1929
|
* record. <code>CollectionId</code> is still required for default record.</p>
|
|
1862
1930
|
*/
|
|
1863
1931
|
CidrRoutingConfig?: CidrRoutingConfig;
|
|
1932
|
+
/**
|
|
1933
|
+
* @public
|
|
1934
|
+
* <p>
|
|
1935
|
+
* <i> GeoproximityLocation resource record sets only:</i> A complex type that lets you control how
|
|
1936
|
+
* Route 53 responds to DNS queries based on the geographic origin of the
|
|
1937
|
+
* query and your resources. </p>
|
|
1938
|
+
*/
|
|
1939
|
+
GeoProximityLocation?: GeoProximityLocation;
|
|
1864
1940
|
}
|
|
1865
1941
|
/**
|
|
1866
1942
|
* @public
|
|
@@ -2370,11 +2446,10 @@ export interface HealthCheckConfig {
|
|
|
2370
2446
|
* </li>
|
|
2371
2447
|
* <li>
|
|
2372
2448
|
* <p>
|
|
2373
|
-
* <b>RECOVERY_CONTROL</b>: The health check is
|
|
2374
|
-
*
|
|
2375
|
-
*
|
|
2376
|
-
*
|
|
2377
|
-
* unhealthy. </p>
|
|
2449
|
+
* <b>RECOVERY_CONTROL</b>: The health check is associated with a
|
|
2450
|
+
* Route53 Application Recovery Controller routing control. If the routing control
|
|
2451
|
+
* state is <code>ON</code>, the health check is considered healthy. If the state
|
|
2452
|
+
* is <code>OFF</code>, the health check is considered unhealthy. </p>
|
|
2378
2453
|
* </li>
|
|
2379
2454
|
* </ul>
|
|
2380
2455
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html">How Route 53 Determines Whether an Endpoint Is Healthy</a> in the
|
|
@@ -4735,7 +4810,7 @@ export interface GetDNSSECRequest {
|
|
|
4735
4810
|
}
|
|
4736
4811
|
/**
|
|
4737
4812
|
* @public
|
|
4738
|
-
* <p>A string
|
|
4813
|
+
* <p>A string representing the status of DNSSEC signing.</p>
|
|
4739
4814
|
*/
|
|
4740
4815
|
export interface DNSSECStatus {
|
|
4741
4816
|
/**
|
|
@@ -4786,7 +4861,7 @@ export interface DNSSECStatus {
|
|
|
4786
4861
|
export interface GetDNSSECResponse {
|
|
4787
4862
|
/**
|
|
4788
4863
|
* @public
|
|
4789
|
-
* <p>A string
|
|
4864
|
+
* <p>A string representing the status of DNSSEC.</p>
|
|
4790
4865
|
*/
|
|
4791
4866
|
Status: DNSSECStatus | undefined;
|
|
4792
4867
|
/**
|
|
@@ -4841,7 +4916,8 @@ export interface GetGeoLocationRequest {
|
|
|
4841
4916
|
* @public
|
|
4842
4917
|
* <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
|
|
4843
4918
|
* alpha-2</a>.</p>
|
|
4844
|
-
* <p>Route 53 also supports the
|
|
4919
|
+
* <p>Route 53 also supports the country code <b>UA</b> for
|
|
4920
|
+
* Ukraine.</p>
|
|
4845
4921
|
*/
|
|
4846
4922
|
CountryCode?: string;
|
|
4847
4923
|
/**
|
|
@@ -5662,9 +5738,9 @@ export interface ListGeoLocationsRequest {
|
|
|
5662
5738
|
StartSubdivisionCode?: string;
|
|
5663
5739
|
/**
|
|
5664
5740
|
* @public
|
|
5665
|
-
* <p>(Optional) The maximum number of geolocations to be included in the response body for
|
|
5666
|
-
*
|
|
5667
|
-
*
|
|
5741
|
+
* <p>(Optional) The maximum number of geolocations to be included in the response body for this
|
|
5742
|
+
* request. If more than <code>maxitems</code> geolocations remain to be listed, then the
|
|
5743
|
+
* value of the <code>IsTruncated</code> element in the response is
|
|
5668
5744
|
* <code>true</code>.</p>
|
|
5669
5745
|
*/
|
|
5670
5746
|
MaxItems?: number;
|
|
@@ -7344,6 +7420,8 @@ export interface UpdateHealthCheckRequest {
|
|
|
7344
7420
|
* to the domain that you specify in <code>FullyQualifiedDomainName</code> at the interval
|
|
7345
7421
|
* you specify in <code>RequestInterval</code>. Using an IPv4 address that is returned by
|
|
7346
7422
|
* DNS, Route 53 then checks the health of the endpoint.</p>
|
|
7423
|
+
* <p>If you don't specify a value for <code>IPAddress</code>, you can’t update the health check to remove the <code>FullyQualifiedDomainName</code>; if you don’t specify a value for <code>IPAddress</code> on creation, a
|
|
7424
|
+
* <code>FullyQualifiedDomainName</code> is required.</p>
|
|
7347
7425
|
* <note>
|
|
7348
7426
|
* <p>If you don't specify a value for <code>IPAddress</code>, Route 53 uses only IPv4
|
|
7349
7427
|
* to send health checks to the endpoint. If there's no resource record set with a type
|
|
@@ -278,6 +278,16 @@ export interface GeoLocation {
|
|
|
278
278
|
CountryCode?: string;
|
|
279
279
|
SubdivisionCode?: string;
|
|
280
280
|
}
|
|
281
|
+
export interface Coordinates {
|
|
282
|
+
Latitude: string | undefined;
|
|
283
|
+
Longitude: string | undefined;
|
|
284
|
+
}
|
|
285
|
+
export interface GeoProximityLocation {
|
|
286
|
+
AWSRegion?: string;
|
|
287
|
+
LocalZoneGroup?: string;
|
|
288
|
+
Coordinates?: Coordinates;
|
|
289
|
+
Bias?: number;
|
|
290
|
+
}
|
|
281
291
|
export declare const ResourceRecordSetRegion: {
|
|
282
292
|
readonly af_south_1: "af-south-1";
|
|
283
293
|
readonly ap_east_1: "ap-east-1";
|
|
@@ -347,6 +357,7 @@ export interface ResourceRecordSet {
|
|
|
347
357
|
HealthCheckId?: string;
|
|
348
358
|
TrafficPolicyInstanceId?: string;
|
|
349
359
|
CidrRoutingConfig?: CidrRoutingConfig;
|
|
360
|
+
GeoProximityLocation?: GeoProximityLocation;
|
|
350
361
|
}
|
|
351
362
|
export interface Change {
|
|
352
363
|
Action: ChangeAction | 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.489.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",
|
|
@@ -20,46 +20,46 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-sdk-route53": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@aws-sdk/xml-builder": "3.
|
|
38
|
-
"@smithy/config-resolver": "^2.0.
|
|
39
|
-
"@smithy/core": "^1.2.
|
|
40
|
-
"@smithy/fetch-http-handler": "^2.3.
|
|
41
|
-
"@smithy/hash-node": "^2.0.
|
|
42
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
43
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
44
|
-
"@smithy/middleware-endpoint": "^2.
|
|
45
|
-
"@smithy/middleware-retry": "^2.0.
|
|
46
|
-
"@smithy/middleware-serde": "^2.0.
|
|
47
|
-
"@smithy/middleware-stack": "^2.0.
|
|
48
|
-
"@smithy/node-config-provider": "^2.1.
|
|
49
|
-
"@smithy/node-http-handler": "^2.2.
|
|
50
|
-
"@smithy/protocol-http": "^3.0.
|
|
51
|
-
"@smithy/smithy-client": "^2.2.
|
|
52
|
-
"@smithy/types": "^2.
|
|
53
|
-
"@smithy/url-parser": "^2.0.
|
|
23
|
+
"@aws-sdk/client-sts": "3.489.0",
|
|
24
|
+
"@aws-sdk/core": "3.485.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.489.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.489.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.489.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.489.0",
|
|
29
|
+
"@aws-sdk/middleware-sdk-route53": "3.489.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.489.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.489.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.489.0",
|
|
33
|
+
"@aws-sdk/types": "3.489.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.489.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.489.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.489.0",
|
|
37
|
+
"@aws-sdk/xml-builder": "3.485.0",
|
|
38
|
+
"@smithy/config-resolver": "^2.0.23",
|
|
39
|
+
"@smithy/core": "^1.2.2",
|
|
40
|
+
"@smithy/fetch-http-handler": "^2.3.2",
|
|
41
|
+
"@smithy/hash-node": "^2.0.18",
|
|
42
|
+
"@smithy/invalid-dependency": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-content-length": "^2.0.18",
|
|
44
|
+
"@smithy/middleware-endpoint": "^2.3.0",
|
|
45
|
+
"@smithy/middleware-retry": "^2.0.26",
|
|
46
|
+
"@smithy/middleware-serde": "^2.0.16",
|
|
47
|
+
"@smithy/middleware-stack": "^2.0.10",
|
|
48
|
+
"@smithy/node-config-provider": "^2.1.9",
|
|
49
|
+
"@smithy/node-http-handler": "^2.2.2",
|
|
50
|
+
"@smithy/protocol-http": "^3.0.12",
|
|
51
|
+
"@smithy/smithy-client": "^2.2.1",
|
|
52
|
+
"@smithy/types": "^2.8.0",
|
|
53
|
+
"@smithy/url-parser": "^2.0.16",
|
|
54
54
|
"@smithy/util-base64": "^2.0.1",
|
|
55
55
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
56
56
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
59
|
-
"@smithy/util-endpoints": "^1.0.
|
|
60
|
-
"@smithy/util-retry": "^2.0.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^2.0.24",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^2.0.32",
|
|
59
|
+
"@smithy/util-endpoints": "^1.0.8",
|
|
60
|
+
"@smithy/util-retry": "^2.0.9",
|
|
61
61
|
"@smithy/util-utf8": "^2.0.2",
|
|
62
|
-
"@smithy/util-waiter": "^2.0.
|
|
62
|
+
"@smithy/util-waiter": "^2.0.16",
|
|
63
63
|
"fast-xml-parser": "4.2.5",
|
|
64
64
|
"tslib": "^2.5.0"
|
|
65
65
|
},
|