@aws-sdk/client-route-53-domains 3.231.0 → 3.235.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/README.md +2 -1
- package/dist-cjs/Route53Domains.js +60 -0
- package/dist-cjs/commands/AssociateDelegationSignerToDomainCommand.js +46 -0
- package/dist-cjs/commands/DisassociateDelegationSignerFromDomainCommand.js +46 -0
- package/dist-cjs/commands/PushDomainCommand.js +46 -0
- package/dist-cjs/commands/ResendOperationAuthorizationCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +4 -315
- package/dist-cjs/models/models_0.js +375 -28
- package/dist-cjs/protocols/Aws_json1_1.js +319 -2
- package/dist-es/Route53Domains.js +60 -0
- package/dist-es/commands/AssociateDelegationSignerToDomainCommand.js +42 -0
- package/dist-es/commands/DisassociateDelegationSignerFromDomainCommand.js +42 -0
- package/dist-es/commands/PushDomainCommand.js +42 -0
- package/dist-es/commands/ResendOperationAuthorizationCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +4 -315
- package/dist-es/models/models_0.js +360 -24
- package/dist-es/protocols/Aws_json1_1.js +311 -2
- package/dist-types/Route53Domains.d.ts +244 -193
- package/dist-types/Route53DomainsClient.d.ts +8 -3
- package/dist-types/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.d.ts +4 -10
- package/dist-types/commands/AssociateDelegationSignerToDomainCommand.d.ts +44 -0
- package/dist-types/commands/CancelDomainTransferToAnotherAwsAccountCommand.d.ts +8 -16
- package/dist-types/commands/CheckDomainAvailabilityCommand.d.ts +3 -2
- package/dist-types/commands/DeleteDomainCommand.d.ts +14 -11
- package/dist-types/commands/DeleteTagsForDomainCommand.d.ts +2 -1
- package/dist-types/commands/DisableDomainAutoRenewCommand.d.ts +2 -1
- package/dist-types/commands/DisableDomainTransferLockCommand.d.ts +5 -5
- package/dist-types/commands/DisassociateDelegationSignerFromDomainCommand.d.ts +38 -0
- package/dist-types/commands/EnableDomainAutoRenewCommand.d.ts +8 -6
- package/dist-types/commands/EnableDomainTransferLockCommand.d.ts +5 -3
- package/dist-types/commands/GetContactReachabilityStatusCommand.d.ts +5 -3
- package/dist-types/commands/GetDomainDetailCommand.d.ts +3 -2
- package/dist-types/commands/GetOperationDetailCommand.d.ts +2 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +2 -2
- package/dist-types/commands/ListOperationsCommand.d.ts +3 -3
- package/dist-types/commands/ListPricesCommand.d.ts +3 -2
- package/dist-types/commands/ListTagsForDomainCommand.d.ts +4 -2
- package/dist-types/commands/PushDomainCommand.d.ts +44 -0
- package/dist-types/commands/RegisterDomainCommand.d.ts +27 -19
- package/dist-types/commands/RejectDomainTransferFromAnotherAwsAccountCommand.d.ts +4 -11
- package/dist-types/commands/RenewDomainCommand.d.ts +7 -5
- package/dist-types/commands/ResendContactReachabilityEmailCommand.d.ts +3 -2
- package/dist-types/commands/ResendOperationAuthorizationCommand.d.ts +37 -0
- package/dist-types/commands/RetrieveDomainAuthCodeCommand.d.ts +2 -1
- package/dist-types/commands/TransferDomainCommand.d.ts +27 -28
- package/dist-types/commands/TransferDomainToAnotherAwsAccountCommand.d.ts +20 -30
- package/dist-types/commands/UpdateDomainContactCommand.d.ts +6 -4
- package/dist-types/commands/UpdateDomainContactPrivacyCommand.d.ts +22 -17
- package/dist-types/commands/UpdateDomainNameserversCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTagsForDomainCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1259 -546
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/Route53Domains.d.ts +80 -0
- package/dist-types/ts3.4/Route53DomainsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/AssociateDelegationSignerToDomainCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DisassociateDelegationSignerFromDomainCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PushDomainCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ResendOperationAuthorizationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +408 -309
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Route53Domains Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>Amazon Route 53 API actions let you register domain names and perform related
|
|
12
|
+
<p>Amazon Route 53 API actions let you register domain names and perform related
|
|
13
|
+
operations.</p>
|
|
13
14
|
|
|
14
15
|
## Installing
|
|
15
16
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Route53Domains = void 0;
|
|
4
4
|
const AcceptDomainTransferFromAnotherAwsAccountCommand_1 = require("./commands/AcceptDomainTransferFromAnotherAwsAccountCommand");
|
|
5
|
+
const AssociateDelegationSignerToDomainCommand_1 = require("./commands/AssociateDelegationSignerToDomainCommand");
|
|
5
6
|
const CancelDomainTransferToAnotherAwsAccountCommand_1 = require("./commands/CancelDomainTransferToAnotherAwsAccountCommand");
|
|
6
7
|
const CheckDomainAvailabilityCommand_1 = require("./commands/CheckDomainAvailabilityCommand");
|
|
7
8
|
const CheckDomainTransferabilityCommand_1 = require("./commands/CheckDomainTransferabilityCommand");
|
|
@@ -9,6 +10,7 @@ const DeleteDomainCommand_1 = require("./commands/DeleteDomainCommand");
|
|
|
9
10
|
const DeleteTagsForDomainCommand_1 = require("./commands/DeleteTagsForDomainCommand");
|
|
10
11
|
const DisableDomainAutoRenewCommand_1 = require("./commands/DisableDomainAutoRenewCommand");
|
|
11
12
|
const DisableDomainTransferLockCommand_1 = require("./commands/DisableDomainTransferLockCommand");
|
|
13
|
+
const DisassociateDelegationSignerFromDomainCommand_1 = require("./commands/DisassociateDelegationSignerFromDomainCommand");
|
|
12
14
|
const EnableDomainAutoRenewCommand_1 = require("./commands/EnableDomainAutoRenewCommand");
|
|
13
15
|
const EnableDomainTransferLockCommand_1 = require("./commands/EnableDomainTransferLockCommand");
|
|
14
16
|
const GetContactReachabilityStatusCommand_1 = require("./commands/GetContactReachabilityStatusCommand");
|
|
@@ -19,10 +21,12 @@ const ListDomainsCommand_1 = require("./commands/ListDomainsCommand");
|
|
|
19
21
|
const ListOperationsCommand_1 = require("./commands/ListOperationsCommand");
|
|
20
22
|
const ListPricesCommand_1 = require("./commands/ListPricesCommand");
|
|
21
23
|
const ListTagsForDomainCommand_1 = require("./commands/ListTagsForDomainCommand");
|
|
24
|
+
const PushDomainCommand_1 = require("./commands/PushDomainCommand");
|
|
22
25
|
const RegisterDomainCommand_1 = require("./commands/RegisterDomainCommand");
|
|
23
26
|
const RejectDomainTransferFromAnotherAwsAccountCommand_1 = require("./commands/RejectDomainTransferFromAnotherAwsAccountCommand");
|
|
24
27
|
const RenewDomainCommand_1 = require("./commands/RenewDomainCommand");
|
|
25
28
|
const ResendContactReachabilityEmailCommand_1 = require("./commands/ResendContactReachabilityEmailCommand");
|
|
29
|
+
const ResendOperationAuthorizationCommand_1 = require("./commands/ResendOperationAuthorizationCommand");
|
|
26
30
|
const RetrieveDomainAuthCodeCommand_1 = require("./commands/RetrieveDomainAuthCodeCommand");
|
|
27
31
|
const TransferDomainCommand_1 = require("./commands/TransferDomainCommand");
|
|
28
32
|
const TransferDomainToAnotherAwsAccountCommand_1 = require("./commands/TransferDomainToAnotherAwsAccountCommand");
|
|
@@ -47,6 +51,20 @@ class Route53Domains extends Route53DomainsClient_1.Route53DomainsClient {
|
|
|
47
51
|
return this.send(command, optionsOrCb);
|
|
48
52
|
}
|
|
49
53
|
}
|
|
54
|
+
associateDelegationSignerToDomain(args, optionsOrCb, cb) {
|
|
55
|
+
const command = new AssociateDelegationSignerToDomainCommand_1.AssociateDelegationSignerToDomainCommand(args);
|
|
56
|
+
if (typeof optionsOrCb === "function") {
|
|
57
|
+
this.send(command, optionsOrCb);
|
|
58
|
+
}
|
|
59
|
+
else if (typeof cb === "function") {
|
|
60
|
+
if (typeof optionsOrCb !== "object")
|
|
61
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
62
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
return this.send(command, optionsOrCb);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
50
68
|
cancelDomainTransferToAnotherAwsAccount(args, optionsOrCb, cb) {
|
|
51
69
|
const command = new CancelDomainTransferToAnotherAwsAccountCommand_1.CancelDomainTransferToAnotherAwsAccountCommand(args);
|
|
52
70
|
if (typeof optionsOrCb === "function") {
|
|
@@ -145,6 +163,20 @@ class Route53Domains extends Route53DomainsClient_1.Route53DomainsClient {
|
|
|
145
163
|
return this.send(command, optionsOrCb);
|
|
146
164
|
}
|
|
147
165
|
}
|
|
166
|
+
disassociateDelegationSignerFromDomain(args, optionsOrCb, cb) {
|
|
167
|
+
const command = new DisassociateDelegationSignerFromDomainCommand_1.DisassociateDelegationSignerFromDomainCommand(args);
|
|
168
|
+
if (typeof optionsOrCb === "function") {
|
|
169
|
+
this.send(command, optionsOrCb);
|
|
170
|
+
}
|
|
171
|
+
else if (typeof cb === "function") {
|
|
172
|
+
if (typeof optionsOrCb !== "object")
|
|
173
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
return this.send(command, optionsOrCb);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
148
180
|
enableDomainAutoRenew(args, optionsOrCb, cb) {
|
|
149
181
|
const command = new EnableDomainAutoRenewCommand_1.EnableDomainAutoRenewCommand(args);
|
|
150
182
|
if (typeof optionsOrCb === "function") {
|
|
@@ -285,6 +317,20 @@ class Route53Domains extends Route53DomainsClient_1.Route53DomainsClient {
|
|
|
285
317
|
return this.send(command, optionsOrCb);
|
|
286
318
|
}
|
|
287
319
|
}
|
|
320
|
+
pushDomain(args, optionsOrCb, cb) {
|
|
321
|
+
const command = new PushDomainCommand_1.PushDomainCommand(args);
|
|
322
|
+
if (typeof optionsOrCb === "function") {
|
|
323
|
+
this.send(command, optionsOrCb);
|
|
324
|
+
}
|
|
325
|
+
else if (typeof cb === "function") {
|
|
326
|
+
if (typeof optionsOrCb !== "object")
|
|
327
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
328
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
return this.send(command, optionsOrCb);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
288
334
|
registerDomain(args, optionsOrCb, cb) {
|
|
289
335
|
const command = new RegisterDomainCommand_1.RegisterDomainCommand(args);
|
|
290
336
|
if (typeof optionsOrCb === "function") {
|
|
@@ -341,6 +387,20 @@ class Route53Domains extends Route53DomainsClient_1.Route53DomainsClient {
|
|
|
341
387
|
return this.send(command, optionsOrCb);
|
|
342
388
|
}
|
|
343
389
|
}
|
|
390
|
+
resendOperationAuthorization(args, optionsOrCb, cb) {
|
|
391
|
+
const command = new ResendOperationAuthorizationCommand_1.ResendOperationAuthorizationCommand(args);
|
|
392
|
+
if (typeof optionsOrCb === "function") {
|
|
393
|
+
this.send(command, optionsOrCb);
|
|
394
|
+
}
|
|
395
|
+
else if (typeof cb === "function") {
|
|
396
|
+
if (typeof optionsOrCb !== "object")
|
|
397
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
398
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
399
|
+
}
|
|
400
|
+
else {
|
|
401
|
+
return this.send(command, optionsOrCb);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
344
404
|
retrieveDomainAuthCode(args, optionsOrCb, cb) {
|
|
345
405
|
const command = new RetrieveDomainAuthCodeCommand_1.RetrieveDomainAuthCodeCommand(args);
|
|
346
406
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociateDelegationSignerToDomainCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class AssociateDelegationSignerToDomainCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateDelegationSignerToDomainCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53DomainsClient";
|
|
28
|
+
const commandName = "AssociateDelegationSignerToDomainCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.AssociateDelegationSignerToDomainRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.AssociateDelegationSignerToDomainResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1AssociateDelegationSignerToDomainCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateDelegationSignerToDomainCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.AssociateDelegationSignerToDomainCommand = AssociateDelegationSignerToDomainCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateDelegationSignerFromDomainCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DisassociateDelegationSignerFromDomainCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateDelegationSignerFromDomainCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53DomainsClient";
|
|
28
|
+
const commandName = "DisassociateDelegationSignerFromDomainCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DisassociateDelegationSignerFromDomainRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DisassociateDelegationSignerFromDomainResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateDelegationSignerFromDomainCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateDelegationSignerFromDomainCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DisassociateDelegationSignerFromDomainCommand = DisassociateDelegationSignerFromDomainCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PushDomainCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class PushDomainCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PushDomainCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53DomainsClient";
|
|
28
|
+
const commandName = "PushDomainCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.PushDomainRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (output) => output,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PushDomainCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PushDomainCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.PushDomainCommand = PushDomainCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResendOperationAuthorizationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ResendOperationAuthorizationCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResendOperationAuthorizationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "Route53DomainsClient";
|
|
28
|
+
const commandName = "ResendOperationAuthorizationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ResendOperationAuthorizationRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (output) => output,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ResendOperationAuthorizationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ResendOperationAuthorizationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ResendOperationAuthorizationCommand = ResendOperationAuthorizationCommand;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AcceptDomainTransferFromAnotherAwsAccountCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AssociateDelegationSignerToDomainCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CancelDomainTransferToAnotherAwsAccountCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CheckDomainAvailabilityCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CheckDomainTransferabilityCommand"), exports);
|
|
@@ -9,6 +10,7 @@ tslib_1.__exportStar(require("./DeleteDomainCommand"), exports);
|
|
|
9
10
|
tslib_1.__exportStar(require("./DeleteTagsForDomainCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DisableDomainAutoRenewCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DisableDomainTransferLockCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DisassociateDelegationSignerFromDomainCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./EnableDomainAutoRenewCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./EnableDomainTransferLockCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./GetContactReachabilityStatusCommand"), exports);
|
|
@@ -19,10 +21,12 @@ tslib_1.__exportStar(require("./ListDomainsCommand"), exports);
|
|
|
19
21
|
tslib_1.__exportStar(require("./ListOperationsCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./ListPricesCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./ListTagsForDomainCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./PushDomainCommand"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./RegisterDomainCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./RejectDomainTransferFromAnotherAwsAccountCommand"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./RenewDomainCommand"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./ResendContactReachabilityEmailCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ResendOperationAuthorizationCommand"), exports);
|
|
26
30
|
tslib_1.__exportStar(require("./RetrieveDomainAuthCodeCommand"), exports);
|
|
27
31
|
tslib_1.__exportStar(require("./TransferDomainCommand"), exports);
|
|
28
32
|
tslib_1.__exportStar(require("./TransferDomainToAnotherAwsAccountCommand"), exports);
|
|
@@ -1,318 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
builtIn: "AWS::Region",
|
|
9
|
-
required: false,
|
|
10
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
11
|
-
type: "String",
|
|
12
|
-
},
|
|
13
|
-
UseDualStack: {
|
|
14
|
-
builtIn: "AWS::UseDualStack",
|
|
15
|
-
required: true,
|
|
16
|
-
default: false,
|
|
17
|
-
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
18
|
-
type: "Boolean",
|
|
19
|
-
},
|
|
20
|
-
UseFIPS: {
|
|
21
|
-
builtIn: "AWS::UseFIPS",
|
|
22
|
-
required: true,
|
|
23
|
-
default: false,
|
|
24
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
25
|
-
type: "Boolean",
|
|
26
|
-
},
|
|
27
|
-
Endpoint: {
|
|
28
|
-
builtIn: "SDK::Endpoint",
|
|
29
|
-
required: false,
|
|
30
|
-
documentation: "Override the endpoint used to send this request",
|
|
31
|
-
type: "String",
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
rules: [
|
|
35
|
-
{
|
|
36
|
-
conditions: [
|
|
37
|
-
{
|
|
38
|
-
fn: "aws.partition",
|
|
39
|
-
argv: [
|
|
40
|
-
{
|
|
41
|
-
ref: "Region",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
assign: "PartitionResult",
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
type: "tree",
|
|
48
|
-
rules: [
|
|
49
|
-
{
|
|
50
|
-
conditions: [
|
|
51
|
-
{
|
|
52
|
-
fn: "isSet",
|
|
53
|
-
argv: [
|
|
54
|
-
{
|
|
55
|
-
ref: "Endpoint",
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
fn: "parseURL",
|
|
61
|
-
argv: [
|
|
62
|
-
{
|
|
63
|
-
ref: "Endpoint",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
assign: "url",
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
type: "tree",
|
|
70
|
-
rules: [
|
|
71
|
-
{
|
|
72
|
-
conditions: [
|
|
73
|
-
{
|
|
74
|
-
fn: "booleanEquals",
|
|
75
|
-
argv: [
|
|
76
|
-
{
|
|
77
|
-
ref: "UseFIPS",
|
|
78
|
-
},
|
|
79
|
-
true,
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
84
|
-
type: "error",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
conditions: [],
|
|
88
|
-
type: "tree",
|
|
89
|
-
rules: [
|
|
90
|
-
{
|
|
91
|
-
conditions: [
|
|
92
|
-
{
|
|
93
|
-
fn: "booleanEquals",
|
|
94
|
-
argv: [
|
|
95
|
-
{
|
|
96
|
-
ref: "UseDualStack",
|
|
97
|
-
},
|
|
98
|
-
true,
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
103
|
-
type: "error",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
conditions: [],
|
|
107
|
-
endpoint: {
|
|
108
|
-
url: {
|
|
109
|
-
ref: "Endpoint",
|
|
110
|
-
},
|
|
111
|
-
properties: {},
|
|
112
|
-
headers: {},
|
|
113
|
-
},
|
|
114
|
-
type: "endpoint",
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
conditions: [
|
|
122
|
-
{
|
|
123
|
-
fn: "booleanEquals",
|
|
124
|
-
argv: [
|
|
125
|
-
{
|
|
126
|
-
ref: "UseFIPS",
|
|
127
|
-
},
|
|
128
|
-
true,
|
|
129
|
-
],
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
fn: "booleanEquals",
|
|
133
|
-
argv: [
|
|
134
|
-
{
|
|
135
|
-
ref: "UseDualStack",
|
|
136
|
-
},
|
|
137
|
-
true,
|
|
138
|
-
],
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
type: "tree",
|
|
142
|
-
rules: [
|
|
143
|
-
{
|
|
144
|
-
conditions: [
|
|
145
|
-
{
|
|
146
|
-
fn: "booleanEquals",
|
|
147
|
-
argv: [
|
|
148
|
-
true,
|
|
149
|
-
{
|
|
150
|
-
fn: "getAttr",
|
|
151
|
-
argv: [
|
|
152
|
-
{
|
|
153
|
-
ref: "PartitionResult",
|
|
154
|
-
},
|
|
155
|
-
"supportsFIPS",
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
fn: "booleanEquals",
|
|
162
|
-
argv: [
|
|
163
|
-
true,
|
|
164
|
-
{
|
|
165
|
-
fn: "getAttr",
|
|
166
|
-
argv: [
|
|
167
|
-
{
|
|
168
|
-
ref: "PartitionResult",
|
|
169
|
-
},
|
|
170
|
-
"supportsDualStack",
|
|
171
|
-
],
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
},
|
|
175
|
-
],
|
|
176
|
-
type: "tree",
|
|
177
|
-
rules: [
|
|
178
|
-
{
|
|
179
|
-
conditions: [],
|
|
180
|
-
endpoint: {
|
|
181
|
-
url: "https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
182
|
-
properties: {},
|
|
183
|
-
headers: {},
|
|
184
|
-
},
|
|
185
|
-
type: "endpoint",
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
conditions: [],
|
|
191
|
-
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
192
|
-
type: "error",
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
conditions: [
|
|
198
|
-
{
|
|
199
|
-
fn: "booleanEquals",
|
|
200
|
-
argv: [
|
|
201
|
-
{
|
|
202
|
-
ref: "UseFIPS",
|
|
203
|
-
},
|
|
204
|
-
true,
|
|
205
|
-
],
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
type: "tree",
|
|
209
|
-
rules: [
|
|
210
|
-
{
|
|
211
|
-
conditions: [
|
|
212
|
-
{
|
|
213
|
-
fn: "booleanEquals",
|
|
214
|
-
argv: [
|
|
215
|
-
true,
|
|
216
|
-
{
|
|
217
|
-
fn: "getAttr",
|
|
218
|
-
argv: [
|
|
219
|
-
{
|
|
220
|
-
ref: "PartitionResult",
|
|
221
|
-
},
|
|
222
|
-
"supportsFIPS",
|
|
223
|
-
],
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
type: "tree",
|
|
229
|
-
rules: [
|
|
230
|
-
{
|
|
231
|
-
conditions: [],
|
|
232
|
-
type: "tree",
|
|
233
|
-
rules: [
|
|
234
|
-
{
|
|
235
|
-
conditions: [],
|
|
236
|
-
endpoint: {
|
|
237
|
-
url: "https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
238
|
-
properties: {},
|
|
239
|
-
headers: {},
|
|
240
|
-
},
|
|
241
|
-
type: "endpoint",
|
|
242
|
-
},
|
|
243
|
-
],
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
conditions: [],
|
|
249
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
250
|
-
type: "error",
|
|
251
|
-
},
|
|
252
|
-
],
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
conditions: [
|
|
256
|
-
{
|
|
257
|
-
fn: "booleanEquals",
|
|
258
|
-
argv: [
|
|
259
|
-
{
|
|
260
|
-
ref: "UseDualStack",
|
|
261
|
-
},
|
|
262
|
-
true,
|
|
263
|
-
],
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
type: "tree",
|
|
267
|
-
rules: [
|
|
268
|
-
{
|
|
269
|
-
conditions: [
|
|
270
|
-
{
|
|
271
|
-
fn: "booleanEquals",
|
|
272
|
-
argv: [
|
|
273
|
-
true,
|
|
274
|
-
{
|
|
275
|
-
fn: "getAttr",
|
|
276
|
-
argv: [
|
|
277
|
-
{
|
|
278
|
-
ref: "PartitionResult",
|
|
279
|
-
},
|
|
280
|
-
"supportsDualStack",
|
|
281
|
-
],
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
type: "tree",
|
|
287
|
-
rules: [
|
|
288
|
-
{
|
|
289
|
-
conditions: [],
|
|
290
|
-
endpoint: {
|
|
291
|
-
url: "https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
292
|
-
properties: {},
|
|
293
|
-
headers: {},
|
|
294
|
-
},
|
|
295
|
-
type: "endpoint",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
conditions: [],
|
|
301
|
-
error: "DualStack is enabled but this partition does not support DualStack",
|
|
302
|
-
type: "error",
|
|
303
|
-
},
|
|
304
|
-
],
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
conditions: [],
|
|
308
|
-
endpoint: {
|
|
309
|
-
url: "https://route53domains.{Region}.{PartitionResult#dnsSuffix}",
|
|
310
|
-
properties: {},
|
|
311
|
-
headers: {},
|
|
312
|
-
},
|
|
313
|
-
type: "endpoint",
|
|
314
|
-
},
|
|
315
|
-
],
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
};
|
|
4
|
+
const r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, o = [j], p = [], q = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: a, default: b, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [r]: "isSet", [s]: [i] }], type: f, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: p, type: f, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: p, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: p, endpoint: { url: "https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: p, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: o, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: p, type: f, rules: [{ conditions: p, endpoint: { url: "https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: p, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: q, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: p, endpoint: { url: "https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: p, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: p, endpoint: { url: "https://route53domains.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|