@aws-sdk/client-controltower 3.511.0 → 3.514.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +81 -9
  2. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/commands/DisableBaselineCommand.js +1 -0
  5. package/dist-cjs/commands/EnableBaselineCommand.js +1 -0
  6. package/dist-cjs/commands/GetBaselineCommand.js +1 -0
  7. package/dist-cjs/commands/GetBaselineOperationCommand.js +1 -0
  8. package/dist-cjs/commands/GetEnabledBaselineCommand.js +1 -0
  9. package/dist-cjs/commands/ListBaselinesCommand.js +1 -0
  10. package/dist-cjs/commands/ListEnabledBaselinesCommand.js +1 -0
  11. package/dist-cjs/commands/ResetEnabledBaselineCommand.js +1 -0
  12. package/dist-cjs/commands/UpdateEnabledBaselineCommand.js +1 -0
  13. package/dist-cjs/index.js +638 -49
  14. package/dist-cjs/pagination/ListBaselinesPaginator.js +1 -0
  15. package/dist-cjs/pagination/ListEnabledBaselinesPaginator.js +1 -0
  16. package/dist-cjs/runtimeConfig.shared.js +10 -0
  17. package/dist-es/ControlTower.js +18 -0
  18. package/dist-es/ControlTowerClient.js +17 -4
  19. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  20. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  21. package/dist-es/commands/DisableBaselineCommand.js +24 -0
  22. package/dist-es/commands/EnableBaselineCommand.js +24 -0
  23. package/dist-es/commands/GetBaselineCommand.js +24 -0
  24. package/dist-es/commands/GetBaselineOperationCommand.js +24 -0
  25. package/dist-es/commands/GetEnabledBaselineCommand.js +24 -0
  26. package/dist-es/commands/ListBaselinesCommand.js +24 -0
  27. package/dist-es/commands/ListEnabledBaselinesCommand.js +24 -0
  28. package/dist-es/commands/ResetEnabledBaselineCommand.js +24 -0
  29. package/dist-es/commands/UpdateEnabledBaselineCommand.js +24 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/models/models_0.js +40 -29
  32. package/dist-es/pagination/ListBaselinesPaginator.js +4 -0
  33. package/dist-es/pagination/ListEnabledBaselinesPaginator.js +4 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_restJson1.js +310 -0
  36. package/dist-es/runtimeConfig.shared.js +10 -0
  37. package/dist-es/runtimeExtensions.js +3 -0
  38. package/dist-types/ControlTower.d.ts +65 -2
  39. package/dist-types/ControlTowerClient.d.ts +26 -15
  40. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  41. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  42. package/dist-types/commands/CreateLandingZoneCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +1 -1
  44. package/dist-types/commands/DisableBaselineCommand.d.ts +79 -0
  45. package/dist-types/commands/DisableControlCommand.d.ts +2 -2
  46. package/dist-types/commands/EnableBaselineCommand.d.ts +91 -0
  47. package/dist-types/commands/EnableControlCommand.d.ts +1 -1
  48. package/dist-types/commands/GetBaselineCommand.d.ts +75 -0
  49. package/dist-types/commands/GetBaselineOperationCommand.d.ts +80 -0
  50. package/dist-types/commands/GetControlOperationCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnabledBaselineCommand.d.ts +88 -0
  52. package/dist-types/commands/GetEnabledControlCommand.d.ts +1 -1
  53. package/dist-types/commands/GetLandingZoneCommand.d.ts +1 -1
  54. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +1 -1
  55. package/dist-types/commands/ListBaselinesCommand.d.ts +78 -0
  56. package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +91 -0
  57. package/dist-types/commands/ListEnabledControlsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListLandingZonesCommand.d.ts +1 -1
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  60. package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +79 -0
  61. package/dist-types/commands/ResetLandingZoneCommand.d.ts +1 -1
  62. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +86 -0
  65. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +1 -1
  67. package/dist-types/commands/index.d.ts +9 -0
  68. package/dist-types/extensionConfiguration.d.ts +2 -1
  69. package/dist-types/index.d.ts +2 -2
  70. package/dist-types/models/models_0.d.ts +541 -94
  71. package/dist-types/pagination/ListBaselinesPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListEnabledBaselinesPaginator.d.ts +7 -0
  73. package/dist-types/pagination/index.d.ts +2 -0
  74. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  75. package/dist-types/runtimeConfig.browser.d.ts +5 -3
  76. package/dist-types/runtimeConfig.d.ts +4 -2
  77. package/dist-types/runtimeConfig.native.d.ts +6 -4
  78. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  79. package/dist-types/ts3.4/ControlTower.d.ts +153 -0
  80. package/dist-types/ts3.4/ControlTowerClient.d.ts +65 -9
  81. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  82. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  83. package/dist-types/ts3.4/commands/DisableBaselineCommand.d.ts +29 -0
  84. package/dist-types/ts3.4/commands/EnableBaselineCommand.d.ts +26 -0
  85. package/dist-types/ts3.4/commands/GetBaselineCommand.d.ts +26 -0
  86. package/dist-types/ts3.4/commands/GetBaselineOperationCommand.d.ts +30 -0
  87. package/dist-types/ts3.4/commands/GetEnabledBaselineCommand.d.ts +30 -0
  88. package/dist-types/ts3.4/commands/ListBaselinesCommand.d.ts +26 -0
  89. package/dist-types/ts3.4/commands/ListEnabledBaselinesCommand.d.ts +30 -0
  90. package/dist-types/ts3.4/commands/ResetEnabledBaselineCommand.d.ts +30 -0
  91. package/dist-types/ts3.4/commands/UpdateEnabledBaselineCommand.d.ts +30 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  93. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  94. package/dist-types/ts3.4/models/models_0.d.ts +151 -28
  95. package/dist-types/ts3.4/pagination/ListBaselinesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListEnabledBaselinesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  99. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  100. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  101. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
  102. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  103. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -22,6 +22,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ BaselineOperationStatus: () => BaselineOperationStatus,
26
+ BaselineOperationType: () => BaselineOperationType,
25
27
  ConflictException: () => ConflictException,
26
28
  ControlOperationStatus: () => ControlOperationStatus,
27
29
  ControlOperationType: () => ControlOperationType,
