@aws-sdk/client-route-53-domains 3.901.0 → 3.906.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +2227 -2361
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,2441 +1,2307 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AcceptDomainTransferFromAnotherAwsAccountCommand: () => AcceptDomainTransferFromAnotherAwsAccountCommand,
25
- AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog: () => AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog,
26
- AssociateDelegationSignerToDomainCommand: () => AssociateDelegationSignerToDomainCommand,
27
- CancelDomainTransferToAnotherAwsAccountCommand: () => CancelDomainTransferToAnotherAwsAccountCommand,
28
- CheckDomainAvailabilityCommand: () => CheckDomainAvailabilityCommand,
29
- CheckDomainTransferabilityCommand: () => CheckDomainTransferabilityCommand,
30
- CheckDomainTransferabilityRequestFilterSensitiveLog: () => CheckDomainTransferabilityRequestFilterSensitiveLog,
31
- ContactDetailFilterSensitiveLog: () => ContactDetailFilterSensitiveLog,
32
- ContactType: () => ContactType,
33
- CountryCode: () => CountryCode,
34
- DeleteDomainCommand: () => DeleteDomainCommand,
35
- DeleteTagsForDomainCommand: () => DeleteTagsForDomainCommand,
36
- DisableDomainAutoRenewCommand: () => DisableDomainAutoRenewCommand,
37
- DisableDomainTransferLockCommand: () => DisableDomainTransferLockCommand,
38
- DisassociateDelegationSignerFromDomainCommand: () => DisassociateDelegationSignerFromDomainCommand,
39
- DnssecLimitExceeded: () => DnssecLimitExceeded,
40
- DomainAvailability: () => DomainAvailability,
41
- DomainLimitExceeded: () => DomainLimitExceeded,
42
- DuplicateRequest: () => DuplicateRequest,
43
- EnableDomainAutoRenewCommand: () => EnableDomainAutoRenewCommand,
44
- EnableDomainTransferLockCommand: () => EnableDomainTransferLockCommand,
45
- ExtraParamFilterSensitiveLog: () => ExtraParamFilterSensitiveLog,
46
- ExtraParamName: () => ExtraParamName,
47
- GetContactReachabilityStatusCommand: () => GetContactReachabilityStatusCommand,
48
- GetDomainDetailCommand: () => GetDomainDetailCommand,
49
- GetDomainDetailResponseFilterSensitiveLog: () => GetDomainDetailResponseFilterSensitiveLog,
50
- GetDomainSuggestionsCommand: () => GetDomainSuggestionsCommand,
51
- GetOperationDetailCommand: () => GetOperationDetailCommand,
52
- InvalidInput: () => InvalidInput,
53
- ListDomainsAttributeName: () => ListDomainsAttributeName,
54
- ListDomainsCommand: () => ListDomainsCommand,
55
- ListOperationsCommand: () => ListOperationsCommand,
56
- ListOperationsSortAttributeName: () => ListOperationsSortAttributeName,
57
- ListPricesCommand: () => ListPricesCommand,
58
- ListTagsForDomainCommand: () => ListTagsForDomainCommand,
59
- OperationLimitExceeded: () => OperationLimitExceeded,
60
- OperationStatus: () => OperationStatus,
61
- OperationType: () => OperationType,
62
- Operator: () => Operator,
63
- PushDomainCommand: () => PushDomainCommand,
64
- ReachabilityStatus: () => ReachabilityStatus,
65
- RegisterDomainCommand: () => RegisterDomainCommand,
66
- RegisterDomainRequestFilterSensitiveLog: () => RegisterDomainRequestFilterSensitiveLog,
67
- RejectDomainTransferFromAnotherAwsAccountCommand: () => RejectDomainTransferFromAnotherAwsAccountCommand,
68
- RenewDomainCommand: () => RenewDomainCommand,
69
- ResendContactReachabilityEmailCommand: () => ResendContactReachabilityEmailCommand,
70
- ResendContactReachabilityEmailResponseFilterSensitiveLog: () => ResendContactReachabilityEmailResponseFilterSensitiveLog,
71
- ResendOperationAuthorizationCommand: () => ResendOperationAuthorizationCommand,
72
- RetrieveDomainAuthCodeCommand: () => RetrieveDomainAuthCodeCommand,
73
- RetrieveDomainAuthCodeResponseFilterSensitiveLog: () => RetrieveDomainAuthCodeResponseFilterSensitiveLog,
74
- Route53Domains: () => Route53Domains,
75
- Route53DomainsClient: () => Route53DomainsClient,
76
- Route53DomainsServiceException: () => Route53DomainsServiceException,
77
- SortOrder: () => SortOrder,
78
- StatusFlag: () => StatusFlag,
79
- TLDRulesViolation: () => TLDRulesViolation,
80
- TransferDomainCommand: () => TransferDomainCommand,
81
- TransferDomainRequestFilterSensitiveLog: () => TransferDomainRequestFilterSensitiveLog,
82
- TransferDomainToAnotherAwsAccountCommand: () => TransferDomainToAnotherAwsAccountCommand,
83
- TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog: () => TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog,
84
- Transferable: () => Transferable,
85
- UnsupportedTLD: () => UnsupportedTLD,
86
- UpdateDomainContactCommand: () => UpdateDomainContactCommand,
87
- UpdateDomainContactPrivacyCommand: () => UpdateDomainContactPrivacyCommand,
88
- UpdateDomainContactRequestFilterSensitiveLog: () => UpdateDomainContactRequestFilterSensitiveLog,
89
- UpdateDomainNameserversCommand: () => UpdateDomainNameserversCommand,
90
- UpdateDomainNameserversRequestFilterSensitiveLog: () => UpdateDomainNameserversRequestFilterSensitiveLog,
91
- UpdateTagsForDomainCommand: () => UpdateTagsForDomainCommand,
92
- ViewBillingCommand: () => ViewBillingCommand,
93
- __Client: () => import_smithy_client.Client,
94
- paginateListDomains: () => paginateListDomains,
95
- paginateListOperations: () => paginateListOperations,
96
- paginateListPrices: () => paginateListPrices,
97
- paginateViewBilling: () => paginateViewBilling
98
- });
99
- module.exports = __toCommonJS(index_exports);
100
-
101
- // src/Route53DomainsClient.ts
102
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
103
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
104
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
105
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
106
- var import_config_resolver = require("@smithy/config-resolver");
107
- var import_core = require("@smithy/core");
108
- var import_middleware_content_length = require("@smithy/middleware-content-length");
109
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
110
- var import_middleware_retry = require("@smithy/middleware-retry");
111
-
112
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
113
-
114
- // src/endpoint/EndpointParameters.ts
115
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
116
- return Object.assign(options, {
117
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
118
- useFipsEndpoint: options.useFipsEndpoint ?? false,
119
- defaultSigningName: "route53domains"
120
- });
121
- }, "resolveClientEndpointParameters");
122
- var commonParams = {
123
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
124
- Endpoint: { type: "builtInParams", name: "endpoint" },
125
- Region: { type: "builtInParams", name: "region" },
126
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "route53domains",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
127
32
  };
128
33
 
129
- // src/Route53DomainsClient.ts
130
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
131
72
 
132
- // src/runtimeExtensions.ts
133
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
134
- var import_protocol_http = require("@smithy/protocol-http");
135
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
136
78
 
137
- // src/auth/httpAuthExtensionConfiguration.ts
138
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
139
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
140
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
141
- let _credentials = runtimeConfig.credentials;
142
- return {
143
- setHttpAuthScheme(httpAuthScheme) {
144
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
145
- if (index === -1) {
146
- _httpAuthSchemes.push(httpAuthScheme);
147
- } else {
148
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
149
- }
150
- },
151
- httpAuthSchemes() {
152
- return _httpAuthSchemes;
153
- },
154
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
155
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
156
- },
157
- httpAuthSchemeProvider() {
158
- return _httpAuthSchemeProvider;
159
- },
160
- setCredentials(credentials) {
161
- _credentials = credentials;
162
- },
163
- credentials() {
164
- return _credentials;
79
+ class Route53DomainsClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultRoute53DomainsHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ }
108
+ destroy() {
109
+ super.destroy();
165
110
  }
166
- };
167
- }, "getHttpAuthExtensionConfiguration");
168
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
169
- return {
170
- httpAuthSchemes: config.httpAuthSchemes(),
171
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
172
- credentials: config.credentials()
173
- };
174
- }, "resolveHttpAuthRuntimeConfig");
111
+ }
175
112
 
176
- // src/runtimeExtensions.ts
177
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
178
- const extensionConfiguration = Object.assign(
179
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
180
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
181
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
182
- getHttpAuthExtensionConfiguration(runtimeConfig)
183
- );
184
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
185
- return Object.assign(
186
- runtimeConfig,
187
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
188
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
189
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
190
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
191
- );
192
- }, "resolveRuntimeExtensions");
113
+ class Route53DomainsServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, Route53DomainsServiceException.prototype);
117
+ }
118
+ }
193
119
 
