@aws-sdk/client-controltower 3.1075.0 → 3.1077.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 CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultControlTowerHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateLandingZone$, DeleteLandingZone$, DisableBaseline$, DisableControl$, EnableBaseline$, EnableControl$, GetBaseline$, GetBaselineOperation$, GetControlOperation$, GetEnabledBaseline$, GetEnabledControl$, GetLandingZone$, GetLandingZoneOperation$, ListBaselines$, ListControlOperations$, ListEnabledBaselines$, ListEnabledControls$, ListLandingZoneOperations$, ListLandingZones$, ListTagsForResource$, ResetEnabledBaseline$, ResetEnabledControl$, ResetLandingZone$, TagResource$, UntagResource$, UpdateEnabledBaseline$, UpdateEnabledControl$, UpdateLandingZone$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { ControlTowerServiceException } = require("./models/ControlTowerServiceException");
18
- exports.ControlTowerServiceException = ControlTowerServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultControlTowerHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "controltower",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultControlTowerHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,1041 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ [k]: "UseDualStack" }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://controltower-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://controltower-fips.{Region}.{PartitionResult#dnsSuffix}", i],
95
+ [a, "FIPS is enabled but this partition does not support FIPS"],
96
+ ["https://controltower.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
+ [a, "DualStack is enabled but this partition does not support DualStack"],
98
+ ["https://controltower.{Region}.{PartitionResult#dnsSuffix}", i],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 12, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 10,
111
+ 5, r + 8, r + 9,
112
+ 4, 10, 9,
113
+ 6, r + 6, r + 7,
114
+ 5, 11, r + 5,
115
+ 6, r + 4, r + 5,
116
+ 3, r + 1, 13,
117
+ 4, r + 2, r + 3,
118
+ ]);
119
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
120
+
121
+ const cache = new EndpointCache({
122
+ size: 50,
123
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
124
+ });
125
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
126
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
127
+ endpointParams: endpointParams,
128
+ logger: context.logger,
129
+ }));
130
+ };
131
+ customEndpointFunctions.aws = awsEndpointFunctions;
132
+
133
+ class ControlTowerServiceException extends ServiceException {
134
+ constructor(options) {
135
+ super(options);
136
+ Object.setPrototypeOf(this, ControlTowerServiceException.prototype);
137
+ }
138
+ }
139
+
140
+ class AccessDeniedException extends ControlTowerServiceException {
141
+ name = "AccessDeniedException";
142
+ $fault = "client";
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ }
151
+ }
152
+ class InternalServerException extends ControlTowerServiceException {
153
+ name = "InternalServerException";
154
+ $fault = "server";
155
+ $retryable = {};
156
+ constructor(opts) {
157
+ super({
158
+ name: "InternalServerException",
159
+ $fault: "server",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, InternalServerException.prototype);
163
+ }
164
+ }
165
+ class ResourceNotFoundException extends ControlTowerServiceException {
166
+ name = "ResourceNotFoundException";
167
+ $fault = "client";
168
+ constructor(opts) {
169
+ super({
170
+ name: "ResourceNotFoundException",
171
+ $fault: "client",
172
+ ...opts,
173
+ });
174
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
175
+ }
176
+ }
177
+ class ThrottlingException extends ControlTowerServiceException {
178
+ name = "ThrottlingException";
179
+ $fault = "client";
180
+ $retryable = {
181
+ throttling: true,
182
+ };
183
+ serviceCode;
184
+ quotaCode;
185
+ retryAfterSeconds;
186
+ constructor(opts) {
187
+ super({
188
+ name: "ThrottlingException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
193
+ this.serviceCode = opts.serviceCode;
194
+ this.quotaCode = opts.quotaCode;
195
+ this.retryAfterSeconds = opts.retryAfterSeconds;
196
+ }
197
+ }
198
+ class ValidationException extends ControlTowerServiceException {
199
+ name = "ValidationException";
200
+ $fault = "client";
201
+ constructor(opts) {
202
+ super({
203
+ name: "ValidationException",
204
+ $fault: "client",
205
+ ...opts,
206
+ });
207
+ Object.setPrototypeOf(this, ValidationException.prototype);
208
+ }
209
+ }
210
+ class ConflictException extends ControlTowerServiceException {
211
+ name = "ConflictException";
212
+ $fault = "client";
213
+ constructor(opts) {
214
+ super({
215
+ name: "ConflictException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, ConflictException.prototype);
220
+ }
221
+ }
222
+ class ServiceQuotaExceededException extends ControlTowerServiceException {
223
+ name = "ServiceQuotaExceededException";
224
+ $fault = "client";
225
+ constructor(opts) {
226
+ super({
227
+ name: "ServiceQuotaExceededException",
228
+ $fault: "client",
229
+ ...opts,
230
+ });
231
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
232
+ }
233
+ }
234
+
235
+ const _ADE = "AccessDeniedException";
236
+ const _B = "Baselines";
237
+ const _BO = "BaselineOperation";
238
+ const _BS = "BaselineSummary";
239
+ const _CE = "ConflictException";
240
+ const _CLZ = "CreateLandingZone";
241
+ const _CLZI = "CreateLandingZoneInput";
242
+ const _CLZO = "CreateLandingZoneOutput";
243
+ const _CO = "ControlOperation";
244
+ const _COF = "ControlOperationFilter";
245
+ const _COS = "ControlOperationSummary";
246
+ const _COo = "ControlOperations";
247
+ const _DB = "DisableBaseline";
248
+ const _DBI = "DisableBaselineInput";
249
+ const _DBO = "DisableBaselineOutput";
250
+ const _DC = "DisableControl";
251
+ const _DCI = "DisableControlInput";
252
+ const _DCO = "DisableControlOutput";
253
+ const _DLZ = "DeleteLandingZone";
254
+ const _DLZI = "DeleteLandingZoneInput";
255
+ const _DLZO = "DeleteLandingZoneOutput";
256
+ const _DSS = "DriftStatusSummary";
257
+ const _EB = "EnabledBaselines";
258
+ const _EBD = "EnabledBaselineDetails";
259
+ const _EBDSS = "EnabledBaselineDriftStatusSummary";
260
+ const _EBDT = "EnabledBaselineDriftTypes";
261
+ const _EBF = "EnabledBaselineFilter";
262
+ const _EBI = "EnableBaselineInput";
263
+ const _EBID = "EnabledBaselineInheritanceDrift";
264
+ const _EBO = "EnableBaselineOutput";
265
+ const _EBP = "EnabledBaselineParameter";
266
+ const _EBPS = "EnabledBaselineParameterSummary";
267
+ const _EBPSn = "EnabledBaselineParameterSummaries";
268
+ const _EBPn = "EnabledBaselineParameters";
269
+ const _EBS = "EnabledBaselineSummary";
270
+ const _EBn = "EnableBaseline";
271
+ const _EC = "EnabledControls";
272
+ const _ECD = "EnabledControlDetails";
273
+ const _ECDT = "EnabledControlDriftTypes";
274
+ const _ECF = "EnabledControlFilter";
275
+ const _ECI = "EnableControlInput";
276
+ const _ECID = "EnabledControlInheritanceDrift";
277
+ const _ECO = "EnableControlOutput";
278
+ const _ECP = "EnabledControlParameter";
279
+ const _ECPS = "EnabledControlParameterSummary";
280
+ const _ECPSn = "EnabledControlParameterSummaries";
281
+ const _ECPn = "EnabledControlParameters";
282
+ const _ECRD = "EnabledControlResourceDrift";
283
+ const _ECS = "EnabledControlSummary";
284
+ const _ECn = "EnableControl";
285
+ const _ESS = "EnablementStatusSummary";
286
+ const _GB = "GetBaseline";
287
+ const _GBI = "GetBaselineInput";
288
+ const _GBO = "GetBaselineOutput";
289
+ const _GBOI = "GetBaselineOperationInput";
290
+ const _GBOO = "GetBaselineOperationOutput";
291
+ const _GBOe = "GetBaselineOperation";
292
+ const _GCO = "GetControlOperation";
293
+ const _GCOI = "GetControlOperationInput";
294
+ const _GCOO = "GetControlOperationOutput";
295
+ const _GEB = "GetEnabledBaseline";
296
+ const _GEBI = "GetEnabledBaselineInput";
297
+ const _GEBO = "GetEnabledBaselineOutput";
298
+ const _GEC = "GetEnabledControl";
299
+ const _GECI = "GetEnabledControlInput";
300
+ const _GECO = "GetEnabledControlOutput";
301
+ const _GLZ = "GetLandingZone";
302
+ const _GLZI = "GetLandingZoneInput";
303
+ const _GLZO = "GetLandingZoneOutput";
304
+ const _GLZOI = "GetLandingZoneOperationInput";
305
+ const _GLZOO = "GetLandingZoneOperationOutput";
306
+ const _GLZOe = "GetLandingZoneOperation";
307
+ const _ISE = "InternalServerException";
308
+ const _LB = "ListBaselines";
309
+ const _LBI = "ListBaselinesInput";
310
+ const _LBO = "ListBaselinesOutput";
311
+ const _LCO = "ListControlOperations";
312
+ const _LCOI = "ListControlOperationsInput";
313
+ const _LCOO = "ListControlOperationsOutput";
314
+ const _LEB = "ListEnabledBaselines";
315
+ const _LEBI = "ListEnabledBaselinesInput";
316
+ const _LEBO = "ListEnabledBaselinesOutput";
317
+ const _LEC = "ListEnabledControls";
318
+ const _LECI = "ListEnabledControlsInput";
319
+ const _LECO = "ListEnabledControlsOutput";
320
+ const _LLZ = "ListLandingZones";
321
+ const _LLZI = "ListLandingZonesInput";
322
+ const _LLZO = "ListLandingZonesOutput";
323
+ const _LLZOI = "ListLandingZoneOperationsInput";
324
+ const _LLZOO = "ListLandingZoneOperationsOutput";
325
+ const _LLZOi = "ListLandingZoneOperations";
326
+ const _LTFR = "ListTagsForResource";
327
+ const _LTFRI = "ListTagsForResourceInput";
328
+ const _LTFRO = "ListTagsForResourceOutput";
329
+ const _LZD = "LandingZoneDetail";
330
+ const _LZDSS = "LandingZoneDriftStatusSummary";
331
+ const _LZO = "LandingZoneOperations";
332
+ const _LZOD = "LandingZoneOperationDetail";
333
+ const _LZOF = "LandingZoneOperationFilter";
334
+ const _LZOS = "LandingZoneOperationSummary";
335
+ const _LZS = "LandingZoneSummary";
336
+ const _LZSa = "LandingZoneSummaries";
337
+ const _R = "Region";
338
+ const _RA = "Retry-After";
339
+ const _REB = "ResetEnabledBaseline";
340
+ const _REBI = "ResetEnabledBaselineInput";
341
+ const _REBO = "ResetEnabledBaselineOutput";
342
+ const _REC = "ResetEnabledControl";
343
+ const _RECI = "ResetEnabledControlInput";
344
+ const _RECO = "ResetEnabledControlOutput";
345
+ const _RLZ = "ResetLandingZone";
346
+ const _RLZI = "ResetLandingZoneInput";
347
+ const _RLZO = "ResetLandingZoneOutput";
348
+ const _RNFE = "ResourceNotFoundException";
349
+ const _SQEE = "ServiceQuotaExceededException";
350
+ const _TE = "ThrottlingException";
351
+ const _TR = "TargetRegions";
352
+ const _TRI = "TagResourceInput";
353
+ const _TRO = "TagResourceOutput";
354
+ const _TRa = "TagResource";
355
+ const _UEB = "UpdateEnabledBaseline";
356
+ const _UEBI = "UpdateEnabledBaselineInput";
357
+ const _UEBO = "UpdateEnabledBaselineOutput";
358
+ const _UEC = "UpdateEnabledControl";
359
+ const _UECI = "UpdateEnabledControlInput";
360
+ const _UECO = "UpdateEnabledControlOutput";
361
+ const _ULZ = "UpdateLandingZone";
362
+ const _ULZI = "UpdateLandingZoneInput";
363
+ const _ULZO = "UpdateLandingZoneOutput";
364
+ const _UR = "UntagResource";
365
+ const _URI = "UntagResourceInput";
366
+ const _URO = "UntagResourceOutput";
367
+ const _VE = "ValidationException";
368
+ const _a = "arn";
369
+ const _b = "baselines";
370
+ const _bI = "baselineIdentifier";
371
+ const _bIa = "baselineIdentifiers";
372
+ const _bO = "baselineOperation";
373
+ const _bV = "baselineVersion";
374
+ const _c = "client";
375
+ const _cI = "controlIdentifier";
376
+ const _cIo = "controlIdentifiers";
377
+ const _cO = "controlOperation";
378
+ const _cOT = "controlOperationTypes";
379
+ const _cOo = "controlOperations";
380
+ const _d = "description";
381
+ const _dS = "driftStatus";
382
+ const _dSS = "driftStatusSummary";
383
+ const _dSr = "driftStatuses";
384
+ const _e = "error";
385
+ const _eB = "enabledBaselines";
386
+ const _eBD = "enabledBaselineDetails";
387
+ const _eBI = "enabledBaselineIdentifier";
388
+ const _eC = "enabledControls";
389
+ const _eCD = "enabledControlDetails";
390
+ const _eCI = "enabledControlIdentifier";
391
+ const _eCIn = "enabledControlIdentifiers";
392
+ const _eT = "endTime";
393
+ const _f = "filter";
394
+ const _h = "http";
395
+ const _hE = "httpError";
396
+ const _hH = "httpHeader";
397
+ const _hQ = "httpQuery";
398
+ const _i = "inheritance";
399
+ const _iC = "includeChildren";
400
+ const _iDS = "inheritanceDriftStatuses";
401
+ const _k = "key";
402
+ const _lAV = "latestAvailableVersion";
403
+ const _lOI = "lastOperationIdentifier";
404
+ const _lZ = "landingZone";
405
+ const _lZI = "landingZoneIdentifier";
406
+ const _lZO = "landingZoneOperations";
407
+ const _lZa = "landingZones";
408
+ const _m = "message";
409
+ const _mR = "maxResults";
410
+ const _ma = "manifest";
411
+ const _n = "name";
412
+ const _nT = "nextToken";
413
+ const _oD = "operationDetails";
414
+ const _oI = "operationIdentifier";
415
+ const _oT = "operationType";
416
+ const _p = "parameters";
417
+ const _pI = "parentIdentifier";
418
+ const _pIa = "parentIdentifiers";
419
+ const _qC = "quotaCode";
420
+ const _r = "resource";
421
+ const _rA = "resourceArn";
422
+ const _rAS = "retryAfterSeconds";
423
+ const _rDS = "resourceDriftStatuses";
424
+ const _rT = "remediationTypes";
425
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.controltower";
426
+ const _sC = "serviceCode";
427
+ const _sM = "statusMessage";
428
+ const _sS = "statusSummary";
429
+ const _sT = "startTime";
430
+ const _se = "server";
431
+ const _st = "status";
432
+ const _sta = "statuses";
433
+ const _t = "tags";
434
+ const _tI = "targetIdentifier";
435
+ const _tIa = "targetIdentifiers";
436
+ const _tK = "tagKeys";
437
+ const _tR = "targetRegions";
438
+ const _ty = "types";
439
+ const _v = "version";
440
+ const _va = "value";
441
+ const n0 = "com.amazonaws.controltower";
442
+ const _s_registry = TypeRegistry.for(_s);
443
+ var ControlTowerServiceException$ = [-3, _s, "ControlTowerServiceException", 0, [], []];
444
+ _s_registry.registerError(ControlTowerServiceException$, ControlTowerServiceException);
445
+ const n0_registry = TypeRegistry.for(n0);
446
+ var AccessDeniedException$ = [-3, n0, _ADE,
447
+ { [_e]: _c, [_hE]: 403 },
448
+ [_m],
449
+ [0], 1
450
+ ];
451
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
452
+ var ConflictException$ = [-3, n0, _CE,
453
+ { [_e]: _c, [_hE]: 409 },
454
+ [_m],
455
+ [0], 1
456
+ ];
457
+ n0_registry.registerError(ConflictException$, ConflictException);
458
+ var InternalServerException$ = [-3, n0, _ISE,
459
+ { [_e]: _se, [_hE]: 500 },
460
+ [_m],
461
+ [0], 1
462
+ ];
463
+ n0_registry.registerError(InternalServerException$, InternalServerException);
464
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
465
+ { [_e]: _c, [_hE]: 404 },
466
+ [_m],
467
+ [0], 1
468
+ ];
469
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
470
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
471
+ { [_e]: _c, [_hE]: 402 },
472
+ [_m],
473
+ [0], 1
474
+ ];
475
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
476
+ var ThrottlingException$ = [-3, n0, _TE,
477
+ { [_e]: _c, [_hE]: 429 },
478
+ [_m, _sC, _qC, _rAS],
479
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
480
+ ];
481
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
482
+ var ValidationException$ = [-3, n0, _VE,
483
+ { [_e]: _c, [_hE]: 400 },
484
+ [_m],
485
+ [0], 1
486
+ ];
487
+ n0_registry.registerError(ValidationException$, ValidationException);
488
+ const errorTypeRegistries = [
489
+ _s_registry,
490
+ n0_registry,
491
+ ];
492
+ var BaselineOperation$ = [3, n0, _BO,
493
+ 0,
494
+ [_oI, _oT, _st, _sT, _eT, _sM],
495
+ [0, 0, 0, 5, 5, 0]
496
+ ];
497
+ var BaselineSummary$ = [3, n0, _BS,
498
+ 0,
499
+ [_a, _n, _d],
500
+ [0, 0, 0], 2
501
+ ];
502
+ var ControlOperation$ = [3, n0, _CO,
503
+ 0,
504
+ [_oT, _sT, _eT, _st, _sM, _oI, _cI, _tI, _eCI],
505
+ [0, 5, 5, 0, 0, 0, 0, 0, 0]
506
+ ];
507
+ var ControlOperationFilter$ = [3, n0, _COF,
508
+ 0,
509
+ [_cIo, _tIa, _eCIn, _sta, _cOT],
510
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0]
511
+ ];
512
+ var ControlOperationSummary$ = [3, n0, _COS,
513
+ 0,
514
+ [_oT, _sT, _eT, _st, _sM, _oI, _cI, _tI, _eCI],
515
+ [0, 5, 5, 0, 0, 0, 0, 0, 0]
516
+ ];
517
+ var CreateLandingZoneInput$ = [3, n0, _CLZI,
518
+ 0,
519
+ [_v, _rT, _t, _ma],
520
+ [0, 64 | 0, 128 | 0, 15], 1
521
+ ];
522
+ var CreateLandingZoneOutput$ = [3, n0, _CLZO,
523
+ 0,
524
+ [_a, _oI],
525
+ [0, 0], 2
526
+ ];
527
+ var DeleteLandingZoneInput$ = [3, n0, _DLZI,
528
+ 0,
529
+ [_lZI],
530
+ [0], 1
531
+ ];
532
+ var DeleteLandingZoneOutput$ = [3, n0, _DLZO,
533
+ 0,
534
+ [_oI],
535
+ [0], 1
536
+ ];
537
+ var DisableBaselineInput$ = [3, n0, _DBI,
538
+ 0,
539
+ [_eBI],
540
+ [0], 1
541
+ ];
542
+ var DisableBaselineOutput$ = [3, n0, _DBO,
543
+ 0,
544
+ [_oI],
545
+ [0], 1
546
+ ];
547
+ var DisableControlInput$ = [3, n0, _DCI,
548
+ 0,
549
+ [_cI, _tI, _eCI],
550
+ [0, 0, 0]
551
+ ];
552
+ var DisableControlOutput$ = [3, n0, _DCO,
553
+ 0,
554
+ [_oI],
555
+ [0], 1
556
+ ];
557
+ var DriftStatusSummary$ = [3, n0, _DSS,
558
+ 0,
559
+ [_dS, _ty],
560
+ [0, () => EnabledControlDriftTypes$]
561
+ ];
562
+ var EnableBaselineInput$ = [3, n0, _EBI,
563
+ 0,
564
+ [_bV, _bI, _tI, _p, _t],
565
+ [0, 0, 0, () => EnabledBaselineParameters, 128 | 0], 3
566
+ ];
567
+ var EnableBaselineOutput$ = [3, n0, _EBO,
568
+ 0,
569
+ [_oI, _a],
570
+ [0, 0], 2
571
+ ];
572
+ var EnableControlInput$ = [3, n0, _ECI,
573
+ 0,
574
+ [_cI, _tI, _t, _p],
575
+ [0, 0, 128 | 0, () => EnabledControlParameters], 2
576
+ ];
577
+ var EnableControlOutput$ = [3, n0, _ECO,
578
+ 0,
579
+ [_oI, _a],
580
+ [0, 0], 1
581
+ ];
582
+ var EnabledBaselineDetails$ = [3, n0, _EBD,
583
+ 0,
584
+ [_a, _bI, _tI, _sS, _bV, _dSS, _pI, _p],
585
+ [0, 0, 0, () => EnablementStatusSummary$, 0, () => EnabledBaselineDriftStatusSummary$, 0, () => EnabledBaselineParameterSummaries], 4
586
+ ];
587
+ var EnabledBaselineDriftStatusSummary$ = [3, n0, _EBDSS,
588
+ 0,
589
+ [_ty],
590
+ [() => EnabledBaselineDriftTypes$]
591
+ ];
592
+ var EnabledBaselineDriftTypes$ = [3, n0, _EBDT,
593
+ 0,
594
+ [_i],
595
+ [() => EnabledBaselineInheritanceDrift$]
596
+ ];
597
+ var EnabledBaselineFilter$ = [3, n0, _EBF,
598
+ 0,
599
+ [_tIa, _bIa, _pIa, _sta, _iDS],
600
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0]
601
+ ];
602
+ var EnabledBaselineInheritanceDrift$ = [3, n0, _EBID,
603
+ 0,
604
+ [_st],
605
+ [0]
606
+ ];
607
+ var EnabledBaselineParameter$ = [3, n0, _EBP,
608
+ 0,
609
+ [_k, _va],
610
+ [0, 15], 2
611
+ ];
612
+ var EnabledBaselineParameterSummary$ = [3, n0, _EBPS,
613
+ 0,
614
+ [_k, _va],
615
+ [0, 15], 2
616
+ ];
617
+ var EnabledBaselineSummary$ = [3, n0, _EBS,
618
+ 0,
619
+ [_a, _bI, _tI, _sS, _bV, _dSS, _pI],
620
+ [0, 0, 0, () => EnablementStatusSummary$, 0, () => EnabledBaselineDriftStatusSummary$, 0], 4
621
+ ];
622
+ var EnabledControlDetails$ = [3, n0, _ECD,
623
+ 0,
624
+ [_a, _cI, _tI, _sS, _dSS, _pI, _tR, _p],
625
+ [0, 0, 0, () => EnablementStatusSummary$, () => DriftStatusSummary$, 0, () => TargetRegions, () => EnabledControlParameterSummaries]
626
+ ];
627
+ var EnabledControlDriftTypes$ = [3, n0, _ECDT,
628
+ 0,
629
+ [_i, _r],
630
+ [() => EnabledControlInheritanceDrift$, () => EnabledControlResourceDrift$]
631
+ ];
632
+ var EnabledControlFilter$ = [3, n0, _ECF,
633
+ 0,
634
+ [_cIo, _sta, _dSr, _pIa, _iDS, _rDS],
635
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0]
636
+ ];
637
+ var EnabledControlInheritanceDrift$ = [3, n0, _ECID,
638
+ 0,
639
+ [_st],
640
+ [0]
641
+ ];
642
+ var EnabledControlParameter$ = [3, n0, _ECP,
643
+ 0,
644
+ [_k, _va],
645
+ [0, 15], 2
646
+ ];
647
+ var EnabledControlParameterSummary$ = [3, n0, _ECPS,
648
+ 0,
649
+ [_k, _va],
650
+ [0, 15], 2
651
+ ];
652
+ var EnabledControlResourceDrift$ = [3, n0, _ECRD,
653
+ 0,
654
+ [_st],
655
+ [0]
656
+ ];
657
+ var EnabledControlSummary$ = [3, n0, _ECS,
658
+ 0,
659
+ [_a, _cI, _tI, _sS, _dSS, _pI],
660
+ [0, 0, 0, () => EnablementStatusSummary$, () => DriftStatusSummary$, 0]
661
+ ];
662
+ var EnablementStatusSummary$ = [3, n0, _ESS,
663
+ 0,
664
+ [_st, _lOI],
665
+ [0, 0]
666
+ ];
667
+ var GetBaselineInput$ = [3, n0, _GBI,
668
+ 0,
669
+ [_bI],
670
+ [0], 1
671
+ ];
672
+ var GetBaselineOperationInput$ = [3, n0, _GBOI,
673
+ 0,
674
+ [_oI],
675
+ [0], 1
676
+ ];
677
+ var GetBaselineOperationOutput$ = [3, n0, _GBOO,
678
+ 0,
679
+ [_bO],
680
+ [() => BaselineOperation$], 1
681
+ ];
682
+ var GetBaselineOutput$ = [3, n0, _GBO,
683
+ 0,
684
+ [_a, _n, _d],
685
+ [0, 0, 0], 2
686
+ ];
687
+ var GetControlOperationInput$ = [3, n0, _GCOI,
688
+ 0,
689
+ [_oI],
690
+ [0], 1
691
+ ];
692
+ var GetControlOperationOutput$ = [3, n0, _GCOO,
693
+ 0,
694
+ [_cO],
695
+ [() => ControlOperation$], 1
696
+ ];
697
+ var GetEnabledBaselineInput$ = [3, n0, _GEBI,
698
+ 0,
699
+ [_eBI],
700
+ [0], 1
701
+ ];
702
+ var GetEnabledBaselineOutput$ = [3, n0, _GEBO,
703
+ 0,
704
+ [_eBD],
705
+ [() => EnabledBaselineDetails$]
706
+ ];
707
+ var GetEnabledControlInput$ = [3, n0, _GECI,
708
+ 0,
709
+ [_eCI],
710
+ [0], 1
711
+ ];
712
+ var GetEnabledControlOutput$ = [3, n0, _GECO,
713
+ 0,
714
+ [_eCD],
715
+ [() => EnabledControlDetails$], 1
716
+ ];
717
+ var GetLandingZoneInput$ = [3, n0, _GLZI,
718
+ 0,
719
+ [_lZI],
720
+ [0], 1
721
+ ];
722
+ var GetLandingZoneOperationInput$ = [3, n0, _GLZOI,
723
+ 0,
724
+ [_oI],
725
+ [0], 1
726
+ ];
727
+ var GetLandingZoneOperationOutput$ = [3, n0, _GLZOO,
728
+ 0,
729
+ [_oD],
730
+ [() => LandingZoneOperationDetail$], 1
731
+ ];
732
+ var GetLandingZoneOutput$ = [3, n0, _GLZO,
733
+ 0,
734
+ [_lZ],
735
+ [() => LandingZoneDetail$], 1
736
+ ];
737
+ var LandingZoneDetail$ = [3, n0, _LZD,
738
+ 0,
739
+ [_v, _ma, _rT, _a, _st, _lAV, _dS],
740
+ [0, 15, 64 | 0, 0, 0, 0, () => LandingZoneDriftStatusSummary$], 2
741
+ ];
742
+ var LandingZoneDriftStatusSummary$ = [3, n0, _LZDSS,
743
+ 0,
744
+ [_st],
745
+ [0]
746
+ ];
747
+ var LandingZoneOperationDetail$ = [3, n0, _LZOD,
748
+ 0,
749
+ [_oT, _oI, _st, _sT, _eT, _sM],
750
+ [0, 0, 0, 5, 5, 0]
751
+ ];
752
+ var LandingZoneOperationFilter$ = [3, n0, _LZOF,
753
+ 0,
754
+ [_ty, _sta],
755
+ [64 | 0, 64 | 0]
756
+ ];
757
+ var LandingZoneOperationSummary$ = [3, n0, _LZOS,
758
+ 0,
759
+ [_oT, _oI, _st],
760
+ [0, 0, 0]
761
+ ];
762
+ var LandingZoneSummary$ = [3, n0, _LZS,
763
+ 0,
764
+ [_a],
765
+ [0]
766
+ ];
767
+ var ListBaselinesInput$ = [3, n0, _LBI,
768
+ 0,
769
+ [_nT, _mR],
770
+ [0, 1]
771
+ ];
772
+ var ListBaselinesOutput$ = [3, n0, _LBO,
773
+ 0,
774
+ [_b, _nT],
775
+ [() => Baselines, 0], 1
776
+ ];
777
+ var ListControlOperationsInput$ = [3, n0, _LCOI,
778
+ 0,
779
+ [_f, _nT, _mR],
780
+ [() => ControlOperationFilter$, 0, 1]
781
+ ];
782
+ var ListControlOperationsOutput$ = [3, n0, _LCOO,
783
+ 0,
784
+ [_cOo, _nT],
785
+ [() => ControlOperations, 0], 1
786
+ ];
787
+ var ListEnabledBaselinesInput$ = [3, n0, _LEBI,
788
+ 0,
789
+ [_f, _nT, _mR, _iC],
790
+ [() => EnabledBaselineFilter$, 0, 1, 2]
791
+ ];
792
+ var ListEnabledBaselinesOutput$ = [3, n0, _LEBO,
793
+ 0,
794
+ [_eB, _nT],
795
+ [() => EnabledBaselines, 0], 1
796
+ ];
797
+ var ListEnabledControlsInput$ = [3, n0, _LECI,
798
+ 0,
799
+ [_tI, _nT, _mR, _f, _iC],
800
+ [0, 0, 1, () => EnabledControlFilter$, 2]
801
+ ];
802
+ var ListEnabledControlsOutput$ = [3, n0, _LECO,
803
+ 0,
804
+ [_eC, _nT],
805
+ [() => EnabledControls, 0], 1
806
+ ];
807
+ var ListLandingZoneOperationsInput$ = [3, n0, _LLZOI,
808
+ 0,
809
+ [_f, _nT, _mR],
810
+ [() => LandingZoneOperationFilter$, 0, 1]
811
+ ];
812
+ var ListLandingZoneOperationsOutput$ = [3, n0, _LLZOO,
813
+ 0,
814
+ [_lZO, _nT],
815
+ [() => LandingZoneOperations, 0], 1
816
+ ];
817
+ var ListLandingZonesInput$ = [3, n0, _LLZI,
818
+ 0,
819
+ [_nT, _mR],
820
+ [0, 1]
821
+ ];
822
+ var ListLandingZonesOutput$ = [3, n0, _LLZO,
823
+ 0,
824
+ [_lZa, _nT],
825
+ [() => LandingZoneSummaries, 0], 1
826
+ ];
827
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
828
+ 0,
829
+ [_rA],
830
+ [[0, 1]], 1
831
+ ];
832
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
833
+ 0,
834
+ [_t],
835
+ [128 | 0], 1
836
+ ];
837
+ var Region$ = [3, n0, _R,
838
+ 0,
839
+ [_n],
840
+ [0]
841
+ ];
842
+ var ResetEnabledBaselineInput$ = [3, n0, _REBI,
843
+ 0,
844
+ [_eBI],
845
+ [0], 1
846
+ ];
847
+ var ResetEnabledBaselineOutput$ = [3, n0, _REBO,
848
+ 0,
849
+ [_oI],
850
+ [0], 1
851
+ ];
852
+ var ResetEnabledControlInput$ = [3, n0, _RECI,
853
+ 0,
854
+ [_eCI],
855
+ [0], 1
856
+ ];
857
+ var ResetEnabledControlOutput$ = [3, n0, _RECO,
858
+ 0,
859
+ [_oI],
860
+ [0], 1
861
+ ];
862
+ var ResetLandingZoneInput$ = [3, n0, _RLZI,
863
+ 0,
864
+ [_lZI],
865
+ [0], 1
866
+ ];
867
+ var ResetLandingZoneOutput$ = [3, n0, _RLZO,
868
+ 0,
869
+ [_oI],
870
+ [0], 1
871
+ ];
872
+ var TagResourceInput$ = [3, n0, _TRI,
873
+ 0,
874
+ [_rA, _t],
875
+ [[0, 1], 128 | 0], 2
876
+ ];
877
+ var TagResourceOutput$ = [3, n0, _TRO,
878
+ 0,
879
+ [],
880
+ []
881
+ ];
882
+ var UntagResourceInput$ = [3, n0, _URI,
883
+ 0,
884
+ [_rA, _tK],
885
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
886
+ ];
887
+ var UntagResourceOutput$ = [3, n0, _URO,
888
+ 0,
889
+ [],
890
+ []
891
+ ];
892
+ var UpdateEnabledBaselineInput$ = [3, n0, _UEBI,
893
+ 0,
894
+ [_bV, _eBI, _p],
895
+ [0, 0, () => EnabledBaselineParameters], 2
896
+ ];
897
+ var UpdateEnabledBaselineOutput$ = [3, n0, _UEBO,
898
+ 0,
899
+ [_oI],
900
+ [0], 1
901
+ ];
902
+ var UpdateEnabledControlInput$ = [3, n0, _UECI,
903
+ 0,
904
+ [_p, _eCI],
905
+ [() => EnabledControlParameters, 0], 2
906
+ ];
907
+ var UpdateEnabledControlOutput$ = [3, n0, _UECO,
908
+ 0,
909
+ [_oI],
910
+ [0], 1
911
+ ];
912
+ var UpdateLandingZoneInput$ = [3, n0, _ULZI,
913
+ 0,
914
+ [_v, _lZI, _rT, _ma],
915
+ [0, 0, 64 | 0, 15], 2
916
+ ];
917
+ var UpdateLandingZoneOutput$ = [3, n0, _ULZO,
918
+ 0,
919
+ [_oI],
920
+ [0], 1
921
+ ];
922
+ var Baselines = [1, n0, _B,
923
+ 0, () => BaselineSummary$
924
+ ];
925
+ var ControlOperations = [1, n0, _COo,
926
+ 0, () => ControlOperationSummary$
927
+ ];
928
+ var EnabledBaselineParameters = [1, n0, _EBPn,
929
+ 0, () => EnabledBaselineParameter$
930
+ ];
931
+ var EnabledBaselineParameterSummaries = [1, n0, _EBPSn,
932
+ 0, () => EnabledBaselineParameterSummary$
933
+ ];
934
+ var EnabledBaselines = [1, n0, _EB,
935
+ 0, () => EnabledBaselineSummary$
936
+ ];
937
+ var EnabledControlParameters = [1, n0, _ECPn,
938
+ 0, () => EnabledControlParameter$
939
+ ];
940
+ var EnabledControlParameterSummaries = [1, n0, _ECPSn,
941
+ 0, () => EnabledControlParameterSummary$
942
+ ];
943
+ var EnabledControls = [1, n0, _EC,
944
+ 0, () => EnabledControlSummary$
945
+ ];
946
+ var LandingZoneOperations = [1, n0, _LZO,
947
+ 0, () => LandingZoneOperationSummary$
948
+ ];
949
+ var LandingZoneSummaries = [1, n0, _LZSa,
950
+ 0, () => LandingZoneSummary$
951
+ ];
952
+ var TargetRegions = [1, n0, _TR,
953
+ 0, () => Region$
954
+ ];
955
+ var CreateLandingZone$ = [9, n0, _CLZ,
956
+ { [_h]: ["POST", "/create-landingzone", 200] }, () => CreateLandingZoneInput$, () => CreateLandingZoneOutput$
957
+ ];
958
+ var DeleteLandingZone$ = [9, n0, _DLZ,
959
+ { [_h]: ["POST", "/delete-landingzone", 200] }, () => DeleteLandingZoneInput$, () => DeleteLandingZoneOutput$
960
+ ];
961
+ var DisableBaseline$ = [9, n0, _DB,
962
+ { [_h]: ["POST", "/disable-baseline", 200] }, () => DisableBaselineInput$, () => DisableBaselineOutput$
963
+ ];
964
+ var DisableControl$ = [9, n0, _DC,
965
+ { [_h]: ["POST", "/disable-control", 200] }, () => DisableControlInput$, () => DisableControlOutput$
966
+ ];
967
+ var EnableBaseline$ = [9, n0, _EBn,
968
+ { [_h]: ["POST", "/enable-baseline", 200] }, () => EnableBaselineInput$, () => EnableBaselineOutput$
969
+ ];
970
+ var EnableControl$ = [9, n0, _ECn,
971
+ { [_h]: ["POST", "/enable-control", 200] }, () => EnableControlInput$, () => EnableControlOutput$
972
+ ];
973
+ var GetBaseline$ = [9, n0, _GB,
974
+ { [_h]: ["POST", "/get-baseline", 200] }, () => GetBaselineInput$, () => GetBaselineOutput$
975
+ ];
976
+ var GetBaselineOperation$ = [9, n0, _GBOe,
977
+ { [_h]: ["POST", "/get-baseline-operation", 200] }, () => GetBaselineOperationInput$, () => GetBaselineOperationOutput$
978
+ ];
979
+ var GetControlOperation$ = [9, n0, _GCO,
980
+ { [_h]: ["POST", "/get-control-operation", 200] }, () => GetControlOperationInput$, () => GetControlOperationOutput$
981
+ ];
982
+ var GetEnabledBaseline$ = [9, n0, _GEB,
983
+ { [_h]: ["POST", "/get-enabled-baseline", 200] }, () => GetEnabledBaselineInput$, () => GetEnabledBaselineOutput$
984
+ ];
985
+ var GetEnabledControl$ = [9, n0, _GEC,
986
+ { [_h]: ["POST", "/get-enabled-control", 200] }, () => GetEnabledControlInput$, () => GetEnabledControlOutput$
987
+ ];
988
+ var GetLandingZone$ = [9, n0, _GLZ,
989
+ { [_h]: ["POST", "/get-landingzone", 200] }, () => GetLandingZoneInput$, () => GetLandingZoneOutput$
990
+ ];
991
+ var GetLandingZoneOperation$ = [9, n0, _GLZOe,
992
+ { [_h]: ["POST", "/get-landingzone-operation", 200] }, () => GetLandingZoneOperationInput$, () => GetLandingZoneOperationOutput$
993
+ ];
994
+ var ListBaselines$ = [9, n0, _LB,
995
+ { [_h]: ["POST", "/list-baselines", 200] }, () => ListBaselinesInput$, () => ListBaselinesOutput$
996
+ ];
997
+ var ListControlOperations$ = [9, n0, _LCO,
998
+ { [_h]: ["POST", "/list-control-operations", 200] }, () => ListControlOperationsInput$, () => ListControlOperationsOutput$
999
+ ];
1000
+ var ListEnabledBaselines$ = [9, n0, _LEB,
1001
+ { [_h]: ["POST", "/list-enabled-baselines", 200] }, () => ListEnabledBaselinesInput$, () => ListEnabledBaselinesOutput$
1002
+ ];
1003
+ var ListEnabledControls$ = [9, n0, _LEC,
1004
+ { [_h]: ["POST", "/list-enabled-controls", 200] }, () => ListEnabledControlsInput$, () => ListEnabledControlsOutput$
1005
+ ];
1006
+ var ListLandingZoneOperations$ = [9, n0, _LLZOi,
1007
+ { [_h]: ["POST", "/list-landingzone-operations", 200] }, () => ListLandingZoneOperationsInput$, () => ListLandingZoneOperationsOutput$
1008
+ ];
1009
+ var ListLandingZones$ = [9, n0, _LLZ,
1010
+ { [_h]: ["POST", "/list-landingzones", 200] }, () => ListLandingZonesInput$, () => ListLandingZonesOutput$
1011
+ ];
1012
+ var ListTagsForResource$ = [9, n0, _LTFR,
1013
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1014
+ ];
1015
+ var ResetEnabledBaseline$ = [9, n0, _REB,
1016
+ { [_h]: ["POST", "/reset-enabled-baseline", 200] }, () => ResetEnabledBaselineInput$, () => ResetEnabledBaselineOutput$
1017
+ ];
1018
+ var ResetEnabledControl$ = [9, n0, _REC,
1019
+ { [_h]: ["POST", "/reset-enabled-control", 200] }, () => ResetEnabledControlInput$, () => ResetEnabledControlOutput$
1020
+ ];
1021
+ var ResetLandingZone$ = [9, n0, _RLZ,
1022
+ { [_h]: ["POST", "/reset-landingzone", 200] }, () => ResetLandingZoneInput$, () => ResetLandingZoneOutput$
1023
+ ];
1024
+ var TagResource$ = [9, n0, _TRa,
1025
+ { [_h]: ["POST", "/tags/{resourceArn}", 204] }, () => TagResourceInput$, () => TagResourceOutput$
1026
+ ];
1027
+ var UntagResource$ = [9, n0, _UR,
1028
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 204] }, () => UntagResourceInput$, () => UntagResourceOutput$
1029
+ ];
1030
+ var UpdateEnabledBaseline$ = [9, n0, _UEB,
1031
+ { [_h]: ["POST", "/update-enabled-baseline", 200] }, () => UpdateEnabledBaselineInput$, () => UpdateEnabledBaselineOutput$
1032
+ ];
1033
+ var UpdateEnabledControl$ = [9, n0, _UEC,
1034
+ { [_h]: ["POST", "/update-enabled-control", 200] }, () => UpdateEnabledControlInput$, () => UpdateEnabledControlOutput$
1035
+ ];
1036
+ var UpdateLandingZone$ = [9, n0, _ULZ,
1037
+ { [_h]: ["POST", "/update-landingzone", 200] }, () => UpdateLandingZoneInput$, () => UpdateLandingZoneOutput$
1038
+ ];
1039
+
1040
+ const getRuntimeConfig$1 = (config) => {
1041
+ return {
1042
+ apiVersion: "2018-05-10",
1043
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1044
+ base64Encoder: config?.base64Encoder ?? toBase64,
1045
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1046
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1047
+ extensions: config?.extensions ?? [],
1048
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultControlTowerHttpAuthSchemeProvider,
1049
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1050
+ {
1051
+ schemeId: "aws.auth#sigv4",
1052
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1053
+ signer: new AwsSdkSigV4Signer(),
1054
+ },
1055
+ ],
1056
+ logger: config?.logger ?? new NoOpLogger(),
1057
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1058
+ protocolSettings: config?.protocolSettings ?? {
1059
+ defaultNamespace: "com.amazonaws.controltower",
1060
+ errorTypeRegistries,
1061
+ version: "2018-05-10",
1062
+ serviceTarget: "AWSControlTowerApis",
1063
+ },
1064
+ serviceId: config?.serviceId ?? "ControlTower",
1065
+ sha256: config?.sha256 ?? Sha256,
1066
+ urlParser: config?.urlParser ?? parseUrl,
1067
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1068
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1069
+ };
1070
+ };
1071
+
1072
+ const getRuntimeConfig = (config) => {
1073
+ emitWarningIfUnsupportedVersion(process.version);
1074
+ const defaultsMode = resolveDefaultsModeConfig(config);
1075
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1076
+ const clientSharedValues = getRuntimeConfig$1(config);
1077
+ emitWarningIfUnsupportedVersion$1(process.version);
1078
+ const loaderConfig = {
1079
+ profile: config?.profile,
1080
+ logger: clientSharedValues.logger,
1081
+ };
1082
+ return {
1083
+ ...clientSharedValues,
1084
+ ...config,
1085
+ runtime: "node",
1086
+ defaultsMode,
1087
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1088
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1089
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1090
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1091
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1092
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1093
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1094
+ retryMode: config?.retryMode ??
1095
+ loadConfig({
1096
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1097
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1098
+ }, config),
1099
+ streamCollector: config?.streamCollector ?? streamCollector,
1100
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1101
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1102
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1103
+ };
1104
+ };
1105
+
34
1106
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1107
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1108
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -562,48 +1634,179 @@ const LandingZoneStatus = {
562
1634
  PROCESSING: "PROCESSING",
563
1635
  };
