@aws-sdk/client-account 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +528 -707
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AccountClient.js +2 -0
- package/dist-es/commands/AcceptPrimaryEmailUpdateCommand.js +3 -10
- package/dist-es/commands/DeleteAlternateContactCommand.js +3 -9
- package/dist-es/commands/DisableRegionCommand.js +3 -9
- package/dist-es/commands/EnableRegionCommand.js +3 -9
- package/dist-es/commands/GetAccountInformationCommand.js +3 -10
- package/dist-es/commands/GetAlternateContactCommand.js +3 -10
- package/dist-es/commands/GetContactInformationCommand.js +3 -10
- package/dist-es/commands/GetPrimaryEmailCommand.js +3 -10
- package/dist-es/commands/GetRegionOptStatusCommand.js +3 -9
- package/dist-es/commands/ListRegionsCommand.js +3 -9
- package/dist-es/commands/PutAccountNameCommand.js +3 -10
- package/dist-es/commands/PutAlternateContactCommand.js +3 -10
- package/dist-es/commands/PutContactInformationCommand.js +3 -10
- package/dist-es/commands/StartPrimaryEmailUpdateCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -67
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +482 -0
- package/dist-types/AccountClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -48
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +70 -0
- package/dist-types/ts3.4/AccountClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -36
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -515
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -173
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class AccountClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,18 +110,18 @@ class AccountClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class AccountServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let AccountServiceException$1 = class AccountServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, AccountServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
120
|
const PrimaryEmailUpdateStatus = {
|
|
121
121
|
ACCEPTED: "ACCEPTED",
|
|
122
122
|
PENDING: "PENDING",
|
|
123
123
|
};
|
|
124
|
-
class AccessDeniedException extends AccountServiceException {
|
|
124
|
+
let AccessDeniedException$1 = class AccessDeniedException extends AccountServiceException$1 {
|
|
125
125
|
name = "AccessDeniedException";
|
|
126
126
|
$fault = "client";
|
|
127
127
|
errorType;
|
|
@@ -134,8 +134,8 @@ class AccessDeniedException extends AccountServiceException {
|
|
|
134
134
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
135
135
|
this.errorType = opts.errorType;
|
|
136
136
|
}
|
|
137
|
-
}
|
|
138
|
-
class ConflictException extends AccountServiceException {
|
|
137
|
+
};
|
|
138
|
+
let ConflictException$1 = class ConflictException extends AccountServiceException$1 {
|
|
139
139
|
name = "ConflictException";
|
|
140
140
|
$fault = "client";
|
|
141
141
|
errorType;
|
|
@@ -148,8 +148,8 @@ class ConflictException extends AccountServiceException {
|
|
|
148
148
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
149
149
|
this.errorType = opts.errorType;
|
|
150
150
|
}
|
|
151
|
-
}
|
|
152
|
-
class InternalServerException extends AccountServiceException {
|
|
151
|
+
};
|
|
152
|
+
let InternalServerException$1 = class InternalServerException extends AccountServiceException$1 {
|
|
153
153
|
name = "InternalServerException";
|
|
154
154
|
$fault = "server";
|
|
155
155
|
$retryable = {};
|
|
@@ -163,8 +163,8 @@ class InternalServerException extends AccountServiceException {
|
|
|
163
163
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
164
164
|
this.errorType = opts.errorType;
|
|
165
165
|
}
|
|
166
|
-
}
|
|
167
|
-
class ResourceNotFoundException extends AccountServiceException {
|
|
166
|
+
};
|
|
167
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends AccountServiceException$1 {
|
|
168
168
|
name = "ResourceNotFoundException";
|
|
169
169
|
$fault = "client";
|
|
170
170
|
errorType;
|
|
@@ -177,8 +177,8 @@ class ResourceNotFoundException extends AccountServiceException {
|
|
|
177
177
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
178
178
|
this.errorType = opts.errorType;
|
|
179
179
|
}
|
|
180
|
-
}
|
|
181
|
-
class TooManyRequestsException extends AccountServiceException {
|
|
180
|
+
};
|
|
181
|
+
let TooManyRequestsException$1 = class TooManyRequestsException extends AccountServiceException$1 {
|
|
182
182
|
name = "TooManyRequestsException";
|
|
183
183
|
$fault = "client";
|
|
184
184
|
$retryable = {
|
|
@@ -194,12 +194,12 @@ class TooManyRequestsException extends AccountServiceException {
|
|
|
194
194
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
195
195
|
this.errorType = opts.errorType;
|
|
196
196
|
}
|
|
197
|
-
}
|
|
197
|
+
};
|
|
198
198
|
const ValidationExceptionReason = {
|
|
199
199
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
200
200
|
INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
|
|
201
201
|
};
|
|
202
|
-
class ValidationException extends AccountServiceException {
|
|
202
|
+
let ValidationException$1 = class ValidationException extends AccountServiceException$1 {
|
|
203
203
|
name = "ValidationException";
|
|
204
204
|
$fault = "client";
|
|
205
205
|
reason;
|
|
@@ -214,7 +214,7 @@ class ValidationException extends AccountServiceException {
|
|
|
214
214
|
this.reason = opts.reason;
|
|
215
215
|
this.fieldList = opts.fieldList;
|
|
216
216
|
}
|
|
217
|
-
}
|
|
217
|
+
};
|
|
218
218
|
const AlternateContactType = {
|
|
219
219
|
BILLING: "BILLING",
|
|
220
220
|
OPERATIONS: "OPERATIONS",
|
|
@@ -227,597 +227,495 @@ const RegionOptStatus = {
|
|
|
227
227
|
ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT",
|
|
228
228
|
ENABLING: "ENABLING",
|
|
229
229
|
};
|
|
230
|
-
const AcceptPrimaryEmailUpdateRequestFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
...(obj.PrimaryEmail && { PrimaryEmail: smithyClient.SENSITIVE_STRING }),
|
|
233
|
-
...(obj.Otp && { Otp: smithyClient.SENSITIVE_STRING }),
|
|
234
|
-
});
|
|
235
|
-
const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
236
|
-
...obj,
|
|
237
|
-
...(obj.message && { message: smithyClient.SENSITIVE_STRING }),
|
|
238
|
-
});
|
|
239
|
-
const GetAccountInformationResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
...(obj.AccountName && { AccountName: smithyClient.SENSITIVE_STRING }),
|
|
242
|
-
});
|
|
243
|
-
const PutAccountNameRequestFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
...(obj.AccountName && { AccountName: smithyClient.SENSITIVE_STRING }),
|
|
246
|
-
});
|
|
247
|
-
const AlternateContactFilterSensitiveLog = (obj) => ({
|
|
248
|
-
...obj,
|
|
249
|
-
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
250
|
-
...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
|
|
251
|
-
...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
|
|
252
|
-
...(obj.PhoneNumber && { PhoneNumber: smithyClient.SENSITIVE_STRING }),
|
|
253
|
-
});
|
|
254
|
-
const GetAlternateContactResponseFilterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
...(obj.AlternateContact && { AlternateContact: AlternateContactFilterSensitiveLog(obj.AlternateContact) }),
|
|
257
|
-
});
|
|
258
|
-
const PutAlternateContactRequestFilterSensitiveLog = (obj) => ({
|
|
259
|
-
...obj,
|
|
260
|
-
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
261
|
-
...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
|
|
262
|
-
...(obj.EmailAddress && { EmailAddress: smithyClient.SENSITIVE_STRING }),
|
|
263
|
-
...(obj.PhoneNumber && { PhoneNumber: smithyClient.SENSITIVE_STRING }),
|
|
264
|
-
});
|
|
265
|
-
const ContactInformationFilterSensitiveLog = (obj) => ({
|
|
266
|
-
...obj,
|
|
267
|
-
...(obj.FullName && { FullName: smithyClient.SENSITIVE_STRING }),
|
|
268
|
-
...(obj.AddressLine1 && { AddressLine1: smithyClient.SENSITIVE_STRING }),
|
|
269
|
-
...(obj.AddressLine2 && { AddressLine2: smithyClient.SENSITIVE_STRING }),
|
|
270
|
-
...(obj.AddressLine3 && { AddressLine3: smithyClient.SENSITIVE_STRING }),
|
|
271
|
-
...(obj.City && { City: smithyClient.SENSITIVE_STRING }),
|
|
272
|
-
...(obj.StateOrRegion && { StateOrRegion: smithyClient.SENSITIVE_STRING }),
|
|
273
|
-
...(obj.DistrictOrCounty && { DistrictOrCounty: smithyClient.SENSITIVE_STRING }),
|
|
274
|
-
...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
|
|
275
|
-
...(obj.CountryCode && { CountryCode: smithyClient.SENSITIVE_STRING }),
|
|
276
|
-
...(obj.PhoneNumber && { PhoneNumber: smithyClient.SENSITIVE_STRING }),
|
|
277
|
-
...(obj.CompanyName && { CompanyName: smithyClient.SENSITIVE_STRING }),
|
|
278
|
-
...(obj.WebsiteUrl && { WebsiteUrl: smithyClient.SENSITIVE_STRING }),
|
|
279
|
-
});
|
|
280
|
-
const GetContactInformationResponseFilterSensitiveLog = (obj) => ({
|
|
281
|
-
...obj,
|
|
282
|
-
...(obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }),
|
|
283
|
-
});
|
|
284
|
-
const PutContactInformationRequestFilterSensitiveLog = (obj) => ({
|
|
285
|
-
...obj,
|
|
286
|
-
...(obj.ContactInformation && { ContactInformation: ContactInformationFilterSensitiveLog(obj.ContactInformation) }),
|
|
287
|
-
});
|
|
288
|
-
const GetPrimaryEmailResponseFilterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
...(obj.PrimaryEmail && { PrimaryEmail: smithyClient.SENSITIVE_STRING }),
|
|
291
|
-
});
|
|
292
|
-
const StartPrimaryEmailUpdateRequestFilterSensitiveLog = (obj) => ({
|
|
293
|
-
...obj,
|
|
294
|
-
...(obj.PrimaryEmail && { PrimaryEmail: smithyClient.SENSITIVE_STRING }),
|
|
295
|
-
});
|
|
296
230
|
|
|
297
|
-
const
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
const
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
return b.build();
|
|
380
|
-
};
|
|
381
|
-
const se_GetContactInformationCommand = async (input, context) => {
|
|
382
|
-
const b = core.requestBuilder(input, context);
|
|
383
|
-
const headers = {
|
|
384
|
-
"content-type": "application/json",
|
|
385
|
-
};
|
|
386
|
-
b.bp("/getContactInformation");
|
|
387
|
-
let body;
|
|
388
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
389
|
-
AccountId: [],
|
|
390
|
-
}));
|
|
391
|
-
b.m("POST").h(headers).b(body);
|
|
392
|
-
return b.build();
|
|
393
|
-
};
|
|
394
|
-
const se_GetPrimaryEmailCommand = async (input, context) => {
|
|
395
|
-
const b = core.requestBuilder(input, context);
|
|
396
|
-
const headers = {
|
|
397
|
-
"content-type": "application/json",
|
|
398
|
-
};
|
|
399
|
-
b.bp("/getPrimaryEmail");
|
|
400
|
-
let body;
|
|
401
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
402
|
-
AccountId: [],
|
|
403
|
-
}));
|
|
404
|
-
b.m("POST").h(headers).b(body);
|
|
405
|
-
return b.build();
|
|
406
|
-
};
|
|
407
|
-
const se_GetRegionOptStatusCommand = async (input, context) => {
|
|
408
|
-
const b = core.requestBuilder(input, context);
|
|
409
|
-
const headers = {
|
|
410
|
-
"content-type": "application/json",
|
|
411
|
-
};
|
|
412
|
-
b.bp("/getRegionOptStatus");
|
|
413
|
-
let body;
|
|
414
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
415
|
-
AccountId: [],
|
|
416
|
-
RegionName: [],
|
|
417
|
-
}));
|
|
418
|
-
b.m("POST").h(headers).b(body);
|
|
419
|
-
return b.build();
|
|
420
|
-
};
|
|
421
|
-
const se_ListRegionsCommand = async (input, context) => {
|
|
422
|
-
const b = core.requestBuilder(input, context);
|
|
423
|
-
const headers = {
|
|
424
|
-
"content-type": "application/json",
|
|
425
|
-
};
|
|
426
|
-
b.bp("/listRegions");
|
|
427
|
-
let body;
|
|
428
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
429
|
-
AccountId: [],
|
|
430
|
-
MaxResults: [],
|
|
431
|
-
NextToken: [],
|
|
432
|
-
RegionOptStatusContains: (_) => smithyClient._json(_),
|
|
433
|
-
}));
|
|
434
|
-
b.m("POST").h(headers).b(body);
|
|
435
|
-
return b.build();
|
|
436
|
-
};
|
|
437
|
-
const se_PutAccountNameCommand = async (input, context) => {
|
|
438
|
-
const b = core.requestBuilder(input, context);
|
|
439
|
-
const headers = {
|
|
440
|
-
"content-type": "application/json",
|
|
441
|
-
};
|
|
442
|
-
b.bp("/putAccountName");
|
|
443
|
-
let body;
|
|
444
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
445
|
-
AccountId: [],
|
|
446
|
-
AccountName: [],
|
|
447
|
-
}));
|
|
448
|
-
b.m("POST").h(headers).b(body);
|
|
449
|
-
return b.build();
|
|
450
|
-
};
|
|
451
|
-
const se_PutAlternateContactCommand = async (input, context) => {
|
|
452
|
-
const b = core.requestBuilder(input, context);
|
|
453
|
-
const headers = {
|
|
454
|
-
"content-type": "application/json",
|
|
455
|
-
};
|
|
456
|
-
b.bp("/putAlternateContact");
|
|
457
|
-
let body;
|
|
458
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
459
|
-
AccountId: [],
|
|
460
|
-
AlternateContactType: [],
|
|
461
|
-
EmailAddress: [],
|
|
462
|
-
Name: [],
|
|
463
|
-
PhoneNumber: [],
|
|
464
|
-
Title: [],
|
|
465
|
-
}));
|
|
466
|
-
b.m("POST").h(headers).b(body);
|
|
467
|
-
return b.build();
|
|
468
|
-
};
|
|
469
|
-
const se_PutContactInformationCommand = async (input, context) => {
|
|
470
|
-
const b = core.requestBuilder(input, context);
|
|
471
|
-
const headers = {
|
|
472
|
-
"content-type": "application/json",
|
|
473
|
-
};
|
|
474
|
-
b.bp("/putContactInformation");
|
|
475
|
-
let body;
|
|
476
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
477
|
-
AccountId: [],
|
|
478
|
-
ContactInformation: (_) => smithyClient._json(_),
|
|
479
|
-
}));
|
|
480
|
-
b.m("POST").h(headers).b(body);
|
|
481
|
-
return b.build();
|
|
482
|
-
};
|
|
483
|
-
const se_StartPrimaryEmailUpdateCommand = async (input, context) => {
|
|
484
|
-
const b = core.requestBuilder(input, context);
|
|
485
|
-
const headers = {
|
|
486
|
-
"content-type": "application/json",
|
|
487
|
-
};
|
|
488
|
-
b.bp("/startPrimaryEmailUpdate");
|
|
489
|
-
let body;
|
|
490
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
491
|
-
AccountId: [],
|
|
492
|
-
PrimaryEmail: [],
|
|
493
|
-
}));
|
|
494
|
-
b.m("POST").h(headers).b(body);
|
|
495
|
-
return b.build();
|
|
496
|
-
};
|
|
497
|
-
const de_AcceptPrimaryEmailUpdateCommand = async (output, context) => {
|
|
498
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
499
|
-
return de_CommandError(output, context);
|
|
500
|
-
}
|
|
501
|
-
const contents = smithyClient.map({
|
|
502
|
-
$metadata: deserializeMetadata(output),
|
|
503
|
-
});
|
|
504
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
505
|
-
const doc = smithyClient.take(data, {
|
|
506
|
-
Status: smithyClient.expectString,
|
|
507
|
-
});
|
|
508
|
-
Object.assign(contents, doc);
|
|
509
|
-
return contents;
|
|
510
|
-
};
|
|
511
|
-
const de_DeleteAlternateContactCommand = async (output, context) => {
|
|
512
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
513
|
-
return de_CommandError(output, context);
|
|
514
|
-
}
|
|
515
|
-
const contents = smithyClient.map({
|
|
516
|
-
$metadata: deserializeMetadata(output),
|
|
517
|
-
});
|
|
518
|
-
await smithyClient.collectBody(output.body, context);
|
|
519
|
-
return contents;
|
|
520
|
-
};
|
|
521
|
-
const de_DisableRegionCommand = async (output, context) => {
|
|
522
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
523
|
-
return de_CommandError(output, context);
|
|
524
|
-
}
|
|
525
|
-
const contents = smithyClient.map({
|
|
526
|
-
$metadata: deserializeMetadata(output),
|
|
527
|
-
});
|
|
528
|
-
await smithyClient.collectBody(output.body, context);
|
|
529
|
-
return contents;
|
|
530
|
-
};
|
|
531
|
-
const de_EnableRegionCommand = async (output, context) => {
|
|
532
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
533
|
-
return de_CommandError(output, context);
|
|
534
|
-
}
|
|
535
|
-
const contents = smithyClient.map({
|
|
536
|
-
$metadata: deserializeMetadata(output),
|
|
537
|
-
});
|
|
538
|
-
await smithyClient.collectBody(output.body, context);
|
|
539
|
-
return contents;
|
|
540
|
-
};
|
|
541
|
-
const de_GetAccountInformationCommand = async (output, context) => {
|
|
542
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
543
|
-
return de_CommandError(output, context);
|
|
544
|
-
}
|
|
545
|
-
const contents = smithyClient.map({
|
|
546
|
-
$metadata: deserializeMetadata(output),
|
|
547
|
-
});
|
|
548
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
549
|
-
const doc = smithyClient.take(data, {
|
|
550
|
-
AccountCreatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
551
|
-
AccountId: smithyClient.expectString,
|
|
552
|
-
AccountName: smithyClient.expectString,
|
|
553
|
-
});
|
|
554
|
-
Object.assign(contents, doc);
|
|
555
|
-
return contents;
|
|
556
|
-
};
|
|
557
|
-
const de_GetAlternateContactCommand = async (output, context) => {
|
|
558
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
559
|
-
return de_CommandError(output, context);
|
|
560
|
-
}
|
|
561
|
-
const contents = smithyClient.map({
|
|
562
|
-
$metadata: deserializeMetadata(output),
|
|
563
|
-
});
|
|
564
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
565
|
-
const doc = smithyClient.take(data, {
|
|
566
|
-
AlternateContact: smithyClient._json,
|
|
567
|
-
});
|
|
568
|
-
Object.assign(contents, doc);
|
|
569
|
-
return contents;
|
|
570
|
-
};
|
|
571
|
-
const de_GetContactInformationCommand = async (output, context) => {
|
|
572
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
573
|
-
return de_CommandError(output, context);
|
|
574
|
-
}
|
|
575
|
-
const contents = smithyClient.map({
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
});
|
|
578
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
579
|
-
const doc = smithyClient.take(data, {
|
|
580
|
-
ContactInformation: smithyClient._json,
|
|
581
|
-
});
|
|
582
|
-
Object.assign(contents, doc);
|
|
583
|
-
return contents;
|
|
584
|
-
};
|
|
585
|
-
const de_GetPrimaryEmailCommand = async (output, context) => {
|
|
586
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
587
|
-
return de_CommandError(output, context);
|
|
588
|
-
}
|
|
589
|
-
const contents = smithyClient.map({
|
|
590
|
-
$metadata: deserializeMetadata(output),
|
|
591
|
-
});
|
|
592
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
593
|
-
const doc = smithyClient.take(data, {
|
|
594
|
-
PrimaryEmail: smithyClient.expectString,
|
|
595
|
-
});
|
|
596
|
-
Object.assign(contents, doc);
|
|
597
|
-
return contents;
|
|
598
|
-
};
|
|
599
|
-
const de_GetRegionOptStatusCommand = async (output, context) => {
|
|
600
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
601
|
-
return de_CommandError(output, context);
|
|
602
|
-
}
|
|
603
|
-
const contents = smithyClient.map({
|
|
604
|
-
$metadata: deserializeMetadata(output),
|
|
605
|
-
});
|
|
606
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
607
|
-
const doc = smithyClient.take(data, {
|
|
608
|
-
RegionName: smithyClient.expectString,
|
|
609
|
-
RegionOptStatus: smithyClient.expectString,
|
|
610
|
-
});
|
|
611
|
-
Object.assign(contents, doc);
|
|
612
|
-
return contents;
|
|
613
|
-
};
|
|
614
|
-
const de_ListRegionsCommand = async (output, context) => {
|
|
615
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
616
|
-
return de_CommandError(output, context);
|
|
617
|
-
}
|
|
618
|
-
const contents = smithyClient.map({
|
|
619
|
-
$metadata: deserializeMetadata(output),
|
|
620
|
-
});
|
|
621
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
622
|
-
const doc = smithyClient.take(data, {
|
|
623
|
-
NextToken: smithyClient.expectString,
|
|
624
|
-
Regions: smithyClient._json,
|
|
625
|
-
});
|
|
626
|
-
Object.assign(contents, doc);
|
|
627
|
-
return contents;
|
|
628
|
-
};
|
|
629
|
-
const de_PutAccountNameCommand = async (output, context) => {
|
|
630
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
631
|
-
return de_CommandError(output, context);
|
|
632
|
-
}
|
|
633
|
-
const contents = smithyClient.map({
|
|
634
|
-
$metadata: deserializeMetadata(output),
|
|
635
|
-
});
|
|
636
|
-
await smithyClient.collectBody(output.body, context);
|
|
637
|
-
return contents;
|
|
638
|
-
};
|
|
639
|
-
const de_PutAlternateContactCommand = async (output, context) => {
|
|
640
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
641
|
-
return de_CommandError(output, context);
|
|
642
|
-
}
|
|
643
|
-
const contents = smithyClient.map({
|
|
644
|
-
$metadata: deserializeMetadata(output),
|
|
645
|
-
});
|
|
646
|
-
await smithyClient.collectBody(output.body, context);
|
|
647
|
-
return contents;
|
|
648
|
-
};
|
|
649
|
-
const de_PutContactInformationCommand = async (output, context) => {
|
|
650
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
651
|
-
return de_CommandError(output, context);
|
|
652
|
-
}
|
|
653
|
-
const contents = smithyClient.map({
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
});
|
|
656
|
-
await smithyClient.collectBody(output.body, context);
|
|
657
|
-
return contents;
|
|
658
|
-
};
|
|
659
|
-
const de_StartPrimaryEmailUpdateCommand = async (output, context) => {
|
|
660
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const contents = smithyClient.map({
|
|
664
|
-
$metadata: deserializeMetadata(output),
|
|
665
|
-
});
|
|
666
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
667
|
-
const doc = smithyClient.take(data, {
|
|
668
|
-
Status: smithyClient.expectString,
|
|
669
|
-
});
|
|
670
|
-
Object.assign(contents, doc);
|
|
671
|
-
return contents;
|
|
672
|
-
};
|
|
673
|
-
const de_CommandError = async (output, context) => {
|
|
674
|
-
const parsedOutput = {
|
|
675
|
-
...output,
|
|
676
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
677
|
-
};
|
|
678
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
679
|
-
switch (errorCode) {
|
|
680
|
-
case "AccessDeniedException":
|
|
681
|
-
case "com.amazonaws.account#AccessDeniedException":
|
|
682
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
683
|
-
case "ConflictException":
|
|
684
|
-
case "com.amazonaws.account#ConflictException":
|
|
685
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
686
|
-
case "InternalServerException":
|
|
687
|
-
case "com.amazonaws.account#InternalServerException":
|
|
688
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
689
|
-
case "ResourceNotFoundException":
|
|
690
|
-
case "com.amazonaws.account#ResourceNotFoundException":
|
|
691
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
692
|
-
case "TooManyRequestsException":
|
|
693
|
-
case "com.amazonaws.account#TooManyRequestsException":
|
|
694
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
695
|
-
case "ValidationException":
|
|
696
|
-
case "com.amazonaws.account#ValidationException":
|
|
697
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
698
|
-
default:
|
|
699
|
-
const parsedBody = parsedOutput.body;
|
|
700
|
-
return throwDefaultError({
|
|
701
|
-
output,
|
|
702
|
-
parsedBody,
|
|
703
|
-
errorCode,
|
|
704
|
-
});
|
|
705
|
-
}
|
|
706
|
-
};
|
|
707
|
-
const throwDefaultError = smithyClient.withBaseException(AccountServiceException);
|
|
708
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
709
|
-
const contents = smithyClient.map({
|
|
710
|
-
[_eT]: [, parsedOutput.headers[_xae]],
|
|
711
|
-
});
|
|
712
|
-
const data = parsedOutput.body;
|
|
713
|
-
const doc = smithyClient.take(data, {
|
|
714
|
-
message: smithyClient.expectString,
|
|
715
|
-
});
|
|
716
|
-
Object.assign(contents, doc);
|
|
717
|
-
const exception = new AccessDeniedException({
|
|
718
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
719
|
-
...contents,
|
|
720
|
-
});
|
|
721
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
722
|
-
};
|
|
723
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
724
|
-
const contents = smithyClient.map({
|
|
725
|
-
[_eT]: [, parsedOutput.headers[_xae]],
|
|
726
|
-
});
|
|
727
|
-
const data = parsedOutput.body;
|
|
728
|
-
const doc = smithyClient.take(data, {
|
|
729
|
-
message: smithyClient.expectString,
|
|
730
|
-
});
|
|
731
|
-
Object.assign(contents, doc);
|
|
732
|
-
const exception = new ConflictException({
|
|
733
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
734
|
-
...contents,
|
|
735
|
-
});
|
|
736
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
737
|
-
};
|
|
738
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
739
|
-
const contents = smithyClient.map({
|
|
740
|
-
[_eT]: [, parsedOutput.headers[_xae]],
|
|
741
|
-
});
|
|
742
|
-
const data = parsedOutput.body;
|
|
743
|
-
const doc = smithyClient.take(data, {
|
|
744
|
-
message: smithyClient.expectString,
|
|
745
|
-
});
|
|
746
|
-
Object.assign(contents, doc);
|
|
747
|
-
const exception = new InternalServerException({
|
|
748
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
749
|
-
...contents,
|
|
750
|
-
});
|
|
751
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
752
|
-
};
|
|
753
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
754
|
-
const contents = smithyClient.map({
|
|
755
|
-
[_eT]: [, parsedOutput.headers[_xae]],
|
|
756
|
-
});
|
|
757
|
-
const data = parsedOutput.body;
|
|
758
|
-
const doc = smithyClient.take(data, {
|
|
759
|
-
message: smithyClient.expectString,
|
|
760
|
-
});
|
|
761
|
-
Object.assign(contents, doc);
|
|
762
|
-
const exception = new ResourceNotFoundException({
|
|
763
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
764
|
-
...contents,
|
|
765
|
-
});
|
|
766
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
767
|
-
};
|
|
768
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
769
|
-
const contents = smithyClient.map({
|
|
770
|
-
[_eT]: [, parsedOutput.headers[_xae]],
|
|
771
|
-
});
|
|
772
|
-
const data = parsedOutput.body;
|
|
773
|
-
const doc = smithyClient.take(data, {
|
|
774
|
-
message: smithyClient.expectString,
|
|
775
|
-
});
|
|
776
|
-
Object.assign(contents, doc);
|
|
777
|
-
const exception = new TooManyRequestsException({
|
|
778
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
779
|
-
...contents,
|
|
780
|
-
});
|
|
781
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
782
|
-
};
|
|
783
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
784
|
-
const contents = smithyClient.map({});
|
|
785
|
-
const data = parsedOutput.body;
|
|
786
|
-
const doc = smithyClient.take(data, {
|
|
787
|
-
fieldList: smithyClient._json,
|
|
788
|
-
message: smithyClient.expectString,
|
|
789
|
-
reason: smithyClient.expectString,
|
|
790
|
-
});
|
|
791
|
-
Object.assign(contents, doc);
|
|
792
|
-
const exception = new ValidationException({
|
|
793
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
794
|
-
...contents,
|
|
795
|
-
});
|
|
796
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
797
|
-
};
|
|
798
|
-
const deserializeMetadata = (output) => ({
|
|
799
|
-
httpStatusCode: output.statusCode,
|
|
800
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
801
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
802
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
803
|
-
});
|
|
231
|
+
const _AC = "AlternateContact";
|
|
232
|
+
const _ACD = "AccountCreatedDate";
|
|
233
|
+
const _ACT = "AlternateContactType";
|
|
234
|
+
const _ADE = "AccessDeniedException";
|
|
235
|
+
const _AI = "AccountId";
|
|
236
|
+
const _AL = "AddressLine";
|
|
237
|
+
const _ALd = "AddressLine1";
|
|
238
|
+
const _ALdd = "AddressLine2";
|
|
239
|
+
const _ALddr = "AddressLine3";
|
|
240
|
+
const _AN = "AccountName";
|
|
241
|
+
const _APEU = "AcceptPrimaryEmailUpdate";
|
|
242
|
+
const _APEUR = "AcceptPrimaryEmailUpdateRequest";
|
|
243
|
+
const _APEURc = "AcceptPrimaryEmailUpdateResponse";
|
|
244
|
+
const _C = "City";
|
|
245
|
+
const _CC = "CountryCode";
|
|
246
|
+
const _CE = "ConflictException";
|
|
247
|
+
const _CI = "ContactInformation";
|
|
248
|
+
const _CIPN = "ContactInformationPhoneNumber";
|
|
249
|
+
const _CN = "CompanyName";
|
|
250
|
+
const _DAC = "DeleteAlternateContact";
|
|
251
|
+
const _DACR = "DeleteAlternateContactRequest";
|
|
252
|
+
const _DOC = "DistrictOrCounty";
|
|
253
|
+
const _DR = "DisableRegion";
|
|
254
|
+
const _DRR = "DisableRegionRequest";
|
|
255
|
+
const _EA = "EmailAddress";
|
|
256
|
+
const _ER = "EnableRegion";
|
|
257
|
+
const _ERR = "EnableRegionRequest";
|
|
258
|
+
const _FN = "FullName";
|
|
259
|
+
const _GAC = "GetAlternateContact";
|
|
260
|
+
const _GACR = "GetAlternateContactRequest";
|
|
261
|
+
const _GACRe = "GetAlternateContactResponse";
|
|
262
|
+
const _GAI = "GetAccountInformation";
|
|
263
|
+
const _GAIR = "GetAccountInformationRequest";
|
|
264
|
+
const _GAIRe = "GetAccountInformationResponse";
|
|
265
|
+
const _GCI = "GetContactInformation";
|
|
266
|
+
const _GCIR = "GetContactInformationRequest";
|
|
267
|
+
const _GCIRe = "GetContactInformationResponse";
|
|
268
|
+
const _GPE = "GetPrimaryEmail";
|
|
269
|
+
const _GPER = "GetPrimaryEmailRequest";
|
|
270
|
+
const _GPERe = "GetPrimaryEmailResponse";
|
|
271
|
+
const _GROS = "GetRegionOptStatus";
|
|
272
|
+
const _GROSR = "GetRegionOptStatusRequest";
|
|
273
|
+
const _GROSRe = "GetRegionOptStatusResponse";
|
|
274
|
+
const _ISE = "InternalServerException";
|
|
275
|
+
const _LR = "ListRegions";
|
|
276
|
+
const _LRR = "ListRegionsRequest";
|
|
277
|
+
const _LRRi = "ListRegionsResponse";
|
|
278
|
+
const _MR = "MaxResults";
|
|
279
|
+
const _N = "Name";
|
|
280
|
+
const _NT = "NextToken";
|
|
281
|
+
const _O = "Otp";
|
|
282
|
+
const _PAC = "PutAlternateContact";
|
|
283
|
+
const _PACR = "PutAlternateContactRequest";
|
|
284
|
+
const _PAN = "PutAccountName";
|
|
285
|
+
const _PANR = "PutAccountNameRequest";
|
|
286
|
+
const _PC = "PostalCode";
|
|
287
|
+
const _PCI = "PutContactInformation";
|
|
288
|
+
const _PCIR = "PutContactInformationRequest";
|
|
289
|
+
const _PE = "PrimaryEmail";
|
|
290
|
+
const _PEA = "PrimaryEmailAddress";
|
|
291
|
+
const _PN = "PhoneNumber";
|
|
292
|
+
const _R = "Regions";
|
|
293
|
+
const _RN = "RegionName";
|
|
294
|
+
const _RNFE = "ResourceNotFoundException";
|
|
295
|
+
const _ROL = "RegionOptList";
|
|
296
|
+
const _ROS = "RegionOptStatus";
|
|
297
|
+
const _ROSC = "RegionOptStatusContains";
|
|
298
|
+
const _Re = "Region";
|
|
299
|
+
const _S = "Status";
|
|
300
|
+
const _SOR = "StateOrRegion";
|
|
301
|
+
const _SPEU = "StartPrimaryEmailUpdate";
|
|
302
|
+
const _SPEUR = "StartPrimaryEmailUpdateRequest";
|
|
303
|
+
const _SPEURt = "StartPrimaryEmailUpdateResponse";
|
|
304
|
+
const _SS = "SensitiveString";
|
|
305
|
+
const _T = "Title";
|
|
306
|
+
const _TMRE = "TooManyRequestsException";
|
|
307
|
+
const _VE = "ValidationException";
|
|
308
|
+
const _VEF = "ValidationExceptionField";
|
|
309
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
310
|
+
const _WU = "WebsiteUrl";
|
|
311
|
+
const _c = "client";
|
|
312
|
+
const _e = "error";
|
|
804
313
|
const _eT = "errorType";
|
|
805
|
-
const
|
|
314
|
+
const _fL = "fieldList";
|
|
315
|
+
const _h = "http";
|
|
316
|
+
const _hE = "httpError";
|
|
317
|
+
const _hH = "httpHeader";
|
|
318
|
+
const _m = "message";
|
|
319
|
+
const _n = "name";
|
|
320
|
+
const _r = "reason";
|
|
321
|
+
const _s = "server";
|
|
322
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.account";
|
|
323
|
+
const _xaE = "x-amzn-ErrorType";
|
|
324
|
+
const n0 = "com.amazonaws.account";
|
|
325
|
+
var AccountName = [0, n0, _AN, 8, 0];
|
|
326
|
+
var AddressLine = [0, n0, _AL, 8, 0];
|
|
327
|
+
var City = [0, n0, _C, 8, 0];
|
|
328
|
+
var CompanyName = [0, n0, _CN, 8, 0];
|
|
329
|
+
var ContactInformationPhoneNumber = [0, n0, _CIPN, 8, 0];
|
|
330
|
+
var CountryCode = [0, n0, _CC, 8, 0];
|
|
331
|
+
var DistrictOrCounty = [0, n0, _DOC, 8, 0];
|
|
332
|
+
var EmailAddress = [0, n0, _EA, 8, 0];
|
|
333
|
+
var FullName = [0, n0, _FN, 8, 0];
|
|
334
|
+
var Name = [0, n0, _N, 8, 0];
|
|
335
|
+
var Otp = [0, n0, _O, 8, 0];
|
|
336
|
+
var PhoneNumber = [0, n0, _PN, 8, 0];
|
|
337
|
+
var PostalCode = [0, n0, _PC, 8, 0];
|
|
338
|
+
var PrimaryEmailAddress = [0, n0, _PEA, 8, 0];
|
|
339
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
340
|
+
var StateOrRegion = [0, n0, _SOR, 8, 0];
|
|
341
|
+
var Title = [0, n0, _T, 8, 0];
|
|
342
|
+
var WebsiteUrl = [0, n0, _WU, 8, 0];
|
|
343
|
+
var AcceptPrimaryEmailUpdateRequest = [
|
|
344
|
+
3,
|
|
345
|
+
n0,
|
|
346
|
+
_APEUR,
|
|
347
|
+
0,
|
|
348
|
+
[_AI, _PE, _O],
|
|
349
|
+
[0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]],
|
|
350
|
+
];
|
|
351
|
+
var AcceptPrimaryEmailUpdateResponse = [3, n0, _APEURc, 0, [_S], [0]];
|
|
352
|
+
var AccessDeniedException = [
|
|
353
|
+
-3,
|
|
354
|
+
n0,
|
|
355
|
+
_ADE,
|
|
356
|
+
{
|
|
357
|
+
[_e]: _c,
|
|
358
|
+
[_hE]: 403,
|
|
359
|
+
},
|
|
360
|
+
[_m, _eT],
|
|
361
|
+
[
|
|
362
|
+
0,
|
|
363
|
+
[
|
|
364
|
+
0,
|
|
365
|
+
{
|
|
366
|
+
[_hH]: _xaE,
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
],
|
|
370
|
+
];
|
|
371
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
372
|
+
var AlternateContact = [
|
|
373
|
+
3,
|
|
374
|
+
n0,
|
|
375
|
+
_AC,
|
|
376
|
+
0,
|
|
377
|
+
[_N, _T, _EA, _PN, _ACT],
|
|
378
|
+
[[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0],
|
|
379
|
+
];
|
|
380
|
+
var ConflictException = [
|
|
381
|
+
-3,
|
|
382
|
+
n0,
|
|
383
|
+
_CE,
|
|
384
|
+
{
|
|
385
|
+
[_e]: _c,
|
|
386
|
+
[_hE]: 409,
|
|
387
|
+
},
|
|
388
|
+
[_m, _eT],
|
|
389
|
+
[
|
|
390
|
+
0,
|
|
391
|
+
[
|
|
392
|
+
0,
|
|
393
|
+
{
|
|
394
|
+
[_hH]: _xaE,
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
],
|
|
398
|
+
];
|
|
399
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
400
|
+
var ContactInformation = [
|
|
401
|
+
3,
|
|
402
|
+
n0,
|
|
403
|
+
_CI,
|
|
404
|
+
0,
|
|
405
|
+
[_FN, _ALd, _ALdd, _ALddr, _C, _SOR, _DOC, _PC, _CC, _PN, _CN, _WU],
|
|
406
|
+
[
|
|
407
|
+
[() => FullName, 0],
|
|
408
|
+
[() => AddressLine, 0],
|
|
409
|
+
[() => AddressLine, 0],
|
|
410
|
+
[() => AddressLine, 0],
|
|
411
|
+
[() => City, 0],
|
|
412
|
+
[() => StateOrRegion, 0],
|
|
413
|
+
[() => DistrictOrCounty, 0],
|
|
414
|
+
[() => PostalCode, 0],
|
|
415
|
+
[() => CountryCode, 0],
|
|
416
|
+
[() => ContactInformationPhoneNumber, 0],
|
|
417
|
+
[() => CompanyName, 0],
|
|
418
|
+
[() => WebsiteUrl, 0],
|
|
419
|
+
],
|
|
420
|
+
];
|
|
421
|
+
var DeleteAlternateContactRequest = [3, n0, _DACR, 0, [_ACT, _AI], [0, 0]];
|
|
422
|
+
var DisableRegionRequest = [3, n0, _DRR, 0, [_AI, _RN], [0, 0]];
|
|
423
|
+
var EnableRegionRequest = [3, n0, _ERR, 0, [_AI, _RN], [0, 0]];
|
|
424
|
+
var GetAccountInformationRequest = [3, n0, _GAIR, 0, [_AI], [0]];
|
|
425
|
+
var GetAccountInformationResponse = [
|
|
426
|
+
3,
|
|
427
|
+
n0,
|
|
428
|
+
_GAIRe,
|
|
429
|
+
0,
|
|
430
|
+
[_AI, _AN, _ACD],
|
|
431
|
+
[0, [() => AccountName, 0], 5],
|
|
432
|
+
];
|
|
433
|
+
var GetAlternateContactRequest = [3, n0, _GACR, 0, [_ACT, _AI], [0, 0]];
|
|
434
|
+
var GetAlternateContactResponse = [
|
|
435
|
+
3,
|
|
436
|
+
n0,
|
|
437
|
+
_GACRe,
|
|
438
|
+
0,
|
|
439
|
+
[_AC],
|
|
440
|
+
[[() => AlternateContact, 0]],
|
|
441
|
+
];
|
|
442
|
+
var GetContactInformationRequest = [3, n0, _GCIR, 0, [_AI], [0]];
|
|
443
|
+
var GetContactInformationResponse = [
|
|
444
|
+
3,
|
|
445
|
+
n0,
|
|
446
|
+
_GCIRe,
|
|
447
|
+
0,
|
|
448
|
+
[_CI],
|
|
449
|
+
[[() => ContactInformation, 0]],
|
|
450
|
+
];
|
|
451
|
+
var GetPrimaryEmailRequest = [3, n0, _GPER, 0, [_AI], [0]];
|
|
452
|
+
var GetPrimaryEmailResponse = [3, n0, _GPERe, 0, [_PE], [[() => PrimaryEmailAddress, 0]]];
|
|
453
|
+
var GetRegionOptStatusRequest = [3, n0, _GROSR, 0, [_AI, _RN], [0, 0]];
|
|
454
|
+
var GetRegionOptStatusResponse = [3, n0, _GROSRe, 0, [_RN, _ROS], [0, 0]];
|
|
455
|
+
var InternalServerException = [
|
|
456
|
+
-3,
|
|
457
|
+
n0,
|
|
458
|
+
_ISE,
|
|
459
|
+
{
|
|
460
|
+
[_e]: _s,
|
|
461
|
+
[_hE]: 500,
|
|
462
|
+
},
|
|
463
|
+
[_m, _eT],
|
|
464
|
+
[
|
|
465
|
+
0,
|
|
466
|
+
[
|
|
467
|
+
0,
|
|
468
|
+
{
|
|
469
|
+
[_hH]: _xaE,
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
],
|
|
473
|
+
];
|
|
474
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
475
|
+
var ListRegionsRequest = [3, n0, _LRR, 0, [_AI, _MR, _NT, _ROSC], [0, 1, 0, 64 | 0]];
|
|
476
|
+
var ListRegionsResponse = [3, n0, _LRRi, 0, [_NT, _R], [0, () => RegionOptList]];
|
|
477
|
+
var PutAccountNameRequest = [3, n0, _PANR, 0, [_AN, _AI], [[() => AccountName, 0], 0]];
|
|
478
|
+
var PutAlternateContactRequest = [
|
|
479
|
+
3,
|
|
480
|
+
n0,
|
|
481
|
+
_PACR,
|
|
482
|
+
0,
|
|
483
|
+
[_N, _T, _EA, _PN, _ACT, _AI],
|
|
484
|
+
[[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0],
|
|
485
|
+
];
|
|
486
|
+
var PutContactInformationRequest = [
|
|
487
|
+
3,
|
|
488
|
+
n0,
|
|
489
|
+
_PCIR,
|
|
490
|
+
0,
|
|
491
|
+
[_CI, _AI],
|
|
492
|
+
[[() => ContactInformation, 0], 0],
|
|
493
|
+
];
|
|
494
|
+
var Region = [3, n0, _Re, 0, [_RN, _ROS], [0, 0]];
|
|
495
|
+
var ResourceNotFoundException = [
|
|
496
|
+
-3,
|
|
497
|
+
n0,
|
|
498
|
+
_RNFE,
|
|
499
|
+
{
|
|
500
|
+
[_e]: _c,
|
|
501
|
+
[_hE]: 404,
|
|
502
|
+
},
|
|
503
|
+
[_m, _eT],
|
|
504
|
+
[
|
|
505
|
+
0,
|
|
506
|
+
[
|
|
507
|
+
0,
|
|
508
|
+
{
|
|
509
|
+
[_hH]: _xaE,
|
|
510
|
+
},
|
|
511
|
+
],
|
|
512
|
+
],
|
|
513
|
+
];
|
|
514
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
515
|
+
var StartPrimaryEmailUpdateRequest = [
|
|
516
|
+
3,
|
|
517
|
+
n0,
|
|
518
|
+
_SPEUR,
|
|
519
|
+
0,
|
|
520
|
+
[_AI, _PE],
|
|
521
|
+
[0, [() => PrimaryEmailAddress, 0]],
|
|
522
|
+
];
|
|
523
|
+
var StartPrimaryEmailUpdateResponse = [3, n0, _SPEURt, 0, [_S], [0]];
|
|
524
|
+
var TooManyRequestsException = [
|
|
525
|
+
-3,
|
|
526
|
+
n0,
|
|
527
|
+
_TMRE,
|
|
528
|
+
{
|
|
529
|
+
[_e]: _c,
|
|
530
|
+
[_hE]: 429,
|
|
531
|
+
},
|
|
532
|
+
[_m, _eT],
|
|
533
|
+
[
|
|
534
|
+
0,
|
|
535
|
+
[
|
|
536
|
+
0,
|
|
537
|
+
{
|
|
538
|
+
[_hH]: _xaE,
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
],
|
|
542
|
+
];
|
|
543
|
+
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
544
|
+
var ValidationException = [
|
|
545
|
+
-3,
|
|
546
|
+
n0,
|
|
547
|
+
_VE,
|
|
548
|
+
{
|
|
549
|
+
[_e]: _c,
|
|
550
|
+
[_hE]: 400,
|
|
551
|
+
},
|
|
552
|
+
[_m, _r, _fL],
|
|
553
|
+
[[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]],
|
|
554
|
+
];
|
|
555
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
556
|
+
var ValidationExceptionField = [
|
|
557
|
+
3,
|
|
558
|
+
n0,
|
|
559
|
+
_VEF,
|
|
560
|
+
0,
|
|
561
|
+
[_n, _m],
|
|
562
|
+
[0, [() => SensitiveString, 0]],
|
|
563
|
+
];
|
|
564
|
+
var __Unit = "unit";
|
|
565
|
+
var AccountServiceException = [-3, _sm, "AccountServiceException", 0, [], []];
|
|
566
|
+
schema.TypeRegistry.for(_sm).registerError(AccountServiceException, AccountServiceException$1);
|
|
567
|
+
var RegionOptList = [1, n0, _ROL, 0, () => Region];
|
|
568
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField, 0]];
|
|
569
|
+
var AcceptPrimaryEmailUpdate = [
|
|
570
|
+
9,
|
|
571
|
+
n0,
|
|
572
|
+
_APEU,
|
|
573
|
+
{
|
|
574
|
+
[_h]: ["POST", "/acceptPrimaryEmailUpdate", 200],
|
|
575
|
+
},
|
|
576
|
+
() => AcceptPrimaryEmailUpdateRequest,
|
|
577
|
+
() => AcceptPrimaryEmailUpdateResponse,
|
|
578
|
+
];
|
|
579
|
+
var DeleteAlternateContact = [
|
|
580
|
+
9,
|
|
581
|
+
n0,
|
|
582
|
+
_DAC,
|
|
583
|
+
{
|
|
584
|
+
[_h]: ["POST", "/deleteAlternateContact", 200],
|
|
585
|
+
},
|
|
586
|
+
() => DeleteAlternateContactRequest,
|
|
587
|
+
() => __Unit,
|
|
588
|
+
];
|
|
589
|
+
var DisableRegion = [
|
|
590
|
+
9,
|
|
591
|
+
n0,
|
|
592
|
+
_DR,
|
|
593
|
+
{
|
|
594
|
+
[_h]: ["POST", "/disableRegion", 200],
|
|
595
|
+
},
|
|
596
|
+
() => DisableRegionRequest,
|
|
597
|
+
() => __Unit,
|
|
598
|
+
];
|
|
599
|
+
var EnableRegion = [
|
|
600
|
+
9,
|
|
601
|
+
n0,
|
|
602
|
+
_ER,
|
|
603
|
+
{
|
|
604
|
+
[_h]: ["POST", "/enableRegion", 200],
|
|
605
|
+
},
|
|
606
|
+
() => EnableRegionRequest,
|
|
607
|
+
() => __Unit,
|
|
608
|
+
];
|
|
609
|
+
var GetAccountInformation = [
|
|
610
|
+
9,
|
|
611
|
+
n0,
|
|
612
|
+
_GAI,
|
|
613
|
+
{
|
|
614
|
+
[_h]: ["POST", "/getAccountInformation", 200],
|
|
615
|
+
},
|
|
616
|
+
() => GetAccountInformationRequest,
|
|
617
|
+
() => GetAccountInformationResponse,
|
|
618
|
+
];
|
|
619
|
+
var GetAlternateContact = [
|
|
620
|
+
9,
|
|
621
|
+
n0,
|
|
622
|
+
_GAC,
|
|
623
|
+
{
|
|
624
|
+
[_h]: ["POST", "/getAlternateContact", 200],
|
|
625
|
+
},
|
|
626
|
+
() => GetAlternateContactRequest,
|
|
627
|
+
() => GetAlternateContactResponse,
|
|
628
|
+
];
|
|
629
|
+
var GetContactInformation = [
|
|
630
|
+
9,
|
|
631
|
+
n0,
|
|
632
|
+
_GCI,
|
|
633
|
+
{
|
|
634
|
+
[_h]: ["POST", "/getContactInformation", 200],
|
|
635
|
+
},
|
|
636
|
+
() => GetContactInformationRequest,
|
|
637
|
+
() => GetContactInformationResponse,
|
|
638
|
+
];
|
|
639
|
+
var GetPrimaryEmail = [
|
|
640
|
+
9,
|
|
641
|
+
n0,
|
|
642
|
+
_GPE,
|
|
643
|
+
{
|
|
644
|
+
[_h]: ["POST", "/getPrimaryEmail", 200],
|
|
645
|
+
},
|
|
646
|
+
() => GetPrimaryEmailRequest,
|
|
647
|
+
() => GetPrimaryEmailResponse,
|
|
648
|
+
];
|
|
649
|
+
var GetRegionOptStatus = [
|
|
650
|
+
9,
|
|
651
|
+
n0,
|
|
652
|
+
_GROS,
|
|
653
|
+
{
|
|
654
|
+
[_h]: ["POST", "/getRegionOptStatus", 200],
|
|
655
|
+
},
|
|
656
|
+
() => GetRegionOptStatusRequest,
|
|
657
|
+
() => GetRegionOptStatusResponse,
|
|
658
|
+
];
|
|
659
|
+
var ListRegions = [
|
|
660
|
+
9,
|
|
661
|
+
n0,
|
|
662
|
+
_LR,
|
|
663
|
+
{
|
|
664
|
+
[_h]: ["POST", "/listRegions", 200],
|
|
665
|
+
},
|
|
666
|
+
() => ListRegionsRequest,
|
|
667
|
+
() => ListRegionsResponse,
|
|
668
|
+
];
|
|
669
|
+
var PutAccountName = [
|
|
670
|
+
9,
|
|
671
|
+
n0,
|
|
672
|
+
_PAN,
|
|
673
|
+
{
|
|
674
|
+
[_h]: ["POST", "/putAccountName", 200],
|
|
675
|
+
},
|
|
676
|
+
() => PutAccountNameRequest,
|
|
677
|
+
() => __Unit,
|
|
678
|
+
];
|
|
679
|
+
var PutAlternateContact = [
|
|
680
|
+
9,
|
|
681
|
+
n0,
|
|
682
|
+
_PAC,
|
|
683
|
+
{
|
|
684
|
+
[_h]: ["POST", "/putAlternateContact", 200],
|
|
685
|
+
},
|
|
686
|
+
() => PutAlternateContactRequest,
|
|
687
|
+
() => __Unit,
|
|
688
|
+
];
|
|
689
|
+
var PutContactInformation = [
|
|
690
|
+
9,
|
|
691
|
+
n0,
|
|
692
|
+
_PCI,
|
|
693
|
+
{
|
|
694
|
+
[_h]: ["POST", "/putContactInformation", 200],
|
|
695
|
+
},
|
|
696
|
+
() => PutContactInformationRequest,
|
|
697
|
+
() => __Unit,
|
|
698
|
+
];
|
|
699
|
+
var StartPrimaryEmailUpdate = [
|
|
700
|
+
9,
|
|
701
|
+
n0,
|
|
702
|
+
_SPEU,
|
|
703
|
+
{
|
|
704
|
+
[_h]: ["POST", "/startPrimaryEmailUpdate", 200],
|
|
705
|
+
},
|
|
706
|
+
() => StartPrimaryEmailUpdateRequest,
|
|
707
|
+
() => StartPrimaryEmailUpdateResponse,
|
|
708
|
+
];
|
|
806
709
|
|
|
807
710
|
class AcceptPrimaryEmailUpdateCommand extends smithyClient.Command
|
|
808
711
|
.classBuilder()
|
|
809
712
|
.ep(commonParams)
|
|
810
713
|
.m(function (Command, cs, config, o) {
|
|
811
|
-
return [
|
|
812
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
813
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
814
|
-
];
|
|
714
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
815
715
|
})
|
|
816
716
|
.s("Account", "AcceptPrimaryEmailUpdate", {})
|
|
817
717
|
.n("AccountClient", "AcceptPrimaryEmailUpdateCommand")
|
|
818
|
-
.
|
|
819
|
-
.ser(se_AcceptPrimaryEmailUpdateCommand)
|
|
820
|
-
.de(de_AcceptPrimaryEmailUpdateCommand)
|
|
718
|
+
.sc(AcceptPrimaryEmailUpdate)
|
|
821
719
|
.build() {
|
|
822
720
|
}
|
|
823
721
|
|
|
@@ -825,16 +723,11 @@ class DeleteAlternateContactCommand extends smithyClient.Command
|
|
|
825
723
|
.classBuilder()
|
|
826
724
|
.ep(commonParams)
|
|
827
725
|
.m(function (Command, cs, config, o) {
|
|
828
|
-
return [
|
|
829
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
830
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
831
|
-
];
|
|
726
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
832
727
|
})
|
|
833
728
|
.s("Account", "DeleteAlternateContact", {})
|
|
834
729
|
.n("AccountClient", "DeleteAlternateContactCommand")
|
|
835
|
-
.
|
|
836
|
-
.ser(se_DeleteAlternateContactCommand)
|
|
837
|
-
.de(de_DeleteAlternateContactCommand)
|
|
730
|
+
.sc(DeleteAlternateContact)
|
|
838
731
|
.build() {
|
|
839
732
|
}
|
|
840
733
|
|
|
@@ -842,16 +735,11 @@ class DisableRegionCommand extends smithyClient.Command
|
|
|
842
735
|
.classBuilder()
|
|
843
736
|
.ep(commonParams)
|
|
844
737
|
.m(function (Command, cs, config, o) {
|
|
845
|
-
return [
|
|
846
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
847
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
848
|
-
];
|
|
738
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
849
739
|
})
|
|
850
740
|
.s("Account", "DisableRegion", {})
|
|
851
741
|
.n("AccountClient", "DisableRegionCommand")
|
|
852
|
-
.
|
|
853
|
-
.ser(se_DisableRegionCommand)
|
|
854
|
-
.de(de_DisableRegionCommand)
|
|
742
|
+
.sc(DisableRegion)
|
|
855
743
|
.build() {
|
|
856
744
|
}
|
|
857
745
|
|
|
@@ -859,16 +747,11 @@ class EnableRegionCommand extends smithyClient.Command
|
|
|
859
747
|
.classBuilder()
|
|
860
748
|
.ep(commonParams)
|
|
861
749
|
.m(function (Command, cs, config, o) {
|
|
862
|
-
return [
|
|
863
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
864
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
865
|
-
];
|
|
750
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
866
751
|
})
|
|
867
752
|
.s("Account", "EnableRegion", {})
|
|
868
753
|
.n("AccountClient", "EnableRegionCommand")
|
|
869
|
-
.
|
|
870
|
-
.ser(se_EnableRegionCommand)
|
|
871
|
-
.de(de_EnableRegionCommand)
|
|
754
|
+
.sc(EnableRegion)
|
|
872
755
|
.build() {
|
|
873
756
|
}
|
|
874
757
|
|
|
@@ -876,16 +759,11 @@ class GetAccountInformationCommand extends smithyClient.Command
|
|
|
876
759
|
.classBuilder()
|
|
877
760
|
.ep(commonParams)
|
|
878
761
|
.m(function (Command, cs, config, o) {
|
|
879
|
-
return [
|
|
880
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
881
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
882
|
-
];
|
|
762
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
883
763
|
})
|
|
884
764
|
.s("Account", "GetAccountInformation", {})
|
|
885
765
|
.n("AccountClient", "GetAccountInformationCommand")
|
|
886
|
-
.
|
|
887
|
-
.ser(se_GetAccountInformationCommand)
|
|
888
|
-
.de(de_GetAccountInformationCommand)
|
|
766
|
+
.sc(GetAccountInformation)
|
|
889
767
|
.build() {
|
|
890
768
|
}
|
|
891
769
|
|
|
@@ -893,16 +771,11 @@ class GetAlternateContactCommand extends smithyClient.Command
|
|
|
893
771
|
.classBuilder()
|
|
894
772
|
.ep(commonParams)
|
|
895
773
|
.m(function (Command, cs, config, o) {
|
|
896
|
-
return [
|
|
897
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
898
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
899
|
-
];
|
|
774
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
900
775
|
})
|
|
901
776
|
.s("Account", "GetAlternateContact", {})
|
|
902
777
|
.n("AccountClient", "GetAlternateContactCommand")
|
|
903
|
-
.
|
|
904
|
-
.ser(se_GetAlternateContactCommand)
|
|
905
|
-
.de(de_GetAlternateContactCommand)
|
|
778
|
+
.sc(GetAlternateContact)
|
|
906
779
|
.build() {
|
|
907
780
|
}
|
|
908
781
|
|
|
@@ -910,16 +783,11 @@ class GetContactInformationCommand extends smithyClient.Command
|
|
|
910
783
|
.classBuilder()
|
|
911
784
|
.ep(commonParams)
|
|
912
785
|
.m(function (Command, cs, config, o) {
|
|
913
|
-
return [
|
|
914
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
915
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
916
|
-
];
|
|
786
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
917
787
|
})
|
|
918
788
|
.s("Account", "GetContactInformation", {})
|
|
919
789
|
.n("AccountClient", "GetContactInformationCommand")
|
|
920
|
-
.
|
|
921
|
-
.ser(se_GetContactInformationCommand)
|
|
922
|
-
.de(de_GetContactInformationCommand)
|
|
790
|
+
.sc(GetContactInformation)
|
|
923
791
|
.build() {
|
|
924
792
|
}
|
|
925
793
|
|
|
@@ -927,16 +795,11 @@ class GetPrimaryEmailCommand extends smithyClient.Command
|
|
|
927
795
|
.classBuilder()
|
|
928
796
|
.ep(commonParams)
|
|
929
797
|
.m(function (Command, cs, config, o) {
|
|
930
|
-
return [
|
|
931
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
932
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
933
|
-
];
|
|
798
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
934
799
|
})
|
|
935
800
|
.s("Account", "GetPrimaryEmail", {})
|
|
936
801
|
.n("AccountClient", "GetPrimaryEmailCommand")
|
|
937
|
-
.
|
|
938
|
-
.ser(se_GetPrimaryEmailCommand)
|
|
939
|
-
.de(de_GetPrimaryEmailCommand)
|
|
802
|
+
.sc(GetPrimaryEmail)
|
|
940
803
|
.build() {
|
|
941
804
|
}
|
|
942
805
|
|
|
@@ -944,16 +807,11 @@ class GetRegionOptStatusCommand extends smithyClient.Command
|
|
|
944
807
|
.classBuilder()
|
|
945
808
|
.ep(commonParams)
|
|
946
809
|
.m(function (Command, cs, config, o) {
|
|
947
|
-
return [
|
|
948
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
949
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
950
|
-
];
|
|
810
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
951
811
|
})
|
|
952
812
|
.s("Account", "GetRegionOptStatus", {})
|
|
953
813
|
.n("AccountClient", "GetRegionOptStatusCommand")
|
|
954
|
-
.
|
|
955
|
-
.ser(se_GetRegionOptStatusCommand)
|
|
956
|
-
.de(de_GetRegionOptStatusCommand)
|
|
814
|
+
.sc(GetRegionOptStatus)
|
|
957
815
|
.build() {
|
|
958
816
|
}
|
|
959
817
|
|
|
@@ -961,16 +819,11 @@ class ListRegionsCommand extends smithyClient.Command
|
|
|
961
819
|
.classBuilder()
|
|
962
820
|
.ep(commonParams)
|
|
963
821
|
.m(function (Command, cs, config, o) {
|
|
964
|
-
return [
|
|
965
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
966
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
967
|
-
];
|
|
822
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
968
823
|
})
|
|
969
824
|
.s("Account", "ListRegions", {})
|
|
970
825
|
.n("AccountClient", "ListRegionsCommand")
|
|
971
|
-
.
|
|
972
|
-
.ser(se_ListRegionsCommand)
|
|
973
|
-
.de(de_ListRegionsCommand)
|
|
826
|
+
.sc(ListRegions)
|
|
974
827
|
.build() {
|
|
975
828
|
}
|
|
976
829
|
|
|
@@ -978,16 +831,11 @@ class PutAccountNameCommand extends smithyClient.Command
|
|
|
978
831
|
.classBuilder()
|
|
979
832
|
.ep(commonParams)
|
|
980
833
|
.m(function (Command, cs, config, o) {
|
|
981
|
-
return [
|
|
982
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
983
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
984
|
-
];
|
|
834
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
985
835
|
})
|
|
986
836
|
.s("Account", "PutAccountName", {})
|
|
987
837
|
.n("AccountClient", "PutAccountNameCommand")
|
|
988
|
-
.
|
|
989
|
-
.ser(se_PutAccountNameCommand)
|
|
990
|
-
.de(de_PutAccountNameCommand)
|
|
838
|
+
.sc(PutAccountName)
|
|
991
839
|
.build() {
|
|
992
840
|
}
|
|
993
841
|
|
|
@@ -995,16 +843,11 @@ class PutAlternateContactCommand extends smithyClient.Command
|
|
|
995
843
|
.classBuilder()
|
|
996
844
|
.ep(commonParams)
|
|
997
845
|
.m(function (Command, cs, config, o) {
|
|
998
|
-
return [
|
|
999
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1000
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1001
|
-
];
|
|
846
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1002
847
|
})
|
|
1003
848
|
.s("Account", "PutAlternateContact", {})
|
|
1004
849
|
.n("AccountClient", "PutAlternateContactCommand")
|
|
1005
|
-
.
|
|
1006
|
-
.ser(se_PutAlternateContactCommand)
|
|
1007
|
-
.de(de_PutAlternateContactCommand)
|
|
850
|
+
.sc(PutAlternateContact)
|
|
1008
851
|
.build() {
|
|
1009
852
|
}
|
|
1010
853
|
|
|
@@ -1012,16 +855,11 @@ class PutContactInformationCommand extends smithyClient.Command
|
|
|
1012
855
|
.classBuilder()
|
|
1013
856
|
.ep(commonParams)
|
|
1014
857
|
.m(function (Command, cs, config, o) {
|
|
1015
|
-
return [
|
|
1016
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1017
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1018
|
-
];
|
|
858
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1019
859
|
})
|
|
1020
860
|
.s("Account", "PutContactInformation", {})
|
|
1021
861
|
.n("AccountClient", "PutContactInformationCommand")
|
|
1022
|
-
.
|
|
1023
|
-
.ser(se_PutContactInformationCommand)
|
|
1024
|
-
.de(de_PutContactInformationCommand)
|
|
862
|
+
.sc(PutContactInformation)
|
|
1025
863
|
.build() {
|
|
1026
864
|
}
|
|
1027
865
|
|
|
@@ -1029,16 +867,11 @@ class StartPrimaryEmailUpdateCommand extends smithyClient.Command
|
|
|
1029
867
|
.classBuilder()
|
|
1030
868
|
.ep(commonParams)
|
|
1031
869
|
.m(function (Command, cs, config, o) {
|
|
1032
|
-
return [
|
|
1033
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1034
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1035
|
-
];
|
|
870
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1036
871
|
})
|
|
1037
872
|
.s("Account", "StartPrimaryEmailUpdate", {})
|
|
1038
873
|
.n("AccountClient", "StartPrimaryEmailUpdateCommand")
|
|
1039
|
-
.
|
|
1040
|
-
.ser(se_StartPrimaryEmailUpdateCommand)
|
|
1041
|
-
.de(de_StartPrimaryEmailUpdateCommand)
|
|
874
|
+
.sc(StartPrimaryEmailUpdate)
|
|
1042
875
|
.build() {
|
|
1043
876
|
}
|
|
1044
877
|
|
|
@@ -1073,42 +906,30 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1073
906
|
get: function () { return smithyClient.Client; }
|
|
1074
907
|
});
|
|
1075
908
|
exports.AcceptPrimaryEmailUpdateCommand = AcceptPrimaryEmailUpdateCommand;
|
|
1076
|
-
exports.
|
|
1077
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
909
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1078
910
|
exports.Account = Account;
|
|
1079
911
|
exports.AccountClient = AccountClient;
|
|
1080
|
-
exports.AccountServiceException = AccountServiceException;
|
|
1081
|
-
exports.AlternateContactFilterSensitiveLog = AlternateContactFilterSensitiveLog;
|
|
912
|
+
exports.AccountServiceException = AccountServiceException$1;
|
|
1082
913
|
exports.AlternateContactType = AlternateContactType;
|
|
1083
|
-
exports.ConflictException = ConflictException;
|
|
1084
|
-
exports.ContactInformationFilterSensitiveLog = ContactInformationFilterSensitiveLog;
|
|
914
|
+
exports.ConflictException = ConflictException$1;
|
|
1085
915
|
exports.DeleteAlternateContactCommand = DeleteAlternateContactCommand;
|
|
1086
916
|
exports.DisableRegionCommand = DisableRegionCommand;
|
|
1087
917
|
exports.EnableRegionCommand = EnableRegionCommand;
|
|
1088
918
|
exports.GetAccountInformationCommand = GetAccountInformationCommand;
|
|
1089
|
-
exports.GetAccountInformationResponseFilterSensitiveLog = GetAccountInformationResponseFilterSensitiveLog;
|
|
1090
919
|
exports.GetAlternateContactCommand = GetAlternateContactCommand;
|
|
1091
|
-
exports.GetAlternateContactResponseFilterSensitiveLog = GetAlternateContactResponseFilterSensitiveLog;
|
|
1092
920
|
exports.GetContactInformationCommand = GetContactInformationCommand;
|
|
1093
|
-
exports.GetContactInformationResponseFilterSensitiveLog = GetContactInformationResponseFilterSensitiveLog;
|
|
1094
921
|
exports.GetPrimaryEmailCommand = GetPrimaryEmailCommand;
|
|
1095
|
-
exports.GetPrimaryEmailResponseFilterSensitiveLog = GetPrimaryEmailResponseFilterSensitiveLog;
|
|
1096
922
|
exports.GetRegionOptStatusCommand = GetRegionOptStatusCommand;
|
|
1097
|
-
exports.InternalServerException = InternalServerException;
|
|
923
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1098
924
|
exports.ListRegionsCommand = ListRegionsCommand;
|
|
1099
925
|
exports.PrimaryEmailUpdateStatus = PrimaryEmailUpdateStatus;
|
|
1100
926
|
exports.PutAccountNameCommand = PutAccountNameCommand;
|
|
1101
|
-
exports.PutAccountNameRequestFilterSensitiveLog = PutAccountNameRequestFilterSensitiveLog;
|
|
1102
927
|
exports.PutAlternateContactCommand = PutAlternateContactCommand;
|
|
1103
|
-
exports.PutAlternateContactRequestFilterSensitiveLog = PutAlternateContactRequestFilterSensitiveLog;
|
|
1104
928
|
exports.PutContactInformationCommand = PutContactInformationCommand;
|
|
1105
|
-
exports.PutContactInformationRequestFilterSensitiveLog = PutContactInformationRequestFilterSensitiveLog;
|
|
1106
929
|
exports.RegionOptStatus = RegionOptStatus;
|
|
1107
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
930
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1108
931
|
exports.StartPrimaryEmailUpdateCommand = StartPrimaryEmailUpdateCommand;
|
|
1109
|
-
exports.
|
|
1110
|
-
exports.
|
|
1111
|
-
exports.ValidationException = ValidationException;
|
|
1112
|
-
exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
|
|
932
|
+
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
933
|
+
exports.ValidationException = ValidationException$1;
|
|
1113
934
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1114
935
|
exports.paginateListRegions = paginateListRegions;
|