@aws-sdk/client-route-53-domains 3.1162.0 → 3.1164.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 CHANGED
@@ -371,6 +371,13 @@ ResendOperationAuthorization
371
371
  </details>
372
372
  <details>
373
373
  <summary>
374
+ RestoreDomain
375
+ </summary>
376
+
377
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/route-53-domains/command/RestoreDomainCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-route-53-domains/Interface/RestoreDomainCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-route-53-domains/Interface/RestoreDomainCommandOutput/)
378
+ </details>
379
+ <details>
380
+ <summary>
374
381
  RetrieveDomainAuthCode
375
382
  </summary>
376
383
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1161.0";
72
+ var version = "3.1163.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -429,10 +429,13 @@ const _RDR = "RegisterDomainRequest";
429
429
  const _RDRe = "RegisterDomainResponse";
430
430
  const _RDRen = "RenewDomainRequest";
431
431
  const _RDRene = "RenewDomainResponse";
432
+ const _RDRes = "RestoreDomainRequest";
433
+ const _RDRest = "RestoreDomainResponse";
432
434
  const _RDTFAAA = "RejectDomainTransferFromAnotherAwsAccount";
433
435
  const _RDTFAAAR = "RejectDomainTransferFromAnotherAwsAccountRequest";
434
436
  const _RDTFAAARe = "RejectDomainTransferFromAnotherAwsAccountResponse";
435
437
  const _RDe = "RenewDomain";
438
+ const _RDes = "RestoreDomain";
436
439
  const _RN = "RegistrarName";
437
440
  const _ROA = "ResendOperationAuthorization";
438
441
  const _ROAR = "ResendOperationAuthorizationRequest";
@@ -906,6 +909,16 @@ var ResendOperationAuthorizationRequest$ = [3, n0, _ROAR,
906
909
  [_OI],
907
910
  [0], 1
908
911
  ];