194
- // src/Route53DomainsClient.ts
195
- var Route53DomainsClient = class extends import_smithy_client.Client {
196
- static {
197
- __name(this, "Route53DomainsClient");
198
- }
199
- /**
200
- * The resolved configuration of Route53DomainsClient class. This is resolved and normalized from the {@link Route53DomainsClientConfig | constructor configuration interface}.
201
- */
202
- config;
203
- constructor(...[configuration]) {
204
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
205
- super(_config_0);
206
- this.initConfig = _config_0;
207
- const _config_1 = resolveClientEndpointParameters(_config_0);
208
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
209
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
210
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
211
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
212
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
213
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
214
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
215
- this.config = _config_8;
216
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
217
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
218
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
219
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
220
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
221
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
222
- this.middlewareStack.use(
223
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
224
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRoute53DomainsHttpAuthSchemeParametersProvider,
225
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
226
- "aws.auth#sigv4": config.credentials
227
- }), "identityProviderConfigProvider")
228
- })
229
- );
230
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
231
- }
232
- /**
233
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
234
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
235
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
236
- */
237
- destroy() {
238
- super.destroy();
239
- }
120
+ class DomainLimitExceeded extends Route53DomainsServiceException {
121
+ name = "DomainLimitExceeded";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "DomainLimitExceeded",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, DomainLimitExceeded.prototype);
130
+ }
131
+ }
132
+ class InvalidInput extends Route53DomainsServiceException {
133
+ name = "InvalidInput";
134
+ $fault = "client";
135
+ constructor(opts) {
136
+ super({
137
+ name: "InvalidInput",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, InvalidInput.prototype);
142
+ }
143
+ }
144
+ class OperationLimitExceeded extends Route53DomainsServiceException {
145
+ name = "OperationLimitExceeded";
146
+ $fault = "client";
147
+ constructor(opts) {
148
+ super({
149
+ name: "OperationLimitExceeded",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ Object.setPrototypeOf(this, OperationLimitExceeded.prototype);
154
+ }
155
+ }
156
+ class UnsupportedTLD extends Route53DomainsServiceException {
157
+ name = "UnsupportedTLD";
158
+ $fault = "client";
159
+ constructor(opts) {
160
+ super({
161
+ name: "UnsupportedTLD",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, UnsupportedTLD.prototype);
166
+ }
167
+ }
168
+ class DnssecLimitExceeded extends Route53DomainsServiceException {
169
+ name = "DnssecLimitExceeded";
170
+ $fault = "client";
171
+ constructor(opts) {
172
+ super({
173
+ name: "DnssecLimitExceeded",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, DnssecLimitExceeded.prototype);
178
+ }
179
+ }
180
+ class DuplicateRequest extends Route53DomainsServiceException {
181
+ name = "DuplicateRequest";
182
+ $fault = "client";
183
+ requestId;
184
+ constructor(opts) {
185
+ super({
186
+ name: "DuplicateRequest",
187
+ $fault: "client",
188
+ ...opts,
189
+ });
190
+ Object.setPrototypeOf(this, DuplicateRequest.prototype);
191
+ this.requestId = opts.requestId;
192
+ }
193
+ }
194
+ class TLDRulesViolation extends Route53DomainsServiceException {
195
+ name = "TLDRulesViolation";
196
+ $fault = "client";
197
+ constructor(opts) {
198
+ super({
199
+ name: "TLDRulesViolation",
200
+ $fault: "client",
201
+ ...opts,
202
+ });
203
+ Object.setPrototypeOf(this, TLDRulesViolation.prototype);
204
+ }
205
+ }
206
+ const OperationType = {
207
+ ADD_DNSSEC: "ADD_DNSSEC",
208
+ CHANGE_DOMAIN_OWNER: "CHANGE_DOMAIN_OWNER",
209
+ CHANGE_PRIVACY_PROTECTION: "CHANGE_PRIVACY_PROTECTION",
210
+ DELETE_DOMAIN: "DELETE_DOMAIN",
211
+ DISABLE_AUTORENEW: "DISABLE_AUTORENEW",
212
+ DOMAIN_LOCK: "DOMAIN_LOCK",
213
+ ENABLE_AUTORENEW: "ENABLE_AUTORENEW",
214
+ EXPIRE_DOMAIN: "EXPIRE_DOMAIN",
215
+ INTERNAL_TRANSFER_IN_DOMAIN: "INTERNAL_TRANSFER_IN_DOMAIN",
216
+ INTERNAL_TRANSFER_OUT_DOMAIN: "INTERNAL_TRANSFER_OUT_DOMAIN",
217
+ PUSH_DOMAIN: "PUSH_DOMAIN",
218
+ REGISTER_DOMAIN: "REGISTER_DOMAIN",
219
+ RELEASE_TO_GANDI: "RELEASE_TO_GANDI",
220
+ REMOVE_DNSSEC: "REMOVE_DNSSEC",
221
+ RENEW_DOMAIN: "RENEW_DOMAIN",
222
+ RESTORE_DOMAIN: "RESTORE_DOMAIN",
223
+ TRANSFER_IN_DOMAIN: "TRANSFER_IN_DOMAIN",
224
+ TRANSFER_ON_RENEW: "TRANSFER_ON_RENEW",
225
+ TRANSFER_OUT_DOMAIN: "TRANSFER_OUT_DOMAIN",
226
+ UPDATE_DOMAIN_CONTACT: "UPDATE_DOMAIN_CONTACT",
227
+ UPDATE_NAMESERVER: "UPDATE_NAMESERVER",
240
228
  };
241
-
242
- // src/Route53Domains.ts
243
-
244
-
245
- // src/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts
246
-
247
- var import_middleware_serde = require("@smithy/middleware-serde");
248
-
249
-
250
- // src/models/models_0.ts
251
-
252
-
253
- // src/models/Route53DomainsServiceException.ts
254
-
255
- var Route53DomainsServiceException = class _Route53DomainsServiceException extends import_smithy_client.ServiceException {
256
- static {
257
- __name(this, "Route53DomainsServiceException");
258
- }
259
- /**
260
- * @internal
261
- */
262
- constructor(options) {
263
- super(options);
264
- Object.setPrototypeOf(this, _Route53DomainsServiceException.prototype);
265
- }
229
+ const DomainAvailability = {
230
+ AVAILABLE: "AVAILABLE",
231
+ AVAILABLE_PREORDER: "AVAILABLE_PREORDER",
232
+ AVAILABLE_RESERVED: "AVAILABLE_RESERVED",
233
+ DONT_KNOW: "DONT_KNOW",
234
+ INVALID_NAME_FOR_TLD: "INVALID_NAME_FOR_TLD",
235
+ PENDING: "PENDING",
236
+ RESERVED: "RESERVED",
237
+ UNAVAILABLE: "UNAVAILABLE",
238
+ UNAVAILABLE_PREMIUM: "UNAVAILABLE_PREMIUM",
239
+ UNAVAILABLE_RESTRICTED: "UNAVAILABLE_RESTRICTED",
240
+ };
241
+ const Transferable = {
242
+ DOMAIN_IN_ANOTHER_ACCOUNT: "DOMAIN_IN_ANOTHER_ACCOUNT",
243
+ DOMAIN_IN_OWN_ACCOUNT: "DOMAIN_IN_OWN_ACCOUNT",
244
+ DONT_KNOW: "DONT_KNOW",
245
+ PREMIUM_DOMAIN: "PREMIUM_DOMAIN",
246
+ TRANSFERABLE: "TRANSFERABLE",
247
+ UNTRANSFERABLE: "UNTRANSFERABLE",
248
+ };
249
+ const ContactType = {
250
+ ASSOCIATION: "ASSOCIATION",
251
+ COMPANY: "COMPANY",
252
+ PERSON: "PERSON",
253
+ PUBLIC_BODY: "PUBLIC_BODY",
254
+ RESELLER: "RESELLER",
255
+ };
256
+ const CountryCode = {
257
+ AC: "AC",
258
+ AD: "AD",
259
+ AE: "AE",
260
+ AF: "AF",
261
+ AG: "AG",
262
+ AI: "AI",
263
+ AL: "AL",
264
+ AM: "AM",
265
+ AN: "AN",
266
+ AO: "AO",
267
+ AQ: "AQ",
268
+ AR: "AR",
269
+ AS: "AS",
270
+ AT: "AT",
271
+ AU: "AU",
272
+ AW: "AW",
273
+ AX: "AX",
274
+ AZ: "AZ",
275
+ BA: "BA",
276
+ BB: "BB",
277
+ BD: "BD",
278
+ BE: "BE",
279
+ BF: "BF",
280
+ BG: "BG",
281
+ BH: "BH",
282
+ BI: "BI",
283
+ BJ: "BJ",
284
+ BL: "BL",
285
+ BM: "BM",
286
+ BN: "BN",
287
+ BO: "BO",
288
+ BQ: "BQ",
289
+ BR: "BR",
290
+ BS: "BS",
291
+ BT: "BT",
292
+ BV: "BV",
293
+ BW: "BW",
294
+ BY: "BY",
295
+ BZ: "BZ",
296
+ CA: "CA",
297
+ CC: "CC",
298
+ CD: "CD",
299
+ CF: "CF",
300
+ CG: "CG",
301
+ CH: "CH",
302
+ CI: "CI",
303
+ CK: "CK",
304
+ CL: "CL",
305
+ CM: "CM",
306
+ CN: "CN",
307
+ CO: "CO",
308
+ CR: "CR",
309
+ CU: "CU",
310
+ CV: "CV",
311
+ CW: "CW",
312
+ CX: "CX",
313
+ CY: "CY",
314
+ CZ: "CZ",
315
+ DE: "DE",
316
+ DJ: "DJ",
317
+ DK: "DK",
318
+ DM: "DM",
319
+ DO: "DO",
320
+ DZ: "DZ",
321
+ EC: "EC",
322
+ EE: "EE",
323
+ EG: "EG",
324
+ EH: "EH",
325
+ ER: "ER",
326
+ ES: "ES",
327
+ ET: "ET",
328
+ FI: "FI",
329
+ FJ: "FJ",
330
+ FK: "FK",
331
+ FM: "FM",
332
+ FO: "FO",
333
+ FR: "FR",
334
+ GA: "GA",
335
+ GB: "GB",
336
+ GD: "GD",
337
+ GE: "GE",
338
+ GF: "GF",
339
+ GG: "GG",
340
+ GH: "GH",
341
+ GI: "GI",
342
+ GL: "GL",
343
+ GM: "GM",
344
+ GN: "GN",
345
+ GP: "GP",
346
+ GQ: "GQ",
347
+ GR: "GR",
348
+ GS: "GS",
349
+ GT: "GT",
350
+ GU: "GU",
351
+ GW: "GW",
352
+ GY: "GY",
353
+ HK: "HK",
354
+ HM: "HM",
355
+ HN: "HN",
356
+ HR: "HR",
357
+ HT: "HT",
358
+ HU: "HU",
359
+ ID: "ID",
360
+ IE: "IE",
361
+ IL: "IL",
362
+ IM: "IM",
363
+ IN: "IN",
364
+ IO: "IO",
365
+ IQ: "IQ",
366
+ IR: "IR",
367
+ IS: "IS",
368
+ IT: "IT",
369
+ JE: "JE",
370
+ JM: "JM",
371
+ JO: "JO",
372
+ JP: "JP",
373
+ KE: "KE",
374
+ KG: "KG",
375
+ KH: "KH",
376
+ KI: "KI",
377
+ KM: "KM",
378
+ KN: "KN",
379
+ KP: "KP",
380
+ KR: "KR",
381
+ KW: "KW",
382
+ KY: "KY",
383
+ KZ: "KZ",
384
+ LA: "LA",
385
+ LB: "LB",
386
+ LC: "LC",
387
+ LI: "LI",
388
+ LK: "LK",
389
+ LR: "LR",
390
+ LS: "LS",
391
+ LT: "LT",
392
+ LU: "LU",
393
+ LV: "LV",
394
+ LY: "LY",
395
+ MA: "MA",
396
+ MC: "MC",
397
+ MD: "MD",
398
+ ME: "ME",
399
+ MF: "MF",
400
+ MG: "MG",
401
+ MH: "MH",
402
+ MK: "MK",
403
+ ML: "ML",
404
+ MM: "MM",
405
+ MN: "MN",
406
+ MO: "MO",
407
+ MP: "MP",
408
+ MQ: "MQ",
409
+ MR: "MR",
410
+ MS: "MS",
411
+ MT: "MT",
412
+ MU: "MU",
413
+ MV: "MV",
414
+ MW: "MW",
415
+ MX: "MX",
416
+ MY: "MY",
417
+ MZ: "MZ",
418
+ NA: "NA",
419
+ NC: "NC",
420
+ NE: "NE",
421
+ NF: "NF",
422
+ NG: "NG",
423
+ NI: "NI",
424
+ NL: "NL",
425
+ NO: "NO",
426
+ NP: "NP",
427
+ NR: "NR",
428
+ NU: "NU",
429
+ NZ: "NZ",
430
+ OM: "OM",
431
+ PA: "PA",
432
+ PE: "PE",
433
+ PF: "PF",
434
+ PG: "PG",
435
+ PH: "PH",
436
+ PK: "PK",
437
+ PL: "PL",
438
+ PM: "PM",
439
+ PN: "PN",
440
+ PR: "PR",
441
+ PS: "PS",
442
+ PT: "PT",
443
+ PW: "PW",
444
+ PY: "PY",
445
+ QA: "QA",
446
+ RE: "RE",
447
+ RO: "RO",
448
+ RS: "RS",
449
+ RU: "RU",
450
+ RW: "RW",
451
+ SA: "SA",
452
+ SB: "SB",
453
+ SC: "SC",
454
+ SD: "SD",
455
+ SE: "SE",
456
+ SG: "SG",
457
+ SH: "SH",
458
+ SI: "SI",
459
+ SJ: "SJ",
460
+ SK: "SK",
461
+ SL: "SL",
462
+ SM: "SM",
463
+ SN: "SN",
464
+ SO: "SO",
465
+ SR: "SR",
466
+ SS: "SS",
467
+ ST: "ST",
468
+ SV: "SV",
469
+ SX: "SX",
470
+ SY: "SY",
471
+ SZ: "SZ",
472
+ TC: "TC",
473
+ TD: "TD",
474
+ TF: "TF",
475
+ TG: "TG",
476
+ TH: "TH",
477
+ TJ: "TJ",
478
+ TK: "TK",
479
+ TL: "TL",
480
+ TM: "TM",
481
+ TN: "TN",
482
+ TO: "TO",
483
+ TP: "TP",
484
+ TR: "TR",
485
+ TT: "TT",
486
+ TV: "TV",
487
+ TW: "TW",
488
+ TZ: "TZ",
489
+ UA: "UA",
490
+ UG: "UG",
491
+ US: "US",
492
+ UY: "UY",
493
+ UZ: "UZ",
494
+ VA: "VA",
495
+ VC: "VC",
496
+ VE: "VE",
497
+ VG: "VG",
498
+ VI: "VI",
499
+ VN: "VN",
500
+ VU: "VU",
501
+ WF: "WF",
502
+ WS: "WS",
503
+ YE: "YE",
504
+ YT: "YT",
505
+ ZA: "ZA",
506
+ ZM: "ZM",
507
+ ZW: "ZW",
508
+ };
509
+ const ExtraParamName = {
510
+ AU_ELIGIBILITY_TYPE: "AU_ELIGIBILITY_TYPE",
511
+ AU_ID_NUMBER: "AU_ID_NUMBER",
512
+ AU_ID_TYPE: "AU_ID_TYPE",
513
+ AU_POLICY_REASON: "AU_POLICY_REASON",
514
+ AU_PRIORITY_TOKEN: "AU_PRIORITY_TOKEN",
515
+ AU_REGISTRANT_NAME: "AU_REGISTRANT_NAME",
516
+ BIRTH_CITY: "BIRTH_CITY",
517
+ BIRTH_COUNTRY: "BIRTH_COUNTRY",
518
+ BIRTH_DATE_IN_YYYY_MM_DD: "BIRTH_DATE_IN_YYYY_MM_DD",
519
+ BIRTH_DEPARTMENT: "BIRTH_DEPARTMENT",
520
+ BRAND_NUMBER: "BRAND_NUMBER",
521
+ CA_BUSINESS_ENTITY_TYPE: "CA_BUSINESS_ENTITY_TYPE",
522
+ CA_LEGAL_REPRESENTATIVE: "CA_LEGAL_REPRESENTATIVE",
523
+ CA_LEGAL_REPRESENTATIVE_CAPACITY: "CA_LEGAL_REPRESENTATIVE_CAPACITY",
524
+ CA_LEGAL_TYPE: "CA_LEGAL_TYPE",
525
+ DOCUMENT_NUMBER: "DOCUMENT_NUMBER",
526
+ DUNS_NUMBER: "DUNS_NUMBER",
527
+ ES_IDENTIFICATION: "ES_IDENTIFICATION",
528
+ ES_IDENTIFICATION_TYPE: "ES_IDENTIFICATION_TYPE",
529
+ ES_LEGAL_FORM: "ES_LEGAL_FORM",
530
+ EU_COUNTRY_OF_CITIZENSHIP: "EU_COUNTRY_OF_CITIZENSHIP",
531
+ FI_BUSINESS_NUMBER: "FI_BUSINESS_NUMBER",
532
+ FI_NATIONALITY: "FI_NATIONALITY",
533
+ FI_ORGANIZATION_TYPE: "FI_ORGANIZATION_TYPE",
534
+ IT_NATIONALITY: "IT_NATIONALITY",
535
+ IT_PIN: "IT_PIN",
536
+ IT_REGISTRANT_ENTITY_TYPE: "IT_REGISTRANT_ENTITY_TYPE",
537
+ ONWER_FI_ID_NUMBER: "FI_ID_NUMBER",
538
+ RU_PASSPORT_DATA: "RU_PASSPORT_DATA",
539
+ SE_ID_NUMBER: "SE_ID_NUMBER",
540
+ SG_ID_NUMBER: "SG_ID_NUMBER",
541
+ UK_COMPANY_NUMBER: "UK_COMPANY_NUMBER",
542
+ UK_CONTACT_TYPE: "UK_CONTACT_TYPE",
543
+ VAT_NUMBER: "VAT_NUMBER",
544
+ };
545
+ const ListDomainsAttributeName = {
546
+ DomainName: "DomainName",
547
+ Expiry: "Expiry",
548
+ };
549
+ const Operator = {
550
+ BEGINS_WITH: "BEGINS_WITH",
551
+ GE: "GE",
552
+ LE: "LE",
553
+ };
554
+ const ReachabilityStatus = {
555
+ DONE: "DONE",
556
+ EXPIRED: "EXPIRED",
557
+ PENDING: "PENDING",
266
558
  };
559
+ const OperationStatus = {
560
+ ERROR: "ERROR",
561
+ FAILED: "FAILED",
562
+ IN_PROGRESS: "IN_PROGRESS",
563
+ SUBMITTED: "SUBMITTED",
564
+ SUCCESSFUL: "SUCCESSFUL",
565
+ };
566
+ const StatusFlag = {
567
+ PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
568
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
569
+ PENDING_CUSTOMER_ACTION: "PENDING_CUSTOMER_ACTION",
570
+ PENDING_PAYMENT_VERIFICATION: "PENDING_PAYMENT_VERIFICATION",
571
+ PENDING_SUPPORT_CASE: "PENDING_SUPPORT_CASE",
572
+ };
573
+ const SortOrder = {
574
+ ASC: "ASC",
575
+ DESC: "DESC",
576
+ };
577
+ const ListOperationsSortAttributeName = {
578
+ SubmittedDate: "SubmittedDate",
579
+ };
580
+ const AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog = (obj) => ({
581
+ ...obj,
582
+ ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
583
+ });
584
+ const CheckDomainTransferabilityRequestFilterSensitiveLog = (obj) => ({
585
+ ...obj,
586
+ ...(obj.AuthCode && { AuthCode: smithyClient.SENSITIVE_STRING }),
587
+ });
588
+ const ExtraParamFilterSensitiveLog = (obj) => ({
589
+ ...obj,
590
+ ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
591
+ });
592
+ const ContactDetailFilterSensitiveLog = (obj) => ({
593
+ ...obj,
594
+ ...(obj.FirstName && { FirstName: smithyClient.SENSITIVE_STRING }),
595
+ ...(obj.LastName && { LastName: smithyClient.SENSITIVE_STRING }),
596
+ ...(obj.OrganizationName && { OrganizationName: smithyClient.SENSITIVE_STRING }),
597
+ ...(obj.AddressLine1 && { AddressLine1: smithyClient.SENSITIVE_STRING }),
598
+ ...(obj.AddressLine2 && { AddressLine2: smithyClient.SENSITIVE_STRING }),
599
+ ...(obj.City && { City: smithyClient.SENSITIVE_STRING }),
600
+ ...(obj.State && { State: smithyClient.SENSITIVE_STRING }),
601
+ ...(obj.CountryCode && { CountryCode: smithyClient.SENSITIVE_STRING }),
602
+ ...(obj.ZipCode && { ZipCode: smithyClient.SENSITIVE_STRING }),
603
+ ...(obj.PhoneNumber && { PhoneNumber: smithyClient.SENSITIVE_STRING }),
604
+ ...(obj.Email && { Email: smithyClient.SENSITIVE_STRING }),
605
+ ...(obj.Fax && { Fax: smithyClient.SENSITIVE_STRING }),
606
+ ...(obj.ExtraParams && { ExtraParams: obj.ExtraParams.map((item) => ExtraParamFilterSensitiveLog(item)) }),
607
+ });
608
+ const GetDomainDetailResponseFilterSensitiveLog = (obj) => ({
609
+ ...obj,
610
+ ...(obj.AdminContact && { AdminContact: smithyClient.SENSITIVE_STRING }),
611
+ ...(obj.RegistrantContact && { RegistrantContact: smithyClient.SENSITIVE_STRING }),
612
+ ...(obj.TechContact && { TechContact: smithyClient.SENSITIVE_STRING }),
613
+ ...(obj.AbuseContactEmail && { AbuseContactEmail: smithyClient.SENSITIVE_STRING }),
614
+ ...(obj.AbuseContactPhone && { AbuseContactPhone: smithyClient.SENSITIVE_STRING }),
615
+ ...(obj.BillingContact && { BillingContact: smithyClient.SENSITIVE_STRING }),
616
+ });
617
+ const RegisterDomainRequestFilterSensitiveLog = (obj) => ({
618
+ ...obj,
619
+ ...(obj.AdminContact && { AdminContact: smithyClient.SENSITIVE_STRING }),
620
+ ...(obj.RegistrantContact && { RegistrantContact: smithyClient.SENSITIVE_STRING }),
621
+ ...(obj.TechContact && { TechContact: smithyClient.SENSITIVE_STRING }),
622
+ ...(obj.BillingContact && { BillingContact: smithyClient.SENSITIVE_STRING }),
623
+ });
624
+ const ResendContactReachabilityEmailResponseFilterSensitiveLog = (obj) => ({
625
+ ...obj,
626
+ ...(obj.emailAddress && { emailAddress: smithyClient.SENSITIVE_STRING }),
627
+ });
628
+ const RetrieveDomainAuthCodeResponseFilterSensitiveLog = (obj) => ({
629
+ ...obj,
630
+ ...(obj.AuthCode && { AuthCode: smithyClient.SENSITIVE_STRING }),
631
+ });
632
+ const TransferDomainRequestFilterSensitiveLog = (obj) => ({
633
+ ...obj,
634
+ ...(obj.AuthCode && { AuthCode: smithyClient.SENSITIVE_STRING }),
635
+ ...(obj.AdminContact && { AdminContact: smithyClient.SENSITIVE_STRING }),
636
+ ...(obj.RegistrantContact && { RegistrantContact: smithyClient.SENSITIVE_STRING }),
637
+ ...(obj.TechContact && { TechContact: smithyClient.SENSITIVE_STRING }),
638
+ ...(obj.BillingContact && { BillingContact: smithyClient.SENSITIVE_STRING }),
639
+ });
640
+ const TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog = (obj) => ({
641
+ ...obj,
642
+ ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
643
+ });
644
+ const UpdateDomainContactRequestFilterSensitiveLog = (obj) => ({
645
+ ...obj,
646
+ ...(obj.AdminContact && { AdminContact: smithyClient.SENSITIVE_STRING }),
647
+ ...(obj.RegistrantContact && { RegistrantContact: smithyClient.SENSITIVE_STRING }),
648
+ ...(obj.TechContact && { TechContact: smithyClient.SENSITIVE_STRING }),
649
+ ...(obj.BillingContact && { BillingContact: smithyClient.SENSITIVE_STRING }),
650
+ });
651
+ const UpdateDomainNameserversRequestFilterSensitiveLog = (obj) => ({
652
+ ...obj,
653
+ ...(obj.FIAuthKey && { FIAuthKey: smithyClient.SENSITIVE_STRING }),
654
+ });
267
655
 
268
- // src/models/models_0.ts
269
- var DomainLimitExceeded = class _DomainLimitExceeded extends Route53DomainsServiceException {
270
- static {
271
- __name(this, "DomainLimitExceeded");
272
- }
273
- name = "DomainLimitExceeded";
274
- $fault = "client";
275
- /**
276
- * @internal
277
- */
278
- constructor(opts) {
279
- super({
280
- name: "DomainLimitExceeded",
281
- $fault: "client",
282
- ...opts
283
- });
284
- Object.setPrototypeOf(this, _DomainLimitExceeded.prototype);
285
- }
286
- };
287
- var InvalidInput = class _InvalidInput extends Route53DomainsServiceException {
288
- static {
289
- __name(this, "InvalidInput");
290
- }
291
- name = "InvalidInput";
292
- $fault = "client";
293
- /**
294
- * @internal
295
- */
296
- constructor(opts) {
297
- super({
298
- name: "InvalidInput",
299
- $fault: "client",
300
- ...opts
301
- });
302
- Object.setPrototypeOf(this, _InvalidInput.prototype);
303
- }
304
- };
305
- var OperationLimitExceeded = class _OperationLimitExceeded extends Route53DomainsServiceException {
306
- static {
307
- __name(this, "OperationLimitExceeded");
308
- }
309
- name = "OperationLimitExceeded";
310
- $fault = "client";
311
- /**
312
- * @internal
313
- */
314
- constructor(opts) {
315
- super({
316
- name: "OperationLimitExceeded",
317
- $fault: "client",
318
- ...opts
319
- });
320
- Object.setPrototypeOf(this, _OperationLimitExceeded.prototype);
321
- }
322
- };
323
- var UnsupportedTLD = class _UnsupportedTLD extends Route53DomainsServiceException {
324
- static {
325
- __name(this, "UnsupportedTLD");
326
- }
327
- name = "UnsupportedTLD";
328
- $fault = "client";
329
- /**
330
- * @internal
331
- */
332
- constructor(opts) {
333
- super({
334
- name: "UnsupportedTLD",
335
- $fault: "client",
336
- ...opts
337
- });
338
- Object.setPrototypeOf(this, _UnsupportedTLD.prototype);
339
- }
340
- };
341
- var DnssecLimitExceeded = class _DnssecLimitExceeded extends Route53DomainsServiceException {
342
- static {
343
- __name(this, "DnssecLimitExceeded");
344
- }
345
- name = "DnssecLimitExceeded";
346
- $fault = "client";
347
- /**
348
- * @internal
349
- */
350
- constructor(opts) {
351
- super({
352
- name: "DnssecLimitExceeded",
353
- $fault: "client",
354
- ...opts
656
+ const se_AcceptDomainTransferFromAnotherAwsAccountCommand = async (input, context) => {
657
+ const headers = sharedHeaders("AcceptDomainTransferFromAnotherAwsAccount");
658
+ let body;
659
+ body = JSON.stringify(smithyClient._json(input));
660
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
661
+ };
662
+ const se_AssociateDelegationSignerToDomainCommand = async (input, context) => {
663
+ const headers = sharedHeaders("AssociateDelegationSignerToDomain");
664
+ let body;
665
+ body = JSON.stringify(smithyClient._json(input));
666
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
667
+ };
668
+ const se_CancelDomainTransferToAnotherAwsAccountCommand = async (input, context) => {
669
+ const headers = sharedHeaders("CancelDomainTransferToAnotherAwsAccount");
670
+ let body;
671
+ body = JSON.stringify(smithyClient._json(input));
672
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
673
+ };
674
+ const se_CheckDomainAvailabilityCommand = async (input, context) => {
675
+ const headers = sharedHeaders("CheckDomainAvailability");
676
+ let body;
677
+ body = JSON.stringify(smithyClient._json(input));
678
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
679
+ };
680
+ const se_CheckDomainTransferabilityCommand = async (input, context) => {
681
+ const headers = sharedHeaders("CheckDomainTransferability");
682
+ let body;
683
+ body = JSON.stringify(smithyClient._json(input));
684
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
685
+ };
686
+ const se_DeleteDomainCommand = async (input, context) => {
687
+ const headers = sharedHeaders("DeleteDomain");
688
+ let body;
689
+ body = JSON.stringify(smithyClient._json(input));
690
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
691
+ };
692
+ const se_DeleteTagsForDomainCommand = async (input, context) => {
693
+ const headers = sharedHeaders("DeleteTagsForDomain");
694
+ let body;
695
+ body = JSON.stringify(smithyClient._json(input));
696
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
697
+ };
698
+ const se_DisableDomainAutoRenewCommand = async (input, context) => {
699
+ const headers = sharedHeaders("DisableDomainAutoRenew");
700
+ let body;
701
+ body = JSON.stringify(smithyClient._json(input));
702
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
703
+ };
704
+ const se_DisableDomainTransferLockCommand = async (input, context) => {
705
+ const headers = sharedHeaders("DisableDomainTransferLock");
706
+ let body;
707
+ body = JSON.stringify(smithyClient._json(input));
708
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
709
+ };
710
+ const se_DisassociateDelegationSignerFromDomainCommand = async (input, context) => {
711
+ const headers = sharedHeaders("DisassociateDelegationSignerFromDomain");
712
+ let body;
713
+ body = JSON.stringify(smithyClient._json(input));
714
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
715
+ };
716
+ const se_EnableDomainAutoRenewCommand = async (input, context) => {
717
+ const headers = sharedHeaders("EnableDomainAutoRenew");
718
+ let body;
719
+ body = JSON.stringify(smithyClient._json(input));
720
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
721
+ };
722
+ const se_EnableDomainTransferLockCommand = async (input, context) => {
723
+ const headers = sharedHeaders("EnableDomainTransferLock");
724
+ let body;
725
+ body = JSON.stringify(smithyClient._json(input));
726
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
727
+ };
728
+ const se_GetContactReachabilityStatusCommand = async (input, context) => {
729
+ const headers = sharedHeaders("GetContactReachabilityStatus");
730
+ let body;
731
+ body = JSON.stringify(smithyClient._json(input));
732
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
733
+ };
734
+ const se_GetDomainDetailCommand = async (input, context) => {
735
+ const headers = sharedHeaders("GetDomainDetail");
736
+ let body;
737
+ body = JSON.stringify(smithyClient._json(input));
738
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
739
+ };
740
+ const se_GetDomainSuggestionsCommand = async (input, context) => {
741
+ const headers = sharedHeaders("GetDomainSuggestions");
742
+ let body;
743
+ body = JSON.stringify(smithyClient._json(input));
744
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
745
+ };
746
+ const se_GetOperationDetailCommand = async (input, context) => {
747
+ const headers = sharedHeaders("GetOperationDetail");
748
+ let body;
749
+ body = JSON.stringify(smithyClient._json(input));
750
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
751
+ };
752
+ const se_ListDomainsCommand = async (input, context) => {
753
+ const headers = sharedHeaders("ListDomains");
754
+ let body;
755
+ body = JSON.stringify(smithyClient._json(input));
756
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
757
+ };
758
+ const se_ListOperationsCommand = async (input, context) => {
759
+ const headers = sharedHeaders("ListOperations");
760
+ let body;
761
+ body = JSON.stringify(se_ListOperationsRequest(input));
762
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
763
+ };
764
+ const se_ListPricesCommand = async (input, context) => {
765
+ const headers = sharedHeaders("ListPrices");
766
+ let body;
767
+ body = JSON.stringify(smithyClient._json(input));
768
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
769
+ };
770
+ const se_ListTagsForDomainCommand = async (input, context) => {
771
+ const headers = sharedHeaders("ListTagsForDomain");
772
+ let body;
773
+ body = JSON.stringify(smithyClient._json(input));
774
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
775
+ };
776
+ const se_PushDomainCommand = async (input, context) => {
777
+ const headers = sharedHeaders("PushDomain");
778
+ let body;
779
+ body = JSON.stringify(smithyClient._json(input));
780
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
781
+ };
782
+ const se_RegisterDomainCommand = async (input, context) => {
783
+ const headers = sharedHeaders("RegisterDomain");
784
+ let body;
785
+ body = JSON.stringify(smithyClient._json(input));
786
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
787
+ };
788
+ const se_RejectDomainTransferFromAnotherAwsAccountCommand = async (input, context) => {
789
+ const headers = sharedHeaders("RejectDomainTransferFromAnotherAwsAccount");
790
+ let body;
791
+ body = JSON.stringify(smithyClient._json(input));
792
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
793
+ };
794
+ const se_RenewDomainCommand = async (input, context) => {
795
+ const headers = sharedHeaders("RenewDomain");
796
+ let body;
797
+ body = JSON.stringify(smithyClient._json(input));
798
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
799
+ };
800
+ const se_ResendContactReachabilityEmailCommand = async (input, context) => {
801
+ const headers = sharedHeaders("ResendContactReachabilityEmail");
802
+ let body;
803
+ body = JSON.stringify(smithyClient._json(input));
804
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
805
+ };
806
+ const se_ResendOperationAuthorizationCommand = async (input, context) => {
807
+ const headers = sharedHeaders("ResendOperationAuthorization");
808
+ let body;
809
+ body = JSON.stringify(smithyClient._json(input));
810
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
811
+ };
812
+ const se_RetrieveDomainAuthCodeCommand = async (input, context) => {
813
+ const headers = sharedHeaders("RetrieveDomainAuthCode");
814
+ let body;
815
+ body = JSON.stringify(smithyClient._json(input));
816
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
817
+ };
818
+ const se_TransferDomainCommand = async (input, context) => {
819
+ const headers = sharedHeaders("TransferDomain");
820
+ let body;
821
+ body = JSON.stringify(smithyClient._json(input));
822
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
823
+ };
824
+ const se_TransferDomainToAnotherAwsAccountCommand = async (input, context) => {
825
+ const headers = sharedHeaders("TransferDomainToAnotherAwsAccount");
826
+ let body;
827
+ body = JSON.stringify(smithyClient._json(input));
828
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
829
+ };
830
+ const se_UpdateDomainContactCommand = async (input, context) => {
831
+ const headers = sharedHeaders("UpdateDomainContact");
832
+ let body;
833
+ body = JSON.stringify(se_UpdateDomainContactRequest(input));
834
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
835
+ };
836
+ const se_UpdateDomainContactPrivacyCommand = async (input, context) => {
837
+ const headers = sharedHeaders("UpdateDomainContactPrivacy");
838
+ let body;
839
+ body = JSON.stringify(smithyClient._json(input));
840
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
841
+ };
842
+ const se_UpdateDomainNameserversCommand = async (input, context) => {
843
+ const headers = sharedHeaders("UpdateDomainNameservers");
844
+ let body;
845
+ body = JSON.stringify(smithyClient._json(input));
846
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
847
+ };
848
+ const se_UpdateTagsForDomainCommand = async (input, context) => {
849
+ const headers = sharedHeaders("UpdateTagsForDomain");
850
+ let body;
851
+ body = JSON.stringify(smithyClient._json(input));
852
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
853
+ };
854
+ const se_ViewBillingCommand = async (input, context) => {
855
+ const headers = sharedHeaders("ViewBilling");
856
+ let body;
857
+ body = JSON.stringify(se_ViewBillingRequest(input));
858
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
859
+ };
860
+ const de_AcceptDomainTransferFromAnotherAwsAccountCommand = async (output, context) => {
861
+ if (output.statusCode >= 300) {
862
+ return de_CommandError(output, context);
863
+ }
864
+ const data = await core$1.parseJsonBody(output.body, context);
865
+ let contents = {};
866
+ contents = smithyClient._json(data);
867
+ const response = {
868
+ $metadata: deserializeMetadata(output),
869
+ ...contents,
870
+ };
871
+ return response;
872
+ };
873
+ const de_AssociateDelegationSignerToDomainCommand = async (output, context) => {
874
+ if (output.statusCode >= 300) {
875
+ return de_CommandError(output, context);
876
+ }
877
+ const data = await core$1.parseJsonBody(output.body, context);
878
+ let contents = {};
879
+ contents = smithyClient._json(data);
880
+ const response = {
881
+ $metadata: deserializeMetadata(output),
882
+ ...contents,
883
+ };
884
+ return response;
885
+ };
886
+ const de_CancelDomainTransferToAnotherAwsAccountCommand = async (output, context) => {
887
+ if (output.statusCode >= 300) {
888
+ return de_CommandError(output, context);
889
+ }
890
+ const data = await core$1.parseJsonBody(output.body, context);
891
+ let contents = {};
892
+ contents = smithyClient._json(data);
893
+ const response = {
894
+ $metadata: deserializeMetadata(output),
895
+ ...contents,
896
+ };
897
+ return response;
898
+ };
899
+ const de_CheckDomainAvailabilityCommand = async (output, context) => {
900
+ if (output.statusCode >= 300) {
901
+ return de_CommandError(output, context);
902
+ }
903
+ const data = await core$1.parseJsonBody(output.body, context);
904
+ let contents = {};
905
+ contents = smithyClient._json(data);
906
+ const response = {
907
+ $metadata: deserializeMetadata(output),
908
+ ...contents,
909
+ };
910
+ return response;
911
+ };
912
+ const de_CheckDomainTransferabilityCommand = async (output, context) => {
913
+ if (output.statusCode >= 300) {
914
+ return de_CommandError(output, context);
915
+ }
916
+ const data = await core$1.parseJsonBody(output.body, context);
917
+ let contents = {};
918
+ contents = smithyClient._json(data);
919
+ const response = {
920
+ $metadata: deserializeMetadata(output),
921
+ ...contents,
922
+ };
923
+ return response;
924
+ };
925
+ const de_DeleteDomainCommand = async (output, context) => {
926
+ if (output.statusCode >= 300) {
927
+ return de_CommandError(output, context);
928
+ }
929
+ const data = await core$1.parseJsonBody(output.body, context);
930
+ let contents = {};
931
+ contents = smithyClient._json(data);
932
+ const response = {
933
+ $metadata: deserializeMetadata(output),
934
+ ...contents,
935
+ };
936
+ return response;
937
+ };
938
+ const de_DeleteTagsForDomainCommand = async (output, context) => {
939
+ if (output.statusCode >= 300) {
940
+ return de_CommandError(output, context);
941
+ }
942
+ const data = await core$1.parseJsonBody(output.body, context);
943
+ let contents = {};
944
+ contents = smithyClient._json(data);
945
+ const response = {
946
+ $metadata: deserializeMetadata(output),
947
+ ...contents,
948
+ };
949
+ return response;
950
+ };
951
+ const de_DisableDomainAutoRenewCommand = async (output, context) => {
952
+ if (output.statusCode >= 300) {
953
+ return de_CommandError(output, context);
954
+ }
955
+ const data = await core$1.parseJsonBody(output.body, context);
956
+ let contents = {};
957
+ contents = smithyClient._json(data);
958
+ const response = {
959
+ $metadata: deserializeMetadata(output),
960
+ ...contents,
961
+ };
962
+ return response;
963
+ };
964
+ const de_DisableDomainTransferLockCommand = async (output, context) => {
965
+ if (output.statusCode >= 300) {
966
+ return de_CommandError(output, context);
967
+ }
968
+ const data = await core$1.parseJsonBody(output.body, context);
969
+ let contents = {};
970
+ contents = smithyClient._json(data);
971
+ const response = {
972
+ $metadata: deserializeMetadata(output),
973
+ ...contents,
974
+ };
975
+ return response;
976
+ };
977
+ const de_DisassociateDelegationSignerFromDomainCommand = async (output, context) => {
978
+ if (output.statusCode >= 300) {
979
+ return de_CommandError(output, context);
980
+ }
981
+ const data = await core$1.parseJsonBody(output.body, context);
982
+ let contents = {};
983
+ contents = smithyClient._json(data);
984
+ const response = {
985
+ $metadata: deserializeMetadata(output),
986
+ ...contents,
987
+ };
988
+ return response;
989
+ };
990
+ const de_EnableDomainAutoRenewCommand = async (output, context) => {
991
+ if (output.statusCode >= 300) {
992
+ return de_CommandError(output, context);
993
+ }
994
+ const data = await core$1.parseJsonBody(output.body, context);
995
+ let contents = {};
996
+ contents = smithyClient._json(data);
997
+ const response = {
998
+ $metadata: deserializeMetadata(output),
999
+ ...contents,
1000
+ };
1001
+ return response;
1002
+ };
1003
+ const de_EnableDomainTransferLockCommand = async (output, context) => {
1004
+ if (output.statusCode >= 300) {
1005
+ return de_CommandError(output, context);
1006
+ }
1007
+ const data = await core$1.parseJsonBody(output.body, context);
1008
+ let contents = {};
1009
+ contents = smithyClient._json(data);
1010
+ const response = {
1011
+ $metadata: deserializeMetadata(output),
1012
+ ...contents,
1013
+ };
1014
+ return response;
1015
+ };
1016
+ const de_GetContactReachabilityStatusCommand = async (output, context) => {
1017
+ if (output.statusCode >= 300) {
1018
+ return de_CommandError(output, context);
1019
+ }
1020
+ const data = await core$1.parseJsonBody(output.body, context);
1021
+ let contents = {};
1022
+ contents = smithyClient._json(data);
1023
+ const response = {
1024
+ $metadata: deserializeMetadata(output),
1025
+ ...contents,
1026
+ };
1027
+ return response;
1028
+ };
1029
+ const de_GetDomainDetailCommand = async (output, context) => {
1030
+ if (output.statusCode >= 300) {
1031
+ return de_CommandError(output, context);
1032
+ }
1033
+ const data = await core$1.parseJsonBody(output.body, context);
1034
+ let contents = {};
1035
+ contents = de_GetDomainDetailResponse(data);
1036
+ const response = {
1037
+ $metadata: deserializeMetadata(output),
1038
+ ...contents,
1039
+ };
1040
+ return response;
1041
+ };
1042
+ const de_GetDomainSuggestionsCommand = async (output, context) => {
1043
+ if (output.statusCode >= 300) {
1044
+ return de_CommandError(output, context);
1045
+ }
1046
+ const data = await core$1.parseJsonBody(output.body, context);
1047
+ let contents = {};
1048
+ contents = smithyClient._json(data);
1049
+ const response = {
1050
+ $metadata: deserializeMetadata(output),
1051
+ ...contents,
1052
+ };
1053
+ return response;
1054
+ };
1055
+ const de_GetOperationDetailCommand = async (output, context) => {
1056
+ if (output.statusCode >= 300) {
1057
+ return de_CommandError(output, context);
1058
+ }
1059
+ const data = await core$1.parseJsonBody(output.body, context);
1060
+ let contents = {};
1061
+ contents = de_GetOperationDetailResponse(data);
1062
+ const response = {
1063
+ $metadata: deserializeMetadata(output),
1064
+ ...contents,
1065
+ };
1066
+ return response;
1067
+ };
1068
+ const de_ListDomainsCommand = async (output, context) => {
1069
+ if (output.statusCode >= 300) {
1070
+ return de_CommandError(output, context);
1071
+ }
1072
+ const data = await core$1.parseJsonBody(output.body, context);
1073
+ let contents = {};
1074
+ contents = de_ListDomainsResponse(data);
1075
+ const response = {
1076
+ $metadata: deserializeMetadata(output),
1077
+ ...contents,
1078
+ };
1079
+ return response;
1080
+ };
1081
+ const de_ListOperationsCommand = async (output, context) => {
1082
+ if (output.statusCode >= 300) {
1083
+ return de_CommandError(output, context);
1084
+ }
1085
+ const data = await core$1.parseJsonBody(output.body, context);
1086
+ let contents = {};
1087
+ contents = de_ListOperationsResponse(data);
1088
+ const response = {
1089
+ $metadata: deserializeMetadata(output),
1090
+ ...contents,
1091
+ };
1092
+ return response;
1093
+ };
1094
+ const de_ListPricesCommand = async (output, context) => {
1095
+ if (output.statusCode >= 300) {
1096
+ return de_CommandError(output, context);
1097
+ }
1098
+ const data = await core$1.parseJsonBody(output.body, context);
1099
+ let contents = {};
1100
+ contents = de_ListPricesResponse(data);
1101
+ const response = {
1102
+ $metadata: deserializeMetadata(output),
1103
+ ...contents,
1104
+ };
1105
+ return response;
1106
+ };
1107
+ const de_ListTagsForDomainCommand = async (output, context) => {
1108
+ if (output.statusCode >= 300) {
1109
+ return de_CommandError(output, context);
1110
+ }
1111
+ const data = await core$1.parseJsonBody(output.body, context);
1112
+ let contents = {};
1113
+ contents = smithyClient._json(data);
1114
+ const response = {
1115
+ $metadata: deserializeMetadata(output),
1116
+ ...contents,
1117
+ };
1118
+ return response;
1119
+ };
1120
+ const de_PushDomainCommand = async (output, context) => {
1121
+ if (output.statusCode >= 300) {
1122
+ return de_CommandError(output, context);
1123
+ }
1124
+ await smithyClient.collectBody(output.body, context);
1125
+ const response = {
1126
+ $metadata: deserializeMetadata(output),
1127
+ };
1128
+ return response;
1129
+ };
1130
+ const de_RegisterDomainCommand = async (output, context) => {
1131
+ if (output.statusCode >= 300) {
1132
+ return de_CommandError(output, context);
1133
+ }
1134
+ const data = await core$1.parseJsonBody(output.body, context);
1135
+ let contents = {};
1136
+ contents = smithyClient._json(data);
1137
+ const response = {
1138
+ $metadata: deserializeMetadata(output),
1139
+ ...contents,
1140
+ };
1141
+ return response;
1142
+ };
1143
+ const de_RejectDomainTransferFromAnotherAwsAccountCommand = async (output, context) => {
1144
+ if (output.statusCode >= 300) {
1145
+ return de_CommandError(output, context);
1146
+ }
1147
+ const data = await core$1.parseJsonBody(output.body, context);
1148
+ let contents = {};
1149
+ contents = smithyClient._json(data);
1150
+ const response = {
1151
+ $metadata: deserializeMetadata(output),
1152
+ ...contents,
1153
+ };
1154
+ return response;
1155
+ };
1156
+ const de_RenewDomainCommand = async (output, context) => {
1157
+ if (output.statusCode >= 300) {
1158
+ return de_CommandError(output, context);
1159
+ }
1160
+ const data = await core$1.parseJsonBody(output.body, context);
1161
+ let contents = {};
1162
+ contents = smithyClient._json(data);
1163
+ const response = {
1164
+ $metadata: deserializeMetadata(output),
1165
+ ...contents,
1166
+ };
1167
+ return response;
1168
+ };
1169
+ const de_ResendContactReachabilityEmailCommand = async (output, context) => {
1170
+ if (output.statusCode >= 300) {
1171
+ return de_CommandError(output, context);
1172
+ }
1173
+ const data = await core$1.parseJsonBody(output.body, context);
1174
+ let contents = {};
1175
+ contents = smithyClient._json(data);
1176
+ const response = {
1177
+ $metadata: deserializeMetadata(output),
1178
+ ...contents,
1179
+ };
1180
+ return response;
1181
+ };
1182
+ const de_ResendOperationAuthorizationCommand = async (output, context) => {
1183
+ if (output.statusCode >= 300) {
1184
+ return de_CommandError(output, context);
1185
+ }
1186
+ await smithyClient.collectBody(output.body, context);
1187
+ const response = {
1188
+ $metadata: deserializeMetadata(output),
1189
+ };
1190
+ return response;
1191
+ };
1192
+ const de_RetrieveDomainAuthCodeCommand = async (output, context) => {
1193
+ if (output.statusCode >= 300) {
1194
+ return de_CommandError(output, context);
1195
+ }
1196
+ const data = await core$1.parseJsonBody(output.body, context);
1197
+ let contents = {};
1198
+ contents = smithyClient._json(data);
1199
+ const response = {
1200
+ $metadata: deserializeMetadata(output),
1201
+ ...contents,
1202
+ };
1203
+ return response;
1204
+ };
1205
+ const de_TransferDomainCommand = async (output, context) => {
1206
+ if (output.statusCode >= 300) {
1207
+ return de_CommandError(output, context);
1208
+ }
1209
+ const data = await core$1.parseJsonBody(output.body, context);
1210
+ let contents = {};
1211
+ contents = smithyClient._json(data);
1212
+ const response = {
1213
+ $metadata: deserializeMetadata(output),
1214
+ ...contents,
1215
+ };
1216
+ return response;
1217
+ };
1218
+ const de_TransferDomainToAnotherAwsAccountCommand = async (output, context) => {
1219
+ if (output.statusCode >= 300) {
1220
+ return de_CommandError(output, context);
1221
+ }
1222
+ const data = await core$1.parseJsonBody(output.body, context);
1223
+ let contents = {};
1224
+ contents = smithyClient._json(data);
1225
+ const response = {
1226
+ $metadata: deserializeMetadata(output),
1227
+ ...contents,
1228
+ };
1229
+ return response;
1230
+ };
1231
+ const de_UpdateDomainContactCommand = async (output, context) => {
1232
+ if (output.statusCode >= 300) {
1233
+ return de_CommandError(output, context);
1234
+ }
1235
+ const data = await core$1.parseJsonBody(output.body, context);
1236
+ let contents = {};
1237
+ contents = smithyClient._json(data);
1238
+ const response = {
1239
+ $metadata: deserializeMetadata(output),
1240
+ ...contents,
1241
+ };
1242
+ return response;
1243
+ };
1244
+ const de_UpdateDomainContactPrivacyCommand = async (output, context) => {
1245
+ if (output.statusCode >= 300) {
1246
+ return de_CommandError(output, context);
1247
+ }
1248
+ const data = await core$1.parseJsonBody(output.body, context);
1249
+ let contents = {};
1250
+ contents = smithyClient._json(data);
1251
+ const response = {
1252
+ $metadata: deserializeMetadata(output),
1253
+ ...contents,
1254
+ };
1255
+ return response;
1256
+ };
1257
+ const de_UpdateDomainNameserversCommand = async (output, context) => {
1258
+ if (output.statusCode >= 300) {
1259
+ return de_CommandError(output, context);
1260
+ }
1261
+ const data = await core$1.parseJsonBody(output.body, context);
1262
+ let contents = {};
1263
+ contents = smithyClient._json(data);
1264
+ const response = {
1265
+ $metadata: deserializeMetadata(output),
1266
+ ...contents,
1267
+ };
1268
+ return response;
1269
+ };
1270
+ const de_UpdateTagsForDomainCommand = async (output, context) => {
1271
+ if (output.statusCode >= 300) {
1272
+ return de_CommandError(output, context);
1273
+ }
1274
+ const data = await core$1.parseJsonBody(output.body, context);
1275
+ let contents = {};
1276
+ contents = smithyClient._json(data);
1277
+ const response = {
1278
+ $metadata: deserializeMetadata(output),
1279
+ ...contents,
1280
+ };
1281
+ return response;
1282
+ };
1283
+ const de_ViewBillingCommand = async (output, context) => {
1284
+ if (output.statusCode >= 300) {
1285
+ return de_CommandError(output, context);
1286
+ }
1287
+ const data = await core$1.parseJsonBody(output.body, context);
1288
+ let contents = {};
1289
+ contents = de_ViewBillingResponse(data);
1290
+ const response = {
1291
+ $metadata: deserializeMetadata(output),
1292
+ ...contents,
1293
+ };
1294
+ return response;
1295
+ };
1296
+ const de_CommandError = async (output, context) => {
1297
+ const parsedOutput = {
1298
+ ...output,
1299
+ body: await core$1.parseJsonErrorBody(output.body, context),
1300
+ };
1301
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1302
+ switch (errorCode) {
1303
+ case "DomainLimitExceeded":
1304
+ case "com.amazonaws.route53domains#DomainLimitExceeded":
1305
+ throw await de_DomainLimitExceededRes(parsedOutput);
1306
+ case "InvalidInput":
1307
+ case "com.amazonaws.route53domains#InvalidInput":
1308
+ throw await de_InvalidInputRes(parsedOutput);
1309
+ case "OperationLimitExceeded":
1310
+ case "com.amazonaws.route53domains#OperationLimitExceeded":
1311
+ throw await de_OperationLimitExceededRes(parsedOutput);
1312
+ case "UnsupportedTLD":
1313
+ case "com.amazonaws.route53domains#UnsupportedTLD":
1314
+ throw await de_UnsupportedTLDRes(parsedOutput);
1315
+ case "DnssecLimitExceeded":
1316
+ case "com.amazonaws.route53domains#DnssecLimitExceeded":
1317
+ throw await de_DnssecLimitExceededRes(parsedOutput);
1318
+ case "DuplicateRequest":
1319
+ case "com.amazonaws.route53domains#DuplicateRequest":
1320
+ throw await de_DuplicateRequestRes(parsedOutput);
1321
+ case "TLDRulesViolation":
1322
+ case "com.amazonaws.route53domains#TLDRulesViolation":
1323
+ throw await de_TLDRulesViolationRes(parsedOutput);
1324
+ default:
1325
+ const parsedBody = parsedOutput.body;
1326
+ return throwDefaultError({
1327
+ output,
1328
+ parsedBody,
1329
+ errorCode,
1330
+ });
1331
+ }
1332
+ };
1333
+ const de_DnssecLimitExceededRes = async (parsedOutput, context) => {
1334
+ const body = parsedOutput.body;
1335
+ const deserialized = smithyClient._json(body);
1336
+ const exception = new DnssecLimitExceeded({
1337
+ $metadata: deserializeMetadata(parsedOutput),
1338
+ ...deserialized,
355
1339
  });
356
- Object.setPrototypeOf(this, _DnssecLimitExceeded.prototype);
357
- }
358
- };
359
- var DuplicateRequest = class _DuplicateRequest extends Route53DomainsServiceException {
360
- static {
361
- __name(this, "DuplicateRequest");
362
- }
363
- name = "DuplicateRequest";
364
- $fault = "client";
365
- /**
366
- * <p>ID of the request operation.</p>
367
- * @public
368
- */
369
- requestId;
370
- /**
371
- * @internal
372
- */
373
- constructor(opts) {
374
- super({
375
- name: "DuplicateRequest",
376
- $fault: "client",
377
- ...opts
1340
+ return smithyClient.decorateServiceException(exception, body);
1341
+ };
1342
+ const de_DomainLimitExceededRes = async (parsedOutput, context) => {
1343
+ const body = parsedOutput.body;
1344
+ const deserialized = smithyClient._json(body);
1345
+ const exception = new DomainLimitExceeded({
1346
+ $metadata: deserializeMetadata(parsedOutput),
1347
+ ...deserialized,
378
1348
  });
379
- Object.setPrototypeOf(this, _DuplicateRequest.prototype);
380
- this.requestId = opts.requestId;
381
- }
382
- };
383
- var TLDRulesViolation = class _TLDRulesViolation extends Route53DomainsServiceException {
384
- static {
385
- __name(this, "TLDRulesViolation");
386
- }
387
- name = "TLDRulesViolation";
388
- $fault = "client";
389
- /**
390
- * @internal
391
- */
392
- constructor(opts) {
393
- super({
394
- name: "TLDRulesViolation",
395
- $fault: "client",
396
- ...opts
1349
+ return smithyClient.decorateServiceException(exception, body);
1350
+ };
1351
+ const de_DuplicateRequestRes = async (parsedOutput, context) => {
1352
+ const body = parsedOutput.body;
1353
+ const deserialized = smithyClient._json(body);
1354
+ const exception = new DuplicateRequest({
1355
+ $metadata: deserializeMetadata(parsedOutput),
1356
+ ...deserialized,
397
1357
  });
398
- Object.setPrototypeOf(this, _TLDRulesViolation.prototype);
399
- }
400
- };
401
- var OperationType = {
402
- ADD_DNSSEC: "ADD_DNSSEC",
403
- CHANGE_DOMAIN_OWNER: "CHANGE_DOMAIN_OWNER",
404
- CHANGE_PRIVACY_PROTECTION: "CHANGE_PRIVACY_PROTECTION",
405
- DELETE_DOMAIN: "DELETE_DOMAIN",
406
- DISABLE_AUTORENEW: "DISABLE_AUTORENEW",
407
- DOMAIN_LOCK: "DOMAIN_LOCK",
408
- ENABLE_AUTORENEW: "ENABLE_AUTORENEW",
409
- EXPIRE_DOMAIN: "EXPIRE_DOMAIN",
410
- INTERNAL_TRANSFER_IN_DOMAIN: "INTERNAL_TRANSFER_IN_DOMAIN",
411
- INTERNAL_TRANSFER_OUT_DOMAIN: "INTERNAL_TRANSFER_OUT_DOMAIN",
412
- PUSH_DOMAIN: "PUSH_DOMAIN",
413
- REGISTER_DOMAIN: "REGISTER_DOMAIN",
414
- RELEASE_TO_GANDI: "RELEASE_TO_GANDI",
415
- REMOVE_DNSSEC: "REMOVE_DNSSEC",
416
- RENEW_DOMAIN: "RENEW_DOMAIN",
417
- RESTORE_DOMAIN: "RESTORE_DOMAIN",
418
- TRANSFER_IN_DOMAIN: "TRANSFER_IN_DOMAIN",
419
- TRANSFER_ON_RENEW: "TRANSFER_ON_RENEW",
420
- TRANSFER_OUT_DOMAIN: "TRANSFER_OUT_DOMAIN",
421
- UPDATE_DOMAIN_CONTACT: "UPDATE_DOMAIN_CONTACT",
422
- UPDATE_NAMESERVER: "UPDATE_NAMESERVER"
423
- };
424
- var DomainAvailability = {
425
- AVAILABLE: "AVAILABLE",
426
- AVAILABLE_PREORDER: "AVAILABLE_PREORDER",
427
- AVAILABLE_RESERVED: "AVAILABLE_RESERVED",
428
- DONT_KNOW: "DONT_KNOW",
429
- INVALID_NAME_FOR_TLD: "INVALID_NAME_FOR_TLD",
430
- PENDING: "PENDING",
431
- RESERVED: "RESERVED",
432
- UNAVAILABLE: "UNAVAILABLE",
433
- UNAVAILABLE_PREMIUM: "UNAVAILABLE_PREMIUM",
434
- UNAVAILABLE_RESTRICTED: "UNAVAILABLE_RESTRICTED"
435
- };
436
- var Transferable = {
437
- DOMAIN_IN_ANOTHER_ACCOUNT: "DOMAIN_IN_ANOTHER_ACCOUNT",
438
- DOMAIN_IN_OWN_ACCOUNT: "DOMAIN_IN_OWN_ACCOUNT",
439
- DONT_KNOW: "DONT_KNOW",
440
- PREMIUM_DOMAIN: "PREMIUM_DOMAIN",
441
- TRANSFERABLE: "TRANSFERABLE",
442
- UNTRANSFERABLE: "UNTRANSFERABLE"
443
- };
444
- var ContactType = {
445
- ASSOCIATION: "ASSOCIATION",
446
- COMPANY: "COMPANY",
447
- PERSON: "PERSON",
448
- PUBLIC_BODY: "PUBLIC_BODY",
449
- RESELLER: "RESELLER"
450
- };
451
- var CountryCode = {
452
- AC: "AC",
453
- AD: "AD",
454
- AE: "AE",
455
- AF: "AF",
456
- AG: "AG",
457
- AI: "AI",
458
- AL: "AL",
459
- AM: "AM",
460
- AN: "AN",
461
- AO: "AO",
462
- AQ: "AQ",
463
- AR: "AR",
464
- AS: "AS",
465
- AT: "AT",
466
- AU: "AU",
467
- AW: "AW",
468
- AX: "AX",
469
- AZ: "AZ",
470
- BA: "BA",
471
- BB: "BB",
472
- BD: "BD",
473
- BE: "BE",
474
- BF: "BF",
475
- BG: "BG",
476
- BH: "BH",
477
- BI: "BI",
478
- BJ: "BJ",
479
- BL: "BL",
480
- BM: "BM",
481
- BN: "BN",
482
- BO: "BO",
483
- BQ: "BQ",
484
- BR: "BR",
485
- BS: "BS",
486
- BT: "BT",
487
- BV: "BV",
488
- BW: "BW",
489
- BY: "BY",
490
- BZ: "BZ",
491
- CA: "CA",
492
- CC: "CC",
493
- CD: "CD",
494
- CF: "CF",
495
- CG: "CG",
496
- CH: "CH",
497
- CI: "CI",
498
- CK: "CK",
499
- CL: "CL",
500
- CM: "CM",
501
- CN: "CN",
502
- CO: "CO",
503
- CR: "CR",
504
- CU: "CU",
505
- CV: "CV",
506
- CW: "CW",
507
- CX: "CX",
508
- CY: "CY",
509
- CZ: "CZ",
510
- DE: "DE",
511
- DJ: "DJ",
512
- DK: "DK",
513
- DM: "DM",
514
- DO: "DO",
515
- DZ: "DZ",
516
- EC: "EC",
517
- EE: "EE",
518
- EG: "EG",
519
- EH: "EH",
520
- ER: "ER",
521
- ES: "ES",
522
- ET: "ET",
523
- FI: "FI",
524
- FJ: "FJ",
525
- FK: "FK",
526
- FM: "FM",
527
- FO: "FO",
528
- FR: "FR",
529
- GA: "GA",
530
- GB: "GB",
531
- GD: "GD",
532
- GE: "GE",
533
- GF: "GF",
534
- GG: "GG",
535
- GH: "GH",
536
- GI: "GI",
537
- GL: "GL",
538
- GM: "GM",
539
- GN: "GN",
540
- GP: "GP",
541
- GQ: "GQ",
542
- GR: "GR",
543
- GS: "GS",
544
- GT: "GT",
545
- GU: "GU",
546
- GW: "GW",
547
- GY: "GY",
548
- HK: "HK",
549
- HM: "HM",
550
- HN: "HN",
551
- HR: "HR",
552
- HT: "HT",
553
- HU: "HU",
554
- ID: "ID",
555
- IE: "IE",
556
- IL: "IL",
557
- IM: "IM",
558
- IN: "IN",
559
- IO: "IO",
560
- IQ: "IQ",
561
- IR: "IR",
562
- IS: "IS",
563
- IT: "IT",
564
- JE: "JE",
565
- JM: "JM",
566
- JO: "JO",
567
- JP: "JP",
568
- KE: "KE",
569
- KG: "KG",
570
- KH: "KH",
571
- KI: "KI",
572
- KM: "KM",
573
- KN: "KN",
574
- KP: "KP",
575
- KR: "KR",
576
- KW: "KW",
577
- KY: "KY",
578
- KZ: "KZ",
579
- LA: "LA",
580
- LB: "LB",
581
- LC: "LC",
582
- LI: "LI",
583
- LK: "LK",
584
- LR: "LR",
585
- LS: "LS",
586
- LT: "LT",
587
- LU: "LU",
588
- LV: "LV",
589
- LY: "LY",
590
- MA: "MA",
591
- MC: "MC",
592
- MD: "MD",
593
- ME: "ME",
594
- MF: "MF",
595
- MG: "MG",
596
- MH: "MH",
597
- MK: "MK",
598
- ML: "ML",
599
- MM: "MM",
600
- MN: "MN",
601
- MO: "MO",
602
- MP: "MP",
603
- MQ: "MQ",
604
- MR: "MR",
605
- MS: "MS",
606
- MT: "MT",
607
- MU: "MU",
608
- MV: "MV",
609
- MW: "MW",
610
- MX: "MX",
611
- MY: "MY",
612
- MZ: "MZ",
613
- NA: "NA",
614
- NC: "NC",
615
- NE: "NE",
616
- NF: "NF",
617
- NG: "NG",
618
- NI: "NI",
619
- NL: "NL",
620
- NO: "NO",
621
- NP: "NP",
622
- NR: "NR",
623
- NU: "NU",
624
- NZ: "NZ",
625
- OM: "OM",
626
- PA: "PA",
627
- PE: "PE",
628
- PF: "PF",
629
- PG: "PG",
630
- PH: "PH",
631
- PK: "PK",
632
- PL: "PL",
633
- PM: "PM",
634
- PN: "PN",
635
- PR: "PR",
636
- PS: "PS",
637
- PT: "PT",
638
- PW: "PW",
639
- PY: "PY",
640
- QA: "QA",
641
- RE: "RE",
642
- RO: "RO",
643
- RS: "RS",
644
- RU: "RU",
645
- RW: "RW",
646
- SA: "SA",
647
- SB: "SB",
648
- SC: "SC",
649
- SD: "SD",
650
- SE: "SE",
651
- SG: "SG",
652
- SH: "SH",
653
- SI: "SI",
654
- SJ: "SJ",
655
- SK: "SK",
656
- SL: "SL",
657
- SM: "SM",
658
- SN: "SN",
659
- SO: "SO",
660
- SR: "SR",
661
- SS: "SS",
662
- ST: "ST",
663
- SV: "SV",
664
- SX: "SX",
665
- SY: "SY",
666
- SZ: "SZ",
667
- TC: "TC",
668
- TD: "TD",
669
- TF: "TF",
670
- TG: "TG",
671
- TH: "TH",
672
- TJ: "TJ",
673
- TK: "TK",
674
- TL: "TL",
675
- TM: "TM",
676
- TN: "TN",
677
- TO: "TO",
678
- TP: "TP",
679
- TR: "TR",
680
- TT: "TT",
681
- TV: "TV",
682
- TW: "TW",
683
- TZ: "TZ",
684
- UA: "UA",
685
- UG: "UG",
686
- US: "US",
687
- UY: "UY",
688
- UZ: "UZ",
689
- VA: "VA",
690
- VC: "VC",
691
- VE: "VE",
692
- VG: "VG",
693
- VI: "VI",
694
- VN: "VN",
695
- VU: "VU",
696
- WF: "WF",
697
- WS: "WS",
698
- YE: "YE",
699
- YT: "YT",
700
- ZA: "ZA",
701
- ZM: "ZM",
702
- ZW: "ZW"
703
- };
704
- var ExtraParamName = {
705
- AU_ELIGIBILITY_TYPE: "AU_ELIGIBILITY_TYPE",
706
- AU_ID_NUMBER: "AU_ID_NUMBER",
707
- AU_ID_TYPE: "AU_ID_TYPE",
708
- AU_POLICY_REASON: "AU_POLICY_REASON",
709
- AU_PRIORITY_TOKEN: "AU_PRIORITY_TOKEN",
710
- AU_REGISTRANT_NAME: "AU_REGISTRANT_NAME",
711
- BIRTH_CITY: "BIRTH_CITY",
712
- BIRTH_COUNTRY: "BIRTH_COUNTRY",
713
- BIRTH_DATE_IN_YYYY_MM_DD: "BIRTH_DATE_IN_YYYY_MM_DD",
714
- BIRTH_DEPARTMENT: "BIRTH_DEPARTMENT",
715
- BRAND_NUMBER: "BRAND_NUMBER",
716
- CA_BUSINESS_ENTITY_TYPE: "CA_BUSINESS_ENTITY_TYPE",
717
- CA_LEGAL_REPRESENTATIVE: "CA_LEGAL_REPRESENTATIVE",
718
- CA_LEGAL_REPRESENTATIVE_CAPACITY: "CA_LEGAL_REPRESENTATIVE_CAPACITY",
719
- CA_LEGAL_TYPE: "CA_LEGAL_TYPE",
720
- DOCUMENT_NUMBER: "DOCUMENT_NUMBER",
721
- DUNS_NUMBER: "DUNS_NUMBER",
722
- ES_IDENTIFICATION: "ES_IDENTIFICATION",
723
- ES_IDENTIFICATION_TYPE: "ES_IDENTIFICATION_TYPE",
724
- ES_LEGAL_FORM: "ES_LEGAL_FORM",
725
- EU_COUNTRY_OF_CITIZENSHIP: "EU_COUNTRY_OF_CITIZENSHIP",
726
- FI_BUSINESS_NUMBER: "FI_BUSINESS_NUMBER",
727
- FI_NATIONALITY: "FI_NATIONALITY",
728
- FI_ORGANIZATION_TYPE: "FI_ORGANIZATION_TYPE",
729
- IT_NATIONALITY: "IT_NATIONALITY",
730
- IT_PIN: "IT_PIN",
731
- IT_REGISTRANT_ENTITY_TYPE: "IT_REGISTRANT_ENTITY_TYPE",
732
- ONWER_FI_ID_NUMBER: "FI_ID_NUMBER",
733
- RU_PASSPORT_DATA: "RU_PASSPORT_DATA",
734
- SE_ID_NUMBER: "SE_ID_NUMBER",
735
- SG_ID_NUMBER: "SG_ID_NUMBER",
736
- UK_COMPANY_NUMBER: "UK_COMPANY_NUMBER",
737
- UK_CONTACT_TYPE: "UK_CONTACT_TYPE",
738
- VAT_NUMBER: "VAT_NUMBER"
739
- };
740
- var ListDomainsAttributeName = {
741
- DomainName: "DomainName",
742
- Expiry: "Expiry"
743
- };
744
- var Operator = {
745
- BEGINS_WITH: "BEGINS_WITH",
746
- GE: "GE",
747
- LE: "LE"
748
- };
749
- var ReachabilityStatus = {
750
- DONE: "DONE",
751
- EXPIRED: "EXPIRED",
752
- PENDING: "PENDING"
753
- };
754
- var OperationStatus = {
755
- ERROR: "ERROR",
756
- FAILED: "FAILED",
757
- IN_PROGRESS: "IN_PROGRESS",
758
- SUBMITTED: "SUBMITTED",
759
- SUCCESSFUL: "SUCCESSFUL"
760
- };
761
- var StatusFlag = {
762
- PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
763
- PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
764
- PENDING_CUSTOMER_ACTION: "PENDING_CUSTOMER_ACTION",
765
- PENDING_PAYMENT_VERIFICATION: "PENDING_PAYMENT_VERIFICATION",
766
- PENDING_SUPPORT_CASE: "PENDING_SUPPORT_CASE"
767
- };
768
- var SortOrder = {
769
- ASC: "ASC",
770
- DESC: "DESC"
771
- };
772
- var ListOperationsSortAttributeName = {
773
- SubmittedDate: "SubmittedDate"
774
- };
775
- var AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
776
- ...obj,
777
- ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
778
- }), "AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog");
779
- var CheckDomainTransferabilityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
780
- ...obj,
781
- ...obj.AuthCode && { AuthCode: import_smithy_client.SENSITIVE_STRING }
782
- }), "CheckDomainTransferabilityRequestFilterSensitiveLog");
783
- var ExtraParamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
784
- ...obj,
785
- ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
786
- }), "ExtraParamFilterSensitiveLog");
787
- var ContactDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
788
- ...obj,
789
- ...obj.FirstName && { FirstName: import_smithy_client.SENSITIVE_STRING },
790
- ...obj.LastName && { LastName: import_smithy_client.SENSITIVE_STRING },
791
- ...obj.OrganizationName && { OrganizationName: import_smithy_client.SENSITIVE_STRING },
792
- ...obj.AddressLine1 && { AddressLine1: import_smithy_client.SENSITIVE_STRING },
793
- ...obj.AddressLine2 && { AddressLine2: import_smithy_client.SENSITIVE_STRING },
794
- ...obj.City && { City: import_smithy_client.SENSITIVE_STRING },
795
- ...obj.State && { State: import_smithy_client.SENSITIVE_STRING },
796
- ...obj.CountryCode && { CountryCode: import_smithy_client.SENSITIVE_STRING },
797
- ...obj.ZipCode && { ZipCode: import_smithy_client.SENSITIVE_STRING },
798
- ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING },
799
- ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING },
800
- ...obj.Fax && { Fax: import_smithy_client.SENSITIVE_STRING },
801
- ...obj.ExtraParams && { ExtraParams: obj.ExtraParams.map((item) => ExtraParamFilterSensitiveLog(item)) }
802
- }), "ContactDetailFilterSensitiveLog");
803
- var GetDomainDetailResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
804
- ...obj,
805
- ...obj.AdminContact && { AdminContact: import_smithy_client.SENSITIVE_STRING },
806
- ...obj.RegistrantContact && { RegistrantContact: import_smithy_client.SENSITIVE_STRING },
807
- ...obj.TechContact && { TechContact: import_smithy_client.SENSITIVE_STRING },
808
- ...obj.AbuseContactEmail && { AbuseContactEmail: import_smithy_client.SENSITIVE_STRING },
809
- ...obj.AbuseContactPhone && { AbuseContactPhone: import_smithy_client.SENSITIVE_STRING },
810
- ...obj.BillingContact && { BillingContact: import_smithy_client.SENSITIVE_STRING }
811
- }), "GetDomainDetailResponseFilterSensitiveLog");
812
- var RegisterDomainRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
813
- ...obj,
814
- ...obj.AdminContact && { AdminContact: import_smithy_client.SENSITIVE_STRING },
815
- ...obj.RegistrantContact && { RegistrantContact: import_smithy_client.SENSITIVE_STRING },
816
- ...obj.TechContact && { TechContact: import_smithy_client.SENSITIVE_STRING },
817
- ...obj.BillingContact && { BillingContact: import_smithy_client.SENSITIVE_STRING }
818
- }), "RegisterDomainRequestFilterSensitiveLog");
819
- var ResendContactReachabilityEmailResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
820
- ...obj,
821
- ...obj.emailAddress && { emailAddress: import_smithy_client.SENSITIVE_STRING }
822
- }), "ResendContactReachabilityEmailResponseFilterSensitiveLog");
823
- var RetrieveDomainAuthCodeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
824
- ...obj,
825
- ...obj.AuthCode && { AuthCode: import_smithy_client.SENSITIVE_STRING }
826
- }), "RetrieveDomainAuthCodeResponseFilterSensitiveLog");
827
- var TransferDomainRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
828
- ...obj,
829
- ...obj.AuthCode && { AuthCode: import_smithy_client.SENSITIVE_STRING },
830
- ...obj.AdminContact && { AdminContact: import_smithy_client.SENSITIVE_STRING },
831
- ...obj.RegistrantContact && { RegistrantContact: import_smithy_client.SENSITIVE_STRING },
832
- ...obj.TechContact && { TechContact: import_smithy_client.SENSITIVE_STRING },
833
- ...obj.BillingContact && { BillingContact: import_smithy_client.SENSITIVE_STRING }
834
- }), "TransferDomainRequestFilterSensitiveLog");
835
- var TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
836
- ...obj,
837
- ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
838
- }), "TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog");
839
- var UpdateDomainContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
840
- ...obj,
841
- ...obj.AdminContact && { AdminContact: import_smithy_client.SENSITIVE_STRING },
842
- ...obj.RegistrantContact && { RegistrantContact: import_smithy_client.SENSITIVE_STRING },
843
- ...obj.TechContact && { TechContact: import_smithy_client.SENSITIVE_STRING },
844
- ...obj.BillingContact && { BillingContact: import_smithy_client.SENSITIVE_STRING }
845
- }), "UpdateDomainContactRequestFilterSensitiveLog");
846
- var UpdateDomainNameserversRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
847
- ...obj,
848
- ...obj.FIAuthKey && { FIAuthKey: import_smithy_client.SENSITIVE_STRING }
849
- }), "UpdateDomainNameserversRequestFilterSensitiveLog");
850
-
851
- // src/protocols/Aws_json1_1.ts
852
- var import_core2 = require("@aws-sdk/core");
853
-
854
-
855
- var se_AcceptDomainTransferFromAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
856
- const headers = sharedHeaders("AcceptDomainTransferFromAnotherAwsAccount");
857
- let body;
858
- body = JSON.stringify((0, import_smithy_client._json)(input));
859
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
860
- }, "se_AcceptDomainTransferFromAnotherAwsAccountCommand");
861
- var se_AssociateDelegationSignerToDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
862
- const headers = sharedHeaders("AssociateDelegationSignerToDomain");
863
- let body;
864
- body = JSON.stringify((0, import_smithy_client._json)(input));
865
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
866
- }, "se_AssociateDelegationSignerToDomainCommand");
867
- var se_CancelDomainTransferToAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
868
- const headers = sharedHeaders("CancelDomainTransferToAnotherAwsAccount");
869
- let body;
870
- body = JSON.stringify((0, import_smithy_client._json)(input));
871
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
872
- }, "se_CancelDomainTransferToAnotherAwsAccountCommand");
873
- var se_CheckDomainAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
874
- const headers = sharedHeaders("CheckDomainAvailability");
875
- let body;
876
- body = JSON.stringify((0, import_smithy_client._json)(input));
877
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
878
- }, "se_CheckDomainAvailabilityCommand");
879
- var se_CheckDomainTransferabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
880
- const headers = sharedHeaders("CheckDomainTransferability");
881
- let body;
882
- body = JSON.stringify((0, import_smithy_client._json)(input));
883
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
884
- }, "se_CheckDomainTransferabilityCommand");
885
- var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
886
- const headers = sharedHeaders("DeleteDomain");
887
- let body;
888
- body = JSON.stringify((0, import_smithy_client._json)(input));
889
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
890
- }, "se_DeleteDomainCommand");
891
- var se_DeleteTagsForDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
892
- const headers = sharedHeaders("DeleteTagsForDomain");
893
- let body;
894
- body = JSON.stringify((0, import_smithy_client._json)(input));
895
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
896
- }, "se_DeleteTagsForDomainCommand");
897
- var se_DisableDomainAutoRenewCommand = /* @__PURE__ */ __name(async (input, context) => {
898
- const headers = sharedHeaders("DisableDomainAutoRenew");
899
- let body;
900
- body = JSON.stringify((0, import_smithy_client._json)(input));
901
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
902
- }, "se_DisableDomainAutoRenewCommand");
903
- var se_DisableDomainTransferLockCommand = /* @__PURE__ */ __name(async (input, context) => {
904
- const headers = sharedHeaders("DisableDomainTransferLock");
905
- let body;
906
- body = JSON.stringify((0, import_smithy_client._json)(input));
907
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
908
- }, "se_DisableDomainTransferLockCommand");
909
- var se_DisassociateDelegationSignerFromDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
910
- const headers = sharedHeaders("DisassociateDelegationSignerFromDomain");
911
- let body;
912
- body = JSON.stringify((0, import_smithy_client._json)(input));
913
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
914
- }, "se_DisassociateDelegationSignerFromDomainCommand");
915
- var se_EnableDomainAutoRenewCommand = /* @__PURE__ */ __name(async (input, context) => {
916
- const headers = sharedHeaders("EnableDomainAutoRenew");
917
- let body;
918
- body = JSON.stringify((0, import_smithy_client._json)(input));
919
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
920
- }, "se_EnableDomainAutoRenewCommand");
921
- var se_EnableDomainTransferLockCommand = /* @__PURE__ */ __name(async (input, context) => {
922
- const headers = sharedHeaders("EnableDomainTransferLock");
923
- let body;
924
- body = JSON.stringify((0, import_smithy_client._json)(input));
925
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
926
- }, "se_EnableDomainTransferLockCommand");
927
- var se_GetContactReachabilityStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
928
- const headers = sharedHeaders("GetContactReachabilityStatus");
929
- let body;
930
- body = JSON.stringify((0, import_smithy_client._json)(input));
931
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
932
- }, "se_GetContactReachabilityStatusCommand");
933
- var se_GetDomainDetailCommand = /* @__PURE__ */ __name(async (input, context) => {
934
- const headers = sharedHeaders("GetDomainDetail");
935
- let body;
936
- body = JSON.stringify((0, import_smithy_client._json)(input));
937
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
938
- }, "se_GetDomainDetailCommand");
939
- var se_GetDomainSuggestionsCommand = /* @__PURE__ */ __name(async (input, context) => {
940
- const headers = sharedHeaders("GetDomainSuggestions");
941
- let body;
942
- body = JSON.stringify((0, import_smithy_client._json)(input));
943
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
944
- }, "se_GetDomainSuggestionsCommand");
945
- var se_GetOperationDetailCommand = /* @__PURE__ */ __name(async (input, context) => {
946
- const headers = sharedHeaders("GetOperationDetail");
947
- let body;
948
- body = JSON.stringify((0, import_smithy_client._json)(input));
949
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
950
- }, "se_GetOperationDetailCommand");
951
- var se_ListDomainsCommand = /* @__PURE__ */ __name(async (input, context) => {
952
- const headers = sharedHeaders("ListDomains");
953
- let body;
954
- body = JSON.stringify((0, import_smithy_client._json)(input));
955
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
956
- }, "se_ListDomainsCommand");
957
- var se_ListOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
958
- const headers = sharedHeaders("ListOperations");
959
- let body;
960
- body = JSON.stringify(se_ListOperationsRequest(input, context));
961
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
962
- }, "se_ListOperationsCommand");
963
- var se_ListPricesCommand = /* @__PURE__ */ __name(async (input, context) => {
964
- const headers = sharedHeaders("ListPrices");
965
- let body;
966
- body = JSON.stringify((0, import_smithy_client._json)(input));
967
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
968
- }, "se_ListPricesCommand");
969
- var se_ListTagsForDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
970
- const headers = sharedHeaders("ListTagsForDomain");
971
- let body;
972
- body = JSON.stringify((0, import_smithy_client._json)(input));
973
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
974
- }, "se_ListTagsForDomainCommand");
975
- var se_PushDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
976
- const headers = sharedHeaders("PushDomain");
977
- let body;
978
- body = JSON.stringify((0, import_smithy_client._json)(input));
979
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
980
- }, "se_PushDomainCommand");
981
- var se_RegisterDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
982
- const headers = sharedHeaders("RegisterDomain");
983
- let body;
984
- body = JSON.stringify((0, import_smithy_client._json)(input));
985
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
986
- }, "se_RegisterDomainCommand");
987
- var se_RejectDomainTransferFromAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
988
- const headers = sharedHeaders("RejectDomainTransferFromAnotherAwsAccount");
989
- let body;
990
- body = JSON.stringify((0, import_smithy_client._json)(input));
991
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
992
- }, "se_RejectDomainTransferFromAnotherAwsAccountCommand");
993
- var se_RenewDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
994
- const headers = sharedHeaders("RenewDomain");
995
- let body;
996
- body = JSON.stringify((0, import_smithy_client._json)(input));
997
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
998
- }, "se_RenewDomainCommand");
999
- var se_ResendContactReachabilityEmailCommand = /* @__PURE__ */ __name(async (input, context) => {
1000
- const headers = sharedHeaders("ResendContactReachabilityEmail");
1001
- let body;
1002
- body = JSON.stringify((0, import_smithy_client._json)(input));
1003
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1004
- }, "se_ResendContactReachabilityEmailCommand");
1005
- var se_ResendOperationAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
1006
- const headers = sharedHeaders("ResendOperationAuthorization");
1007
- let body;
1008
- body = JSON.stringify((0, import_smithy_client._json)(input));
1009
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1010
- }, "se_ResendOperationAuthorizationCommand");
1011
- var se_RetrieveDomainAuthCodeCommand = /* @__PURE__ */ __name(async (input, context) => {
1012
- const headers = sharedHeaders("RetrieveDomainAuthCode");
1013
- let body;
1014
- body = JSON.stringify((0, import_smithy_client._json)(input));
1015
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1016
- }, "se_RetrieveDomainAuthCodeCommand");
1017
- var se_TransferDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
1018
- const headers = sharedHeaders("TransferDomain");
1019
- let body;
1020
- body = JSON.stringify((0, import_smithy_client._json)(input));
1021
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1022
- }, "se_TransferDomainCommand");
1023
- var se_TransferDomainToAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
1024
- const headers = sharedHeaders("TransferDomainToAnotherAwsAccount");
1025
- let body;
1026
- body = JSON.stringify((0, import_smithy_client._json)(input));
1027
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1028
- }, "se_TransferDomainToAnotherAwsAccountCommand");
1029
- var se_UpdateDomainContactCommand = /* @__PURE__ */ __name(async (input, context) => {
1030
- const headers = sharedHeaders("UpdateDomainContact");
1031
- let body;
1032
- body = JSON.stringify(se_UpdateDomainContactRequest(input, context));
1033
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1034
- }, "se_UpdateDomainContactCommand");
1035
- var se_UpdateDomainContactPrivacyCommand = /* @__PURE__ */ __name(async (input, context) => {
1036
- const headers = sharedHeaders("UpdateDomainContactPrivacy");
1037
- let body;
1038
- body = JSON.stringify((0, import_smithy_client._json)(input));
1039
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1040
- }, "se_UpdateDomainContactPrivacyCommand");
1041
- var se_UpdateDomainNameserversCommand = /* @__PURE__ */ __name(async (input, context) => {
1042
- const headers = sharedHeaders("UpdateDomainNameservers");
1043
- let body;
1044
- body = JSON.stringify((0, import_smithy_client._json)(input));
1045
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1046
- }, "se_UpdateDomainNameserversCommand");
1047
- var se_UpdateTagsForDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
1048
- const headers = sharedHeaders("UpdateTagsForDomain");
1049
- let body;
1050
- body = JSON.stringify((0, import_smithy_client._json)(input));
1051
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1052
- }, "se_UpdateTagsForDomainCommand");
1053
- var se_ViewBillingCommand = /* @__PURE__ */ __name(async (input, context) => {
1054
- const headers = sharedHeaders("ViewBilling");
1055
- let body;
1056
- body = JSON.stringify(se_ViewBillingRequest(input, context));
1057
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
1058
- }, "se_ViewBillingCommand");
1059
- var de_AcceptDomainTransferFromAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1060
- if (output.statusCode >= 300) {
1061
- return de_CommandError(output, context);
1062
- }
1063
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1064
- let contents = {};
1065
- contents = (0, import_smithy_client._json)(data);
1066
- const response = {
1067
- $metadata: deserializeMetadata(output),
1068
- ...contents
1069
- };
1070
- return response;
1071
- }, "de_AcceptDomainTransferFromAnotherAwsAccountCommand");
1072
- var de_AssociateDelegationSignerToDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1073
- if (output.statusCode >= 300) {
1074
- return de_CommandError(output, context);
1075
- }
1076
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1077
- let contents = {};
1078
- contents = (0, import_smithy_client._json)(data);
1079
- const response = {
1080
- $metadata: deserializeMetadata(output),
1081
- ...contents
1082
- };
1083
- return response;
1084
- }, "de_AssociateDelegationSignerToDomainCommand");
1085
- var de_CancelDomainTransferToAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1086
- if (output.statusCode >= 300) {
1087
- return de_CommandError(output, context);
1088
- }
1089
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1090
- let contents = {};
1091
- contents = (0, import_smithy_client._json)(data);
1092
- const response = {
1093
- $metadata: deserializeMetadata(output),
1094
- ...contents
1095
- };
1096
- return response;
1097
- }, "de_CancelDomainTransferToAnotherAwsAccountCommand");
1098
- var de_CheckDomainAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
1099
- if (output.statusCode >= 300) {
1100
- return de_CommandError(output, context);
1101
- }
1102
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1103
- let contents = {};
1104
- contents = (0, import_smithy_client._json)(data);
1105
- const response = {
1106
- $metadata: deserializeMetadata(output),
1107
- ...contents
1108
- };
1109
- return response;
1110
- }, "de_CheckDomainAvailabilityCommand");
1111
- var de_CheckDomainTransferabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
1112
- if (output.statusCode >= 300) {
1113
- return de_CommandError(output, context);
1114
- }
1115
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1116
- let contents = {};
1117
- contents = (0, import_smithy_client._json)(data);
1118
- const response = {
1119
- $metadata: deserializeMetadata(output),
1120
- ...contents
1121
- };
1122
- return response;
1123
- }, "de_CheckDomainTransferabilityCommand");
1124
- var de_DeleteDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1125
- if (output.statusCode >= 300) {
1126
- return de_CommandError(output, context);
1127
- }
1128
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1129
- let contents = {};
1130
- contents = (0, import_smithy_client._json)(data);
1131
- const response = {
1132
- $metadata: deserializeMetadata(output),
1133
- ...contents
1134
- };
1135
- return response;
1136
- }, "de_DeleteDomainCommand");
1137
- var de_DeleteTagsForDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1138
- if (output.statusCode >= 300) {
1139
- return de_CommandError(output, context);
1140
- }
1141
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1142
- let contents = {};
1143
- contents = (0, import_smithy_client._json)(data);
1144
- const response = {
1145
- $metadata: deserializeMetadata(output),
1146
- ...contents
1147
- };
1148
- return response;
1149
- }, "de_DeleteTagsForDomainCommand");
1150
- var de_DisableDomainAutoRenewCommand = /* @__PURE__ */ __name(async (output, context) => {
1151
- if (output.statusCode >= 300) {
1152
- return de_CommandError(output, context);
1153
- }
1154
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1155
- let contents = {};
1156
- contents = (0, import_smithy_client._json)(data);
1157
- const response = {
1158
- $metadata: deserializeMetadata(output),
1159
- ...contents
1160
- };
1161
- return response;
1162
- }, "de_DisableDomainAutoRenewCommand");
1163
- var de_DisableDomainTransferLockCommand = /* @__PURE__ */ __name(async (output, context) => {
1164
- if (output.statusCode >= 300) {
1165
- return de_CommandError(output, context);
1166
- }
1167
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1168
- let contents = {};
1169
- contents = (0, import_smithy_client._json)(data);
1170
- const response = {
1171
- $metadata: deserializeMetadata(output),
1172
- ...contents
1173
- };
1174
- return response;
1175
- }, "de_DisableDomainTransferLockCommand");
1176
- var de_DisassociateDelegationSignerFromDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1177
- if (output.statusCode >= 300) {
1178
- return de_CommandError(output, context);
1179
- }
1180
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1181
- let contents = {};
1182
- contents = (0, import_smithy_client._json)(data);
1183
- const response = {
1184
- $metadata: deserializeMetadata(output),
1185
- ...contents
1186
- };
1187
- return response;
1188
- }, "de_DisassociateDelegationSignerFromDomainCommand");
1189
- var de_EnableDomainAutoRenewCommand = /* @__PURE__ */ __name(async (output, context) => {
1190
- if (output.statusCode >= 300) {
1191
- return de_CommandError(output, context);
1192
- }
1193
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1194
- let contents = {};
1195
- contents = (0, import_smithy_client._json)(data);
1196
- const response = {
1197
- $metadata: deserializeMetadata(output),
1198
- ...contents
1199
- };
1200
- return response;
1201
- }, "de_EnableDomainAutoRenewCommand");
1202
- var de_EnableDomainTransferLockCommand = /* @__PURE__ */ __name(async (output, context) => {
1203
- if (output.statusCode >= 300) {
1204
- return de_CommandError(output, context);
1205
- }
1206
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1207
- let contents = {};
1208
- contents = (0, import_smithy_client._json)(data);
1209
- const response = {
1210
- $metadata: deserializeMetadata(output),
1211
- ...contents
1212
- };
1213
- return response;
1214
- }, "de_EnableDomainTransferLockCommand");
1215
- var de_GetContactReachabilityStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1216
- if (output.statusCode >= 300) {
1217
- return de_CommandError(output, context);
1218
- }
1219
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1220
- let contents = {};
1221
- contents = (0, import_smithy_client._json)(data);
1222
- const response = {
1223
- $metadata: deserializeMetadata(output),
1224
- ...contents
1225
- };
1226
- return response;
1227
- }, "de_GetContactReachabilityStatusCommand");
1228
- var de_GetDomainDetailCommand = /* @__PURE__ */ __name(async (output, context) => {
1229
- if (output.statusCode >= 300) {
1230
- return de_CommandError(output, context);
1231
- }
1232
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1233
- let contents = {};
1234
- contents = de_GetDomainDetailResponse(data, context);
1235
- const response = {
1236
- $metadata: deserializeMetadata(output),
1237
- ...contents
1238
- };
1239
- return response;
1240
- }, "de_GetDomainDetailCommand");
1241
- var de_GetDomainSuggestionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1242
- if (output.statusCode >= 300) {
1243
- return de_CommandError(output, context);
1244
- }
1245
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1246
- let contents = {};
1247
- contents = (0, import_smithy_client._json)(data);
1248
- const response = {
1249
- $metadata: deserializeMetadata(output),
1250
- ...contents
1251
- };
1252
- return response;
1253
- }, "de_GetDomainSuggestionsCommand");
1254
- var de_GetOperationDetailCommand = /* @__PURE__ */ __name(async (output, context) => {
1255
- if (output.statusCode >= 300) {
1256
- return de_CommandError(output, context);
1257
- }
1258
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1259
- let contents = {};
1260
- contents = de_GetOperationDetailResponse(data, context);
1261
- const response = {
1262
- $metadata: deserializeMetadata(output),
1263
- ...contents
1264
- };
1265
- return response;
1266
- }, "de_GetOperationDetailCommand");
1267
- var de_ListDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
1268
- if (output.statusCode >= 300) {
1269
- return de_CommandError(output, context);
1270
- }
1271
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1272
- let contents = {};
1273
- contents = de_ListDomainsResponse(data, context);
1274
- const response = {
1275
- $metadata: deserializeMetadata(output),
1276
- ...contents
1277
- };
1278
- return response;
1279
- }, "de_ListDomainsCommand");
1280
- var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1281
- if (output.statusCode >= 300) {
1282
- return de_CommandError(output, context);
1283
- }
1284
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1285
- let contents = {};
1286
- contents = de_ListOperationsResponse(data, context);
1287
- const response = {
1288
- $metadata: deserializeMetadata(output),
1289
- ...contents
1290
- };
1291
- return response;
1292
- }, "de_ListOperationsCommand");
1293
- var de_ListPricesCommand = /* @__PURE__ */ __name(async (output, context) => {
1294
- if (output.statusCode >= 300) {
1295
- return de_CommandError(output, context);
1296
- }
1297
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1298
- let contents = {};
1299
- contents = de_ListPricesResponse(data, context);
1300
- const response = {
1301
- $metadata: deserializeMetadata(output),
1302
- ...contents
1303
- };
1304
- return response;
1305
- }, "de_ListPricesCommand");
1306
- var de_ListTagsForDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1307
- if (output.statusCode >= 300) {
1308
- return de_CommandError(output, context);
1309
- }
1310
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1311
- let contents = {};
1312
- contents = (0, import_smithy_client._json)(data);
1313
- const response = {
1314
- $metadata: deserializeMetadata(output),
1315
- ...contents
1316
- };
1317
- return response;
1318
- }, "de_ListTagsForDomainCommand");
1319
- var de_PushDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1320
- if (output.statusCode >= 300) {
1321
- return de_CommandError(output, context);
1322
- }
1323
- await (0, import_smithy_client.collectBody)(output.body, context);
1324
- const response = {
1325
- $metadata: deserializeMetadata(output)
1326
- };
1327
- return response;
1328
- }, "de_PushDomainCommand");
1329
- var de_RegisterDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1330
- if (output.statusCode >= 300) {
1331
- return de_CommandError(output, context);
1332
- }
1333
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1334
- let contents = {};
1335
- contents = (0, import_smithy_client._json)(data);
1336
- const response = {
1337
- $metadata: deserializeMetadata(output),
1338
- ...contents
1339
- };
1340
- return response;
1341
- }, "de_RegisterDomainCommand");
1342
- var de_RejectDomainTransferFromAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1343
- if (output.statusCode >= 300) {
1344
- return de_CommandError(output, context);
1345
- }
1346
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1347
- let contents = {};
1348
- contents = (0, import_smithy_client._json)(data);
1349
- const response = {
1350
- $metadata: deserializeMetadata(output),
1351
- ...contents
1352
- };
1353
- return response;
1354
- }, "de_RejectDomainTransferFromAnotherAwsAccountCommand");
1355
- var de_RenewDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1356
- if (output.statusCode >= 300) {
1357
- return de_CommandError(output, context);
1358
- }
1359
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1360
- let contents = {};
1361
- contents = (0, import_smithy_client._json)(data);
1362
- const response = {
1363
- $metadata: deserializeMetadata(output),
1364
- ...contents
1365
- };
1366
- return response;
1367
- }, "de_RenewDomainCommand");
1368
- var de_ResendContactReachabilityEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
1369
- if (output.statusCode >= 300) {
1370
- return de_CommandError(output, context);
1371
- }
1372
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1373
- let contents = {};
1374
- contents = (0, import_smithy_client._json)(data);
1375
- const response = {
1376
- $metadata: deserializeMetadata(output),
1377
- ...contents
1378
- };
1379
- return response;
1380
- }, "de_ResendContactReachabilityEmailCommand");
1381
- var de_ResendOperationAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
1382
- if (output.statusCode >= 300) {
1383
- return de_CommandError(output, context);
1384
- }
1385
- await (0, import_smithy_client.collectBody)(output.body, context);
1386
- const response = {
1387
- $metadata: deserializeMetadata(output)
1388
- };
1389
- return response;
1390
- }, "de_ResendOperationAuthorizationCommand");
1391
- var de_RetrieveDomainAuthCodeCommand = /* @__PURE__ */ __name(async (output, context) => {
1392
- if (output.statusCode >= 300) {
1393
- return de_CommandError(output, context);
1394
- }
1395
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1396
- let contents = {};
1397
- contents = (0, import_smithy_client._json)(data);
1398
- const response = {
1399
- $metadata: deserializeMetadata(output),
1400
- ...contents
1401
- };
1402
- return response;
1403
- }, "de_RetrieveDomainAuthCodeCommand");
1404
- var de_TransferDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1405
- if (output.statusCode >= 300) {
1406
- return de_CommandError(output, context);
1407
- }
1408
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1409
- let contents = {};
1410
- contents = (0, import_smithy_client._json)(data);
1411
- const response = {
1412
- $metadata: deserializeMetadata(output),
1413
- ...contents
1414
- };
1415
- return response;
1416
- }, "de_TransferDomainCommand");
1417
- var de_TransferDomainToAnotherAwsAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1418
- if (output.statusCode >= 300) {
1419
- return de_CommandError(output, context);
1420
- }
1421
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1422
- let contents = {};
1423
- contents = (0, import_smithy_client._json)(data);
1424
- const response = {
1425
- $metadata: deserializeMetadata(output),
1426
- ...contents
1427
- };
1428
- return response;
1429
- }, "de_TransferDomainToAnotherAwsAccountCommand");
1430
- var de_UpdateDomainContactCommand = /* @__PURE__ */ __name(async (output, context) => {
1431
- if (output.statusCode >= 300) {
1432
- return de_CommandError(output, context);
1433
- }
1434
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1435
- let contents = {};
1436
- contents = (0, import_smithy_client._json)(data);
1437
- const response = {
1438
- $metadata: deserializeMetadata(output),
1439
- ...contents
1440
- };
1441
- return response;
1442
- }, "de_UpdateDomainContactCommand");
1443
- var de_UpdateDomainContactPrivacyCommand = /* @__PURE__ */ __name(async (output, context) => {
1444
- if (output.statusCode >= 300) {
1445
- return de_CommandError(output, context);
1446
- }
1447
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1448
- let contents = {};
1449
- contents = (0, import_smithy_client._json)(data);
1450
- const response = {
1451
- $metadata: deserializeMetadata(output),
1452
- ...contents
1453
- };
1454
- return response;
1455
- }, "de_UpdateDomainContactPrivacyCommand");
1456
- var de_UpdateDomainNameserversCommand = /* @__PURE__ */ __name(async (output, context) => {
1457
- if (output.statusCode >= 300) {
1458
- return de_CommandError(output, context);
1459
- }
1460
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1461
- let contents = {};
1462
- contents = (0, import_smithy_client._json)(data);
1463
- const response = {
1464
- $metadata: deserializeMetadata(output),
1465
- ...contents
1466
- };
1467
- return response;
1468
- }, "de_UpdateDomainNameserversCommand");
1469
- var de_UpdateTagsForDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
1470
- if (output.statusCode >= 300) {
1471
- return de_CommandError(output, context);
1472
- }
1473
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1474
- let contents = {};
1475
- contents = (0, import_smithy_client._json)(data);
1476
- const response = {
1477
- $metadata: deserializeMetadata(output),
1478
- ...contents
1479
- };
1480
- return response;
1481
- }, "de_UpdateTagsForDomainCommand");
1482
- var de_ViewBillingCommand = /* @__PURE__ */ __name(async (output, context) => {
1483
- if (output.statusCode >= 300) {
1484
- return de_CommandError(output, context);
1485
- }
1486
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1487
- let contents = {};
1488
- contents = de_ViewBillingResponse(data, context);
1489
- const response = {
1490
- $metadata: deserializeMetadata(output),
1491
- ...contents
1492
- };
1493
- return response;
1494
- }, "de_ViewBillingCommand");
1495
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1496
- const parsedOutput = {
1497
- ...output,
1498
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1499
- };
1500
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1501
- switch (errorCode) {
1502
- case "DomainLimitExceeded":
1503
- case "com.amazonaws.route53domains#DomainLimitExceeded":
1504
- throw await de_DomainLimitExceededRes(parsedOutput, context);
1505
- case "InvalidInput":
1506
- case "com.amazonaws.route53domains#InvalidInput":
1507
- throw await de_InvalidInputRes(parsedOutput, context);
1508
- case "OperationLimitExceeded":
1509
- case "com.amazonaws.route53domains#OperationLimitExceeded":
1510
- throw await de_OperationLimitExceededRes(parsedOutput, context);
1511
- case "UnsupportedTLD":
1512
- case "com.amazonaws.route53domains#UnsupportedTLD":
1513
- throw await de_UnsupportedTLDRes(parsedOutput, context);
1514
- case "DnssecLimitExceeded":
1515
- case "com.amazonaws.route53domains#DnssecLimitExceeded":
1516
- throw await de_DnssecLimitExceededRes(parsedOutput, context);
1517
- case "DuplicateRequest":
1518
- case "com.amazonaws.route53domains#DuplicateRequest":
1519
- throw await de_DuplicateRequestRes(parsedOutput, context);
1520
- case "TLDRulesViolation":
1521
- case "com.amazonaws.route53domains#TLDRulesViolation":
1522
- throw await de_TLDRulesViolationRes(parsedOutput, context);
1523
- default:
1524
- const parsedBody = parsedOutput.body;
1525
- return throwDefaultError({
1526
- output,
1527
- parsedBody,
1528
- errorCode
1529
- });
1530
- }
1531
- }, "de_CommandError");
1532
- var de_DnssecLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1533
- const body = parsedOutput.body;
1534
- const deserialized = (0, import_smithy_client._json)(body);
1535
- const exception = new DnssecLimitExceeded({
1536
- $metadata: deserializeMetadata(parsedOutput),
1537
- ...deserialized
1538
- });
1539
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1540
- }, "de_DnssecLimitExceededRes");
1541
- var de_DomainLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1542
- const body = parsedOutput.body;
1543
- const deserialized = (0, import_smithy_client._json)(body);
1544
- const exception = new DomainLimitExceeded({
1545
- $metadata: deserializeMetadata(parsedOutput),
1546
- ...deserialized
1547
- });
1548
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1549
- }, "de_DomainLimitExceededRes");
1550
- var de_DuplicateRequestRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1551
- const body = parsedOutput.body;
1552
- const deserialized = (0, import_smithy_client._json)(body);
1553
- const exception = new DuplicateRequest({
1554
- $metadata: deserializeMetadata(parsedOutput),
1555
- ...deserialized
1556
- });
1557
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1558
- }, "de_DuplicateRequestRes");
1559
- var de_InvalidInputRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1560
- const body = parsedOutput.body;
1561
- const deserialized = (0, import_smithy_client._json)(body);
1562
- const exception = new InvalidInput({
1563
- $metadata: deserializeMetadata(parsedOutput),
1564
- ...deserialized
1565
- });
1566
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1567
- }, "de_InvalidInputRes");
1568
- var de_OperationLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1569
- const body = parsedOutput.body;
1570
- const deserialized = (0, import_smithy_client._json)(body);
1571
- const exception = new OperationLimitExceeded({
1572
- $metadata: deserializeMetadata(parsedOutput),
1573
- ...deserialized
1574
- });
1575
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1576
- }, "de_OperationLimitExceededRes");
1577
- var de_TLDRulesViolationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1578
- const body = parsedOutput.body;
1579
- const deserialized = (0, import_smithy_client._json)(body);
1580
- const exception = new TLDRulesViolation({
1581
- $metadata: deserializeMetadata(parsedOutput),
1582
- ...deserialized
1583
- });
1584
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1585
- }, "de_TLDRulesViolationRes");
1586
- var de_UnsupportedTLDRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1587
- const body = parsedOutput.body;
1588
- const deserialized = (0, import_smithy_client._json)(body);
1589
- const exception = new UnsupportedTLD({
1590
- $metadata: deserializeMetadata(parsedOutput),
1591
- ...deserialized
1592
- });
1593
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1594
- }, "de_UnsupportedTLDRes");
1595
- var se_Consent = /* @__PURE__ */ __name((input, context) => {
1596
- return (0, import_smithy_client.take)(input, {
1597
- Currency: [],
1598
- MaxPrice: import_smithy_client.serializeFloat
1599
- });
1600
- }, "se_Consent");
1601
- var se_ListOperationsRequest = /* @__PURE__ */ __name((input, context) => {
1602
- return (0, import_smithy_client.take)(input, {
1603
- Marker: [],
1604
- MaxItems: [],
1605
- SortBy: [],
1606
- SortOrder: [],
1607
- Status: import_smithy_client._json,
1608
- SubmittedSince: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "SubmittedSince"),
1609
- Type: import_smithy_client._json
1610
- });
1611
- }, "se_ListOperationsRequest");
1612
- var se_UpdateDomainContactRequest = /* @__PURE__ */ __name((input, context) => {
1613
- return (0, import_smithy_client.take)(input, {
1614
- AdminContact: import_smithy_client._json,
1615
- BillingContact: import_smithy_client._json,
1616
- Consent: /* @__PURE__ */ __name((_) => se_Consent(_, context), "Consent"),
1617
- DomainName: [],
1618
- RegistrantContact: import_smithy_client._json,
1619
- TechContact: import_smithy_client._json
1620
- });
1621
- }, "se_UpdateDomainContactRequest");
1622
- var se_ViewBillingRequest = /* @__PURE__ */ __name((input, context) => {
1623
- return (0, import_smithy_client.take)(input, {
1624
- End: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "End"),
1625
- Marker: [],
1626
- MaxItems: [],
1627
- Start: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Start")
1628
- });
1629
- }, "se_ViewBillingRequest");
1630
- var de_BillingRecord = /* @__PURE__ */ __name((output, context) => {
1631
- return (0, import_smithy_client.take)(output, {
1632
- BillDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "BillDate"),
1633
- DomainName: import_smithy_client.expectString,
1634
- InvoiceId: import_smithy_client.expectString,
1635
- Operation: import_smithy_client.expectString,
1636
- Price: import_smithy_client.limitedParseDouble
1637
- });
1638
- }, "de_BillingRecord");
1639
- var de_BillingRecords = /* @__PURE__ */ __name((output, context) => {
1640
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1641
- return de_BillingRecord(entry, context);
1642
- });
1643
- return retVal;
1644
- }, "de_BillingRecords");
1645
- var de_DomainPrice = /* @__PURE__ */ __name((output, context) => {
1646
- return (0, import_smithy_client.take)(output, {
1647
- ChangeOwnershipPrice: /* @__PURE__ */ __name((_) => de_PriceWithCurrency(_, context), "ChangeOwnershipPrice"),
1648
- Name: import_smithy_client.expectString,
1649
- RegistrationPrice: /* @__PURE__ */ __name((_) => de_PriceWithCurrency(_, context), "RegistrationPrice"),
1650
- RenewalPrice: /* @__PURE__ */ __name((_) => de_PriceWithCurrency(_, context), "RenewalPrice"),
1651
- RestorationPrice: /* @__PURE__ */ __name((_) => de_PriceWithCurrency(_, context), "RestorationPrice"),
1652
- TransferPrice: /* @__PURE__ */ __name((_) => de_PriceWithCurrency(_, context), "TransferPrice")
1653
- });
1654
- }, "de_DomainPrice");
1655
- var de_DomainPriceList = /* @__PURE__ */ __name((output, context) => {
1656
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1657
- return de_DomainPrice(entry, context);
1658
- });
1659
- return retVal;
1660
- }, "de_DomainPriceList");
1661
- var de_DomainSummary = /* @__PURE__ */ __name((output, context) => {
1662
- return (0, import_smithy_client.take)(output, {
1663
- AutoRenew: import_smithy_client.expectBoolean,
1664
- DomainName: import_smithy_client.expectString,
1665
- Expiry: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Expiry"),
1666
- TransferLock: import_smithy_client.expectBoolean
1667
- });
1668
- }, "de_DomainSummary");
1669
- var de_DomainSummaryList = /* @__PURE__ */ __name((output, context) => {
1670
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1671
- return de_DomainSummary(entry, context);
1672
- });
1673
- return retVal;
1674
- }, "de_DomainSummaryList");
1675
- var de_GetDomainDetailResponse = /* @__PURE__ */ __name((output, context) => {
1676
- return (0, import_smithy_client.take)(output, {
1677
- AbuseContactEmail: import_smithy_client.expectString,
1678
- AbuseContactPhone: import_smithy_client.expectString,
1679
- AdminContact: import_smithy_client._json,
1680
- AdminPrivacy: import_smithy_client.expectBoolean,
1681
- AutoRenew: import_smithy_client.expectBoolean,
1682
- BillingContact: import_smithy_client._json,
1683
- BillingPrivacy: import_smithy_client.expectBoolean,
1684
- CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
1685
- DnsSec: import_smithy_client.expectString,
1686
- DnssecKeys: import_smithy_client._json,
1687
- DomainName: import_smithy_client.expectString,
1688
- ExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpirationDate"),
1689
- Nameservers: import_smithy_client._json,
1690
- RegistrantContact: import_smithy_client._json,
1691
- RegistrantPrivacy: import_smithy_client.expectBoolean,
1692
- RegistrarName: import_smithy_client.expectString,
1693
- RegistrarUrl: import_smithy_client.expectString,
1694
- RegistryDomainId: import_smithy_client.expectString,
1695
- Reseller: import_smithy_client.expectString,
1696
- StatusList: import_smithy_client._json,
1697
- TechContact: import_smithy_client._json,
1698
- TechPrivacy: import_smithy_client.expectBoolean,
1699
- UpdatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedDate"),
1700
- WhoIsServer: import_smithy_client.expectString
1701
- });
1702
- }, "de_GetDomainDetailResponse");
1703
- var de_GetOperationDetailResponse = /* @__PURE__ */ __name((output, context) => {
1704
- return (0, import_smithy_client.take)(output, {
1705
- DomainName: import_smithy_client.expectString,
1706
- LastUpdatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedDate"),
1707
- Message: import_smithy_client.expectString,
1708
- OperationId: import_smithy_client.expectString,
1709
- Status: import_smithy_client.expectString,
1710
- StatusFlag: import_smithy_client.expectString,
1711
- SubmittedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "SubmittedDate"),
1712
- Type: import_smithy_client.expectString
1713
- });
1714
- }, "de_GetOperationDetailResponse");
1715
- var de_ListDomainsResponse = /* @__PURE__ */ __name((output, context) => {
1716
- return (0, import_smithy_client.take)(output, {
1717
- Domains: /* @__PURE__ */ __name((_) => de_DomainSummaryList(_, context), "Domains"),
1718
- NextPageMarker: import_smithy_client.expectString
1719
- });
1720
- }, "de_ListDomainsResponse");
1721
- var de_ListOperationsResponse = /* @__PURE__ */ __name((output, context) => {
1722
- return (0, import_smithy_client.take)(output, {
1723
- NextPageMarker: import_smithy_client.expectString,
1724
- Operations: /* @__PURE__ */ __name((_) => de_OperationSummaryList(_, context), "Operations")
1725
- });
1726
- }, "de_ListOperationsResponse");
1727
- var de_ListPricesResponse = /* @__PURE__ */ __name((output, context) => {
1728
- return (0, import_smithy_client.take)(output, {
1729
- NextPageMarker: import_smithy_client.expectString,
1730
- Prices: /* @__PURE__ */ __name((_) => de_DomainPriceList(_, context), "Prices")
1731
- });
1732
- }, "de_ListPricesResponse");
1733
- var de_OperationSummary = /* @__PURE__ */ __name((output, context) => {
1734
- return (0, import_smithy_client.take)(output, {
1735
- DomainName: import_smithy_client.expectString,
1736
- LastUpdatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedDate"),
1737
- Message: import_smithy_client.expectString,
1738
- OperationId: import_smithy_client.expectString,
1739
- Status: import_smithy_client.expectString,
1740
- StatusFlag: import_smithy_client.expectString,
1741
- SubmittedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "SubmittedDate"),
1742
- Type: import_smithy_client.expectString
1743
- });
1744
- }, "de_OperationSummary");
1745
- var de_OperationSummaryList = /* @__PURE__ */ __name((output, context) => {
1746
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1747
- return de_OperationSummary(entry, context);
1748
- });
1749
- return retVal;
1750
- }, "de_OperationSummaryList");
1751
- var de_PriceWithCurrency = /* @__PURE__ */ __name((output, context) => {
1752
- return (0, import_smithy_client.take)(output, {
1753
- Currency: import_smithy_client.expectString,
1754
- Price: import_smithy_client.limitedParseDouble
1755
- });
1756
- }, "de_PriceWithCurrency");
1757
- var de_ViewBillingResponse = /* @__PURE__ */ __name((output, context) => {
1758
- return (0, import_smithy_client.take)(output, {
1759
- BillingRecords: /* @__PURE__ */ __name((_) => de_BillingRecords(_, context), "BillingRecords"),
1760
- NextPageMarker: import_smithy_client.expectString
1761
- });
1762
- }, "de_ViewBillingResponse");
1763
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1764
- httpStatusCode: output.statusCode,
1765
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1766
- extendedRequestId: output.headers["x-amz-id-2"],
1767
- cfId: output.headers["x-amz-cf-id"]
1768
- }), "deserializeMetadata");
1769
- var throwDefaultError = (0, import_smithy_client.withBaseException)(Route53DomainsServiceException);
1770
- var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1771
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1772
- const contents = {
1773
- protocol,
1774
- hostname,
1775
- port,
1776
- method: "POST",
1777
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1778
- headers
1779
- };
1780
- if (resolvedHostname !== void 0) {
1781
- contents.hostname = resolvedHostname;
1782
- }
1783
- if (body !== void 0) {
1784
- contents.body = body;
1785
- }
1786
- return new import_protocol_http.HttpRequest(contents);
1787
- }, "buildHttpRpcRequest");
1788
- function sharedHeaders(operation) {
1789
- return {
1790
- "content-type": "application/x-amz-json-1.1",
1791
- "x-amz-target": `Route53Domains_v20140515.${operation}`
1792
- };
1793
- }
1794
- __name(sharedHeaders, "sharedHeaders");
1795
-
1796
- // src/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts
1797
- var AcceptDomainTransferFromAnotherAwsAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1798
- return [
1799
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1800
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1801
- ];
1802
- }).s("Route53Domains_v20140515", "AcceptDomainTransferFromAnotherAwsAccount", {}).n("Route53DomainsClient", "AcceptDomainTransferFromAnotherAwsAccountCommand").f(AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog, void 0).ser(se_AcceptDomainTransferFromAnotherAwsAccountCommand).de(de_AcceptDomainTransferFromAnotherAwsAccountCommand).build() {
1803
- static {
1804
- __name(this, "AcceptDomainTransferFromAnotherAwsAccountCommand");
1805
- }
1358
+ return smithyClient.decorateServiceException(exception, body);
1806
1359
  };