@@ -30,11 +32,16 @@ __export(src_exports, {
30
32
  ControlTowerServiceException: () => ControlTowerServiceException,
31
33
  CreateLandingZoneCommand: () => CreateLandingZoneCommand,
32
34
  DeleteLandingZoneCommand: () => DeleteLandingZoneCommand,
35
+ DisableBaselineCommand: () => DisableBaselineCommand,
33
36
  DisableControlCommand: () => DisableControlCommand,
34
37
  DriftStatus: () => DriftStatus,
38
+ EnableBaselineCommand: () => EnableBaselineCommand,
35
39
  EnableControlCommand: () => EnableControlCommand,
36
40
  EnablementStatus: () => EnablementStatus,
41
+ GetBaselineCommand: () => GetBaselineCommand,
42
+ GetBaselineOperationCommand: () => GetBaselineOperationCommand,
37
43
  GetControlOperationCommand: () => GetControlOperationCommand,
44
+ GetEnabledBaselineCommand: () => GetEnabledBaselineCommand,
38
45
  GetEnabledControlCommand: () => GetEnabledControlCommand,
39
46
  GetLandingZoneCommand: () => GetLandingZoneCommand,
40
47
  GetLandingZoneOperationCommand: () => GetLandingZoneOperationCommand,
@@ -43,19 +50,25 @@ __export(src_exports, {
43
50
  LandingZoneOperationStatus: () => LandingZoneOperationStatus,
44
51
  LandingZoneOperationType: () => LandingZoneOperationType,
45
52
  LandingZoneStatus: () => LandingZoneStatus,
53
+ ListBaselinesCommand: () => ListBaselinesCommand,
54
+ ListEnabledBaselinesCommand: () => ListEnabledBaselinesCommand,
46
55
  ListEnabledControlsCommand: () => ListEnabledControlsCommand,
47
56
  ListLandingZonesCommand: () => ListLandingZonesCommand,
48
57
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
58
+ ResetEnabledBaselineCommand: () => ResetEnabledBaselineCommand,
49
59
  ResetLandingZoneCommand: () => ResetLandingZoneCommand,
50
60
  ResourceNotFoundException: () => ResourceNotFoundException,
51
61
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
52
62
  TagResourceCommand: () => TagResourceCommand,
53
63
  ThrottlingException: () => ThrottlingException,
54
64
  UntagResourceCommand: () => UntagResourceCommand,
65
+ UpdateEnabledBaselineCommand: () => UpdateEnabledBaselineCommand,
55
66
  UpdateEnabledControlCommand: () => UpdateEnabledControlCommand,
56
67
  UpdateLandingZoneCommand: () => UpdateLandingZoneCommand,
57
68
  ValidationException: () => ValidationException,
58
69
  __Client: () => import_smithy_client.Client,
70
+ paginateListBaselines: () => paginateListBaselines,
71
+ paginateListEnabledBaselines: () => paginateListEnabledBaselines,
59
72
  paginateListEnabledControls: () => paginateListEnabledControls,
60
73
  paginateListLandingZones: () => paginateListLandingZones
61
74
  });
@@ -65,13 +78,14 @@ module.exports = __toCommonJS(src_exports);
65
78
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
66
79
  var import_middleware_logger = require("@aws-sdk/middleware-logger");
67
80
  var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
68
- var import_middleware_signing = require("@aws-sdk/middleware-signing");
69
81
  var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
70
82
  var import_config_resolver = require("@smithy/config-resolver");
83
+ var import_core = require("@smithy/core");
71
84
  var import_middleware_content_length = require("@smithy/middleware-content-length");
72
85
  var import_middleware_endpoint = require("@smithy/middleware-endpoint");
73
86
  var import_middleware_retry = require("@smithy/middleware-retry");
74
87
 
88
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
75
89
 
76
90
  // src/endpoint/EndpointParameters.ts
77
91
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
@@ -96,19 +110,62 @@ var import_runtimeConfig = require("././runtimeConfig");
96
110
  var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
97
111
  var import_protocol_http = require("@smithy/protocol-http");
98
112
  var import_smithy_client = require("@smithy/smithy-client");
113
+
114
+ // src/auth/httpAuthExtensionConfiguration.ts
115
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
116
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
117
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
118
+ let _credentials = runtimeConfig.credentials;
119
+ return {
120
+ setHttpAuthScheme(httpAuthScheme) {
121
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
122
+ if (index === -1) {
123
+ _httpAuthSchemes.push(httpAuthScheme);
124
+ } else {
125
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
126
+ }
127
+ },
128
+ httpAuthSchemes() {
129
+ return _httpAuthSchemes;
130
+ },
131
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
132
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
133
+ },
134
+ httpAuthSchemeProvider() {
135
+ return _httpAuthSchemeProvider;
136
+ },
137
+ setCredentials(credentials) {
138
+ _credentials = credentials;
139
+ },
140
+ credentials() {
141
+ return _credentials;
142
+ }
143
+ };
144
+ }, "getHttpAuthExtensionConfiguration");
145
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
146
+ return {
147
+ httpAuthSchemes: config.httpAuthSchemes(),
148
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
149
+ credentials: config.credentials()
150
+ };
151
+ }, "resolveHttpAuthRuntimeConfig");
152
+
153
+ // src/runtimeExtensions.ts
99
154
  var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
100
155
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
101
156
  const extensionConfiguration = {
102
157
  ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
103
158
  ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
104
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
159
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
160
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
105
161
  };
106
162
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
107
163
  return {
108
164
  ...runtimeConfig,
109
165
  ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
110
166
  ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
111
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
167
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
168
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
112
169
  };
113
170
  }, "resolveRuntimeExtensions");
114
171
 
@@ -121,8 +178,8 @@ var _ControlTowerClient = class _ControlTowerClient extends import_smithy_client
121
178
  const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
122
179
  const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
123
180
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
124
- const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
125
- const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
181
+ const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
182
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
126
183
  const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
127
184
  super(_config_8);
128
185
  this.config = _config_8;
@@ -131,8 +188,14 @@ var _ControlTowerClient = class _ControlTowerClient extends import_smithy_client
131
188
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
132
189
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
133
190
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
134
- this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
135
191
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
192
+ this.middlewareStack.use(
193
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
194
+ httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
195
+ identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
196
+ })
197
+ );
198
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
136
199
  }