564
1636
 
1637
+ exports.AccessDeniedException = AccessDeniedException;
1638
+ exports.AccessDeniedException$ = AccessDeniedException$;
1639
+ exports.BaselineOperation$ = BaselineOperation$;
565
1640
  exports.BaselineOperationStatus = BaselineOperationStatus;
566
1641
  exports.BaselineOperationType = BaselineOperationType;
1642
+ exports.BaselineSummary$ = BaselineSummary$;
1643
+ exports.ConflictException = ConflictException;
1644
+ exports.ConflictException$ = ConflictException$;
1645
+ exports.ControlOperation$ = ControlOperation$;
1646
+ exports.ControlOperationFilter$ = ControlOperationFilter$;
567
1647
  exports.ControlOperationStatus = ControlOperationStatus;
1648
+ exports.ControlOperationSummary$ = ControlOperationSummary$;
568
1649
  exports.ControlOperationType = ControlOperationType;
569
1650
  exports.ControlTower = ControlTower;
570
1651
  exports.ControlTowerClient = ControlTowerClient;
1652
+ exports.ControlTowerServiceException = ControlTowerServiceException;
1653
+ exports.ControlTowerServiceException$ = ControlTowerServiceException$;
1654
+ exports.CreateLandingZone$ = CreateLandingZone$;
571
1655
  exports.CreateLandingZoneCommand = CreateLandingZoneCommand;