1807
-
1808
- // src/commands/AssociateDelegationSignerToDomainCommand.ts
1809
-
1810
-
1811
-
1812
- var AssociateDelegationSignerToDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1813
- return [
1814
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1815
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1816
- ];
1817
- }).s("Route53Domains_v20140515", "AssociateDelegationSignerToDomain", {}).n("Route53DomainsClient", "AssociateDelegationSignerToDomainCommand").f(void 0, void 0).ser(se_AssociateDelegationSignerToDomainCommand).de(de_AssociateDelegationSignerToDomainCommand).build() {
1818
- static {
1819
- __name(this, "AssociateDelegationSignerToDomainCommand");
1820
- }
1360
+ const de_InvalidInputRes = async (parsedOutput, context) => {
1361
+ const body = parsedOutput.body;
1362
+ const deserialized = smithyClient._json(body);
1363
+ const exception = new InvalidInput({
1364
+ $metadata: deserializeMetadata(parsedOutput),
1365
+ ...deserialized,
1366
+ });
1367
+ return smithyClient.decorateServiceException(exception, body);
1821
1368
  };
1822
-
1823
- // src/commands/CancelDomainTransferToAnotherAwsAccountCommand.ts
1824
-
1825
-
1826
-
1827
- var CancelDomainTransferToAnotherAwsAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1828
- return [
1829
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1830
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1831
- ];
1832
- }).s("Route53Domains_v20140515", "CancelDomainTransferToAnotherAwsAccount", {}).n("Route53DomainsClient", "CancelDomainTransferToAnotherAwsAccountCommand").f(void 0, void 0).ser(se_CancelDomainTransferToAnotherAwsAccountCommand).de(de_CancelDomainTransferToAnotherAwsAccountCommand).build() {
1833
- static {
1834
- __name(this, "CancelDomainTransferToAnotherAwsAccountCommand");
1835
- }
1369
+ const de_OperationLimitExceededRes = async (parsedOutput, context) => {
1370
+ const body = parsedOutput.body;
1371
+ const deserialized = smithyClient._json(body);
1372
+ const exception = new OperationLimitExceeded({
1373
+ $metadata: deserializeMetadata(parsedOutput),
1374
+ ...deserialized,
1375
+ });
1376
+ return smithyClient.decorateServiceException(exception, body);
1836
1377
  };
1837
-
1838
- // src/commands/CheckDomainAvailabilityCommand.ts
1839
-
1840
-
1841
-
1842
- var CheckDomainAvailabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1843
- return [
1844
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1845
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1846
- ];
1847
- }).s("Route53Domains_v20140515", "CheckDomainAvailability", {}).n("Route53DomainsClient", "CheckDomainAvailabilityCommand").f(void 0, void 0).ser(se_CheckDomainAvailabilityCommand).de(de_CheckDomainAvailabilityCommand).build() {
1848
- static {
1849
- __name(this, "CheckDomainAvailabilityCommand");
1850
- }
1378
+ const de_TLDRulesViolationRes = async (parsedOutput, context) => {
1379
+ const body = parsedOutput.body;
1380
+ const deserialized = smithyClient._json(body);
1381
+ const exception = new TLDRulesViolation({
1382
+ $metadata: deserializeMetadata(parsedOutput),
1383
+ ...deserialized,
1384
+ });
1385
+ return smithyClient.decorateServiceException(exception, body);
1851
1386
  };
1852
-
1853
- // src/commands/CheckDomainTransferabilityCommand.ts
1854
-
1855
-
1856
-
1857
- var CheckDomainTransferabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1858
- return [
1859
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1860
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1861
- ];
1862
- }).s("Route53Domains_v20140515", "CheckDomainTransferability", {}).n("Route53DomainsClient", "CheckDomainTransferabilityCommand").f(CheckDomainTransferabilityRequestFilterSensitiveLog, void 0).ser(se_CheckDomainTransferabilityCommand).de(de_CheckDomainTransferabilityCommand).build() {
1863
- static {
1864
- __name(this, "CheckDomainTransferabilityCommand");
1865
- }
1387
+ const de_UnsupportedTLDRes = async (parsedOutput, context) => {
1388
+ const body = parsedOutput.body;
1389
+ const deserialized = smithyClient._json(body);
1390
+ const exception = new UnsupportedTLD({
1391
+ $metadata: deserializeMetadata(parsedOutput),
1392
+ ...deserialized,
1393
+ });
1394
+ return smithyClient.decorateServiceException(exception, body);
1866
1395
  };
1867
-
1868
- // src/commands/DeleteDomainCommand.ts
1869
-
1870
-
1871
-
1872
- var DeleteDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1873
- return [
1874
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1875
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1876
- ];
1877
- }).s("Route53Domains_v20140515", "DeleteDomain", {}).n("Route53DomainsClient", "DeleteDomainCommand").f(void 0, void 0).ser(se_DeleteDomainCommand).de(de_DeleteDomainCommand).build() {
1878
- static {
1879
- __name(this, "DeleteDomainCommand");
1880
- }
1396
+ const se_Consent = (input, context) => {
1397
+ return smithyClient.take(input, {
1398
+ Currency: [],
1399
+ MaxPrice: smithyClient.serializeFloat,
1400
+ });
1881
1401
  };
1882
-
1883
- // src/commands/DeleteTagsForDomainCommand.ts
1884
-
1885
-
1886
-
1887
- var DeleteTagsForDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1888
- return [
1889
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1890
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1891
- ];
1892
- }).s("Route53Domains_v20140515", "DeleteTagsForDomain", {}).n("Route53DomainsClient", "DeleteTagsForDomainCommand").f(void 0, void 0).ser(se_DeleteTagsForDomainCommand).de(de_DeleteTagsForDomainCommand).build() {
1893
- static {
1894
- __name(this, "DeleteTagsForDomainCommand");
1895
- }
1402
+ const se_ListOperationsRequest = (input, context) => {
1403
+ return smithyClient.take(input, {
1404
+ Marker: [],
1405
+ MaxItems: [],
1406
+ SortBy: [],
1407
+ SortOrder: [],
1408
+ Status: smithyClient._json,
1409
+ SubmittedSince: (_) => _.getTime() / 1_000,
1410
+ Type: smithyClient._json,
1411
+ });
1896
1412
  };
1897
-
1898
- // src/commands/DisableDomainAutoRenewCommand.ts
1899
-
1900
-
1901
-
1902
- var DisableDomainAutoRenewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1903
- return [
1904
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1905
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1906
- ];
1907
- }).s("Route53Domains_v20140515", "DisableDomainAutoRenew", {}).n("Route53DomainsClient", "DisableDomainAutoRenewCommand").f(void 0, void 0).ser(se_DisableDomainAutoRenewCommand).de(de_DisableDomainAutoRenewCommand).build() {
1908
- static {
1909
- __name(this, "DisableDomainAutoRenewCommand");
1910
- }
1413
+ const se_UpdateDomainContactRequest = (input, context) => {
1414
+ return smithyClient.take(input, {
1415
+ AdminContact: smithyClient._json,
1416
+ BillingContact: smithyClient._json,
1417
+ Consent: (_) => se_Consent(_),
1418
+ DomainName: [],
1419
+ RegistrantContact: smithyClient._json,
1420
+ TechContact: smithyClient._json,
1421
+ });
1911
1422
  };
1912
-
1913
- // src/commands/DisableDomainTransferLockCommand.ts
1914
-
1915
-
1916
-
1917
- var DisableDomainTransferLockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1918
- return [
1919
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1920
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1921
- ];
1922
- }).s("Route53Domains_v20140515", "DisableDomainTransferLock", {}).n("Route53DomainsClient", "DisableDomainTransferLockCommand").f(void 0, void 0).ser(se_DisableDomainTransferLockCommand).de(de_DisableDomainTransferLockCommand).build() {
1923
- static {
1924
- __name(this, "DisableDomainTransferLockCommand");
1925
- }
1423
+ const se_ViewBillingRequest = (input, context) => {
1424
+ return smithyClient.take(input, {
1425
+ End: (_) => _.getTime() / 1_000,
1426
+ Marker: [],
1427
+ MaxItems: [],
1428
+ Start: (_) => _.getTime() / 1_000,
1429
+ });
1926
1430
  };
1927
-
1928
- // src/commands/DisassociateDelegationSignerFromDomainCommand.ts
1929
-
1930
-
1931
-
1932
- var DisassociateDelegationSignerFromDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1933
- return [
1934
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1935
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1936
- ];
1937
- }).s("Route53Domains_v20140515", "DisassociateDelegationSignerFromDomain", {}).n("Route53DomainsClient", "DisassociateDelegationSignerFromDomainCommand").f(void 0, void 0).ser(se_DisassociateDelegationSignerFromDomainCommand).de(de_DisassociateDelegationSignerFromDomainCommand).build() {
1938
- static {
1939
- __name(this, "DisassociateDelegationSignerFromDomainCommand");
1940
- }
1431
+ const de_BillingRecord = (output, context) => {
1432
+ return smithyClient.take(output, {
1433
+ BillDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1434
+ DomainName: smithyClient.expectString,
1435
+ InvoiceId: smithyClient.expectString,
1436
+ Operation: smithyClient.expectString,
1437
+ Price: smithyClient.limitedParseDouble,
1438
+ });
1941
1439
  };
1942
-
1943
- // src/commands/EnableDomainAutoRenewCommand.ts
1944
-
1945
-
1946
-
1947
- var EnableDomainAutoRenewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1948
- return [
1949
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1950
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1951
- ];
1952
- }).s("Route53Domains_v20140515", "EnableDomainAutoRenew", {}).n("Route53DomainsClient", "EnableDomainAutoRenewCommand").f(void 0, void 0).ser(se_EnableDomainAutoRenewCommand).de(de_EnableDomainAutoRenewCommand).build() {
1953
- static {
1954
- __name(this, "EnableDomainAutoRenewCommand");
1955
- }
1440
+ const de_BillingRecords = (output, context) => {
1441
+ const retVal = (output || [])
1442
+ .filter((e) => e != null)
1443
+ .map((entry) => {
1444
+ return de_BillingRecord(entry);
1445
+ });
1446
+ return retVal;
1956
1447
  };
1957
-
1958
- // src/commands/EnableDomainTransferLockCommand.ts
1959
-
1960
-
1961
-
1962
- var EnableDomainTransferLockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1963
- return [
1964
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1965
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1966
- ];
1967
- }).s("Route53Domains_v20140515", "EnableDomainTransferLock", {}).n("Route53DomainsClient", "EnableDomainTransferLockCommand").f(void 0, void 0).ser(se_EnableDomainTransferLockCommand).de(de_EnableDomainTransferLockCommand).build() {
1968
- static {
1969
- __name(this, "EnableDomainTransferLockCommand");
1970
- }
1448
+ const de_DomainPrice = (output, context) => {
1449
+ return smithyClient.take(output, {
1450
+ ChangeOwnershipPrice: (_) => de_PriceWithCurrency(_),
1451
+ Name: smithyClient.expectString,
1452
+ RegistrationPrice: (_) => de_PriceWithCurrency(_),
1453
+ RenewalPrice: (_) => de_PriceWithCurrency(_),
1454
+ RestorationPrice: (_) => de_PriceWithCurrency(_),
1455
+ TransferPrice: (_) => de_PriceWithCurrency(_),
1456
+ });
1971
1457
  };
1972
-
1973
- // src/commands/GetContactReachabilityStatusCommand.ts
1974
-
1975
-
1976
-
1977
- var GetContactReachabilityStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1978
- return [
1979
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1980
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1981
- ];
1982
- }).s("Route53Domains_v20140515", "GetContactReachabilityStatus", {}).n("Route53DomainsClient", "GetContactReachabilityStatusCommand").f(void 0, void 0).ser(se_GetContactReachabilityStatusCommand).de(de_GetContactReachabilityStatusCommand).build() {
1983
- static {
1984
- __name(this, "GetContactReachabilityStatusCommand");
1985
- }
1458
+ const de_DomainPriceList = (output, context) => {
1459
+ const retVal = (output || [])
1460
+ .filter((e) => e != null)
1461
+ .map((entry) => {
1462
+ return de_DomainPrice(entry);
1463
+ });
1464
+ return retVal;
1986
1465
  };
1987
-
1988
- // src/commands/GetDomainDetailCommand.ts
1989
-
1990
-
1991
-
1992
- var GetDomainDetailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1993
- return [
1994
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1995
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1996
- ];
1997
- }).s("Route53Domains_v20140515", "GetDomainDetail", {}).n("Route53DomainsClient", "GetDomainDetailCommand").f(void 0, GetDomainDetailResponseFilterSensitiveLog).ser(se_GetDomainDetailCommand).de(de_GetDomainDetailCommand).build() {
1998
- static {
1999
- __name(this, "GetDomainDetailCommand");
2000
- }
1466
+ const de_DomainSummary = (output, context) => {
1467
+ return smithyClient.take(output, {
1468
+ AutoRenew: smithyClient.expectBoolean,
1469
+ DomainName: smithyClient.expectString,
1470
+ Expiry: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1471
+ TransferLock: smithyClient.expectBoolean,
1472
+ });
2001
1473
  };
2002
-
2003
- // src/commands/GetDomainSuggestionsCommand.ts
2004
-
2005
-
2006
-
2007
- var GetDomainSuggestionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2008
- return [
2009
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2010
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2011
- ];
2012
- }).s("Route53Domains_v20140515", "GetDomainSuggestions", {}).n("Route53DomainsClient", "GetDomainSuggestionsCommand").f(void 0, void 0).ser(se_GetDomainSuggestionsCommand).de(de_GetDomainSuggestionsCommand).build() {
2013
- static {
2014
- __name(this, "GetDomainSuggestionsCommand");
2015
- }
1474
+ const de_DomainSummaryList = (output, context) => {
1475
+ const retVal = (output || [])
1476
+ .filter((e) => e != null)
1477
+ .map((entry) => {
1478
+ return de_DomainSummary(entry);
1479
+ });
1480
+ return retVal;
2016
1481
  };
2017
-
2018
- // src/commands/GetOperationDetailCommand.ts
2019
-
2020
-
2021
-
2022
- var GetOperationDetailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2023
- return [
2024
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2025
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2026
- ];
2027
- }).s("Route53Domains_v20140515", "GetOperationDetail", {}).n("Route53DomainsClient", "GetOperationDetailCommand").f(void 0, void 0).ser(se_GetOperationDetailCommand).de(de_GetOperationDetailCommand).build() {
2028
- static {
2029
- __name(this, "GetOperationDetailCommand");
2030
- }
1482
+ const de_GetDomainDetailResponse = (output, context) => {
1483
+ return smithyClient.take(output, {
1484
+ AbuseContactEmail: smithyClient.expectString,
1485
+ AbuseContactPhone: smithyClient.expectString,
1486
+ AdminContact: smithyClient._json,
1487
+ AdminPrivacy: smithyClient.expectBoolean,
1488
+ AutoRenew: smithyClient.expectBoolean,
1489
+ BillingContact: smithyClient._json,
1490
+ BillingPrivacy: smithyClient.expectBoolean,
1491
+ CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1492
+ DnsSec: smithyClient.expectString,
1493
+ DnssecKeys: smithyClient._json,
1494
+ DomainName: smithyClient.expectString,
1495
+ ExpirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1496
+ Nameservers: smithyClient._json,
1497
+ RegistrantContact: smithyClient._json,
1498
+ RegistrantPrivacy: smithyClient.expectBoolean,
1499
+ RegistrarName: smithyClient.expectString,
1500
+ RegistrarUrl: smithyClient.expectString,
1501
+ RegistryDomainId: smithyClient.expectString,
1502
+ Reseller: smithyClient.expectString,
1503
+ StatusList: smithyClient._json,
1504
+ TechContact: smithyClient._json,
1505
+ TechPrivacy: smithyClient.expectBoolean,
1506
+ UpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1507
+ WhoIsServer: smithyClient.expectString,
1508
+ });
2031
1509
  };
2032
-
2033
- // src/commands/ListDomainsCommand.ts
2034
-
2035
-
2036
-
2037
- var ListDomainsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2038
- return [
2039
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2040
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2041
- ];
2042
- }).s("Route53Domains_v20140515", "ListDomains", {}).n("Route53DomainsClient", "ListDomainsCommand").f(void 0, void 0).ser(se_ListDomainsCommand).de(de_ListDomainsCommand).build() {
2043
- static {
2044
- __name(this, "ListDomainsCommand");
2045
- }
1510
+ const de_GetOperationDetailResponse = (output, context) => {
1511
+ return smithyClient.take(output, {
1512
+ DomainName: smithyClient.expectString,
1513
+ LastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1514
+ Message: smithyClient.expectString,
1515
+ OperationId: smithyClient.expectString,
1516
+ Status: smithyClient.expectString,
1517
+ StatusFlag: smithyClient.expectString,
1518
+ SubmittedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1519
+ Type: smithyClient.expectString,
1520
+ });
2046
1521
  };
2047
-
2048
- // src/commands/ListOperationsCommand.ts
2049
-
2050
-
2051
-
2052
- var ListOperationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2053
- return [
2054
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2055
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2056
- ];
2057
- }).s("Route53Domains_v20140515", "ListOperations", {}).n("Route53DomainsClient", "ListOperationsCommand").f(void 0, void 0).ser(se_ListOperationsCommand).de(de_ListOperationsCommand).build() {
2058
- static {
2059
- __name(this, "ListOperationsCommand");
2060
- }
1522
+ const de_ListDomainsResponse = (output, context) => {
1523
+ return smithyClient.take(output, {
1524
+ Domains: (_) => de_DomainSummaryList(_),
1525
+ NextPageMarker: smithyClient.expectString,
1526
+ });
2061
1527
  };
2062
-
2063
- // src/commands/ListPricesCommand.ts
2064
-
2065
-
2066
-
2067
- var ListPricesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2068
- return [
2069
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2070
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2071
- ];
2072
- }).s("Route53Domains_v20140515", "ListPrices", {}).n("Route53DomainsClient", "ListPricesCommand").f(void 0, void 0).ser(se_ListPricesCommand).de(de_ListPricesCommand).build() {
2073
- static {
2074
- __name(this, "ListPricesCommand");
2075
- }
1528
+ const de_ListOperationsResponse = (output, context) => {
1529
+ return smithyClient.take(output, {
1530
+ NextPageMarker: smithyClient.expectString,
1531
+ Operations: (_) => de_OperationSummaryList(_),
1532
+ });
2076
1533
  };
2077
-
2078
- // src/commands/ListTagsForDomainCommand.ts
2079
-
2080
-
2081
-
2082
- var ListTagsForDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2083
- return [
2084
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2085
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2086
- ];
2087
- }).s("Route53Domains_v20140515", "ListTagsForDomain", {}).n("Route53DomainsClient", "ListTagsForDomainCommand").f(void 0, void 0).ser(se_ListTagsForDomainCommand).de(de_ListTagsForDomainCommand).build() {
2088
- static {
2089
- __name(this, "ListTagsForDomainCommand");
2090
- }
1534
+ const de_ListPricesResponse = (output, context) => {
1535
+ return smithyClient.take(output, {
1536
+ NextPageMarker: smithyClient.expectString,
1537
+ Prices: (_) => de_DomainPriceList(_),
1538
+ });
2091
1539
  };
2092
-
2093
- // src/commands/PushDomainCommand.ts
2094
-
2095
-
2096
-
2097
- var PushDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2098
- return [
2099
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2100
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2101
- ];
2102
- }).s("Route53Domains_v20140515", "PushDomain", {}).n("Route53DomainsClient", "PushDomainCommand").f(void 0, void 0).ser(se_PushDomainCommand).de(de_PushDomainCommand).build() {
2103
- static {
2104
- __name(this, "PushDomainCommand");
2105
- }
1540
+ const de_OperationSummary = (output, context) => {
1541
+ return smithyClient.take(output, {
1542
+ DomainName: smithyClient.expectString,
1543
+ LastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1544
+ Message: smithyClient.expectString,
1545
+ OperationId: smithyClient.expectString,
1546
+ Status: smithyClient.expectString,
1547
+ StatusFlag: smithyClient.expectString,
1548
+ SubmittedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1549
+ Type: smithyClient.expectString,
1550
+ });
2106
1551
  };
2107
-
2108
- // src/commands/RegisterDomainCommand.ts
2109
-
2110
-
2111
-
2112
- var RegisterDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2113
- return [
2114
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2115
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2116
- ];
2117
- }).s("Route53Domains_v20140515", "RegisterDomain", {}).n("Route53DomainsClient", "RegisterDomainCommand").f(RegisterDomainRequestFilterSensitiveLog, void 0).ser(se_RegisterDomainCommand).de(de_RegisterDomainCommand).build() {
2118
- static {
2119
- __name(this, "RegisterDomainCommand");
2120
- }
1552
+ const de_OperationSummaryList = (output, context) => {
1553
+ const retVal = (output || [])
1554
+ .filter((e) => e != null)
1555
+ .map((entry) => {
1556
+ return de_OperationSummary(entry);
1557
+ });
1558
+ return retVal;
2121
1559
  };
2122
-
2123
- // src/commands/RejectDomainTransferFromAnotherAwsAccountCommand.ts
2124
-
2125
-
2126
-
2127
- var RejectDomainTransferFromAnotherAwsAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2128
- return [
2129
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2130
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2131
- ];
2132
- }).s("Route53Domains_v20140515", "RejectDomainTransferFromAnotherAwsAccount", {}).n("Route53DomainsClient", "RejectDomainTransferFromAnotherAwsAccountCommand").f(void 0, void 0).ser(se_RejectDomainTransferFromAnotherAwsAccountCommand).de(de_RejectDomainTransferFromAnotherAwsAccountCommand).build() {
2133
- static {
2134
- __name(this, "RejectDomainTransferFromAnotherAwsAccountCommand");
2135
- }
1560
+ const de_PriceWithCurrency = (output, context) => {
1561
+ return smithyClient.take(output, {
1562
+ Currency: smithyClient.expectString,
1563
+ Price: smithyClient.limitedParseDouble,
1564
+ });
2136
1565
  };
2137
-
2138
- // src/commands/RenewDomainCommand.ts
2139
-
2140
-
2141
-
2142
- var RenewDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2143
- return [
2144
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2145
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2146
- ];
2147
- }).s("Route53Domains_v20140515", "RenewDomain", {}).n("Route53DomainsClient", "RenewDomainCommand").f(void 0, void 0).ser(se_RenewDomainCommand).de(de_RenewDomainCommand).build() {
2148
- static {
2149
- __name(this, "RenewDomainCommand");
2150
- }
1566
+ const de_ViewBillingResponse = (output, context) => {
1567
+ return smithyClient.take(output, {
1568
+ BillingRecords: (_) => de_BillingRecords(_),
1569
+ NextPageMarker: smithyClient.expectString,
1570
+ });
2151
1571
  };
2152
-
2153
- // src/commands/ResendContactReachabilityEmailCommand.ts
2154
-
2155
-
2156
-
2157
- var ResendContactReachabilityEmailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2158
- return [
2159
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2160
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2161
- ];
2162
- }).s("Route53Domains_v20140515", "ResendContactReachabilityEmail", {}).n("Route53DomainsClient", "ResendContactReachabilityEmailCommand").f(void 0, ResendContactReachabilityEmailResponseFilterSensitiveLog).ser(se_ResendContactReachabilityEmailCommand).de(de_ResendContactReachabilityEmailCommand).build() {
2163
- static {
2164
- __name(this, "ResendContactReachabilityEmailCommand");
2165
- }
1572
+ const deserializeMetadata = (output) => ({
1573
+ httpStatusCode: output.statusCode,
1574
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1575
+ extendedRequestId: output.headers["x-amz-id-2"],
1576
+ cfId: output.headers["x-amz-cf-id"],
1577
+ });
1578
+ const throwDefaultError = smithyClient.withBaseException(Route53DomainsServiceException);
1579
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1580
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1581
+ const contents = {
1582
+ protocol,
1583
+ hostname,
1584
+ port,
1585
+ method: "POST",
1586
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1587
+ headers,
1588
+ };
1589
+ if (body !== undefined) {
1590
+ contents.body = body;
1591
+ }
1592
+ return new protocolHttp.HttpRequest(contents);
2166
1593
  };