137
200
  /**
138
201
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
@@ -142,6 +205,14 @@ var _ControlTowerClient = class _ControlTowerClient extends import_smithy_client
142
205
  destroy() {
143
206
  super.destroy();
144
207
  }
208
+ getDefaultHttpAuthSchemeParametersProvider() {
209
+ return import_httpAuthSchemeProvider.defaultControlTowerHttpAuthSchemeParametersProvider;
210
+ }
211
+ getIdentityProviderConfigProvider() {
212
+ return async (config) => new import_core.DefaultIdentityProviderConfig({
213
+ "aws.auth#sigv4": config.credentials
214
+ });
215
+ }
145
216
  };
146
217
  __name(_ControlTowerClient, "ControlTowerClient");
147
218
  var ControlTowerClient = _ControlTowerClient;
@@ -156,7 +227,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
156
227
  var import_types = require("@smithy/types");
157
228
 
158
229
  // src/protocols/Aws_restJson1.ts
159
- var import_core = require("@smithy/core");
230
+
160
231
 
161
232
 
162
233
  // src/models/ControlTowerServiceException.ts
@@ -191,23 +262,6 @@ var _AccessDeniedException = class _AccessDeniedException extends ControlTowerSe
191
262
  };
192
263
  __name(_AccessDeniedException, "AccessDeniedException");
193
264
  var AccessDeniedException = _AccessDeniedException;
194
- var _ConflictException = class _ConflictException extends ControlTowerServiceException {
195
- /**
196
- * @internal
197
- */
198
- constructor(opts) {
199
- super({
200
- name: "ConflictException",
201
- $fault: "client",
202
- ...opts
203
- });
204
- this.name = "ConflictException";
205
- this.$fault = "client";
206
- Object.setPrototypeOf(this, _ConflictException.prototype);
207
- }
208
- };
209
- __name(_ConflictException, "ConflictException");
210
- var ConflictException = _ConflictException;
211
265
  var _InternalServerException = class _InternalServerException extends ControlTowerServiceException {
212
266
  /**
213
267
  * @internal
@@ -243,23 +297,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Contro
243
297
  };
244
298
  __name(_ResourceNotFoundException, "ResourceNotFoundException");
245
299
  var ResourceNotFoundException = _ResourceNotFoundException;
246
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ControlTowerServiceException {
247
- /**
248
- * @internal
249
- */
250
- constructor(opts) {
251
- super({
252
- name: "ServiceQuotaExceededException",
253
- $fault: "client",
254
- ...opts
255
- });
256
- this.name = "ServiceQuotaExceededException";
257
- this.$fault = "client";
258
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
259
- }
260
- };
261
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
262
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
263
300
  var _ThrottlingException = class _ThrottlingException extends ControlTowerServiceException {
264
301
  /**
265
302
  * @internal
@@ -300,6 +337,56 @@ var _ValidationException = class _ValidationException extends ControlTowerServic
300
337
  };
301
338
  __name(_ValidationException, "ValidationException");
302
339
  var ValidationException = _ValidationException;
340
+ var _ConflictException = class _ConflictException extends ControlTowerServiceException {
341
+ /**
342
+ * @internal
343
+ */
344
+ constructor(opts) {
345
+ super({
346
+ name: "ConflictException",
347
+ $fault: "client",
348
+ ...opts
349
+ });
350
+ this.name = "ConflictException";
351
+ this.$fault = "client";
352
+ Object.setPrototypeOf(this, _ConflictException.prototype);
353
+ }
354
+ };
355
+ __name(_ConflictException, "ConflictException");
356
+ var ConflictException = _ConflictException;
357
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ControlTowerServiceException {
358
+ /**
359
+ * @internal
360
+ */
361
+ constructor(opts) {
362
+ super({
363
+ name: "ServiceQuotaExceededException",
364
+ $fault: "client",
365
+ ...opts
366
+ });
367
+ this.name = "ServiceQuotaExceededException";
368
+ this.$fault = "client";
369
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
370
+ }
371
+ };
372
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
373
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
374
+ var BaselineOperationType = {
375
+ DISABLE_BASELINE: "DISABLE_BASELINE",
376
+ ENABLE_BASELINE: "ENABLE_BASELINE",
377
+ RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
378
+ UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE"
379
+ };
380
+ var BaselineOperationStatus = {
381
+ FAILED: "FAILED",
382
+ IN_PROGRESS: "IN_PROGRESS",
383
+ SUCCEEDED: "SUCCEEDED"
384
+ };
385
+ var EnablementStatus = {
386
+ FAILED: "FAILED",
387
+ SUCCEEDED: "SUCCEEDED",
388
+ UNDER_CHANGE: "UNDER_CHANGE"
389
+ };
303
390
  var ControlOperationType = {
304
391
  DISABLE_CONTROL: "DISABLE_CONTROL",
305
392
  ENABLE_CONTROL: "ENABLE_CONTROL",
@@ -316,11 +403,6 @@ var DriftStatus = {
316
403
  NOT_CHECKING: "NOT_CHECKING",
317
404
  UNKNOWN: "UNKNOWN"
318
405
  };
319
- var EnablementStatus = {
320
- FAILED: "FAILED",
321
- SUCCEEDED: "SUCCEEDED",
322
- UNDER_CHANGE: "UNDER_CHANGE"
323
- };
324
406
  var LandingZoneDriftStatus = {
325
407
  DRIFTED: "DRIFTED",
326
408
  IN_SYNC: "IN_SYNC"
@@ -375,6 +457,21 @@ var se_DeleteLandingZoneCommand = /* @__PURE__ */ __name(async (input, context)
375
457
  b.m("POST").h(headers).b(body);
376
458
  return b.build();
377
459
  }, "se_DeleteLandingZoneCommand");
460
+ var se_DisableBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
461
+ const b = (0, import_core.requestBuilder)(input, context);
462
+ const headers = {
463
+ "content-type": "application/json"
464
+ };
465
+ b.bp("/disable-baseline");
466
+ let body;
467
+ body = JSON.stringify(
468
+ (0, import_smithy_client.take)(input, {
469
+ enabledBaselineIdentifier: []
470
+ })
471
+ );
472
+ b.m("POST").h(headers).b(body);
473
+ return b.build();
474
+ }, "se_DisableBaselineCommand");
378
475
  var se_DisableControlCommand = /* @__PURE__ */ __name(async (input, context) => {
379
476
  const b = (0, import_core.requestBuilder)(input, context);
380
477
  const headers = {
@@ -391,6 +488,25 @@ var se_DisableControlCommand = /* @__PURE__ */ __name(async (input, context) =>
391
488
  b.m("POST").h(headers).b(body);
392
489
  return b.build();
393
490
  }, "se_DisableControlCommand");
491
+ var se_EnableBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
492
+ const b = (0, import_core.requestBuilder)(input, context);
493
+ const headers = {
494
+ "content-type": "application/json"
495
+ };
496
+ b.bp("/enable-baseline");
497
+ let body;
498
+ body = JSON.stringify(
499
+ (0, import_smithy_client.take)(input, {
500
+ baselineIdentifier: [],
501
+ baselineVersion: [],
502
+ parameters: (_) => se_EnabledBaselineParameters(_, context),
503
+ tags: (_) => (0, import_smithy_client._json)(_),
504
+ targetIdentifier: []
505
+ })
506
+ );
507
+ b.m("POST").h(headers).b(body);
508
+ return b.build();
509
+ }, "se_EnableBaselineCommand");
394
510
  var se_EnableControlCommand = /* @__PURE__ */ __name(async (input, context) => {
395
511
  const b = (0, import_core.requestBuilder)(input, context);
396
512
  const headers = {
@@ -409,6 +525,36 @@ var se_EnableControlCommand = /* @__PURE__ */ __name(async (input, context) => {
409
525
  b.m("POST").h(headers).b(body);
410
526
  return b.build();
411
527
  }, "se_EnableControlCommand");
528
+ var se_GetBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
529
+ const b = (0, import_core.requestBuilder)(input, context);
530
+ const headers = {
531
+ "content-type": "application/json"
532
+ };
533
+ b.bp("/get-baseline");
534
+ let body;
535
+ body = JSON.stringify(
536
+ (0, import_smithy_client.take)(input, {
537
+ baselineIdentifier: []
538
+ })
539
+ );
540
+ b.m("POST").h(headers).b(body);
541
+ return b.build();
542
+ }, "se_GetBaselineCommand");
543
+ var se_GetBaselineOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
544
+ const b = (0, import_core.requestBuilder)(input, context);
545
+ const headers = {
546
+ "content-type": "application/json"
547
+ };
548
+ b.bp("/get-baseline-operation");
549
+ let body;
550
+ body = JSON.stringify(
551
+ (0, import_smithy_client.take)(input, {
552
+ operationIdentifier: []
553
+ })
554
+ );
555
+ b.m("POST").h(headers).b(body);
556
+ return b.build();
557
+ }, "se_GetBaselineOperationCommand");
412
558
  var se_GetControlOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