1656
+ exports.CreateLandingZoneInput$ = CreateLandingZoneInput$;
1657
+ exports.CreateLandingZoneOutput$ = CreateLandingZoneOutput$;
1658
+ exports.DeleteLandingZone$ = DeleteLandingZone$;
572
1659
  exports.DeleteLandingZoneCommand = DeleteLandingZoneCommand;
1660
+ exports.DeleteLandingZoneInput$ = DeleteLandingZoneInput$;
1661
+ exports.DeleteLandingZoneOutput$ = DeleteLandingZoneOutput$;
1662
+ exports.DisableBaseline$ = DisableBaseline$;
573
1663
  exports.DisableBaselineCommand = DisableBaselineCommand;
1664
+ exports.DisableBaselineInput$ = DisableBaselineInput$;
1665
+ exports.DisableBaselineOutput$ = DisableBaselineOutput$;
1666
+ exports.DisableControl$ = DisableControl$;
574
1667
  exports.DisableControlCommand = DisableControlCommand;
1668
+ exports.DisableControlInput$ = DisableControlInput$;
1669
+ exports.DisableControlOutput$ = DisableControlOutput$;
575
1670
  exports.DriftStatus = DriftStatus;
1671
+ exports.DriftStatusSummary$ = DriftStatusSummary$;
1672
+ exports.EnableBaseline$ = EnableBaseline$;
576
1673
  exports.EnableBaselineCommand = EnableBaselineCommand;
