@aws-sdk/client-controlcatalog 3.987.0 → 3.988.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var ControlCatalogServiceException = require('./models/ControlCatalogServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,434 +113,6 @@ class ControlCatalogClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class ControlCatalogServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, ControlCatalogServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends ControlCatalogServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "AccessDeniedException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class InternalServerException extends ControlCatalogServiceException {
135
- name = "InternalServerException";
136
- $fault = "server";
137
- $retryable = {};
138
- Message;
139
- constructor(opts) {
140
- super({
141
- name: "InternalServerException",
142
- $fault: "server",
143
- ...opts,
144
- });
145
- Object.setPrototypeOf(this, InternalServerException.prototype);
146
- this.Message = opts.Message;
147
- }
148
- }
149
- class ThrottlingException extends ControlCatalogServiceException {
150
- name = "ThrottlingException";
151
- $fault = "client";
152
- $retryable = {
153
- throttling: true,
154
- };
155
- Message;
156
- constructor(opts) {
157
- super({
158
- name: "ThrottlingException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- Object.setPrototypeOf(this, ThrottlingException.prototype);
163
- this.Message = opts.Message;
164
- }
165
- }
166
- class ValidationException extends ControlCatalogServiceException {
167
- name = "ValidationException";
168
- $fault = "client";
169
- Message;
170
- constructor(opts) {
171
- super({
172
- name: "ValidationException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, ValidationException.prototype);
177
- this.Message = opts.Message;
178
- }
179
- }
180
- class ResourceNotFoundException extends ControlCatalogServiceException {
181
- name = "ResourceNotFoundException";
182
- $fault = "client";
183
- Message;
184
- constructor(opts) {
185
- super({
186
- name: "ResourceNotFoundException",
187
- $fault: "client",
188
- ...opts,
189
- });
190
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
191
- this.Message = opts.Message;
192
- }
193
- }
194
-
195
- const _A = "Arn";
196
- const _ADE = "AccessDeniedException";
197
- const _ADS = "AssociatedDomainSummary";
198
- const _AOS = "AssociatedObjectiveSummary";
199
- const _Al = "Aliases";
200
- const _B = "Behavior";
201
- const _C = "Controls";
202
- const _CA = "ControlArn";
203
- const _CAo = "ControlArns";
204
- const _CC = "CommonControls";
205
- const _CCA = "CommonControlArn";
206
- const _CCAo = "CommonControlArns";
207
- const _CCF = "CommonControlFilter";
208
- const _CCMD = "CommonControlMappingDetails";
209
- const _CCS = "CommonControlSummary";
210
- const _CCSL = "CommonControlSummaryList";
211
- const _CCo = "CommonControl";
212
- const _CF = "ControlFilter";
213
- const _CM = "ControlMapping";
214
- const _CMF = "ControlMappingFilter";
215
- const _CMo = "ControlMappings";
216
- const _CP = "ControlParameter";
217
- const _CPo = "ControlParameters";
218
- const _CS = "ControlSummary";
219
- const _CT = "CreateTime";
220
- const _D = "Description";
221
- const _DR = "DeployableRegions";
222
- const _DRF = "DomainResourceFilter";
223
- const _DRFL = "DomainResourceFilterList";
224
- const _DS = "DomainSummary";
225
- const _DSL = "DomainSummaryList";
226
- const _Do = "Domain";
227
- const _Dom = "Domains";
228
- const _F = "Filter";
229
- const _FMD = "FrameworkMappingDetails";
230
- const _Fr = "Framework";
231
- const _GC = "GetControl";
232
- const _GCR = "GetControlRequest";
233
- const _GCRe = "GetControlResponse";
234
- const _GR = "GovernedResources";
235
- const _I = "Implementations";
236
- const _ID = "ImplementationDetails";
237
- const _IF = "ImplementationFilter";
238
- const _IS = "ImplementationSummary";
239
- const _ISE = "InternalServerException";
240
- const _Id = "Identifier";
241
- const _Ide = "Identifiers";
242
- const _Im = "Implementation";
243
- const _It = "Item";
244
- const _LC = "ListControls";
245
- const _LCC = "ListCommonControls";
246
- const _LCCR = "ListCommonControlsRequest";
247
- const _LCCRi = "ListCommonControlsResponse";
248
- const _LCM = "ListControlMappings";
249
- const _LCMR = "ListControlMappingsRequest";
250
- const _LCMRi = "ListControlMappingsResponse";
251
- const _LCR = "ListControlsRequest";
252
- const _LCRi = "ListControlsResponse";
253
- const _LD = "ListDomains";
254
- const _LDR = "ListDomainsRequest";
255
- const _LDRi = "ListDomainsResponse";
256
- const _LO = "ListObjectives";
257
- const _LOR = "ListObjectivesRequest";
258
- const _LORi = "ListObjectivesResponse";
259
- const _LUT = "LastUpdateTime";
260
- const _M = "Message";
261
- const _MR = "MaxResults";
262
- const _MT = "MappingType";
263
- const _MTa = "MappingTypes";
264
- const _Ma = "Mapping";
265
- const _N = "Name";
266
- const _NT = "NextToken";
267
- const _O = "Objectives";
268
- const _OF = "ObjectiveFilter";
269
- const _ORF = "ObjectiveResourceFilter";
270
- const _ORFL = "ObjectiveResourceFilterList";
271
- const _OS = "ObjectiveSummary";
272
- const _OSL = "ObjectiveSummaryList";
273
- const _Ob = "Objective";
274
- const _P = "Parameters";
275
- const _RC = "RegionConfiguration";
276
- const _RCMD = "RelatedControlMappingDetails";
277
- const _RCe = "RelatedControl";
278
- const _RNFE = "ResourceNotFoundException";
279
- const _RT = "RelationType";
280
- const _S = "Severity";
281
- const _Sc = "Scope";
282
- const _T = "Type";
283
- const _TE = "ThrottlingException";
284
- const _Ty = "Types";
285
- const _VE = "ValidationException";
286
- const _c = "client";
287
- const _e = "error";
288
- const _h = "http";
289
- const _hE = "httpError";
290
- const _hQ = "httpQuery";
291
- const _mR = "maxResults";
292
- const _nT = "nextToken";
293
- const _s = "server";
294
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
295
- const n0 = "com.amazonaws.controlcatalog";
296
- var AccessDeniedException$ = [-3, n0, _ADE,
297
- { [_e]: _c, [_hE]: 403 },
298
- [_M],
299
- [0]
300
- ];
301
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
302
- var AssociatedDomainSummary$ = [3, n0, _ADS,
303
- 0,
304
- [_A, _N],
305
- [0, 0]
306
- ];
307
- var AssociatedObjectiveSummary$ = [3, n0, _AOS,
308
- 0,
309
- [_A, _N],
310
- [0, 0]
311
- ];
312
- var CommonControlFilter$ = [3, n0, _CCF,
313
- 0,
314
- [_O],
315
- [() => ObjectiveResourceFilterList]
316
- ];
317
- var CommonControlMappingDetails$ = [3, n0, _CCMD,
318
- 0,
319
- [_CCA],
320
- [0], 1
321
- ];
322
- var CommonControlSummary$ = [3, n0, _CCS,
323
- 0,
324
- [_A, _N, _D, _Do, _Ob, _CT, _LUT],
325
- [0, 0, 0, () => AssociatedDomainSummary$, () => AssociatedObjectiveSummary$, 4, 4], 7
326
- ];
327
- var ControlFilter$ = [3, n0, _CF,
328
- 0,
329
- [_I],
330
- [() => ImplementationFilter$]
331
- ];
332
- var ControlMapping$ = [3, n0, _CM,
333
- 0,
334
- [_CA, _MT, _Ma],
335
- [0, 0, () => Mapping$], 3
336
- ];
337
- var ControlMappingFilter$ = [3, n0, _CMF,
338
- 0,
339
- [_CAo, _CCAo, _MTa],
340
- [64 | 0, 64 | 0, 64 | 0]
341
- ];
342
- var ControlParameter$ = [3, n0, _CP,
343
- 0,
344
- [_N],
345
- [0], 1
346
- ];
347
- var ControlSummary$ = [3, n0, _CS,
348
- 0,
349
- [_A, _N, _D, _Al, _B, _S, _Im, _CT, _GR],
350
- [0, 0, 0, 64 | 0, 0, 0, () => ImplementationSummary$, 4, 64 | 0], 3
351
- ];
352
- var DomainResourceFilter$ = [3, n0, _DRF,
353
- 0,
354
- [_A],
355
- [0]
356
- ];
357
- var DomainSummary$ = [3, n0, _DS,
358
- 0,
359
- [_A, _N, _D, _CT, _LUT],
360
- [0, 0, 0, 4, 4], 5
361
- ];
362
- var FrameworkMappingDetails$ = [3, n0, _FMD,
363
- 0,
364
- [_N, _It],
365
- [0, 0], 2
366
- ];
367
- var GetControlRequest$ = [3, n0, _GCR,
368
- 0,
369
- [_CA],
370
- [0], 1
371
- ];
372
- var GetControlResponse$ = [3, n0, _GCRe,
373
- 0,
374
- [_A, _N, _D, _B, _RC, _Al, _S, _Im, _P, _CT, _GR],
375
- [0, 0, 0, 0, () => RegionConfiguration$, 64 | 0, 0, () => ImplementationDetails$, () => ControlParameters, 4, 64 | 0], 5
376
- ];
377
- var ImplementationDetails$ = [3, n0, _ID,
378
- 0,
379
- [_T, _Id],
380
- [0, 0], 1
381
- ];
382
- var ImplementationFilter$ = [3, n0, _IF,
383
- 0,
384
- [_Ty, _Ide],
385
- [64 | 0, 64 | 0]
386
- ];
387
- var ImplementationSummary$ = [3, n0, _IS,
388
- 0,
389
- [_T, _Id],
390
- [0, 0], 1
391
- ];
392
- var InternalServerException$ = [-3, n0, _ISE,
393
- { [_e]: _s, [_hE]: 500 },
394
- [_M],
395
- [0]
396
- ];
397
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
398
- var ListCommonControlsRequest$ = [3, n0, _LCCR,
399
- 0,
400
- [_MR, _NT, _CCF],
401
- [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], () => CommonControlFilter$]
402
- ];
403
- var ListCommonControlsResponse$ = [3, n0, _LCCRi,
404
- 0,
405
- [_CC, _NT],
406
- [() => CommonControlSummaryList, 0], 1
407
- ];
408
- var ListControlMappingsRequest$ = [3, n0, _LCMR,
409
- 0,
410
- [_NT, _MR, _F],
411
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], () => ControlMappingFilter$]
412
- ];
413
- var ListControlMappingsResponse$ = [3, n0, _LCMRi,
414
- 0,
415
- [_CMo, _NT],
416
- [() => ControlMappings, 0], 1
417
- ];
418
- var ListControlsRequest$ = [3, n0, _LCR,
419
- 0,
420
- [_NT, _MR, _F],
421
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], () => ControlFilter$]
422
- ];
423
- var ListControlsResponse$ = [3, n0, _LCRi,
424
- 0,
425
- [_C, _NT],
426
- [() => Controls, 0], 1
427
- ];
428
- var ListDomainsRequest$ = [3, n0, _LDR,
429
- 0,
430
- [_MR, _NT],
431
- [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
432
- ];
433
- var ListDomainsResponse$ = [3, n0, _LDRi,
434
- 0,
435
- [_Dom, _NT],
436
- [() => DomainSummaryList, 0], 1
437
- ];
438
- var ListObjectivesRequest$ = [3, n0, _LOR,
439
- 0,
440
- [_MR, _NT, _OF],
441
- [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], () => ObjectiveFilter$]
442
- ];
443
- var ListObjectivesResponse$ = [3, n0, _LORi,
444
- 0,
445
- [_O, _NT],
446
- [() => ObjectiveSummaryList, 0], 1
447
- ];
448
- var ObjectiveFilter$ = [3, n0, _OF,
449
- 0,
450
- [_Dom],
451
- [() => DomainResourceFilterList]
452
- ];
453
- var ObjectiveResourceFilter$ = [3, n0, _ORF,
454
- 0,
455
- [_A],
456
- [0]
457
- ];
458
- var ObjectiveSummary$ = [3, n0, _OS,
459
- 0,
460
- [_A, _N, _D, _Do, _CT, _LUT],
461
- [0, 0, 0, () => AssociatedDomainSummary$, 4, 4], 6
462
- ];
463
- var RegionConfiguration$ = [3, n0, _RC,
464
- 0,
465
- [_Sc, _DR],
466
- [0, 64 | 0], 1
467
- ];
468
- var RelatedControlMappingDetails$ = [3, n0, _RCMD,
469
- 0,
470
- [_RT, _CA],
471
- [0, 0], 1
472
- ];
473
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
474
- { [_e]: _c, [_hE]: 404 },
475
- [_M],
476
- [0]
477
- ];
478
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
479
- var ThrottlingException$ = [-3, n0, _TE,
480
- { [_e]: _c, [_hE]: 429 },
481
- [_M],
482
- [0]
483
- ];
484
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
485
- var ValidationException$ = [-3, n0, _VE,
486
- { [_e]: _c, [_hE]: 400 },
487
- [_M],
488
- [0]
489
- ];
490
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
491
- var ControlCatalogServiceException$ = [-3, _sm, "ControlCatalogServiceException", 0, [], []];
492
- schema.TypeRegistry.for(_sm).registerError(ControlCatalogServiceException$, ControlCatalogServiceException);
493
- var CommonControlSummaryList = [1, n0, _CCSL,
494
- 0, () => CommonControlSummary$
495
- ];
496
- var ControlMappings = [1, n0, _CMo,
497
- 0, () => ControlMapping$
498
- ];
499
- var ControlParameters = [1, n0, _CPo,
500
- 0, () => ControlParameter$
501
- ];
502
- var Controls = [1, n0, _C,
503
- 0, () => ControlSummary$
504
- ];
505
- var DomainResourceFilterList = [1, n0, _DRFL,
506
- 0, () => DomainResourceFilter$
507
- ];
508
- var DomainSummaryList = [1, n0, _DSL,
509
- 0, () => DomainSummary$
510
- ];
511
- var ObjectiveResourceFilterList = [1, n0, _ORFL,
512
- 0, () => ObjectiveResourceFilter$
513
- ];
514
- var ObjectiveSummaryList = [1, n0, _OSL,
515
- 0, () => ObjectiveSummary$
516
- ];
517
- var Mapping$ = [4, n0, _Ma,
518
- 0,
519
- [_Fr, _CCo, _RCe],
520
- [() => FrameworkMappingDetails$, () => CommonControlMappingDetails$, () => RelatedControlMappingDetails$]
521
- ];
522
- var GetControl$ = [9, n0, _GC,
523
- { [_h]: ["POST", "/get-control", 200] }, () => GetControlRequest$, () => GetControlResponse$
524
- ];
525
- var ListCommonControls$ = [9, n0, _LCC,
526
- { [_h]: ["POST", "/common-controls", 200] }, () => ListCommonControlsRequest$, () => ListCommonControlsResponse$
527
- ];
528
- var ListControlMappings$ = [9, n0, _LCM,
529
- { [_h]: ["POST", "/list-control-mappings", 200] }, () => ListControlMappingsRequest$, () => ListControlMappingsResponse$
530
- ];
531
- var ListControls$ = [9, n0, _LC,
532
- { [_h]: ["POST", "/list-controls", 200] }, () => ListControlsRequest$, () => ListControlsResponse$
533
- ];
534
- var ListDomains$ = [9, n0, _LD,
535
- { [_h]: ["POST", "/domains", 200] }, () => ListDomainsRequest$, () => ListDomainsResponse$
536
- ];
537
- var ListObjectives$ = [9, n0, _LO,
538
- { [_h]: ["POST", "/objectives", 200] }, () => ListObjectivesRequest$, () => ListObjectivesResponse$
539
- ];
540
-
541
116
  class GetControlCommand extends smithyClient.Command