413
559
  const b = (0, import_core.requestBuilder)(input, context);
414
560
  const headers = {
@@ -424,6 +570,21 @@ var se_GetControlOperationCommand = /* @__PURE__ */ __name(async (input, context
424
570
  b.m("POST").h(headers).b(body);
425
571
  return b.build();
426
572
  }, "se_GetControlOperationCommand");
573
+ var se_GetEnabledBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
574
+ const b = (0, import_core.requestBuilder)(input, context);
575
+ const headers = {
576
+ "content-type": "application/json"
577
+ };
578
+ b.bp("/get-enabled-baseline");
579
+ let body;
580
+ body = JSON.stringify(
581
+ (0, import_smithy_client.take)(input, {
582
+ enabledBaselineIdentifier: []
583
+ })
584
+ );
585
+ b.m("POST").h(headers).b(body);
586
+ return b.build();
587
+ }, "se_GetEnabledBaselineCommand");
427
588
  var se_GetEnabledControlCommand = /* @__PURE__ */ __name(async (input, context) => {
428
589
  const b = (0, import_core.requestBuilder)(input, context);
429
590
  const headers = {
@@ -469,6 +630,39 @@ var se_GetLandingZoneOperationCommand = /* @__PURE__ */ __name(async (input, con
469
630
  b.m("POST").h(headers).b(body);
470
631
  return b.build();
471
632
  }, "se_GetLandingZoneOperationCommand");
633
+ var se_ListBaselinesCommand = /* @__PURE__ */ __name(async (input, context) => {
634
+ const b = (0, import_core.requestBuilder)(input, context);
635
+ const headers = {
636
+ "content-type": "application/json"
637
+ };
638
+ b.bp("/list-baselines");
639
+ let body;
640
+ body = JSON.stringify(
641
+ (0, import_smithy_client.take)(input, {
642
+ maxResults: [],
643
+ nextToken: []
644
+ })
645
+ );
646
+ b.m("POST").h(headers).b(body);
647
+ return b.build();
648
+ }, "se_ListBaselinesCommand");
649
+ var se_ListEnabledBaselinesCommand = /* @__PURE__ */ __name(async (input, context) => {
650
+ const b = (0, import_core.requestBuilder)(input, context);
651
+ const headers = {
652
+ "content-type": "application/json"
653
+ };
654
+ b.bp("/list-enabled-baselines");
655
+ let body;
656
+ body = JSON.stringify(
657
+ (0, import_smithy_client.take)(input, {
658
+ filter: (_) => (0, import_smithy_client._json)(_),
659
+ maxResults: [],
660
+ nextToken: []
661
+ })
662
+ );
663
+ b.m("POST").h(headers).b(body);
664
+ return b.build();
665
+ }, "se_ListEnabledBaselinesCommand");
472
666
  var se_ListEnabledControlsCommand = /* @__PURE__ */ __name(async (input, context) => {
473
667
  const b = (0, import_core.requestBuilder)(input, context);
474
668
  const headers = {
@@ -511,6 +705,21 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
511
705
  b.m("GET").h(headers).b(body);
512
706
  return b.build();
513
707
  }, "se_ListTagsForResourceCommand");
708
+ var se_ResetEnabledBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
709
+ const b = (0, import_core.requestBuilder)(input, context);
710
+ const headers = {
711
+ "content-type": "application/json"
712
+ };
713
+ b.bp("/reset-enabled-baseline");
714
+ let body;
715
+ body = JSON.stringify(
716
+ (0, import_smithy_client.take)(input, {
717
+ enabledBaselineIdentifier: []
718
+ })
719
+ );
720
+ b.m("POST").h(headers).b(body);
721
+ return b.build();
722
+ }, "se_ResetEnabledBaselineCommand");
514
723
  var se_ResetLandingZoneCommand = /* @__PURE__ */ __name(async (input, context) => {
515
724
  const b = (0, import_core.requestBuilder)(input, context);
516
725
  const headers = {
@@ -557,6 +766,23 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
557
766
  b.m("DELETE").h(headers).q(query).b(body);
558
767
  return b.build();
559
768
  }, "se_UntagResourceCommand");
769
+ var se_UpdateEnabledBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
770
+ const b = (0, import_core.requestBuilder)(input, context);
771
+ const headers = {
772
+ "content-type": "application/json"
773
+ };
774
+ b.bp("/update-enabled-baseline");
775
+ let body;
776
+ body = JSON.stringify(
777
+ (0, import_smithy_client.take)(input, {
778
+ baselineVersion: [],
779
+ enabledBaselineIdentifier: [],
780
+ parameters: (_) => se_EnabledBaselineParameters(_, context)
781
+ })
782
+ );
783
+ b.m("POST").h(headers).b(body);
784
+ return b.build();
785
+ }, "se_UpdateEnabledBaselineCommand");
560
786
  var se_UpdateEnabledControlCommand = /* @__PURE__ */ __name(async (input, context) => {
561
787
  const b = (0, import_core.requestBuilder)(input, context);
562
788
  const headers = {
@@ -619,6 +845,20 @@ var de_DeleteLandingZoneCommand = /* @__PURE__ */ __name(async (output, context)
619
845
  Object.assign(contents, doc);
620
846
  return contents;
621
847
  }, "de_DeleteLandingZoneCommand");
848
+ var de_DisableBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
849
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
850
+ return de_CommandError(output, context);
851
+ }
852
+ const contents = (0, import_smithy_client.map)({
853
+ $metadata: deserializeMetadata(output)
854
+ });
855
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
856
+ const doc = (0, import_smithy_client.take)(data, {
857
+ operationIdentifier: import_smithy_client.expectString
858
+ });
859
+ Object.assign(contents, doc);
860
+ return contents;
861
+ }, "de_DisableBaselineCommand");
622
862
  var de_DisableControlCommand = /* @__PURE__ */ __name(async (output, context) => {
623
863
  if (output.statusCode !== 200 && output.statusCode >= 300) {
624
864
  return de_CommandError(output, context);
@@ -633,6 +873,21 @@ var de_DisableControlCommand = /* @__PURE__ */ __name(async (output, context) =>
633
873
  Object.assign(contents, doc);
634
874
  return contents;
635
875
  }, "de_DisableControlCommand");
876
+ var de_EnableBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
877
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
878
+ return de_CommandError(output, context);
879
+ }
880
+ const contents = (0, import_smithy_client.map)({
881
+ $metadata: deserializeMetadata(output)
882
+ });
883
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
884
+ const doc = (0, import_smithy_client.take)(data, {
885
+ arn: import_smithy_client.expectString,
886
+ operationIdentifier: import_smithy_client.expectString
887
+ });
888
+ Object.assign(contents, doc);
889
+ return contents;
890
+ }, "de_EnableBaselineCommand");
636
891
  var de_EnableControlCommand = /* @__PURE__ */ __name(async (output, context) => {
637
892
  if (output.statusCode !== 200 && output.statusCode >= 300) {
638
893
  return de_CommandError(output, context);
@@ -648,6 +903,36 @@ var de_EnableControlCommand = /* @__PURE__ */ __name(async (output, context) =>
648
903
  Object.assign(contents, doc);
649
904
  return contents;
650
905
  }, "de_EnableControlCommand");
906
+ var de_GetBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
907
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
908
+ return de_CommandError(output, context);
909
+ }
910
+ const contents = (0, import_smithy_client.map)({
911
+ $metadata: deserializeMetadata(output)
912
+ });
913
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
914
+ const doc = (0, import_smithy_client.take)(data, {
915
+ arn: import_smithy_client.expectString,
916
+ description: import_smithy_client.expectString,
917
+ name: import_smithy_client.expectString
918
+ });
919
+ Object.assign(contents, doc);
920
+ return contents;
921
+ }, "de_GetBaselineCommand");
922
+ var de_GetBaselineOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
923
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
924
+ return de_CommandError(output, context);
925
+ }
926
+ const contents = (0, import_smithy_client.map)({
927
+ $metadata: deserializeMetadata(output)
928
+ });
929
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
930
+ const doc = (0, import_smithy_client.take)(data, {
931
+ baselineOperation: (_) => de_BaselineOperation(_, context)
932
+ });
933
+ Object.assign(contents, doc);
934
+ return contents;
935
+ }, "de_GetBaselineOperationCommand");
651
936
  var de_GetControlOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