912
+ var RestoreDomainRequest$ = [3, n0, _RDRes,
913
+ 0,
914
+ [_DN, _Co],
915
+ [0, () => Consent$], 1
916
+ ];
917
+ var RestoreDomainResponse$ = [3, n0, _RDRest,
918
+ 0,
919
+ [_OI],
920
+ [0]
921
+ ];
909
922
  var RetrieveDomainAuthCodeRequest$ = [3, n0, _RDACR,
910
923
  0,
911
924
  [_DN],
@@ -1109,6 +1122,9 @@ var ResendContactReachabilityEmail$ = [9, n0, _RCRE,
1109
1122
  var ResendOperationAuthorization$ = [9, n0, _ROA,
1110
1123
  0, () => ResendOperationAuthorizationRequest$, () => __Unit
1111
1124
  ];
1125
+ var RestoreDomain$ = [9, n0, _RDes,
1126
+ 0, () => RestoreDomainRequest$, () => RestoreDomainResponse$
1127
+ ];
1112
1128
  var RetrieveDomainAuthCode$ = [9, n0, _RDAC,
1113
1129
  0, () => RetrieveDomainAuthCodeRequest$, () => RetrieveDomainAuthCodeResponse$
1114
1130
  ];
@@ -1367,6 +1383,9 @@ class ResendContactReachabilityEmailCommand extends command(_ep0, _mw0, "ResendC
1367
1383
  class ResendOperationAuthorizationCommand extends command(_ep0, _mw0, "ResendOperationAuthorization", ResendOperationAuthorization$) {
1368
1384
  }
1369
1385
 
1386
+ class RestoreDomainCommand extends command(_ep0, _mw0, "RestoreDomain", RestoreDomain$) {
1387
+ }
1388
+
1370
1389
  class RetrieveDomainAuthCodeCommand extends command(_ep0, _mw0, "RetrieveDomainAuthCode", RetrieveDomainAuthCode$) {
1371
1390
  }
1372
1391
 
@@ -1427,6 +1446,7 @@ const commands = {
1427
1446
  RenewDomainCommand,
1428
1447
  ResendContactReachabilityEmailCommand,
1429
1448
  ResendOperationAuthorizationCommand,
1449
+ RestoreDomainCommand,
1430
1450
  RetrieveDomainAuthCodeCommand,
1431
1451
  TransferDomainCommand,
1432
1452
  TransferDomainToAnotherAwsAccountCommand,
@@ -1967,6 +1987,10 @@ exports.ResendContactReachabilityEmailResponse$ = ResendContactReachabilityEmail
1967
1987
  exports.ResendOperationAuthorization$ = ResendOperationAuthorization$;
1968
1988
  exports.ResendOperationAuthorizationCommand = ResendOperationAuthorizationCommand;
1969
1989
  exports.ResendOperationAuthorizationRequest$ = ResendOperationAuthorizationRequest$;
1990
+ exports.RestoreDomain$ = RestoreDomain$;
1991
+ exports.RestoreDomainCommand = RestoreDomainCommand;
1992
+ exports.RestoreDomainRequest$ = RestoreDomainRequest$;
1993
+ exports.RestoreDomainResponse$ = RestoreDomainResponse$;
1970
1994
  exports.RetrieveDomainAuthCode$ = RetrieveDomainAuthCode$;
1971
1995
  exports.RetrieveDomainAuthCodeCommand = RetrieveDomainAuthCodeCommand;
1972
1996
  exports.RetrieveDomainAuthCodeRequest$ = RetrieveDomainAuthCodeRequest$;
@@ -26,6 +26,7 @@ import { RejectDomainTransferFromAnotherAwsAccountCommand, } from "./commands/Re
26
26
  import { RenewDomainCommand, } from "./commands/RenewDomainCommand";
27
27
  import { ResendContactReachabilityEmailCommand, } from "./commands/ResendContactReachabilityEmailCommand";
28
28
  import { ResendOperationAuthorizationCommand, } from "./commands/ResendOperationAuthorizationCommand";
29
+ import { RestoreDomainCommand, } from "./commands/RestoreDomainCommand";
29
30
  import { RetrieveDomainAuthCodeCommand, } from "./commands/RetrieveDomainAuthCodeCommand";
30
31
  import { TransferDomainCommand, } from "./commands/TransferDomainCommand";
31
32
  import { TransferDomainToAnotherAwsAccountCommand, } from "./commands/TransferDomainToAnotherAwsAccountCommand";
@@ -67,6 +68,7 @@ const commands = {
67
68
  RenewDomainCommand,
68
69
  ResendContactReachabilityEmailCommand,
69
70
  ResendOperationAuthorizationCommand,
71
+ RestoreDomainCommand,
70
72
  RetrieveDomainAuthCodeCommand,
71
73
  TransferDomainCommand,
72
74
  TransferDomainToAnotherAwsAccountCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { RestoreDomain$ } from "../schemas/schemas_0";
3
+ export class RestoreDomainCommand extends command(_ep0, _mw0, "RestoreDomain", RestoreDomain$) {
4
+ }
@@ -25,6 +25,7 @@ export * from "./RejectDomainTransferFromAnotherAwsAccountCommand";
25
25
  export * from "./RenewDomainCommand";
26
26
  export * from "./ResendContactReachabilityEmailCommand";
27
27
  export * from "./ResendOperationAuthorizationCommand";
28
+ export * from "./RestoreDomainCommand";
28
29
  export * from "./RetrieveDomainAuthCodeCommand";
29
30
  export * from "./TransferDomainCommand";
30
31
  export * from "./TransferDomainToAnotherAwsAccountCommand";
@@ -179,10 +179,13 @@ const _RDR = "RegisterDomainRequest";
179
179
  const _RDRe = "RegisterDomainResponse";
180
180
  const _RDRen = "RenewDomainRequest";
181
181
  const _RDRene = "RenewDomainResponse";
182
+ const _RDRes = "RestoreDomainRequest";
183
+ const _RDRest = "RestoreDomainResponse";
182
184
  const _RDTFAAA = "RejectDomainTransferFromAnotherAwsAccount";
183
185
  const _RDTFAAAR = "RejectDomainTransferFromAnotherAwsAccountRequest";
184
186
  const _RDTFAAARe = "RejectDomainTransferFromAnotherAwsAccountResponse";
185
187
  const _RDe = "RenewDomain";
188
+ const _RDes = "RestoreDomain";
186
189
  const _RN = "RegistrarName";
187
190
  const _ROA = "ResendOperationAuthorization";
188
191
  const _ROAR = "ResendOperationAuthorizationRequest";
@@ -659,6 +662,16 @@ export var ResendOperationAuthorizationRequest$ = [3, n0, _ROAR,
659
662
  [_OI],
660
663
  [0], 1
661
664
  ];
665
+ export var RestoreDomainRequest$ = [3, n0, _RDRes,
666
+ 0,
667
+ [_DN, _Co],
668
+ [0, () => Consent$], 1
669
+ ];
670
+ export var RestoreDomainResponse$ = [3, n0, _RDRest,
671
+ 0,
672
+ [_OI],
673
+ [0]
674
+ ];
662
675
  export var RetrieveDomainAuthCodeRequest$ = [3, n0, _RDACR,
663
676
  0,
664
677
  [_DN],
@@ -868,6 +881,9 @@ export var ResendContactReachabilityEmail$ = [9, n0, _RCRE,
868
881
  export var ResendOperationAuthorization$ = [9, n0, _ROA,
869
882
  0, () => ResendOperationAuthorizationRequest$, () => __Unit
870
883
  ];
884
+ export var RestoreDomain$ = [9, n0, _RDes,
885
+ 0, () => RestoreDomainRequest$, () => RestoreDomainResponse$
886
+ ];
871
887
  export var RetrieveDomainAuthCode$ = [9, n0, _RDAC,
872
888
  0, () => RetrieveDomainAuthCodeRequest$, () => RetrieveDomainAuthCodeResponse$
873
889
  ];
@@ -26,6 +26,7 @@ import { type RejectDomainTransferFromAnotherAwsAccountCommandInput, type Reject
26
26
  import { type RenewDomainCommandInput, type RenewDomainCommandOutput } from "./commands/RenewDomainCommand";
27
27
  import { type ResendContactReachabilityEmailCommandInput, type ResendContactReachabilityEmailCommandOutput } from "./commands/ResendContactReachabilityEmailCommand";
28
28
  import { type ResendOperationAuthorizationCommandInput, type ResendOperationAuthorizationCommandOutput } from "./commands/ResendOperationAuthorizationCommand";
29
+ import { type RestoreDomainCommandInput, type RestoreDomainCommandOutput } from "./commands/RestoreDomainCommand";
29
30
  import { type RetrieveDomainAuthCodeCommandInput, type RetrieveDomainAuthCodeCommandOutput } from "./commands/RetrieveDomainAuthCodeCommand";
30
31
  import { type TransferDomainCommandInput, type TransferDomainCommandOutput } from "./commands/TransferDomainCommand";
31
32
  import { type TransferDomainToAnotherAwsAccountCommandInput, type TransferDomainToAnotherAwsAccountCommandOutput } from "./commands/TransferDomainToAnotherAwsAccountCommand";
@@ -209,6 +210,12 @@ export interface Route53Domains {
209
210
  resendOperationAuthorization(args: ResendOperationAuthorizationCommandInput, options?: Route53DomainsRequestOptions): Promise<ResendOperationAuthorizationCommandOutput>;
210
211
  resendOperationAuthorization(args: ResendOperationAuthorizationCommandInput, cb: (err: any, data?: ResendOperationAuthorizationCommandOutput) => void): void;
211
212
  resendOperationAuthorization(args: ResendOperationAuthorizationCommandInput, options: Route53DomainsRequestOptions, cb: (err: any, data?: ResendOperationAuthorizationCommandOutput) => void): void;
213
+ /**
214
+ * @see {@link RestoreDomainCommand}
215
+ */
216
+ restoreDomain(args: RestoreDomainCommandInput, options?: Route53DomainsRequestOptions): Promise<RestoreDomainCommandOutput>;
217
+ restoreDomain(args: RestoreDomainCommandInput, cb: (err: any, data?: RestoreDomainCommandOutput) => void): void;
218
+ restoreDomain(args: RestoreDomainCommandInput, options: Route53DomainsRequestOptions, cb: (err: any, data?: RestoreDomainCommandOutput) => void): void;
212
219
  /**
213
220
  * @see {@link RetrieveDomainAuthCodeCommand}
214
221
  */
@@ -33,6 +33,7 @@ import type { RejectDomainTransferFromAnotherAwsAccountCommandInput, RejectDomai
33
33
  import type { RenewDomainCommandInput, RenewDomainCommandOutput } from "./commands/RenewDomainCommand";
34
34
  import type { ResendContactReachabilityEmailCommandInput, ResendContactReachabilityEmailCommandOutput } from "./commands/ResendContactReachabilityEmailCommand";
35
35
  import type { ResendOperationAuthorizationCommandInput, ResendOperationAuthorizationCommandOutput } from "./commands/ResendOperationAuthorizationCommand";
36
+ import type { RestoreDomainCommandInput, RestoreDomainCommandOutput } from "./commands/RestoreDomainCommand";
36
37
  import type { RetrieveDomainAuthCodeCommandInput, RetrieveDomainAuthCodeCommandOutput } from "./commands/RetrieveDomainAuthCodeCommand";
37
38
  import type { TransferDomainCommandInput, TransferDomainCommandOutput } from "./commands/TransferDomainCommand";
38
39
  import type { TransferDomainToAnotherAwsAccountCommandInput, TransferDomainToAnotherAwsAccountCommandOutput } from "./commands/TransferDomainToAnotherAwsAccountCommand";
@@ -47,11 +48,11 @@ export { __Client };
47
48
  /**
48
49
  * @public
49
50
  */
50
- export type ServiceInputTypes = AcceptDomainTransferFromAnotherAwsAccountCommandInput | AssociateDelegationSignerToDomainCommandInput | CancelDomainTransferToAnotherAwsAccountCommandInput | CheckDomainAvailabilityCommandInput | CheckDomainTransferabilityCommandInput | DeleteDomainCommandInput | DeleteTagsForDomainCommandInput | DisableDomainAutoRenewCommandInput | DisableDomainTransferLockCommandInput | DisassociateDelegationSignerFromDomainCommandInput | EnableDomainAutoRenewCommandInput | EnableDomainTransferLockCommandInput | GetContactReachabilityStatusCommandInput | GetDomainDetailCommandInput | GetDomainPricesCommandInput | GetDomainSuggestionsCommandInput | GetOperationDetailCommandInput | ListDomainsCommandInput | ListOperationsCommandInput | ListPricesCommandInput | ListTagsForDomainCommandInput | PushDomainCommandInput | RegisterDomainCommandInput | RejectDomainTransferFromAnotherAwsAccountCommandInput | RenewDomainCommandInput | ResendContactReachabilityEmailCommandInput | ResendOperationAuthorizationCommandInput | RetrieveDomainAuthCodeCommandInput | TransferDomainCommandInput | TransferDomainToAnotherAwsAccountCommandInput | UpdateDomainContactCommandInput | UpdateDomainContactPrivacyCommandInput | UpdateDomainNameserversCommandInput | UpdateTagsForDomainCommandInput | ViewBillingCommandInput;
51
+ export type ServiceInputTypes = AcceptDomainTransferFromAnotherAwsAccountCommandInput | AssociateDelegationSignerToDomainCommandInput | CancelDomainTransferToAnotherAwsAccountCommandInput | CheckDomainAvailabilityCommandInput | CheckDomainTransferabilityCommandInput | DeleteDomainCommandInput | DeleteTagsForDomainCommandInput | DisableDomainAutoRenewCommandInput | DisableDomainTransferLockCommandInput | DisassociateDelegationSignerFromDomainCommandInput | EnableDomainAutoRenewCommandInput | EnableDomainTransferLockCommandInput | GetContactReachabilityStatusCommandInput | GetDomainDetailCommandInput | GetDomainPricesCommandInput | GetDomainSuggestionsCommandInput | GetOperationDetailCommandInput | ListDomainsCommandInput | ListOperationsCommandInput | ListPricesCommandInput | ListTagsForDomainCommandInput | PushDomainCommandInput | RegisterDomainCommandInput | RejectDomainTransferFromAnotherAwsAccountCommandInput | RenewDomainCommandInput | ResendContactReachabilityEmailCommandInput | ResendOperationAuthorizationCommandInput | RestoreDomainCommandInput | RetrieveDomainAuthCodeCommandInput | TransferDomainCommandInput | TransferDomainToAnotherAwsAccountCommandInput | UpdateDomainContactCommandInput | UpdateDomainContactPrivacyCommandInput | UpdateDomainNameserversCommandInput | UpdateTagsForDomainCommandInput | ViewBillingCommandInput;
51
52
  /**
52
53
  * @public
53
54
  */
54
- export type ServiceOutputTypes = AcceptDomainTransferFromAnotherAwsAccountCommandOutput | AssociateDelegationSignerToDomainCommandOutput | CancelDomainTransferToAnotherAwsAccountCommandOutput | CheckDomainAvailabilityCommandOutput | CheckDomainTransferabilityCommandOutput | DeleteDomainCommandOutput | DeleteTagsForDomainCommandOutput | DisableDomainAutoRenewCommandOutput | DisableDomainTransferLockCommandOutput | DisassociateDelegationSignerFromDomainCommandOutput | EnableDomainAutoRenewCommandOutput | EnableDomainTransferLockCommandOutput | GetContactReachabilityStatusCommandOutput | GetDomainDetailCommandOutput | GetDomainPricesCommandOutput | GetDomainSuggestionsCommandOutput | GetOperationDetailCommandOutput | ListDomainsCommandOutput | ListOperationsCommandOutput | ListPricesCommandOutput | ListTagsForDomainCommandOutput | PushDomainCommandOutput | RegisterDomainCommandOutput | RejectDomainTransferFromAnotherAwsAccountCommandOutput | RenewDomainCommandOutput | ResendContactReachabilityEmailCommandOutput | ResendOperationAuthorizationCommandOutput | RetrieveDomainAuthCodeCommandOutput | TransferDomainCommandOutput | TransferDomainToAnotherAwsAccountCommandOutput | UpdateDomainContactCommandOutput | UpdateDomainContactPrivacyCommandOutput | UpdateDomainNameserversCommandOutput | UpdateTagsForDomainCommandOutput | ViewBillingCommandOutput;
55
+ export type ServiceOutputTypes = AcceptDomainTransferFromAnotherAwsAccountCommandOutput | AssociateDelegationSignerToDomainCommandOutput | CancelDomainTransferToAnotherAwsAccountCommandOutput | CheckDomainAvailabilityCommandOutput | CheckDomainTransferabilityCommandOutput | DeleteDomainCommandOutput | DeleteTagsForDomainCommandOutput | DisableDomainAutoRenewCommandOutput | DisableDomainTransferLockCommandOutput | DisassociateDelegationSignerFromDomainCommandOutput | EnableDomainAutoRenewCommandOutput | EnableDomainTransferLockCommandOutput | GetContactReachabilityStatusCommandOutput | GetDomainDetailCommandOutput | GetDomainPricesCommandOutput | GetDomainSuggestionsCommandOutput | GetOperationDetailCommandOutput | ListDomainsCommandOutput | ListOperationsCommandOutput | ListPricesCommandOutput | ListTagsForDomainCommandOutput | PushDomainCommandOutput | RegisterDomainCommandOutput | RejectDomainTransferFromAnotherAwsAccountCommandOutput | RenewDomainCommandOutput | ResendContactReachabilityEmailCommandOutput | ResendOperationAuthorizationCommandOutput | RestoreDomainCommandOutput | RetrieveDomainAuthCodeCommandOutput | TransferDomainCommandOutput | TransferDomainToAnotherAwsAccountCommandOutput | UpdateDomainContactCommandOutput | UpdateDomainContactPrivacyCommandOutput | UpdateDomainNameserversCommandOutput | UpdateTagsForDomainCommandOutput | ViewBillingCommandOutput;
55
56
  /**
56
57
  * @public
57
58
  */
@@ -0,0 +1,108 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { RestoreDomainRequest, RestoreDomainResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link RestoreDomainCommand}.
11
+ */
12
+ export interface RestoreDomainCommandInput extends RestoreDomainRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link RestoreDomainCommand}.
18
+ */
19
+ export interface RestoreDomainCommandOutput extends RestoreDomainResponse, __MetadataBearer {
20
+ }
21
+ declare const RestoreDomainCommand_base: {
22
+ new (input: RestoreDomainCommandInput): import("@smithy/core/client").CommandImpl<RestoreDomainCommandInput, RestoreDomainCommandOutput, import("..").Route53DomainsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RestoreDomainCommandInput): import("@smithy/core/client").CommandImpl<RestoreDomainCommandInput, RestoreDomainCommandOutput, import("..").Route53DomainsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Restores a domain that has expired, or was deleted, before it becomes available
28
+ * for others to register. The cost of restoring your domain is billed to your Amazon Web Services account.</p>
29
+ * <p>Not every TLD registry supports restoring domains, and the period during which a
30
+ * domain can be restored varies by TLD. To find out whether your domain can be restored
31
+ * and the period during which you can restore it, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains that you can
32
+ * register with Amazon Route 53</a> in the <i>Amazon Route 53 Developer
33
+ * Guide</i>.</p>
34
+ * <important>
35
+ * <p>Restoring a domain typically costs more, and sometimes much more, than registering
36
+ * or renewing a domain. To get the restoration price for a domain before you restore
37
+ * it, use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetDomainPrices.html">GetDomainPrices</a>.</p>
38
+ * </important>
39
+ * <p>Restoration is asynchronous. The response includes an operation ID that you can use
40
+ * with <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a> to track the progress of the request. When the restoration
41
+ * succeeds, the domain reappears in the response to <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListDomains.html">ListDomains</a>.</p>
42
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-restore-expired.html">Restoring an
43
+ * expired or deleted domain</a> in the <i>Amazon Route 53 Developer
44
+ * Guide</i>.</p>
45
+ * @example
46
+ * Use a bare-bones client and the command you need to make an API call.
47
+ * ```javascript
48
+ * import { Route53DomainsClient, RestoreDomainCommand } from "@aws-sdk/client-route-53-domains"; // ES Modules import
49
+ * // const { Route53DomainsClient, RestoreDomainCommand } = require("@aws-sdk/client-route-53-domains"); // CommonJS import
50
+ * // import type { Route53DomainsClientConfig } from "@aws-sdk/client-route-53-domains";
51
+ * const config = {}; // type is Route53DomainsClientConfig
52
+ * const client = new Route53DomainsClient(config);
53
+ * const input = { // RestoreDomainRequest
54
+ * DomainName: "STRING_VALUE", // required
55
+ * Consent: { // Consent
56
+ * MaxPrice: Number("double"), // required
57
+ * Currency: "STRING_VALUE", // required
58
+ * },
59
+ * };
60
+ * const command = new RestoreDomainCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // RestoreDomainResponse
63
+ * // OperationId: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param RestoreDomainCommandInput - {@link RestoreDomainCommandInput}
69
+ * @returns {@link RestoreDomainCommandOutput}
70
+ * @see {@link RestoreDomainCommandInput} for command's `input` shape.
71
+ * @see {@link RestoreDomainCommandOutput} for command's `response` shape.
72
+ * @see {@link Route53DomainsClientResolvedConfig | config} for Route53DomainsClient's `config` shape.
73
+ *
74
+ * @throws {@link DuplicateRequest} (client fault)
75
+ * <p>The request is already in progress for the domain.</p>
76
+ *
77
+ * @throws {@link InvalidInput} (client fault)
78
+ * <p>The requested item is not acceptable. For example, for APIs that accept a domain name,
79
+ * the request might specify a domain name that doesn't belong to the account that
80
+ * submitted the request. For <code>AcceptDomainTransferFromAnotherAwsAccount</code>, the
81
+ * password might be invalid.</p>
82
+ *
83
+ * @throws {@link OperationLimitExceeded} (client fault)
84
+ * <p>The number of operations or jobs running exceeded the allowed threshold for the
85
+ * account.</p>
86
+ *
87
+ * @throws {@link UnsupportedTLD} (client fault)
88
+ * <p>Amazon Route 53 does not support this top-level domain (TLD).</p>
89
+ *
90
+ * @throws {@link Route53DomainsServiceException}
91
+ * <p>Base exception class for all service exceptions from Route53Domains service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class RestoreDomainCommand extends RestoreDomainCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: RestoreDomainRequest;
101
+ output: RestoreDomainResponse;
102
+ };
103
+ sdk: {
104
+ input: RestoreDomainCommandInput;
105
+ output: RestoreDomainCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -25,6 +25,7 @@ export * from "./RejectDomainTransferFromAnotherAwsAccountCommand";
25
25
  export * from "./RenewDomainCommand";
26
26
  export * from "./ResendContactReachabilityEmailCommand";
27
27
  export * from "./ResendOperationAuthorizationCommand";
28
+ export * from "./RestoreDomainCommand";
28
29
  export * from "./RetrieveDomainAuthCodeCommand";
29
30
  export * from "./TransferDomainCommand";
30
31
  export * from "./TransferDomainToAnotherAwsAccountCommand";
@@ -2906,6 +2906,39 @@ export interface ResendOperationAuthorizationRequest {
2906
2906
  */
2907
2907
  OperationId: string | undefined;
2908
2908
  }
2909
+ /**
2910
+ * <p>A <code>RestoreDomain</code> request includes the name of the domain that you want to
2911
+ * restore and, optionally, the maximum price that you agree to pay.</p>
2912
+ * @public
2913
+ */
2914
+ export interface RestoreDomainRequest {
2915
+ /**
2916
+ * <p>The name of the domain that you want to restore. The domain must have been registered
2917
+ * to the Amazon Web Services account that submits the request.</p>
2918
+ * @public
2919
+ */
2920
+ DomainName: string | undefined;
2921
+ /**
2922
+ * <p>Specifies the maximum price that you agree to pay to restore the domain name. This element is
2923
+ * required if the domain has registry premium pricing, and optional if the domain
2924
+ * is priced at the standard rate for its TLD. If you include it and the restoration
2925
+ * price is more than <code>MaxPrice</code>, the request fails.</p>
2926
+ * @public
2927
+ */
2928
+ Consent?: Consent | undefined;
2929
+ }
2930
+ /**
2931
+ * <p>The <code>RestoreDomain</code> response includes the following element.</p>
2932
+ * @public
2933
+ */
2934
+ export interface RestoreDomainResponse {
2935
+ /**
2936
+ * <p>Identifier for tracking the progress of the request. To query the operation status,
2937
+ * use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
2938
+ * @public
2939
+ */
2940
+ OperationId?: string | undefined;
2941
+ }
2909
2942
  /**
2910
2943
  * <p>A request for the authorization code for the specified domain. To transfer a domain to
2911
2944
  * another registrar, you provide this value to the new registrar.</p>
@@ -81,6 +81,8 @@ export declare var RenewDomainResponse$: StaticStructureSchema;
81
81
  export declare var ResendContactReachabilityEmailRequest$: StaticStructureSchema;
82
82
  export declare var ResendContactReachabilityEmailResponse$: StaticStructureSchema;
83
83
  export declare var ResendOperationAuthorizationRequest$: StaticStructureSchema;
84
+ export declare var RestoreDomainRequest$: StaticStructureSchema;
85
+ export declare var RestoreDomainResponse$: StaticStructureSchema;
84
86
  export declare var RetrieveDomainAuthCodeRequest$: StaticStructureSchema;
85
87
  export declare var RetrieveDomainAuthCodeResponse$: StaticStructureSchema;
86
88
  export declare var SortCondition$: StaticStructureSchema;
@@ -126,6 +128,7 @@ export declare var RejectDomainTransferFromAnotherAwsAccount$: StaticOperationSc
126
128
  export declare var RenewDomain$: StaticOperationSchema;
127
129
  export declare var ResendContactReachabilityEmail$: StaticOperationSchema;
128
130
  export declare var ResendOperationAuthorization$: StaticOperationSchema;
131
+ export declare var RestoreDomain$: StaticOperationSchema;
129
132
  export declare var RetrieveDomainAuthCode$: StaticOperationSchema;
130
133
  export declare var TransferDomain$: StaticOperationSchema;
131
134
  export declare var TransferDomainToAnotherAwsAccount$: StaticOperationSchema;
@@ -100,6 +100,10 @@ import {
100
100
  ResendOperationAuthorizationCommandInput,
101
101
  ResendOperationAuthorizationCommandOutput,
102
102
  } from "./commands/ResendOperationAuthorizationCommand";
103
+ import {
104
+ RestoreDomainCommandInput,
105
+ RestoreDomainCommandOutput,
106
+ } from "./commands/RestoreDomainCommand";
103
107
  import {
104
108
  RetrieveDomainAuthCodeCommandInput,
105
109
  RetrieveDomainAuthCodeCommandOutput,
@@ -490,6 +494,19 @@ export interface Route53Domains {
490
494
  options: Route53DomainsRequestOptions,
491
495
  cb: (err: any, data?: ResendOperationAuthorizationCommandOutput) => void,
492
496
  ): void;
497
+ restoreDomain(
498
+ args: RestoreDomainCommandInput,
499
+ options?: Route53DomainsRequestOptions,
500
+ ): Promise<RestoreDomainCommandOutput>;
501
+ restoreDomain(
502
+ args: RestoreDomainCommandInput,
503
+ cb: (err: any, data?: RestoreDomainCommandOutput) => void,
504
+ ): void;
505
+ restoreDomain(
506
+ args: RestoreDomainCommandInput,
507
+ options: Route53DomainsRequestOptions,
508
+ cb: (err: any, data?: RestoreDomainCommandOutput) => void,
509
+ ): void;
493
510
  retrieveDomainAuthCode(
494
511
  args: RetrieveDomainAuthCodeCommandInput,
495
512
  options?: Route53DomainsRequestOptions,
@@ -129,6 +129,10 @@ import {
129
129
  ResendOperationAuthorizationCommandInput,
130
130
  ResendOperationAuthorizationCommandOutput,
131
131
  } from "./commands/ResendOperationAuthorizationCommand";
132
+ import {
133
+ RestoreDomainCommandInput,
134
+ RestoreDomainCommandOutput,
135
+ } from "./commands/RestoreDomainCommand";
132
136
  import {
133
137
  RetrieveDomainAuthCodeCommandInput,
134
138
  RetrieveDomainAuthCodeCommandOutput,
@@ -193,6 +197,7 @@ export type ServiceInputTypes =
193
197
  | RenewDomainCommandInput
194
198
  | ResendContactReachabilityEmailCommandInput
195
199
  | ResendOperationAuthorizationCommandInput
200
+ | RestoreDomainCommandInput
196
201
  | RetrieveDomainAuthCodeCommandInput
197
202
  | TransferDomainCommandInput
198
203
  | TransferDomainToAnotherAwsAccountCommandInput
@@ -229,6 +234,7 @@ export type ServiceOutputTypes =
229
234
  | RenewDomainCommandOutput
230
235
  | ResendContactReachabilityEmailCommandOutput
231
236
  | ResendOperationAuthorizationCommandOutput
237
+ | RestoreDomainCommandOutput
232
238
  | RetrieveDomainAuthCodeCommandOutput
233
239
  | TransferDomainCommandOutput
234
240
  | TransferDomainToAnotherAwsAccountCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { RestoreDomainRequest, RestoreDomainResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface RestoreDomainCommandInput extends RestoreDomainRequest {}
5
+ export interface RestoreDomainCommandOutput extends RestoreDomainResponse, __MetadataBearer {}
6
+ declare const RestoreDomainCommand_base: {
7
+ new (
8
+ input: RestoreDomainCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ RestoreDomainCommandInput,
11
+ RestoreDomainCommandOutput,
12
+ import("..").Route53DomainsClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: RestoreDomainCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ RestoreDomainCommandInput,
20
+ RestoreDomainCommandOutput,
21
+ import("..").Route53DomainsClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class RestoreDomainCommand extends RestoreDomainCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: RestoreDomainRequest;
31
+ output: RestoreDomainResponse;
32
+ };
33
+ sdk: {
34
+ input: RestoreDomainCommandInput;
35
+ output: RestoreDomainCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -25,6 +25,7 @@ export * from "./RejectDomainTransferFromAnotherAwsAccountCommand";
25
25
  export * from "./RenewDomainCommand";
26
26
  export * from "./ResendContactReachabilityEmailCommand";
27
27
  export * from "./ResendOperationAuthorizationCommand";
28
+ export * from "./RestoreDomainCommand";
28
29
  export * from "./RetrieveDomainAuthCodeCommand";
29
30
  export * from "./TransferDomainCommand";
30
31
  export * from "./TransferDomainToAnotherAwsAccountCommand";
@@ -338,6 +338,13 @@ export interface ResendContactReachabilityEmailResponse {
338
338
  export interface ResendOperationAuthorizationRequest {
339
339
  OperationId: string | undefined;
340
340
  }
341
+ export interface RestoreDomainRequest {
342
+ DomainName: string | undefined;
343
+ Consent?: Consent | undefined;
344
+ }
345
+ export interface RestoreDomainResponse {
346
+ OperationId?: string | undefined;
347
+ }
341
348
  export interface RetrieveDomainAuthCodeRequest {
342
349
  DomainName: string | undefined;
343
350
  }
@@ -76,6 +76,8 @@ export declare var RenewDomainResponse$: StaticStructureSchema;
76
76
  export declare var ResendContactReachabilityEmailRequest$: StaticStructureSchema;
77
77
  export declare var ResendContactReachabilityEmailResponse$: StaticStructureSchema;
78
78
  export declare var ResendOperationAuthorizationRequest$: StaticStructureSchema;
79
+ export declare var RestoreDomainRequest$: StaticStructureSchema;
80
+ export declare var RestoreDomainResponse$: StaticStructureSchema;
79
81
  export declare var RetrieveDomainAuthCodeRequest$: StaticStructureSchema;
80
82
  export declare var RetrieveDomainAuthCodeResponse$: StaticStructureSchema;
81
83
  export declare var SortCondition$: StaticStructureSchema;
@@ -121,6 +123,7 @@ export declare var RejectDomainTransferFromAnotherAwsAccount$: StaticOperationSc
121
123
  export declare var RenewDomain$: StaticOperationSchema;
122
124
  export declare var ResendContactReachabilityEmail$: StaticOperationSchema;
123
125
  export declare var ResendOperationAuthorization$: StaticOperationSchema;
126
+ export declare var RestoreDomain$: StaticOperationSchema;
124
127
  export declare var RetrieveDomainAuthCode$: StaticOperationSchema;
125
128
  export declare var TransferDomain$: StaticOperationSchema;
126
129
  export declare var TransferDomainToAnotherAwsAccount$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53-domains",
3
- "version": "3.1162.0",
3
+ "version": "3.1164.0",
4
4
  "description": "AWS SDK for JavaScript Route 53 Domains Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53-domains",
6
6
  "license": "Apache-2.0",
@@ -48,8 +48,8 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.980.0",
52
- "@aws-sdk/credential-provider-node": "^3.972.93",
51
+ "@aws-sdk/core": "^3.980.1",
52
+ "@aws-sdk/credential-provider-node": "^3.972.94",
53
53
  "@aws-sdk/types": "^3.975.0",
54
54
  "@smithy/core": "^3.38.0",
55
55
  "@smithy/fetch-http-handler": "^5.8.0",