542
117
  .classBuilder()
543
118
  .ep(commonParams)
@@ -546,7 +121,7 @@ class GetControlCommand extends smithyClient.Command
546
121
  })
547
122
  .s("ControlCatalog", "GetControl", {})
548
123
  .n("ControlCatalogClient", "GetControlCommand")
549
- .sc(GetControl$)
124
+ .sc(schemas_0.GetControl$)
550
125
  .build() {
551
126
  }
552
127
 
@@ -558,7 +133,7 @@ class ListCommonControlsCommand extends smithyClient.Command
558
133
  })
559
134
  .s("ControlCatalog", "ListCommonControls", {})
560
135
  .n("ControlCatalogClient", "ListCommonControlsCommand")
561
- .sc(ListCommonControls$)
136
+ .sc(schemas_0.ListCommonControls$)
562
137
  .build() {
563
138
  }
564
139
 
@@ -570,7 +145,7 @@ class ListControlMappingsCommand extends smithyClient.Command
570
145
  })
571
146
  .s("ControlCatalog", "ListControlMappings", {})
572
147
  .n("ControlCatalogClient", "ListControlMappingsCommand")
573
- .sc(ListControlMappings$)
148
+ .sc(schemas_0.ListControlMappings$)
574
149
  .build() {
575
150
  }