652
937
  if (output.statusCode !== 200 && output.statusCode >= 300) {
653
938
  return de_CommandError(output, context);
@@ -662,6 +947,20 @@ var de_GetControlOperationCommand = /* @__PURE__ */ __name(async (output, contex
662
947
  Object.assign(contents, doc);
663
948
  return contents;
664
949
  }, "de_GetControlOperationCommand");
950
+ var de_GetEnabledBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
951
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
952
+ return de_CommandError(output, context);
953
+ }
954
+ const contents = (0, import_smithy_client.map)({
955
+ $metadata: deserializeMetadata(output)
956
+ });
957
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
958
+ const doc = (0, import_smithy_client.take)(data, {
959
+ enabledBaselineDetails: (_) => de_EnabledBaselineDetails(_, context)
960
+ });
961
+ Object.assign(contents, doc);
962
+ return contents;
963
+ }, "de_GetEnabledBaselineCommand");
665
964
  var de_GetEnabledControlCommand = /* @__PURE__ */ __name(async (output, context) => {
666
965
  if (output.statusCode !== 200 && output.statusCode >= 300) {
667
966
  return de_CommandError(output, context);
@@ -704,6 +1003,36 @@ var de_GetLandingZoneOperationCommand = /* @__PURE__ */ __name(async (output, co
704
1003
  Object.assign(contents, doc);
705
1004
  return contents;
706
1005
  }, "de_GetLandingZoneOperationCommand");
1006
+ var de_ListBaselinesCommand = /* @__PURE__ */ __name(async (output, context) => {
1007
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
+ return de_CommandError(output, context);
1009
+ }
1010
+ const contents = (0, import_smithy_client.map)({
1011
+ $metadata: deserializeMetadata(output)
1012
+ });
1013
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1014
+ const doc = (0, import_smithy_client.take)(data, {
1015
+ baselines: import_smithy_client._json,
1016
+ nextToken: import_smithy_client.expectString
1017
+ });
1018
+ Object.assign(contents, doc);
1019
+ return contents;
1020
+ }, "de_ListBaselinesCommand");
1021
+ var de_ListEnabledBaselinesCommand = /* @__PURE__ */ __name(async (output, context) => {
1022
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
+ return de_CommandError(output, context);
1024
+ }
1025
+ const contents = (0, import_smithy_client.map)({
1026
+ $metadata: deserializeMetadata(output)
1027
+ });
1028
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1029
+ const doc = (0, import_smithy_client.take)(data, {
1030
+ enabledBaselines: import_smithy_client._json,
1031
+ nextToken: import_smithy_client.expectString
1032
+ });
1033
+ Object.assign(contents, doc);
1034
+ return contents;
1035
+ }, "de_ListEnabledBaselinesCommand");
707
1036
  var de_ListEnabledControlsCommand = /* @__PURE__ */ __name(async (output, context) => {
708
1037
  if (output.statusCode !== 200 && output.statusCode >= 300) {
709
1038
  return de_CommandError(output, context);
@@ -748,6 +1077,20 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
748
1077
  Object.assign(contents, doc);
749
1078
  return contents;
750
1079
  }, "de_ListTagsForResourceCommand");
1080
+ var de_ResetEnabledBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
1081
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1082
+ return de_CommandError(output, context);
1083
+ }
1084
+ const contents = (0, import_smithy_client.map)({
1085
+ $metadata: deserializeMetadata(output)
1086
+ });
1087
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1088
+ const doc = (0, import_smithy_client.take)(data, {
1089
+ operationIdentifier: import_smithy_client.expectString
1090
+ });
1091
+ Object.assign(contents, doc);
1092
+ return contents;
1093
+ }, "de_ResetEnabledBaselineCommand");
751
1094
  var de_ResetLandingZoneCommand = /* @__PURE__ */ __name(async (output, context) => {
752
1095
  if (output.statusCode !== 200 && output.statusCode >= 300) {
753
1096
  return de_CommandError(output, context);
@@ -782,6 +1125,20 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
782
1125
  await (0, import_smithy_client.collectBody)(output.body, context);
783
1126
  return contents;
784
1127
  }, "de_UntagResourceCommand");
1128
+ var de_UpdateEnabledBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
1129
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1130
+ return de_CommandError(output, context);
1131
+ }
1132
+ const contents = (0, import_smithy_client.map)({
1133
+ $metadata: deserializeMetadata(output)
1134
+ });
1135
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1136
+ const doc = (0, import_smithy_client.take)(data, {
1137
+ operationIdentifier: import_smithy_client.expectString
1138
+ });
1139
+ Object.assign(contents, doc);
1140
+ return contents;
1141
+ }, "de_UpdateEnabledBaselineCommand");
785
1142
  var de_UpdateEnabledControlCommand = /* @__PURE__ */ __name(async (output, context) => {
786
1143
  if (output.statusCode !== 200 && output.statusCode >= 300) {
787
1144
  return de_CommandError(output, context);
@@ -943,6 +1300,20 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
943
1300
  });
944
1301
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
945
1302
  }, "de_ValidationExceptionRes");