1594
+ function sharedHeaders(operation) {
1595
+ return {
1596
+ "content-type": "application/x-amz-json-1.1",
1597
+ "x-amz-target": `Route53Domains_v20140515.${operation}`,
1598
+ };
1599
+ }
2167
1600
 
2168
- // src/commands/ResendOperationAuthorizationCommand.ts
2169
-
1601
+ class AcceptDomainTransferFromAnotherAwsAccountCommand extends smithyClient.Command
1602
+ .classBuilder()
1603
+ .ep(commonParams)
1604
+ .m(function (Command, cs, config, o) {
1605
+ return [
1606
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1607
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1608
+ ];
1609
+ })
1610
+ .s("Route53Domains_v20140515", "AcceptDomainTransferFromAnotherAwsAccount", {})
1611
+ .n("Route53DomainsClient", "AcceptDomainTransferFromAnotherAwsAccountCommand")
1612
+ .f(AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog, void 0)
1613
+ .ser(se_AcceptDomainTransferFromAnotherAwsAccountCommand)
1614
+ .de(de_AcceptDomainTransferFromAnotherAwsAccountCommand)
1615
+ .build() {
1616
+ }
2170
1617
 
1618
+ class AssociateDelegationSignerToDomainCommand extends smithyClient.Command
1619
+ .classBuilder()
1620
+ .ep(commonParams)
1621
+ .m(function (Command, cs, config, o) {
1622
+ return [
1623
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1624
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1625
+ ];
1626
+ })
1627
+ .s("Route53Domains_v20140515", "AssociateDelegationSignerToDomain", {})
1628
+ .n("Route53DomainsClient", "AssociateDelegationSignerToDomainCommand")
1629
+ .f(void 0, void 0)
1630
+ .ser(se_AssociateDelegationSignerToDomainCommand)
1631
+ .de(de_AssociateDelegationSignerToDomainCommand)
1632
+ .build() {
1633
+ }
2171
1634
 