576
151
 
@@ -582,7 +157,7 @@ class ListControlsCommand extends smithyClient.Command
582
157
  })
583
158
  .s("ControlCatalog", "ListControls", {})
584
159
  .n("ControlCatalogClient", "ListControlsCommand")
585
- .sc(ListControls$)
160
+ .sc(schemas_0.ListControls$)
586
161
  .build() {
587
162
  }
588
163
 
@@ -594,7 +169,7 @@ class ListDomainsCommand extends smithyClient.Command
594
169
  })
595
170
  .s("ControlCatalog", "ListDomains", {})
596
171
  .n("ControlCatalogClient", "ListDomainsCommand")
597
- .sc(ListDomains$)
172
+ .sc(schemas_0.ListDomains$)
598
173
  .build() {
599
174
  }
600
175
 
@@ -606,7 +181,7 @@ class ListObjectivesCommand extends smithyClient.Command
606
181
  })
607
182
  .s("ControlCatalog", "ListObjectives", {})
608
183
  .n("ControlCatalogClient", "ListObjectivesCommand")
609
- .sc(ListObjectives$)
184
+ .sc(schemas_0.ListObjectives$)
610
185
  .build() {
611
186
  }
612
187
 
@@ -673,73 +248,37 @@ Object.defineProperty(exports, "__Client", {
673
248
  enumerable: true,
674
249
  get: function () { return smithyClient.Client; }
675
250
  });
676
- exports.AccessDeniedException = AccessDeniedException;
677
- exports.AccessDeniedException$ = AccessDeniedException$;
678
- exports.AssociatedDomainSummary$ = AssociatedDomainSummary$;
679
- exports.AssociatedObjectiveSummary$ = AssociatedObjectiveSummary$;
680
- exports.CommonControlFilter$ = CommonControlFilter$;
681
- exports.CommonControlMappingDetails$ = CommonControlMappingDetails$;
682
- exports.CommonControlSummary$ = CommonControlSummary$;
251
+ Object.defineProperty(exports, "ControlCatalogServiceException", {
252
+ enumerable: true,
253
+ get: function () { return ControlCatalogServiceException.ControlCatalogServiceException; }
254
+ });
683
255
  exports.ControlBehavior = ControlBehavior;