1303
+ var se_EnabledBaselineParameter = /* @__PURE__ */ __name((input, context) => {
1304
+ return (0, import_smithy_client.take)(input, {
1305
+ key: [],
1306
+ value: (_) => se_EnabledBaselineParameterDocument(_, context)
1307
+ });
1308
+ }, "se_EnabledBaselineParameter");
1309
+ var se_EnabledBaselineParameterDocument = /* @__PURE__ */ __name((input, context) => {
1310
+ return input;
1311
+ }, "se_EnabledBaselineParameterDocument");
1312
+ var se_EnabledBaselineParameters = /* @__PURE__ */ __name((input, context) => {
1313
+ return input.filter((e) => e != null).map((entry) => {
1314
+ return se_EnabledBaselineParameter(entry, context);
1315
+ });
1316
+ }, "se_EnabledBaselineParameters");
946
1317
  var se_EnabledControlParameter = /* @__PURE__ */ __name((input, context) => {
947
1318
  return (0, import_smithy_client.take)(input, {
948
1319
  key: [],
@@ -960,6 +1331,16 @@ var se_Manifest = /* @__PURE__ */ __name((input, context) => {
960
1331
  var se_Document = /* @__PURE__ */ __name((input, context) => {
961
1332
  return input;
962
1333
  }, "se_Document");
1334
+ var de_BaselineOperation = /* @__PURE__ */ __name((output, context) => {
1335
+ return (0, import_smithy_client.take)(output, {
1336
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1337
+ operationIdentifier: import_smithy_client.expectString,
1338
+ operationType: import_smithy_client.expectString,
1339
+ startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1340
+ status: import_smithy_client.expectString,
1341
+ statusMessage: import_smithy_client.expectString
1342
+ });
1343
+ }, "de_BaselineOperation");
963
1344
  var de_ControlOperation = /* @__PURE__ */ __name((output, context) => {
964
1345
  return (0, import_smithy_client.take)(output, {
965
1346
  endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
@@ -969,6 +1350,31 @@ var de_ControlOperation = /* @__PURE__ */ __name((output, context) => {
969
1350
  statusMessage: import_smithy_client.expectString
970
1351
  });
971
1352
  }, "de_ControlOperation");
1353
+ var de_EnabledBaselineDetails = /* @__PURE__ */ __name((output, context) => {
1354
+ return (0, import_smithy_client.take)(output, {
1355
+ arn: import_smithy_client.expectString,
1356
+ baselineIdentifier: import_smithy_client.expectString,
1357
+ baselineVersion: import_smithy_client.expectString,
1358
+ parameters: (_) => de_EnabledBaselineParameterSummaries(_, context),
1359
+ statusSummary: import_smithy_client._json,
1360
+ targetIdentifier: import_smithy_client.expectString
1361
+ });
1362
+ }, "de_EnabledBaselineDetails");
1363
+ var de_EnabledBaselineParameterDocument = /* @__PURE__ */ __name((output, context) => {
1364
+ return output;
1365
+ }, "de_EnabledBaselineParameterDocument");
1366
+ var de_EnabledBaselineParameterSummaries = /* @__PURE__ */ __name((output, context) => {
1367
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1368
+ return de_EnabledBaselineParameterSummary(entry, context);
1369
+ });
1370
+ return retVal;
1371
+ }, "de_EnabledBaselineParameterSummaries");
1372
+ var de_EnabledBaselineParameterSummary = /* @__PURE__ */ __name((output, context) => {
1373
+ return (0, import_smithy_client.take)(output, {
1374
+ key: import_smithy_client.expectString,
1375
+ value: (_) => de_EnabledBaselineParameterDocument(_, context)
1376
+ });
1377
+ }, "de_EnabledBaselineParameterSummary");
972
1378
  var de_EnabledControlDetails = /* @__PURE__ */ __name((output, context) => {
973
1379
  return (0, import_smithy_client.take)(output, {
974
1380
  arn: import_smithy_client.expectString,
@@ -1098,6 +1504,23 @@ var _DeleteLandingZoneCommand = class _DeleteLandingZoneCommand extends import_s
1098
1504
  __name(_DeleteLandingZoneCommand, "DeleteLandingZoneCommand");
1099
1505
  var DeleteLandingZoneCommand = _DeleteLandingZoneCommand;
1100
1506
 
1507
+ // src/commands/DisableBaselineCommand.ts
1508
+
1509
+
1510
+
1511
+
1512
+ var _DisableBaselineCommand = class _DisableBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
1513
+ ...commonParams
1514
+ }).m(function(Command, cs, config, o) {
1515
+ return [
1516
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1517
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1518
+ ];
1519
+ }).s("AWSControlTowerApis", "DisableBaseline", {}).n("ControlTowerClient", "DisableBaselineCommand").f(void 0, void 0).ser(se_DisableBaselineCommand).de(de_DisableBaselineCommand).build() {
1520
+ };
1521
+ __name(_DisableBaselineCommand, "DisableBaselineCommand");
1522
+ var DisableBaselineCommand = _DisableBaselineCommand;
1523
+
1101
1524
  // src/commands/DisableControlCommand.ts
1102
1525
 
1103
1526
 
@@ -1115,6 +1538,23 @@ var _DisableControlCommand = class _DisableControlCommand extends import_smithy_
1115
1538
  __name(_DisableControlCommand, "DisableControlCommand");
1116
1539
  var DisableControlCommand = _DisableControlCommand;
1117
1540
 
1541
+ // src/commands/EnableBaselineCommand.ts
1542
+
1543
+
1544
+
1545
+
1546
+ var _EnableBaselineCommand = class _EnableBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
1547
+ ...commonParams
1548
+ }).m(function(Command, cs, config, o) {
1549
+ return [
1550
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1551
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1552
+ ];
1553
+ }).s("AWSControlTowerApis", "EnableBaseline", {}).n("ControlTowerClient", "EnableBaselineCommand").f(void 0, void 0).ser(se_EnableBaselineCommand).de(de_EnableBaselineCommand).build() {
1554
+ };
1555
+ __name(_EnableBaselineCommand, "EnableBaselineCommand");
1556
+ var EnableBaselineCommand = _EnableBaselineCommand;
1557
+
1118
1558
  // src/commands/EnableControlCommand.ts
1119
1559
 
1120
1560
 
@@ -1132,6 +1572,40 @@ var _EnableControlCommand = class _EnableControlCommand extends import_smithy_cl
1132
1572
  __name(_EnableControlCommand, "EnableControlCommand");
1133
1573
  var EnableControlCommand = _EnableControlCommand;
1134
1574
 
1575
+ // src/commands/GetBaselineCommand.ts
1576
+
1577
+
1578
+
1579
+
1580
+ var _GetBaselineCommand = class _GetBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
1581
+ ...commonParams
1582
+ }).m(function(Command, cs, config, o) {
1583
+ return [
1584
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1585
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1586
+ ];
1587
+ }).s("AWSControlTowerApis", "GetBaseline", {}).n("ControlTowerClient", "GetBaselineCommand").f(void 0, void 0).ser(se_GetBaselineCommand).de(de_GetBaselineCommand).build() {
1588
+ };
1589
+ __name(_GetBaselineCommand, "GetBaselineCommand");
1590
+ var GetBaselineCommand = _GetBaselineCommand;
1591
+
1592
+ // src/commands/GetBaselineOperationCommand.ts
1593
+
1594
+
1595
+
1596
+
1597
+ var _GetBaselineOperationCommand = class _GetBaselineOperationCommand extends import_smithy_client.Command.classBuilder().ep({
1598
+ ...commonParams
1599
+ }).m(function(Command, cs, config, o) {
1600
+ return [
1601
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1602
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1603
+ ];
1604
+ }).s("AWSControlTowerApis", "GetBaselineOperation", {}).n("ControlTowerClient", "GetBaselineOperationCommand").f(void 0, void 0).ser(se_GetBaselineOperationCommand).de(de_GetBaselineOperationCommand).build() {
1605
+ };
1606
+ __name(_GetBaselineOperationCommand, "GetBaselineOperationCommand");
1607
+ var GetBaselineOperationCommand = _GetBaselineOperationCommand;
1608
+
1135
1609
  // src/commands/GetControlOperationCommand.ts
1136
1610
 
1137
1611
 
@@ -1149,6 +1623,23 @@ var _GetControlOperationCommand = class _GetControlOperationCommand extends impo
1149
1623
  __name(_GetControlOperationCommand, "GetControlOperationCommand");
1150
1624
  var GetControlOperationCommand = _GetControlOperationCommand;
1151
1625
 
1626
+ // src/commands/GetEnabledBaselineCommand.ts
1627
+
1628
+
1629
+
1630
+
1631
+ var _GetEnabledBaselineCommand = class _GetEnabledBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
1632
+ ...commonParams
1633
+ }).m(function(Command, cs, config, o) {
1634
+ return [
1635
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1636
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1637
+ ];
1638
+ }).s("AWSControlTowerApis", "GetEnabledBaseline", {}).n("ControlTowerClient", "GetEnabledBaselineCommand").f(void 0, void 0).ser(se_GetEnabledBaselineCommand).de(de_GetEnabledBaselineCommand).build() {
1639
+ };
1640
+ __name(_GetEnabledBaselineCommand, "GetEnabledBaselineCommand");
1641
+ var GetEnabledBaselineCommand = _GetEnabledBaselineCommand;
1642
+
1152
1643
  // src/commands/GetEnabledControlCommand.ts
1153
1644
 
1154
1645
 
@@ -1200,6 +1691,40 @@ var _GetLandingZoneOperationCommand = class _GetLandingZoneOperationCommand exte
1200
1691
  __name(_GetLandingZoneOperationCommand, "GetLandingZoneOperationCommand");
1201
1692
  var GetLandingZoneOperationCommand = _GetLandingZoneOperationCommand;
1202
1693
 
1694
+ // src/commands/ListBaselinesCommand.ts
1695
+
1696
+
1697
+
1698
+
1699
+ var _ListBaselinesCommand = class _ListBaselinesCommand extends import_smithy_client.Command.classBuilder().ep({
1700
+ ...commonParams
1701
+ }).m(function(Command, cs, config, o) {
1702
+ return [
1703
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1704
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1705
+ ];
1706
+ }).s("AWSControlTowerApis", "ListBaselines", {}).n("ControlTowerClient", "ListBaselinesCommand").f(void 0, void 0).ser(se_ListBaselinesCommand).de(de_ListBaselinesCommand).build() {
1707
+ };
1708
+ __name(_ListBaselinesCommand, "ListBaselinesCommand");
1709
+ var ListBaselinesCommand = _ListBaselinesCommand;
1710
+
1711
+ // src/commands/ListEnabledBaselinesCommand.ts
1712
+
1713
+
1714
+
1715
+
1716
+ var _ListEnabledBaselinesCommand = class _ListEnabledBaselinesCommand extends import_smithy_client.Command.classBuilder().ep({
1717
+ ...commonParams
1718
+ }).m(function(Command, cs, config, o) {
1719
+ return [
1720
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1721
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1722
+ ];
1723
+ }).s("AWSControlTowerApis", "ListEnabledBaselines", {}).n("ControlTowerClient", "ListEnabledBaselinesCommand").f(void 0, void 0).ser(se_ListEnabledBaselinesCommand).de(de_ListEnabledBaselinesCommand).build() {
1724
+ };
1725
+ __name(_ListEnabledBaselinesCommand, "ListEnabledBaselinesCommand");
1726
+ var ListEnabledBaselinesCommand = _ListEnabledBaselinesCommand;
1727
+
1203
1728
  // src/commands/ListEnabledControlsCommand.ts
1204
1729
 
1205
1730
 
@@ -1251,6 +1776,23 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
1251
1776
  __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1252
1777
  var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1253
1778
 
1779
+ // src/commands/ResetEnabledBaselineCommand.ts
1780
+
1781
+
1782
+
1783
+
1784
+ var _ResetEnabledBaselineCommand = class _ResetEnabledBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
1785
+ ...commonParams
1786
+ }).m(function(Command, cs, config, o) {
1787
+ return [
1788
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1789
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1790
+ ];
1791
+ }).s("AWSControlTowerApis", "ResetEnabledBaseline", {}).n("ControlTowerClient", "ResetEnabledBaselineCommand").f(void 0, void 0).ser(se_ResetEnabledBaselineCommand).de(de_ResetEnabledBaselineCommand).build() {
1792
+ };
1793
+ __name(_ResetEnabledBaselineCommand, "ResetEnabledBaselineCommand");
1794
+ var ResetEnabledBaselineCommand = _ResetEnabledBaselineCommand;
1795
+
1254
1796
  // src/commands/ResetLandingZoneCommand.ts