1674
+ exports.EnableBaselineInput$ = EnableBaselineInput$;
1675
+ exports.EnableBaselineOutput$ = EnableBaselineOutput$;
1676
+ exports.EnableControl$ = EnableControl$;
577
1677
  exports.EnableControlCommand = EnableControlCommand;
1678
+ exports.EnableControlInput$ = EnableControlInput$;
1679
+ exports.EnableControlOutput$ = EnableControlOutput$;
1680
+ exports.EnabledBaselineDetails$ = EnabledBaselineDetails$;
578
1681
  exports.EnabledBaselineDriftStatus = EnabledBaselineDriftStatus;
1682
+ exports.EnabledBaselineDriftStatusSummary$ = EnabledBaselineDriftStatusSummary$;
1683
+ exports.EnabledBaselineDriftTypes$ = EnabledBaselineDriftTypes$;
1684
+ exports.EnabledBaselineFilter$ = EnabledBaselineFilter$;
1685
+ exports.EnabledBaselineInheritanceDrift$ = EnabledBaselineInheritanceDrift$;
1686
+ exports.EnabledBaselineParameter$ = EnabledBaselineParameter$;
1687
+ exports.EnabledBaselineParameterSummary$ = EnabledBaselineParameterSummary$;
1688
+ exports.EnabledBaselineSummary$ = EnabledBaselineSummary$;
1689
+ exports.EnabledControlDetails$ = EnabledControlDetails$;
1690
+ exports.EnabledControlDriftTypes$ = EnabledControlDriftTypes$;
1691
+ exports.EnabledControlFilter$ = EnabledControlFilter$;
1692
+ exports.EnabledControlInheritanceDrift$ = EnabledControlInheritanceDrift$;
1693
+ exports.EnabledControlParameter$ = EnabledControlParameter$;
1694
+ exports.EnabledControlParameterSummary$ = EnabledControlParameterSummary$;
1695
+ exports.EnabledControlResourceDrift$ = EnabledControlResourceDrift$;
1696
+ exports.EnabledControlSummary$ = EnabledControlSummary$;
579
1697
  exports.EnablementStatus = EnablementStatus;