684
256
  exports.ControlCatalog = ControlCatalog;
685
257
  exports.ControlCatalogClient = ControlCatalogClient;
686
- exports.ControlCatalogServiceException = ControlCatalogServiceException;
687
- exports.ControlCatalogServiceException$ = ControlCatalogServiceException$;
688
- exports.ControlFilter$ = ControlFilter$;
689
- exports.ControlMapping$ = ControlMapping$;
690
- exports.ControlMappingFilter$ = ControlMappingFilter$;
691
- exports.ControlParameter$ = ControlParameter$;
692
258
  exports.ControlRelationType = ControlRelationType;
693
259
  exports.ControlScope = ControlScope;
694
260
  exports.ControlSeverity = ControlSeverity;
695
- exports.ControlSummary$ = ControlSummary$;
696
- exports.DomainResourceFilter$ = DomainResourceFilter$;
697
- exports.DomainSummary$ = DomainSummary$;
698
- exports.FrameworkMappingDetails$ = FrameworkMappingDetails$;
699
- exports.GetControl$ = GetControl$;
700
261
  exports.GetControlCommand = GetControlCommand;
701
- exports.GetControlRequest$ = GetControlRequest$;
702
- exports.GetControlResponse$ = GetControlResponse$;
703
- exports.ImplementationDetails$ = ImplementationDetails$;
704
- exports.ImplementationFilter$ = ImplementationFilter$;
705
- exports.ImplementationSummary$ = ImplementationSummary$;
706
- exports.InternalServerException = InternalServerException;
707
- exports.InternalServerException$ = InternalServerException$;
708
- exports.ListCommonControls$ = ListCommonControls$;
709
262
  exports.ListCommonControlsCommand = ListCommonControlsCommand;
710
- exports.ListCommonControlsRequest$ = ListCommonControlsRequest$;
711
- exports.ListCommonControlsResponse$ = ListCommonControlsResponse$;
712
- exports.ListControlMappings$ = ListControlMappings$;
713
263
  exports.ListControlMappingsCommand = ListControlMappingsCommand;
714
- exports.ListControlMappingsRequest$ = ListControlMappingsRequest$;
715
- exports.ListControlMappingsResponse$ = ListControlMappingsResponse$;
716
- exports.ListControls$ = ListControls$;
717
264
  exports.ListControlsCommand = ListControlsCommand;
718
- exports.ListControlsRequest$ = ListControlsRequest$;
719
- exports.ListControlsResponse$ = ListControlsResponse$;
720
- exports.ListDomains$ = ListDomains$;
721
265
  exports.ListDomainsCommand = ListDomainsCommand;
722
- exports.ListDomainsRequest$ = ListDomainsRequest$;
723
- exports.ListDomainsResponse$ = ListDomainsResponse$;
724
- exports.ListObjectives$ = ListObjectives$;
725
266
  exports.ListObjectivesCommand = ListObjectivesCommand;
726
- exports.ListObjectivesRequest$ = ListObjectivesRequest$;
727
- exports.ListObjectivesResponse$ = ListObjectivesResponse$;
728
- exports.Mapping$ = Mapping$;
729
267
  exports.MappingType = MappingType;
730
- exports.ObjectiveFilter$ = ObjectiveFilter$;
731
- exports.ObjectiveResourceFilter$ = ObjectiveResourceFilter$;
732
- exports.ObjectiveSummary$ = ObjectiveSummary$;
733
- exports.RegionConfiguration$ = RegionConfiguration$;
734
- exports.RelatedControlMappingDetails$ = RelatedControlMappingDetails$;
735
- exports.ResourceNotFoundException = ResourceNotFoundException;
736
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
737
- exports.ThrottlingException = ThrottlingException;
738
- exports.ThrottlingException$ = ThrottlingException$;
739
- exports.ValidationException = ValidationException;
740
- exports.ValidationException$ = ValidationException$;
741
268
  exports.paginateListCommonControls = paginateListCommonControls;
742
269
  exports.paginateListControlMappings = paginateListControlMappings;
743
270
  exports.paginateListControls = paginateListControls;
744
271
  exports.paginateListDomains = paginateListDomains;
745
272
  exports.paginateListObjectives = paginateListObjectives;