2172
- var ResendOperationAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2173
- return [
2174
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2175
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2176
- ];
2177
- }).s("Route53Domains_v20140515", "ResendOperationAuthorization", {}).n("Route53DomainsClient", "ResendOperationAuthorizationCommand").f(void 0, void 0).ser(se_ResendOperationAuthorizationCommand).de(de_ResendOperationAuthorizationCommand).build() {
2178
- static {
2179
- __name(this, "ResendOperationAuthorizationCommand");
2180
- }
2181
- };
1635
+ class CancelDomainTransferToAnotherAwsAccountCommand extends smithyClient.Command
1636
+ .classBuilder()
1637
+ .ep(commonParams)
1638
+ .m(function (Command, cs, config, o) {
1639
+ return [
1640
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1641
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1642
+ ];
1643
+ })
1644
+ .s("Route53Domains_v20140515", "CancelDomainTransferToAnotherAwsAccount", {})
1645
+ .n("Route53DomainsClient", "CancelDomainTransferToAnotherAwsAccountCommand")
1646
+ .f(void 0, void 0)
1647
+ .ser(se_CancelDomainTransferToAnotherAwsAccountCommand)
1648
+ .de(de_CancelDomainTransferToAnotherAwsAccountCommand)
1649
+ .build() {
1650
+ }
2182
1651
 