1698
+ exports.EnablementStatusSummary$ = EnablementStatusSummary$;
1699
+ exports.GetBaseline$ = GetBaseline$;
580
1700
  exports.GetBaselineCommand = GetBaselineCommand;
1701
+ exports.GetBaselineInput$ = GetBaselineInput$;
1702
+ exports.GetBaselineOperation$ = GetBaselineOperation$;
581
1703
  exports.GetBaselineOperationCommand = GetBaselineOperationCommand;
1704
+ exports.GetBaselineOperationInput$ = GetBaselineOperationInput$;
1705
+ exports.GetBaselineOperationOutput$ = GetBaselineOperationOutput$;
1706
+ exports.GetBaselineOutput$ = GetBaselineOutput$;
1707
+ exports.GetControlOperation$ = GetControlOperation$;
582
1708
  exports.GetControlOperationCommand = GetControlOperationCommand;
1709
+ exports.GetControlOperationInput$ = GetControlOperationInput$;
1710
+ exports.GetControlOperationOutput$ = GetControlOperationOutput$;
1711
+ exports.GetEnabledBaseline$ = GetEnabledBaseline$;
583
1712
  exports.GetEnabledBaselineCommand = GetEnabledBaselineCommand;
1713
+ exports.GetEnabledBaselineInput$ = GetEnabledBaselineInput$;
1714
+ exports.GetEnabledBaselineOutput$ = GetEnabledBaselineOutput$;
1715
+ exports.GetEnabledControl$ = GetEnabledControl$;
584
1716
  exports.GetEnabledControlCommand = GetEnabledControlCommand;