273
+ Object.keys(schemas_0).forEach(function (k) {
274
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
275
+ enumerable: true,
276
+ get: function () { return schemas_0[k]; }
277
+ });
278
+ });
279
+ Object.keys(errors).forEach(function (k) {
280
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
281
+ enumerable: true,
282
+ get: function () { return errors[k]; }
283
+ });
284
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ControlCatalogServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ControlCatalogServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ControlCatalogServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ControlCatalogServiceException = ControlCatalogServiceException;
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const ControlCatalogServiceException_1 = require("./ControlCatalogServiceException");
5
+ class AccessDeniedException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class InternalServerException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
21
+ name = "InternalServerException";
22
+ $fault = "server";
23
+ $retryable = {};
24
+ Message;
25
+ constructor(opts) {
26
+ super({
27
+ name: "InternalServerException",
28
+ $fault: "server",
29
+ ...opts,
30
+ });
31
+ Object.setPrototypeOf(this, InternalServerException.prototype);
32
+ this.Message = opts.Message;
33
+ }
34
+ }
35
+ exports.InternalServerException = InternalServerException;
36
+ class ThrottlingException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
37
+ name = "ThrottlingException";
38
+ $fault = "client";
39
+ $retryable = {
40
+ throttling: true,
41
+ };
42
+ Message;
43
+ constructor(opts) {
44
+ super({
45
+ name: "ThrottlingException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
50
+ this.Message = opts.Message;
51
+ }
52
+ }
53
+ exports.ThrottlingException = ThrottlingException;
54
+ class ValidationException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
55
+ name = "ValidationException";
56
+ $fault = "client";
57
+ Message;
58
+ constructor(opts) {
59
+ super({
60
+ name: "ValidationException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ Object.setPrototypeOf(this, ValidationException.prototype);
65
+ this.Message = opts.Message;
66
+ }
67
+ }
68
+ exports.ValidationException = ValidationException;
69
+ class ResourceNotFoundException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
70
+ name = "ResourceNotFoundException";
71
+ $fault = "client";
72
+ Message;
73
+ constructor(opts) {
74
+ super({
75
+ name: "ResourceNotFoundException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
80
+ this.Message = opts.Message;
81
+ }
82
+ }
83
+ exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2018-05-10",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.controlcatalog",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-05-10",
33
35
  serviceTarget: "ControlCatalog",
34
36
  },
@@ -0,0 +1,365 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListObjectives$ = exports.ListDomains$ = exports.ListControls$ = exports.ListControlMappings$ = exports.ListCommonControls$ = exports.GetControl$ = exports.Mapping$ = exports.RelatedControlMappingDetails$ = exports.RegionConfiguration$ = exports.ObjectiveSummary$ = exports.ObjectiveResourceFilter$ = exports.ObjectiveFilter$ = exports.ListObjectivesResponse$ = exports.ListObjectivesRequest$ = exports.ListDomainsResponse$ = exports.ListDomainsRequest$ = exports.ListControlsResponse$ = exports.ListControlsRequest$ = exports.ListControlMappingsResponse$ = exports.ListControlMappingsRequest$ = exports.ListCommonControlsResponse$ = exports.ListCommonControlsRequest$ = exports.ImplementationSummary$ = exports.ImplementationFilter$ = exports.ImplementationDetails$ = exports.GetControlResponse$ = exports.GetControlRequest$ = exports.FrameworkMappingDetails$ = exports.DomainSummary$ = exports.DomainResourceFilter$ = exports.ControlSummary$ = exports.ControlParameter$ = exports.ControlMappingFilter$ = exports.ControlMapping$ = exports.ControlFilter$ = exports.CommonControlSummary$ = exports.CommonControlMappingDetails$ = exports.CommonControlFilter$ = exports.AssociatedObjectiveSummary$ = exports.AssociatedDomainSummary$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.ControlCatalogServiceException$ = void 0;
4
+ const _A = "Arn";
5
+ const _ADE = "AccessDeniedException";
6
+ const _ADS = "AssociatedDomainSummary";
7
+ const _AOS = "AssociatedObjectiveSummary";
8
+ const _Al = "Aliases";
9
+ const _B = "Behavior";
10
+ const _C = "Controls";
11
+ const _CA = "ControlArn";
12
+ const _CAo = "ControlArns";
13
+ const _CC = "CommonControls";
14
+ const _CCA = "CommonControlArn";
15
+ const _CCAo = "CommonControlArns";
16
+ const _CCF = "CommonControlFilter";
17
+ const _CCMD = "CommonControlMappingDetails";
18
+ const _CCS = "CommonControlSummary";
19
+ const _CCSL = "CommonControlSummaryList";
20
+ const _CCo = "CommonControl";
21
+ const _CF = "ControlFilter";
22
+ const _CM = "ControlMapping";
23
+ const _CMF = "ControlMappingFilter";
24
+ const _CMo = "ControlMappings";
25
+ const _CP = "ControlParameter";
26
+ const _CPo = "ControlParameters";
27
+ const _CS = "ControlSummary";
28
+ const _CT = "CreateTime";
29
+ const _D = "Description";
30
+ const _DR = "DeployableRegions";
31
+ const _DRF = "DomainResourceFilter";
32
+ const _DRFL = "DomainResourceFilterList";
33
+ const _DS = "DomainSummary";
34
+ const _DSL = "DomainSummaryList";
35
+ const _Do = "Domain";
36
+ const _Dom = "Domains";
37
+ const _F = "Filter";
38
+ const _FMD = "FrameworkMappingDetails";
39
+ const _Fr = "Framework";
40
+ const _GC = "GetControl";
41
+ const _GCR = "GetControlRequest";
42
+ const _GCRe = "GetControlResponse";
43
+ const _GR = "GovernedResources";
44
+ const _I = "Implementations";
45
+ const _ID = "ImplementationDetails";
46
+ const _IF = "ImplementationFilter";
47
+ const _IS = "ImplementationSummary";
48
+ const _ISE = "InternalServerException";
49
+ const _Id = "Identifier";
50
+ const _Ide = "Identifiers";
51
+ const _Im = "Implementation";
52
+ const _It = "Item";
53
+ const _LC = "ListControls";
54
+ const _LCC = "ListCommonControls";
55
+ const _LCCR = "ListCommonControlsRequest";
56
+ const _LCCRi = "ListCommonControlsResponse";
57
+ const _LCM = "ListControlMappings";
58
+ const _LCMR = "ListControlMappingsRequest";
59
+ const _LCMRi = "ListControlMappingsResponse";
60
+ const _LCR = "ListControlsRequest";
61
+ const _LCRi = "ListControlsResponse";
62
+ const _LD = "ListDomains";
63
+ const _LDR = "ListDomainsRequest";
64
+ const _LDRi = "ListDomainsResponse";
65
+ const _LO = "ListObjectives";
66
+ const _LOR = "ListObjectivesRequest";
67
+ const _LORi = "ListObjectivesResponse";
68
+ const _LUT = "LastUpdateTime";
69
+ const _M = "Message";
70
+ const _MR = "MaxResults";
71
+ const _MT = "MappingType";
72
+ const _MTa = "MappingTypes";
73
+ const _Ma = "Mapping";
74
+ const _N = "Name";
75
+ const _NT = "NextToken";
76
+ const _O = "Objectives";
77
+ const _OF = "ObjectiveFilter";
78
+ const _ORF = "ObjectiveResourceFilter";
79
+ const _ORFL = "ObjectiveResourceFilterList";
80
+ const _OS = "ObjectiveSummary";
81
+ const _OSL = "ObjectiveSummaryList";
82
+ const _Ob = "Objective";
83
+ const _P = "Parameters";
84
+ const _RC = "RegionConfiguration";
85
+ const _RCMD = "RelatedControlMappingDetails";
86
+ const _RCe = "RelatedControl";
87
+ const _RNFE = "ResourceNotFoundException";
88
+ const _RT = "RelationType";
89
+ const _S = "Severity";
90
+ const _Sc = "Scope";
91
+ const _T = "Type";
92
+ const _TE = "ThrottlingException";
93
+ const _Ty = "Types";
94
+ const _VE = "ValidationException";
95
+ const _c = "client";
96
+ const _e = "error";
97
+ const _h = "http";
98
+ const _hE = "httpError";
99
+ const _hQ = "httpQuery";
100
+ const _mR = "maxResults";
101
+ const _nT = "nextToken";
102
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
103
+ const _se = "server";
104
+ const n0 = "com.amazonaws.controlcatalog";
105
+ const schema_1 = require("@smithy/core/schema");
106
+ const ControlCatalogServiceException_1 = require("../models/ControlCatalogServiceException");
107
+ const errors_1 = require("../models/errors");
108
+ const _s_registry = schema_1.TypeRegistry.for(_s);
109
+ exports.ControlCatalogServiceException$ = [-3, _s, "ControlCatalogServiceException", 0, [], []];
110
+ _s_registry.registerError(exports.ControlCatalogServiceException$, ControlCatalogServiceException_1.ControlCatalogServiceException);
111
+ const n0_registry = schema_1.TypeRegistry.for(n0);
112
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
113
+ { [_e]: _c, [_hE]: 403 },
114
+ [_M],
115
+ [0]
116
+ ];
117
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
118
+ exports.InternalServerException$ = [-3, n0, _ISE,
119
+ { [_e]: _se, [_hE]: 500 },
120
+ [_M],
121
+ [0]
122
+ ];
123
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
124
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
125
+ { [_e]: _c, [_hE]: 404 },
126
+ [_M],
127
+ [0]
128
+ ];
129
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
130
+ exports.ThrottlingException$ = [-3, n0, _TE,
131
+ { [_e]: _c, [_hE]: 429 },
132
+ [_M],
133
+ [0]
134
+ ];
135
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
136
+ exports.ValidationException$ = [-3, n0, _VE,
137
+ { [_e]: _c, [_hE]: 400 },
138
+ [_M],
139
+ [0]
140
+ ];
141
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
142
+ exports.errorTypeRegistries = [
143
+ _s_registry,
144
+ n0_registry,
145
+ ];
146
+ exports.AssociatedDomainSummary$ = [3, n0, _ADS,
147
+ 0,
148
+ [_A, _N],
149
+ [0, 0]
150
+ ];
151
+ exports.AssociatedObjectiveSummary$ = [3, n0, _AOS,
152
+ 0,
153
+ [_A, _N],
154
+ [0, 0]
155
+ ];
156
+ exports.CommonControlFilter$ = [3, n0, _CCF,
157
+ 0,
158
+ [_O],
159
+ [() => ObjectiveResourceFilterList]
160
+ ];
161
+ exports.CommonControlMappingDetails$ = [3, n0, _CCMD,
162
+ 0,
163
+ [_CCA],
164
+ [0], 1
165
+ ];
166
+ exports.CommonControlSummary$ = [3, n0, _CCS,
167
+ 0,
168
+ [_A, _N, _D, _Do, _Ob, _CT, _LUT],
169
+ [0, 0, 0, () => exports.AssociatedDomainSummary$, () => exports.AssociatedObjectiveSummary$, 4, 4], 7
170
+ ];
171
+ exports.ControlFilter$ = [3, n0, _CF,
172
+ 0,
173
+ [_I],
174
+ [() => exports.ImplementationFilter$]
175
+ ];
176
+ exports.ControlMapping$ = [3, n0, _CM,
177
+ 0,
178
+ [_CA, _MT, _Ma],
179
+ [0, 0, () => exports.Mapping$], 3
180
+ ];
181
+ exports.ControlMappingFilter$ = [3, n0, _CMF,
182
+ 0,
183
+ [_CAo, _CCAo, _MTa],
184
+ [64 | 0, 64 | 0, 64 | 0]
185
+ ];
186
+ exports.ControlParameter$ = [3, n0, _CP,
187
+ 0,
188
+ [_N],
189
+ [0], 1
190
+ ];
191
+ exports.ControlSummary$ = [3, n0, _CS,
192
+ 0,
193
+ [_A, _N, _D, _Al, _B, _S, _Im, _CT, _GR],
194
+ [0, 0, 0, 64 | 0, 0, 0, () => exports.ImplementationSummary$, 4, 64 | 0], 3
195
+ ];
196
+ exports.DomainResourceFilter$ = [3, n0, _DRF,
197
+ 0,
198
+ [_A],
199
+ [0]
200
+ ];
201
+ exports.DomainSummary$ = [3, n0, _DS,
202
+ 0,
203
+ [_A, _N, _D, _CT, _LUT],
204
+ [0, 0, 0, 4, 4], 5
205
+ ];
206
+ exports.FrameworkMappingDetails$ = [3, n0, _FMD,
207
+ 0,
208
+ [_N, _It],
209
+ [0, 0], 2
210
+ ];
211
+ exports.GetControlRequest$ = [3, n0, _GCR,
212
+ 0,
213
+ [_CA],
214
+ [0], 1
215
+ ];
216
+ exports.GetControlResponse$ = [3, n0, _GCRe,
217
+ 0,
218
+ [_A, _N, _D, _B, _RC, _Al, _S, _Im, _P, _CT, _GR],
219
+ [0, 0, 0, 0, () => exports.RegionConfiguration$, 64 | 0, 0, () => exports.ImplementationDetails$, () => ControlParameters, 4, 64 | 0], 5
220
+ ];
221
+ exports.ImplementationDetails$ = [3, n0, _ID,
222
+ 0,
223
+ [_T, _Id],
224
+ [0, 0], 1
225
+ ];
226
+ exports.ImplementationFilter$ = [3, n0, _IF,
227
+ 0,
228
+ [_Ty, _Ide],
229
+ [64 | 0, 64 | 0]
230
+ ];
231
+ exports.ImplementationSummary$ = [3, n0, _IS,
232
+ 0,
233
+ [_T, _Id],
234
+ [0, 0], 1
235
+ ];
236
+ exports.ListCommonControlsRequest$ = [3, n0, _LCCR,
237
+ 0,
238
+ [_MR, _NT, _CCF],
239
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], () => exports.CommonControlFilter$]
240
+ ];
241
+ exports.ListCommonControlsResponse$ = [3, n0, _LCCRi,
242
+ 0,
243
+ [_CC, _NT],
244
+ [() => CommonControlSummaryList, 0], 1
245
+ ];
246
+ exports.ListControlMappingsRequest$ = [3, n0, _LCMR,
247
+ 0,
248
+ [_NT, _MR, _F],
249
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], () => exports.ControlMappingFilter$]
250
+ ];
251
+ exports.ListControlMappingsResponse$ = [3, n0, _LCMRi,
252
+ 0,
253
+ [_CMo, _NT],
254
+ [() => ControlMappings, 0], 1
255
+ ];
256
+ exports.ListControlsRequest$ = [3, n0, _LCR,
257
+ 0,
258
+ [_NT, _MR, _F],
259
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], () => exports.ControlFilter$]
260
+ ];
261
+ exports.ListControlsResponse$ = [3, n0, _LCRi,
262
+ 0,
263
+ [_C, _NT],
264
+ [() => Controls, 0], 1
265
+ ];
266
+ exports.ListDomainsRequest$ = [3, n0, _LDR,
267
+ 0,
268
+ [_MR, _NT],
269
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
270
+ ];
271
+ exports.ListDomainsResponse$ = [3, n0, _LDRi,
272
+ 0,
273
+ [_Dom, _NT],
274
+ [() => DomainSummaryList, 0], 1
275
+ ];
276
+ exports.ListObjectivesRequest$ = [3, n0, _LOR,
277
+ 0,
278
+ [_MR, _NT, _OF],
279
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], () => exports.ObjectiveFilter$]
280
+ ];
281
+ exports.ListObjectivesResponse$ = [3, n0, _LORi,
282
+ 0,
283
+ [_O, _NT],
284
+ [() => ObjectiveSummaryList, 0], 1
285
+ ];
286
+ exports.ObjectiveFilter$ = [3, n0, _OF,
287
+ 0,
288
+ [_Dom],
289
+ [() => DomainResourceFilterList]
290
+ ];
291
+ exports.ObjectiveResourceFilter$ = [3, n0, _ORF,
292
+ 0,
293
+ [_A],
294
+ [0]
295
+ ];
296
+ exports.ObjectiveSummary$ = [3, n0, _OS,
297
+ 0,
298
+ [_A, _N, _D, _Do, _CT, _LUT],
299
+ [0, 0, 0, () => exports.AssociatedDomainSummary$, 4, 4], 6
300
+ ];
301
+ exports.RegionConfiguration$ = [3, n0, _RC,
302
+ 0,
303
+ [_Sc, _DR],
304
+ [0, 64 | 0], 1
305
+ ];
306
+ exports.RelatedControlMappingDetails$ = [3, n0, _RCMD,
307
+ 0,
308
+ [_RT, _CA],
309
+ [0, 0], 1
310
+ ];
311
+ var CommonControlArnFilterList = 64 | 0;
312
+ var CommonControlSummaryList = [1, n0, _CCSL,
313
+ 0, () => exports.CommonControlSummary$
314
+ ];
315
+ var ControlAliases = 64 | 0;
316
+ var ControlArnFilterList = 64 | 0;
317
+ var ControlMappings = [1, n0, _CMo,
318
+ 0, () => exports.ControlMapping$
319
+ ];
320
+ var ControlParameters = [1, n0, _CPo,
321
+ 0, () => exports.ControlParameter$
322
+ ];
323
+ var Controls = [1, n0, _C,
324
+ 0, () => exports.ControlSummary$
325
+ ];
326
+ var DeployableRegions = 64 | 0;
327
+ var DomainResourceFilterList = [1, n0, _DRFL,
328
+ 0, () => exports.DomainResourceFilter$
329
+ ];
330
+ var DomainSummaryList = [1, n0, _DSL,
331
+ 0, () => exports.DomainSummary$
332
+ ];
333
+ var GovernedResources = 64 | 0;
334
+ var ImplementationIdentifierFilterList = 64 | 0;
335
+ var ImplementationTypeFilterList = 64 | 0;
336
+ var MappingTypeFilterList = 64 | 0;
337
+ var ObjectiveResourceFilterList = [1, n0, _ORFL,
338
+ 0, () => exports.ObjectiveResourceFilter$
339
+ ];
340
+ var ObjectiveSummaryList = [1, n0, _OSL,
341
+ 0, () => exports.ObjectiveSummary$
342
+ ];
343
+ exports.Mapping$ = [4, n0, _Ma,
344
+ 0,
345
+ [_Fr, _CCo, _RCe],
346
+ [() => exports.FrameworkMappingDetails$, () => exports.CommonControlMappingDetails$, () => exports.RelatedControlMappingDetails$]
347
+ ];
348
+ exports.GetControl$ = [9, n0, _GC,
349
+ { [_h]: ["POST", "/get-control", 200] }, () => exports.GetControlRequest$, () => exports.GetControlResponse$
350
+ ];
351
+ exports.ListCommonControls$ = [9, n0, _LCC,
352
+ { [_h]: ["POST", "/common-controls", 200] }, () => exports.ListCommonControlsRequest$, () => exports.ListCommonControlsResponse$
353
+ ];
354
+ exports.ListControlMappings$ = [9, n0, _LCM,
355
+ { [_h]: ["POST", "/list-control-mappings", 200] }, () => exports.ListControlMappingsRequest$, () => exports.ListControlMappingsResponse$
356
+ ];
357
+ exports.ListControls$ = [9, n0, _LC,
358
+ { [_h]: ["POST", "/list-controls", 200] }, () => exports.ListControlsRequest$, () => exports.ListControlsResponse$
359
+ ];
360
+ exports.ListDomains$ = [9, n0, _LD,
361
+ { [_h]: ["POST", "/domains", 200] }, () => exports.ListDomainsRequest$, () => exports.ListDomainsResponse$
362
+ ];
363
+ exports.ListObjectives$ = [9, n0, _LO,
364
+ { [_h]: ["POST", "/objectives", 200] }, () => exports.ListObjectivesRequest$, () => exports.ListObjectivesResponse$
365
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultControlCatalogHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2018-05-10",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.controlcatalog",
30
+ errorTypeRegistries,
29
31
  version: "2018-05-10",
30
32
  serviceTarget: "ControlCatalog",
31
33
  },