2183
- // src/commands/RetrieveDomainAuthCodeCommand.ts
1652
+ class CheckDomainAvailabilityCommand extends smithyClient.Command
1653
+ .classBuilder()
1654
+ .ep(commonParams)
1655
+ .m(function (Command, cs, config, o) {
1656
+ return [
1657
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1658
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1659
+ ];
1660
+ })
1661
+ .s("Route53Domains_v20140515", "CheckDomainAvailability", {})
1662
+ .n("Route53DomainsClient", "CheckDomainAvailabilityCommand")
1663
+ .f(void 0, void 0)
1664
+ .ser(se_CheckDomainAvailabilityCommand)
1665
+ .de(de_CheckDomainAvailabilityCommand)
1666
+ .build() {
1667
+ }
2184
1668
 
1669
+ class CheckDomainTransferabilityCommand extends smithyClient.Command
1670
+ .classBuilder()
1671
+ .ep(commonParams)
1672
+ .m(function (Command, cs, config, o) {
1673
+ return [
1674
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1675
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1676
+ ];
1677
+ })
1678
+ .s("Route53Domains_v20140515", "CheckDomainTransferability", {})
1679
+ .n("Route53DomainsClient", "CheckDomainTransferabilityCommand")
1680
+ .f(CheckDomainTransferabilityRequestFilterSensitiveLog, void 0)
1681
+ .ser(se_CheckDomainTransferabilityCommand)
1682
+ .de(de_CheckDomainTransferabilityCommand)
1683
+ .build() {
1684
+ }
2185
1685
 