1255
1797
 
1256
1798
 
@@ -1302,6 +1844,23 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
1302
1844
  __name(_UntagResourceCommand, "UntagResourceCommand");
1303
1845
  var UntagResourceCommand = _UntagResourceCommand;
1304
1846
 
1847
+ // src/commands/UpdateEnabledBaselineCommand.ts
1848
+
1849
+
1850
+
1851
+
1852
+ var _UpdateEnabledBaselineCommand = class _UpdateEnabledBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
1853
+ ...commonParams
1854
+ }).m(function(Command, cs, config, o) {
1855
+ return [
1856
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1857
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1858
+ ];
1859
+ }).s("AWSControlTowerApis", "UpdateEnabledBaseline", {}).n("ControlTowerClient", "UpdateEnabledBaselineCommand").f(void 0, void 0).ser(se_UpdateEnabledBaselineCommand).de(de_UpdateEnabledBaselineCommand).build() {
1860
+ };
1861
+ __name(_UpdateEnabledBaselineCommand, "UpdateEnabledBaselineCommand");
1862
+ var UpdateEnabledBaselineCommand = _UpdateEnabledBaselineCommand;
1863
+
1305
1864
  // src/commands/UpdateEnabledControlCommand.ts
1306
1865
 
1307
1866
 
@@ -1340,18 +1899,27 @@ var UpdateLandingZoneCommand = _UpdateLandingZoneCommand;
1340
1899
  var commands = {
1341
1900
  CreateLandingZoneCommand,
1342
1901
  DeleteLandingZoneCommand,
1902
+ DisableBaselineCommand,
1343
1903
  DisableControlCommand,
1904
+ EnableBaselineCommand,
1344
1905
  EnableControlCommand,
1906
+ GetBaselineCommand,
1907
+ GetBaselineOperationCommand,
1345
1908
  GetControlOperationCommand,
1909
+ GetEnabledBaselineCommand,
1346
1910
  GetEnabledControlCommand,
1347
1911
  GetLandingZoneCommand,
1348
1912
  GetLandingZoneOperationCommand,
1913
+ ListBaselinesCommand,
1914
+ ListEnabledBaselinesCommand,
1349
1915
  ListEnabledControlsCommand,
1350
1916
  ListLandingZonesCommand,
1351
1917
  ListTagsForResourceCommand,
1918
+ ResetEnabledBaselineCommand,
1352
1919
  ResetLandingZoneCommand,
1353
1920
  TagResourceCommand,
1354
1921
  UntagResourceCommand,
1922
+ UpdateEnabledBaselineCommand,
1355
1923
  UpdateEnabledControlCommand,
1356
1924
  UpdateLandingZoneCommand
1357
1925
  };
