@aws-sdk/client-controltower 3.927.0 → 3.929.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 +1015 -1309
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ControlTowerClient.js +2 -0
- package/dist-es/commands/CreateLandingZoneCommand.js +3 -9
- package/dist-es/commands/DeleteLandingZoneCommand.js +3 -9
- package/dist-es/commands/DisableBaselineCommand.js +3 -9
- package/dist-es/commands/DisableControlCommand.js +3 -9
- package/dist-es/commands/EnableBaselineCommand.js +3 -9
- package/dist-es/commands/EnableControlCommand.js +3 -9
- package/dist-es/commands/GetBaselineCommand.js +3 -9
- package/dist-es/commands/GetBaselineOperationCommand.js +3 -9
- package/dist-es/commands/GetControlOperationCommand.js +3 -9
- package/dist-es/commands/GetEnabledBaselineCommand.js +3 -9
- package/dist-es/commands/GetEnabledControlCommand.js +3 -9
- package/dist-es/commands/GetLandingZoneCommand.js +3 -9
- package/dist-es/commands/GetLandingZoneOperationCommand.js +3 -9
- package/dist-es/commands/ListBaselinesCommand.js +3 -9
- package/dist-es/commands/ListControlOperationsCommand.js +3 -9
- package/dist-es/commands/ListEnabledBaselinesCommand.js +3 -9
- package/dist-es/commands/ListEnabledControlsCommand.js +3 -9
- package/dist-es/commands/ListLandingZoneOperationsCommand.js +3 -9
- package/dist-es/commands/ListLandingZonesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ResetEnabledBaselineCommand.js +3 -9
- package/dist-es/commands/ResetEnabledControlCommand.js +3 -9
- package/dist-es/commands/ResetLandingZoneCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateEnabledBaselineCommand.js +3 -9
- package/dist-es/commands/UpdateEnabledControlCommand.js +3 -9
- package/dist-es/commands/UpdateLandingZoneCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +957 -0
- package/dist-types/ControlTowerClient.d.ts +10 -1
- 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 +153 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +4 -0
- 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 +158 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -1095
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -254
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -341
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 ControlTowerClient 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,14 +110,14 @@ class ControlTowerClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class ControlTowerServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let ControlTowerServiceException$1 = class ControlTowerServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, ControlTowerServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessDeniedException extends ControlTowerServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends ControlTowerServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,7 +128,7 @@ class AccessDeniedException extends ControlTowerServiceException {
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
131
|
+
};
|
|
132
132
|
const BaselineOperationType = {
|
|
133
133
|
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
134
134
|
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
@@ -140,7 +140,7 @@ const BaselineOperationStatus = {
|
|
|
140
140
|
IN_PROGRESS: "IN_PROGRESS",
|
|
141
141
|
SUCCEEDED: "SUCCEEDED",
|
|
142
142
|
};
|
|
143
|
-
class InternalServerException extends ControlTowerServiceException {
|
|
143
|
+
let InternalServerException$1 = class InternalServerException extends ControlTowerServiceException$1 {
|
|
144
144
|
name = "InternalServerException";
|
|
145
145
|
$fault = "server";
|
|
146
146
|
$retryable = {};
|
|
@@ -152,8 +152,8 @@ class InternalServerException extends ControlTowerServiceException {
|
|
|
152
152
|
});
|
|
153
153
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
154
154
|
}
|
|
155
|
-
}
|
|
156
|
-
class ResourceNotFoundException extends ControlTowerServiceException {
|
|
155
|
+
};
|
|
156
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends ControlTowerServiceException$1 {
|
|
157
157
|
name = "ResourceNotFoundException";
|
|
158
158
|
$fault = "client";
|
|
159
159
|
constructor(opts) {
|
|
@@ -164,8 +164,8 @@ class ResourceNotFoundException extends ControlTowerServiceException {
|
|
|
164
164
|
});
|
|
165
165
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
166
166
|
}
|
|
167
|
-
}
|
|
168
|
-
class ThrottlingException extends ControlTowerServiceException {
|
|
167
|
+
};
|
|
168
|
+
let ThrottlingException$1 = class ThrottlingException extends ControlTowerServiceException$1 {
|
|
169
169
|
name = "ThrottlingException";
|
|
170
170
|
$fault = "client";
|
|
171
171
|
$retryable = {
|
|
@@ -185,8 +185,8 @@ class ThrottlingException extends ControlTowerServiceException {
|
|
|
185
185
|
this.quotaCode = opts.quotaCode;
|
|
186
186
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
187
187
|
}
|
|
188
|
-
}
|
|
189
|
-
class ValidationException extends ControlTowerServiceException {
|
|
188
|
+
};
|
|
189
|
+
let ValidationException$1 = class ValidationException extends ControlTowerServiceException$1 {
|
|
190
190
|
name = "ValidationException";
|
|
191
191
|
$fault = "client";
|
|
192
192
|
constructor(opts) {
|
|
@@ -197,7 +197,7 @@ class ValidationException extends ControlTowerServiceException {
|
|
|
197
197
|
});
|
|
198
198
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
199
199
|
}
|
|
200
|
-
}
|
|
200
|
+
};
|
|
201
201
|
const ControlOperationType = {
|
|
202
202
|
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
203
203
|
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
@@ -209,7 +209,7 @@ const ControlOperationStatus = {
|
|
|
209
209
|
IN_PROGRESS: "IN_PROGRESS",
|
|
210
210
|
SUCCEEDED: "SUCCEEDED",
|
|
211
211
|
};
|
|
212
|
-
class ConflictException extends ControlTowerServiceException {
|
|
212
|
+
let ConflictException$1 = class ConflictException extends ControlTowerServiceException$1 {
|
|
213
213
|
name = "ConflictException";
|
|
214
214
|
$fault = "client";
|
|
215
215
|
constructor(opts) {
|
|
@@ -220,8 +220,8 @@ class ConflictException extends ControlTowerServiceException {
|
|
|
220
220
|
});
|
|
221
221
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
222
222
|
}
|
|
223
|
-
}
|
|
224
|
-
class ServiceQuotaExceededException extends ControlTowerServiceException {
|
|
223
|
+
};
|
|
224
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ControlTowerServiceException$1 {
|
|
225
225
|
name = "ServiceQuotaExceededException";
|
|
226
226
|
$fault = "client";
|
|
227
227
|
constructor(opts) {
|
|
@@ -232,7 +232,7 @@ class ServiceQuotaExceededException extends ControlTowerServiceException {
|
|
|
232
232
|
});
|
|
233
233
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
234
234
|
}
|
|
235
|
-
}
|
|
235
|
+
};
|
|
236
236
|
const EnabledBaselineDriftStatus = {
|
|
237
237
|
DRIFTED: "DRIFTED",
|
|
238
238
|
IN_SYNC: "IN_SYNC",
|
|
@@ -272,1110 +272,951 @@ const LandingZoneStatus = {
|
|
|
272
272
|
PROCESSING: "PROCESSING",
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
const
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
const
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
const
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
const
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
const
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
const
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
const
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
const
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
let body;
|
|
463
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
464
|
-
maxResults: [],
|
|
465
|
-
nextToken: [],
|
|
466
|
-
}));
|
|
467
|
-
b.m("POST").h(headers).b(body);
|
|
468
|
-
return b.build();
|
|
469
|
-
};
|
|
470
|
-
const se_ListControlOperationsCommand = async (input, context) => {
|
|
471
|
-
const b = core.requestBuilder(input, context);
|
|
472
|
-
const headers = {
|
|
473
|
-
"content-type": "application/json",
|
|
474
|
-
};
|
|
475
|
-
b.bp("/list-control-operations");
|
|
476
|
-
let body;
|
|
477
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
478
|
-
filter: (_) => smithyClient._json(_),
|
|
479
|
-
maxResults: [],
|
|
480
|
-
nextToken: [],
|
|
481
|
-
}));
|
|
482
|
-
b.m("POST").h(headers).b(body);
|
|
483
|
-
return b.build();
|
|
484
|
-
};
|
|
485
|
-
const se_ListEnabledBaselinesCommand = async (input, context) => {
|
|
486
|
-
const b = core.requestBuilder(input, context);
|
|
487
|
-
const headers = {
|
|
488
|
-
"content-type": "application/json",
|
|
489
|
-
};
|
|
490
|
-
b.bp("/list-enabled-baselines");
|
|
491
|
-
let body;
|
|
492
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
493
|
-
filter: (_) => smithyClient._json(_),
|
|
494
|
-
includeChildren: [],
|
|
495
|
-
maxResults: [],
|
|
496
|
-
nextToken: [],
|
|
497
|
-
}));
|
|
498
|
-
b.m("POST").h(headers).b(body);
|
|
499
|
-
return b.build();
|
|
500
|
-
};
|
|
501
|
-
const se_ListEnabledControlsCommand = async (input, context) => {
|
|
502
|
-
const b = core.requestBuilder(input, context);
|
|
503
|
-
const headers = {
|
|
504
|
-
"content-type": "application/json",
|
|
505
|
-
};
|
|
506
|
-
b.bp("/list-enabled-controls");
|
|
507
|
-
let body;
|
|
508
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
509
|
-
filter: (_) => smithyClient._json(_),
|
|
510
|
-
includeChildren: [],
|
|
511
|
-
maxResults: [],
|
|
512
|
-
nextToken: [],
|
|
513
|
-
targetIdentifier: [],
|
|
514
|
-
}));
|
|
515
|
-
b.m("POST").h(headers).b(body);
|
|
516
|
-
return b.build();
|
|
517
|
-
};
|
|
518
|
-
const se_ListLandingZoneOperationsCommand = async (input, context) => {
|
|
519
|
-
const b = core.requestBuilder(input, context);
|
|
520
|
-
const headers = {
|
|
521
|
-
"content-type": "application/json",
|
|
522
|
-
};
|
|
523
|
-
b.bp("/list-landingzone-operations");
|
|
524
|
-
let body;
|
|
525
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
526
|
-
filter: (_) => smithyClient._json(_),
|
|
527
|
-
maxResults: [],
|
|
528
|
-
nextToken: [],
|
|
529
|
-
}));
|
|
530
|
-
b.m("POST").h(headers).b(body);
|
|
531
|
-
return b.build();
|
|
532
|
-
};
|
|
533
|
-
const se_ListLandingZonesCommand = async (input, context) => {
|
|
534
|
-
const b = core.requestBuilder(input, context);
|
|
535
|
-
const headers = {
|
|
536
|
-
"content-type": "application/json",
|
|
537
|
-
};
|
|
538
|
-
b.bp("/list-landingzones");
|
|
539
|
-
let body;
|
|
540
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
541
|
-
maxResults: [],
|
|
542
|
-
nextToken: [],
|
|
543
|
-
}));
|
|
544
|
-
b.m("POST").h(headers).b(body);
|
|
545
|
-
return b.build();
|
|
546
|
-
};
|
|
547
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
548
|
-
const b = core.requestBuilder(input, context);
|
|
549
|
-
const headers = {};
|
|
550
|
-
b.bp("/tags/{resourceArn}");
|
|
551
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
552
|
-
let body;
|
|
553
|
-
b.m("GET").h(headers).b(body);
|
|
554
|
-
return b.build();
|
|
555
|
-
};
|
|
556
|
-
const se_ResetEnabledBaselineCommand = async (input, context) => {
|
|
557
|
-
const b = core.requestBuilder(input, context);
|
|
558
|
-
const headers = {
|
|
559
|
-
"content-type": "application/json",
|
|
560
|
-
};
|
|
561
|
-
b.bp("/reset-enabled-baseline");
|
|
562
|
-
let body;
|
|
563
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
564
|
-
enabledBaselineIdentifier: [],
|
|
565
|
-
}));
|
|
566
|
-
b.m("POST").h(headers).b(body);
|
|
567
|
-
return b.build();
|
|
568
|
-
};
|
|
569
|
-
const se_ResetEnabledControlCommand = async (input, context) => {
|
|
570
|
-
const b = core.requestBuilder(input, context);
|
|
571
|
-
const headers = {
|
|
572
|
-
"content-type": "application/json",
|
|
573
|
-
};
|
|
574
|
-
b.bp("/reset-enabled-control");
|
|
575
|
-
let body;
|
|
576
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
577
|
-
enabledControlIdentifier: [],
|
|
578
|
-
}));
|
|
579
|
-
b.m("POST").h(headers).b(body);
|
|
580
|
-
return b.build();
|
|
581
|
-
};
|
|
582
|
-
const se_ResetLandingZoneCommand = async (input, context) => {
|
|
583
|
-
const b = core.requestBuilder(input, context);
|
|
584
|
-
const headers = {
|
|
585
|
-
"content-type": "application/json",
|
|
586
|
-
};
|
|
587
|
-
b.bp("/reset-landingzone");
|
|
588
|
-
let body;
|
|
589
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
590
|
-
landingZoneIdentifier: [],
|
|
591
|
-
}));
|
|
592
|
-
b.m("POST").h(headers).b(body);
|
|
593
|
-
return b.build();
|
|
594
|
-
};
|
|
595
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
596
|
-
const b = core.requestBuilder(input, context);
|
|
597
|
-
const headers = {
|
|
598
|
-
"content-type": "application/json",
|
|
599
|
-
};
|
|
600
|
-
b.bp("/tags/{resourceArn}");
|
|
601
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
602
|
-
let body;
|
|
603
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
604
|
-
tags: (_) => smithyClient._json(_),
|
|
605
|
-
}));
|
|
606
|
-
b.m("POST").h(headers).b(body);
|
|
607
|
-
return b.build();
|
|
608
|
-
};
|
|
609
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
610
|
-
const b = core.requestBuilder(input, context);
|
|
611
|
-
const headers = {};
|
|
612
|
-
b.bp("/tags/{resourceArn}");
|
|
613
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
614
|
-
const query = smithyClient.map({
|
|
615
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
616
|
-
});
|
|
617
|
-
let body;
|
|
618
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
619
|
-
return b.build();
|
|
620
|
-
};
|
|
621
|
-
const se_UpdateEnabledBaselineCommand = async (input, context) => {
|
|
622
|
-
const b = core.requestBuilder(input, context);
|
|
623
|
-
const headers = {
|
|
624
|
-
"content-type": "application/json",
|
|
625
|
-
};
|
|
626
|
-
b.bp("/update-enabled-baseline");
|
|
627
|
-
let body;
|
|
628
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
629
|
-
baselineVersion: [],
|
|
630
|
-
enabledBaselineIdentifier: [],
|
|
631
|
-
parameters: (_) => se_EnabledBaselineParameters(_),
|
|
632
|
-
}));
|
|
633
|
-
b.m("POST").h(headers).b(body);
|
|
634
|
-
return b.build();
|
|
635
|
-
};
|
|
636
|
-
const se_UpdateEnabledControlCommand = async (input, context) => {
|
|
637
|
-
const b = core.requestBuilder(input, context);
|
|
638
|
-
const headers = {
|
|
639
|
-
"content-type": "application/json",
|
|
640
|
-
};
|
|
641
|
-
b.bp("/update-enabled-control");
|
|
642
|
-
let body;
|
|
643
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
644
|
-
enabledControlIdentifier: [],
|
|
645
|
-
parameters: (_) => se_EnabledControlParameters(_),
|
|
646
|
-
}));
|
|
647
|
-
b.m("POST").h(headers).b(body);
|
|
648
|
-
return b.build();
|
|
649
|
-
};
|
|
650
|
-
const se_UpdateLandingZoneCommand = async (input, context) => {
|
|
651
|
-
const b = core.requestBuilder(input, context);
|
|
652
|
-
const headers = {
|
|
653
|
-
"content-type": "application/json",
|
|
654
|
-
};
|
|
655
|
-
b.bp("/update-landingzone");
|
|
656
|
-
let body;
|
|
657
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
658
|
-
landingZoneIdentifier: [],
|
|
659
|
-
manifest: (_) => se_Manifest(_),
|
|
660
|
-
remediationTypes: (_) => smithyClient._json(_),
|
|
661
|
-
version: [],
|
|
662
|
-
}));
|
|
663
|
-
b.m("POST").h(headers).b(body);
|
|
664
|
-
return b.build();
|
|
665
|
-
};
|
|
666
|
-
const de_CreateLandingZoneCommand = async (output, context) => {
|
|
667
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
668
|
-
return de_CommandError(output, context);
|
|
669
|
-
}
|
|
670
|
-
const contents = smithyClient.map({
|
|
671
|
-
$metadata: deserializeMetadata(output),
|
|
672
|
-
});
|
|
673
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
674
|
-
const doc = smithyClient.take(data, {
|
|
675
|
-
arn: smithyClient.expectString,
|
|
676
|
-
operationIdentifier: smithyClient.expectString,
|
|
677
|
-
});
|
|
678
|
-
Object.assign(contents, doc);
|
|
679
|
-
return contents;
|
|
680
|
-
};
|
|
681
|
-
const de_DeleteLandingZoneCommand = async (output, context) => {
|
|
682
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
683
|
-
return de_CommandError(output, context);
|
|
684
|
-
}
|
|
685
|
-
const contents = smithyClient.map({
|
|
686
|
-
$metadata: deserializeMetadata(output),
|
|
687
|
-
});
|
|
688
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
689
|
-
const doc = smithyClient.take(data, {
|
|
690
|
-
operationIdentifier: smithyClient.expectString,
|
|
691
|
-
});
|
|
692
|
-
Object.assign(contents, doc);
|
|
693
|
-
return contents;
|
|
694
|
-
};
|
|
695
|
-
const de_DisableBaselineCommand = async (output, context) => {
|
|
696
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
697
|
-
return de_CommandError(output, context);
|
|
698
|
-
}
|
|
699
|
-
const contents = smithyClient.map({
|
|
700
|
-
$metadata: deserializeMetadata(output),
|
|
701
|
-
});
|
|
702
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
703
|
-
const doc = smithyClient.take(data, {
|
|
704
|
-
operationIdentifier: smithyClient.expectString,
|
|
705
|
-
});
|
|
706
|
-
Object.assign(contents, doc);
|
|
707
|
-
return contents;
|
|
708
|
-
};
|
|
709
|
-
const de_DisableControlCommand = async (output, context) => {
|
|
710
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
711
|
-
return de_CommandError(output, context);
|
|
712
|
-
}
|
|
713
|
-
const contents = smithyClient.map({
|
|
714
|
-
$metadata: deserializeMetadata(output),
|
|
715
|
-
});
|
|
716
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
717
|
-
const doc = smithyClient.take(data, {
|
|
718
|
-
operationIdentifier: smithyClient.expectString,
|
|
719
|
-
});
|
|
720
|
-
Object.assign(contents, doc);
|
|
721
|
-
return contents;
|
|
722
|
-
};
|
|
723
|
-
const de_EnableBaselineCommand = async (output, context) => {
|
|
724
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
725
|
-
return de_CommandError(output, context);
|
|
726
|
-
}
|
|
727
|
-
const contents = smithyClient.map({
|
|
728
|
-
$metadata: deserializeMetadata(output),
|
|
729
|
-
});
|
|
730
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
731
|
-
const doc = smithyClient.take(data, {
|
|
732
|
-
arn: smithyClient.expectString,
|
|
733
|
-
operationIdentifier: smithyClient.expectString,
|
|
734
|
-
});
|
|
735
|
-
Object.assign(contents, doc);
|
|
736
|
-
return contents;
|
|
737
|
-
};
|
|
738
|
-
const de_EnableControlCommand = async (output, context) => {
|
|
739
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
740
|
-
return de_CommandError(output, context);
|
|
741
|
-
}
|
|
742
|
-
const contents = smithyClient.map({
|
|
743
|
-
$metadata: deserializeMetadata(output),
|
|
744
|
-
});
|
|
745
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
746
|
-
const doc = smithyClient.take(data, {
|
|
747
|
-
arn: smithyClient.expectString,
|
|
748
|
-
operationIdentifier: smithyClient.expectString,
|
|
749
|
-
});
|
|
750
|
-
Object.assign(contents, doc);
|
|
751
|
-
return contents;
|
|
752
|
-
};
|
|
753
|
-
const de_GetBaselineCommand = async (output, context) => {
|
|
754
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
755
|
-
return de_CommandError(output, context);
|
|
756
|
-
}
|
|
757
|
-
const contents = smithyClient.map({
|
|
758
|
-
$metadata: deserializeMetadata(output),
|
|
759
|
-
});
|
|
760
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
761
|
-
const doc = smithyClient.take(data, {
|
|
762
|
-
arn: smithyClient.expectString,
|
|
763
|
-
description: smithyClient.expectString,
|
|
764
|
-
name: smithyClient.expectString,
|
|
765
|
-
});
|
|
766
|
-
Object.assign(contents, doc);
|
|
767
|
-
return contents;
|
|
768
|
-
};
|
|
769
|
-
const de_GetBaselineOperationCommand = async (output, context) => {
|
|
770
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
771
|
-
return de_CommandError(output, context);
|
|
772
|
-
}
|
|
773
|
-
const contents = smithyClient.map({
|
|
774
|
-
$metadata: deserializeMetadata(output),
|
|
775
|
-
});
|
|
776
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
777
|
-
const doc = smithyClient.take(data, {
|
|
778
|
-
baselineOperation: (_) => de_BaselineOperation(_),
|
|
779
|
-
});
|
|
780
|
-
Object.assign(contents, doc);
|
|
781
|
-
return contents;
|
|
782
|
-
};
|
|
783
|
-
const de_GetControlOperationCommand = async (output, context) => {
|
|
784
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
785
|
-
return de_CommandError(output, context);
|
|
786
|
-
}
|
|
787
|
-
const contents = smithyClient.map({
|
|
788
|
-
$metadata: deserializeMetadata(output),
|
|
789
|
-
});
|
|
790
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
791
|
-
const doc = smithyClient.take(data, {
|
|
792
|
-
controlOperation: (_) => de_ControlOperation(_),
|
|
793
|
-
});
|
|
794
|
-
Object.assign(contents, doc);
|
|
795
|
-
return contents;
|
|
796
|
-
};
|
|
797
|
-
const de_GetEnabledBaselineCommand = async (output, context) => {
|
|
798
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
799
|
-
return de_CommandError(output, context);
|
|
800
|
-
}
|
|
801
|
-
const contents = smithyClient.map({
|
|
802
|
-
$metadata: deserializeMetadata(output),
|
|
803
|
-
});
|
|
804
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
805
|
-
const doc = smithyClient.take(data, {
|
|
806
|
-
enabledBaselineDetails: (_) => de_EnabledBaselineDetails(_),
|
|
807
|
-
});
|
|
808
|
-
Object.assign(contents, doc);
|
|
809
|
-
return contents;
|
|
810
|
-
};
|
|
811
|
-
const de_GetEnabledControlCommand = async (output, context) => {
|
|
812
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
813
|
-
return de_CommandError(output, context);
|
|
814
|
-
}
|
|
815
|
-
const contents = smithyClient.map({
|
|
816
|
-
$metadata: deserializeMetadata(output),
|
|
817
|
-
});
|
|
818
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
819
|
-
const doc = smithyClient.take(data, {
|
|
820
|
-
enabledControlDetails: (_) => de_EnabledControlDetails(_),
|
|
821
|
-
});
|
|
822
|
-
Object.assign(contents, doc);
|
|
823
|
-
return contents;
|
|
824
|
-
};
|
|
825
|
-
const de_GetLandingZoneCommand = async (output, context) => {
|
|
826
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
|
-
return de_CommandError(output, context);
|
|
828
|
-
}
|
|
829
|
-
const contents = smithyClient.map({
|
|
830
|
-
$metadata: deserializeMetadata(output),
|
|
831
|
-
});
|
|
832
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
833
|
-
const doc = smithyClient.take(data, {
|
|
834
|
-
landingZone: (_) => de_LandingZoneDetail(_),
|
|
835
|
-
});
|
|
836
|
-
Object.assign(contents, doc);
|
|
837
|
-
return contents;
|
|
838
|
-
};
|
|
839
|
-
const de_GetLandingZoneOperationCommand = async (output, context) => {
|
|
840
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
841
|
-
return de_CommandError(output, context);
|
|
842
|
-
}
|
|
843
|
-
const contents = smithyClient.map({
|
|
844
|
-
$metadata: deserializeMetadata(output),
|
|
845
|
-
});
|
|
846
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
847
|
-
const doc = smithyClient.take(data, {
|
|
848
|
-
operationDetails: (_) => de_LandingZoneOperationDetail(_),
|
|
849
|
-
});
|
|
850
|
-
Object.assign(contents, doc);
|
|
851
|
-
return contents;
|
|
852
|
-
};
|
|
853
|
-
const de_ListBaselinesCommand = async (output, context) => {
|
|
854
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
855
|
-
return de_CommandError(output, context);
|
|
856
|
-
}
|
|
857
|
-
const contents = smithyClient.map({
|
|
858
|
-
$metadata: deserializeMetadata(output),
|
|
859
|
-
});
|
|
860
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
861
|
-
const doc = smithyClient.take(data, {
|
|
862
|
-
baselines: smithyClient._json,
|
|
863
|
-
nextToken: smithyClient.expectString,
|
|
864
|
-
});
|
|
865
|
-
Object.assign(contents, doc);
|
|
866
|
-
return contents;
|
|
867
|
-
};
|
|
868
|
-
const de_ListControlOperationsCommand = async (output, context) => {
|
|
869
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
870
|
-
return de_CommandError(output, context);
|
|
871
|
-
}
|
|
872
|
-
const contents = smithyClient.map({
|
|
873
|
-
$metadata: deserializeMetadata(output),
|
|
874
|
-
});
|
|
875
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
876
|
-
const doc = smithyClient.take(data, {
|
|
877
|
-
controlOperations: (_) => de_ControlOperations(_),
|
|
878
|
-
nextToken: smithyClient.expectString,
|
|
879
|
-
});
|
|
880
|
-
Object.assign(contents, doc);
|
|
881
|
-
return contents;
|
|
882
|
-
};
|
|
883
|
-
const de_ListEnabledBaselinesCommand = async (output, context) => {
|
|
884
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
885
|
-
return de_CommandError(output, context);
|
|
886
|
-
}
|
|
887
|
-
const contents = smithyClient.map({
|
|
888
|
-
$metadata: deserializeMetadata(output),
|
|
889
|
-
});
|
|
890
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
891
|
-
const doc = smithyClient.take(data, {
|
|
892
|
-
enabledBaselines: smithyClient._json,
|
|
893
|
-
nextToken: smithyClient.expectString,
|
|
894
|
-
});
|
|
895
|
-
Object.assign(contents, doc);
|
|
896
|
-
return contents;
|
|
897
|
-
};
|
|
898
|
-
const de_ListEnabledControlsCommand = async (output, context) => {
|
|
899
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
900
|
-
return de_CommandError(output, context);
|
|
901
|
-
}
|
|
902
|
-
const contents = smithyClient.map({
|
|
903
|
-
$metadata: deserializeMetadata(output),
|
|
904
|
-
});
|
|
905
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
906
|
-
const doc = smithyClient.take(data, {
|
|
907
|
-
enabledControls: smithyClient._json,
|
|
908
|
-
nextToken: smithyClient.expectString,
|
|
909
|
-
});
|
|
910
|
-
Object.assign(contents, doc);
|
|
911
|
-
return contents;
|
|
912
|
-
};
|
|
913
|
-
const de_ListLandingZoneOperationsCommand = async (output, context) => {
|
|
914
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
915
|
-
return de_CommandError(output, context);
|
|
916
|
-
}
|
|
917
|
-
const contents = smithyClient.map({
|
|
918
|
-
$metadata: deserializeMetadata(output),
|
|
919
|
-
});
|
|
920
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
921
|
-
const doc = smithyClient.take(data, {
|
|
922
|
-
landingZoneOperations: smithyClient._json,
|
|
923
|
-
nextToken: smithyClient.expectString,
|
|
924
|
-
});
|
|
925
|
-
Object.assign(contents, doc);
|
|
926
|
-
return contents;
|
|
927
|
-
};
|
|
928
|
-
const de_ListLandingZonesCommand = async (output, context) => {
|
|
929
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
930
|
-
return de_CommandError(output, context);
|
|
931
|
-
}
|
|
932
|
-
const contents = smithyClient.map({
|
|
933
|
-
$metadata: deserializeMetadata(output),
|
|
934
|
-
});
|
|
935
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
936
|
-
const doc = smithyClient.take(data, {
|
|
937
|
-
landingZones: smithyClient._json,
|
|
938
|
-
nextToken: smithyClient.expectString,
|
|
939
|
-
});
|
|
940
|
-
Object.assign(contents, doc);
|
|
941
|
-
return contents;
|
|
942
|
-
};
|
|
943
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
944
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
945
|
-
return de_CommandError(output, context);
|
|
946
|
-
}
|
|
947
|
-
const contents = smithyClient.map({
|
|
948
|
-
$metadata: deserializeMetadata(output),
|
|
949
|
-
});
|
|
950
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
951
|
-
const doc = smithyClient.take(data, {
|
|
952
|
-
tags: smithyClient._json,
|
|
953
|
-
});
|
|
954
|
-
Object.assign(contents, doc);
|
|
955
|
-
return contents;
|
|
956
|
-
};
|
|
957
|
-
const de_ResetEnabledBaselineCommand = async (output, context) => {
|
|
958
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
959
|
-
return de_CommandError(output, context);
|
|
960
|
-
}
|
|
961
|
-
const contents = smithyClient.map({
|
|
962
|
-
$metadata: deserializeMetadata(output),
|
|
963
|
-
});
|
|
964
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
965
|
-
const doc = smithyClient.take(data, {
|
|
966
|
-
operationIdentifier: smithyClient.expectString,
|
|
967
|
-
});
|
|
968
|
-
Object.assign(contents, doc);
|
|
969
|
-
return contents;
|
|
970
|
-
};
|
|
971
|
-
const de_ResetEnabledControlCommand = async (output, context) => {
|
|
972
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
const contents = smithyClient.map({
|
|
976
|
-
$metadata: deserializeMetadata(output),
|
|
977
|
-
});
|
|
978
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
979
|
-
const doc = smithyClient.take(data, {
|
|
980
|
-
operationIdentifier: smithyClient.expectString,
|
|
981
|
-
});
|
|
982
|
-
Object.assign(contents, doc);
|
|
983
|
-
return contents;
|
|
984
|
-
};
|
|
985
|
-
const de_ResetLandingZoneCommand = async (output, context) => {
|
|
986
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
-
return de_CommandError(output, context);
|
|
988
|
-
}
|
|
989
|
-
const contents = smithyClient.map({
|
|
990
|
-
$metadata: deserializeMetadata(output),
|
|
991
|
-
});
|
|
992
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
993
|
-
const doc = smithyClient.take(data, {
|
|
994
|
-
operationIdentifier: smithyClient.expectString,
|
|
995
|
-
});
|
|
996
|
-
Object.assign(contents, doc);
|
|
997
|
-
return contents;
|
|
998
|
-
};
|
|
999
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
1000
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1001
|
-
return de_CommandError(output, context);
|
|
1002
|
-
}
|
|
1003
|
-
const contents = smithyClient.map({
|
|
1004
|
-
$metadata: deserializeMetadata(output),
|
|
1005
|
-
});
|
|
1006
|
-
await smithyClient.collectBody(output.body, context);
|
|
1007
|
-
return contents;
|
|
1008
|
-
};
|
|
1009
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = smithyClient.map({
|
|
1014
|
-
$metadata: deserializeMetadata(output),
|
|
1015
|
-
});
|
|
1016
|
-
await smithyClient.collectBody(output.body, context);
|
|
1017
|
-
return contents;
|
|
1018
|
-
};
|
|
1019
|
-
const de_UpdateEnabledBaselineCommand = async (output, context) => {
|
|
1020
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1021
|
-
return de_CommandError(output, context);
|
|
1022
|
-
}
|
|
1023
|
-
const contents = smithyClient.map({
|
|
1024
|
-
$metadata: deserializeMetadata(output),
|
|
1025
|
-
});
|
|
1026
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1027
|
-
const doc = smithyClient.take(data, {
|
|
1028
|
-
operationIdentifier: smithyClient.expectString,
|
|
1029
|
-
});
|
|
1030
|
-
Object.assign(contents, doc);
|
|
1031
|
-
return contents;
|
|
1032
|
-
};
|
|
1033
|
-
const de_UpdateEnabledControlCommand = async (output, context) => {
|
|
1034
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1035
|
-
return de_CommandError(output, context);
|
|
1036
|
-
}
|
|
1037
|
-
const contents = smithyClient.map({
|
|
1038
|
-
$metadata: deserializeMetadata(output),
|
|
1039
|
-
});
|
|
1040
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1041
|
-
const doc = smithyClient.take(data, {
|
|
1042
|
-
operationIdentifier: smithyClient.expectString,
|
|
1043
|
-
});
|
|
1044
|
-
Object.assign(contents, doc);
|
|
1045
|
-
return contents;
|
|
1046
|
-
};
|
|
1047
|
-
const de_UpdateLandingZoneCommand = async (output, context) => {
|
|
1048
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1049
|
-
return de_CommandError(output, context);
|
|
1050
|
-
}
|
|
1051
|
-
const contents = smithyClient.map({
|
|
1052
|
-
$metadata: deserializeMetadata(output),
|
|
1053
|
-
});
|
|
1054
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1055
|
-
const doc = smithyClient.take(data, {
|
|
1056
|
-
operationIdentifier: smithyClient.expectString,
|
|
1057
|
-
});
|
|
1058
|
-
Object.assign(contents, doc);
|
|
1059
|
-
return contents;
|
|
1060
|
-
};
|
|
1061
|
-
const de_CommandError = async (output, context) => {
|
|
1062
|
-
const parsedOutput = {
|
|
1063
|
-
...output,
|
|
1064
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1065
|
-
};
|
|
1066
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1067
|
-
switch (errorCode) {
|
|
1068
|
-
case "AccessDeniedException":
|
|
1069
|
-
case "com.amazonaws.controltower#AccessDeniedException":
|
|
1070
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1071
|
-
case "ConflictException":
|
|
1072
|
-
case "com.amazonaws.controltower#ConflictException":
|
|
1073
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1074
|
-
case "InternalServerException":
|
|
1075
|
-
case "com.amazonaws.controltower#InternalServerException":
|
|
1076
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1077
|
-
case "ThrottlingException":
|
|
1078
|
-
case "com.amazonaws.controltower#ThrottlingException":
|
|
1079
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1080
|
-
case "ValidationException":
|
|
1081
|
-
case "com.amazonaws.controltower#ValidationException":
|
|
1082
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1083
|
-
case "ResourceNotFoundException":
|
|
1084
|
-
case "com.amazonaws.controltower#ResourceNotFoundException":
|
|
1085
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1086
|
-
case "ServiceQuotaExceededException":
|
|
1087
|
-
case "com.amazonaws.controltower#ServiceQuotaExceededException":
|
|
1088
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1089
|
-
default:
|
|
1090
|
-
const parsedBody = parsedOutput.body;
|
|
1091
|
-
return throwDefaultError({
|
|
1092
|
-
output,
|
|
1093
|
-
parsedBody,
|
|
1094
|
-
errorCode,
|
|
1095
|
-
});
|
|
1096
|
-
}
|
|
1097
|
-
};
|
|
1098
|
-
const throwDefaultError = smithyClient.withBaseException(ControlTowerServiceException);
|
|
1099
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1100
|
-
const contents = smithyClient.map({});
|
|
1101
|
-
const data = parsedOutput.body;
|
|
1102
|
-
const doc = smithyClient.take(data, {
|
|
1103
|
-
message: smithyClient.expectString,
|
|
1104
|
-
});
|
|
1105
|
-
Object.assign(contents, doc);
|
|
1106
|
-
const exception = new AccessDeniedException({
|
|
1107
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1108
|
-
...contents,
|
|
1109
|
-
});
|
|
1110
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1111
|
-
};
|
|
1112
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1113
|
-
const contents = smithyClient.map({});
|
|
1114
|
-
const data = parsedOutput.body;
|
|
1115
|
-
const doc = smithyClient.take(data, {
|
|
1116
|
-
message: smithyClient.expectString,
|
|
1117
|
-
});
|
|
1118
|
-
Object.assign(contents, doc);
|
|
1119
|
-
const exception = new ConflictException({
|
|
1120
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1121
|
-
...contents,
|
|
1122
|
-
});
|
|
1123
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1124
|
-
};
|
|
1125
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1126
|
-
const contents = smithyClient.map({});
|
|
1127
|
-
const data = parsedOutput.body;
|
|
1128
|
-
const doc = smithyClient.take(data, {
|
|
1129
|
-
message: smithyClient.expectString,
|
|
1130
|
-
});
|
|
1131
|
-
Object.assign(contents, doc);
|
|
1132
|
-
const exception = new InternalServerException({
|
|
1133
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1134
|
-
...contents,
|
|
1135
|
-
});
|
|
1136
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1137
|
-
};
|
|
1138
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1139
|
-
const contents = smithyClient.map({});
|
|
1140
|
-
const data = parsedOutput.body;
|
|
1141
|
-
const doc = smithyClient.take(data, {
|
|
1142
|
-
message: smithyClient.expectString,
|
|
1143
|
-
});
|
|
1144
|
-
Object.assign(contents, doc);
|
|
1145
|
-
const exception = new ResourceNotFoundException({
|
|
1146
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1147
|
-
...contents,
|
|
1148
|
-
});
|
|
1149
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1150
|
-
};
|
|
1151
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1152
|
-
const contents = smithyClient.map({});
|
|
1153
|
-
const data = parsedOutput.body;
|
|
1154
|
-
const doc = smithyClient.take(data, {
|
|
1155
|
-
message: smithyClient.expectString,
|
|
1156
|
-
});
|
|
1157
|
-
Object.assign(contents, doc);
|
|
1158
|
-
const exception = new ServiceQuotaExceededException({
|
|
1159
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1160
|
-
...contents,
|
|
1161
|
-
});
|
|
1162
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1163
|
-
};
|
|
1164
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1165
|
-
const contents = smithyClient.map({
|
|
1166
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1167
|
-
});
|
|
1168
|
-
const data = parsedOutput.body;
|
|
1169
|
-
const doc = smithyClient.take(data, {
|
|
1170
|
-
message: smithyClient.expectString,
|
|
1171
|
-
quotaCode: smithyClient.expectString,
|
|
1172
|
-
serviceCode: smithyClient.expectString,
|
|
1173
|
-
});
|
|
1174
|
-
Object.assign(contents, doc);
|
|
1175
|
-
const exception = new ThrottlingException({
|
|
1176
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1177
|
-
...contents,
|
|
1178
|
-
});
|
|
1179
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1180
|
-
};
|
|
1181
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1182
|
-
const contents = smithyClient.map({});
|
|
1183
|
-
const data = parsedOutput.body;
|
|
1184
|
-
const doc = smithyClient.take(data, {
|
|
1185
|
-
message: smithyClient.expectString,
|
|
1186
|
-
});
|
|
1187
|
-
Object.assign(contents, doc);
|
|
1188
|
-
const exception = new ValidationException({
|
|
1189
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1190
|
-
...contents,
|
|
1191
|
-
});
|
|
1192
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1193
|
-
};
|
|
1194
|
-
const se_EnabledBaselineParameter = (input, context) => {
|
|
1195
|
-
return smithyClient.take(input, {
|
|
1196
|
-
key: [],
|
|
1197
|
-
value: (_) => se_EnabledBaselineParameterDocument(_),
|
|
1198
|
-
});
|
|
1199
|
-
};
|
|
1200
|
-
const se_EnabledBaselineParameterDocument = (input, context) => {
|
|
1201
|
-
return input;
|
|
1202
|
-
};
|
|
1203
|
-
const se_EnabledBaselineParameters = (input, context) => {
|
|
1204
|
-
return input
|
|
1205
|
-
.filter((e) => e != null)
|
|
1206
|
-
.map((entry) => {
|
|
1207
|
-
return se_EnabledBaselineParameter(entry);
|
|
1208
|
-
});
|
|
1209
|
-
};
|
|
1210
|
-
const se_EnabledControlParameter = (input, context) => {
|
|
1211
|
-
return smithyClient.take(input, {
|
|
1212
|
-
key: [],
|
|
1213
|
-
value: (_) => se_Document(_),
|
|
1214
|
-
});
|
|
1215
|
-
};
|
|
1216
|
-
const se_EnabledControlParameters = (input, context) => {
|
|
1217
|
-
return input
|
|
1218
|
-
.filter((e) => e != null)
|
|
1219
|
-
.map((entry) => {
|
|
1220
|
-
return se_EnabledControlParameter(entry);
|
|
1221
|
-
});
|
|
1222
|
-
};
|
|
1223
|
-
const se_Manifest = (input, context) => {
|
|
1224
|
-
return input;
|
|
1225
|
-
};
|
|
1226
|
-
const se_Document = (input, context) => {
|
|
1227
|
-
return input;
|
|
1228
|
-
};
|
|
1229
|
-
const de_BaselineOperation = (output, context) => {
|
|
1230
|
-
return smithyClient.take(output, {
|
|
1231
|
-
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1232
|
-
operationIdentifier: smithyClient.expectString,
|
|
1233
|
-
operationType: smithyClient.expectString,
|
|
1234
|
-
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1235
|
-
status: smithyClient.expectString,
|
|
1236
|
-
statusMessage: smithyClient.expectString,
|
|
1237
|
-
});
|
|
1238
|
-
};
|
|
1239
|
-
const de_ControlOperation = (output, context) => {
|
|
1240
|
-
return smithyClient.take(output, {
|
|
1241
|
-
controlIdentifier: smithyClient.expectString,
|
|
1242
|
-
enabledControlIdentifier: smithyClient.expectString,
|
|
1243
|
-
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1244
|
-
operationIdentifier: smithyClient.expectString,
|
|
1245
|
-
operationType: smithyClient.expectString,
|
|
1246
|
-
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1247
|
-
status: smithyClient.expectString,
|
|
1248
|
-
statusMessage: smithyClient.expectString,
|
|
1249
|
-
targetIdentifier: smithyClient.expectString,
|
|
1250
|
-
});
|
|
1251
|
-
};
|
|
1252
|
-
const de_ControlOperations = (output, context) => {
|
|
1253
|
-
const retVal = (output || [])
|
|
1254
|
-
.filter((e) => e != null)
|
|
1255
|
-
.map((entry) => {
|
|
1256
|
-
return de_ControlOperationSummary(entry);
|
|
1257
|
-
});
|
|
1258
|
-
return retVal;
|
|
1259
|
-
};
|
|
1260
|
-
const de_ControlOperationSummary = (output, context) => {
|
|
1261
|
-
return smithyClient.take(output, {
|
|
1262
|
-
controlIdentifier: smithyClient.expectString,
|
|
1263
|
-
enabledControlIdentifier: smithyClient.expectString,
|
|
1264
|
-
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1265
|
-
operationIdentifier: smithyClient.expectString,
|
|
1266
|
-
operationType: smithyClient.expectString,
|
|
1267
|
-
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1268
|
-
status: smithyClient.expectString,
|
|
1269
|
-
statusMessage: smithyClient.expectString,
|
|
1270
|
-
targetIdentifier: smithyClient.expectString,
|
|
1271
|
-
});
|
|
1272
|
-
};
|
|
1273
|
-
const de_EnabledBaselineDetails = (output, context) => {
|
|
1274
|
-
return smithyClient.take(output, {
|
|
1275
|
-
arn: smithyClient.expectString,
|
|
1276
|
-
baselineIdentifier: smithyClient.expectString,
|
|
1277
|
-
baselineVersion: smithyClient.expectString,
|
|
1278
|
-
driftStatusSummary: smithyClient._json,
|
|
1279
|
-
parameters: (_) => de_EnabledBaselineParameterSummaries(_),
|
|
1280
|
-
parentIdentifier: smithyClient.expectString,
|
|
1281
|
-
statusSummary: smithyClient._json,
|
|
1282
|
-
targetIdentifier: smithyClient.expectString,
|
|
1283
|
-
});
|
|
1284
|
-
};
|
|
1285
|
-
const de_EnabledBaselineParameterDocument = (output, context) => {
|
|
1286
|
-
return output;
|
|
1287
|
-
};
|
|
1288
|
-
const de_EnabledBaselineParameterSummaries = (output, context) => {
|
|
1289
|
-
const retVal = (output || [])
|
|
1290
|
-
.filter((e) => e != null)
|
|
1291
|
-
.map((entry) => {
|
|
1292
|
-
return de_EnabledBaselineParameterSummary(entry);
|
|
1293
|
-
});
|
|
1294
|
-
return retVal;
|
|
1295
|
-
};
|
|
1296
|
-
const de_EnabledBaselineParameterSummary = (output, context) => {
|
|
1297
|
-
return smithyClient.take(output, {
|
|
1298
|
-
key: smithyClient.expectString,
|
|
1299
|
-
value: (_) => de_EnabledBaselineParameterDocument(_),
|
|
1300
|
-
});
|
|
1301
|
-
};
|
|
1302
|
-
const de_EnabledControlDetails = (output, context) => {
|
|
1303
|
-
return smithyClient.take(output, {
|
|
1304
|
-
arn: smithyClient.expectString,
|
|
1305
|
-
controlIdentifier: smithyClient.expectString,
|
|
1306
|
-
driftStatusSummary: smithyClient._json,
|
|
1307
|
-
parameters: (_) => de_EnabledControlParameterSummaries(_),
|
|
1308
|
-
parentIdentifier: smithyClient.expectString,
|
|
1309
|
-
statusSummary: smithyClient._json,
|
|
1310
|
-
targetIdentifier: smithyClient.expectString,
|
|
1311
|
-
targetRegions: smithyClient._json,
|
|
1312
|
-
});
|
|
1313
|
-
};
|
|
1314
|
-
const de_EnabledControlParameterSummaries = (output, context) => {
|
|
1315
|
-
const retVal = (output || [])
|
|
1316
|
-
.filter((e) => e != null)
|
|
1317
|
-
.map((entry) => {
|
|
1318
|
-
return de_EnabledControlParameterSummary(entry);
|
|
1319
|
-
});
|
|
1320
|
-
return retVal;
|
|
1321
|
-
};
|
|
1322
|
-
const de_EnabledControlParameterSummary = (output, context) => {
|
|
1323
|
-
return smithyClient.take(output, {
|
|
1324
|
-
key: smithyClient.expectString,
|
|
1325
|
-
value: (_) => de_Document(_),
|
|
1326
|
-
});
|
|
1327
|
-
};
|
|
1328
|
-
const de_LandingZoneDetail = (output, context) => {
|
|
1329
|
-
return smithyClient.take(output, {
|
|
1330
|
-
arn: smithyClient.expectString,
|
|
1331
|
-
driftStatus: smithyClient._json,
|
|
1332
|
-
latestAvailableVersion: smithyClient.expectString,
|
|
1333
|
-
manifest: (_) => de_Manifest(_),
|
|
1334
|
-
remediationTypes: smithyClient._json,
|
|
1335
|
-
status: smithyClient.expectString,
|
|
1336
|
-
version: smithyClient.expectString,
|
|
1337
|
-
});
|
|
1338
|
-
};
|
|
1339
|
-
const de_LandingZoneOperationDetail = (output, context) => {
|
|
1340
|
-
return smithyClient.take(output, {
|
|
1341
|
-
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1342
|
-
operationIdentifier: smithyClient.expectString,
|
|
1343
|
-
operationType: smithyClient.expectString,
|
|
1344
|
-
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1345
|
-
status: smithyClient.expectString,
|
|
1346
|
-
statusMessage: smithyClient.expectString,
|
|
1347
|
-
});
|
|
1348
|
-
};
|
|
1349
|
-
const de_Manifest = (output, context) => {
|
|
1350
|
-
return output;
|
|
1351
|
-
};
|
|
1352
|
-
const de_Document = (output, context) => {
|
|
1353
|
-
return output;
|
|
1354
|
-
};
|
|
1355
|
-
const deserializeMetadata = (output) => ({
|
|
1356
|
-
httpStatusCode: output.statusCode,
|
|
1357
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1358
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1359
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1360
|
-
});
|
|
275
|
+
const _ADE = "AccessDeniedException";
|
|
276
|
+
const _B = "Baselines";
|
|
277
|
+
const _BO = "BaselineOperation";
|
|
278
|
+
const _BS = "BaselineSummary";
|
|
279
|
+
const _CE = "ConflictException";
|
|
280
|
+
const _CLZ = "CreateLandingZone";
|
|
281
|
+
const _CLZI = "CreateLandingZoneInput";
|
|
282
|
+
const _CLZO = "CreateLandingZoneOutput";
|
|
283
|
+
const _CO = "ControlOperation";
|
|
284
|
+
const _COF = "ControlOperationFilter";
|
|
285
|
+
const _COS = "ControlOperationSummary";
|
|
286
|
+
const _COo = "ControlOperations";
|
|
287
|
+
const _DB = "DisableBaseline";
|
|
288
|
+
const _DBI = "DisableBaselineInput";
|
|
289
|
+
const _DBO = "DisableBaselineOutput";
|
|
290
|
+
const _DC = "DisableControl";
|
|
291
|
+
const _DCI = "DisableControlInput";
|
|
292
|
+
const _DCO = "DisableControlOutput";
|
|
293
|
+
const _DLZ = "DeleteLandingZone";
|
|
294
|
+
const _DLZI = "DeleteLandingZoneInput";
|
|
295
|
+
const _DLZO = "DeleteLandingZoneOutput";
|
|
296
|
+
const _DSS = "DriftStatusSummary";
|
|
297
|
+
const _EB = "EnabledBaselines";
|
|
298
|
+
const _EBD = "EnabledBaselineDetails";
|
|
299
|
+
const _EBDSS = "EnabledBaselineDriftStatusSummary";
|
|
300
|
+
const _EBDT = "EnabledBaselineDriftTypes";
|
|
301
|
+
const _EBF = "EnabledBaselineFilter";
|
|
302
|
+
const _EBI = "EnableBaselineInput";
|
|
303
|
+
const _EBID = "EnabledBaselineInheritanceDrift";
|
|
304
|
+
const _EBO = "EnableBaselineOutput";
|
|
305
|
+
const _EBP = "EnabledBaselineParameter";
|
|
306
|
+
const _EBPS = "EnabledBaselineParameterSummary";
|
|
307
|
+
const _EBPSn = "EnabledBaselineParameterSummaries";
|
|
308
|
+
const _EBPn = "EnabledBaselineParameters";
|
|
309
|
+
const _EBS = "EnabledBaselineSummary";
|
|
310
|
+
const _EBn = "EnableBaseline";
|
|
311
|
+
const _EC = "EnabledControls";
|
|
312
|
+
const _ECD = "EnabledControlDetails";
|
|
313
|
+
const _ECDT = "EnabledControlDriftTypes";
|
|
314
|
+
const _ECF = "EnabledControlFilter";
|
|
315
|
+
const _ECI = "EnableControlInput";
|
|
316
|
+
const _ECID = "EnabledControlInheritanceDrift";
|
|
317
|
+
const _ECO = "EnableControlOutput";
|
|
318
|
+
const _ECP = "EnabledControlParameter";
|
|
319
|
+
const _ECPS = "EnabledControlParameterSummary";
|
|
320
|
+
const _ECPSn = "EnabledControlParameterSummaries";
|
|
321
|
+
const _ECPn = "EnabledControlParameters";
|
|
322
|
+
const _ECRD = "EnabledControlResourceDrift";
|
|
323
|
+
const _ECS = "EnabledControlSummary";
|
|
324
|
+
const _ECn = "EnableControl";
|
|
325
|
+
const _ESS = "EnablementStatusSummary";
|
|
326
|
+
const _GB = "GetBaseline";
|
|
327
|
+
const _GBI = "GetBaselineInput";
|
|
328
|
+
const _GBO = "GetBaselineOutput";
|
|
329
|
+
const _GBOI = "GetBaselineOperationInput";
|
|
330
|
+
const _GBOO = "GetBaselineOperationOutput";
|
|
331
|
+
const _GBOe = "GetBaselineOperation";
|
|
332
|
+
const _GCO = "GetControlOperation";
|
|
333
|
+
const _GCOI = "GetControlOperationInput";
|
|
334
|
+
const _GCOO = "GetControlOperationOutput";
|
|
335
|
+
const _GEB = "GetEnabledBaseline";
|
|
336
|
+
const _GEBI = "GetEnabledBaselineInput";
|
|
337
|
+
const _GEBO = "GetEnabledBaselineOutput";
|
|
338
|
+
const _GEC = "GetEnabledControl";
|
|
339
|
+
const _GECI = "GetEnabledControlInput";
|
|
340
|
+
const _GECO = "GetEnabledControlOutput";
|
|
341
|
+
const _GLZ = "GetLandingZone";
|
|
342
|
+
const _GLZI = "GetLandingZoneInput";
|
|
343
|
+
const _GLZO = "GetLandingZoneOutput";
|
|
344
|
+
const _GLZOI = "GetLandingZoneOperationInput";
|
|
345
|
+
const _GLZOO = "GetLandingZoneOperationOutput";
|
|
346
|
+
const _GLZOe = "GetLandingZoneOperation";
|
|
347
|
+
const _ISE = "InternalServerException";
|
|
348
|
+
const _LB = "ListBaselines";
|
|
349
|
+
const _LBI = "ListBaselinesInput";
|
|
350
|
+
const _LBO = "ListBaselinesOutput";
|
|
351
|
+
const _LCO = "ListControlOperations";
|
|
352
|
+
const _LCOI = "ListControlOperationsInput";
|
|
353
|
+
const _LCOO = "ListControlOperationsOutput";
|
|
354
|
+
const _LEB = "ListEnabledBaselines";
|
|
355
|
+
const _LEBI = "ListEnabledBaselinesInput";
|
|
356
|
+
const _LEBO = "ListEnabledBaselinesOutput";
|
|
357
|
+
const _LEC = "ListEnabledControls";
|
|
358
|
+
const _LECI = "ListEnabledControlsInput";
|
|
359
|
+
const _LECO = "ListEnabledControlsOutput";
|
|
360
|
+
const _LLZ = "ListLandingZones";
|
|
361
|
+
const _LLZI = "ListLandingZonesInput";
|
|
362
|
+
const _LLZO = "ListLandingZonesOutput";
|
|
363
|
+
const _LLZOI = "ListLandingZoneOperationsInput";
|
|
364
|
+
const _LLZOO = "ListLandingZoneOperationsOutput";
|
|
365
|
+
const _LLZOi = "ListLandingZoneOperations";
|
|
366
|
+
const _LTFR = "ListTagsForResource";
|
|
367
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
368
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
369
|
+
const _LZD = "LandingZoneDetail";
|
|
370
|
+
const _LZDSS = "LandingZoneDriftStatusSummary";
|
|
371
|
+
const _LZO = "LandingZoneOperations";
|
|
372
|
+
const _LZOD = "LandingZoneOperationDetail";
|
|
373
|
+
const _LZOF = "LandingZoneOperationFilter";
|
|
374
|
+
const _LZOS = "LandingZoneOperationSummary";
|
|
375
|
+
const _LZS = "LandingZoneSummary";
|
|
376
|
+
const _LZSa = "LandingZoneSummaries";
|
|
377
|
+
const _R = "Region";
|
|
378
|
+
const _RA = "Retry-After";
|
|
379
|
+
const _REB = "ResetEnabledBaseline";
|
|
380
|
+
const _REBI = "ResetEnabledBaselineInput";
|
|
381
|
+
const _REBO = "ResetEnabledBaselineOutput";
|
|
382
|
+
const _REC = "ResetEnabledControl";
|
|
383
|
+
const _RECI = "ResetEnabledControlInput";
|
|
384
|
+
const _RECO = "ResetEnabledControlOutput";
|
|
385
|
+
const _RLZ = "ResetLandingZone";
|
|
386
|
+
const _RLZI = "ResetLandingZoneInput";
|
|
387
|
+
const _RLZO = "ResetLandingZoneOutput";
|
|
388
|
+
const _RNFE = "ResourceNotFoundException";
|
|
389
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
390
|
+
const _TE = "ThrottlingException";
|
|
391
|
+
const _TR = "TargetRegions";
|
|
392
|
+
const _TRI = "TagResourceInput";
|
|
393
|
+
const _TRO = "TagResourceOutput";
|
|
394
|
+
const _TRa = "TagResource";
|
|
395
|
+
const _UEB = "UpdateEnabledBaseline";
|
|
396
|
+
const _UEBI = "UpdateEnabledBaselineInput";
|
|
397
|
+
const _UEBO = "UpdateEnabledBaselineOutput";
|
|
398
|
+
const _UEC = "UpdateEnabledControl";
|
|
399
|
+
const _UECI = "UpdateEnabledControlInput";
|
|
400
|
+
const _UECO = "UpdateEnabledControlOutput";
|
|
401
|
+
const _ULZ = "UpdateLandingZone";
|
|
402
|
+
const _ULZI = "UpdateLandingZoneInput";
|
|
403
|
+
const _ULZO = "UpdateLandingZoneOutput";
|
|
404
|
+
const _UR = "UntagResource";
|
|
405
|
+
const _URI = "UntagResourceInput";
|
|
406
|
+
const _URO = "UntagResourceOutput";
|
|
407
|
+
const _VE = "ValidationException";
|
|
408
|
+
const _a = "arn";
|
|
409
|
+
const _b = "baselines";
|
|
410
|
+
const _bI = "baselineIdentifier";
|
|
411
|
+
const _bIa = "baselineIdentifiers";
|
|
412
|
+
const _bO = "baselineOperation";
|
|
413
|
+
const _bV = "baselineVersion";
|
|
414
|
+
const _c = "client";
|
|
415
|
+
const _cI = "controlIdentifier";
|
|
416
|
+
const _cIo = "controlIdentifiers";
|
|
417
|
+
const _cO = "controlOperation";
|
|
418
|
+
const _cOT = "controlOperationTypes";
|
|
419
|
+
const _cOo = "controlOperations";
|
|
420
|
+
const _d = "description";
|
|
421
|
+
const _dS = "driftStatus";
|
|
422
|
+
const _dSS = "driftStatusSummary";
|
|
423
|
+
const _dSr = "driftStatuses";
|
|
424
|
+
const _e = "error";
|
|
425
|
+
const _eB = "enabledBaselines";
|
|
426
|
+
const _eBD = "enabledBaselineDetails";
|
|
427
|
+
const _eBI = "enabledBaselineIdentifier";
|
|
428
|
+
const _eC = "enabledControls";
|
|
429
|
+
const _eCD = "enabledControlDetails";
|
|
430
|
+
const _eCI = "enabledControlIdentifier";
|
|
431
|
+
const _eCIn = "enabledControlIdentifiers";
|
|
432
|
+
const _eT = "endTime";
|
|
433
|
+
const _f = "filter";
|
|
434
|
+
const _h = "http";
|
|
435
|
+
const _hE = "httpError";
|
|
436
|
+
const _hH = "httpHeader";
|
|
437
|
+
const _hQ = "httpQuery";
|
|
438
|
+
const _i = "inheritance";
|
|
439
|
+
const _iC = "includeChildren";
|
|
440
|
+
const _iDS = "inheritanceDriftStatuses";
|
|
441
|
+
const _k = "key";
|
|
442
|
+
const _lAV = "latestAvailableVersion";
|
|
443
|
+
const _lOI = "lastOperationIdentifier";
|
|
444
|
+
const _lZ = "landingZone";
|
|
445
|
+
const _lZI = "landingZoneIdentifier";
|
|
446
|
+
const _lZO = "landingZoneOperations";
|
|
447
|
+
const _lZa = "landingZones";
|
|
448
|
+
const _m = "message";
|
|
449
|
+
const _mR = "maxResults";
|
|
450
|
+
const _ma = "manifest";
|
|
451
|
+
const _n = "name";
|
|
452
|
+
const _nT = "nextToken";
|
|
453
|
+
const _oD = "operationDetails";
|
|
454
|
+
const _oI = "operationIdentifier";
|
|
455
|
+
const _oT = "operationType";
|
|
456
|
+
const _p = "parameters";
|
|
457
|
+
const _pI = "parentIdentifier";
|
|
458
|
+
const _pIa = "parentIdentifiers";
|
|
459
|
+
const _qC = "quotaCode";
|
|
460
|
+
const _r = "resource";
|
|
461
|
+
const _rA = "resourceArn";
|
|
1361
462
|
const _rAS = "retryAfterSeconds";
|
|
1362
|
-
const
|
|
463
|
+
const _rDS = "resourceDriftStatuses";
|
|
464
|
+
const _rT = "remediationTypes";
|
|
465
|
+
const _s = "status";
|
|
466
|
+
const _sC = "serviceCode";
|
|
467
|
+
const _sM = "statusMessage";
|
|
468
|
+
const _sS = "statusSummary";
|
|
469
|
+
const _sT = "startTime";
|
|
470
|
+
const _se = "server";
|
|
471
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.controltower";
|
|
472
|
+
const _st = "statuses";
|
|
473
|
+
const _t = "tags";
|
|
474
|
+
const _tI = "targetIdentifier";
|
|
475
|
+
const _tIa = "targetIdentifiers";
|
|
1363
476
|
const _tK = "tagKeys";
|
|
477
|
+
const _tR = "targetRegions";
|
|
478
|
+
const _ty = "types";
|
|
479
|
+
const _v = "version";
|
|
480
|
+
const _va = "value";
|
|
481
|
+
const n0 = "com.amazonaws.controltower";
|
|
482
|
+
var AccessDeniedException = [
|
|
483
|
+
-3,
|
|
484
|
+
n0,
|
|
485
|
+
_ADE,
|
|
486
|
+
{
|
|
487
|
+
[_e]: _c,
|
|
488
|
+
[_hE]: 403,
|
|
489
|
+
},
|
|
490
|
+
[_m],
|
|
491
|
+
[0],
|
|
492
|
+
];
|
|
493
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
494
|
+
var BaselineOperation = [
|
|
495
|
+
3,
|
|
496
|
+
n0,
|
|
497
|
+
_BO,
|
|
498
|
+
0,
|
|
499
|
+
[_oI, _oT, _s, _sT, _eT, _sM],
|
|
500
|
+
[0, 0, 0, 5, 5, 0],
|
|
501
|
+
];
|
|
502
|
+
var BaselineSummary = [3, n0, _BS, 0, [_a, _n, _d], [0, 0, 0]];
|
|
503
|
+
var ConflictException = [
|
|
504
|
+
-3,
|
|
505
|
+
n0,
|
|
506
|
+
_CE,
|
|
507
|
+
{
|
|
508
|
+
[_e]: _c,
|
|
509
|
+
[_hE]: 409,
|
|
510
|
+
},
|
|
511
|
+
[_m],
|
|
512
|
+
[0],
|
|
513
|
+
];
|
|
514
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
515
|
+
var ControlOperation = [
|
|
516
|
+
3,
|
|
517
|
+
n0,
|
|
518
|
+
_CO,
|
|
519
|
+
0,
|
|
520
|
+
[_oT, _sT, _eT, _s, _sM, _oI, _cI, _tI, _eCI],
|
|
521
|
+
[0, 5, 5, 0, 0, 0, 0, 0, 0],
|
|
522
|
+
];
|
|
523
|
+
var ControlOperationFilter = [
|
|
524
|
+
3,
|
|
525
|
+
n0,
|
|
526
|
+
_COF,
|
|
527
|
+
0,
|
|
528
|
+
[_cIo, _tIa, _eCIn, _st, _cOT],
|
|
529
|
+
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0],
|
|
530
|
+
];
|
|
531
|
+
var ControlOperationSummary = [
|
|
532
|
+
3,
|
|
533
|
+
n0,
|
|
534
|
+
_COS,
|
|
535
|
+
0,
|
|
536
|
+
[_oT, _sT, _eT, _s, _sM, _oI, _cI, _tI, _eCI],
|
|
537
|
+
[0, 5, 5, 0, 0, 0, 0, 0, 0],
|
|
538
|
+
];
|
|
539
|
+
var CreateLandingZoneInput = [
|
|
540
|
+
3,
|
|
541
|
+
n0,
|
|
542
|
+
_CLZI,
|
|
543
|
+
0,
|
|
544
|
+
[_v, _ma, _rT, _t],
|
|
545
|
+
[0, 15, 64 | 0, 128 | 0],
|
|
546
|
+
];
|
|
547
|
+
var CreateLandingZoneOutput = [3, n0, _CLZO, 0, [_a, _oI], [0, 0]];
|
|
548
|
+
var DeleteLandingZoneInput = [3, n0, _DLZI, 0, [_lZI], [0]];
|
|
549
|
+
var DeleteLandingZoneOutput = [3, n0, _DLZO, 0, [_oI], [0]];
|
|
550
|
+
var DisableBaselineInput = [3, n0, _DBI, 0, [_eBI], [0]];
|
|
551
|
+
var DisableBaselineOutput = [3, n0, _DBO, 0, [_oI], [0]];
|
|
552
|
+
var DisableControlInput = [3, n0, _DCI, 0, [_cI, _tI, _eCI], [0, 0, 0]];
|
|
553
|
+
var DisableControlOutput = [3, n0, _DCO, 0, [_oI], [0]];
|
|
554
|
+
var DriftStatusSummary = [
|
|
555
|
+
3,
|
|
556
|
+
n0,
|
|
557
|
+
_DSS,
|
|
558
|
+
0,
|
|
559
|
+
[_dS, _ty],
|
|
560
|
+
[0, () => EnabledControlDriftTypes],
|
|
561
|
+
];
|
|
562
|
+
var EnableBaselineInput = [
|
|
563
|
+
3,
|
|
564
|
+
n0,
|
|
565
|
+
_EBI,
|
|
566
|
+
0,
|
|
567
|
+
[_bV, _p, _bI, _tI, _t],
|
|
568
|
+
[0, () => EnabledBaselineParameters, 0, 0, 128 | 0],
|
|
569
|
+
];
|
|
570
|
+
var EnableBaselineOutput = [3, n0, _EBO, 0, [_oI, _a], [0, 0]];
|
|
571
|
+
var EnableControlInput = [
|
|
572
|
+
3,
|
|
573
|
+
n0,
|
|
574
|
+
_ECI,
|
|
575
|
+
0,
|
|
576
|
+
[_cI, _tI, _t, _p],
|
|
577
|
+
[0, 0, 128 | 0, () => EnabledControlParameters],
|
|
578
|
+
];
|
|
579
|
+
var EnableControlOutput = [3, n0, _ECO, 0, [_oI, _a], [0, 0]];
|
|
580
|
+
var EnabledBaselineDetails = [
|
|
581
|
+
3,
|
|
582
|
+
n0,
|
|
583
|
+
_EBD,
|
|
584
|
+
0,
|
|
585
|
+
[_a, _bI, _bV, _dSS, _tI, _pI, _sS, _p],
|
|
586
|
+
[
|
|
587
|
+
0,
|
|
588
|
+
0,
|
|
589
|
+
0,
|
|
590
|
+
() => EnabledBaselineDriftStatusSummary,
|
|
591
|
+
0,
|
|
592
|
+
0,
|
|
593
|
+
() => EnablementStatusSummary,
|
|
594
|
+
() => EnabledBaselineParameterSummaries,
|
|
595
|
+
],
|
|
596
|
+
];
|
|
597
|
+
var EnabledBaselineDriftStatusSummary = [
|
|
598
|
+
3,
|
|
599
|
+
n0,
|
|
600
|
+
_EBDSS,
|
|
601
|
+
0,
|
|
602
|
+
[_ty],
|
|
603
|
+
[() => EnabledBaselineDriftTypes],
|
|
604
|
+
];
|
|
605
|
+
var EnabledBaselineDriftTypes = [
|
|
606
|
+
3,
|
|
607
|
+
n0,
|
|
608
|
+
_EBDT,
|
|
609
|
+
0,
|
|
610
|
+
[_i],
|
|
611
|
+
[() => EnabledBaselineInheritanceDrift],
|
|
612
|
+
];
|
|
613
|
+
var EnabledBaselineFilter = [
|
|
614
|
+
3,
|
|
615
|
+
n0,
|
|
616
|
+
_EBF,
|
|
617
|
+
0,
|
|
618
|
+
[_tIa, _bIa, _pIa, _st, _iDS],
|
|
619
|
+
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0],
|
|
620
|
+
];
|
|
621
|
+
var EnabledBaselineInheritanceDrift = [3, n0, _EBID, 0, [_s], [0]];
|
|
622
|
+
var EnabledBaselineParameter = [3, n0, _EBP, 0, [_k, _va], [0, 15]];
|
|
623
|
+
var EnabledBaselineParameterSummary = [3, n0, _EBPS, 0, [_k, _va], [0, 15]];
|
|
624
|
+
var EnabledBaselineSummary = [
|
|
625
|
+
3,
|
|
626
|
+
n0,
|
|
627
|
+
_EBS,
|
|
628
|
+
0,
|
|
629
|
+
[_a, _bI, _bV, _dSS, _tI, _pI, _sS],
|
|
630
|
+
[0, 0, 0, () => EnabledBaselineDriftStatusSummary, 0, 0, () => EnablementStatusSummary],
|
|
631
|
+
];
|
|
632
|
+
var EnabledControlDetails = [
|
|
633
|
+
3,
|
|
634
|
+
n0,
|
|
635
|
+
_ECD,
|
|
636
|
+
0,
|
|
637
|
+
[_a, _cI, _tI, _sS, _dSS, _pI, _tR, _p],
|
|
638
|
+
[
|
|
639
|
+
0,
|
|
640
|
+
0,
|
|
641
|
+
0,
|
|
642
|
+
() => EnablementStatusSummary,
|
|
643
|
+
() => DriftStatusSummary,
|
|
644
|
+
0,
|
|
645
|
+
() => TargetRegions,
|
|
646
|
+
() => EnabledControlParameterSummaries,
|
|
647
|
+
],
|
|
648
|
+
];
|
|
649
|
+
var EnabledControlDriftTypes = [
|
|
650
|
+
3,
|
|
651
|
+
n0,
|
|
652
|
+
_ECDT,
|
|
653
|
+
0,
|
|
654
|
+
[_i, _r],
|
|
655
|
+
[() => EnabledControlInheritanceDrift, () => EnabledControlResourceDrift],
|
|
656
|
+
];
|
|
657
|
+
var EnabledControlFilter = [
|
|
658
|
+
3,
|
|
659
|
+
n0,
|
|
660
|
+
_ECF,
|
|
661
|
+
0,
|
|
662
|
+
[_cIo, _st, _dSr, _pIa, _iDS, _rDS],
|
|
663
|
+
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0],
|
|
664
|
+
];
|
|
665
|
+
var EnabledControlInheritanceDrift = [3, n0, _ECID, 0, [_s], [0]];
|
|
666
|
+
var EnabledControlParameter = [3, n0, _ECP, 0, [_k, _va], [0, 15]];
|
|
667
|
+
var EnabledControlParameterSummary = [3, n0, _ECPS, 0, [_k, _va], [0, 15]];
|
|
668
|
+
var EnabledControlResourceDrift = [3, n0, _ECRD, 0, [_s], [0]];
|
|
669
|
+
var EnabledControlSummary = [
|
|
670
|
+
3,
|
|
671
|
+
n0,
|
|
672
|
+
_ECS,
|
|
673
|
+
0,
|
|
674
|
+
[_a, _cI, _tI, _sS, _dSS, _pI],
|
|
675
|
+
[0, 0, 0, () => EnablementStatusSummary, () => DriftStatusSummary, 0],
|
|
676
|
+
];
|
|
677
|
+
var EnablementStatusSummary = [3, n0, _ESS, 0, [_s, _lOI], [0, 0]];
|
|
678
|
+
var GetBaselineInput = [3, n0, _GBI, 0, [_bI], [0]];
|
|
679
|
+
var GetBaselineOperationInput = [3, n0, _GBOI, 0, [_oI], [0]];
|
|
680
|
+
var GetBaselineOperationOutput = [3, n0, _GBOO, 0, [_bO], [() => BaselineOperation]];
|
|
681
|
+
var GetBaselineOutput = [3, n0, _GBO, 0, [_a, _n, _d], [0, 0, 0]];
|
|
682
|
+
var GetControlOperationInput = [3, n0, _GCOI, 0, [_oI], [0]];
|
|
683
|
+
var GetControlOperationOutput = [3, n0, _GCOO, 0, [_cO], [() => ControlOperation]];
|
|
684
|
+
var GetEnabledBaselineInput = [3, n0, _GEBI, 0, [_eBI], [0]];
|
|
685
|
+
var GetEnabledBaselineOutput = [3, n0, _GEBO, 0, [_eBD], [() => EnabledBaselineDetails]];
|
|
686
|
+
var GetEnabledControlInput = [3, n0, _GECI, 0, [_eCI], [0]];
|
|
687
|
+
var GetEnabledControlOutput = [3, n0, _GECO, 0, [_eCD], [() => EnabledControlDetails]];
|
|
688
|
+
var GetLandingZoneInput = [3, n0, _GLZI, 0, [_lZI], [0]];
|
|
689
|
+
var GetLandingZoneOperationInput = [3, n0, _GLZOI, 0, [_oI], [0]];
|
|
690
|
+
var GetLandingZoneOperationOutput = [
|
|
691
|
+
3,
|
|
692
|
+
n0,
|
|
693
|
+
_GLZOO,
|
|
694
|
+
0,
|
|
695
|
+
[_oD],
|
|
696
|
+
[() => LandingZoneOperationDetail],
|
|
697
|
+
];
|
|
698
|
+
var GetLandingZoneOutput = [3, n0, _GLZO, 0, [_lZ], [() => LandingZoneDetail]];
|
|
699
|
+
var InternalServerException = [
|
|
700
|
+
-3,
|
|
701
|
+
n0,
|
|
702
|
+
_ISE,
|
|
703
|
+
{
|
|
704
|
+
[_e]: _se,
|
|
705
|
+
[_hE]: 500,
|
|
706
|
+
},
|
|
707
|
+
[_m],
|
|
708
|
+
[0],
|
|
709
|
+
];
|
|
710
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
711
|
+
var LandingZoneDetail = [
|
|
712
|
+
3,
|
|
713
|
+
n0,
|
|
714
|
+
_LZD,
|
|
715
|
+
0,
|
|
716
|
+
[_v, _ma, _rT, _a, _s, _lAV, _dS],
|
|
717
|
+
[0, 15, 64 | 0, 0, 0, 0, () => LandingZoneDriftStatusSummary],
|
|
718
|
+
];
|
|
719
|
+
var LandingZoneDriftStatusSummary = [3, n0, _LZDSS, 0, [_s], [0]];
|
|
720
|
+
var LandingZoneOperationDetail = [
|
|
721
|
+
3,
|
|
722
|
+
n0,
|
|
723
|
+
_LZOD,
|
|
724
|
+
0,
|
|
725
|
+
[_oT, _oI, _s, _sT, _eT, _sM],
|
|
726
|
+
[0, 0, 0, 5, 5, 0],
|
|
727
|
+
];
|
|
728
|
+
var LandingZoneOperationFilter = [3, n0, _LZOF, 0, [_ty, _st], [64 | 0, 64 | 0]];
|
|
729
|
+
var LandingZoneOperationSummary = [3, n0, _LZOS, 0, [_oT, _oI, _s], [0, 0, 0]];
|
|
730
|
+
var LandingZoneSummary = [3, n0, _LZS, 0, [_a], [0]];
|
|
731
|
+
var ListBaselinesInput = [3, n0, _LBI, 0, [_nT, _mR], [0, 1]];
|
|
732
|
+
var ListBaselinesOutput = [3, n0, _LBO, 0, [_b, _nT], [() => Baselines, 0]];
|
|
733
|
+
var ListControlOperationsInput = [
|
|
734
|
+
3,
|
|
735
|
+
n0,
|
|
736
|
+
_LCOI,
|
|
737
|
+
0,
|
|
738
|
+
[_f, _nT, _mR],
|
|
739
|
+
[() => ControlOperationFilter, 0, 1],
|
|
740
|
+
];
|
|
741
|
+
var ListControlOperationsOutput = [
|
|
742
|
+
3,
|
|
743
|
+
n0,
|
|
744
|
+
_LCOO,
|
|
745
|
+
0,
|
|
746
|
+
[_cOo, _nT],
|
|
747
|
+
[() => ControlOperations, 0],
|
|
748
|
+
];
|
|
749
|
+
var ListEnabledBaselinesInput = [
|
|
750
|
+
3,
|
|
751
|
+
n0,
|
|
752
|
+
_LEBI,
|
|
753
|
+
0,
|
|
754
|
+
[_f, _nT, _mR, _iC],
|
|
755
|
+
[() => EnabledBaselineFilter, 0, 1, 2],
|
|
756
|
+
];
|
|
757
|
+
var ListEnabledBaselinesOutput = [
|
|
758
|
+
3,
|
|
759
|
+
n0,
|
|
760
|
+
_LEBO,
|
|
761
|
+
0,
|
|
762
|
+
[_eB, _nT],
|
|
763
|
+
[() => EnabledBaselines, 0],
|
|
764
|
+
];
|
|
765
|
+
var ListEnabledControlsInput = [
|
|
766
|
+
3,
|
|
767
|
+
n0,
|
|
768
|
+
_LECI,
|
|
769
|
+
0,
|
|
770
|
+
[_tI, _nT, _mR, _f, _iC],
|
|
771
|
+
[0, 0, 1, () => EnabledControlFilter, 2],
|
|
772
|
+
];
|
|
773
|
+
var ListEnabledControlsOutput = [3, n0, _LECO, 0, [_eC, _nT], [() => EnabledControls, 0]];
|
|
774
|
+
var ListLandingZoneOperationsInput = [
|
|
775
|
+
3,
|
|
776
|
+
n0,
|
|
777
|
+
_LLZOI,
|
|
778
|
+
0,
|
|
779
|
+
[_f, _nT, _mR],
|
|
780
|
+
[() => LandingZoneOperationFilter, 0, 1],
|
|
781
|
+
];
|
|
782
|
+
var ListLandingZoneOperationsOutput = [
|
|
783
|
+
3,
|
|
784
|
+
n0,
|
|
785
|
+
_LLZOO,
|
|
786
|
+
0,
|
|
787
|
+
[_lZO, _nT],
|
|
788
|
+
[() => LandingZoneOperations, 0],
|
|
789
|
+
];
|
|
790
|
+
var ListLandingZonesInput = [3, n0, _LLZI, 0, [_nT, _mR], [0, 1]];
|
|
791
|
+
var ListLandingZonesOutput = [
|
|
792
|
+
3,
|
|
793
|
+
n0,
|
|
794
|
+
_LLZO,
|
|
795
|
+
0,
|
|
796
|
+
[_lZa, _nT],
|
|
797
|
+
[() => LandingZoneSummaries, 0],
|
|
798
|
+
];
|
|
799
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
|
|
800
|
+
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
801
|
+
var Region = [3, n0, _R, 0, [_n], [0]];
|
|
802
|
+
var ResetEnabledBaselineInput = [3, n0, _REBI, 0, [_eBI], [0]];
|
|
803
|
+
var ResetEnabledBaselineOutput = [3, n0, _REBO, 0, [_oI], [0]];
|
|
804
|
+
var ResetEnabledControlInput = [3, n0, _RECI, 0, [_eCI], [0]];
|
|
805
|
+
var ResetEnabledControlOutput = [3, n0, _RECO, 0, [_oI], [0]];
|
|
806
|
+
var ResetLandingZoneInput = [3, n0, _RLZI, 0, [_lZI], [0]];
|
|
807
|
+
var ResetLandingZoneOutput = [3, n0, _RLZO, 0, [_oI], [0]];
|
|
808
|
+
var ResourceNotFoundException = [
|
|
809
|
+
-3,
|
|
810
|
+
n0,
|
|
811
|
+
_RNFE,
|
|
812
|
+
{
|
|
813
|
+
[_e]: _c,
|
|
814
|
+
[_hE]: 404,
|
|
815
|
+
},
|
|
816
|
+
[_m],
|
|
817
|
+
[0],
|
|
818
|
+
];
|
|
819
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
820
|
+
var ServiceQuotaExceededException = [
|
|
821
|
+
-3,
|
|
822
|
+
n0,
|
|
823
|
+
_SQEE,
|
|
824
|
+
{
|
|
825
|
+
[_e]: _c,
|
|
826
|
+
[_hE]: 402,
|
|
827
|
+
},
|
|
828
|
+
[_m],
|
|
829
|
+
[0],
|
|
830
|
+
];
|
|
831
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
832
|
+
var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
833
|
+
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
834
|
+
var ThrottlingException = [
|
|
835
|
+
-3,
|
|
836
|
+
n0,
|
|
837
|
+
_TE,
|
|
838
|
+
{
|
|
839
|
+
[_e]: _c,
|
|
840
|
+
[_hE]: 429,
|
|
841
|
+
},
|
|
842
|
+
[_m, _sC, _qC, _rAS],
|
|
843
|
+
[
|
|
844
|
+
0,
|
|
845
|
+
0,
|
|
846
|
+
0,
|
|
847
|
+
[
|
|
848
|
+
1,
|
|
849
|
+
{
|
|
850
|
+
[_hH]: _RA,
|
|
851
|
+
},
|
|
852
|
+
],
|
|
853
|
+
],
|
|
854
|
+
];
|
|
855
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
856
|
+
var UntagResourceInput = [
|
|
857
|
+
3,
|
|
858
|
+
n0,
|
|
859
|
+
_URI,
|
|
860
|
+
0,
|
|
861
|
+
[_rA, _tK],
|
|
862
|
+
[
|
|
863
|
+
[0, 1],
|
|
864
|
+
[
|
|
865
|
+
64 | 0,
|
|
866
|
+
{
|
|
867
|
+
[_hQ]: _tK,
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
],
|
|
871
|
+
];
|
|
872
|
+
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
873
|
+
var UpdateEnabledBaselineInput = [
|
|
874
|
+
3,
|
|
875
|
+
n0,
|
|
876
|
+
_UEBI,
|
|
877
|
+
0,
|
|
878
|
+
[_bV, _p, _eBI],
|
|
879
|
+
[0, () => EnabledBaselineParameters, 0],
|
|
880
|
+
];
|
|
881
|
+
var UpdateEnabledBaselineOutput = [3, n0, _UEBO, 0, [_oI], [0]];
|
|
882
|
+
var UpdateEnabledControlInput = [
|
|
883
|
+
3,
|
|
884
|
+
n0,
|
|
885
|
+
_UECI,
|
|
886
|
+
0,
|
|
887
|
+
[_p, _eCI],
|
|
888
|
+
[() => EnabledControlParameters, 0],
|
|
889
|
+
];
|
|
890
|
+
var UpdateEnabledControlOutput = [3, n0, _UECO, 0, [_oI], [0]];
|
|
891
|
+
var UpdateLandingZoneInput = [3, n0, _ULZI, 0, [_v, _ma, _rT, _lZI], [0, 15, 64 | 0, 0]];
|
|
892
|
+
var UpdateLandingZoneOutput = [3, n0, _ULZO, 0, [_oI], [0]];
|
|
893
|
+
var ValidationException = [
|
|
894
|
+
-3,
|
|
895
|
+
n0,
|
|
896
|
+
_VE,
|
|
897
|
+
{
|
|
898
|
+
[_e]: _c,
|
|
899
|
+
[_hE]: 400,
|
|
900
|
+
},
|
|
901
|
+
[_m],
|
|
902
|
+
[0],
|
|
903
|
+
];
|
|
904
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
905
|
+
var ControlTowerServiceException = [-3, _sm, "ControlTowerServiceException", 0, [], []];
|
|
906
|
+
schema.TypeRegistry.for(_sm).registerError(ControlTowerServiceException, ControlTowerServiceException$1);
|
|
907
|
+
var Baselines = [1, n0, _B, 0, () => BaselineSummary];
|
|
908
|
+
var ControlOperations = [1, n0, _COo, 0, () => ControlOperationSummary];
|
|
909
|
+
var EnabledBaselineParameters = [1, n0, _EBPn, 0, () => EnabledBaselineParameter];
|
|
910
|
+
var EnabledBaselineParameterSummaries = [
|
|
911
|
+
1,
|
|
912
|
+
n0,
|
|
913
|
+
_EBPSn,
|
|
914
|
+
0,
|
|
915
|
+
() => EnabledBaselineParameterSummary,
|
|
916
|
+
];
|
|
917
|
+
var EnabledBaselines = [1, n0, _EB, 0, () => EnabledBaselineSummary];
|
|
918
|
+
var EnabledControlParameters = [1, n0, _ECPn, 0, () => EnabledControlParameter];
|
|
919
|
+
var EnabledControlParameterSummaries = [
|
|
920
|
+
1,
|
|
921
|
+
n0,
|
|
922
|
+
_ECPSn,
|
|
923
|
+
0,
|
|
924
|
+
() => EnabledControlParameterSummary,
|
|
925
|
+
];
|
|
926
|
+
var EnabledControls = [1, n0, _EC, 0, () => EnabledControlSummary];
|
|
927
|
+
var LandingZoneOperations = [1, n0, _LZO, 0, () => LandingZoneOperationSummary];
|
|
928
|
+
var LandingZoneSummaries = [1, n0, _LZSa, 0, () => LandingZoneSummary];
|
|
929
|
+
var TargetRegions = [1, n0, _TR, 0, () => Region];
|
|
930
|
+
var CreateLandingZone = [
|
|
931
|
+
9,
|
|
932
|
+
n0,
|
|
933
|
+
_CLZ,
|
|
934
|
+
{
|
|
935
|
+
[_h]: ["POST", "/create-landingzone", 200],
|
|
936
|
+
},
|
|
937
|
+
() => CreateLandingZoneInput,
|
|
938
|
+
() => CreateLandingZoneOutput,
|
|
939
|
+
];
|
|
940
|
+
var DeleteLandingZone = [
|
|
941
|
+
9,
|
|
942
|
+
n0,
|
|
943
|
+
_DLZ,
|
|
944
|
+
{
|
|
945
|
+
[_h]: ["POST", "/delete-landingzone", 200],
|
|
946
|
+
},
|
|
947
|
+
() => DeleteLandingZoneInput,
|
|
948
|
+
() => DeleteLandingZoneOutput,
|
|
949
|
+
];
|
|
950
|
+
var DisableBaseline = [
|
|
951
|
+
9,
|
|
952
|
+
n0,
|
|
953
|
+
_DB,
|
|
954
|
+
{
|
|
955
|
+
[_h]: ["POST", "/disable-baseline", 200],
|
|
956
|
+
},
|
|
957
|
+
() => DisableBaselineInput,
|
|
958
|
+
() => DisableBaselineOutput,
|
|
959
|
+
];
|
|
960
|
+
var DisableControl = [
|
|
961
|
+
9,
|
|
962
|
+
n0,
|
|
963
|
+
_DC,
|
|
964
|
+
{
|
|
965
|
+
[_h]: ["POST", "/disable-control", 200],
|
|
966
|
+
},
|
|
967
|
+
() => DisableControlInput,
|
|
968
|
+
() => DisableControlOutput,
|
|
969
|
+
];
|
|
970
|
+
var EnableBaseline = [
|
|
971
|
+
9,
|
|
972
|
+
n0,
|
|
973
|
+
_EBn,
|
|
974
|
+
{
|
|
975
|
+
[_h]: ["POST", "/enable-baseline", 200],
|
|
976
|
+
},
|
|
977
|
+
() => EnableBaselineInput,
|
|
978
|
+
() => EnableBaselineOutput,
|
|
979
|
+
];
|
|
980
|
+
var EnableControl = [
|
|
981
|
+
9,
|
|
982
|
+
n0,
|
|
983
|
+
_ECn,
|
|
984
|
+
{
|
|
985
|
+
[_h]: ["POST", "/enable-control", 200],
|
|
986
|
+
},
|
|
987
|
+
() => EnableControlInput,
|
|
988
|
+
() => EnableControlOutput,
|
|
989
|
+
];
|
|
990
|
+
var GetBaseline = [
|
|
991
|
+
9,
|
|
992
|
+
n0,
|
|
993
|
+
_GB,
|
|
994
|
+
{
|
|
995
|
+
[_h]: ["POST", "/get-baseline", 200],
|
|
996
|
+
},
|
|
997
|
+
() => GetBaselineInput,
|
|
998
|
+
() => GetBaselineOutput,
|
|
999
|
+
];
|
|
1000
|
+
var GetBaselineOperation = [
|
|
1001
|
+
9,
|
|
1002
|
+
n0,
|
|
1003
|
+
_GBOe,
|
|
1004
|
+
{
|
|
1005
|
+
[_h]: ["POST", "/get-baseline-operation", 200],
|
|
1006
|
+
},
|
|
1007
|
+
() => GetBaselineOperationInput,
|
|
1008
|
+
() => GetBaselineOperationOutput,
|
|
1009
|
+
];
|
|
1010
|
+
var GetControlOperation = [
|
|
1011
|
+
9,
|
|
1012
|
+
n0,
|
|
1013
|
+
_GCO,
|
|
1014
|
+
{
|
|
1015
|
+
[_h]: ["POST", "/get-control-operation", 200],
|
|
1016
|
+
},
|
|
1017
|
+
() => GetControlOperationInput,
|
|
1018
|
+
() => GetControlOperationOutput,
|
|
1019
|
+
];
|
|
1020
|
+
var GetEnabledBaseline = [
|
|
1021
|
+
9,
|
|
1022
|
+
n0,
|
|
1023
|
+
_GEB,
|
|
1024
|
+
{
|
|
1025
|
+
[_h]: ["POST", "/get-enabled-baseline", 200],
|
|
1026
|
+
},
|
|
1027
|
+
() => GetEnabledBaselineInput,
|
|
1028
|
+
() => GetEnabledBaselineOutput,
|
|
1029
|
+
];
|
|
1030
|
+
var GetEnabledControl = [
|
|
1031
|
+
9,
|
|
1032
|
+
n0,
|
|
1033
|
+
_GEC,
|
|
1034
|
+
{
|
|
1035
|
+
[_h]: ["POST", "/get-enabled-control", 200],
|
|
1036
|
+
},
|
|
1037
|
+
() => GetEnabledControlInput,
|
|
1038
|
+
() => GetEnabledControlOutput,
|
|
1039
|
+
];
|
|
1040
|
+
var GetLandingZone = [
|
|
1041
|
+
9,
|
|
1042
|
+
n0,
|
|
1043
|
+
_GLZ,
|
|
1044
|
+
{
|
|
1045
|
+
[_h]: ["POST", "/get-landingzone", 200],
|
|
1046
|
+
},
|
|
1047
|
+
() => GetLandingZoneInput,
|
|
1048
|
+
() => GetLandingZoneOutput,
|
|
1049
|
+
];
|
|
1050
|
+
var GetLandingZoneOperation = [
|
|
1051
|
+
9,
|
|
1052
|
+
n0,
|
|
1053
|
+
_GLZOe,
|
|
1054
|
+
{
|
|
1055
|
+
[_h]: ["POST", "/get-landingzone-operation", 200],
|
|
1056
|
+
},
|
|
1057
|
+
() => GetLandingZoneOperationInput,
|
|
1058
|
+
() => GetLandingZoneOperationOutput,
|
|
1059
|
+
];
|
|
1060
|
+
var ListBaselines = [
|
|
1061
|
+
9,
|
|
1062
|
+
n0,
|
|
1063
|
+
_LB,
|
|
1064
|
+
{
|
|
1065
|
+
[_h]: ["POST", "/list-baselines", 200],
|
|
1066
|
+
},
|
|
1067
|
+
() => ListBaselinesInput,
|
|
1068
|
+
() => ListBaselinesOutput,
|
|
1069
|
+
];
|
|
1070
|
+
var ListControlOperations = [
|
|
1071
|
+
9,
|
|
1072
|
+
n0,
|
|
1073
|
+
_LCO,
|
|
1074
|
+
{
|
|
1075
|
+
[_h]: ["POST", "/list-control-operations", 200],
|
|
1076
|
+
},
|
|
1077
|
+
() => ListControlOperationsInput,
|
|
1078
|
+
() => ListControlOperationsOutput,
|
|
1079
|
+
];
|
|
1080
|
+
var ListEnabledBaselines = [
|
|
1081
|
+
9,
|
|
1082
|
+
n0,
|
|
1083
|
+
_LEB,
|
|
1084
|
+
{
|
|
1085
|
+
[_h]: ["POST", "/list-enabled-baselines", 200],
|
|
1086
|
+
},
|
|
1087
|
+
() => ListEnabledBaselinesInput,
|
|
1088
|
+
() => ListEnabledBaselinesOutput,
|
|
1089
|
+
];
|
|
1090
|
+
var ListEnabledControls = [
|
|
1091
|
+
9,
|
|
1092
|
+
n0,
|
|
1093
|
+
_LEC,
|
|
1094
|
+
{
|
|
1095
|
+
[_h]: ["POST", "/list-enabled-controls", 200],
|
|
1096
|
+
},
|
|
1097
|
+
() => ListEnabledControlsInput,
|
|
1098
|
+
() => ListEnabledControlsOutput,
|
|
1099
|
+
];
|
|
1100
|
+
var ListLandingZoneOperations = [
|
|
1101
|
+
9,
|
|
1102
|
+
n0,
|
|
1103
|
+
_LLZOi,
|
|
1104
|
+
{
|
|
1105
|
+
[_h]: ["POST", "/list-landingzone-operations", 200],
|
|
1106
|
+
},
|
|
1107
|
+
() => ListLandingZoneOperationsInput,
|
|
1108
|
+
() => ListLandingZoneOperationsOutput,
|
|
1109
|
+
];
|
|
1110
|
+
var ListLandingZones = [
|
|
1111
|
+
9,
|
|
1112
|
+
n0,
|
|
1113
|
+
_LLZ,
|
|
1114
|
+
{
|
|
1115
|
+
[_h]: ["POST", "/list-landingzones", 200],
|
|
1116
|
+
},
|
|
1117
|
+
() => ListLandingZonesInput,
|
|
1118
|
+
() => ListLandingZonesOutput,
|
|
1119
|
+
];
|
|
1120
|
+
var ListTagsForResource = [
|
|
1121
|
+
9,
|
|
1122
|
+
n0,
|
|
1123
|
+
_LTFR,
|
|
1124
|
+
{
|
|
1125
|
+
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
1126
|
+
},
|
|
1127
|
+
() => ListTagsForResourceInput,
|
|
1128
|
+
() => ListTagsForResourceOutput,
|
|
1129
|
+
];
|
|
1130
|
+
var ResetEnabledBaseline = [
|
|
1131
|
+
9,
|
|
1132
|
+
n0,
|
|
1133
|
+
_REB,
|
|
1134
|
+
{
|
|
1135
|
+
[_h]: ["POST", "/reset-enabled-baseline", 200],
|
|
1136
|
+
},
|
|
1137
|
+
() => ResetEnabledBaselineInput,
|
|
1138
|
+
() => ResetEnabledBaselineOutput,
|
|
1139
|
+
];
|
|
1140
|
+
var ResetEnabledControl = [
|
|
1141
|
+
9,
|
|
1142
|
+
n0,
|
|
1143
|
+
_REC,
|
|
1144
|
+
{
|
|
1145
|
+
[_h]: ["POST", "/reset-enabled-control", 200],
|
|
1146
|
+
},
|
|
1147
|
+
() => ResetEnabledControlInput,
|
|
1148
|
+
() => ResetEnabledControlOutput,
|
|
1149
|
+
];
|
|
1150
|
+
var ResetLandingZone = [
|
|
1151
|
+
9,
|
|
1152
|
+
n0,
|
|
1153
|
+
_RLZ,
|
|
1154
|
+
{
|
|
1155
|
+
[_h]: ["POST", "/reset-landingzone", 200],
|
|
1156
|
+
},
|
|
1157
|
+
() => ResetLandingZoneInput,
|
|
1158
|
+
() => ResetLandingZoneOutput,
|
|
1159
|
+
];
|
|
1160
|
+
var TagResource = [
|
|
1161
|
+
9,
|
|
1162
|
+
n0,
|
|
1163
|
+
_TRa,
|
|
1164
|
+
{
|
|
1165
|
+
[_h]: ["POST", "/tags/{resourceArn}", 204],
|
|
1166
|
+
},
|
|
1167
|
+
() => TagResourceInput,
|
|
1168
|
+
() => TagResourceOutput,
|
|
1169
|
+
];
|
|
1170
|
+
var UntagResource = [
|
|
1171
|
+
9,
|
|
1172
|
+
n0,
|
|
1173
|
+
_UR,
|
|
1174
|
+
{
|
|
1175
|
+
[_h]: ["DELETE", "/tags/{resourceArn}", 204],
|
|
1176
|
+
},
|
|
1177
|
+
() => UntagResourceInput,
|
|
1178
|
+
() => UntagResourceOutput,
|
|
1179
|
+
];
|
|
1180
|
+
var UpdateEnabledBaseline = [
|
|
1181
|
+
9,
|
|
1182
|
+
n0,
|
|
1183
|
+
_UEB,
|
|
1184
|
+
{
|
|
1185
|
+
[_h]: ["POST", "/update-enabled-baseline", 200],
|
|
1186
|
+
},
|
|
1187
|
+
() => UpdateEnabledBaselineInput,
|
|
1188
|
+
() => UpdateEnabledBaselineOutput,
|
|
1189
|
+
];
|
|
1190
|
+
var UpdateEnabledControl = [
|
|
1191
|
+
9,
|
|
1192
|
+
n0,
|
|
1193
|
+
_UEC,
|
|
1194
|
+
{
|
|
1195
|
+
[_h]: ["POST", "/update-enabled-control", 200],
|
|
1196
|
+
},
|
|
1197
|
+
() => UpdateEnabledControlInput,
|
|
1198
|
+
() => UpdateEnabledControlOutput,
|
|
1199
|
+
];
|
|
1200
|
+
var UpdateLandingZone = [
|
|
1201
|
+
9,
|
|
1202
|
+
n0,
|
|
1203
|
+
_ULZ,
|
|
1204
|
+
{
|
|
1205
|
+
[_h]: ["POST", "/update-landingzone", 200],
|
|
1206
|
+
},
|
|
1207
|
+
() => UpdateLandingZoneInput,
|
|
1208
|
+
() => UpdateLandingZoneOutput,
|
|
1209
|
+
];
|
|
1364
1210
|
|
|
1365
1211
|
class CreateLandingZoneCommand extends smithyClient.Command
|
|
1366
1212
|
.classBuilder()
|
|
1367
1213
|
.ep(commonParams)
|
|
1368
1214
|
.m(function (Command, cs, config, o) {
|
|
1369
|
-
return [
|
|
1370
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1371
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1372
|
-
];
|
|
1215
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1373
1216
|
})
|
|
1374
1217
|
.s("AWSControlTowerApis", "CreateLandingZone", {})
|
|
1375
1218
|
.n("ControlTowerClient", "CreateLandingZoneCommand")
|
|
1376
|
-
.
|
|
1377
|
-
.ser(se_CreateLandingZoneCommand)
|
|
1378
|
-
.de(de_CreateLandingZoneCommand)
|
|
1219
|
+
.sc(CreateLandingZone)
|
|
1379
1220
|
.build() {
|
|
1380
1221
|
}
|
|
1381
1222
|
|
|
@@ -1383,16 +1224,11 @@ class DeleteLandingZoneCommand extends smithyClient.Command
|
|
|
1383
1224
|
.classBuilder()
|
|
1384
1225
|
.ep(commonParams)
|
|
1385
1226
|
.m(function (Command, cs, config, o) {
|
|
1386
|
-
return [
|
|
1387
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1388
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1389
|
-
];
|
|
1227
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1390
1228
|
})
|
|
1391
1229
|
.s("AWSControlTowerApis", "DeleteLandingZone", {})
|
|
1392
1230
|
.n("ControlTowerClient", "DeleteLandingZoneCommand")
|
|
1393
|
-
.
|
|
1394
|
-
.ser(se_DeleteLandingZoneCommand)
|
|
1395
|
-
.de(de_DeleteLandingZoneCommand)
|
|
1231
|
+
.sc(DeleteLandingZone)
|
|
1396
1232
|
.build() {
|
|
1397
1233
|
}
|
|
1398
1234
|
|
|
@@ -1400,16 +1236,11 @@ class DisableBaselineCommand extends smithyClient.Command
|
|
|
1400
1236
|
.classBuilder()
|
|
1401
1237
|
.ep(commonParams)
|
|
1402
1238
|
.m(function (Command, cs, config, o) {
|
|
1403
|
-
return [
|
|
1404
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1405
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1406
|
-
];
|
|
1239
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1407
1240
|
})
|
|
1408
1241
|
.s("AWSControlTowerApis", "DisableBaseline", {})
|
|
1409
1242
|
.n("ControlTowerClient", "DisableBaselineCommand")
|
|
1410
|
-
.
|
|
1411
|
-
.ser(se_DisableBaselineCommand)
|
|
1412
|
-
.de(de_DisableBaselineCommand)
|
|
1243
|
+
.sc(DisableBaseline)
|
|
1413
1244
|
.build() {
|
|
1414
1245
|
}
|
|
1415
1246
|
|
|
@@ -1417,16 +1248,11 @@ class DisableControlCommand extends smithyClient.Command
|
|
|
1417
1248
|
.classBuilder()
|
|
1418
1249
|
.ep(commonParams)
|
|
1419
1250
|
.m(function (Command, cs, config, o) {
|
|
1420
|
-
return [
|
|
1421
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1422
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1423
|
-
];
|
|
1251
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1424
1252
|
})
|
|
1425
1253
|
.s("AWSControlTowerApis", "DisableControl", {})
|
|
1426
1254
|
.n("ControlTowerClient", "DisableControlCommand")
|
|
1427
|
-
.
|
|
1428
|
-
.ser(se_DisableControlCommand)
|
|
1429
|
-
.de(de_DisableControlCommand)
|
|
1255
|
+
.sc(DisableControl)
|
|
1430
1256
|
.build() {
|
|
1431
1257
|
}
|
|
1432
1258
|
|
|
@@ -1434,16 +1260,11 @@ class EnableBaselineCommand extends smithyClient.Command
|
|
|
1434
1260
|
.classBuilder()
|
|
1435
1261
|
.ep(commonParams)
|
|
1436
1262
|
.m(function (Command, cs, config, o) {
|
|
1437
|
-
return [
|
|
1438
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1439
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1440
|
-
];
|
|
1263
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1441
1264
|
})
|
|
1442
1265
|
.s("AWSControlTowerApis", "EnableBaseline", {})
|
|
1443
1266
|
.n("ControlTowerClient", "EnableBaselineCommand")
|
|
1444
|
-
.
|
|
1445
|
-
.ser(se_EnableBaselineCommand)
|
|
1446
|
-
.de(de_EnableBaselineCommand)
|
|
1267
|
+
.sc(EnableBaseline)
|
|
1447
1268
|
.build() {
|
|
1448
1269
|
}
|
|
1449
1270
|
|
|
@@ -1451,16 +1272,11 @@ class EnableControlCommand extends smithyClient.Command
|
|
|
1451
1272
|
.classBuilder()
|
|
1452
1273
|
.ep(commonParams)
|
|
1453
1274
|
.m(function (Command, cs, config, o) {
|
|
1454
|
-
return [
|
|
1455
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1456
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1457
|
-
];
|
|
1275
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1458
1276
|
})
|
|
1459
1277
|
.s("AWSControlTowerApis", "EnableControl", {})
|
|
1460
1278
|
.n("ControlTowerClient", "EnableControlCommand")
|
|
1461
|
-
.
|
|
1462
|
-
.ser(se_EnableControlCommand)
|
|
1463
|
-
.de(de_EnableControlCommand)
|
|
1279
|
+
.sc(EnableControl)
|
|
1464
1280
|
.build() {
|
|
1465
1281
|
}
|
|
1466
1282
|
|
|
@@ -1468,16 +1284,11 @@ class GetBaselineCommand extends smithyClient.Command
|
|
|
1468
1284
|
.classBuilder()
|
|
1469
1285
|
.ep(commonParams)
|
|
1470
1286
|
.m(function (Command, cs, config, o) {
|
|
1471
|
-
return [
|
|
1472
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1473
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1474
|
-
];
|
|
1287
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1475
1288
|
})
|
|
1476
1289
|
.s("AWSControlTowerApis", "GetBaseline", {})
|
|
1477
1290
|
.n("ControlTowerClient", "GetBaselineCommand")
|
|
1478
|
-
.
|
|
1479
|
-
.ser(se_GetBaselineCommand)
|
|
1480
|
-
.de(de_GetBaselineCommand)
|
|
1291
|
+
.sc(GetBaseline)
|
|
1481
1292
|
.build() {
|
|
1482
1293
|
}
|
|
1483
1294
|
|
|
@@ -1485,16 +1296,11 @@ class GetBaselineOperationCommand extends smithyClient.Command
|
|
|
1485
1296
|
.classBuilder()
|
|
1486
1297
|
.ep(commonParams)
|
|
1487
1298
|
.m(function (Command, cs, config, o) {
|
|
1488
|
-
return [
|
|
1489
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1490
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1491
|
-
];
|
|
1299
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1492
1300
|
})
|
|
1493
1301
|
.s("AWSControlTowerApis", "GetBaselineOperation", {})
|
|
1494
1302
|
.n("ControlTowerClient", "GetBaselineOperationCommand")
|
|
1495
|
-
.
|
|
1496
|
-
.ser(se_GetBaselineOperationCommand)
|
|
1497
|
-
.de(de_GetBaselineOperationCommand)
|
|
1303
|
+
.sc(GetBaselineOperation)
|
|
1498
1304
|
.build() {
|
|
1499
1305
|
}
|
|
1500
1306
|
|
|
@@ -1502,16 +1308,11 @@ class GetControlOperationCommand extends smithyClient.Command
|
|
|
1502
1308
|
.classBuilder()
|
|
1503
1309
|
.ep(commonParams)
|
|
1504
1310
|
.m(function (Command, cs, config, o) {
|
|
1505
|
-
return [
|
|
1506
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1507
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1508
|
-
];
|
|
1311
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1509
1312
|
})
|
|
1510
1313
|
.s("AWSControlTowerApis", "GetControlOperation", {})
|
|
1511
1314
|
.n("ControlTowerClient", "GetControlOperationCommand")
|
|
1512
|
-
.
|
|
1513
|
-
.ser(se_GetControlOperationCommand)
|
|
1514
|
-
.de(de_GetControlOperationCommand)
|
|
1315
|
+
.sc(GetControlOperation)
|
|
1515
1316
|
.build() {
|
|
1516
1317
|
}
|
|
1517
1318
|
|
|
@@ -1519,16 +1320,11 @@ class GetEnabledBaselineCommand extends smithyClient.Command
|
|
|
1519
1320
|
.classBuilder()
|
|
1520
1321
|
.ep(commonParams)
|
|
1521
1322
|
.m(function (Command, cs, config, o) {
|
|
1522
|
-
return [
|
|
1523
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1524
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1525
|
-
];
|
|
1323
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1526
1324
|
})
|
|
1527
1325
|
.s("AWSControlTowerApis", "GetEnabledBaseline", {})
|
|
1528
1326
|
.n("ControlTowerClient", "GetEnabledBaselineCommand")
|
|
1529
|
-
.
|
|
1530
|
-
.ser(se_GetEnabledBaselineCommand)
|
|
1531
|
-
.de(de_GetEnabledBaselineCommand)
|
|
1327
|
+
.sc(GetEnabledBaseline)
|
|
1532
1328
|
.build() {
|
|
1533
1329
|
}
|
|
1534
1330
|
|
|
@@ -1536,16 +1332,11 @@ class GetEnabledControlCommand extends smithyClient.Command
|
|
|
1536
1332
|
.classBuilder()
|
|
1537
1333
|
.ep(commonParams)
|
|
1538
1334
|
.m(function (Command, cs, config, o) {
|
|
1539
|
-
return [
|
|
1540
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1541
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1542
|
-
];
|
|
1335
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1543
1336
|
})
|
|
1544
1337
|
.s("AWSControlTowerApis", "GetEnabledControl", {})
|
|
1545
1338
|
.n("ControlTowerClient", "GetEnabledControlCommand")
|
|
1546
|
-
.
|
|
1547
|
-
.ser(se_GetEnabledControlCommand)
|
|
1548
|
-
.de(de_GetEnabledControlCommand)
|
|
1339
|
+
.sc(GetEnabledControl)
|
|
1549
1340
|
.build() {
|
|
1550
1341
|
}
|
|
1551
1342
|
|
|
@@ -1553,16 +1344,11 @@ class GetLandingZoneCommand extends smithyClient.Command
|
|
|
1553
1344
|
.classBuilder()
|
|
1554
1345
|
.ep(commonParams)
|
|
1555
1346
|
.m(function (Command, cs, config, o) {
|
|
1556
|
-
return [
|
|
1557
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1558
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1559
|
-
];
|
|
1347
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1560
1348
|
})
|
|
1561
1349
|
.s("AWSControlTowerApis", "GetLandingZone", {})
|
|
1562
1350
|
.n("ControlTowerClient", "GetLandingZoneCommand")
|
|
1563
|
-
.
|
|
1564
|
-
.ser(se_GetLandingZoneCommand)
|
|
1565
|
-
.de(de_GetLandingZoneCommand)
|
|
1351
|
+
.sc(GetLandingZone)
|
|
1566
1352
|
.build() {
|
|
1567
1353
|
}
|
|
1568
1354
|
|
|
@@ -1570,16 +1356,11 @@ class GetLandingZoneOperationCommand extends smithyClient.Command
|
|
|
1570
1356
|
.classBuilder()
|
|
1571
1357
|
.ep(commonParams)
|
|
1572
1358
|
.m(function (Command, cs, config, o) {
|
|
1573
|
-
return [
|
|
1574
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1575
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1576
|
-
];
|
|
1359
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1577
1360
|
})
|
|
1578
1361
|
.s("AWSControlTowerApis", "GetLandingZoneOperation", {})
|
|
1579
1362
|
.n("ControlTowerClient", "GetLandingZoneOperationCommand")
|
|
1580
|
-
.
|
|
1581
|
-
.ser(se_GetLandingZoneOperationCommand)
|
|
1582
|
-
.de(de_GetLandingZoneOperationCommand)
|
|
1363
|
+
.sc(GetLandingZoneOperation)
|
|
1583
1364
|
.build() {
|
|
1584
1365
|
}
|
|
1585
1366
|
|
|
@@ -1587,16 +1368,11 @@ class ListBaselinesCommand extends smithyClient.Command
|
|
|
1587
1368
|
.classBuilder()
|
|
1588
1369
|
.ep(commonParams)
|
|
1589
1370
|
.m(function (Command, cs, config, o) {
|
|
1590
|
-
return [
|
|
1591
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1592
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1593
|
-
];
|
|
1371
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1594
1372
|
})
|
|
1595
1373
|
.s("AWSControlTowerApis", "ListBaselines", {})
|
|
1596
1374
|
.n("ControlTowerClient", "ListBaselinesCommand")
|
|
1597
|
-
.
|
|
1598
|
-
.ser(se_ListBaselinesCommand)
|
|
1599
|
-
.de(de_ListBaselinesCommand)
|
|
1375
|
+
.sc(ListBaselines)
|
|
1600
1376
|
.build() {
|
|
1601
1377
|
}
|
|
1602
1378
|
|
|
@@ -1604,16 +1380,11 @@ class ListControlOperationsCommand extends smithyClient.Command
|
|
|
1604
1380
|
.classBuilder()
|
|
1605
1381
|
.ep(commonParams)
|
|
1606
1382
|
.m(function (Command, cs, config, o) {
|
|
1607
|
-
return [
|
|
1608
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1609
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1610
|
-
];
|
|
1383
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1611
1384
|
})
|
|
1612
1385
|
.s("AWSControlTowerApis", "ListControlOperations", {})
|
|
1613
1386
|
.n("ControlTowerClient", "ListControlOperationsCommand")
|
|
1614
|
-
.
|
|
1615
|
-
.ser(se_ListControlOperationsCommand)
|
|
1616
|
-
.de(de_ListControlOperationsCommand)
|
|
1387
|
+
.sc(ListControlOperations)
|
|
1617
1388
|
.build() {
|
|
1618
1389
|
}
|
|
1619
1390
|
|
|
@@ -1621,16 +1392,11 @@ class ListEnabledBaselinesCommand extends smithyClient.Command
|
|
|
1621
1392
|
.classBuilder()
|
|
1622
1393
|
.ep(commonParams)
|
|
1623
1394
|
.m(function (Command, cs, config, o) {
|
|
1624
|
-
return [
|
|
1625
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1626
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1627
|
-
];
|
|
1395
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1628
1396
|
})
|
|
1629
1397
|
.s("AWSControlTowerApis", "ListEnabledBaselines", {})
|
|
1630
1398
|
.n("ControlTowerClient", "ListEnabledBaselinesCommand")
|
|
1631
|
-
.
|
|
1632
|
-
.ser(se_ListEnabledBaselinesCommand)
|
|
1633
|
-
.de(de_ListEnabledBaselinesCommand)
|
|
1399
|
+
.sc(ListEnabledBaselines)
|
|
1634
1400
|
.build() {
|
|
1635
1401
|
}
|
|
1636
1402
|
|
|
@@ -1638,16 +1404,11 @@ class ListEnabledControlsCommand extends smithyClient.Command
|
|
|
1638
1404
|
.classBuilder()
|
|
1639
1405
|
.ep(commonParams)
|
|
1640
1406
|
.m(function (Command, cs, config, o) {
|
|
1641
|
-
return [
|
|
1642
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1643
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1644
|
-
];
|
|
1407
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1645
1408
|
})
|
|
1646
1409
|
.s("AWSControlTowerApis", "ListEnabledControls", {})
|
|
1647
1410
|
.n("ControlTowerClient", "ListEnabledControlsCommand")
|
|
1648
|
-
.
|
|
1649
|
-
.ser(se_ListEnabledControlsCommand)
|
|
1650
|
-
.de(de_ListEnabledControlsCommand)
|
|
1411
|
+
.sc(ListEnabledControls)
|
|
1651
1412
|
.build() {
|
|
1652
1413
|
}
|
|
1653
1414
|
|
|
@@ -1655,16 +1416,11 @@ class ListLandingZoneOperationsCommand extends smithyClient.Command
|
|
|
1655
1416
|
.classBuilder()
|
|
1656
1417
|
.ep(commonParams)
|
|
1657
1418
|
.m(function (Command, cs, config, o) {
|
|
1658
|
-
return [
|
|
1659
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1660
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1661
|
-
];
|
|
1419
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1662
1420
|
})
|
|
1663
1421
|
.s("AWSControlTowerApis", "ListLandingZoneOperations", {})
|
|
1664
1422
|
.n("ControlTowerClient", "ListLandingZoneOperationsCommand")
|
|
1665
|
-
.
|
|
1666
|
-
.ser(se_ListLandingZoneOperationsCommand)
|
|
1667
|
-
.de(de_ListLandingZoneOperationsCommand)
|
|
1423
|
+
.sc(ListLandingZoneOperations)
|
|
1668
1424
|
.build() {
|
|
1669
1425
|
}
|
|
1670
1426
|
|
|
@@ -1672,16 +1428,11 @@ class ListLandingZonesCommand extends smithyClient.Command
|
|
|
1672
1428
|
.classBuilder()
|
|
1673
1429
|
.ep(commonParams)
|
|
1674
1430
|
.m(function (Command, cs, config, o) {
|
|
1675
|
-
return [
|
|
1676
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1677
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1678
|
-
];
|
|
1431
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1679
1432
|
})
|
|
1680
1433
|
.s("AWSControlTowerApis", "ListLandingZones", {})
|
|
1681
1434
|
.n("ControlTowerClient", "ListLandingZonesCommand")
|
|
1682
|
-
.
|
|
1683
|
-
.ser(se_ListLandingZonesCommand)
|
|
1684
|
-
.de(de_ListLandingZonesCommand)
|
|
1435
|
+
.sc(ListLandingZones)
|
|
1685
1436
|
.build() {
|
|
1686
1437
|
}
|
|
1687
1438
|
|
|
@@ -1689,16 +1440,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1689
1440
|
.classBuilder()
|
|
1690
1441
|
.ep(commonParams)
|
|
1691
1442
|
.m(function (Command, cs, config, o) {
|
|
1692
|
-
return [
|
|
1693
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1694
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1695
|
-
];
|
|
1443
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1696
1444
|
})
|
|
1697
1445
|
.s("AWSControlTowerApis", "ListTagsForResource", {})
|
|
1698
1446
|
.n("ControlTowerClient", "ListTagsForResourceCommand")
|
|
1699
|
-
.
|
|
1700
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1701
|
-
.de(de_ListTagsForResourceCommand)
|
|
1447
|
+
.sc(ListTagsForResource)
|
|
1702
1448
|
.build() {
|
|
1703
1449
|
}
|
|
1704
1450
|
|
|
@@ -1706,16 +1452,11 @@ class ResetEnabledBaselineCommand extends smithyClient.Command
|
|
|
1706
1452
|
.classBuilder()
|
|
1707
1453
|
.ep(commonParams)
|
|
1708
1454
|
.m(function (Command, cs, config, o) {
|
|
1709
|
-
return [
|
|
1710
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1711
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1712
|
-
];
|
|
1455
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1713
1456
|
})
|
|
1714
1457
|
.s("AWSControlTowerApis", "ResetEnabledBaseline", {})
|
|
1715
1458
|
.n("ControlTowerClient", "ResetEnabledBaselineCommand")
|
|
1716
|
-
.
|
|
1717
|
-
.ser(se_ResetEnabledBaselineCommand)
|
|
1718
|
-
.de(de_ResetEnabledBaselineCommand)
|
|
1459
|
+
.sc(ResetEnabledBaseline)
|
|
1719
1460
|
.build() {
|
|
1720
1461
|
}
|
|
1721
1462
|
|
|
@@ -1723,16 +1464,11 @@ class ResetEnabledControlCommand extends smithyClient.Command
|
|
|
1723
1464
|
.classBuilder()
|
|
1724
1465
|
.ep(commonParams)
|
|
1725
1466
|
.m(function (Command, cs, config, o) {
|
|
1726
|
-
return [
|
|
1727
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1728
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1729
|
-
];
|
|
1467
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1730
1468
|
})
|
|
1731
1469
|
.s("AWSControlTowerApis", "ResetEnabledControl", {})
|
|
1732
1470
|
.n("ControlTowerClient", "ResetEnabledControlCommand")
|
|
1733
|
-
.
|
|
1734
|
-
.ser(se_ResetEnabledControlCommand)
|
|
1735
|
-
.de(de_ResetEnabledControlCommand)
|
|
1471
|
+
.sc(ResetEnabledControl)
|
|
1736
1472
|
.build() {
|
|
1737
1473
|
}
|
|
1738
1474
|
|
|
@@ -1740,16 +1476,11 @@ class ResetLandingZoneCommand extends smithyClient.Command
|
|
|
1740
1476
|
.classBuilder()
|
|
1741
1477
|
.ep(commonParams)
|
|
1742
1478
|
.m(function (Command, cs, config, o) {
|
|
1743
|
-
return [
|
|
1744
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1745
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1746
|
-
];
|
|
1479
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1747
1480
|
})
|
|
1748
1481
|
.s("AWSControlTowerApis", "ResetLandingZone", {})
|
|
1749
1482
|
.n("ControlTowerClient", "ResetLandingZoneCommand")
|
|
1750
|
-
.
|
|
1751
|
-
.ser(se_ResetLandingZoneCommand)
|
|
1752
|
-
.de(de_ResetLandingZoneCommand)
|
|
1483
|
+
.sc(ResetLandingZone)
|
|
1753
1484
|
.build() {
|
|
1754
1485
|
}
|
|
1755
1486
|
|
|
@@ -1757,16 +1488,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1757
1488
|
.classBuilder()
|
|
1758
1489
|
.ep(commonParams)
|
|
1759
1490
|
.m(function (Command, cs, config, o) {
|
|
1760
|
-
return [
|
|
1761
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1762
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1763
|
-
];
|
|
1491
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1764
1492
|
})
|
|
1765
1493
|
.s("AWSControlTowerApis", "TagResource", {})
|
|
1766
1494
|
.n("ControlTowerClient", "TagResourceCommand")
|
|
1767
|
-
.
|
|
1768
|
-
.ser(se_TagResourceCommand)
|
|
1769
|
-
.de(de_TagResourceCommand)
|
|
1495
|
+
.sc(TagResource)
|
|
1770
1496
|
.build() {
|
|
1771
1497
|
}
|
|
1772
1498
|
|
|
@@ -1774,16 +1500,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1774
1500
|
.classBuilder()
|
|
1775
1501
|
.ep(commonParams)
|
|
1776
1502
|
.m(function (Command, cs, config, o) {
|
|
1777
|
-
return [
|
|
1778
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1779
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1780
|
-
];
|
|
1503
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1781
1504
|
})
|
|
1782
1505
|
.s("AWSControlTowerApis", "UntagResource", {})
|
|
1783
1506
|
.n("ControlTowerClient", "UntagResourceCommand")
|
|
1784
|
-
.
|
|
1785
|
-
.ser(se_UntagResourceCommand)
|
|
1786
|
-
.de(de_UntagResourceCommand)
|
|
1507
|
+
.sc(UntagResource)
|
|
1787
1508
|
.build() {
|
|
1788
1509
|
}
|
|
1789
1510
|
|
|
@@ -1791,16 +1512,11 @@ class UpdateEnabledBaselineCommand extends smithyClient.Command
|
|
|
1791
1512
|
.classBuilder()
|
|
1792
1513
|
.ep(commonParams)
|
|
1793
1514
|
.m(function (Command, cs, config, o) {
|
|
1794
|
-
return [
|
|
1795
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1796
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1797
|
-
];
|
|
1515
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1798
1516
|
})
|
|
1799
1517
|
.s("AWSControlTowerApis", "UpdateEnabledBaseline", {})
|
|
1800
1518
|
.n("ControlTowerClient", "UpdateEnabledBaselineCommand")
|
|
1801
|
-
.
|
|
1802
|
-
.ser(se_UpdateEnabledBaselineCommand)
|
|
1803
|
-
.de(de_UpdateEnabledBaselineCommand)
|
|
1519
|
+
.sc(UpdateEnabledBaseline)
|
|
1804
1520
|
.build() {
|
|
1805
1521
|
}
|
|
1806
1522
|
|
|
@@ -1808,16 +1524,11 @@ class UpdateEnabledControlCommand extends smithyClient.Command
|
|
|
1808
1524
|
.classBuilder()
|
|
1809
1525
|
.ep(commonParams)
|
|
1810
1526
|
.m(function (Command, cs, config, o) {
|
|
1811
|
-
return [
|
|
1812
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1813
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1814
|
-
];
|
|
1527
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1815
1528
|
})
|
|
1816
1529
|
.s("AWSControlTowerApis", "UpdateEnabledControl", {})
|
|
1817
1530
|
.n("ControlTowerClient", "UpdateEnabledControlCommand")
|
|
1818
|
-
.
|
|
1819
|
-
.ser(se_UpdateEnabledControlCommand)
|
|
1820
|
-
.de(de_UpdateEnabledControlCommand)
|
|
1531
|
+
.sc(UpdateEnabledControl)
|
|
1821
1532
|
.build() {
|
|
1822
1533
|
}
|
|
1823
1534
|
|
|
@@ -1825,16 +1536,11 @@ class UpdateLandingZoneCommand extends smithyClient.Command
|
|
|
1825
1536
|
.classBuilder()
|
|
1826
1537
|
.ep(commonParams)
|
|
1827
1538
|
.m(function (Command, cs, config, o) {
|
|
1828
|
-
return [
|
|
1829
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1830
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1831
|
-
];
|
|
1539
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1832
1540
|
})
|
|
1833
1541
|
.s("AWSControlTowerApis", "UpdateLandingZone", {})
|
|
1834
1542
|
.n("ControlTowerClient", "UpdateLandingZoneCommand")
|
|
1835
|
-
.
|
|
1836
|
-
.ser(se_UpdateLandingZoneCommand)
|
|
1837
|
-
.de(de_UpdateLandingZoneCommand)
|
|
1543
|
+
.sc(UpdateLandingZone)
|
|
1838
1544
|
.build() {
|
|
1839
1545
|
}
|
|
1840
1546
|
|
|
@@ -1892,15 +1598,15 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1892
1598
|
enumerable: true,
|
|
1893
1599
|
get: function () { return smithyClient.Client; }
|
|
1894
1600
|
});
|
|
1895
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1601
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1896
1602
|
exports.BaselineOperationStatus = BaselineOperationStatus;
|
|
1897
1603
|
exports.BaselineOperationType = BaselineOperationType;
|
|
1898
|
-
exports.ConflictException = ConflictException;
|
|
1604
|
+
exports.ConflictException = ConflictException$1;
|
|
1899
1605
|
exports.ControlOperationStatus = ControlOperationStatus;
|
|
1900
1606
|
exports.ControlOperationType = ControlOperationType;
|
|
1901
1607
|
exports.ControlTower = ControlTower;
|
|
1902
1608
|
exports.ControlTowerClient = ControlTowerClient;
|
|
1903
|
-
exports.ControlTowerServiceException = ControlTowerServiceException;
|
|
1609
|
+
exports.ControlTowerServiceException = ControlTowerServiceException$1;
|
|
1904
1610
|
exports.CreateLandingZoneCommand = CreateLandingZoneCommand;
|
|
1905
1611
|
exports.DeleteLandingZoneCommand = DeleteLandingZoneCommand;
|
|
1906
1612
|
exports.DisableBaselineCommand = DisableBaselineCommand;
|
|
@@ -1917,7 +1623,7 @@ exports.GetEnabledBaselineCommand = GetEnabledBaselineCommand;
|
|
|
1917
1623
|
exports.GetEnabledControlCommand = GetEnabledControlCommand;
|
|
1918
1624
|
exports.GetLandingZoneCommand = GetLandingZoneCommand;
|
|
1919
1625
|
exports.GetLandingZoneOperationCommand = GetLandingZoneOperationCommand;
|
|
1920
|
-
exports.InternalServerException = InternalServerException;
|
|
1626
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1921
1627
|
exports.LandingZoneDriftStatus = LandingZoneDriftStatus;
|
|
1922
1628
|
exports.LandingZoneOperationStatus = LandingZoneOperationStatus;
|
|
1923
1629
|
exports.LandingZoneOperationType = LandingZoneOperationType;
|
|
@@ -1933,15 +1639,15 @@ exports.RemediationType = RemediationType;
|
|
|
1933
1639
|
exports.ResetEnabledBaselineCommand = ResetEnabledBaselineCommand;
|
|
1934
1640
|
exports.ResetEnabledControlCommand = ResetEnabledControlCommand;
|
|
1935
1641
|
exports.ResetLandingZoneCommand = ResetLandingZoneCommand;
|
|
1936
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1937
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1642
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1643
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1938
1644
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1939
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1645
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1940
1646
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1941
1647
|
exports.UpdateEnabledBaselineCommand = UpdateEnabledBaselineCommand;
|
|
1942
1648
|
exports.UpdateEnabledControlCommand = UpdateEnabledControlCommand;
|
|
1943
1649
|
exports.UpdateLandingZoneCommand = UpdateLandingZoneCommand;
|
|
1944
|
-
exports.ValidationException = ValidationException;
|
|
1650
|
+
exports.ValidationException = ValidationException$1;
|
|
1945
1651
|
exports.paginateListBaselines = paginateListBaselines;
|
|
1946
1652
|
exports.paginateListControlOperations = paginateListControlOperations;
|
|
1947
1653
|
exports.paginateListEnabledBaselines = paginateListEnabledBaselines;
|