1686
+ class DeleteDomainCommand extends smithyClient.Command
1687
+ .classBuilder()
1688
+ .ep(commonParams)
1689
+ .m(function (Command, cs, config, o) {
1690
+ return [
1691
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1692
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1693
+ ];
1694
+ })
1695
+ .s("Route53Domains_v20140515", "DeleteDomain", {})
1696
+ .n("Route53DomainsClient", "DeleteDomainCommand")
1697
+ .f(void 0, void 0)
1698
+ .ser(se_DeleteDomainCommand)
1699
+ .de(de_DeleteDomainCommand)
1700
+ .build() {
1701
+ }
2186
1702
 
2187
- var RetrieveDomainAuthCodeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2188
- return [
2189
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2190
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2191
- ];
2192
- }).s("Route53Domains_v20140515", "RetrieveDomainAuthCode", {}).n("Route53DomainsClient", "RetrieveDomainAuthCodeCommand").f(void 0, RetrieveDomainAuthCodeResponseFilterSensitiveLog).ser(se_RetrieveDomainAuthCodeCommand).de(de_RetrieveDomainAuthCodeCommand).build() {
2193
- static {
2194
- __name(this, "RetrieveDomainAuthCodeCommand");
2195
- }
2196
- };
1703
+ class DeleteTagsForDomainCommand extends smithyClient.Command
1704
+ .classBuilder()
1705
+ .ep(commonParams)
1706
+ .m(function (Command, cs, config, o) {
1707
+ return [
1708
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1709
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1710
+ ];
1711
+ })
1712
+ .s("Route53Domains_v20140515", "DeleteTagsForDomain", {})
1713
+ .n("Route53DomainsClient", "DeleteTagsForDomainCommand")
1714
+ .f(void 0, void 0)
1715
+ .ser(se_DeleteTagsForDomainCommand)
1716
+ .de(de_DeleteTagsForDomainCommand)
1717
+ .build() {
1718
+ }
2197
1719
 
2198
- // src/commands/TransferDomainCommand.ts
1720
+ class DisableDomainAutoRenewCommand extends smithyClient.Command
1721
+ .classBuilder()
1722
+ .ep(commonParams)
1723
+ .m(function (Command, cs, config, o) {
1724
+ return [
1725
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1726
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1727
+ ];
1728
+ })
1729
+ .s("Route53Domains_v20140515", "DisableDomainAutoRenew", {})
1730
+ .n("Route53DomainsClient", "DisableDomainAutoRenewCommand")
1731
+ .f(void 0, void 0)
1732
+ .ser(se_DisableDomainAutoRenewCommand)
1733
+ .de(de_DisableDomainAutoRenewCommand)
1734
+ .build() {
1735
+ }
2199
1736
 
1737
+ class DisableDomainTransferLockCommand extends smithyClient.Command
1738
+ .classBuilder()
1739
+ .ep(commonParams)
1740
+ .m(function (Command, cs, config, o) {
1741
+ return [
1742
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1743
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1744
+ ];
1745
+ })
1746
+ .s("Route53Domains_v20140515", "DisableDomainTransferLock", {})
1747
+ .n("Route53DomainsClient", "DisableDomainTransferLockCommand")
1748
+ .f(void 0, void 0)
1749
+ .ser(se_DisableDomainTransferLockCommand)
1750
+ .de(de_DisableDomainTransferLockCommand)
1751
+ .build() {
1752
+ }
2200
1753
 
1754
+ class DisassociateDelegationSignerFromDomainCommand extends smithyClient.Command
1755
+ .classBuilder()
1756
+ .ep(commonParams)
1757
+ .m(function (Command, cs, config, o) {
1758
+ return [
1759
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1760
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1761
+ ];
1762
+ })
1763
+ .s("Route53Domains_v20140515", "DisassociateDelegationSignerFromDomain", {})
1764
+ .n("Route53DomainsClient", "DisassociateDelegationSignerFromDomainCommand")
1765
+ .f(void 0, void 0)
1766
+ .ser(se_DisassociateDelegationSignerFromDomainCommand)
1767
+ .de(de_DisassociateDelegationSignerFromDomainCommand)
1768
+ .build() {
1769
+ }
2201
1770
 
2202
- var TransferDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2203
- return [
2204
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2205
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2206
- ];
2207
- }).s("Route53Domains_v20140515", "TransferDomain", {}).n("Route53DomainsClient", "TransferDomainCommand").f(TransferDomainRequestFilterSensitiveLog, void 0).ser(se_TransferDomainCommand).de(de_TransferDomainCommand).build() {
2208
- static {
2209
- __name(this, "TransferDomainCommand");
2210
- }
2211
- };
1771
+ class EnableDomainAutoRenewCommand extends smithyClient.Command
1772
+ .classBuilder()
1773
+ .ep(commonParams)
1774
+ .m(function (Command, cs, config, o) {
1775
+ return [
1776
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1777
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1778
+ ];
1779
+ })
1780
+ .s("Route53Domains_v20140515", "EnableDomainAutoRenew", {})
1781
+ .n("Route53DomainsClient", "EnableDomainAutoRenewCommand")
1782
+ .f(void 0, void 0)
1783
+ .ser(se_EnableDomainAutoRenewCommand)
1784
+ .de(de_EnableDomainAutoRenewCommand)
1785
+ .build() {
1786
+ }
2212
1787
 
2213
- // src/commands/TransferDomainToAnotherAwsAccountCommand.ts
1788
+ class EnableDomainTransferLockCommand extends smithyClient.Command
1789
+ .classBuilder()
1790
+ .ep(commonParams)
1791
+ .m(function (Command, cs, config, o) {
1792
+ return [
1793
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1794
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1795
+ ];
1796
+ })
1797
+ .s("Route53Domains_v20140515", "EnableDomainTransferLock", {})
1798
+ .n("Route53DomainsClient", "EnableDomainTransferLockCommand")
1799
+ .f(void 0, void 0)
1800
+ .ser(se_EnableDomainTransferLockCommand)
1801
+ .de(de_EnableDomainTransferLockCommand)
1802
+ .build() {
1803
+ }
2214
1804
 
1805
+ class GetContactReachabilityStatusCommand extends smithyClient.Command
1806
+ .classBuilder()
1807
+ .ep(commonParams)
1808
+ .m(function (Command, cs, config, o) {
1809
+ return [
1810
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1811
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1812
+ ];
1813
+ })
1814
+ .s("Route53Domains_v20140515", "GetContactReachabilityStatus", {})
1815
+ .n("Route53DomainsClient", "GetContactReachabilityStatusCommand")
1816
+ .f(void 0, void 0)
1817
+ .ser(se_GetContactReachabilityStatusCommand)
1818
+ .de(de_GetContactReachabilityStatusCommand)
1819
+ .build() {
1820
+ }
2215
1821
 
1822
+ class GetDomainDetailCommand extends smithyClient.Command
1823
+ .classBuilder()
1824
+ .ep(commonParams)
1825
+ .m(function (Command, cs, config, o) {
1826
+ return [
1827
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1828
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1829
+ ];
1830
+ })
1831
+ .s("Route53Domains_v20140515", "GetDomainDetail", {})
1832
+ .n("Route53DomainsClient", "GetDomainDetailCommand")
1833
+ .f(void 0, GetDomainDetailResponseFilterSensitiveLog)
1834
+ .ser(se_GetDomainDetailCommand)
1835
+ .de(de_GetDomainDetailCommand)
1836
+ .build() {
1837
+ }
2216
1838
 
2217
- var TransferDomainToAnotherAwsAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2218
- return [
2219
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2220
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2221
- ];
2222
- }).s("Route53Domains_v20140515", "TransferDomainToAnotherAwsAccount", {}).n("Route53DomainsClient", "TransferDomainToAnotherAwsAccountCommand").f(void 0, TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog).ser(se_TransferDomainToAnotherAwsAccountCommand).de(de_TransferDomainToAnotherAwsAccountCommand).build() {
2223
- static {
2224
- __name(this, "TransferDomainToAnotherAwsAccountCommand");
2225
- }
2226
- };
1839
+ class GetDomainSuggestionsCommand extends smithyClient.Command
1840
+ .classBuilder()
1841
+ .ep(commonParams)
1842
+ .m(function (Command, cs, config, o) {
1843
+ return [
1844
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1845
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1846
+ ];
1847
+ })
1848
+ .s("Route53Domains_v20140515", "GetDomainSuggestions", {})
1849
+ .n("Route53DomainsClient", "GetDomainSuggestionsCommand")
1850
+ .f(void 0, void 0)
1851
+ .ser(se_GetDomainSuggestionsCommand)
1852
+ .de(de_GetDomainSuggestionsCommand)
1853
+ .build() {
1854
+ }
2227
1855
 
2228
- // src/commands/UpdateDomainContactCommand.ts
1856
+ class GetOperationDetailCommand extends smithyClient.Command
1857
+ .classBuilder()
1858
+ .ep(commonParams)
1859
+ .m(function (Command, cs, config, o) {
1860
+ return [
1861
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1862
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1863
+ ];
1864
+ })
1865
+ .s("Route53Domains_v20140515", "GetOperationDetail", {})
1866
+ .n("Route53DomainsClient", "GetOperationDetailCommand")
1867
+ .f(void 0, void 0)
1868
+ .ser(se_GetOperationDetailCommand)
1869
+ .de(de_GetOperationDetailCommand)
1870
+ .build() {
1871
+ }
2229
1872
 
1873
+ class ListDomainsCommand extends smithyClient.Command
1874
+ .classBuilder()
1875
+ .ep(commonParams)
1876
+ .m(function (Command, cs, config, o) {
1877
+ return [
1878
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1879
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1880
+ ];
1881
+ })
1882
+ .s("Route53Domains_v20140515", "ListDomains", {})
1883
+ .n("Route53DomainsClient", "ListDomainsCommand")
1884
+ .f(void 0, void 0)
1885
+ .ser(se_ListDomainsCommand)
1886
+ .de(de_ListDomainsCommand)
1887
+ .build() {
1888
+ }
2230
1889
 
1890
+ class ListOperationsCommand extends smithyClient.Command
1891
+ .classBuilder()
1892
+ .ep(commonParams)
1893
+ .m(function (Command, cs, config, o) {
1894
+ return [
1895
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1896
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1897
+ ];
1898
+ })
1899
+ .s("Route53Domains_v20140515", "ListOperations", {})
1900
+ .n("Route53DomainsClient", "ListOperationsCommand")
1901
+ .f(void 0, void 0)
1902
+ .ser(se_ListOperationsCommand)
1903
+ .de(de_ListOperationsCommand)
1904
+ .build() {
1905
+ }
2231
1906
 
2232
- var UpdateDomainContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2233
- return [
2234
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2235
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2236
- ];
2237
- }).s("Route53Domains_v20140515", "UpdateDomainContact", {}).n("Route53DomainsClient", "UpdateDomainContactCommand").f(UpdateDomainContactRequestFilterSensitiveLog, void 0).ser(se_UpdateDomainContactCommand).de(de_UpdateDomainContactCommand).build() {
2238
- static {
2239
- __name(this, "UpdateDomainContactCommand");
2240
- }
2241
- };
1907
+ class ListPricesCommand extends smithyClient.Command
1908
+ .classBuilder()
1909
+ .ep(commonParams)
1910
+ .m(function (Command, cs, config, o) {
1911
+ return [
1912
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1913
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1914
+ ];
1915
+ })
1916
+ .s("Route53Domains_v20140515", "ListPrices", {})
1917
+ .n("Route53DomainsClient", "ListPricesCommand")
1918
+ .f(void 0, void 0)
1919
+ .ser(se_ListPricesCommand)
1920
+ .de(de_ListPricesCommand)
1921
+ .build() {
1922
+ }
2242
1923
 
2243
- // src/commands/UpdateDomainContactPrivacyCommand.ts
1924
+ class ListTagsForDomainCommand extends smithyClient.Command
1925
+ .classBuilder()
1926
+ .ep(commonParams)
1927
+ .m(function (Command, cs, config, o) {
1928
+ return [
1929
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1930
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1931
+ ];
1932
+ })
1933
+ .s("Route53Domains_v20140515", "ListTagsForDomain", {})
1934
+ .n("Route53DomainsClient", "ListTagsForDomainCommand")
1935
+ .f(void 0, void 0)
1936
+ .ser(se_ListTagsForDomainCommand)
1937
+ .de(de_ListTagsForDomainCommand)
1938
+ .build() {
1939
+ }
2244
1940
 
1941
+ class PushDomainCommand extends smithyClient.Command
1942
+ .classBuilder()
1943
+ .ep(commonParams)
1944
+ .m(function (Command, cs, config, o) {
1945
+ return [
1946
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1947
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1948
+ ];
1949
+ })
1950
+ .s("Route53Domains_v20140515", "PushDomain", {})
1951
+ .n("Route53DomainsClient", "PushDomainCommand")
1952
+ .f(void 0, void 0)
1953
+ .ser(se_PushDomainCommand)
1954
+ .de(de_PushDomainCommand)
1955
+ .build() {
1956
+ }
2245
1957
 
1958
+ class RegisterDomainCommand extends smithyClient.Command
1959
+ .classBuilder()
1960
+ .ep(commonParams)
1961
+ .m(function (Command, cs, config, o) {
1962
+ return [
1963
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1964
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1965
+ ];
1966
+ })
1967
+ .s("Route53Domains_v20140515", "RegisterDomain", {})
1968
+ .n("Route53DomainsClient", "RegisterDomainCommand")
1969
+ .f(RegisterDomainRequestFilterSensitiveLog, void 0)
1970
+ .ser(se_RegisterDomainCommand)
1971
+ .de(de_RegisterDomainCommand)
1972
+ .build() {
1973
+ }
2246
1974
 
2247
- var UpdateDomainContactPrivacyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2248
- return [
2249
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2250
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2251
- ];
2252
- }).s("Route53Domains_v20140515", "UpdateDomainContactPrivacy", {}).n("Route53DomainsClient", "UpdateDomainContactPrivacyCommand").f(void 0, void 0).ser(se_UpdateDomainContactPrivacyCommand).de(de_UpdateDomainContactPrivacyCommand).build() {
2253
- static {
2254
- __name(this, "UpdateDomainContactPrivacyCommand");
2255
- }
2256
- };
1975
+ class RejectDomainTransferFromAnotherAwsAccountCommand extends smithyClient.Command
1976
+ .classBuilder()
1977
+ .ep(commonParams)
1978
+ .m(function (Command, cs, config, o) {
1979
+ return [
1980
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1981
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1982
+ ];
1983
+ })
1984
+ .s("Route53Domains_v20140515", "RejectDomainTransferFromAnotherAwsAccount", {})
1985
+ .n("Route53DomainsClient", "RejectDomainTransferFromAnotherAwsAccountCommand")
1986
+ .f(void 0, void 0)
1987
+ .ser(se_RejectDomainTransferFromAnotherAwsAccountCommand)
1988
+ .de(de_RejectDomainTransferFromAnotherAwsAccountCommand)
1989
+ .build() {
1990
+ }
2257
1991
 
2258
- // src/commands/UpdateDomainNameserversCommand.ts
1992
+ class RenewDomainCommand extends smithyClient.Command
1993
+ .classBuilder()
1994
+ .ep(commonParams)
1995
+ .m(function (Command, cs, config, o) {
1996
+ return [
1997
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1998
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1999
+ ];
2000
+ })
2001
+ .s("Route53Domains_v20140515", "RenewDomain", {})
2002
+ .n("Route53DomainsClient", "RenewDomainCommand")
2003
+ .f(void 0, void 0)
2004
+ .ser(se_RenewDomainCommand)
2005
+ .de(de_RenewDomainCommand)
2006
+ .build() {
2007
+ }
2259
2008
 
