@aws-sdk/client-account 3.986.0 → 3.988.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 +34 -543
- package/dist-cjs/models/AccountServiceException.js +12 -0
- package/dist-cjs/models/errors.js +115 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +370 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +52 -46
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var AccountServiceException = require('./models/AccountServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,475 +113,6 @@ class AccountClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class AccountServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, AccountServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends AccountServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
errorType;
|
|
124
|
-
constructor(opts) {
|
|
125
|
-
super({
|
|
126
|
-
name: "AccessDeniedException",
|
|
127
|
-
$fault: "client",
|
|
128
|
-
...opts,
|
|
129
|
-
});
|
|
130
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
-
this.errorType = opts.errorType;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
class ConflictException extends AccountServiceException {
|
|
135
|
-
name = "ConflictException";
|
|
136
|
-
$fault = "client";
|
|
137
|
-
errorType;
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "ConflictException",
|
|
141
|
-
$fault: "client",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
145
|
-
this.errorType = opts.errorType;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
class InternalServerException extends AccountServiceException {
|
|
149
|
-
name = "InternalServerException";
|
|
150
|
-
$fault = "server";
|
|
151
|
-
$retryable = {};
|
|
152
|
-
errorType;
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "InternalServerException",
|
|
156
|
-
$fault: "server",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
160
|
-
this.errorType = opts.errorType;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
class ResourceNotFoundException extends AccountServiceException {
|
|
164
|
-
name = "ResourceNotFoundException";
|
|
165
|
-
$fault = "client";
|
|
166
|
-
errorType;
|
|
167
|
-
constructor(opts) {
|
|
168
|
-
super({
|
|
169
|
-
name: "ResourceNotFoundException",
|
|
170
|
-
$fault: "client",
|
|
171
|
-
...opts,
|
|
172
|
-
});
|
|
173
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
174
|
-
this.errorType = opts.errorType;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
class TooManyRequestsException extends AccountServiceException {
|
|
178
|
-
name = "TooManyRequestsException";
|
|
179
|
-
$fault = "client";
|
|
180
|
-
$retryable = {
|
|
181
|
-
throttling: true,
|
|
182
|
-
};
|
|
183
|
-
errorType;
|
|
184
|
-
constructor(opts) {
|
|
185
|
-
super({
|
|
186
|
-
name: "TooManyRequestsException",
|
|
187
|
-
$fault: "client",
|
|
188
|
-
...opts,
|
|
189
|
-
});
|
|
190
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
191
|
-
this.errorType = opts.errorType;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
class ValidationException extends AccountServiceException {
|
|
195
|
-
name = "ValidationException";
|
|
196
|
-
$fault = "client";
|
|
197
|
-
reason;
|
|
198
|
-
fieldList;
|
|
199
|
-
constructor(opts) {
|
|
200
|
-
super({
|
|
201
|
-
name: "ValidationException",
|
|
202
|
-
$fault: "client",
|
|
203
|
-
...opts,
|
|
204
|
-
});
|
|
205
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
206
|
-
this.reason = opts.reason;
|
|
207
|
-
this.fieldList = opts.fieldList;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
class ResourceUnavailableException extends AccountServiceException {
|
|
211
|
-
name = "ResourceUnavailableException";
|
|
212
|
-
$fault = "client";
|
|
213
|
-
errorType;
|
|
214
|
-
constructor(opts) {
|
|
215
|
-
super({
|
|
216
|
-
name: "ResourceUnavailableException",
|
|
217
|
-
$fault: "client",
|
|
218
|
-
...opts,
|
|
219
|
-
});
|
|
220
|
-
Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
|
|
221
|
-
this.errorType = opts.errorType;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
const _AC = "AlternateContact";
|
|
226
|
-
const _ACD = "AccountCreatedDate";
|
|
227
|
-
const _ACT = "AlternateContactType";
|
|
228
|
-
const _ADE = "AccessDeniedException";
|
|
229
|
-
const _AI = "AccountId";
|
|
230
|
-
const _AL = "AddressLine";
|
|
231
|
-
const _ALd = "AddressLine1";
|
|
232
|
-
const _ALdd = "AddressLine2";
|
|
233
|
-
const _ALddr = "AddressLine3";
|
|
234
|
-
const _AN = "AccountName";
|
|
235
|
-
const _APEU = "AcceptPrimaryEmailUpdate";
|
|
236
|
-
const _APEUR = "AcceptPrimaryEmailUpdateRequest";
|
|
237
|
-
const _APEURc = "AcceptPrimaryEmailUpdateResponse";
|
|
238
|
-
const _AS = "AccountState";
|
|
239
|
-
const _C = "City";
|
|
240
|
-
const _CC = "CountryCode";
|
|
241
|
-
const _CE = "ConflictException";
|
|
242
|
-
const _CI = "ContactInformation";
|
|
243
|
-
const _CIPN = "ContactInformationPhoneNumber";
|
|
244
|
-
const _CN = "CompanyName";
|
|
245
|
-
const _DAC = "DeleteAlternateContact";
|
|
246
|
-
const _DACR = "DeleteAlternateContactRequest";
|
|
247
|
-
const _DOC = "DistrictOrCounty";
|
|
248
|
-
const _DR = "DisableRegion";
|
|
249
|
-
const _DRR = "DisableRegionRequest";
|
|
250
|
-
const _EA = "EmailAddress";
|
|
251
|
-
const _ER = "EnableRegion";
|
|
252
|
-
const _ERR = "EnableRegionRequest";
|
|
253
|
-
const _FN = "FullName";
|
|
254
|
-
const _GAC = "GetAlternateContact";
|
|
255
|
-
const _GACR = "GetAlternateContactRequest";
|
|
256
|
-
const _GACRe = "GetAlternateContactResponse";
|
|
257
|
-
const _GAI = "GetAccountInformation";
|
|
258
|
-
const _GAIR = "GetAccountInformationRequest";
|
|
259
|
-
const _GAIRe = "GetAccountInformationResponse";
|
|
260
|
-
const _GCAI = "GovCloudAccountId";
|
|
261
|
-
const _GCI = "GetContactInformation";
|
|
262
|
-
const _GCIR = "GetContactInformationRequest";
|
|
263
|
-
const _GCIRe = "GetContactInformationResponse";
|
|
264
|
-
const _GGCAI = "GetGovCloudAccountInformation";
|
|
265
|
-
const _GGCAIR = "GetGovCloudAccountInformationRequest";
|
|
266
|
-
const _GGCAIRe = "GetGovCloudAccountInformationResponse";
|
|
267
|
-
const _GPE = "GetPrimaryEmail";
|
|
268
|
-
const _GPER = "GetPrimaryEmailRequest";
|
|
269
|
-
const _GPERe = "GetPrimaryEmailResponse";
|
|
270
|
-
const _GROS = "GetRegionOptStatus";
|
|
271
|
-
const _GROSR = "GetRegionOptStatusRequest";
|
|
272
|
-
const _GROSRe = "GetRegionOptStatusResponse";
|
|
273
|
-
const _ISE = "InternalServerException";
|
|
274
|
-
const _LR = "ListRegions";
|
|
275
|
-
const _LRR = "ListRegionsRequest";
|
|
276
|
-
const _LRRi = "ListRegionsResponse";
|
|
277
|
-
const _MR = "MaxResults";
|
|
278
|
-
const _N = "Name";
|
|
279
|
-
const _NT = "NextToken";
|
|
280
|
-
const _O = "Otp";
|
|
281
|
-
const _PAC = "PutAlternateContact";
|
|
282
|
-
const _PACR = "PutAlternateContactRequest";
|
|
283
|
-
const _PAN = "PutAccountName";
|
|
284
|
-
const _PANR = "PutAccountNameRequest";
|
|
285
|
-
const _PC = "PostalCode";
|
|
286
|
-
const _PCI = "PutContactInformation";
|
|
287
|
-
const _PCIR = "PutContactInformationRequest";
|
|
288
|
-
const _PE = "PrimaryEmail";
|
|
289
|
-
const _PEA = "PrimaryEmailAddress";
|
|
290
|
-
const _PN = "PhoneNumber";
|
|
291
|
-
const _R = "Regions";
|
|
292
|
-
const _RN = "RegionName";
|
|
293
|
-
const _RNFE = "ResourceNotFoundException";
|
|
294
|
-
const _ROL = "RegionOptList";
|
|
295
|
-
const _ROS = "RegionOptStatus";
|
|
296
|
-
const _ROSC = "RegionOptStatusContains";
|
|
297
|
-
const _RUE = "ResourceUnavailableException";
|
|
298
|
-
const _Re = "Region";
|
|
299
|
-
const _S = "Status";
|
|
300
|
-
const _SAI = "StandardAccountId";
|
|
301
|
-
const _SOR = "StateOrRegion";
|
|
302
|
-
const _SPEU = "StartPrimaryEmailUpdate";
|
|
303
|
-
const _SPEUR = "StartPrimaryEmailUpdateRequest";
|
|
304
|
-
const _SPEURt = "StartPrimaryEmailUpdateResponse";
|
|
305
|
-
const _SS = "SensitiveString";
|
|
306
|
-
const _T = "Title";
|
|
307
|
-
const _TMRE = "TooManyRequestsException";
|
|
308
|
-
const _VE = "ValidationException";
|
|
309
|
-
const _VEF = "ValidationExceptionField";
|
|
310
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
311
|
-
const _WU = "WebsiteUrl";
|
|
312
|
-
const _c = "client";
|
|
313
|
-
const _e = "error";
|
|
314
|
-
const _eT = "errorType";
|
|
315
|
-
const _fL = "fieldList";
|
|
316
|
-
const _h = "http";
|
|
317
|
-
const _hE = "httpError";
|
|
318
|
-
const _hH = "httpHeader";
|
|
319
|
-
const _m = "message";
|
|
320
|
-
const _n = "name";
|
|
321
|
-
const _r = "reason";
|
|
322
|
-
const _s = "server";
|
|
323
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.account";
|
|
324
|
-
const _xaE = "x-amzn-ErrorType";
|
|
325
|
-
const n0 = "com.amazonaws.account";
|
|
326
|
-
var AccountName = [0, n0, _AN, 8, 0];
|
|
327
|
-
var AddressLine = [0, n0, _AL, 8, 0];
|
|
328
|
-
var City = [0, n0, _C, 8, 0];
|
|
329
|
-
var CompanyName = [0, n0, _CN, 8, 0];
|
|
330
|
-
var ContactInformationPhoneNumber = [0, n0, _CIPN, 8, 0];
|
|
331
|
-
var CountryCode = [0, n0, _CC, 8, 0];
|
|
332
|
-
var DistrictOrCounty = [0, n0, _DOC, 8, 0];
|
|
333
|
-
var EmailAddress = [0, n0, _EA, 8, 0];
|
|
334
|
-
var FullName = [0, n0, _FN, 8, 0];
|
|
335
|
-
var Name = [0, n0, _N, 8, 0];
|
|
336
|
-
var Otp = [0, n0, _O, 8, 0];
|
|
337
|
-
var PhoneNumber = [0, n0, _PN, 8, 0];
|
|
338
|
-
var PostalCode = [0, n0, _PC, 8, 0];
|
|
339
|
-
var PrimaryEmailAddress = [0, n0, _PEA, 8, 0];
|
|
340
|
-
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
341
|
-
var StateOrRegion = [0, n0, _SOR, 8, 0];
|
|
342
|
-
var Title = [0, n0, _T, 8, 0];
|
|
343
|
-
var WebsiteUrl = [0, n0, _WU, 8, 0];
|
|
344
|
-
var AcceptPrimaryEmailUpdateRequest$ = [3, n0, _APEUR,
|
|
345
|
-
0,
|
|
346
|
-
[_AI, _PE, _O],
|
|
347
|
-
[0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]], 3
|
|
348
|
-
];
|
|
349
|
-
var AcceptPrimaryEmailUpdateResponse$ = [3, n0, _APEURc,
|
|
350
|
-
0,
|
|
351
|
-
[_S],
|
|
352
|
-
[0]
|
|
353
|
-
];
|
|
354
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
355
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
356
|
-
[_m, _eT],
|
|
357
|
-
[0, [0, { [_hH]: _xaE }]], 1
|
|
358
|
-
];
|
|
359
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
360
|
-
var AlternateContact$ = [3, n0, _AC,
|
|
361
|
-
0,
|
|
362
|
-
[_N, _T, _EA, _PN, _ACT],
|
|
363
|
-
[[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0]
|
|
364
|
-
];
|
|
365
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
366
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
367
|
-
[_m, _eT],
|
|
368
|
-
[0, [0, { [_hH]: _xaE }]], 1
|
|
369
|
-
];
|
|
370
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
371
|
-
var ContactInformation$ = [3, n0, _CI,
|
|
372
|
-
0,
|
|
373
|
-
[_FN, _ALd, _C, _PC, _CC, _PN, _ALdd, _ALddr, _SOR, _DOC, _CN, _WU],
|
|
374
|
-
[[() => FullName, 0], [() => AddressLine, 0], [() => City, 0], [() => PostalCode, 0], [() => CountryCode, 0], [() => ContactInformationPhoneNumber, 0], [() => AddressLine, 0], [() => AddressLine, 0], [() => StateOrRegion, 0], [() => DistrictOrCounty, 0], [() => CompanyName, 0], [() => WebsiteUrl, 0]], 6
|
|
375
|
-
];
|
|
376
|
-
var DeleteAlternateContactRequest$ = [3, n0, _DACR,
|
|
377
|
-
0,
|
|
378
|
-
[_ACT, _AI],
|
|
379
|
-
[0, 0], 1
|
|
380
|
-
];
|
|
381
|
-
var DisableRegionRequest$ = [3, n0, _DRR,
|
|
382
|
-
0,
|
|
383
|
-
[_RN, _AI],
|
|
384
|
-
[0, 0], 1
|
|
385
|
-
];
|
|
386
|
-
var EnableRegionRequest$ = [3, n0, _ERR,
|
|
387
|
-
0,
|
|
388
|
-
[_RN, _AI],
|
|
389
|
-
[0, 0], 1
|
|
390
|
-
];
|
|
391
|
-
var GetAccountInformationRequest$ = [3, n0, _GAIR,
|
|
392
|
-
0,
|
|
393
|
-
[_AI],
|
|
394
|
-
[0]
|
|
395
|
-
];
|
|
396
|
-
var GetAccountInformationResponse$ = [3, n0, _GAIRe,
|
|
397
|
-
0,
|
|
398
|
-
[_AI, _AN, _ACD],
|
|
399
|
-
[0, [() => AccountName, 0], 5]
|
|
400
|
-
];
|
|
401
|
-
var GetAlternateContactRequest$ = [3, n0, _GACR,
|
|
402
|
-
0,
|
|
403
|
-
[_ACT, _AI],
|
|
404
|
-
[0, 0], 1
|
|
405
|
-
];
|
|
406
|
-
var GetAlternateContactResponse$ = [3, n0, _GACRe,
|
|
407
|
-
0,
|
|
408
|
-
[_AC],
|
|
409
|
-
[[() => AlternateContact$, 0]]
|
|
410
|
-
];
|
|
411
|
-
var GetContactInformationRequest$ = [3, n0, _GCIR,
|
|
412
|
-
0,
|
|
413
|
-
[_AI],
|
|
414
|
-
[0]
|
|
415
|
-
];
|
|
416
|
-
var GetContactInformationResponse$ = [3, n0, _GCIRe,
|
|
417
|
-
0,
|
|
418
|
-
[_CI],
|
|
419
|
-
[[() => ContactInformation$, 0]]
|
|
420
|
-
];
|
|
421
|
-
var GetGovCloudAccountInformationRequest$ = [3, n0, _GGCAIR,
|
|
422
|
-
0,
|
|
423
|
-
[_SAI],
|
|
424
|
-
[0]
|
|
425
|
-
];
|
|
426
|
-
var GetGovCloudAccountInformationResponse$ = [3, n0, _GGCAIRe,
|
|
427
|
-
0,
|
|
428
|
-
[_GCAI, _AS],
|
|
429
|
-
[0, 0], 2
|
|
430
|
-
];
|
|
431
|
-
var GetPrimaryEmailRequest$ = [3, n0, _GPER,
|
|
432
|
-
0,
|
|
433
|
-
[_AI],
|
|
434
|
-
[0], 1
|
|
435
|
-
];
|
|
436
|
-
var GetPrimaryEmailResponse$ = [3, n0, _GPERe,
|
|
437
|
-
0,
|
|
438
|
-
[_PE],
|
|
439
|
-
[[() => PrimaryEmailAddress, 0]]
|
|
440
|
-
];
|
|
441
|
-
var GetRegionOptStatusRequest$ = [3, n0, _GROSR,
|
|
442
|
-
0,
|
|
443
|
-
[_RN, _AI],
|
|
444
|
-
[0, 0], 1
|
|
445
|
-
];
|
|
446
|
-
var GetRegionOptStatusResponse$ = [3, n0, _GROSRe,
|
|
447
|
-
0,
|
|
448
|
-
[_RN, _ROS],
|
|
449
|
-
[0, 0]
|
|
450
|
-
];
|
|
451
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
452
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
453
|
-
[_m, _eT],
|
|
454
|
-
[0, [0, { [_hH]: _xaE }]], 1
|
|
455
|
-
];
|
|
456
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
457
|
-
var ListRegionsRequest$ = [3, n0, _LRR,
|
|
458
|
-
0,
|
|
459
|
-
[_AI, _MR, _NT, _ROSC],
|
|
460
|
-
[0, 1, 0, 64 | 0]
|
|
461
|
-
];
|
|
462
|
-
var ListRegionsResponse$ = [3, n0, _LRRi,
|
|
463
|
-
0,
|
|
464
|
-
[_NT, _R],
|
|
465
|
-
[0, () => RegionOptList]
|
|
466
|
-
];
|
|
467
|
-
var PutAccountNameRequest$ = [3, n0, _PANR,
|
|
468
|
-
0,
|
|
469
|
-
[_AN, _AI],
|
|
470
|
-
[[() => AccountName, 0], 0], 1
|
|
471
|
-
];
|
|
472
|
-
var PutAlternateContactRequest$ = [3, n0, _PACR,
|
|
473
|
-
0,
|
|
474
|
-
[_N, _T, _EA, _PN, _ACT, _AI],
|
|
475
|
-
[[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0], 5
|
|
476
|
-
];
|
|
477
|
-
var PutContactInformationRequest$ = [3, n0, _PCIR,
|
|
478
|
-
0,
|
|
479
|
-
[_CI, _AI],
|
|
480
|
-
[[() => ContactInformation$, 0], 0], 1
|
|
481
|
-
];
|
|
482
|
-
var Region$ = [3, n0, _Re,
|
|
483
|
-
0,
|
|
484
|
-
[_RN, _ROS],
|
|
485
|
-
[0, 0]
|
|
486
|
-
];
|
|
487
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
488
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
489
|
-
[_m, _eT],
|
|
490
|
-
[0, [0, { [_hH]: _xaE }]], 1
|
|
491
|
-
];
|
|
492
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
493
|
-
var ResourceUnavailableException$ = [-3, n0, _RUE,
|
|
494
|
-
{ [_e]: _c, [_hE]: 424 },
|
|
495
|
-
[_m, _eT],
|
|
496
|
-
[0, [0, { [_hH]: _xaE }]], 1
|
|
497
|
-
];
|
|
498
|
-
schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
|
|
499
|
-
var StartPrimaryEmailUpdateRequest$ = [3, n0, _SPEUR,
|
|
500
|
-
0,
|
|
501
|
-
[_AI, _PE],
|
|
502
|
-
[0, [() => PrimaryEmailAddress, 0]], 2
|
|
503
|
-
];
|
|
504
|
-
var StartPrimaryEmailUpdateResponse$ = [3, n0, _SPEURt,
|
|
505
|
-
0,
|
|
506
|
-
[_S],
|
|
507
|
-
[0]
|
|
508
|
-
];
|
|
509
|
-
var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
510
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
511
|
-
[_m, _eT],
|
|
512
|
-
[0, [0, { [_hH]: _xaE }]], 1
|
|
513
|
-
];
|
|
514
|
-
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
515
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
516
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
517
|
-
[_m, _r, _fL],
|
|
518
|
-
[[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]], 1
|
|
519
|
-
];
|
|
520
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
521
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
522
|
-
0,
|
|
523
|
-
[_n, _m],
|
|
524
|
-
[0, [() => SensitiveString, 0]], 2
|
|
525
|
-
];
|
|
526
|
-
var __Unit = "unit";
|
|
527
|
-
var AccountServiceException$ = [-3, _sm, "AccountServiceException", 0, [], []];
|
|
528
|
-
schema.TypeRegistry.for(_sm).registerError(AccountServiceException$, AccountServiceException);
|
|
529
|
-
var RegionOptList = [1, n0, _ROL,
|
|
530
|
-
0, () => Region$
|
|
531
|
-
];
|
|
532
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
533
|
-
0, [() => ValidationExceptionField$,
|
|
534
|
-
0]
|
|
535
|
-
];
|
|
536
|
-
var AcceptPrimaryEmailUpdate$ = [9, n0, _APEU,
|
|
537
|
-
{ [_h]: ["POST", "/acceptPrimaryEmailUpdate", 200] }, () => AcceptPrimaryEmailUpdateRequest$, () => AcceptPrimaryEmailUpdateResponse$
|
|
538
|
-
];
|
|
539
|
-
var DeleteAlternateContact$ = [9, n0, _DAC,
|
|
540
|
-
{ [_h]: ["POST", "/deleteAlternateContact", 200] }, () => DeleteAlternateContactRequest$, () => __Unit
|
|
541
|
-
];
|
|
542
|
-
var DisableRegion$ = [9, n0, _DR,
|
|
543
|
-
{ [_h]: ["POST", "/disableRegion", 200] }, () => DisableRegionRequest$, () => __Unit
|
|
544
|
-
];
|
|
545
|
-
var EnableRegion$ = [9, n0, _ER,
|
|
546
|
-
{ [_h]: ["POST", "/enableRegion", 200] }, () => EnableRegionRequest$, () => __Unit
|
|
547
|
-
];
|
|
548
|
-
var GetAccountInformation$ = [9, n0, _GAI,
|
|
549
|
-
{ [_h]: ["POST", "/getAccountInformation", 200] }, () => GetAccountInformationRequest$, () => GetAccountInformationResponse$
|
|
550
|
-
];
|
|
551
|
-
var GetAlternateContact$ = [9, n0, _GAC,
|
|
552
|
-
{ [_h]: ["POST", "/getAlternateContact", 200] }, () => GetAlternateContactRequest$, () => GetAlternateContactResponse$
|
|
553
|
-
];
|
|
554
|
-
var GetContactInformation$ = [9, n0, _GCI,
|
|
555
|
-
{ [_h]: ["POST", "/getContactInformation", 200] }, () => GetContactInformationRequest$, () => GetContactInformationResponse$
|
|
556
|
-
];
|
|
557
|
-
var GetGovCloudAccountInformation$ = [9, n0, _GGCAI,
|
|
558
|
-
{ [_h]: ["POST", "/getGovCloudAccountInformation", 200] }, () => GetGovCloudAccountInformationRequest$, () => GetGovCloudAccountInformationResponse$
|
|
559
|
-
];
|
|
560
|
-
var GetPrimaryEmail$ = [9, n0, _GPE,
|
|
561
|
-
{ [_h]: ["POST", "/getPrimaryEmail", 200] }, () => GetPrimaryEmailRequest$, () => GetPrimaryEmailResponse$
|
|
562
|
-
];
|
|
563
|
-
var GetRegionOptStatus$ = [9, n0, _GROS,
|
|
564
|
-
{ [_h]: ["POST", "/getRegionOptStatus", 200] }, () => GetRegionOptStatusRequest$, () => GetRegionOptStatusResponse$
|
|
565
|
-
];
|
|
566
|
-
var ListRegions$ = [9, n0, _LR,
|
|
567
|
-
{ [_h]: ["POST", "/listRegions", 200] }, () => ListRegionsRequest$, () => ListRegionsResponse$
|
|
568
|
-
];
|
|
569
|
-
var PutAccountName$ = [9, n0, _PAN,
|
|
570
|
-
{ [_h]: ["POST", "/putAccountName", 200] }, () => PutAccountNameRequest$, () => __Unit
|
|
571
|
-
];
|
|
572
|
-
var PutAlternateContact$ = [9, n0, _PAC,
|
|
573
|
-
{ [_h]: ["POST", "/putAlternateContact", 200] }, () => PutAlternateContactRequest$, () => __Unit
|
|
574
|
-
];
|
|
575
|
-
var PutContactInformation$ = [9, n0, _PCI,
|
|
576
|
-
{ [_h]: ["POST", "/putContactInformation", 200] }, () => PutContactInformationRequest$, () => __Unit
|
|
577
|
-
];
|
|
578
|
-
var StartPrimaryEmailUpdate$ = [9, n0, _SPEU,
|
|
579
|
-
{ [_h]: ["POST", "/startPrimaryEmailUpdate", 200] }, () => StartPrimaryEmailUpdateRequest$, () => StartPrimaryEmailUpdateResponse$
|
|
580
|
-
];
|
|
581
|
-
|
|
582
116
|
class AcceptPrimaryEmailUpdateCommand extends smithyClient.Command
|
|
583
117
|
.classBuilder()
|
|
584
118
|
.ep(commonParams)
|
|
@@ -587,7 +121,7 @@ class AcceptPrimaryEmailUpdateCommand extends smithyClient.Command
|
|
|
587
121
|
})
|
|
588
122
|
.s("Account", "AcceptPrimaryEmailUpdate", {})
|
|
589
123
|
.n("AccountClient", "AcceptPrimaryEmailUpdateCommand")
|
|
590
|
-
.sc(AcceptPrimaryEmailUpdate$)
|
|
124
|
+
.sc(schemas_0.AcceptPrimaryEmailUpdate$)
|
|
591
125
|
.build() {
|
|
592
126
|
}
|
|
593
127
|
|
|
@@ -599,7 +133,7 @@ class DeleteAlternateContactCommand extends smithyClient.Command
|
|
|
599
133
|
})
|
|
600
134
|
.s("Account", "DeleteAlternateContact", {})
|
|
601
135
|
.n("AccountClient", "DeleteAlternateContactCommand")
|
|
602
|
-
.sc(DeleteAlternateContact$)
|
|
136
|
+
.sc(schemas_0.DeleteAlternateContact$)
|
|
603
137
|
.build() {
|
|
604
138
|
}
|
|
605
139
|
|
|
@@ -611,7 +145,7 @@ class DisableRegionCommand extends smithyClient.Command
|
|
|
611
145
|
})
|
|
612
146
|
.s("Account", "DisableRegion", {})
|
|
613
147
|
.n("AccountClient", "DisableRegionCommand")
|
|
614
|
-
.sc(DisableRegion$)
|
|
148
|
+
.sc(schemas_0.DisableRegion$)
|
|
615
149
|
.build() {
|
|
616
150
|
}
|
|
617
151
|
|
|
@@ -623,7 +157,7 @@ class EnableRegionCommand extends smithyClient.Command
|
|
|
623
157
|
})
|
|
624
158
|
.s("Account", "EnableRegion", {})
|
|
625
159
|
.n("AccountClient", "EnableRegionCommand")
|
|
626
|
-
.sc(EnableRegion$)
|
|
160
|
+
.sc(schemas_0.EnableRegion$)
|
|
627
161
|
.build() {
|
|
628
162
|
}
|
|
629
163
|
|
|
@@ -635,7 +169,7 @@ class GetAccountInformationCommand extends smithyClient.Command
|
|
|
635
169
|
})
|
|
636
170
|
.s("Account", "GetAccountInformation", {})
|
|
637
171
|
.n("AccountClient", "GetAccountInformationCommand")
|
|
638
|
-
.sc(GetAccountInformation$)
|
|
172
|
+
.sc(schemas_0.GetAccountInformation$)
|
|
639
173
|
.build() {
|
|
640
174
|
}
|
|
641
175
|
|
|
@@ -647,7 +181,7 @@ class GetAlternateContactCommand extends smithyClient.Command
|
|
|
647
181
|
})
|
|
648
182
|
.s("Account", "GetAlternateContact", {})
|
|
649
183
|
.n("AccountClient", "GetAlternateContactCommand")
|
|
650
|
-
.sc(GetAlternateContact$)
|
|
184
|
+
.sc(schemas_0.GetAlternateContact$)
|
|
651
185
|
.build() {
|
|
652
186
|
}
|
|
653
187
|
|
|
@@ -659,7 +193,7 @@ class GetContactInformationCommand extends smithyClient.Command
|
|
|
659
193
|
})
|
|
660
194
|
.s("Account", "GetContactInformation", {})
|
|
661
195
|
.n("AccountClient", "GetContactInformationCommand")
|
|
662
|
-
.sc(GetContactInformation$)
|
|
196
|
+
.sc(schemas_0.GetContactInformation$)
|
|
663
197
|
.build() {
|
|
664
198
|
}
|
|
665
199
|
|
|
@@ -671,7 +205,7 @@ class GetGovCloudAccountInformationCommand extends smithyClient.Command
|
|
|
671
205
|
})
|
|
672
206
|
.s("Account", "GetGovCloudAccountInformation", {})
|
|
673
207
|
.n("AccountClient", "GetGovCloudAccountInformationCommand")
|
|
674
|
-
.sc(GetGovCloudAccountInformation$)
|
|
208
|
+
.sc(schemas_0.GetGovCloudAccountInformation$)
|
|
675
209
|
.build() {
|
|
676
210
|
}
|
|
677
211
|
|
|
@@ -683,7 +217,7 @@ class GetPrimaryEmailCommand extends smithyClient.Command
|
|
|
683
217
|
})
|
|
684
218
|
.s("Account", "GetPrimaryEmail", {})
|
|
685
219
|
.n("AccountClient", "GetPrimaryEmailCommand")
|
|
686
|
-
.sc(GetPrimaryEmail$)
|
|
220
|
+
.sc(schemas_0.GetPrimaryEmail$)
|
|
687
221
|
.build() {
|
|
688
222
|
}
|
|
689
223
|
|
|
@@ -695,7 +229,7 @@ class GetRegionOptStatusCommand extends smithyClient.Command
|
|
|
695
229
|
})
|
|
696
230
|
.s("Account", "GetRegionOptStatus", {})
|
|
697
231
|
.n("AccountClient", "GetRegionOptStatusCommand")
|
|
698
|
-
.sc(GetRegionOptStatus$)
|
|
232
|
+
.sc(schemas_0.GetRegionOptStatus$)
|
|
699
233
|
.build() {
|
|
700
234
|
}
|
|
701
235
|
|
|
@@ -707,7 +241,7 @@ class ListRegionsCommand extends smithyClient.Command
|
|
|
707
241
|
})
|
|
708
242
|
.s("Account", "ListRegions", {})
|
|
709
243
|
.n("AccountClient", "ListRegionsCommand")
|
|
710
|
-
.sc(ListRegions$)
|
|
244
|
+
.sc(schemas_0.ListRegions$)
|
|
711
245
|
.build() {
|
|
712
246
|
}
|
|
713
247
|
|
|
@@ -719,7 +253,7 @@ class PutAccountNameCommand extends smithyClient.Command
|
|
|
719
253
|
})
|
|
720
254
|
.s("Account", "PutAccountName", {})
|
|
721
255
|
.n("AccountClient", "PutAccountNameCommand")
|
|
722
|
-
.sc(PutAccountName$)
|
|
256
|
+
.sc(schemas_0.PutAccountName$)
|
|
723
257
|
.build() {
|
|
724
258
|
}
|
|
725
259
|
|
|
@@ -731,7 +265,7 @@ class PutAlternateContactCommand extends smithyClient.Command
|
|
|
731
265
|
})
|
|
732
266
|
.s("Account", "PutAlternateContact", {})
|
|
733
267
|
.n("AccountClient", "PutAlternateContactCommand")
|
|
734
|
-
.sc(PutAlternateContact$)
|
|
268
|
+
.sc(schemas_0.PutAlternateContact$)
|
|
735
269
|
.build() {
|
|
736
270
|
}
|
|
737
271
|
|
|
@@ -743,7 +277,7 @@ class PutContactInformationCommand extends smithyClient.Command
|
|
|
743
277
|
})
|
|
744
278
|
.s("Account", "PutContactInformation", {})
|
|
745
279
|
.n("AccountClient", "PutContactInformationCommand")
|
|
746
|
-
.sc(PutContactInformation$)
|
|
280
|
+
.sc(schemas_0.PutContactInformation$)
|
|
747
281
|
.build() {
|
|
748
282
|
}
|
|
749
283
|
|
|
@@ -755,7 +289,7 @@ class StartPrimaryEmailUpdateCommand extends smithyClient.Command
|
|
|
755
289
|
})
|
|
756
290
|
.s("Account", "StartPrimaryEmailUpdate", {})
|
|
757
291
|
.n("AccountClient", "StartPrimaryEmailUpdateCommand")
|
|
758
|
-
.sc(StartPrimaryEmailUpdate$)
|
|
292
|
+
.sc(schemas_0.StartPrimaryEmailUpdate$)
|
|
759
293
|
.build() {
|
|
760
294
|
}
|
|
761
295
|
|
|
@@ -820,85 +354,42 @@ Object.defineProperty(exports, "__Client", {
|
|
|
820
354
|
enumerable: true,
|
|
821
355
|
get: function () { return smithyClient.Client; }
|
|
822
356
|
});
|
|
823
|
-
exports
|
|
357
|
+
Object.defineProperty(exports, "AccountServiceException", {
|
|
358
|
+
enumerable: true,
|
|
359
|
+
get: function () { return AccountServiceException.AccountServiceException; }
|
|
360
|
+
});
|
|
824
361
|
exports.AcceptPrimaryEmailUpdateCommand = AcceptPrimaryEmailUpdateCommand;
|
|
825
|
-
exports.AcceptPrimaryEmailUpdateRequest$ = AcceptPrimaryEmailUpdateRequest$;
|
|
826
|
-
exports.AcceptPrimaryEmailUpdateResponse$ = AcceptPrimaryEmailUpdateResponse$;
|
|
827
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
828
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
829
362
|
exports.Account = Account;
|
|
830
363
|
exports.AccountClient = AccountClient;
|
|
831
|
-
exports.AccountServiceException = AccountServiceException;
|
|
832
|
-
exports.AccountServiceException$ = AccountServiceException$;
|
|
833
|
-
exports.AlternateContact$ = AlternateContact$;
|
|
834
364
|
exports.AlternateContactType = AlternateContactType;
|
|
835
365
|
exports.AwsAccountState = AwsAccountState;
|
|
836
|
-
exports.ConflictException = ConflictException;
|
|
837
|
-
exports.ConflictException$ = ConflictException$;
|
|
838
|
-
exports.ContactInformation$ = ContactInformation$;
|
|
839
|
-
exports.DeleteAlternateContact$ = DeleteAlternateContact$;
|
|
840
366
|
exports.DeleteAlternateContactCommand = DeleteAlternateContactCommand;
|
|
841
|
-
exports.DeleteAlternateContactRequest$ = DeleteAlternateContactRequest$;
|
|
842
|
-
exports.DisableRegion$ = DisableRegion$;
|
|
843
367
|
exports.DisableRegionCommand = DisableRegionCommand;
|
|
844
|
-
exports.DisableRegionRequest$ = DisableRegionRequest$;
|
|
845
|
-
exports.EnableRegion$ = EnableRegion$;
|
|
846
368
|
exports.EnableRegionCommand = EnableRegionCommand;
|
|
847
|
-
exports.EnableRegionRequest$ = EnableRegionRequest$;
|
|
848
|
-
exports.GetAccountInformation$ = GetAccountInformation$;
|
|
849
369
|
exports.GetAccountInformationCommand = GetAccountInformationCommand;
|
|
850
|
-
exports.GetAccountInformationRequest$ = GetAccountInformationRequest$;
|
|
851
|
-
exports.GetAccountInformationResponse$ = GetAccountInformationResponse$;
|
|
852
|
-
exports.GetAlternateContact$ = GetAlternateContact$;
|
|
853
370
|
exports.GetAlternateContactCommand = GetAlternateContactCommand;
|
|
854
|
-
exports.GetAlternateContactRequest$ = GetAlternateContactRequest$;
|
|
855
|
-
exports.GetAlternateContactResponse$ = GetAlternateContactResponse$;
|
|
856
|
-
exports.GetContactInformation$ = GetContactInformation$;
|
|
857
371
|
exports.GetContactInformationCommand = GetContactInformationCommand;
|
|
858
|
-
exports.GetContactInformationRequest$ = GetContactInformationRequest$;
|
|
859
|
-
exports.GetContactInformationResponse$ = GetContactInformationResponse$;
|
|
860
|
-
exports.GetGovCloudAccountInformation$ = GetGovCloudAccountInformation$;
|
|
861
372
|
exports.GetGovCloudAccountInformationCommand = GetGovCloudAccountInformationCommand;
|
|
862
|
-
exports.GetGovCloudAccountInformationRequest$ = GetGovCloudAccountInformationRequest$;
|
|
863
|
-
exports.GetGovCloudAccountInformationResponse$ = GetGovCloudAccountInformationResponse$;
|
|
864
|
-
exports.GetPrimaryEmail$ = GetPrimaryEmail$;
|
|
865
373
|
exports.GetPrimaryEmailCommand = GetPrimaryEmailCommand;
|
|
866
|
-
exports.GetPrimaryEmailRequest$ = GetPrimaryEmailRequest$;
|
|
867
|
-
exports.GetPrimaryEmailResponse$ = GetPrimaryEmailResponse$;
|
|
868
|
-
exports.GetRegionOptStatus$ = GetRegionOptStatus$;
|
|
869
374
|
exports.GetRegionOptStatusCommand = GetRegionOptStatusCommand;
|
|
870
|
-
exports.GetRegionOptStatusRequest$ = GetRegionOptStatusRequest$;
|
|
871
|
-
exports.GetRegionOptStatusResponse$ = GetRegionOptStatusResponse$;
|
|
872
|
-
exports.InternalServerException = InternalServerException;
|
|
873
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
874
|
-
exports.ListRegions$ = ListRegions$;
|
|
875
375
|
exports.ListRegionsCommand = ListRegionsCommand;
|
|
876
|
-
exports.ListRegionsRequest$ = ListRegionsRequest$;
|
|
877
|
-
exports.ListRegionsResponse$ = ListRegionsResponse$;
|
|
878
376
|
exports.PrimaryEmailUpdateStatus = PrimaryEmailUpdateStatus;
|
|
879
|
-
exports.PutAccountName$ = PutAccountName$;
|
|
880
377
|
exports.PutAccountNameCommand = PutAccountNameCommand;
|
|
881
|
-
exports.PutAccountNameRequest$ = PutAccountNameRequest$;
|
|
882
|
-
exports.PutAlternateContact$ = PutAlternateContact$;
|
|
883
378
|
exports.PutAlternateContactCommand = PutAlternateContactCommand;
|
|
884
|
-
exports.PutAlternateContactRequest$ = PutAlternateContactRequest$;
|
|
885
|
-
exports.PutContactInformation$ = PutContactInformation$;
|
|
886
379
|
exports.PutContactInformationCommand = PutContactInformationCommand;
|
|
887
|
-
exports.PutContactInformationRequest$ = PutContactInformationRequest$;
|
|
888
|
-
exports.Region$ = Region$;
|
|
889
380
|
exports.RegionOptStatus = RegionOptStatus;
|
|
890
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
891
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
892
|
-
exports.ResourceUnavailableException = ResourceUnavailableException;
|
|
893
|
-
exports.ResourceUnavailableException$ = ResourceUnavailableException$;
|
|
894
|
-
exports.StartPrimaryEmailUpdate$ = StartPrimaryEmailUpdate$;
|
|
895
381
|
exports.StartPrimaryEmailUpdateCommand = StartPrimaryEmailUpdateCommand;
|
|
896
|
-
exports.StartPrimaryEmailUpdateRequest$ = StartPrimaryEmailUpdateRequest$;
|
|
897
|
-
exports.StartPrimaryEmailUpdateResponse$ = StartPrimaryEmailUpdateResponse$;
|
|
898
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
899
|
-
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
900
|
-
exports.ValidationException = ValidationException;
|
|
901
|
-
exports.ValidationException$ = ValidationException$;
|
|
902
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
903
382
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
904
383
|
exports.paginateListRegions = paginateListRegions;
|
|
384
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
385
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
386
|
+
enumerable: true,
|
|
387
|
+
get: function () { return schemas_0[k]; }
|
|
388
|
+
});
|
|
389
|
+
});
|
|
390
|
+
Object.keys(errors).forEach(function (k) {
|
|
391
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
392
|
+
enumerable: true,
|
|
393
|
+
get: function () { return errors[k]; }
|
|
394
|
+
});
|
|
395
|
+
});
|