@@ -96,18 +96,50 @@ const _hE = "httpError";
96
96
  const _hQ = "httpQuery";
97
97
  const _mR = "maxResults";
98
98
  const _nT = "nextToken";
99
- const _s = "server";
100
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
99
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
100
+ const _se = "server";
101
101
  const n0 = "com.amazonaws.controlcatalog";
102
102
  import { TypeRegistry } from "@smithy/core/schema";
103
103
  import { ControlCatalogServiceException } from "../models/ControlCatalogServiceException";
104
104
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
105
+ const _s_registry = TypeRegistry.for(_s);
106
+ export var ControlCatalogServiceException$ = [-3, _s, "ControlCatalogServiceException", 0, [], []];
107
+ _s_registry.registerError(ControlCatalogServiceException$, ControlCatalogServiceException);
108
+ const n0_registry = TypeRegistry.for(n0);
105
109
  export var AccessDeniedException$ = [-3, n0, _ADE,
106
110
  { [_e]: _c, [_hE]: 403 },
107
111
  [_M],
108
112
  [0]
109
113
  ];
110
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
114
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
115
+ export var InternalServerException$ = [-3, n0, _ISE,
116
+ { [_e]: _se, [_hE]: 500 },
117
+ [_M],
118
+ [0]
119
+ ];
120
+ n0_registry.registerError(InternalServerException$, InternalServerException);
121
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
122
+ { [_e]: _c, [_hE]: 404 },
123
+ [_M],
124
+ [0]
125
+ ];
126
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
127
+ export var ThrottlingException$ = [-3, n0, _TE,
128
+ { [_e]: _c, [_hE]: 429 },
129
+ [_M],
130
+ [0]
131
+ ];
132
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
133
+ export var ValidationException$ = [-3, n0, _VE,
134
+ { [_e]: _c, [_hE]: 400 },
135
+ [_M],
136
+ [0]
137
+ ];
138
+ n0_registry.registerError(ValidationException$, ValidationException);
139
+ export const errorTypeRegistries = [
140
+ _s_registry,
141
+ n0_registry,
142
+ ];
111
143
  export var AssociatedDomainSummary$ = [3, n0, _ADS,
112
144
  0,
113
145
  [_A, _N],
@@ -198,12 +230,6 @@ export var ImplementationSummary$ = [3, n0, _IS,
198
230
  [_T, _Id],
199
231
  [0, 0], 1
200
232
  ];
201
- export var InternalServerException$ = [-3, n0, _ISE,
202
- { [_e]: _s, [_hE]: 500 },
203
- [_M],
204
- [0]
205
- ];
206
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
207
233
  export var ListCommonControlsRequest$ = [3, n0, _LCCR,
208
234
  0,
209
235
  [_MR, _NT, _CCF],
@@ -279,26 +305,6 @@ export var RelatedControlMappingDetails$ = [3, n0, _RCMD,
279
305
  [_RT, _CA],
280
306
  [0, 0], 1
281
307
  ];
282
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
283
- { [_e]: _c, [_hE]: 404 },
284
- [_M],
285
- [0]
286
- ];
287
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
288
- export var ThrottlingException$ = [-3, n0, _TE,
289
- { [_e]: _c, [_hE]: 429 },
290
- [_M],
291
- [0]
292
- ];
293
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
294
- export var ValidationException$ = [-3, n0, _VE,
295
- { [_e]: _c, [_hE]: 400 },
296
- [_M],
297
- [0]
298
- ];
299
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
300
- export var ControlCatalogServiceException$ = [-3, _sm, "ControlCatalogServiceException", 0, [], []];
301
- TypeRegistry.for(_sm).registerError(ControlCatalogServiceException$, ControlCatalogServiceException);
302
308
  var CommonControlArnFilterList = 64 | 0;
303
309
  var CommonControlSummaryList = [1, n0, _CCSL,
304
310
  0, () => CommonControlSummary$
@@ -1,5 +1,17 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var ControlCatalogServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ThrottlingException$: StaticErrorSchema;
8
+ export declare var ValidationException$: StaticErrorSchema;
9
+ /**
10
+ * TypeRegistry instances containing modeled errors.
11
+ * @internal
12
+ *
13
+ */
14
+ export declare const errorTypeRegistries: TypeRegistry[];
3
15
  export declare var AssociatedDomainSummary$: StaticStructureSchema;
4
16
  export declare var AssociatedObjectiveSummary$: StaticStructureSchema;
5
17
  export declare var CommonControlFilter$: StaticStructureSchema;
@@ -18,7 +30,6 @@ export declare var GetControlResponse$: StaticStructureSchema;
18
30
  export declare var ImplementationDetails$: StaticStructureSchema;
19
31
  export declare var ImplementationFilter$: StaticStructureSchema;
20
32
  export declare var ImplementationSummary$: StaticStructureSchema;
21
- export declare var InternalServerException$: StaticErrorSchema;
22
33
  export declare var ListCommonControlsRequest$: StaticStructureSchema;
23
34
  export declare var ListCommonControlsResponse$: StaticStructureSchema;
24
35
  export declare var ListControlMappingsRequest$: StaticStructureSchema;
@@ -34,10 +45,6 @@ export declare var ObjectiveResourceFilter$: StaticStructureSchema;
34
45
  export declare var ObjectiveSummary$: StaticStructureSchema;
35
46
  export declare var RegionConfiguration$: StaticStructureSchema;
36
47
  export declare var RelatedControlMappingDetails$: StaticStructureSchema;
37
- export declare var ResourceNotFoundException$: StaticErrorSchema;
38
- export declare var ThrottlingException$: StaticErrorSchema;
39
- export declare var ValidationException$: StaticErrorSchema;
40
- export declare var ControlCatalogServiceException$: StaticErrorSchema;
41
48
  export declare var Mapping$: StaticUnionSchema;
42
49
  export declare var GetControl$: StaticOperationSchema;
43
50
  export declare var ListCommonControls$: StaticOperationSchema;
@@ -1,10 +1,17 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var ControlCatalogServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
8
15
  export declare var AssociatedDomainSummary$: StaticStructureSchema;
9
16
  export declare var AssociatedObjectiveSummary$: StaticStructureSchema;
10
17
  export declare var CommonControlFilter$: StaticStructureSchema;
@@ -23,7 +30,6 @@ export declare var GetControlResponse$: StaticStructureSchema;
23
30
  export declare var ImplementationDetails$: StaticStructureSchema;
24
31
  export declare var ImplementationFilter$: StaticStructureSchema;
25
32
  export declare var ImplementationSummary$: StaticStructureSchema;
26
- export declare var InternalServerException$: StaticErrorSchema;
27
33
  export declare var ListCommonControlsRequest$: StaticStructureSchema;
28
34
  export declare var ListCommonControlsResponse$: StaticStructureSchema;
29
35
  export declare var ListControlMappingsRequest$: StaticStructureSchema;
@@ -39,10 +45,6 @@ export declare var ObjectiveResourceFilter$: StaticStructureSchema;
39
45
  export declare var ObjectiveSummary$: StaticStructureSchema;
40
46
  export declare var RegionConfiguration$: StaticStructureSchema;
41
47
  export declare var RelatedControlMappingDetails$: StaticStructureSchema;
42
- export declare var ResourceNotFoundException$: StaticErrorSchema;
43
- export declare var ThrottlingException$: StaticErrorSchema;
44
- export declare var ValidationException$: StaticErrorSchema;
45
- export declare var ControlCatalogServiceException$: StaticErrorSchema;
46
48
  export declare var Mapping$: StaticUnionSchema;
47
49
  export declare var GetControl$: StaticOperationSchema;
48
50
  export declare var ListCommonControls$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-controlcatalog",
3
3
  "description": "AWS SDK for JavaScript Controlcatalog Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-controlcatalog",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",