@hasna/domains 0.0.25 → 0.0.26
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/cli/commands/sedo.d.ts.map +1 -1
- package/dist/cli/index.js +340 -785
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +446 -127
- package/dist/lib/capability.js +46 -0
- package/dist/lib/cloudflare-auth.js +139 -0
- package/dist/lib/cloudflare.js +394 -0
- package/dist/lib/creds-check.d.ts.map +1 -1
- package/dist/lib/delegate.js +12 -0
- package/dist/lib/env-aliases.d.ts +10 -0
- package/dist/lib/env-aliases.d.ts.map +1 -1
- package/dist/lib/registrar.js +2216 -0
- package/dist/lib/route53.d.ts +54 -11
- package/dist/lib/route53.d.ts.map +1 -1
- package/dist/lib/route53.js +678 -0
- package/dist/lib/sedo.d.ts +34 -3
- package/dist/lib/sedo.d.ts.map +1 -1
- package/dist/mcp/index.js +182 -69
- package/package.json +27 -2
package/dist/index.js
CHANGED
|
@@ -16637,7 +16637,7 @@ var init_bowser = __esm(() => {
|
|
|
16637
16637
|
|
|
16638
16638
|
// node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
|
|
16639
16639
|
var require_client4 = __commonJS((exports) => {
|
|
16640
|
-
var __dirname = "/home/hasna/
|
|
16640
|
+
var __dirname = "/home/hasna/workspace/hasna/opensource/open-domains/node_modules/@aws-sdk/core/dist-cjs/submodules/client";
|
|
16641
16641
|
var retry = require_retry();
|
|
16642
16642
|
var protocols = require_protocols();
|
|
16643
16643
|
var lambdaInvokeStore = require_invoke_store();
|
|
@@ -36455,45 +36455,56 @@ class GetHostedZoneCommand extends import_client27.Command.classBuilder().ep(com
|
|
|
36455
36455
|
}).s("AWSDnsV20130401", "GetHostedZone", {}).n("Route53Client", "GetHostedZoneCommand").sc(GetHostedZone$).build() {
|
|
36456
36456
|
}
|
|
36457
36457
|
|
|
36458
|
-
// node_modules/@aws-sdk/client-route-53/dist-es/commands/
|
|
36458
|
+
// node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesByNameCommand.js
|
|
36459
36459
|
var import_client28 = __toESM(require_client3(), 1);
|
|
36460
36460
|
var import_endpoints8 = __toESM(require_endpoints(), 1);
|
|
36461
|
-
class
|
|
36461
|
+
class ListHostedZonesByNameCommand extends import_client28.Command.classBuilder().ep(commonParams).m(function(Command, cs, config2, o2) {
|
|
36462
36462
|
return [
|
|
36463
36463
|
import_endpoints8.getEndpointPlugin(config2, Command.getEndpointParameterInstructions()),
|
|
36464
36464
|
getIdNormalizerPlugin(config2)
|
|
36465
36465
|
];
|
|
36466
|
-
}).s("AWSDnsV20130401", "
|
|
36466
|
+
}).s("AWSDnsV20130401", "ListHostedZonesByName", {}).n("Route53Client", "ListHostedZonesByNameCommand").sc(ListHostedZonesByName$).build() {
|
|
36467
36467
|
}
|
|
36468
36468
|
|
|
36469
|
-
// node_modules/@aws-sdk/client-route-53/dist-es/commands/
|
|
36469
|
+
// node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesCommand.js
|
|
36470
36470
|
var import_client29 = __toESM(require_client3(), 1);
|
|
36471
36471
|
var import_endpoints9 = __toESM(require_endpoints(), 1);
|
|
36472
|
-
class
|
|
36472
|
+
class ListHostedZonesCommand extends import_client29.Command.classBuilder().ep(commonParams).m(function(Command, cs, config2, o2) {
|
|
36473
36473
|
return [
|
|
36474
36474
|
import_endpoints9.getEndpointPlugin(config2, Command.getEndpointParameterInstructions()),
|
|
36475
36475
|
getIdNormalizerPlugin(config2)
|
|
36476
36476
|
];
|
|
36477
|
+
}).s("AWSDnsV20130401", "ListHostedZones", {}).n("Route53Client", "ListHostedZonesCommand").sc(ListHostedZones$).build() {
|
|
36478
|
+
}
|
|
36479
|
+
|
|
36480
|
+
// node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetsCommand.js
|
|
36481
|
+
var import_client30 = __toESM(require_client3(), 1);
|
|
36482
|
+
var import_endpoints10 = __toESM(require_endpoints(), 1);
|
|
36483
|
+
class ListResourceRecordSetsCommand extends import_client30.Command.classBuilder().ep(commonParams).m(function(Command, cs, config2, o2) {
|
|
36484
|
+
return [
|
|
36485
|
+
import_endpoints10.getEndpointPlugin(config2, Command.getEndpointParameterInstructions()),
|
|
36486
|
+
getIdNormalizerPlugin(config2)
|
|
36487
|
+
];
|
|
36477
36488
|
}).s("AWSDnsV20130401", "ListResourceRecordSets", {}).n("Route53Client", "ListResourceRecordSetsCommand").sc(ListResourceRecordSets$).build() {
|
|
36478
36489
|
}
|
|
36479
36490
|
|
|
36480
36491
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/Route53DomainsClient.js
|
|
36481
|
-
var
|
|
36492
|
+
var import_client39 = __toESM(require_client4(), 1);
|
|
36482
36493
|
var import_core2 = __toESM(require_dist_cjs5(), 1);
|
|
36483
|
-
var
|
|
36494
|
+
var import_client40 = __toESM(require_client3(), 1);
|
|
36484
36495
|
var import_config31 = __toESM(require_config(), 1);
|
|
36485
|
-
var
|
|
36496
|
+
var import_endpoints13 = __toESM(require_endpoints(), 1);
|
|
36486
36497
|
var import_protocols11 = __toESM(require_protocols(), 1);
|
|
36487
36498
|
var import_retry6 = __toESM(require_retry(), 1);
|
|
36488
36499
|
var import_schema4 = __toESM(require_schema(), 1);
|
|
36489
36500
|
|
|
36490
36501
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/auth/httpAuthSchemeProvider.js
|
|
36491
36502
|
var import_httpAuthSchemes4 = __toESM(require_httpAuthSchemes(), 1);
|
|
36492
|
-
var
|
|
36503
|
+
var import_client31 = __toESM(require_client3(), 1);
|
|
36493
36504
|
var defaultRoute53DomainsHttpAuthSchemeParametersProvider = async (config2, context, input) => {
|
|
36494
36505
|
return {
|
|
36495
|
-
operation:
|
|
36496
|
-
region: await
|
|
36506
|
+
operation: import_client31.getSmithyContext(context).operation,
|
|
36507
|
+
region: await import_client31.normalizeProvider(config2.region)() || (() => {
|
|
36497
36508
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
36498
36509
|
})()
|
|
36499
36510
|
};
|
|
@@ -36525,7 +36536,7 @@ var defaultRoute53DomainsHttpAuthSchemeProvider = (authParameters) => {
|
|
|
36525
36536
|
var resolveHttpAuthSchemeConfig3 = (config2) => {
|
|
36526
36537
|
const config_0 = import_httpAuthSchemes4.resolveAwsSdkSigV4Config(config2);
|
|
36527
36538
|
return Object.assign(config_0, {
|
|
36528
|
-
authSchemePreference:
|
|
36539
|
+
authSchemePreference: import_client31.normalizeProvider(config2.authSchemePreference ?? [])
|
|
36529
36540
|
});
|
|
36530
36541
|
};
|
|
36531
36542
|
|
|
@@ -36619,9 +36630,9 @@ var package_default2 = {
|
|
|
36619
36630
|
};
|
|
36620
36631
|
|
|
36621
36632
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.js
|
|
36622
|
-
var
|
|
36633
|
+
var import_client35 = __toESM(require_client4(), 1);
|
|
36623
36634
|
var import_httpAuthSchemes6 = __toESM(require_httpAuthSchemes(), 1);
|
|
36624
|
-
var
|
|
36635
|
+
var import_client36 = __toESM(require_client3(), 1);
|
|
36625
36636
|
var import_config30 = __toESM(require_config(), 1);
|
|
36626
36637
|
var import_retry5 = __toESM(require_retry(), 1);
|
|
36627
36638
|
var import_serde6 = __toESM(require_serde(), 1);
|
|
@@ -36630,16 +36641,16 @@ var import_node_http_handler3 = __toESM(require_dist_cjs7(), 1);
|
|
|
36630
36641
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.shared.js
|
|
36631
36642
|
var import_httpAuthSchemes5 = __toESM(require_httpAuthSchemes(), 1);
|
|
36632
36643
|
var import_protocols8 = __toESM(require_protocols2(), 1);
|
|
36633
|
-
var
|
|
36644
|
+
var import_client34 = __toESM(require_client3(), 1);
|
|
36634
36645
|
var import_protocols9 = __toESM(require_protocols(), 1);
|
|
36635
36646
|
var import_serde5 = __toESM(require_serde(), 1);
|
|
36636
36647
|
|
|
36637
36648
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/endpointResolver.js
|
|
36638
|
-
var
|
|
36639
|
-
var
|
|
36649
|
+
var import_client32 = __toESM(require_client4(), 1);
|
|
36650
|
+
var import_endpoints12 = __toESM(require_endpoints(), 1);
|
|
36640
36651
|
|
|
36641
36652
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/bdd.js
|
|
36642
|
-
var
|
|
36653
|
+
var import_endpoints11 = __toESM(require_endpoints(), 1);
|
|
36643
36654
|
var k3 = "ref";
|
|
36644
36655
|
var a3 = -1;
|
|
36645
36656
|
var b3 = true;
|
|
@@ -36719,27 +36730,27 @@ var nodes3 = new Int32Array([
|
|
|
36719
36730
|
r3 + 2,
|
|
36720
36731
|
r3 + 3
|
|
36721
36732
|
]);
|
|
36722
|
-
var bdd3 =
|
|
36733
|
+
var bdd3 = import_endpoints11.BinaryDecisionDiagram.from(nodes3, root3, _data3.conditions, _data3.results);
|
|
36723
36734
|
|
|
36724
36735
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/endpointResolver.js
|
|
36725
|
-
var cache3 = new
|
|
36736
|
+
var cache3 = new import_endpoints12.EndpointCache({
|
|
36726
36737
|
size: 50,
|
|
36727
36738
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
36728
36739
|
});
|
|
36729
36740
|
var defaultEndpointResolver3 = (endpointParams, context = {}) => {
|
|
36730
|
-
return cache3.get(endpointParams, () =>
|
|
36741
|
+
return cache3.get(endpointParams, () => import_endpoints12.decideEndpoint(bdd3, {
|
|
36731
36742
|
endpointParams,
|
|
36732
36743
|
logger: context.logger
|
|
36733
36744
|
}));
|
|
36734
36745
|
};
|
|
36735
|
-
|
|
36746
|
+
import_endpoints12.customEndpointFunctions.aws = import_client32.awsEndpointFunctions;
|
|
36736
36747
|
|
|
36737
36748
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/schemas/schemas_0.js
|
|
36738
36749
|
var import_schema3 = __toESM(require_schema(), 1);
|
|
36739
36750
|
|
|
36740
36751
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/models/Route53DomainsServiceException.js
|
|
36741
|
-
var
|
|
36742
|
-
class Route53DomainsServiceException extends
|
|
36752
|
+
var import_client33 = __toESM(require_client3(), 1);
|
|
36753
|
+
class Route53DomainsServiceException extends import_client33.ServiceException {
|
|
36743
36754
|
constructor(options) {
|
|
36744
36755
|
super(options);
|
|
36745
36756
|
Object.setPrototypeOf(this, Route53DomainsServiceException.prototype);
|
|
@@ -36857,6 +36868,7 @@ class TLDInMaintenance extends Route53DomainsServiceException {
|
|
|
36857
36868
|
|
|
36858
36869
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/schemas/schemas_0.js
|
|
36859
36870
|
var _A2 = "Availability";
|
|
36871
|
+
var _AC = "AuthCode";
|
|
36860
36872
|
var _ACE = "AbuseContactEmail";
|
|
36861
36873
|
var _ACP = "AbuseContactPhone";
|
|
36862
36874
|
var _ACd = "AdminContact";
|
|
@@ -36881,6 +36893,10 @@ var _COP = "ChangeOwnershipPrice";
|
|
|
36881
36893
|
var _CT2 = "ContactType";
|
|
36882
36894
|
var _Cu = "Currency";
|
|
36883
36895
|
var _D2 = "Digest";
|
|
36896
|
+
var _DAC = "DomainAuthCode";
|
|
36897
|
+
var _DDTL = "DisableDomainTransferLock";
|
|
36898
|
+
var _DDTLR = "DisableDomainTransferLockRequest";
|
|
36899
|
+
var _DDTLRi = "DisableDomainTransferLockResponse";
|
|
36884
36900
|
var _DIY = "DurationInYears";
|
|
36885
36901
|
var _DK = "DnssecKey";
|
|
36886
36902
|
var _DKL = "DnssecKeyList";
|
|
@@ -36954,6 +36970,9 @@ var _Pri = "Prices";
|
|
|
36954
36970
|
var _R2 = "Reseller";
|
|
36955
36971
|
var _RC3 = "RegistrantContact";
|
|
36956
36972
|
var _RD2 = "RegisterDomain";
|
|
36973
|
+
var _RDAC = "RetrieveDomainAuthCode";
|
|
36974
|
+
var _RDACR = "RetrieveDomainAuthCodeRequest";
|
|
36975
|
+
var _RDACRe = "RetrieveDomainAuthCodeResponse";
|
|
36957
36976
|
var _RDI = "RegistryDomainId";
|
|
36958
36977
|
var _RDR = "RegisterDomainRequest";
|
|
36959
36978
|
var _RDRe = "RegisterDomainResponse";
|
|
@@ -36973,6 +36992,9 @@ var _SO = "SortOrder";
|
|
|
36973
36992
|
var _SS2 = "SubmittedSince";
|
|
36974
36993
|
var _St2 = "Status";
|
|
36975
36994
|
var _TC = "TechContact";
|
|
36995
|
+
var _TD = "TransferDomain";
|
|
36996
|
+
var _TDR = "TransferDomainRequest";
|
|
36997
|
+
var _TDRr = "TransferDomainResponse";
|
|
36976
36998
|
var _TL2 = "TransferLock";
|
|
36977
36999
|
var _TLDIM = "TLDInMaintenance";
|
|
36978
37000
|
var _TLDRV = "TLDRulesViolation";
|
|
@@ -37083,6 +37105,7 @@ var City = [0, n03, _C2, 8, 0];
|
|
|
37083
37105
|
var ContactName = [0, n03, _CN2, 8, 0];
|
|
37084
37106
|
var ContactNumber = [0, n03, _CNo2, 8, 0];
|
|
37085
37107
|
var CountryCode = [0, n03, _CC2, 8, 0];
|
|
37108
|
+
var DomainAuthCode = [0, n03, _DAC, 8, 0];
|
|
37086
37109
|
var Email = [0, n03, _E, 8, 0];
|
|
37087
37110
|
var ExtraParamValue = [0, n03, _EPV, 8, 0];
|
|
37088
37111
|
var FIAuthKey = [0, n03, _FIAK, 8, 0];
|
|
@@ -37122,6 +37145,23 @@ var DeleteTagsForDomainRequest$ = [
|
|
|
37122
37145
|
[0, 64 | 0],
|
|
37123
37146
|
2
|
|
37124
37147
|
];
|
|
37148
|
+
var DisableDomainTransferLockRequest$ = [
|
|
37149
|
+
3,
|
|
37150
|
+
n03,
|
|
37151
|
+
_DDTLR,
|
|
37152
|
+
0,
|
|
37153
|
+
[_DN],
|
|
37154
|
+
[0],
|
|
37155
|
+
1
|
|
37156
|
+
];
|
|
37157
|
+
var DisableDomainTransferLockResponse$ = [
|
|
37158
|
+
3,
|
|
37159
|
+
n03,
|
|
37160
|
+
_DDTLRi,
|
|
37161
|
+
0,
|
|
37162
|
+
[_OI],
|
|
37163
|
+
[0]
|
|
37164
|
+
];
|
|
37125
37165
|
var DnssecKey$ = [
|
|
37126
37166
|
3,
|
|
37127
37167
|
n03,
|
|
@@ -37273,6 +37313,23 @@ var RegisterDomainResponse$ = [
|
|
|
37273
37313
|
[_OI],
|
|
37274
37314
|
[0]
|
|
37275
37315
|
];
|
|
37316
|
+
var RetrieveDomainAuthCodeRequest$ = [
|
|
37317
|
+
3,
|
|
37318
|
+
n03,
|
|
37319
|
+
_RDACR,
|
|
37320
|
+
0,
|
|
37321
|
+
[_DN],
|
|
37322
|
+
[0],
|
|
37323
|
+
1
|
|
37324
|
+
];
|
|
37325
|
+
var RetrieveDomainAuthCodeResponse$ = [
|
|
37326
|
+
3,
|
|
37327
|
+
n03,
|
|
37328
|
+
_RDACRe,
|
|
37329
|
+
0,
|
|
37330
|
+
[_AC],
|
|
37331
|
+
[[() => DomainAuthCode, 0]]
|
|
37332
|
+
];
|
|
37276
37333
|
var SortCondition$ = [
|
|
37277
37334
|
3,
|
|
37278
37335
|
n03,
|
|
@@ -37282,6 +37339,23 @@ var SortCondition$ = [
|
|
|
37282
37339
|
[0, 0],
|
|
37283
37340
|
2
|
|
37284
37341
|
];
|
|
37342
|
+
var TransferDomainRequest$ = [
|
|
37343
|
+
3,
|
|
37344
|
+
n03,
|
|
37345
|
+
_TDR,
|
|
37346
|
+
0,
|
|
37347
|
+
[_DN, _ACd, _RC3, _TC, _ILC, _DIY, _Na2, _AC, _AR2, _PPAC, _PPRC, _PPTC, _BC, _PPBC],
|
|
37348
|
+
[0, [() => ContactDetail$, 0], [() => ContactDetail$, 0], [() => ContactDetail$, 0], 0, 1, () => NameserverList, [() => DomainAuthCode, 0], 2, 2, 2, 2, [() => ContactDetail$, 0], 2],
|
|
37349
|
+
4
|
|
37350
|
+
];
|
|
37351
|
+
var TransferDomainResponse$ = [
|
|
37352
|
+
3,
|
|
37353
|
+
n03,
|
|
37354
|
+
_TDRr,
|
|
37355
|
+
0,
|
|
37356
|
+
[_OI],
|
|
37357
|
+
[0]
|
|
37358
|
+
];
|
|
37285
37359
|
var UpdateDomainNameserversRequest$ = [
|
|
37286
37360
|
3,
|
|
37287
37361
|
n03,
|
|
@@ -37358,6 +37432,14 @@ var CheckDomainAvailability$ = [
|
|
|
37358
37432
|
() => CheckDomainAvailabilityRequest$,
|
|
37359
37433
|
() => CheckDomainAvailabilityResponse$
|
|
37360
37434
|
];
|
|
37435
|
+
var DisableDomainTransferLock$ = [
|
|
37436
|
+
9,
|
|
37437
|
+
n03,
|
|
37438
|
+
_DDTL,
|
|
37439
|
+
0,
|
|
37440
|
+
() => DisableDomainTransferLockRequest$,
|
|
37441
|
+
() => DisableDomainTransferLockResponse$
|
|
37442
|
+
];
|
|
37361
37443
|
var GetDomainDetail$ = [
|
|
37362
37444
|
9,
|
|
37363
37445
|
n03,
|
|
@@ -37398,6 +37480,22 @@ var RegisterDomain$ = [
|
|
|
37398
37480
|
() => RegisterDomainRequest$,
|
|
37399
37481
|
() => RegisterDomainResponse$
|
|
37400
37482
|
];
|
|
37483
|
+
var RetrieveDomainAuthCode$ = [
|
|
37484
|
+
9,
|
|
37485
|
+
n03,
|
|
37486
|
+
_RDAC,
|
|
37487
|
+
0,
|
|
37488
|
+
() => RetrieveDomainAuthCodeRequest$,
|
|
37489
|
+
() => RetrieveDomainAuthCodeResponse$
|
|
37490
|
+
];
|
|
37491
|
+
var TransferDomain$ = [
|
|
37492
|
+
9,
|
|
37493
|
+
n03,
|
|
37494
|
+
_TD,
|
|
37495
|
+
0,
|
|
37496
|
+
() => TransferDomainRequest$,
|
|
37497
|
+
() => TransferDomainResponse$
|
|
37498
|
+
];
|
|
37401
37499
|
var UpdateDomainNameservers$ = [
|
|
37402
37500
|
9,
|
|
37403
37501
|
n03,
|
|
@@ -37424,7 +37522,7 @@ var getRuntimeConfig4 = (config2) => {
|
|
|
37424
37522
|
signer: new import_httpAuthSchemes5.AwsSdkSigV4Signer
|
|
37425
37523
|
}
|
|
37426
37524
|
],
|
|
37427
|
-
logger: config2?.logger ?? new
|
|
37525
|
+
logger: config2?.logger ?? new import_client34.NoOpLogger,
|
|
37428
37526
|
protocol: config2?.protocol ?? import_protocols8.AwsJson1_1Protocol,
|
|
37429
37527
|
protocolSettings: config2?.protocolSettings ?? {
|
|
37430
37528
|
defaultNamespace: "com.amazonaws.route53domains",
|
|
@@ -37442,11 +37540,11 @@ var getRuntimeConfig4 = (config2) => {
|
|
|
37442
37540
|
|
|
37443
37541
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.js
|
|
37444
37542
|
var getRuntimeConfig5 = (config2) => {
|
|
37445
|
-
|
|
37543
|
+
import_client36.emitWarningIfUnsupportedVersion(process.version);
|
|
37446
37544
|
const defaultsMode = import_config30.resolveDefaultsModeConfig(config2);
|
|
37447
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
37545
|
+
const defaultConfigProvider = () => defaultsMode().then(import_client36.loadConfigsForDefaultMode);
|
|
37448
37546
|
const clientSharedValues = getRuntimeConfig4(config2);
|
|
37449
|
-
|
|
37547
|
+
import_client35.emitWarningIfUnsupportedVersion(process.version);
|
|
37450
37548
|
const loaderConfig = {
|
|
37451
37549
|
profile: config2?.profile,
|
|
37452
37550
|
logger: clientSharedValues.logger
|
|
@@ -37459,7 +37557,7 @@ var getRuntimeConfig5 = (config2) => {
|
|
|
37459
37557
|
authSchemePreference: config2?.authSchemePreference ?? import_config30.loadConfig(import_httpAuthSchemes6.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
37460
37558
|
bodyLengthChecker: config2?.bodyLengthChecker ?? import_serde6.calculateBodyLength,
|
|
37461
37559
|
credentialDefaultProvider: config2?.credentialDefaultProvider ?? defaultProvider,
|
|
37462
|
-
defaultUserAgentProvider: config2?.defaultUserAgentProvider ??
|
|
37560
|
+
defaultUserAgentProvider: config2?.defaultUserAgentProvider ?? import_client35.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default2.version }),
|
|
37463
37561
|
maxAttempts: config2?.maxAttempts ?? import_config30.loadConfig(import_retry5.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config2),
|
|
37464
37562
|
region: config2?.region ?? import_config30.loadConfig(import_config30.NODE_REGION_CONFIG_OPTIONS, { ...import_config30.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37465
37563
|
requestHandler: import_node_http_handler3.NodeHttpHandler.create(config2?.requestHandler ?? defaultConfigProvider),
|
|
@@ -37471,13 +37569,13 @@ var getRuntimeConfig5 = (config2) => {
|
|
|
37471
37569
|
streamCollector: config2?.streamCollector ?? import_node_http_handler3.streamCollector,
|
|
37472
37570
|
useDualstackEndpoint: config2?.useDualstackEndpoint ?? import_config30.loadConfig(import_config30.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
37473
37571
|
useFipsEndpoint: config2?.useFipsEndpoint ?? import_config30.loadConfig(import_config30.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
37474
|
-
userAgentAppId: config2?.userAgentAppId ?? import_config30.loadConfig(
|
|
37572
|
+
userAgentAppId: config2?.userAgentAppId ?? import_config30.loadConfig(import_client35.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
37475
37573
|
};
|
|
37476
37574
|
};
|
|
37477
37575
|
|
|
37478
37576
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeExtensions.js
|
|
37479
|
-
var
|
|
37480
|
-
var
|
|
37577
|
+
var import_client37 = __toESM(require_client4(), 1);
|
|
37578
|
+
var import_client38 = __toESM(require_client3(), 1);
|
|
37481
37579
|
var import_protocols10 = __toESM(require_protocols(), 1);
|
|
37482
37580
|
|
|
37483
37581
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
@@ -37521,34 +37619,34 @@ var resolveHttpAuthRuntimeConfig3 = (config2) => {
|
|
|
37521
37619
|
|
|
37522
37620
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeExtensions.js
|
|
37523
37621
|
var resolveRuntimeExtensions3 = (runtimeConfig, extensions) => {
|
|
37524
|
-
const extensionConfiguration = Object.assign(
|
|
37622
|
+
const extensionConfiguration = Object.assign(import_client37.getAwsRegionExtensionConfiguration(runtimeConfig), import_client38.getDefaultExtensionConfiguration(runtimeConfig), import_protocols10.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration3(runtimeConfig));
|
|
37525
37623
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
37526
|
-
return Object.assign(runtimeConfig,
|
|
37624
|
+
return Object.assign(runtimeConfig, import_client37.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client38.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols10.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig3(extensionConfiguration));
|
|
37527
37625
|
};
|
|
37528
37626
|
|
|
37529
37627
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/Route53DomainsClient.js
|
|
37530
|
-
class Route53DomainsClient extends
|
|
37628
|
+
class Route53DomainsClient extends import_client40.Client {
|
|
37531
37629
|
config;
|
|
37532
37630
|
constructor(...[configuration]) {
|
|
37533
37631
|
const _config_0 = getRuntimeConfig5(configuration || {});
|
|
37534
37632
|
super(_config_0);
|
|
37535
37633
|
this.initConfig = _config_0;
|
|
37536
37634
|
const _config_1 = resolveClientEndpointParameters3(_config_0);
|
|
37537
|
-
const _config_2 =
|
|
37635
|
+
const _config_2 = import_client39.resolveUserAgentConfig(_config_1);
|
|
37538
37636
|
const _config_3 = import_retry6.resolveRetryConfig(_config_2);
|
|
37539
37637
|
const _config_4 = import_config31.resolveRegionConfig(_config_3);
|
|
37540
|
-
const _config_5 =
|
|
37541
|
-
const _config_6 =
|
|
37638
|
+
const _config_5 = import_client39.resolveHostHeaderConfig(_config_4);
|
|
37639
|
+
const _config_6 = import_endpoints13.resolveEndpointConfig(_config_5);
|
|
37542
37640
|
const _config_7 = resolveHttpAuthSchemeConfig3(_config_6);
|
|
37543
37641
|
const _config_8 = resolveRuntimeExtensions3(_config_7, configuration?.extensions || []);
|
|
37544
37642
|
this.config = _config_8;
|
|
37545
37643
|
this.middlewareStack.use(import_schema4.getSchemaSerdePlugin(this.config));
|
|
37546
|
-
this.middlewareStack.use(
|
|
37644
|
+
this.middlewareStack.use(import_client39.getUserAgentPlugin(this.config));
|
|
37547
37645
|
this.middlewareStack.use(import_retry6.getRetryPlugin(this.config));
|
|
37548
37646
|
this.middlewareStack.use(import_protocols11.getContentLengthPlugin(this.config));
|
|
37549
|
-
this.middlewareStack.use(
|
|
37550
|
-
this.middlewareStack.use(
|
|
37551
|
-
this.middlewareStack.use(
|
|
37647
|
+
this.middlewareStack.use(import_client39.getHostHeaderPlugin(this.config));
|
|
37648
|
+
this.middlewareStack.use(import_client39.getLoggerPlugin(this.config));
|
|
37649
|
+
this.middlewareStack.use(import_client39.getRecursionDetectionPlugin(this.config));
|
|
37552
37650
|
this.middlewareStack.use(import_core2.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
37553
37651
|
httpAuthSchemeParametersProvider: defaultRoute53DomainsHttpAuthSchemeParametersProvider,
|
|
37554
37652
|
identityProviderConfigProvider: async (config2) => new import_core2.DefaultIdentityProviderConfig({
|
|
@@ -37563,84 +37661,100 @@ class Route53DomainsClient extends import_client39.Client {
|
|
|
37563
37661
|
}
|
|
37564
37662
|
|
|
37565
37663
|
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/CheckDomainAvailabilityCommand.js
|
|
37566
|
-
var import_client40 = __toESM(require_client3(), 1);
|
|
37567
|
-
var import_endpoints13 = __toESM(require_endpoints(), 1);
|
|
37568
|
-
class CheckDomainAvailabilityCommand extends import_client40.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37569
|
-
return [import_endpoints13.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37570
|
-
}).s("Route53Domains_v20140515", "CheckDomainAvailability", {}).n("Route53DomainsClient", "CheckDomainAvailabilityCommand").sc(CheckDomainAvailability$).build() {
|
|
37571
|
-
}
|
|
37572
|
-
|
|
37573
|
-
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetDomainDetailCommand.js
|
|
37574
37664
|
var import_client41 = __toESM(require_client3(), 1);
|
|
37575
37665
|
var import_endpoints14 = __toESM(require_endpoints(), 1);
|
|
37576
|
-
class
|
|
37666
|
+
class CheckDomainAvailabilityCommand extends import_client41.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37577
37667
|
return [import_endpoints14.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37578
|
-
}).s("Route53Domains_v20140515", "
|
|
37668
|
+
}).s("Route53Domains_v20140515", "CheckDomainAvailability", {}).n("Route53DomainsClient", "CheckDomainAvailabilityCommand").sc(CheckDomainAvailability$).build() {
|
|
37579
37669
|
}
|
|
37580
37670
|
|
|
37581
|
-
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/
|
|
37671
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/DisableDomainTransferLockCommand.js
|
|
37582
37672
|
var import_client42 = __toESM(require_client3(), 1);
|
|
37583
37673
|
var import_endpoints15 = __toESM(require_endpoints(), 1);
|
|
37584
|
-
class
|
|
37674
|
+
class DisableDomainTransferLockCommand extends import_client42.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37585
37675
|
return [import_endpoints15.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37586
|
-
}).s("Route53Domains_v20140515", "
|
|
37676
|
+
}).s("Route53Domains_v20140515", "DisableDomainTransferLock", {}).n("Route53DomainsClient", "DisableDomainTransferLockCommand").sc(DisableDomainTransferLock$).build() {
|
|
37587
37677
|
}
|
|
37588
37678
|
|
|
37589
|
-
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/
|
|
37679
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetDomainDetailCommand.js
|
|
37590
37680
|
var import_client43 = __toESM(require_client3(), 1);
|
|
37591
37681
|
var import_endpoints16 = __toESM(require_endpoints(), 1);
|
|
37592
|
-
class
|
|
37682
|
+
class GetDomainDetailCommand extends import_client43.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37593
37683
|
return [import_endpoints16.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37594
|
-
}).s("Route53Domains_v20140515", "
|
|
37684
|
+
}).s("Route53Domains_v20140515", "GetDomainDetail", {}).n("Route53DomainsClient", "GetDomainDetailCommand").sc(GetDomainDetail$).build() {
|
|
37595
37685
|
}
|
|
37596
37686
|
|
|
37597
|
-
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/
|
|
37687
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetOperationDetailCommand.js
|
|
37598
37688
|
var import_client44 = __toESM(require_client3(), 1);
|
|
37599
37689
|
var import_endpoints17 = __toESM(require_endpoints(), 1);
|
|
37600
|
-
class
|
|
37690
|
+
class GetOperationDetailCommand extends import_client44.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37601
37691
|
return [import_endpoints17.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37602
|
-
}).s("Route53Domains_v20140515", "
|
|
37692
|
+
}).s("Route53Domains_v20140515", "GetOperationDetail", {}).n("Route53DomainsClient", "GetOperationDetailCommand").sc(GetOperationDetail$).build() {
|
|
37603
37693
|
}
|
|
37604
37694
|
|
|
37605
|
-
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/
|
|
37695
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/ListDomainsCommand.js
|
|
37606
37696
|
var import_client45 = __toESM(require_client3(), 1);
|
|
37607
37697
|
var import_endpoints18 = __toESM(require_endpoints(), 1);
|
|
37608
|
-
class
|
|
37698
|
+
class ListDomainsCommand extends import_client45.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37609
37699
|
return [import_endpoints18.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37610
|
-
}).s("Route53Domains_v20140515", "
|
|
37700
|
+
}).s("Route53Domains_v20140515", "ListDomains", {}).n("Route53DomainsClient", "ListDomainsCommand").sc(ListDomains$).build() {
|
|
37611
37701
|
}
|
|
37612
37702
|
|
|
37613
|
-
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/
|
|
37703
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/ListPricesCommand.js
|
|
37614
37704
|
var import_client46 = __toESM(require_client3(), 1);
|
|
37615
37705
|
var import_endpoints19 = __toESM(require_endpoints(), 1);
|
|
37616
|
-
class
|
|
37706
|
+
class ListPricesCommand extends import_client46.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37617
37707
|
return [import_endpoints19.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37708
|
+
}).s("Route53Domains_v20140515", "ListPrices", {}).n("Route53DomainsClient", "ListPricesCommand").sc(ListPrices$).build() {
|
|
37709
|
+
}
|
|
37710
|
+
|
|
37711
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/RegisterDomainCommand.js
|
|
37712
|
+
var import_client47 = __toESM(require_client3(), 1);
|
|
37713
|
+
var import_endpoints20 = __toESM(require_endpoints(), 1);
|
|
37714
|
+
class RegisterDomainCommand extends import_client47.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37715
|
+
return [import_endpoints20.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37716
|
+
}).s("Route53Domains_v20140515", "RegisterDomain", {}).n("Route53DomainsClient", "RegisterDomainCommand").sc(RegisterDomain$).build() {
|
|
37717
|
+
}
|
|
37718
|
+
|
|
37719
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/RetrieveDomainAuthCodeCommand.js
|
|
37720
|
+
var import_client48 = __toESM(require_client3(), 1);
|
|
37721
|
+
var import_endpoints21 = __toESM(require_endpoints(), 1);
|
|
37722
|
+
class RetrieveDomainAuthCodeCommand extends import_client48.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37723
|
+
return [import_endpoints21.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37724
|
+
}).s("Route53Domains_v20140515", "RetrieveDomainAuthCode", {}).n("Route53DomainsClient", "RetrieveDomainAuthCodeCommand").sc(RetrieveDomainAuthCode$).build() {
|
|
37725
|
+
}
|
|
37726
|
+
|
|
37727
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/TransferDomainCommand.js
|
|
37728
|
+
var import_client49 = __toESM(require_client3(), 1);
|
|
37729
|
+
var import_endpoints22 = __toESM(require_endpoints(), 1);
|
|
37730
|
+
class TransferDomainCommand extends import_client49.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37731
|
+
return [import_endpoints22.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37732
|
+
}).s("Route53Domains_v20140515", "TransferDomain", {}).n("Route53DomainsClient", "TransferDomainCommand").sc(TransferDomain$).build() {
|
|
37733
|
+
}
|
|
37734
|
+
|
|
37735
|
+
// node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/UpdateDomainNameserversCommand.js
|
|
37736
|
+
var import_client50 = __toESM(require_client3(), 1);
|
|
37737
|
+
var import_endpoints23 = __toESM(require_endpoints(), 1);
|
|
37738
|
+
class UpdateDomainNameserversCommand extends import_client50.Command.classBuilder().ep(commonParams3).m(function(Command, cs, config2, o2) {
|
|
37739
|
+
return [import_endpoints23.getEndpointPlugin(config2, Command.getEndpointParameterInstructions())];
|
|
37618
37740
|
}).s("Route53Domains_v20140515", "UpdateDomainNameservers", {}).n("Route53DomainsClient", "UpdateDomainNameserversCommand").sc(UpdateDomainNameservers$).build() {
|
|
37619
37741
|
}
|
|
37620
37742
|
|
|
37621
37743
|
// src/lib/route53.ts
|
|
37744
|
+
init_dist_es9();
|
|
37622
37745
|
function getConfig2() {
|
|
37623
37746
|
return {
|
|
37624
|
-
region: process.env["AWS_REGION"] || "us-east-1",
|
|
37625
|
-
accessKeyId: process.env["AWS_ACCESS_KEY_ID"],
|
|
37626
|
-
secretAccessKey: process.env["AWS_SECRET_ACCESS_KEY"],
|
|
37627
|
-
sessionToken: process.env["AWS_SESSION_TOKEN"]
|
|
37747
|
+
region: process.env["ROUTE53_REGION"] || process.env["ROUTE53_AWS_REGION"] || process.env["AWS_REGION"] || "us-east-1",
|
|
37748
|
+
accessKeyId: process.env["ROUTE53_ACCESS_KEY_ID"] || process.env["AWS_ACCESS_KEY_ID"],
|
|
37749
|
+
secretAccessKey: process.env["ROUTE53_SECRET_ACCESS_KEY"] || process.env["AWS_SECRET_ACCESS_KEY"],
|
|
37750
|
+
sessionToken: process.env["ROUTE53_SESSION_TOKEN"] || process.env["AWS_SESSION_TOKEN"],
|
|
37751
|
+
profile: process.env["ROUTE53_AWS_PROFILE"] || process.env["AWS_PROFILE"]
|
|
37628
37752
|
};
|
|
37629
37753
|
}
|
|
37630
|
-
function checkCredentials(cfg) {
|
|
37631
|
-
if (cfg.accessKeyId && cfg.secretAccessKey)
|
|
37632
|
-
return;
|
|
37633
|
-
const hasEnv = !!(process.env["AWS_ACCESS_KEY_ID"] && process.env["AWS_SECRET_ACCESS_KEY"]);
|
|
37634
|
-
const hasProfile = !!process.env["AWS_PROFILE"];
|
|
37635
|
-
if (!hasEnv && !hasProfile) {
|
|
37636
|
-
throw new Error("AWS credentials not configured. Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (or AWS_PROFILE) environment variables.");
|
|
37637
|
-
}
|
|
37638
|
-
}
|
|
37639
37754
|
function makeClients(config2) {
|
|
37640
37755
|
const cfg = config2 ?? getConfig2();
|
|
37641
|
-
checkCredentials(cfg);
|
|
37642
37756
|
const region = cfg.region || "us-east-1";
|
|
37643
|
-
const credentials = cfg.accessKeyId && cfg.secretAccessKey ? { accessKeyId: cfg.accessKeyId, secretAccessKey: cfg.secretAccessKey, sessionToken: cfg.sessionToken } : undefined;
|
|
37757
|
+
const credentials = cfg.accessKeyId && cfg.secretAccessKey ? { accessKeyId: cfg.accessKeyId, secretAccessKey: cfg.secretAccessKey, sessionToken: cfg.sessionToken } : cfg.profile ? fromIni({ profile: cfg.profile }) : undefined;
|
|
37644
37758
|
return {
|
|
37645
37759
|
route53: new Route53Client({ region, credentials }),
|
|
37646
37760
|
domains: new Route53DomainsClient({ region: "us-east-1", credentials })
|
|
@@ -37651,49 +37765,106 @@ async function checkAvailability3(domain, config2) {
|
|
|
37651
37765
|
const result = await domains.send(new CheckDomainAvailabilityCommand({ DomainName: domain }));
|
|
37652
37766
|
const availability = {
|
|
37653
37767
|
domain,
|
|
37654
|
-
available: result.Availability === "AVAILABLE"
|
|
37768
|
+
available: result.Availability === "AVAILABLE",
|
|
37769
|
+
availability: result.Availability ?? "UNKNOWN"
|
|
37655
37770
|
};
|
|
37656
|
-
|
|
37657
|
-
|
|
37658
|
-
|
|
37659
|
-
|
|
37660
|
-
|
|
37661
|
-
|
|
37662
|
-
|
|
37663
|
-
availability.
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
|
|
37667
|
-
|
|
37668
|
-
}
|
|
37669
|
-
} catch {}
|
|
37771
|
+
if (availability.available) {
|
|
37772
|
+
try {
|
|
37773
|
+
const tld = domain.split(".").slice(1).join(".");
|
|
37774
|
+
const price = await getTldPrice(tld, config2);
|
|
37775
|
+
if (price) {
|
|
37776
|
+
availability.currency = price.currency;
|
|
37777
|
+
availability.price = price.registration_price;
|
|
37778
|
+
availability.renewal_price = price.renewal_price;
|
|
37779
|
+
availability.transfer_price = price.transfer_price;
|
|
37780
|
+
}
|
|
37781
|
+
} catch {}
|
|
37782
|
+
}
|
|
37670
37783
|
return availability;
|
|
37671
37784
|
}
|
|
37672
|
-
|
|
37785
|
+
function normalizeTld(tld) {
|
|
37786
|
+
return tld.trim().replace(/^\./, "");
|
|
37787
|
+
}
|
|
37788
|
+
function priceString(value) {
|
|
37789
|
+
return value == null ? undefined : value.toString();
|
|
37790
|
+
}
|
|
37791
|
+
function tldPriceFromRoute53Price(tld, price) {
|
|
37792
|
+
return {
|
|
37793
|
+
tld: price.Name || tld,
|
|
37794
|
+
registration_price: priceString(price.RegistrationPrice?.Price),
|
|
37795
|
+
renewal_price: priceString(price.RenewalPrice?.Price),
|
|
37796
|
+
transfer_price: priceString(price.TransferPrice?.Price),
|
|
37797
|
+
currency: price.RegistrationPrice?.Currency ?? price.RenewalPrice?.Currency ?? price.TransferPrice?.Currency
|
|
37798
|
+
};
|
|
37799
|
+
}
|
|
37800
|
+
async function getTldPrice(tld, config2) {
|
|
37801
|
+
const { domains } = makeClients(config2);
|
|
37802
|
+
const normalized = normalizeTld(tld);
|
|
37803
|
+
const prices = await domains.send(new ListPricesCommand({ Tld: normalized, MaxItems: 1 }));
|
|
37804
|
+
const price = prices.Prices?.[0];
|
|
37805
|
+
return price ? tldPriceFromRoute53Price(normalized, price) : null;
|
|
37806
|
+
}
|
|
37807
|
+
async function listTldPrices(config2) {
|
|
37808
|
+
const { domains } = makeClients(config2);
|
|
37809
|
+
const prices = [];
|
|
37810
|
+
let marker;
|
|
37811
|
+
do {
|
|
37812
|
+
const result = await domains.send(new ListPricesCommand({ Marker: marker, MaxItems: 100 }));
|
|
37813
|
+
for (const price of result.Prices ?? []) {
|
|
37814
|
+
prices.push(tldPriceFromRoute53Price(price.Name || "", price));
|
|
37815
|
+
}
|
|
37816
|
+
marker = result.NextPageMarker;
|
|
37817
|
+
} while (marker);
|
|
37818
|
+
return prices;
|
|
37819
|
+
}
|
|
37820
|
+
async function registerDomain2(domain, contact, durationYears = 1, autoRenew = true, config2, options = {}) {
|
|
37673
37821
|
const { domains } = makeClients(config2);
|
|
37674
|
-
const contactDetail =
|
|
37822
|
+
const contactDetail = contactToRoute53Contact(contact);
|
|
37823
|
+
const result = await domains.send(new RegisterDomainCommand({
|
|
37824
|
+
DomainName: domain,
|
|
37825
|
+
DurationInYears: durationYears,
|
|
37826
|
+
AutoRenew: autoRenew,
|
|
37827
|
+
AdminContact: contactDetail,
|
|
37828
|
+
RegistrantContact: contactDetail,
|
|
37829
|
+
TechContact: contactDetail,
|
|
37830
|
+
PrivacyProtectAdminContact: options.privacy_protected ?? true,
|
|
37831
|
+
PrivacyProtectRegistrantContact: options.privacy_protected ?? true,
|
|
37832
|
+
PrivacyProtectTechContact: options.privacy_protected ?? true,
|
|
37833
|
+
...options.nameservers?.length ? { Nameservers: options.nameservers.map((Name) => ({ Name })) } : {}
|
|
37834
|
+
}));
|
|
37835
|
+
return { operationId: result.OperationId ?? "" };
|
|
37836
|
+
}
|
|
37837
|
+
function contactToRoute53Contact(contact) {
|
|
37838
|
+
return {
|
|
37675
37839
|
FirstName: contact.first_name,
|
|
37676
37840
|
LastName: contact.last_name,
|
|
37677
37841
|
Email: contact.email,
|
|
37678
37842
|
PhoneNumber: contact.phone,
|
|
37679
37843
|
AddressLine1: contact.address_line_1,
|
|
37844
|
+
...contact.address_line_2 ? { AddressLine2: contact.address_line_2 } : {},
|
|
37680
37845
|
City: contact.city,
|
|
37681
|
-
State: contact.state,
|
|
37682
|
-
CountryCode: contact.country_code,
|
|
37846
|
+
...contact.state ? { State: contact.state } : {},
|
|
37847
|
+
CountryCode: contact.country_code.toUpperCase(),
|
|
37683
37848
|
ZipCode: contact.zip_code,
|
|
37684
37849
|
ContactType: contact.organization_name ? "COMPANY" : "PERSON",
|
|
37685
37850
|
...contact.organization_name ? { OrganizationName: contact.organization_name } : {}
|
|
37686
37851
|
};
|
|
37687
|
-
|
|
37852
|
+
}
|
|
37853
|
+
async function transferDomain(domain, authCode, contact, durationYears = 1, autoRenew = true, config2, options = {}) {
|
|
37854
|
+
const { domains } = makeClients(config2);
|
|
37855
|
+
const contactDetail = contactToRoute53Contact(contact);
|
|
37856
|
+
const result = await domains.send(new TransferDomainCommand({
|
|
37688
37857
|
DomainName: domain,
|
|
37858
|
+
AuthCode: authCode,
|
|
37689
37859
|
DurationInYears: durationYears,
|
|
37690
37860
|
AutoRenew: autoRenew,
|
|
37691
37861
|
AdminContact: contactDetail,
|
|
37692
37862
|
RegistrantContact: contactDetail,
|
|
37693
37863
|
TechContact: contactDetail,
|
|
37694
|
-
PrivacyProtectAdminContact: true,
|
|
37695
|
-
PrivacyProtectRegistrantContact: true,
|
|
37696
|
-
PrivacyProtectTechContact: true
|
|
37864
|
+
PrivacyProtectAdminContact: options.privacy_protected ?? true,
|
|
37865
|
+
PrivacyProtectRegistrantContact: options.privacy_protected ?? true,
|
|
37866
|
+
PrivacyProtectTechContact: options.privacy_protected ?? true,
|
|
37867
|
+
...options.nameservers?.length ? { Nameservers: options.nameservers.map((Name) => ({ Name })) } : {}
|
|
37697
37868
|
}));
|
|
37698
37869
|
return { operationId: result.OperationId ?? "" };
|
|
37699
37870
|
}
|
|
@@ -37708,14 +37879,60 @@ async function getRegistrationStatus(operationId, config2) {
|
|
|
37708
37879
|
}
|
|
37709
37880
|
async function getDomainDetail(domain, config2) {
|
|
37710
37881
|
const { domains } = makeClients(config2);
|
|
37711
|
-
const result = await
|
|
37882
|
+
const [result, summary] = await Promise.all([
|
|
37883
|
+
domains.send(new GetDomainDetailCommand({ DomainName: domain })),
|
|
37884
|
+
getDomainSummary(domain, config2)
|
|
37885
|
+
]);
|
|
37886
|
+
const privacy = result;
|
|
37712
37887
|
return {
|
|
37713
37888
|
domain: result.DomainName ?? domain,
|
|
37714
|
-
expiry: result.ExpirationDate?.toISOString() ?? "",
|
|
37715
|
-
auto_renew: result.AutoRenew ??
|
|
37716
|
-
transfer_lock: result.StatusList?.includes("TRANSFER_LOCK")
|
|
37889
|
+
expiry: result.ExpirationDate?.toISOString() ?? summary?.expiry ?? "",
|
|
37890
|
+
auto_renew: result.AutoRenew ?? summary?.auto_renew ?? null,
|
|
37891
|
+
transfer_lock: summary?.transfer_lock ?? (result.StatusList?.includes("TRANSFER_LOCK") ? true : null),
|
|
37717
37892
|
created: result.CreationDate?.toISOString() ?? "",
|
|
37718
|
-
|
|
37893
|
+
updated: result.UpdatedDate?.toISOString() ?? "",
|
|
37894
|
+
nameservers: (result.Nameservers ?? []).map((ns) => ns.Name ?? "").filter(Boolean),
|
|
37895
|
+
status_list: result.StatusList ?? [],
|
|
37896
|
+
registrar_name: result.RegistrarName,
|
|
37897
|
+
privacy_protected: privacy.RegistrantPrivacy ?? privacy.AdminPrivacy ?? privacy.TechPrivacy ?? null
|
|
37898
|
+
};
|
|
37899
|
+
}
|
|
37900
|
+
async function getDomainSummary(domain, config2) {
|
|
37901
|
+
let marker;
|
|
37902
|
+
do {
|
|
37903
|
+
const { domains } = makeClients(config2);
|
|
37904
|
+
const result = await domains.send(new ListDomainsCommand({ Marker: marker, MaxItems: 100 }));
|
|
37905
|
+
const summary = (result.Domains ?? []).find((item) => item.DomainName === domain);
|
|
37906
|
+
if (summary) {
|
|
37907
|
+
return {
|
|
37908
|
+
domain: summary.DomainName ?? domain,
|
|
37909
|
+
expiry: summary.Expiry?.toISOString() ?? "",
|
|
37910
|
+
auto_renew: summary.AutoRenew ?? false,
|
|
37911
|
+
transfer_lock: summary.TransferLock ?? false
|
|
37912
|
+
};
|
|
37913
|
+
}
|
|
37914
|
+
marker = result.NextPageMarker;
|
|
37915
|
+
} while (marker);
|
|
37916
|
+
return null;
|
|
37917
|
+
}
|
|
37918
|
+
async function requestTransferOutAuthCode(domain, config2) {
|
|
37919
|
+
const { domains } = makeClients(config2);
|
|
37920
|
+
const detail = await getDomainDetail(domain, config2);
|
|
37921
|
+
let transferLockDisabled = false;
|
|
37922
|
+
let transferLockOperationId = null;
|
|
37923
|
+
if (detail.transfer_lock) {
|
|
37924
|
+
const result = await domains.send(new DisableDomainTransferLockCommand({ DomainName: domain }));
|
|
37925
|
+
transferLockDisabled = true;
|
|
37926
|
+
transferLockOperationId = result.OperationId ?? null;
|
|
37927
|
+
}
|
|
37928
|
+
const authCodeResult = await domains.send(new RetrieveDomainAuthCodeCommand({ DomainName: domain }));
|
|
37929
|
+
if (!authCodeResult.AuthCode) {
|
|
37930
|
+
throw new Error("Route53 did not return a domain transfer authorization code");
|
|
37931
|
+
}
|
|
37932
|
+
return {
|
|
37933
|
+
auth_code: authCodeResult.AuthCode,
|
|
37934
|
+
transfer_lock_disabled: transferLockDisabled,
|
|
37935
|
+
transfer_lock_operation_id: transferLockOperationId
|
|
37719
37936
|
};
|
|
37720
37937
|
}
|
|
37721
37938
|
async function updateNameservers2(domain, nameservers, config2, client2) {
|
|
@@ -37753,9 +37970,22 @@ function cleanZoneId(id) {
|
|
|
37753
37970
|
function normalizeZoneId(id) {
|
|
37754
37971
|
return cleanZoneId(id.trim());
|
|
37755
37972
|
}
|
|
37756
|
-
|
|
37973
|
+
function normalizeNameserver(value) {
|
|
37974
|
+
return value.trim().toLowerCase().replace(/\.$/, "");
|
|
37975
|
+
}
|
|
37976
|
+
function nameserversMatch(a4, b4) {
|
|
37977
|
+
if (a4.length !== b4.length)
|
|
37978
|
+
return false;
|
|
37979
|
+
const left = [...new Set(a4.map(normalizeNameserver))].sort();
|
|
37980
|
+
const right = [...new Set(b4.map(normalizeNameserver))].sort();
|
|
37981
|
+
return left.length === right.length && left.every((value, index) => value === right[index]);
|
|
37982
|
+
}
|
|
37983
|
+
function cleanChangeId(id) {
|
|
37984
|
+
return id?.replace("/change/", "") || null;
|
|
37985
|
+
}
|
|
37986
|
+
async function createHostedZone(domain, comment, config2, options) {
|
|
37757
37987
|
const { route53 } = makeClients(config2);
|
|
37758
|
-
const callerRef = `domains-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
|
|
37988
|
+
const callerRef = options?.callerReference ?? `domains-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
|
|
37759
37989
|
const result = await route53.send(new CreateHostedZoneCommand({
|
|
37760
37990
|
Name: domain,
|
|
37761
37991
|
CallerReference: callerRef,
|
|
@@ -37802,7 +38032,38 @@ async function getHostedZone(hostedZoneId, config2) {
|
|
|
37802
38032
|
}
|
|
37803
38033
|
async function deleteHostedZone(hostedZoneId, config2) {
|
|
37804
38034
|
const { route53 } = makeClients(config2);
|
|
37805
|
-
|
|
38035
|
+
const zoneId = normalizeZoneId(hostedZoneId);
|
|
38036
|
+
const managedRecords = [];
|
|
38037
|
+
let nextName;
|
|
38038
|
+
let nextType;
|
|
38039
|
+
let nextIdentifier;
|
|
38040
|
+
do {
|
|
38041
|
+
const result = await route53.send(new ListResourceRecordSetsCommand({
|
|
38042
|
+
HostedZoneId: zoneId,
|
|
38043
|
+
StartRecordName: nextName,
|
|
38044
|
+
StartRecordType: nextType,
|
|
38045
|
+
StartRecordIdentifier: nextIdentifier
|
|
38046
|
+
}));
|
|
38047
|
+
managedRecords.push(...result.ResourceRecordSets?.filter((record) => record.Type !== "NS" && record.Type !== "SOA") ?? []);
|
|
38048
|
+
nextName = result.IsTruncated ? result.NextRecordName : undefined;
|
|
38049
|
+
nextType = result.IsTruncated ? result.NextRecordType : undefined;
|
|
38050
|
+
nextIdentifier = result.IsTruncated ? result.NextRecordIdentifier : undefined;
|
|
38051
|
+
} while (nextName && nextType);
|
|
38052
|
+
for (let index = 0;index < managedRecords.length; index += 100) {
|
|
38053
|
+
const batch = managedRecords.slice(index, index + 100);
|
|
38054
|
+
if (batch.length === 0)
|
|
38055
|
+
continue;
|
|
38056
|
+
await route53.send(new ChangeResourceRecordSetsCommand({
|
|
38057
|
+
HostedZoneId: zoneId,
|
|
38058
|
+
ChangeBatch: {
|
|
38059
|
+
Changes: batch.map((record) => ({
|
|
38060
|
+
Action: "DELETE",
|
|
38061
|
+
ResourceRecordSet: record
|
|
38062
|
+
}))
|
|
38063
|
+
}
|
|
38064
|
+
}));
|
|
38065
|
+
}
|
|
38066
|
+
await route53.send(new DeleteHostedZoneCommand({ Id: zoneId }));
|
|
37806
38067
|
}
|
|
37807
38068
|
async function findHostedZoneByDomain(domain, config2) {
|
|
37808
38069
|
const zones = await listHostedZones(config2);
|
|
@@ -37817,6 +38078,24 @@ async function findHostedZoneByDomain(domain, config2) {
|
|
|
37817
38078
|
}
|
|
37818
38079
|
return candidates[0] ?? null;
|
|
37819
38080
|
}
|
|
38081
|
+
async function findHostedZoneByNameservers(domain, nameservers, config2) {
|
|
38082
|
+
if (!nameservers.length)
|
|
38083
|
+
return null;
|
|
38084
|
+
const { route53 } = makeClients(config2);
|
|
38085
|
+
const result = await route53.send(new ListHostedZonesByNameCommand({ DNSName: domain }));
|
|
38086
|
+
const zones = (result.HostedZones ?? []).filter((zone) => zone.Name?.replace(/\.$/, "") === domain && !zone.Config?.PrivateZone);
|
|
38087
|
+
for (const zone of zones) {
|
|
38088
|
+
const id = cleanZoneId(zone.Id ?? "");
|
|
38089
|
+
if (!id)
|
|
38090
|
+
continue;
|
|
38091
|
+
const detail = await getHostedZone(id, config2);
|
|
38092
|
+
const delegatedNameservers = detail.name_servers ?? [];
|
|
38093
|
+
if (nameserversMatch(delegatedNameservers, nameservers)) {
|
|
38094
|
+
return { ...detail, id, name_servers: delegatedNameservers };
|
|
38095
|
+
}
|
|
38096
|
+
}
|
|
38097
|
+
return null;
|
|
38098
|
+
}
|
|
37820
38099
|
function rrsToRecord(rrs) {
|
|
37821
38100
|
if (rrs.AliasTarget) {
|
|
37822
38101
|
return {
|
|
@@ -37880,36 +38159,44 @@ async function listRecords(hostedZoneId, config2) {
|
|
|
37880
38159
|
} while (nextName);
|
|
37881
38160
|
return records;
|
|
37882
38161
|
}
|
|
37883
|
-
async function upsertRecord(hostedZoneId, record, config2) {
|
|
38162
|
+
async function upsertRecord(hostedZoneId, record, config2, options) {
|
|
37884
38163
|
const { route53 } = makeClients(config2);
|
|
37885
|
-
await route53.send(new ChangeResourceRecordSetsCommand({
|
|
38164
|
+
const result = await route53.send(new ChangeResourceRecordSetsCommand({
|
|
37886
38165
|
HostedZoneId: normalizeZoneId(hostedZoneId),
|
|
37887
38166
|
ChangeBatch: {
|
|
38167
|
+
...options?.comment ? { Comment: options.comment } : {},
|
|
37888
38168
|
Changes: [{ Action: "UPSERT", ResourceRecordSet: recordToRrs(record) }]
|
|
37889
38169
|
}
|
|
37890
38170
|
}));
|
|
38171
|
+
return { changeId: cleanChangeId(result.ChangeInfo?.Id) };
|
|
37891
38172
|
}
|
|
37892
|
-
async function deleteRecord(hostedZoneId, record, config2) {
|
|
38173
|
+
async function deleteRecord(hostedZoneId, record, config2, options) {
|
|
37893
38174
|
const { route53 } = makeClients(config2);
|
|
37894
|
-
await route53.send(new ChangeResourceRecordSetsCommand({
|
|
38175
|
+
const result = await route53.send(new ChangeResourceRecordSetsCommand({
|
|
37895
38176
|
HostedZoneId: normalizeZoneId(hostedZoneId),
|
|
37896
38177
|
ChangeBatch: {
|
|
38178
|
+
...options?.comment ? { Comment: options.comment } : {},
|
|
37897
38179
|
Changes: [{ Action: "DELETE", ResourceRecordSet: recordToRrs(record) }]
|
|
37898
38180
|
}
|
|
37899
38181
|
}));
|
|
38182
|
+
return { changeId: cleanChangeId(result.ChangeInfo?.Id) };
|
|
37900
38183
|
}
|
|
37901
|
-
async function upsertRecords(hostedZoneId, records, config2) {
|
|
38184
|
+
async function upsertRecords(hostedZoneId, records, config2, options) {
|
|
37902
38185
|
if (records.length === 0)
|
|
37903
|
-
return;
|
|
38186
|
+
return { changeId: null };
|
|
37904
38187
|
const { route53 } = makeClients(config2);
|
|
37905
38188
|
const changes = records.map((r4) => ({
|
|
37906
38189
|
Action: "UPSERT",
|
|
37907
38190
|
ResourceRecordSet: recordToRrs(r4)
|
|
37908
38191
|
}));
|
|
37909
|
-
await route53.send(new ChangeResourceRecordSetsCommand({
|
|
38192
|
+
const result = await route53.send(new ChangeResourceRecordSetsCommand({
|
|
37910
38193
|
HostedZoneId: normalizeZoneId(hostedZoneId),
|
|
37911
|
-
ChangeBatch: {
|
|
38194
|
+
ChangeBatch: {
|
|
38195
|
+
...options?.comment ? { Comment: options.comment } : {},
|
|
38196
|
+
Changes: changes
|
|
38197
|
+
}
|
|
37912
38198
|
}));
|
|
38199
|
+
return { changeId: cleanChangeId(result.ChangeInfo?.Id) };
|
|
37913
38200
|
}
|
|
37914
38201
|
function createRoute53Provider(config2) {
|
|
37915
38202
|
const cfg = config2 ?? getConfig2();
|
|
@@ -37972,7 +38259,7 @@ function createRoute53Provider(config2) {
|
|
|
37972
38259
|
expires: detail.expiry,
|
|
37973
38260
|
nameservers: detail.nameservers,
|
|
37974
38261
|
status: "active",
|
|
37975
|
-
auto_renew: detail.auto_renew
|
|
38262
|
+
auto_renew: detail.auto_renew ?? false
|
|
37976
38263
|
};
|
|
37977
38264
|
},
|
|
37978
38265
|
async registerDomain(domain, contact, options = {}) {
|
|
@@ -38128,6 +38415,19 @@ var CLOUDFLARE_ENV = {
|
|
|
38128
38415
|
email: ["CLOUDFLARE_EMAIL"],
|
|
38129
38416
|
accountId: ["CLOUDFLARE_ACCOUNT_ID"]
|
|
38130
38417
|
};
|
|
38418
|
+
var ROUTE53_ENV = {
|
|
38419
|
+
accessKeyId: ["ROUTE53_ACCESS_KEY_ID", "AWS_ACCESS_KEY_ID"],
|
|
38420
|
+
secretAccessKey: ["ROUTE53_SECRET_ACCESS_KEY", "AWS_SECRET_ACCESS_KEY"],
|
|
38421
|
+
sessionToken: ["ROUTE53_SESSION_TOKEN", "AWS_SESSION_TOKEN"],
|
|
38422
|
+
profile: ["ROUTE53_AWS_PROFILE", "AWS_PROFILE"],
|
|
38423
|
+
region: ["ROUTE53_REGION", "ROUTE53_AWS_REGION", "AWS_REGION"],
|
|
38424
|
+
webIdentityTokenFile: ["AWS_WEB_IDENTITY_TOKEN_FILE"],
|
|
38425
|
+
roleArn: ["AWS_ROLE_ARN"],
|
|
38426
|
+
containerCredentials: [
|
|
38427
|
+
"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",
|
|
38428
|
+
"AWS_CONTAINER_CREDENTIALS_FULL_URI"
|
|
38429
|
+
]
|
|
38430
|
+
};
|
|
38131
38431
|
function providerEnvNames(provider) {
|
|
38132
38432
|
switch (provider.toLowerCase()) {
|
|
38133
38433
|
case "namecheap":
|
|
@@ -38147,7 +38447,16 @@ function providerEnvNames(provider) {
|
|
|
38147
38447
|
case "cloudflare":
|
|
38148
38448
|
return flattenEnvNames([CLOUDFLARE_ENV.apiToken, CLOUDFLARE_ENV.apiKey, CLOUDFLARE_ENV.email, CLOUDFLARE_ENV.accountId]);
|
|
38149
38449
|
case "route53":
|
|
38150
|
-
return [
|
|
38450
|
+
return flattenEnvNames([
|
|
38451
|
+
ROUTE53_ENV.profile,
|
|
38452
|
+
ROUTE53_ENV.accessKeyId,
|
|
38453
|
+
ROUTE53_ENV.secretAccessKey,
|
|
38454
|
+
ROUTE53_ENV.sessionToken,
|
|
38455
|
+
ROUTE53_ENV.region,
|
|
38456
|
+
ROUTE53_ENV.webIdentityTokenFile,
|
|
38457
|
+
ROUTE53_ENV.roleArn,
|
|
38458
|
+
ROUTE53_ENV.containerCredentials
|
|
38459
|
+
]);
|
|
38151
38460
|
default:
|
|
38152
38461
|
return [];
|
|
38153
38462
|
}
|
|
@@ -38167,8 +38476,13 @@ function hasProviderCredentials(provider, env = process.env) {
|
|
|
38167
38476
|
const keyMode = hasEveryEnv(env, [CLOUDFLARE_ENV.apiKey, CLOUDFLARE_ENV.email]);
|
|
38168
38477
|
return tokenMode || keyMode;
|
|
38169
38478
|
}
|
|
38170
|
-
case "route53":
|
|
38171
|
-
|
|
38479
|
+
case "route53": {
|
|
38480
|
+
const profileMode = !!firstEnv2(env, ROUTE53_ENV.profile);
|
|
38481
|
+
const keyMode = hasEveryEnv(env, [ROUTE53_ENV.accessKeyId, ROUTE53_ENV.secretAccessKey]);
|
|
38482
|
+
const webIdentityMode = hasEveryEnv(env, [ROUTE53_ENV.webIdentityTokenFile, ROUTE53_ENV.roleArn]);
|
|
38483
|
+
const containerMode = !!firstEnv2(env, ROUTE53_ENV.containerCredentials);
|
|
38484
|
+
return profileMode || keyMode || webIdentityMode || containerMode;
|
|
38485
|
+
}
|
|
38172
38486
|
default:
|
|
38173
38487
|
return false;
|
|
38174
38488
|
}
|
|
@@ -38198,13 +38512,13 @@ function cloudflareAuthHeaders(cfg) {
|
|
|
38198
38512
|
function getConfig3() {
|
|
38199
38513
|
return resolveCloudflareConfig();
|
|
38200
38514
|
}
|
|
38201
|
-
function
|
|
38515
|
+
function checkCredentials(cfg) {
|
|
38202
38516
|
cloudflareAuthHeaders(cfg);
|
|
38203
38517
|
}
|
|
38204
38518
|
var CF_BASE = "https://api.cloudflare.com/client/v4";
|
|
38205
38519
|
async function cfFetch(path, opts = {}) {
|
|
38206
38520
|
const cfg = opts.config ?? getConfig3();
|
|
38207
|
-
|
|
38521
|
+
checkCredentials(cfg);
|
|
38208
38522
|
const res = await fetch(`${CF_BASE}${path}`, {
|
|
38209
38523
|
method: opts.method ?? "GET",
|
|
38210
38524
|
headers: {
|
|
@@ -39249,13 +39563,18 @@ export {
|
|
|
39249
39563
|
upsertRecords as r53UpsertRecords,
|
|
39250
39564
|
upsertRecord as r53UpsertRecord,
|
|
39251
39565
|
updateNameservers2 as r53UpdateNameservers,
|
|
39566
|
+
transferDomain as r53TransferDomain,
|
|
39567
|
+
requestTransferOutAuthCode as r53RequestTransferOutAuthCode,
|
|
39252
39568
|
registerDomain2 as r53RegisterDomain,
|
|
39569
|
+
listTldPrices as r53ListTldPrices,
|
|
39253
39570
|
listRegisteredDomains as r53ListRegisteredDomains,
|
|
39254
39571
|
listRecords as r53ListRecords,
|
|
39255
39572
|
listHostedZones as r53ListHostedZones,
|
|
39573
|
+
getTldPrice as r53GetTldPrice,
|
|
39256
39574
|
getRegistrationStatus as r53GetRegistrationStatus,
|
|
39257
39575
|
getHostedZone as r53GetHostedZone,
|
|
39258
39576
|
getConfig2 as r53GetConfig,
|
|
39577
|
+
findHostedZoneByNameservers as r53FindHostedZoneByNameservers,
|
|
39259
39578
|
findHostedZoneByDomain as r53FindHostedZoneByDomain,
|
|
39260
39579
|
deleteRecord as r53DeleteRecord,
|
|
39261
39580
|
deleteHostedZone as r53DeleteHostedZone,
|