@aws-sdk/client-controlcatalog 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +456 -442
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ControlCatalogClient.js +2 -0
- package/dist-es/commands/GetControlCommand.js +3 -9
- package/dist-es/commands/ListCommonControlsCommand.js +3 -9
- package/dist-es/commands/ListControlMappingsCommand.js +3 -9
- package/dist-es/commands/ListControlsCommand.js +3 -9
- package/dist-es/commands/ListDomainsCommand.js +3 -9
- package/dist-es/commands/ListObjectivesCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -10
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +440 -0
- package/dist-types/ControlCatalogClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +4 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/ControlCatalogClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +68 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -380
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -77
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class ControlCatalogClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class ControlCatalogClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class ControlCatalogServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let ControlCatalogServiceException$1 = class ControlCatalogServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, ControlCatalogServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessDeniedException extends ControlCatalogServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends ControlCatalogServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,8 +130,8 @@ class AccessDeniedException extends ControlCatalogServiceException {
|
|
|
130
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
134
|
-
class InternalServerException extends ControlCatalogServiceException {
|
|
133
|
+
};
|
|
134
|
+
let InternalServerException$1 = class InternalServerException extends ControlCatalogServiceException$1 {
|
|
135
135
|
name = "InternalServerException";
|
|
136
136
|
$fault = "server";
|
|
137
137
|
$retryable = {};
|
|
@@ -145,8 +145,8 @@ class InternalServerException extends ControlCatalogServiceException {
|
|
|
145
145
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
146
146
|
this.Message = opts.Message;
|
|
147
147
|
}
|
|
148
|
-
}
|
|
149
|
-
class ThrottlingException extends ControlCatalogServiceException {
|
|
148
|
+
};
|
|
149
|
+
let ThrottlingException$1 = class ThrottlingException extends ControlCatalogServiceException$1 {
|
|
150
150
|
name = "ThrottlingException";
|
|
151
151
|
$fault = "client";
|
|
152
152
|
$retryable = {
|
|
@@ -162,8 +162,8 @@ class ThrottlingException extends ControlCatalogServiceException {
|
|
|
162
162
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
163
163
|
this.Message = opts.Message;
|
|
164
164
|
}
|
|
165
|
-
}
|
|
166
|
-
class ValidationException extends ControlCatalogServiceException {
|
|
165
|
+
};
|
|
166
|
+
let ValidationException$1 = class ValidationException extends ControlCatalogServiceException$1 {
|
|
167
167
|
name = "ValidationException";
|
|
168
168
|
$fault = "client";
|
|
169
169
|
Message;
|
|
@@ -176,7 +176,7 @@ class ValidationException extends ControlCatalogServiceException {
|
|
|
176
176
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
177
177
|
this.Message = opts.Message;
|
|
178
178
|
}
|
|
179
|
-
}
|
|
179
|
+
};
|
|
180
180
|
const ControlBehavior = {
|
|
181
181
|
DETECTIVE: "DETECTIVE",
|
|
182
182
|
PREVENTIVE: "PREVENTIVE",
|
|
@@ -192,7 +192,7 @@ const ControlSeverity = {
|
|
|
192
192
|
LOW: "LOW",
|
|
193
193
|
MEDIUM: "MEDIUM",
|
|
194
194
|
};
|
|
195
|
-
class ResourceNotFoundException extends ControlCatalogServiceException {
|
|
195
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends ControlCatalogServiceException$1 {
|
|
196
196
|
name = "ResourceNotFoundException";
|
|
197
197
|
$fault = "client";
|
|
198
198
|
Message;
|
|
@@ -205,411 +205,450 @@ class ResourceNotFoundException extends ControlCatalogServiceException {
|
|
|
205
205
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
206
206
|
this.Message = opts.Message;
|
|
207
207
|
}
|
|
208
|
-
}
|
|
208
|
+
};
|
|
209
209
|
const MappingType = {
|
|
210
210
|
COMMON_CONTROL: "COMMON_CONTROL",
|
|
211
211
|
FRAMEWORK: "FRAMEWORK",
|
|
212
212
|
};
|
|
213
|
-
exports.Mapping = void 0;
|
|
214
|
-
(function (Mapping) {
|
|
215
|
-
Mapping.visit = (value, visitor) => {
|
|
216
|
-
if (value.Framework !== undefined)
|
|
217
|
-
return visitor.Framework(value.Framework);
|
|
218
|
-
if (value.CommonControl !== undefined)
|
|
219
|
-
return visitor.CommonControl(value.CommonControl);
|
|
220
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
221
|
-
};
|
|
222
|
-
})(exports.Mapping || (exports.Mapping = {}));
|
|
223
213
|
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
const
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
const
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
const
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
const
|
|
289
|
-
|
|
290
|
-
const headers = {};
|
|
291
|
-
b.bp("/domains");
|
|
292
|
-
const query = smithyClient.map({
|
|
293
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
294
|
-
[_nT]: [, input[_NT]],
|
|
295
|
-
});
|
|
296
|
-
let body;
|
|
297
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
298
|
-
return b.build();
|
|
299
|
-
};
|
|
300
|
-
const se_ListObjectivesCommand = async (input, context) => {
|
|
301
|
-
const b = core.requestBuilder(input, context);
|
|
302
|
-
const headers = {
|
|
303
|
-
"content-type": "application/json",
|
|
304
|
-
};
|
|
305
|
-
b.bp("/objectives");
|
|
306
|
-
const query = smithyClient.map({
|
|
307
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
308
|
-
[_nT]: [, input[_NT]],
|
|
309
|
-
});
|
|
310
|
-
let body;
|
|
311
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
312
|
-
ObjectiveFilter: (_) => smithyClient._json(_),
|
|
313
|
-
}));
|
|
314
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
315
|
-
return b.build();
|
|
316
|
-
};
|
|
317
|
-
const de_GetControlCommand = async (output, context) => {
|
|
318
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
319
|
-
return de_CommandError(output, context);
|
|
320
|
-
}
|
|
321
|
-
const contents = smithyClient.map({
|
|
322
|
-
$metadata: deserializeMetadata(output),
|
|
323
|
-
});
|
|
324
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
325
|
-
const doc = smithyClient.take(data, {
|
|
326
|
-
Aliases: smithyClient._json,
|
|
327
|
-
Arn: smithyClient.expectString,
|
|
328
|
-
Behavior: smithyClient.expectString,
|
|
329
|
-
CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
330
|
-
Description: smithyClient.expectString,
|
|
331
|
-
GovernedResources: smithyClient._json,
|
|
332
|
-
Implementation: smithyClient._json,
|
|
333
|
-
Name: smithyClient.expectString,
|
|
334
|
-
Parameters: smithyClient._json,
|
|
335
|
-
RegionConfiguration: smithyClient._json,
|
|
336
|
-
Severity: smithyClient.expectString,
|
|
337
|
-
});
|
|
338
|
-
Object.assign(contents, doc);
|
|
339
|
-
return contents;
|
|
340
|
-
};
|
|
341
|
-
const de_ListCommonControlsCommand = async (output, context) => {
|
|
342
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
343
|
-
return de_CommandError(output, context);
|
|
344
|
-
}
|
|
345
|
-
const contents = smithyClient.map({
|
|
346
|
-
$metadata: deserializeMetadata(output),
|
|
347
|
-
});
|
|
348
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
349
|
-
const doc = smithyClient.take(data, {
|
|
350
|
-
CommonControls: (_) => de_CommonControlSummaryList(_),
|
|
351
|
-
NextToken: smithyClient.expectString,
|
|
352
|
-
});
|
|
353
|
-
Object.assign(contents, doc);
|
|
354
|
-
return contents;
|
|
355
|
-
};
|
|
356
|
-
const de_ListControlMappingsCommand = async (output, context) => {
|
|
357
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
358
|
-
return de_CommandError(output, context);
|
|
359
|
-
}
|
|
360
|
-
const contents = smithyClient.map({
|
|
361
|
-
$metadata: deserializeMetadata(output),
|
|
362
|
-
});
|
|
363
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
364
|
-
const doc = smithyClient.take(data, {
|
|
365
|
-
ControlMappings: smithyClient._json,
|
|
366
|
-
NextToken: smithyClient.expectString,
|
|
367
|
-
});
|
|
368
|
-
Object.assign(contents, doc);
|
|
369
|
-
return contents;
|
|
370
|
-
};
|
|
371
|
-
const de_ListControlsCommand = async (output, context) => {
|
|
372
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
373
|
-
return de_CommandError(output, context);
|
|
374
|
-
}
|
|
375
|
-
const contents = smithyClient.map({
|
|
376
|
-
$metadata: deserializeMetadata(output),
|
|
377
|
-
});
|
|
378
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
379
|
-
const doc = smithyClient.take(data, {
|
|
380
|
-
Controls: (_) => de_Controls(_),
|
|
381
|
-
NextToken: smithyClient.expectString,
|
|
382
|
-
});
|
|
383
|
-
Object.assign(contents, doc);
|
|
384
|
-
return contents;
|
|
385
|
-
};
|
|
386
|
-
const de_ListDomainsCommand = async (output, context) => {
|
|
387
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
388
|
-
return de_CommandError(output, context);
|
|
389
|
-
}
|
|
390
|
-
const contents = smithyClient.map({
|
|
391
|
-
$metadata: deserializeMetadata(output),
|
|
392
|
-
});
|
|
393
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
394
|
-
const doc = smithyClient.take(data, {
|
|
395
|
-
Domains: (_) => de_DomainSummaryList(_),
|
|
396
|
-
NextToken: smithyClient.expectString,
|
|
397
|
-
});
|
|
398
|
-
Object.assign(contents, doc);
|
|
399
|
-
return contents;
|
|
400
|
-
};
|
|
401
|
-
const de_ListObjectivesCommand = async (output, context) => {
|
|
402
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
403
|
-
return de_CommandError(output, context);
|
|
404
|
-
}
|
|
405
|
-
const contents = smithyClient.map({
|
|
406
|
-
$metadata: deserializeMetadata(output),
|
|
407
|
-
});
|
|
408
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
409
|
-
const doc = smithyClient.take(data, {
|
|
410
|
-
NextToken: smithyClient.expectString,
|
|
411
|
-
Objectives: (_) => de_ObjectiveSummaryList(_),
|
|
412
|
-
});
|
|
413
|
-
Object.assign(contents, doc);
|
|
414
|
-
return contents;
|
|
415
|
-
};
|
|
416
|
-
const de_CommandError = async (output, context) => {
|
|
417
|
-
const parsedOutput = {
|
|
418
|
-
...output,
|
|
419
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
420
|
-
};
|
|
421
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
422
|
-
switch (errorCode) {
|
|
423
|
-
case "AccessDeniedException":
|
|
424
|
-
case "com.amazonaws.controlcatalog#AccessDeniedException":
|
|
425
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
426
|
-
case "InternalServerException":
|
|
427
|
-
case "com.amazonaws.controlcatalog#InternalServerException":
|
|
428
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
429
|
-
case "ResourceNotFoundException":
|
|
430
|
-
case "com.amazonaws.controlcatalog#ResourceNotFoundException":
|
|
431
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
432
|
-
case "ThrottlingException":
|
|
433
|
-
case "com.amazonaws.controlcatalog#ThrottlingException":
|
|
434
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
435
|
-
case "ValidationException":
|
|
436
|
-
case "com.amazonaws.controlcatalog#ValidationException":
|
|
437
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
438
|
-
default:
|
|
439
|
-
const parsedBody = parsedOutput.body;
|
|
440
|
-
return throwDefaultError({
|
|
441
|
-
output,
|
|
442
|
-
parsedBody,
|
|
443
|
-
errorCode,
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
const throwDefaultError = smithyClient.withBaseException(ControlCatalogServiceException);
|
|
448
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
449
|
-
const contents = smithyClient.map({});
|
|
450
|
-
const data = parsedOutput.body;
|
|
451
|
-
const doc = smithyClient.take(data, {
|
|
452
|
-
Message: smithyClient.expectString,
|
|
453
|
-
});
|
|
454
|
-
Object.assign(contents, doc);
|
|
455
|
-
const exception = new AccessDeniedException({
|
|
456
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
457
|
-
...contents,
|
|
458
|
-
});
|
|
459
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
460
|
-
};
|
|
461
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
462
|
-
const contents = smithyClient.map({});
|
|
463
|
-
const data = parsedOutput.body;
|
|
464
|
-
const doc = smithyClient.take(data, {
|
|
465
|
-
Message: smithyClient.expectString,
|
|
466
|
-
});
|
|
467
|
-
Object.assign(contents, doc);
|
|
468
|
-
const exception = new InternalServerException({
|
|
469
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
470
|
-
...contents,
|
|
471
|
-
});
|
|
472
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
473
|
-
};
|
|
474
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
475
|
-
const contents = smithyClient.map({});
|
|
476
|
-
const data = parsedOutput.body;
|
|
477
|
-
const doc = smithyClient.take(data, {
|
|
478
|
-
Message: smithyClient.expectString,
|
|
479
|
-
});
|
|
480
|
-
Object.assign(contents, doc);
|
|
481
|
-
const exception = new ResourceNotFoundException({
|
|
482
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
483
|
-
...contents,
|
|
484
|
-
});
|
|
485
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
486
|
-
};
|
|
487
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
488
|
-
const contents = smithyClient.map({});
|
|
489
|
-
const data = parsedOutput.body;
|
|
490
|
-
const doc = smithyClient.take(data, {
|
|
491
|
-
Message: smithyClient.expectString,
|
|
492
|
-
});
|
|
493
|
-
Object.assign(contents, doc);
|
|
494
|
-
const exception = new ThrottlingException({
|
|
495
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
496
|
-
...contents,
|
|
497
|
-
});
|
|
498
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
499
|
-
};
|
|
500
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
501
|
-
const contents = smithyClient.map({});
|
|
502
|
-
const data = parsedOutput.body;
|
|
503
|
-
const doc = smithyClient.take(data, {
|
|
504
|
-
Message: smithyClient.expectString,
|
|
505
|
-
});
|
|
506
|
-
Object.assign(contents, doc);
|
|
507
|
-
const exception = new ValidationException({
|
|
508
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
509
|
-
...contents,
|
|
510
|
-
});
|
|
511
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
512
|
-
};
|
|
513
|
-
const de_CommonControlSummary = (output, context) => {
|
|
514
|
-
return smithyClient.take(output, {
|
|
515
|
-
Arn: smithyClient.expectString,
|
|
516
|
-
CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
517
|
-
Description: smithyClient.expectString,
|
|
518
|
-
Domain: smithyClient._json,
|
|
519
|
-
LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
520
|
-
Name: smithyClient.expectString,
|
|
521
|
-
Objective: smithyClient._json,
|
|
522
|
-
});
|
|
523
|
-
};
|
|
524
|
-
const de_CommonControlSummaryList = (output, context) => {
|
|
525
|
-
const retVal = (output || [])
|
|
526
|
-
.filter((e) => e != null)
|
|
527
|
-
.map((entry) => {
|
|
528
|
-
return de_CommonControlSummary(entry);
|
|
529
|
-
});
|
|
530
|
-
return retVal;
|
|
531
|
-
};
|
|
532
|
-
const de_Controls = (output, context) => {
|
|
533
|
-
const retVal = (output || [])
|
|
534
|
-
.filter((e) => e != null)
|
|
535
|
-
.map((entry) => {
|
|
536
|
-
return de_ControlSummary(entry);
|
|
537
|
-
});
|
|
538
|
-
return retVal;
|
|
539
|
-
};
|
|
540
|
-
const de_ControlSummary = (output, context) => {
|
|
541
|
-
return smithyClient.take(output, {
|
|
542
|
-
Aliases: smithyClient._json,
|
|
543
|
-
Arn: smithyClient.expectString,
|
|
544
|
-
Behavior: smithyClient.expectString,
|
|
545
|
-
CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
546
|
-
Description: smithyClient.expectString,
|
|
547
|
-
GovernedResources: smithyClient._json,
|
|
548
|
-
Implementation: smithyClient._json,
|
|
549
|
-
Name: smithyClient.expectString,
|
|
550
|
-
Severity: smithyClient.expectString,
|
|
551
|
-
});
|
|
552
|
-
};
|
|
553
|
-
const de_DomainSummary = (output, context) => {
|
|
554
|
-
return smithyClient.take(output, {
|
|
555
|
-
Arn: smithyClient.expectString,
|
|
556
|
-
CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
557
|
-
Description: smithyClient.expectString,
|
|
558
|
-
LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
559
|
-
Name: smithyClient.expectString,
|
|
560
|
-
});
|
|
561
|
-
};
|
|
562
|
-
const de_DomainSummaryList = (output, context) => {
|
|
563
|
-
const retVal = (output || [])
|
|
564
|
-
.filter((e) => e != null)
|
|
565
|
-
.map((entry) => {
|
|
566
|
-
return de_DomainSummary(entry);
|
|
567
|
-
});
|
|
568
|
-
return retVal;
|
|
569
|
-
};
|
|
570
|
-
const de_ObjectiveSummary = (output, context) => {
|
|
571
|
-
return smithyClient.take(output, {
|
|
572
|
-
Arn: smithyClient.expectString,
|
|
573
|
-
CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
574
|
-
Description: smithyClient.expectString,
|
|
575
|
-
Domain: smithyClient._json,
|
|
576
|
-
LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
577
|
-
Name: smithyClient.expectString,
|
|
578
|
-
});
|
|
579
|
-
};
|
|
580
|
-
const de_ObjectiveSummaryList = (output, context) => {
|
|
581
|
-
const retVal = (output || [])
|
|
582
|
-
.filter((e) => e != null)
|
|
583
|
-
.map((entry) => {
|
|
584
|
-
return de_ObjectiveSummary(entry);
|
|
585
|
-
});
|
|
586
|
-
return retVal;
|
|
587
|
-
};
|
|
588
|
-
const deserializeMetadata = (output) => ({
|
|
589
|
-
httpStatusCode: output.statusCode,
|
|
590
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
591
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
592
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
593
|
-
});
|
|
214
|
+
const _A = "Arn";
|
|
215
|
+
const _ADE = "AccessDeniedException";
|
|
216
|
+
const _ADS = "AssociatedDomainSummary";
|
|
217
|
+
const _AOS = "AssociatedObjectiveSummary";
|
|
218
|
+
const _Al = "Aliases";
|
|
219
|
+
const _B = "Behavior";
|
|
220
|
+
const _C = "Controls";
|
|
221
|
+
const _CA = "ControlArn";
|
|
222
|
+
const _CAo = "ControlArns";
|
|
223
|
+
const _CC = "CommonControls";
|
|
224
|
+
const _CCA = "CommonControlArn";
|
|
225
|
+
const _CCAo = "CommonControlArns";
|
|
226
|
+
const _CCF = "CommonControlFilter";
|
|
227
|
+
const _CCMD = "CommonControlMappingDetails";
|
|
228
|
+
const _CCS = "CommonControlSummary";
|
|
229
|
+
const _CCSL = "CommonControlSummaryList";
|
|
230
|
+
const _CCo = "CommonControl";
|
|
231
|
+
const _CF = "ControlFilter";
|
|
232
|
+
const _CM = "ControlMapping";
|
|
233
|
+
const _CMF = "ControlMappingFilter";
|
|
234
|
+
const _CMo = "ControlMappings";
|
|
235
|
+
const _CP = "ControlParameter";
|
|
236
|
+
const _CPo = "ControlParameters";
|
|
237
|
+
const _CS = "ControlSummary";
|
|
238
|
+
const _CT = "CreateTime";
|
|
239
|
+
const _D = "Description";
|
|
240
|
+
const _DR = "DeployableRegions";
|
|
241
|
+
const _DRF = "DomainResourceFilter";
|
|
242
|
+
const _DRFL = "DomainResourceFilterList";
|
|
243
|
+
const _DS = "DomainSummary";
|
|
244
|
+
const _DSL = "DomainSummaryList";
|
|
245
|
+
const _Do = "Domain";
|
|
246
|
+
const _Dom = "Domains";
|
|
247
|
+
const _F = "Filter";
|
|
248
|
+
const _FMD = "FrameworkMappingDetails";
|
|
249
|
+
const _Fr = "Framework";
|
|
250
|
+
const _GC = "GetControl";
|
|
251
|
+
const _GCR = "GetControlRequest";
|
|
252
|
+
const _GCRe = "GetControlResponse";
|
|
253
|
+
const _GR = "GovernedResources";
|
|
254
|
+
const _I = "Implementations";
|
|
255
|
+
const _ID = "ImplementationDetails";
|
|
256
|
+
const _IF = "ImplementationFilter";
|
|
257
|
+
const _IS = "ImplementationSummary";
|
|
258
|
+
const _ISE = "InternalServerException";
|
|
259
|
+
const _Id = "Identifier";
|
|
260
|
+
const _Ide = "Identifiers";
|
|
261
|
+
const _Im = "Implementation";
|
|
262
|
+
const _It = "Item";
|
|
263
|
+
const _LC = "ListControls";
|
|
264
|
+
const _LCC = "ListCommonControls";
|
|
265
|
+
const _LCCR = "ListCommonControlsRequest";
|
|
266
|
+
const _LCCRi = "ListCommonControlsResponse";
|
|
267
|
+
const _LCM = "ListControlMappings";
|
|
268
|
+
const _LCMR = "ListControlMappingsRequest";
|
|
269
|
+
const _LCMRi = "ListControlMappingsResponse";
|
|
270
|
+
const _LCR = "ListControlsRequest";
|
|
271
|
+
const _LCRi = "ListControlsResponse";
|
|
272
|
+
const _LD = "ListDomains";
|
|
273
|
+
const _LDR = "ListDomainsRequest";
|
|
274
|
+
const _LDRi = "ListDomainsResponse";
|
|
275
|
+
const _LO = "ListObjectives";
|
|
276
|
+
const _LOR = "ListObjectivesRequest";
|
|
277
|
+
const _LORi = "ListObjectivesResponse";
|
|
278
|
+
const _LUT = "LastUpdateTime";
|
|
279
|
+
const _M = "Message";
|
|
594
280
|
const _MR = "MaxResults";
|
|
281
|
+
const _MT = "MappingType";
|
|
282
|
+
const _MTa = "MappingTypes";
|
|
283
|
+
const _Ma = "Mapping";
|
|
284
|
+
const _N = "Name";
|
|
595
285
|
const _NT = "NextToken";
|
|
286
|
+
const _O = "Objectives";
|
|
287
|
+
const _OF = "ObjectiveFilter";
|
|
288
|
+
const _ORF = "ObjectiveResourceFilter";
|
|
289
|
+
const _ORFL = "ObjectiveResourceFilterList";
|
|
290
|
+
const _OS = "ObjectiveSummary";
|
|
291
|
+
const _OSL = "ObjectiveSummaryList";
|
|
292
|
+
const _Ob = "Objective";
|
|
293
|
+
const _P = "Parameters";
|
|
294
|
+
const _RC = "RegionConfiguration";
|
|
295
|
+
const _RNFE = "ResourceNotFoundException";
|
|
296
|
+
const _S = "Severity";
|
|
297
|
+
const _Sc = "Scope";
|
|
298
|
+
const _T = "Type";
|
|
299
|
+
const _TE = "ThrottlingException";
|
|
300
|
+
const _Ty = "Types";
|
|
301
|
+
const _VE = "ValidationException";
|
|
302
|
+
const _c = "client";
|
|
303
|
+
const _e = "error";
|
|
304
|
+
const _h = "http";
|
|
305
|
+
const _hE = "httpError";
|
|
306
|
+
const _hQ = "httpQuery";
|
|
596
307
|
const _mR = "maxResults";
|
|
597
308
|
const _nT = "nextToken";
|
|
309
|
+
const _s = "server";
|
|
310
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
|
|
311
|
+
const n0 = "com.amazonaws.controlcatalog";
|
|
312
|
+
var AccessDeniedException = [
|
|
313
|
+
-3,
|
|
314
|
+
n0,
|
|
315
|
+
_ADE,
|
|
316
|
+
{
|
|
317
|
+
[_e]: _c,
|
|
318
|
+
[_hE]: 403,
|
|
319
|
+
},
|
|
320
|
+
[_M],
|
|
321
|
+
[0],
|
|
322
|
+
];
|
|
323
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
324
|
+
var AssociatedDomainSummary = [3, n0, _ADS, 0, [_A, _N], [0, 0]];
|
|
325
|
+
var AssociatedObjectiveSummary = [3, n0, _AOS, 0, [_A, _N], [0, 0]];
|
|
326
|
+
var CommonControlFilter = [3, n0, _CCF, 0, [_O], [() => ObjectiveResourceFilterList]];
|
|
327
|
+
var CommonControlMappingDetails = [3, n0, _CCMD, 0, [_CCA], [0]];
|
|
328
|
+
var CommonControlSummary = [
|
|
329
|
+
3,
|
|
330
|
+
n0,
|
|
331
|
+
_CCS,
|
|
332
|
+
0,
|
|
333
|
+
[_A, _N, _D, _Do, _Ob, _CT, _LUT],
|
|
334
|
+
[0, 0, 0, () => AssociatedDomainSummary, () => AssociatedObjectiveSummary, 4, 4],
|
|
335
|
+
];
|
|
336
|
+
var ControlFilter = [3, n0, _CF, 0, [_I], [() => ImplementationFilter]];
|
|
337
|
+
var ControlMapping = [3, n0, _CM, 0, [_CA, _MT, _Ma], [0, 0, () => Mapping]];
|
|
338
|
+
var ControlMappingFilter = [
|
|
339
|
+
3,
|
|
340
|
+
n0,
|
|
341
|
+
_CMF,
|
|
342
|
+
0,
|
|
343
|
+
[_CAo, _CCAo, _MTa],
|
|
344
|
+
[64 | 0, 64 | 0, 64 | 0],
|
|
345
|
+
];
|
|
346
|
+
var ControlParameter = [3, n0, _CP, 0, [_N], [0]];
|
|
347
|
+
var ControlSummary = [
|
|
348
|
+
3,
|
|
349
|
+
n0,
|
|
350
|
+
_CS,
|
|
351
|
+
0,
|
|
352
|
+
[_A, _Al, _N, _D, _B, _S, _Im, _CT, _GR],
|
|
353
|
+
[0, 64 | 0, 0, 0, 0, 0, () => ImplementationSummary, 4, 64 | 0],
|
|
354
|
+
];
|
|
355
|
+
var DomainResourceFilter = [3, n0, _DRF, 0, [_A], [0]];
|
|
356
|
+
var DomainSummary = [3, n0, _DS, 0, [_A, _N, _D, _CT, _LUT], [0, 0, 0, 4, 4]];
|
|
357
|
+
var FrameworkMappingDetails = [3, n0, _FMD, 0, [_N, _It], [0, 0]];
|
|
358
|
+
var GetControlRequest = [3, n0, _GCR, 0, [_CA], [0]];
|
|
359
|
+
var GetControlResponse = [
|
|
360
|
+
3,
|
|
361
|
+
n0,
|
|
362
|
+
_GCRe,
|
|
363
|
+
0,
|
|
364
|
+
[_A, _Al, _N, _D, _B, _S, _RC, _Im, _P, _CT, _GR],
|
|
365
|
+
[0, 64 | 0, 0, 0, 0, 0, () => RegionConfiguration, () => ImplementationDetails, () => ControlParameters, 4, 64 | 0],
|
|
366
|
+
];
|
|
367
|
+
var ImplementationDetails = [3, n0, _ID, 0, [_T, _Id], [0, 0]];
|
|
368
|
+
var ImplementationFilter = [3, n0, _IF, 0, [_Ty, _Ide], [64 | 0, 64 | 0]];
|
|
369
|
+
var ImplementationSummary = [3, n0, _IS, 0, [_T, _Id], [0, 0]];
|
|
370
|
+
var InternalServerException = [
|
|
371
|
+
-3,
|
|
372
|
+
n0,
|
|
373
|
+
_ISE,
|
|
374
|
+
{
|
|
375
|
+
[_e]: _s,
|
|
376
|
+
[_hE]: 500,
|
|
377
|
+
},
|
|
378
|
+
[_M],
|
|
379
|
+
[0],
|
|
380
|
+
];
|
|
381
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
382
|
+
var ListCommonControlsRequest = [
|
|
383
|
+
3,
|
|
384
|
+
n0,
|
|
385
|
+
_LCCR,
|
|
386
|
+
0,
|
|
387
|
+
[_MR, _NT, _CCF],
|
|
388
|
+
[
|
|
389
|
+
[
|
|
390
|
+
1,
|
|
391
|
+
{
|
|
392
|
+
[_hQ]: _mR,
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
[
|
|
396
|
+
0,
|
|
397
|
+
{
|
|
398
|
+
[_hQ]: _nT,
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
() => CommonControlFilter,
|
|
402
|
+
],
|
|
403
|
+
];
|
|
404
|
+
var ListCommonControlsResponse = [
|
|
405
|
+
3,
|
|
406
|
+
n0,
|
|
407
|
+
_LCCRi,
|
|
408
|
+
0,
|
|
409
|
+
[_CC, _NT],
|
|
410
|
+
[() => CommonControlSummaryList, 0],
|
|
411
|
+
];
|
|
412
|
+
var ListControlMappingsRequest = [
|
|
413
|
+
3,
|
|
414
|
+
n0,
|
|
415
|
+
_LCMR,
|
|
416
|
+
0,
|
|
417
|
+
[_NT, _MR, _F],
|
|
418
|
+
[
|
|
419
|
+
[
|
|
420
|
+
0,
|
|
421
|
+
{
|
|
422
|
+
[_hQ]: _nT,
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
[
|
|
426
|
+
1,
|
|
427
|
+
{
|
|
428
|
+
[_hQ]: _mR,
|
|
429
|
+
},
|
|
430
|
+
],
|
|
431
|
+
() => ControlMappingFilter,
|
|
432
|
+
],
|
|
433
|
+
];
|
|
434
|
+
var ListControlMappingsResponse = [
|
|
435
|
+
3,
|
|
436
|
+
n0,
|
|
437
|
+
_LCMRi,
|
|
438
|
+
0,
|
|
439
|
+
[_CMo, _NT],
|
|
440
|
+
[() => ControlMappings, 0],
|
|
441
|
+
];
|
|
442
|
+
var ListControlsRequest = [
|
|
443
|
+
3,
|
|
444
|
+
n0,
|
|
445
|
+
_LCR,
|
|
446
|
+
0,
|
|
447
|
+
[_NT, _MR, _F],
|
|
448
|
+
[
|
|
449
|
+
[
|
|
450
|
+
0,
|
|
451
|
+
{
|
|
452
|
+
[_hQ]: _nT,
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
[
|
|
456
|
+
1,
|
|
457
|
+
{
|
|
458
|
+
[_hQ]: _mR,
|
|
459
|
+
},
|
|
460
|
+
],
|
|
461
|
+
() => ControlFilter,
|
|
462
|
+
],
|
|
463
|
+
];
|
|
464
|
+
var ListControlsResponse = [3, n0, _LCRi, 0, [_C, _NT], [() => Controls, 0]];
|
|
465
|
+
var ListDomainsRequest = [
|
|
466
|
+
3,
|
|
467
|
+
n0,
|
|
468
|
+
_LDR,
|
|
469
|
+
0,
|
|
470
|
+
[_MR, _NT],
|
|
471
|
+
[
|
|
472
|
+
[
|
|
473
|
+
1,
|
|
474
|
+
{
|
|
475
|
+
[_hQ]: _mR,
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
[
|
|
479
|
+
0,
|
|
480
|
+
{
|
|
481
|
+
[_hQ]: _nT,
|
|
482
|
+
},
|
|
483
|
+
],
|
|
484
|
+
],
|
|
485
|
+
];
|
|
486
|
+
var ListDomainsResponse = [3, n0, _LDRi, 0, [_Dom, _NT], [() => DomainSummaryList, 0]];
|
|
487
|
+
var ListObjectivesRequest = [
|
|
488
|
+
3,
|
|
489
|
+
n0,
|
|
490
|
+
_LOR,
|
|
491
|
+
0,
|
|
492
|
+
[_MR, _NT, _OF],
|
|
493
|
+
[
|
|
494
|
+
[
|
|
495
|
+
1,
|
|
496
|
+
{
|
|
497
|
+
[_hQ]: _mR,
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
[
|
|
501
|
+
0,
|
|
502
|
+
{
|
|
503
|
+
[_hQ]: _nT,
|
|
504
|
+
},
|
|
505
|
+
],
|
|
506
|
+
() => ObjectiveFilter,
|
|
507
|
+
],
|
|
508
|
+
];
|
|
509
|
+
var ListObjectivesResponse = [
|
|
510
|
+
3,
|
|
511
|
+
n0,
|
|
512
|
+
_LORi,
|
|
513
|
+
0,
|
|
514
|
+
[_O, _NT],
|
|
515
|
+
[() => ObjectiveSummaryList, 0],
|
|
516
|
+
];
|
|
517
|
+
var ObjectiveFilter = [3, n0, _OF, 0, [_Dom], [() => DomainResourceFilterList]];
|
|
518
|
+
var ObjectiveResourceFilter = [3, n0, _ORF, 0, [_A], [0]];
|
|
519
|
+
var ObjectiveSummary = [
|
|
520
|
+
3,
|
|
521
|
+
n0,
|
|
522
|
+
_OS,
|
|
523
|
+
0,
|
|
524
|
+
[_A, _N, _D, _Do, _CT, _LUT],
|
|
525
|
+
[0, 0, 0, () => AssociatedDomainSummary, 4, 4],
|
|
526
|
+
];
|
|
527
|
+
var RegionConfiguration = [3, n0, _RC, 0, [_Sc, _DR], [0, 64 | 0]];
|
|
528
|
+
var ResourceNotFoundException = [
|
|
529
|
+
-3,
|
|
530
|
+
n0,
|
|
531
|
+
_RNFE,
|
|
532
|
+
{
|
|
533
|
+
[_e]: _c,
|
|
534
|
+
[_hE]: 404,
|
|
535
|
+
},
|
|
536
|
+
[_M],
|
|
537
|
+
[0],
|
|
538
|
+
];
|
|
539
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
540
|
+
var ThrottlingException = [
|
|
541
|
+
-3,
|
|
542
|
+
n0,
|
|
543
|
+
_TE,
|
|
544
|
+
{
|
|
545
|
+
[_e]: _c,
|
|
546
|
+
[_hE]: 429,
|
|
547
|
+
},
|
|
548
|
+
[_M],
|
|
549
|
+
[0],
|
|
550
|
+
];
|
|
551
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
552
|
+
var ValidationException = [
|
|
553
|
+
-3,
|
|
554
|
+
n0,
|
|
555
|
+
_VE,
|
|
556
|
+
{
|
|
557
|
+
[_e]: _c,
|
|
558
|
+
[_hE]: 400,
|
|
559
|
+
},
|
|
560
|
+
[_M],
|
|
561
|
+
[0],
|
|
562
|
+
];
|
|
563
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
564
|
+
var ControlCatalogServiceException = [-3, _sm, "ControlCatalogServiceException", 0, [], []];
|
|
565
|
+
schema.TypeRegistry.for(_sm).registerError(ControlCatalogServiceException, ControlCatalogServiceException$1);
|
|
566
|
+
var CommonControlSummaryList = [1, n0, _CCSL, 0, () => CommonControlSummary];
|
|
567
|
+
var ControlMappings = [1, n0, _CMo, 0, () => ControlMapping];
|
|
568
|
+
var ControlParameters = [1, n0, _CPo, 0, () => ControlParameter];
|
|
569
|
+
var Controls = [1, n0, _C, 0, () => ControlSummary];
|
|
570
|
+
var DomainResourceFilterList = [1, n0, _DRFL, 0, () => DomainResourceFilter];
|
|
571
|
+
var DomainSummaryList = [1, n0, _DSL, 0, () => DomainSummary];
|
|
572
|
+
var ObjectiveResourceFilterList = [1, n0, _ORFL, 0, () => ObjectiveResourceFilter];
|
|
573
|
+
var ObjectiveSummaryList = [1, n0, _OSL, 0, () => ObjectiveSummary];
|
|
574
|
+
var Mapping = [
|
|
575
|
+
3,
|
|
576
|
+
n0,
|
|
577
|
+
_Ma,
|
|
578
|
+
0,
|
|
579
|
+
[_Fr, _CCo],
|
|
580
|
+
[() => FrameworkMappingDetails, () => CommonControlMappingDetails],
|
|
581
|
+
];
|
|
582
|
+
var GetControl = [
|
|
583
|
+
9,
|
|
584
|
+
n0,
|
|
585
|
+
_GC,
|
|
586
|
+
{
|
|
587
|
+
[_h]: ["POST", "/get-control", 200],
|
|
588
|
+
},
|
|
589
|
+
() => GetControlRequest,
|
|
590
|
+
() => GetControlResponse,
|
|
591
|
+
];
|
|
592
|
+
var ListCommonControls = [
|
|
593
|
+
9,
|
|
594
|
+
n0,
|
|
595
|
+
_LCC,
|
|
596
|
+
{
|
|
597
|
+
[_h]: ["POST", "/common-controls", 200],
|
|
598
|
+
},
|
|
599
|
+
() => ListCommonControlsRequest,
|
|
600
|
+
() => ListCommonControlsResponse,
|
|
601
|
+
];
|
|
602
|
+
var ListControlMappings = [
|
|
603
|
+
9,
|
|
604
|
+
n0,
|
|
605
|
+
_LCM,
|
|
606
|
+
{
|
|
607
|
+
[_h]: ["POST", "/list-control-mappings", 200],
|
|
608
|
+
},
|
|
609
|
+
() => ListControlMappingsRequest,
|
|
610
|
+
() => ListControlMappingsResponse,
|
|
611
|
+
];
|
|
612
|
+
var ListControls = [
|
|
613
|
+
9,
|
|
614
|
+
n0,
|
|
615
|
+
_LC,
|
|
616
|
+
{
|
|
617
|
+
[_h]: ["POST", "/list-controls", 200],
|
|
618
|
+
},
|
|
619
|
+
() => ListControlsRequest,
|
|
620
|
+
() => ListControlsResponse,
|
|
621
|
+
];
|
|
622
|
+
var ListDomains = [
|
|
623
|
+
9,
|
|
624
|
+
n0,
|
|
625
|
+
_LD,
|
|
626
|
+
{
|
|
627
|
+
[_h]: ["POST", "/domains", 200],
|
|
628
|
+
},
|
|
629
|
+
() => ListDomainsRequest,
|
|
630
|
+
() => ListDomainsResponse,
|
|
631
|
+
];
|
|
632
|
+
var ListObjectives = [
|
|
633
|
+
9,
|
|
634
|
+
n0,
|
|
635
|
+
_LO,
|
|
636
|
+
{
|
|
637
|
+
[_h]: ["POST", "/objectives", 200],
|
|
638
|
+
},
|
|
639
|
+
() => ListObjectivesRequest,
|
|
640
|
+
() => ListObjectivesResponse,
|
|
641
|
+
];
|
|
598
642
|
|
|
599
643
|
class GetControlCommand extends smithyClient.Command
|
|
600
644
|
.classBuilder()
|
|
601
645
|
.ep(commonParams)
|
|
602
646
|
.m(function (Command, cs, config, o) {
|
|
603
|
-
return [
|
|
604
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
605
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
606
|
-
];
|
|
647
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
607
648
|
})
|
|
608
649
|
.s("ControlCatalog", "GetControl", {})
|
|
609
650
|
.n("ControlCatalogClient", "GetControlCommand")
|
|
610
|
-
.
|
|
611
|
-
.ser(se_GetControlCommand)
|
|
612
|
-
.de(de_GetControlCommand)
|
|
651
|
+
.sc(GetControl)
|
|
613
652
|
.build() {
|
|
614
653
|
}
|
|
615
654
|
|
|
@@ -617,16 +656,11 @@ class ListCommonControlsCommand extends smithyClient.Command
|
|
|
617
656
|
.classBuilder()
|
|
618
657
|
.ep(commonParams)
|
|
619
658
|
.m(function (Command, cs, config, o) {
|
|
620
|
-
return [
|
|
621
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
622
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
623
|
-
];
|
|
659
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
624
660
|
})
|
|
625
661
|
.s("ControlCatalog", "ListCommonControls", {})
|
|
626
662
|
.n("ControlCatalogClient", "ListCommonControlsCommand")
|
|
627
|
-
.
|
|
628
|
-
.ser(se_ListCommonControlsCommand)
|
|
629
|
-
.de(de_ListCommonControlsCommand)
|
|
663
|
+
.sc(ListCommonControls)
|
|
630
664
|
.build() {
|
|
631
665
|
}
|
|
632
666
|
|
|
@@ -634,16 +668,11 @@ class ListControlMappingsCommand extends smithyClient.Command
|
|
|
634
668
|
.classBuilder()
|
|
635
669
|
.ep(commonParams)
|
|
636
670
|
.m(function (Command, cs, config, o) {
|
|
637
|
-
return [
|
|
638
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
639
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
640
|
-
];
|
|
671
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
641
672
|
})
|
|
642
673
|
.s("ControlCatalog", "ListControlMappings", {})
|
|
643
674
|
.n("ControlCatalogClient", "ListControlMappingsCommand")
|
|
644
|
-
.
|
|
645
|
-
.ser(se_ListControlMappingsCommand)
|
|
646
|
-
.de(de_ListControlMappingsCommand)
|
|
675
|
+
.sc(ListControlMappings)
|
|
647
676
|
.build() {
|
|
648
677
|
}
|
|
649
678
|
|
|
@@ -651,16 +680,11 @@ class ListControlsCommand extends smithyClient.Command
|
|
|
651
680
|
.classBuilder()
|
|
652
681
|
.ep(commonParams)
|
|
653
682
|
.m(function (Command, cs, config, o) {
|
|
654
|
-
return [
|
|
655
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
656
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
657
|
-
];
|
|
683
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
658
684
|
})
|
|
659
685
|
.s("ControlCatalog", "ListControls", {})
|
|
660
686
|
.n("ControlCatalogClient", "ListControlsCommand")
|
|
661
|
-
.
|
|
662
|
-
.ser(se_ListControlsCommand)
|
|
663
|
-
.de(de_ListControlsCommand)
|
|
687
|
+
.sc(ListControls)
|
|
664
688
|
.build() {
|
|
665
689
|
}
|
|
666
690
|
|
|
@@ -668,16 +692,11 @@ class ListDomainsCommand extends smithyClient.Command
|
|
|
668
692
|
.classBuilder()
|
|
669
693
|
.ep(commonParams)
|
|
670
694
|
.m(function (Command, cs, config, o) {
|
|
671
|
-
return [
|
|
672
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
673
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
674
|
-
];
|
|
695
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
675
696
|
})
|
|
676
697
|
.s("ControlCatalog", "ListDomains", {})
|
|
677
698
|
.n("ControlCatalogClient", "ListDomainsCommand")
|
|
678
|
-
.
|
|
679
|
-
.ser(se_ListDomainsCommand)
|
|
680
|
-
.de(de_ListDomainsCommand)
|
|
699
|
+
.sc(ListDomains)
|
|
681
700
|
.build() {
|
|
682
701
|
}
|
|
683
702
|
|
|
@@ -685,16 +704,11 @@ class ListObjectivesCommand extends smithyClient.Command
|
|
|
685
704
|
.classBuilder()
|
|
686
705
|
.ep(commonParams)
|
|
687
706
|
.m(function (Command, cs, config, o) {
|
|
688
|
-
return [
|
|
689
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
690
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
691
|
-
];
|
|
707
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
692
708
|
})
|
|
693
709
|
.s("ControlCatalog", "ListObjectives", {})
|
|
694
710
|
.n("ControlCatalogClient", "ListObjectivesCommand")
|
|
695
|
-
.
|
|
696
|
-
.ser(se_ListObjectivesCommand)
|
|
697
|
-
.de(de_ListObjectivesCommand)
|
|
711
|
+
.sc(ListObjectives)
|
|
698
712
|
.build() {
|
|
699
713
|
}
|
|
700
714
|
|
|
@@ -728,24 +742,24 @@ Object.defineProperty(exports, "__Client", {
|
|
|
728
742
|
enumerable: true,
|
|
729
743
|
get: function () { return smithyClient.Client; }
|
|
730
744
|
});
|
|
731
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
745
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
732
746
|
exports.ControlBehavior = ControlBehavior;
|
|
733
747
|
exports.ControlCatalog = ControlCatalog;
|
|
734
748
|
exports.ControlCatalogClient = ControlCatalogClient;
|
|
735
|
-
exports.ControlCatalogServiceException = ControlCatalogServiceException;
|
|
749
|
+
exports.ControlCatalogServiceException = ControlCatalogServiceException$1;
|
|
736
750
|
exports.ControlScope = ControlScope;
|
|
737
751
|
exports.ControlSeverity = ControlSeverity;
|
|
738
752
|
exports.GetControlCommand = GetControlCommand;
|
|
739
|
-
exports.InternalServerException = InternalServerException;
|
|
753
|
+
exports.InternalServerException = InternalServerException$1;
|
|
740
754
|
exports.ListCommonControlsCommand = ListCommonControlsCommand;
|
|
741
755
|
exports.ListControlMappingsCommand = ListControlMappingsCommand;
|
|
742
756
|
exports.ListControlsCommand = ListControlsCommand;
|
|
743
757
|
exports.ListDomainsCommand = ListDomainsCommand;
|
|
744
758
|
exports.ListObjectivesCommand = ListObjectivesCommand;
|
|
745
759
|
exports.MappingType = MappingType;
|
|
746
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
747
|
-
exports.ThrottlingException = ThrottlingException;
|
|
748
|
-
exports.ValidationException = ValidationException;
|
|
760
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
761
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
762
|
+
exports.ValidationException = ValidationException$1;
|
|
749
763
|
exports.paginateListCommonControls = paginateListCommonControls;
|
|
750
764
|
exports.paginateListControlMappings = paginateListControlMappings;
|
|
751
765
|
exports.paginateListControls = paginateListControls;
|