@@ -1361,6 +1929,14 @@ __name(_ControlTower, "ControlTower");
1361
1929
  var ControlTower = _ControlTower;
1362
1930
  (0, import_smithy_client.createAggregatedClient)(commands, ControlTower);
1363
1931
 
1932
+ // src/pagination/ListBaselinesPaginator.ts
1933
+
1934
+ var paginateListBaselines = (0, import_core.createPaginator)(ControlTowerClient, ListBaselinesCommand, "nextToken", "nextToken", "maxResults");
1935
+
1936
+ // src/pagination/ListEnabledBaselinesPaginator.ts
1937
+
1938
+ var paginateListEnabledBaselines = (0, import_core.createPaginator)(ControlTowerClient, ListEnabledBaselinesCommand, "nextToken", "nextToken", "maxResults");
1939
+
1364
1940
  // src/pagination/ListEnabledControlsPaginator.ts
1365
1941
 
1366
1942
  var paginateListEnabledControls = (0, import_core.createPaginator)(ControlTowerClient, ListEnabledControlsCommand, "nextToken", "nextToken", "maxResults");
@@ -1381,33 +1957,46 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
1381
1957
  $Command,
1382
1958
  CreateLandingZoneCommand,
1383
1959
  DeleteLandingZoneCommand,
1960
+ DisableBaselineCommand,
1384
1961
  DisableControlCommand,
1962
+ EnableBaselineCommand,
1385
1963
  EnableControlCommand,
1964
+ GetBaselineCommand,
1965
+ GetBaselineOperationCommand,
1386
1966
  GetControlOperationCommand,
1967
+ GetEnabledBaselineCommand,
1387
1968
  GetEnabledControlCommand,
1388
1969
  GetLandingZoneCommand,
1389
1970
  GetLandingZoneOperationCommand,
1971
+ ListBaselinesCommand,
1972
+ ListEnabledBaselinesCommand,
1390
1973
  ListEnabledControlsCommand,
1391
1974
  ListLandingZonesCommand,
1392
1975
  ListTagsForResourceCommand,
1976
+ ResetEnabledBaselineCommand,
1393
1977
  ResetLandingZoneCommand,
1394
1978
  TagResourceCommand,
1395
1979
  UntagResourceCommand,
1980
+ UpdateEnabledBaselineCommand,
1396
1981
  UpdateEnabledControlCommand,
1397
1982
  UpdateLandingZoneCommand,
1983
+ paginateListBaselines,
1984
+ paginateListEnabledBaselines,
1398
1985
  paginateListEnabledControls,
1399
1986
  paginateListLandingZones,
1400
1987
  AccessDeniedException,
1401
- ConflictException,
1402
1988
  InternalServerException,
1403
1989
  ResourceNotFoundException,
1404
- ServiceQuotaExceededException,
1405
1990
  ThrottlingException,
1406
1991
  ValidationException,
1992
+ ConflictException,
1993
+ ServiceQuotaExceededException,
1994
+ BaselineOperationType,
1995
+ BaselineOperationStatus,
1996
+ EnablementStatus,
1407
1997
  ControlOperationType,
1408
1998
  ControlOperationStatus,
1409
1999
  DriftStatus,
1410
- EnablementStatus,
1411
2000
  LandingZoneDriftStatus,
1412
2001
  LandingZoneStatus,
1413
2002
  LandingZoneOperationType,