1717
+ exports.GetEnabledControlInput$ = GetEnabledControlInput$;
1718
+ exports.GetEnabledControlOutput$ = GetEnabledControlOutput$;
1719
+ exports.GetLandingZone$ = GetLandingZone$;
585
1720
  exports.GetLandingZoneCommand = GetLandingZoneCommand;
1721
+ exports.GetLandingZoneInput$ = GetLandingZoneInput$;
1722
+ exports.GetLandingZoneOperation$ = GetLandingZoneOperation$;
586
1723
  exports.GetLandingZoneOperationCommand = GetLandingZoneOperationCommand;
1724
+ exports.GetLandingZoneOperationInput$ = GetLandingZoneOperationInput$;
1725
+ exports.GetLandingZoneOperationOutput$ = GetLandingZoneOperationOutput$;
1726
+ exports.GetLandingZoneOutput$ = GetLandingZoneOutput$;
1727
+ exports.InternalServerException = InternalServerException;
1728
+ exports.InternalServerException$ = InternalServerException$;
1729
+ exports.LandingZoneDetail$ = LandingZoneDetail$;
587
1730
  exports.LandingZoneDriftStatus = LandingZoneDriftStatus;
1731
+ exports.LandingZoneDriftStatusSummary$ = LandingZoneDriftStatusSummary$;
1732
+ exports.LandingZoneOperationDetail$ = LandingZoneOperationDetail$;
1733
+ exports.LandingZoneOperationFilter$ = LandingZoneOperationFilter$;
588
1734
  exports.LandingZoneOperationStatus = LandingZoneOperationStatus;