2009
+ class ResendContactReachabilityEmailCommand extends smithyClient.Command
2010
+ .classBuilder()
2011
+ .ep(commonParams)
2012
+ .m(function (Command, cs, config, o) {
2013
+ return [
2014
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2015
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2016
+ ];
2017
+ })
2018
+ .s("Route53Domains_v20140515", "ResendContactReachabilityEmail", {})
2019
+ .n("Route53DomainsClient", "ResendContactReachabilityEmailCommand")
2020
+ .f(void 0, ResendContactReachabilityEmailResponseFilterSensitiveLog)
2021
+ .ser(se_ResendContactReachabilityEmailCommand)
2022
+ .de(de_ResendContactReachabilityEmailCommand)
2023
+ .build() {
2024
+ }
2260
2025
 
2026
+ class ResendOperationAuthorizationCommand extends smithyClient.Command
2027
+ .classBuilder()
2028
+ .ep(commonParams)
2029
+ .m(function (Command, cs, config, o) {
2030
+ return [
2031
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2032
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2033
+ ];
2034
+ })
2035
+ .s("Route53Domains_v20140515", "ResendOperationAuthorization", {})
2036
+ .n("Route53DomainsClient", "ResendOperationAuthorizationCommand")
2037
+ .f(void 0, void 0)
2038
+ .ser(se_ResendOperationAuthorizationCommand)
2039
+ .de(de_ResendOperationAuthorizationCommand)
2040
+ .build() {
2041
+ }
2261
2042
 
2262
- var UpdateDomainNameserversCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2263
- return [
2264
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2265
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2266
- ];
2267
- }).s("Route53Domains_v20140515", "UpdateDomainNameservers", {}).n("Route53DomainsClient", "UpdateDomainNameserversCommand").f(UpdateDomainNameserversRequestFilterSensitiveLog, void 0).ser(se_UpdateDomainNameserversCommand).de(de_UpdateDomainNameserversCommand).build() {
2268
- static {
2269
- __name(this, "UpdateDomainNameserversCommand");
2270
- }
2271
- };
2043
+ class RetrieveDomainAuthCodeCommand extends smithyClient.Command
2044
+ .classBuilder()
2045
+ .ep(commonParams)
2046
+ .m(function (Command, cs, config, o) {
2047
+ return [
2048
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2049
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2050
+ ];
2051
+ })
2052
+ .s("Route53Domains_v20140515", "RetrieveDomainAuthCode", {})
2053
+ .n("Route53DomainsClient", "RetrieveDomainAuthCodeCommand")
2054
+ .f(void 0, RetrieveDomainAuthCodeResponseFilterSensitiveLog)
2055
+ .ser(se_RetrieveDomainAuthCodeCommand)
2056
+ .de(de_RetrieveDomainAuthCodeCommand)
2057
+ .build() {
2058
+ }
2272
2059
 
2273
- // src/commands/UpdateTagsForDomainCommand.ts
2060
+ class TransferDomainCommand extends smithyClient.Command
2061
+ .classBuilder()
2062
+ .ep(commonParams)
2063
+ .m(function (Command, cs, config, o) {
2064
+ return [
2065
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2066
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2067
+ ];
2068
+ })
2069
+ .s("Route53Domains_v20140515", "TransferDomain", {})
2070
+ .n("Route53DomainsClient", "TransferDomainCommand")
2071
+ .f(TransferDomainRequestFilterSensitiveLog, void 0)
2072
+ .ser(se_TransferDomainCommand)
2073
+ .de(de_TransferDomainCommand)
2074
+ .build() {
2075
+ }
2274
2076
 
2077
+ class TransferDomainToAnotherAwsAccountCommand extends smithyClient.Command
2078
+ .classBuilder()
2079
+ .ep(commonParams)
2080
+ .m(function (Command, cs, config, o) {
2081
+ return [
2082
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2083
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2084
+ ];
2085
+ })
2086
+ .s("Route53Domains_v20140515", "TransferDomainToAnotherAwsAccount", {})
2087
+ .n("Route53DomainsClient", "TransferDomainToAnotherAwsAccountCommand")
2088
+ .f(void 0, TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog)
2089
+ .ser(se_TransferDomainToAnotherAwsAccountCommand)
2090
+ .de(de_TransferDomainToAnotherAwsAccountCommand)
2091
+ .build() {
2092
+ }
2275
2093
 
2094
+ class UpdateDomainContactCommand extends smithyClient.Command
2095
+ .classBuilder()
2096
+ .ep(commonParams)
2097
+ .m(function (Command, cs, config, o) {
2098
+ return [
2099
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2100
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2101
+ ];
2102
+ })
2103
+ .s("Route53Domains_v20140515", "UpdateDomainContact", {})
2104
+ .n("Route53DomainsClient", "UpdateDomainContactCommand")
2105
+ .f(UpdateDomainContactRequestFilterSensitiveLog, void 0)
2106
+ .ser(se_UpdateDomainContactCommand)
2107
+ .de(de_UpdateDomainContactCommand)
2108
+ .build() {
2109
+ }
2276
2110
 
2277
- var UpdateTagsForDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2278
- return [
2279
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2280
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2281
- ];
2282
- }).s("Route53Domains_v20140515", "UpdateTagsForDomain", {}).n("Route53DomainsClient", "UpdateTagsForDomainCommand").f(void 0, void 0).ser(se_UpdateTagsForDomainCommand).de(de_UpdateTagsForDomainCommand).build() {
2283
- static {
2284
- __name(this, "UpdateTagsForDomainCommand");
2285
- }
2286
- };
2111
+ class UpdateDomainContactPrivacyCommand extends smithyClient.Command
2112
+ .classBuilder()
2113
+ .ep(commonParams)
2114
+ .m(function (Command, cs, config, o) {
2115
+ return [
2116
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2117
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2118
+ ];
2119
+ })
2120
+ .s("Route53Domains_v20140515", "UpdateDomainContactPrivacy", {})
2121
+ .n("Route53DomainsClient", "UpdateDomainContactPrivacyCommand")
2122
+ .f(void 0, void 0)
2123
+ .ser(se_UpdateDomainContactPrivacyCommand)
2124
+ .de(de_UpdateDomainContactPrivacyCommand)
2125
+ .build() {
2126
+ }
2287
2127
 
2288
- // src/commands/ViewBillingCommand.ts
2128
+ class UpdateDomainNameserversCommand extends smithyClient.Command
2129
+ .classBuilder()
2130
+ .ep(commonParams)
2131
+ .m(function (Command, cs, config, o) {
2132
+ return [
2133
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2134
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2135
+ ];
2136
+ })
2137
+ .s("Route53Domains_v20140515", "UpdateDomainNameservers", {})
2138
+ .n("Route53DomainsClient", "UpdateDomainNameserversCommand")
2139
+ .f(UpdateDomainNameserversRequestFilterSensitiveLog, void 0)
2140
+ .ser(se_UpdateDomainNameserversCommand)
2141
+ .de(de_UpdateDomainNameserversCommand)
2142
+ .build() {
2143
+ }
2289
2144
 
2145
+ class UpdateTagsForDomainCommand extends smithyClient.Command
2146
+ .classBuilder()
2147
+ .ep(commonParams)
2148
+ .m(function (Command, cs, config, o) {
2149
+ return [
2150
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2151
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2152
+ ];
2153
+ })
2154
+ .s("Route53Domains_v20140515", "UpdateTagsForDomain", {})
2155
+ .n("Route53DomainsClient", "UpdateTagsForDomainCommand")
2156
+ .f(void 0, void 0)
2157
+ .ser(se_UpdateTagsForDomainCommand)
2158
+ .de(de_UpdateTagsForDomainCommand)
2159
+ .build() {
2160
+ }
2290
2161
 
2162
+ class ViewBillingCommand extends smithyClient.Command
2163
+ .classBuilder()
2164
+ .ep(commonParams)
2165
+ .m(function (Command, cs, config, o) {
2166
+ return [
2167
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2168
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2169
+ ];
2170
+ })
2171
+ .s("Route53Domains_v20140515", "ViewBilling", {})
2172
+ .n("Route53DomainsClient", "ViewBillingCommand")
2173
+ .f(void 0, void 0)
2174
+ .ser(se_ViewBillingCommand)
2175
+ .de(de_ViewBillingCommand)
2176
+ .build() {
2177
+ }
2291
2178
 
2292
- var ViewBillingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2293
- return [
2294
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2295
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2296
- ];
2297
- }).s("Route53Domains_v20140515", "ViewBilling", {}).n("Route53DomainsClient", "ViewBillingCommand").f(void 0, void 0).ser(se_ViewBillingCommand).de(de_ViewBillingCommand).build() {
2298
- static {
2299
- __name(this, "ViewBillingCommand");
2300
- }
2179
+ const commands = {
2180
+ AcceptDomainTransferFromAnotherAwsAccountCommand,
2181
+ AssociateDelegationSignerToDomainCommand,
2182
+ CancelDomainTransferToAnotherAwsAccountCommand,
2183
+ CheckDomainAvailabilityCommand,
2184
+ CheckDomainTransferabilityCommand,
2185
+ DeleteDomainCommand,
2186
+ DeleteTagsForDomainCommand,
2187
+ DisableDomainAutoRenewCommand,
2188
+ DisableDomainTransferLockCommand,
2189
+ DisassociateDelegationSignerFromDomainCommand,
2190
+ EnableDomainAutoRenewCommand,
2191
+ EnableDomainTransferLockCommand,
2192
+ GetContactReachabilityStatusCommand,
2193
+ GetDomainDetailCommand,
2194
+ GetDomainSuggestionsCommand,
2195
+ GetOperationDetailCommand,
2196
+ ListDomainsCommand,
2197
+ ListOperationsCommand,
2198
+ ListPricesCommand,
2199
+ ListTagsForDomainCommand,
2200
+ PushDomainCommand,
2201
+ RegisterDomainCommand,
2202
+ RejectDomainTransferFromAnotherAwsAccountCommand,
2203
+ RenewDomainCommand,
2204
+ ResendContactReachabilityEmailCommand,
2205
+ ResendOperationAuthorizationCommand,
2206
+ RetrieveDomainAuthCodeCommand,
2207
+ TransferDomainCommand,
2208
+ TransferDomainToAnotherAwsAccountCommand,
2209
+ UpdateDomainContactCommand,
2210
+ UpdateDomainContactPrivacyCommand,
2211
+ UpdateDomainNameserversCommand,
2212
+ UpdateTagsForDomainCommand,
2213
+ ViewBillingCommand,
2301
2214
  };
2215
+ class Route53Domains extends Route53DomainsClient {
2216
+ }
2217
+ smithyClient.createAggregatedClient(commands, Route53Domains);
2302
2218
 
2303
- // src/Route53Domains.ts
2304
- var commands = {
2305
- AcceptDomainTransferFromAnotherAwsAccountCommand,
2306
- AssociateDelegationSignerToDomainCommand,
2307
- CancelDomainTransferToAnotherAwsAccountCommand,
2308
- CheckDomainAvailabilityCommand,
2309
- CheckDomainTransferabilityCommand,
2310
- DeleteDomainCommand,
2311
- DeleteTagsForDomainCommand,
2312
- DisableDomainAutoRenewCommand,
2313
- DisableDomainTransferLockCommand,
2314
- DisassociateDelegationSignerFromDomainCommand,
2315
- EnableDomainAutoRenewCommand,
2316
- EnableDomainTransferLockCommand,
2317
- GetContactReachabilityStatusCommand,
2318
- GetDomainDetailCommand,
2319
- GetDomainSuggestionsCommand,
2320
- GetOperationDetailCommand,
2321
- ListDomainsCommand,
2322
- ListOperationsCommand,
2323
- ListPricesCommand,
2324
- ListTagsForDomainCommand,
2325
- PushDomainCommand,
2326
- RegisterDomainCommand,
2327
- RejectDomainTransferFromAnotherAwsAccountCommand,
2328
- RenewDomainCommand,
2329
- ResendContactReachabilityEmailCommand,
2330
- ResendOperationAuthorizationCommand,
2331
- RetrieveDomainAuthCodeCommand,
2332
- TransferDomainCommand,
2333
- TransferDomainToAnotherAwsAccountCommand,
2334
- UpdateDomainContactCommand,
2335
- UpdateDomainContactPrivacyCommand,
2336
- UpdateDomainNameserversCommand,
2337
- UpdateTagsForDomainCommand,
2338
- ViewBillingCommand
2339
- };
2340
- var Route53Domains = class extends Route53DomainsClient {
2341
- static {
2342
- __name(this, "Route53Domains");
2343
- }
2344
- };
2345
- (0, import_smithy_client.createAggregatedClient)(commands, Route53Domains);
2346
-
2347
- // src/pagination/ListDomainsPaginator.ts
2348
-
2349
- var paginateListDomains = (0, import_core.createPaginator)(Route53DomainsClient, ListDomainsCommand, "Marker", "NextPageMarker", "MaxItems");
2350
-
2351
- // src/pagination/ListOperationsPaginator.ts
2352
-
2353
- var paginateListOperations = (0, import_core.createPaginator)(Route53DomainsClient, ListOperationsCommand, "Marker", "NextPageMarker", "MaxItems");
2354
-
2355
- // src/pagination/ListPricesPaginator.ts
2219
+ const paginateListDomains = core.createPaginator(Route53DomainsClient, ListDomainsCommand, "Marker", "NextPageMarker", "MaxItems");
2356
2220
 
2357
- var paginateListPrices = (0, import_core.createPaginator)(Route53DomainsClient, ListPricesCommand, "Marker", "NextPageMarker", "MaxItems");
2221
+ const paginateListOperations = core.createPaginator(Route53DomainsClient, ListOperationsCommand, "Marker", "NextPageMarker", "MaxItems");
2358
2222
 
2359
- // src/pagination/ViewBillingPaginator.ts
2223
+ const paginateListPrices = core.createPaginator(Route53DomainsClient, ListPricesCommand, "Marker", "NextPageMarker", "MaxItems");
2360
2224
 
2361
- var paginateViewBilling = (0, import_core.createPaginator)(Route53DomainsClient, ViewBillingCommand, "Marker", "NextPageMarker", "MaxItems");
2362
- // Annotate the CommonJS export names for ESM import in node:
2225
+ const paginateViewBilling = core.createPaginator(Route53DomainsClient, ViewBillingCommand, "Marker", "NextPageMarker", "MaxItems");
2363
2226
 
2364
- 0 && (module.exports = {
2365
- Route53DomainsServiceException,
2366
- __Client,
2367
- Route53DomainsClient,
2368
- Route53Domains,
2369
- $Command,
2370
- AcceptDomainTransferFromAnotherAwsAccountCommand,
2371
- AssociateDelegationSignerToDomainCommand,
2372
- CancelDomainTransferToAnotherAwsAccountCommand,
2373
- CheckDomainAvailabilityCommand,
2374
- CheckDomainTransferabilityCommand,
2375
- DeleteDomainCommand,
2376
- DeleteTagsForDomainCommand,
2377
- DisableDomainAutoRenewCommand,
2378
- DisableDomainTransferLockCommand,
2379
- DisassociateDelegationSignerFromDomainCommand,
2380
- EnableDomainAutoRenewCommand,
2381
- EnableDomainTransferLockCommand,
2382
- GetContactReachabilityStatusCommand,
2383
- GetDomainDetailCommand,
2384
- GetDomainSuggestionsCommand,
2385
- GetOperationDetailCommand,
2386
- ListDomainsCommand,
2387
- ListOperationsCommand,
2388
- ListPricesCommand,
2389
- ListTagsForDomainCommand,
2390
- PushDomainCommand,
2391
- RegisterDomainCommand,
2392
- RejectDomainTransferFromAnotherAwsAccountCommand,
2393
- RenewDomainCommand,
2394
- ResendContactReachabilityEmailCommand,
2395
- ResendOperationAuthorizationCommand,
2396
- RetrieveDomainAuthCodeCommand,
2397
- TransferDomainCommand,
2398
- TransferDomainToAnotherAwsAccountCommand,
2399
- UpdateDomainContactCommand,
2400
- UpdateDomainContactPrivacyCommand,
2401
- UpdateDomainNameserversCommand,
2402
- UpdateTagsForDomainCommand,
2403
- ViewBillingCommand,
2404
- paginateListDomains,
2405
- paginateListOperations,
2406
- paginateListPrices,
2407
- paginateViewBilling,
2408
- DomainLimitExceeded,
2409
- InvalidInput,
2410
- OperationLimitExceeded,
2411
- UnsupportedTLD,
2412
- DnssecLimitExceeded,
2413
- DuplicateRequest,
2414
- TLDRulesViolation,
2415
- OperationType,
2416
- DomainAvailability,
2417
- Transferable,
2418
- ContactType,
2419
- CountryCode,
2420
- ExtraParamName,
2421
- ListDomainsAttributeName,
2422
- Operator,
2423
- ReachabilityStatus,
2424
- OperationStatus,
2425
- StatusFlag,
2426
- SortOrder,
2427
- ListOperationsSortAttributeName,
2428
- AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog,
2429
- CheckDomainTransferabilityRequestFilterSensitiveLog,
2430
- ExtraParamFilterSensitiveLog,
2431
- ContactDetailFilterSensitiveLog,
2432
- GetDomainDetailResponseFilterSensitiveLog,
2433
- RegisterDomainRequestFilterSensitiveLog,
2434
- ResendContactReachabilityEmailResponseFilterSensitiveLog,
2435
- RetrieveDomainAuthCodeResponseFilterSensitiveLog,
2436
- TransferDomainRequestFilterSensitiveLog,
2437
- TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog,
2438
- UpdateDomainContactRequestFilterSensitiveLog,
2439
- UpdateDomainNameserversRequestFilterSensitiveLog
2227
+ Object.defineProperty(exports, "$Command", {
2228
+ enumerable: true,
2229
+ get: function () { return smithyClient.Command; }
2440
2230
  });
2441
-
2231
+ Object.defineProperty(exports, "__Client", {
2232
+ enumerable: true,
2233
+ get: function () { return smithyClient.Client; }
2234
+ });
2235
+ exports.AcceptDomainTransferFromAnotherAwsAccountCommand = AcceptDomainTransferFromAnotherAwsAccountCommand;
2236
+ exports.AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog = AcceptDomainTransferFromAnotherAwsAccountRequestFilterSensitiveLog;
2237
+ exports.AssociateDelegationSignerToDomainCommand = AssociateDelegationSignerToDomainCommand;
2238
+ exports.CancelDomainTransferToAnotherAwsAccountCommand = CancelDomainTransferToAnotherAwsAccountCommand;
2239
+ exports.CheckDomainAvailabilityCommand = CheckDomainAvailabilityCommand;
2240
+ exports.CheckDomainTransferabilityCommand = CheckDomainTransferabilityCommand;
2241
+ exports.CheckDomainTransferabilityRequestFilterSensitiveLog = CheckDomainTransferabilityRequestFilterSensitiveLog;
2242
+ exports.ContactDetailFilterSensitiveLog = ContactDetailFilterSensitiveLog;
2243
+ exports.ContactType = ContactType;
2244
+ exports.CountryCode = CountryCode;
2245
+ exports.DeleteDomainCommand = DeleteDomainCommand;
2246
+ exports.DeleteTagsForDomainCommand = DeleteTagsForDomainCommand;
2247
+ exports.DisableDomainAutoRenewCommand = DisableDomainAutoRenewCommand;
2248
+ exports.DisableDomainTransferLockCommand = DisableDomainTransferLockCommand;
2249
+ exports.DisassociateDelegationSignerFromDomainCommand = DisassociateDelegationSignerFromDomainCommand;
2250
+ exports.DnssecLimitExceeded = DnssecLimitExceeded;
2251
+ exports.DomainAvailability = DomainAvailability;
2252
+ exports.DomainLimitExceeded = DomainLimitExceeded;
2253
+ exports.DuplicateRequest = DuplicateRequest;
2254
+ exports.EnableDomainAutoRenewCommand = EnableDomainAutoRenewCommand;
2255
+ exports.EnableDomainTransferLockCommand = EnableDomainTransferLockCommand;
2256
+ exports.ExtraParamFilterSensitiveLog = ExtraParamFilterSensitiveLog;
2257
+ exports.ExtraParamName = ExtraParamName;
2258
+ exports.GetContactReachabilityStatusCommand = GetContactReachabilityStatusCommand;
2259
+ exports.GetDomainDetailCommand = GetDomainDetailCommand;
2260
+ exports.GetDomainDetailResponseFilterSensitiveLog = GetDomainDetailResponseFilterSensitiveLog;
2261
+ exports.GetDomainSuggestionsCommand = GetDomainSuggestionsCommand;
2262
+ exports.GetOperationDetailCommand = GetOperationDetailCommand;
2263
+ exports.InvalidInput = InvalidInput;
2264
+ exports.ListDomainsAttributeName = ListDomainsAttributeName;
2265
+ exports.ListDomainsCommand = ListDomainsCommand;
2266
+ exports.ListOperationsCommand = ListOperationsCommand;
2267
+ exports.ListOperationsSortAttributeName = ListOperationsSortAttributeName;
2268
+ exports.ListPricesCommand = ListPricesCommand;
2269
+ exports.ListTagsForDomainCommand = ListTagsForDomainCommand;
2270
+ exports.OperationLimitExceeded = OperationLimitExceeded;
2271
+ exports.OperationStatus = OperationStatus;
2272
+ exports.OperationType = OperationType;
2273
+ exports.Operator = Operator;
2274
+ exports.PushDomainCommand = PushDomainCommand;
2275
+ exports.ReachabilityStatus = ReachabilityStatus;
2276
+ exports.RegisterDomainCommand = RegisterDomainCommand;
2277
+ exports.RegisterDomainRequestFilterSensitiveLog = RegisterDomainRequestFilterSensitiveLog;
2278
+ exports.RejectDomainTransferFromAnotherAwsAccountCommand = RejectDomainTransferFromAnotherAwsAccountCommand;
2279
+ exports.RenewDomainCommand = RenewDomainCommand;
2280
+ exports.ResendContactReachabilityEmailCommand = ResendContactReachabilityEmailCommand;
2281
+ exports.ResendContactReachabilityEmailResponseFilterSensitiveLog = ResendContactReachabilityEmailResponseFilterSensitiveLog;
2282
+ exports.ResendOperationAuthorizationCommand = ResendOperationAuthorizationCommand;
2283
+ exports.RetrieveDomainAuthCodeCommand = RetrieveDomainAuthCodeCommand;
2284
+ exports.RetrieveDomainAuthCodeResponseFilterSensitiveLog = RetrieveDomainAuthCodeResponseFilterSensitiveLog;
2285
+ exports.Route53Domains = Route53Domains;
2286
+ exports.Route53DomainsClient = Route53DomainsClient;
2287
+ exports.Route53DomainsServiceException = Route53DomainsServiceException;
2288
+ exports.SortOrder = SortOrder;
2289
+ exports.StatusFlag = StatusFlag;
2290
+ exports.TLDRulesViolation = TLDRulesViolation;
2291
+ exports.TransferDomainCommand = TransferDomainCommand;
2292
+ exports.TransferDomainRequestFilterSensitiveLog = TransferDomainRequestFilterSensitiveLog;
2293
+ exports.TransferDomainToAnotherAwsAccountCommand = TransferDomainToAnotherAwsAccountCommand;
2294
+ exports.TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog = TransferDomainToAnotherAwsAccountResponseFilterSensitiveLog;
2295
+ exports.Transferable = Transferable;
2296
+ exports.UnsupportedTLD = UnsupportedTLD;
2297
+ exports.UpdateDomainContactCommand = UpdateDomainContactCommand;
2298
+ exports.UpdateDomainContactPrivacyCommand = UpdateDomainContactPrivacyCommand;
2299
+ exports.UpdateDomainContactRequestFilterSensitiveLog = UpdateDomainContactRequestFilterSensitiveLog;
2300
+ exports.UpdateDomainNameserversCommand = UpdateDomainNameserversCommand;
2301
+ exports.UpdateDomainNameserversRequestFilterSensitiveLog = UpdateDomainNameserversRequestFilterSensitiveLog;
2302
+ exports.UpdateTagsForDomainCommand = UpdateTagsForDomainCommand;
2303
+ exports.ViewBillingCommand = ViewBillingCommand;
2304
+ exports.paginateListDomains = paginateListDomains;
2305
+ exports.paginateListOperations = paginateListOperations;
2306
+ exports.paginateListPrices = paginateListPrices;
2307
+ exports.paginateViewBilling = paginateViewBilling;