1735
+ exports.LandingZoneOperationSummary$ = LandingZoneOperationSummary$;
589
1736
  exports.LandingZoneOperationType = LandingZoneOperationType;
590
1737
  exports.LandingZoneStatus = LandingZoneStatus;
1738
+ exports.LandingZoneSummary$ = LandingZoneSummary$;
1739
+ exports.ListBaselines$ = ListBaselines$;
591
1740
  exports.ListBaselinesCommand = ListBaselinesCommand;
1741
+ exports.ListBaselinesInput$ = ListBaselinesInput$;
1742
+ exports.ListBaselinesOutput$ = ListBaselinesOutput$;
1743
+ exports.ListControlOperations$ = ListControlOperations$;
592
1744
  exports.ListControlOperationsCommand = ListControlOperationsCommand;
1745
+ exports.ListControlOperationsInput$ = ListControlOperationsInput$;
1746
+ exports.ListControlOperationsOutput$ = ListControlOperationsOutput$;
1747
+ exports.ListEnabledBaselines$ = ListEnabledBaselines$;
593
1748
  exports.ListEnabledBaselinesCommand = ListEnabledBaselinesCommand;
1749
+ exports.ListEnabledBaselinesInput$ = ListEnabledBaselinesInput$;
1750
+ exports.ListEnabledBaselinesOutput$ = ListEnabledBaselinesOutput$;
1751
+ exports.ListEnabledControls$ = ListEnabledControls$;
594
1752
  exports.ListEnabledControlsCommand = ListEnabledControlsCommand;
1753
+ exports.ListEnabledControlsInput$ = ListEnabledControlsInput$;
1754
+ exports.ListEnabledControlsOutput$ = ListEnabledControlsOutput$;
1755
+ exports.ListLandingZoneOperations$ = ListLandingZoneOperations$;
595
1756
  exports.ListLandingZoneOperationsCommand = ListLandingZoneOperationsCommand;
1757
+ exports.ListLandingZoneOperationsInput$ = ListLandingZoneOperationsInput$;
1758
+ exports.ListLandingZoneOperationsOutput$ = ListLandingZoneOperationsOutput$;
1759
+ exports.ListLandingZones$ = ListLandingZones$;
596
1760
  exports.ListLandingZonesCommand = ListLandingZonesCommand;
1761
+ exports.ListLandingZonesInput$ = ListLandingZonesInput$;
1762
+ exports.ListLandingZonesOutput$ = ListLandingZonesOutput$;
1763
+ exports.ListTagsForResource$ = ListTagsForResource$;
597
1764
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1765
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1766
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1767
+ exports.Region$ = Region$;
598
1768
  exports.RemediationType = RemediationType;
1769
+ exports.ResetEnabledBaseline$ = ResetEnabledBaseline$;
599
1770
  exports.ResetEnabledBaselineCommand = ResetEnabledBaselineCommand;
1771
+ exports.ResetEnabledBaselineInput$ = ResetEnabledBaselineInput$;
1772
+ exports.ResetEnabledBaselineOutput$ = ResetEnabledBaselineOutput$;
1773
+ exports.ResetEnabledControl$ = ResetEnabledControl$;
600
1774
  exports.ResetEnabledControlCommand = ResetEnabledControlCommand;
1775
+ exports.ResetEnabledControlInput$ = ResetEnabledControlInput$;
1776
+ exports.ResetEnabledControlOutput$ = ResetEnabledControlOutput$;
1777
+ exports.ResetLandingZone$ = ResetLandingZone$;
601
1778
  exports.ResetLandingZoneCommand = ResetLandingZoneCommand;
1779
+ exports.ResetLandingZoneInput$ = ResetLandingZoneInput$;
1780
+ exports.ResetLandingZoneOutput$ = ResetLandingZoneOutput$;
1781
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1782
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1783
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1784
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1785
+ exports.TagResource$ = TagResource$;
602
1786
  exports.TagResourceCommand = TagResourceCommand;
1787
+ exports.TagResourceInput$ = TagResourceInput$;
1788
+ exports.TagResourceOutput$ = TagResourceOutput$;
1789
+ exports.ThrottlingException = ThrottlingException;
1790
+ exports.ThrottlingException$ = ThrottlingException$;
1791
+ exports.UntagResource$ = UntagResource$;
603
1792
  exports.UntagResourceCommand = UntagResourceCommand;
1793
+ exports.UntagResourceInput$ = UntagResourceInput$;
1794
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
1795
+ exports.UpdateEnabledBaseline$ = UpdateEnabledBaseline$;
604
1796
  exports.UpdateEnabledBaselineCommand = UpdateEnabledBaselineCommand;
1797
+ exports.UpdateEnabledBaselineInput$ = UpdateEnabledBaselineInput$;
1798
+ exports.UpdateEnabledBaselineOutput$ = UpdateEnabledBaselineOutput$;
1799
+ exports.UpdateEnabledControl$ = UpdateEnabledControl$;
605
1800
  exports.UpdateEnabledControlCommand = UpdateEnabledControlCommand;
1801
+ exports.UpdateEnabledControlInput$ = UpdateEnabledControlInput$;
1802
+ exports.UpdateEnabledControlOutput$ = UpdateEnabledControlOutput$;
1803
+ exports.UpdateLandingZone$ = UpdateLandingZone$;
606
1804
  exports.UpdateLandingZoneCommand = UpdateLandingZoneCommand;
1805
+ exports.UpdateLandingZoneInput$ = UpdateLandingZoneInput$;
1806
+ exports.UpdateLandingZoneOutput$ = UpdateLandingZoneOutput$;
1807
+ exports.ValidationException = ValidationException;
1808
+ exports.ValidationException$ = ValidationException$;
1809
+ exports.errorTypeRegistries = errorTypeRegistries;
607
1810
  exports.paginateListBaselines = paginateListBaselines;
608
1811
  exports.paginateListControlOperations = paginateListControlOperations;
609
1812
  exports.paginateListEnabledBaselines = paginateListEnabledBaselines;