@aws-sdk/client-resource-groups-tagging-api 3.987.0 → 3.989.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 ResourceGroupsTaggingAPIServiceException = require('./models/ResourceGroupsTaggingAPIServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,400 +113,6 @@ class ResourceGroupsTaggingAPIClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class ResourceGroupsTaggingAPIServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, ResourceGroupsTaggingAPIServiceException.prototype);
117
- }
118
- }
119
-
120
- class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceException {
121
- name = "ConcurrentModificationException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "ConcurrentModificationException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceException {
135
- name = "ConstraintViolationException";
136
- $fault = "client";
137
- Message;
138
- constructor(opts) {
139
- super({
140
- name: "ConstraintViolationException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, ConstraintViolationException.prototype);
145
- this.Message = opts.Message;
146
- }
147
- }
148
- class InternalServiceException extends ResourceGroupsTaggingAPIServiceException {
149
- name = "InternalServiceException";
150
- $fault = "server";
151
- Message;
152
- constructor(opts) {
153
- super({
154
- name: "InternalServiceException",
155
- $fault: "server",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, InternalServiceException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException {
163
- name = "InvalidParameterException";
164
- $fault = "client";
165
- Message;
166
- constructor(opts) {
167
- super({
168
- name: "InvalidParameterException",
169
- $fault: "client",
170
- ...opts,
171
- });
172
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
173
- this.Message = opts.Message;
174
- }
175
- }
176
- class ThrottledException extends ResourceGroupsTaggingAPIServiceException {
177
- name = "ThrottledException";
178
- $fault = "client";
179
- Message;
180
- constructor(opts) {
181
- super({
182
- name: "ThrottledException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- Object.setPrototypeOf(this, ThrottledException.prototype);
187
- this.Message = opts.Message;
188
- }
189
- }
190
- class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException {
191
- name = "PaginationTokenExpiredException";
192
- $fault = "client";
193
- Message;
194
- constructor(opts) {
195
- super({
196
- name: "PaginationTokenExpiredException",
197
- $fault: "client",
198
- ...opts,
199
- });
200
- Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
201
- this.Message = opts.Message;
202
- }
203
- }
204
-
205
- const _CD = "ComplianceDetails";
206
- const _CFRT = "CloudFormationResourceTypes";
207
- const _CME = "ConcurrentModificationException";
208
- const _CS = "ComplianceStatus";
209
- const _CVE = "ConstraintViolationException";
210
- const _DRC = "DescribeReportCreation";
211
- const _DRCI = "DescribeReportCreationInput";
212
- const _DRCO = "DescribeReportCreationOutput";
213
- const _EC = "ErrorCode";
214
- const _ECR = "ExcludeCompliantResources";
215
- const _EM = "ErrorMessage";
216
- const _FI = "FailureInfo";
217
- const _FRM = "FailedResourcesMap";
218
- const _GB = "GroupBy";
219
- const _GCS = "GetComplianceSummary";
220
- const _GCSI = "GetComplianceSummaryInput";
221
- const _GCSO = "GetComplianceSummaryOutput";
222
- const _GR = "GetResources";
223
- const _GRI = "GetResourcesInput";
224
- const _GRO = "GetResourcesOutput";
225
- const _GTK = "GetTagKeys";
226
- const _GTKI = "GetTagKeysInput";
227
- const _GTKO = "GetTagKeysOutput";
228
- const _GTV = "GetTagValues";
229
- const _GTVI = "GetTagValuesInput";
230
- const _GTVO = "GetTagValuesOutput";
231
- const _ICD = "IncludeComplianceDetails";
232
- const _IPE = "InvalidParameterException";
233
- const _ISE = "InternalServiceException";
234
- const _K = "Key";
235
- const _KWNV = "KeysWithNoncompliantValues";
236
- const _LRT = "ListRequiredTags";
237
- const _LRTI = "ListRequiredTagsInput";
238
- const _LRTO = "ListRequiredTagsOutput";
239
- const _LU = "LastUpdated";
240
- const _M = "Message";
241
- const _MR = "MaxResults";
242
- const _NCR = "NonCompliantResources";
243
- const _NK = "NoncompliantKeys";
244
- const _NT = "NextToken";
245
- const _PT = "PaginationToken";
246
- const _PTEE = "PaginationTokenExpiredException";
247
- const _R = "Region";
248
- const _RARN = "ResourceARN";
249
- const _RARNL = "ResourceARNList";
250
- const _RF = "RegionFilters";
251
- const _RPP = "ResourcesPerPage";
252
- const _RT = "RequiredTags";
253
- const _RTF = "ResourceTypeFilters";
254
- const _RTFLRT = "RequiredTagsForListRequiredTags";
255
- const _RTK = "ReportingTagKeys";
256
- const _RTM = "ResourceTagMapping";
257
- const _RTML = "ResourceTagMappingList";
258
- const _RTe = "RequiredTag";
259
- const _RTes = "ResourceType";
260
- const _S = "Status";
261
- const _SB = "S3Bucket";
262
- const _SC = "StatusCode";
263
- const _SD = "StartDate";
264
- const _SL = "S3Location";
265
- const _SLu = "SummaryList";
266
- const _SRC = "StartReportCreation";
267
- const _SRCI = "StartReportCreationInput";
268
- const _SRCO = "StartReportCreationOutput";
269
- const _Su = "Summary";
270
- const _T = "Tags";
271
- const _TE = "ThrottledException";
272
- const _TF = "TagFilters";
273
- const _TFL = "TagFilterList";
274
- const _TFa = "TagFilter";
275
- const _TI = "TargetId";
276
- const _TIF = "TargetIdFilters";
277
- const _TIT = "TargetIdType";
278
- const _TK = "TagKeys";
279
- const _TKF = "TagKeyFilters";
280
- const _TL = "TagList";
281
- const _TPP = "TagsPerPage";
282
- const _TR = "TagResources";
283
- const _TRI = "TagResourcesInput";
284
- const _TRO = "TagResourcesOutput";
285
- const _TV = "TagValues";
286
- const _Ta = "Tag";
287
- const _UR = "UntagResources";
288
- const _URI = "UntagResourcesInput";
289
- const _URO = "UntagResourcesOutput";
290
- const _V = "Value";
291
- const _Va = "Values";
292
- const _c = "client";
293
- const _e = "error";
294
- const _h = "http";
295
- const _s = "server";
296
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
297
- const n0 = "com.amazonaws.resourcegroupstaggingapi";
298
- var ComplianceDetails$ = [3, n0, _CD,
299
- 0,
300
- [_NK, _KWNV, _CS],
301
- [64 | 0, 64 | 0, 2]
302
- ];
303
- var ConcurrentModificationException$ = [-3, n0, _CME,
304
- { [_e]: _c },
305
- [_M],
306
- [0]
307
- ];
308
- schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
309
- var ConstraintViolationException$ = [-3, n0, _CVE,
310
- { [_e]: _c },
311
- [_M],
312
- [0]
313
- ];
314
- schema.TypeRegistry.for(n0).registerError(ConstraintViolationException$, ConstraintViolationException);
315
- var DescribeReportCreationInput$ = [3, n0, _DRCI,
316
- 0,
317
- [],
318
- []
319
- ];
320
- var DescribeReportCreationOutput$ = [3, n0, _DRCO,
321
- 0,
322
- [_S, _SL, _SD, _EM],
323
- [0, 0, 0, 0]
324
- ];
325
- var FailureInfo$ = [3, n0, _FI,
326
- 0,
327
- [_SC, _EC, _EM],
328
- [1, 0, 0]
329
- ];
330
- var GetComplianceSummaryInput$ = [3, n0, _GCSI,
331
- 0,
332
- [_TIF, _RF, _RTF, _TKF, _GB, _MR, _PT],
333
- [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1, 0]
334
- ];
335
- var GetComplianceSummaryOutput$ = [3, n0, _GCSO,
336
- 0,
337
- [_SLu, _PT],
338
- [() => SummaryList, 0]
339
- ];
340
- var GetResourcesInput$ = [3, n0, _GRI,
341
- 0,
342
- [_PT, _TF, _RPP, _TPP, _RTF, _ICD, _ECR, _RARNL],
343
- [0, () => TagFilterList, 1, 1, 64 | 0, 2, 2, 64 | 0]
344
- ];
345
- var GetResourcesOutput$ = [3, n0, _GRO,
346
- 0,
347
- [_PT, _RTML],
348
- [0, () => ResourceTagMappingList]
349
- ];
350
- var GetTagKeysInput$ = [3, n0, _GTKI,
351
- 0,
352
- [_PT],
353
- [0]
354
- ];
355
- var GetTagKeysOutput$ = [3, n0, _GTKO,
356
- 0,
357
- [_PT, _TK],
358
- [0, 64 | 0]
359
- ];
360
- var GetTagValuesInput$ = [3, n0, _GTVI,
361
- 0,
362
- [_K, _PT],
363
- [0, 0], 1
364
- ];
365
- var GetTagValuesOutput$ = [3, n0, _GTVO,
366
- 0,
367
- [_PT, _TV],
368
- [0, 64 | 0]
369
- ];
370
- var InternalServiceException$ = [-3, n0, _ISE,
371
- { [_e]: _s },
372
- [_M],
373
- [0]
374
- ];
375
- schema.TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
376
- var InvalidParameterException$ = [-3, n0, _IPE,
377
- { [_e]: _c },
378
- [_M],
379
- [0]
380
- ];
381
- schema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
382
- var ListRequiredTagsInput$ = [3, n0, _LRTI,
383
- 0,
384
- [_NT, _MR],
385
- [0, 1]
386
- ];
387
- var ListRequiredTagsOutput$ = [3, n0, _LRTO,
388
- 0,
389
- [_RT, _NT],
390
- [() => RequiredTagsForListRequiredTags, 0]
391
- ];
392
- var PaginationTokenExpiredException$ = [-3, n0, _PTEE,
393
- { [_e]: _c },
394
- [_M],
395
- [0]
396
- ];
397
- schema.TypeRegistry.for(n0).registerError(PaginationTokenExpiredException$, PaginationTokenExpiredException);
398
- var RequiredTag$ = [3, n0, _RTe,
399
- 0,
400
- [_RTes, _CFRT, _RTK],
401
- [0, 64 | 0, 64 | 0]
402
- ];
403
- var ResourceTagMapping$ = [3, n0, _RTM,
404
- 0,
405
- [_RARN, _T, _CD],
406
- [0, () => TagList, () => ComplianceDetails$]
407
- ];
408
- var StartReportCreationInput$ = [3, n0, _SRCI,
409
- 0,
410
- [_SB],
411
- [0], 1
412
- ];
413
- var StartReportCreationOutput$ = [3, n0, _SRCO,
414
- 0,
415
- [],
416
- []
417
- ];
418
- var Summary$ = [3, n0, _Su,
419
- 0,
420
- [_LU, _TI, _TIT, _R, _RTes, _NCR],
421
- [0, 0, 0, 0, 0, 1]
422
- ];
423
- var Tag$ = [3, n0, _Ta,
424
- 0,
425
- [_K, _V],
426
- [0, 0], 2
427
- ];
428
- var TagFilter$ = [3, n0, _TFa,
429
- 0,
430
- [_K, _Va],
431
- [0, 64 | 0]
432
- ];
433
- var TagResourcesInput$ = [3, n0, _TRI,
434
- 0,
435
- [_RARNL, _T],
436
- [64 | 0, 128 | 0], 2
437
- ];
438
- var TagResourcesOutput$ = [3, n0, _TRO,
439
- 0,
440
- [_FRM],
441
- [() => FailedResourcesMap]
442
- ];
443
- var ThrottledException$ = [-3, n0, _TE,
444
- { [_e]: _c },
445
- [_M],
446
- [0]
447
- ];
448
- schema.TypeRegistry.for(n0).registerError(ThrottledException$, ThrottledException);
449
- var UntagResourcesInput$ = [3, n0, _URI,
450
- 0,
451
- [_RARNL, _TK],
452
- [64 | 0, 64 | 0], 2
453
- ];
454
- var UntagResourcesOutput$ = [3, n0, _URO,
455
- 0,
456
- [_FRM],
457
- [() => FailedResourcesMap]
458
- ];
459
- var ResourceGroupsTaggingAPIServiceException$ = [-3, _sm, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
460
- schema.TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException);
461
- var RequiredTagsForListRequiredTags = [1, n0, _RTFLRT,
462
- 0, () => RequiredTag$
463
- ];
464
- var ResourceTagMappingList = [1, n0, _RTML,
465
- 0, () => ResourceTagMapping$
466
- ];
467
- var SummaryList = [1, n0, _SLu,
468
- 0, () => Summary$
469
- ];
470
- var TagFilterList = [1, n0, _TFL,
471
- 0, () => TagFilter$
472
- ];
473
- var TagList = [1, n0, _TL,
474
- 0, () => Tag$
475
- ];
476
- var FailedResourcesMap = [2, n0, _FRM,
477
- 0, 0, () => FailureInfo$
478
- ];
479
- var DescribeReportCreation$ = [9, n0, _DRC,
480
- { [_h]: ["POST", "/DescribeReportCreation", 200] }, () => DescribeReportCreationInput$, () => DescribeReportCreationOutput$
481
- ];
482
- var GetComplianceSummary$ = [9, n0, _GCS,
483
- { [_h]: ["POST", "/GetComplianceSummary", 200] }, () => GetComplianceSummaryInput$, () => GetComplianceSummaryOutput$
484
- ];
485
- var GetResources$ = [9, n0, _GR,
486
- { [_h]: ["POST", "/GetResources", 200] }, () => GetResourcesInput$, () => GetResourcesOutput$
487
- ];
488
- var GetTagKeys$ = [9, n0, _GTK,
489
- { [_h]: ["POST", "/GetTagKeys", 200] }, () => GetTagKeysInput$, () => GetTagKeysOutput$
490
- ];
491
- var GetTagValues$ = [9, n0, _GTV,
492
- { [_h]: ["POST", "/GetTagValues", 200] }, () => GetTagValuesInput$, () => GetTagValuesOutput$
493
- ];
494
- var ListRequiredTags$ = [9, n0, _LRT,
495
- { [_h]: ["POST", "/ListRequiredTags", 200] }, () => ListRequiredTagsInput$, () => ListRequiredTagsOutput$
496
- ];
497
- var StartReportCreation$ = [9, n0, _SRC,
498
- { [_h]: ["POST", "/StartReportCreation", 200] }, () => StartReportCreationInput$, () => StartReportCreationOutput$
499
- ];
500
- var TagResources$ = [9, n0, _TR,
501
- { [_h]: ["POST", "/TagResources", 200] }, () => TagResourcesInput$, () => TagResourcesOutput$
502
- ];
503
- var UntagResources$ = [9, n0, _UR,
504
- { [_h]: ["POST", "/UntagResources", 200] }, () => UntagResourcesInput$, () => UntagResourcesOutput$
505
- ];
506
-
507
116
  class DescribeReportCreationCommand extends smithyClient.Command
508
117
  .classBuilder()
509
118
  .ep(commonParams)
@@ -512,7 +121,7 @@ class DescribeReportCreationCommand extends smithyClient.Command
512
121
  })
513
122
  .s("ResourceGroupsTaggingAPI_20170126", "DescribeReportCreation", {})
514
123
  .n("ResourceGroupsTaggingAPIClient", "DescribeReportCreationCommand")
515
- .sc(DescribeReportCreation$)
124
+ .sc(schemas_0.DescribeReportCreation$)
516
125
  .build() {
517
126
  }
518
127
 
@@ -524,7 +133,7 @@ class GetComplianceSummaryCommand extends smithyClient.Command
524
133
  })
525
134
  .s("ResourceGroupsTaggingAPI_20170126", "GetComplianceSummary", {})
526
135
  .n("ResourceGroupsTaggingAPIClient", "GetComplianceSummaryCommand")
527
- .sc(GetComplianceSummary$)
136
+ .sc(schemas_0.GetComplianceSummary$)
528
137
  .build() {
529
138
  }
530
139
 
@@ -536,7 +145,7 @@ class GetResourcesCommand extends smithyClient.Command
536
145
  })
537
146
  .s("ResourceGroupsTaggingAPI_20170126", "GetResources", {})
538
147
  .n("ResourceGroupsTaggingAPIClient", "GetResourcesCommand")
539
- .sc(GetResources$)
148
+ .sc(schemas_0.GetResources$)
540
149
  .build() {
541
150
  }
542
151
 
@@ -548,7 +157,7 @@ class GetTagKeysCommand extends smithyClient.Command
548
157
  })
549
158
  .s("ResourceGroupsTaggingAPI_20170126", "GetTagKeys", {})
550
159
  .n("ResourceGroupsTaggingAPIClient", "GetTagKeysCommand")
551
- .sc(GetTagKeys$)
160
+ .sc(schemas_0.GetTagKeys$)
552
161
  .build() {
553
162
  }
554
163
 
@@ -560,7 +169,7 @@ class GetTagValuesCommand extends smithyClient.Command
560
169
  })
561
170
  .s("ResourceGroupsTaggingAPI_20170126", "GetTagValues", {})
562
171
  .n("ResourceGroupsTaggingAPIClient", "GetTagValuesCommand")
563
- .sc(GetTagValues$)
172
+ .sc(schemas_0.GetTagValues$)
564
173
  .build() {
565
174
  }
566
175
 
@@ -572,7 +181,7 @@ class ListRequiredTagsCommand extends smithyClient.Command
572
181
  })
573
182
  .s("ResourceGroupsTaggingAPI_20170126", "ListRequiredTags", {})
574
183
  .n("ResourceGroupsTaggingAPIClient", "ListRequiredTagsCommand")
575
- .sc(ListRequiredTags$)
184
+ .sc(schemas_0.ListRequiredTags$)
576
185
  .build() {
577
186
  }
578
187
 
@@ -584,7 +193,7 @@ class StartReportCreationCommand extends smithyClient.Command
584
193
  })
585
194
  .s("ResourceGroupsTaggingAPI_20170126", "StartReportCreation", {})
586
195
  .n("ResourceGroupsTaggingAPIClient", "StartReportCreationCommand")
587
- .sc(StartReportCreation$)
196
+ .sc(schemas_0.StartReportCreation$)
588
197
  .build() {
589
198
  }
590
199
 
@@ -596,7 +205,7 @@ class TagResourcesCommand extends smithyClient.Command
596
205
  })
597
206
  .s("ResourceGroupsTaggingAPI_20170126", "TagResources", {})
598
207
  .n("ResourceGroupsTaggingAPIClient", "TagResourcesCommand")
599
- .sc(TagResources$)
208
+ .sc(schemas_0.TagResources$)
600
209
  .build() {
601
210
  }
602
211
 
@@ -608,7 +217,7 @@ class UntagResourcesCommand extends smithyClient.Command
608
217
  })
609
218
  .s("ResourceGroupsTaggingAPI_20170126", "UntagResources", {})
610
219
  .n("ResourceGroupsTaggingAPIClient", "UntagResourcesCommand")
611
- .sc(UntagResources$)
220
+ .sc(schemas_0.UntagResources$)
612
221
  .build() {
613
222
  }
614
223
 
@@ -667,70 +276,38 @@ Object.defineProperty(exports, "__Client", {
667
276
  enumerable: true,
668
277
  get: function () { return smithyClient.Client; }
669
278
  });
670
- exports.ComplianceDetails$ = ComplianceDetails$;
671
- exports.ConcurrentModificationException = ConcurrentModificationException;
672
- exports.ConcurrentModificationException$ = ConcurrentModificationException$;
673
- exports.ConstraintViolationException = ConstraintViolationException;
674
- exports.ConstraintViolationException$ = ConstraintViolationException$;
675
- exports.DescribeReportCreation$ = DescribeReportCreation$;
279
+ Object.defineProperty(exports, "ResourceGroupsTaggingAPIServiceException", {
280
+ enumerable: true,
281
+ get: function () { return ResourceGroupsTaggingAPIServiceException.ResourceGroupsTaggingAPIServiceException; }
282
+ });
676
283
  exports.DescribeReportCreationCommand = DescribeReportCreationCommand;
677
- exports.DescribeReportCreationInput$ = DescribeReportCreationInput$;
678
- exports.DescribeReportCreationOutput$ = DescribeReportCreationOutput$;
679
284
  exports.ErrorCode = ErrorCode;
680
- exports.FailureInfo$ = FailureInfo$;
681
- exports.GetComplianceSummary$ = GetComplianceSummary$;
682
285
  exports.GetComplianceSummaryCommand = GetComplianceSummaryCommand;
683
- exports.GetComplianceSummaryInput$ = GetComplianceSummaryInput$;
684
- exports.GetComplianceSummaryOutput$ = GetComplianceSummaryOutput$;
685
- exports.GetResources$ = GetResources$;
686
286
  exports.GetResourcesCommand = GetResourcesCommand;
687
- exports.GetResourcesInput$ = GetResourcesInput$;
688
- exports.GetResourcesOutput$ = GetResourcesOutput$;
689
- exports.GetTagKeys$ = GetTagKeys$;
690
287
  exports.GetTagKeysCommand = GetTagKeysCommand;
691
- exports.GetTagKeysInput$ = GetTagKeysInput$;
692
- exports.GetTagKeysOutput$ = GetTagKeysOutput$;
693
- exports.GetTagValues$ = GetTagValues$;
694
288
  exports.GetTagValuesCommand = GetTagValuesCommand;
695
- exports.GetTagValuesInput$ = GetTagValuesInput$;
696
- exports.GetTagValuesOutput$ = GetTagValuesOutput$;
697
289
  exports.GroupByAttribute = GroupByAttribute;
698
- exports.InternalServiceException = InternalServiceException;
699
- exports.InternalServiceException$ = InternalServiceException$;
700
- exports.InvalidParameterException = InvalidParameterException;
701
- exports.InvalidParameterException$ = InvalidParameterException$;
702
- exports.ListRequiredTags$ = ListRequiredTags$;
703
290
  exports.ListRequiredTagsCommand = ListRequiredTagsCommand;
704
- exports.ListRequiredTagsInput$ = ListRequiredTagsInput$;
705
- exports.ListRequiredTagsOutput$ = ListRequiredTagsOutput$;
706
- exports.PaginationTokenExpiredException = PaginationTokenExpiredException;
707
- exports.PaginationTokenExpiredException$ = PaginationTokenExpiredException$;
708
- exports.RequiredTag$ = RequiredTag$;
709
291
  exports.ResourceGroupsTaggingAPI = ResourceGroupsTaggingAPI;
710
292
  exports.ResourceGroupsTaggingAPIClient = ResourceGroupsTaggingAPIClient;
711
- exports.ResourceGroupsTaggingAPIServiceException = ResourceGroupsTaggingAPIServiceException;
712
- exports.ResourceGroupsTaggingAPIServiceException$ = ResourceGroupsTaggingAPIServiceException$;
713
- exports.ResourceTagMapping$ = ResourceTagMapping$;
714
- exports.StartReportCreation$ = StartReportCreation$;
715
293
  exports.StartReportCreationCommand = StartReportCreationCommand;
716
- exports.StartReportCreationInput$ = StartReportCreationInput$;
717
- exports.StartReportCreationOutput$ = StartReportCreationOutput$;
718
- exports.Summary$ = Summary$;
719
- exports.Tag$ = Tag$;
720
- exports.TagFilter$ = TagFilter$;
721
- exports.TagResources$ = TagResources$;
722
294
  exports.TagResourcesCommand = TagResourcesCommand;
723
- exports.TagResourcesInput$ = TagResourcesInput$;
724
- exports.TagResourcesOutput$ = TagResourcesOutput$;
725
295
  exports.TargetIdType = TargetIdType;
726
- exports.ThrottledException = ThrottledException;
727
- exports.ThrottledException$ = ThrottledException$;
728
- exports.UntagResources$ = UntagResources$;
729
296
  exports.UntagResourcesCommand = UntagResourcesCommand;
730
- exports.UntagResourcesInput$ = UntagResourcesInput$;
731
- exports.UntagResourcesOutput$ = UntagResourcesOutput$;
732
297
  exports.paginateGetComplianceSummary = paginateGetComplianceSummary;
733
298
  exports.paginateGetResources = paginateGetResources;
734
299
  exports.paginateGetTagKeys = paginateGetTagKeys;
735
300
  exports.paginateGetTagValues = paginateGetTagValues;
736
301
  exports.paginateListRequiredTags = paginateListRequiredTags;
302
+ Object.keys(schemas_0).forEach(function (k) {
303
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
304
+ enumerable: true,
305
+ get: function () { return schemas_0[k]; }
306
+ });
307
+ });
308
+ Object.keys(errors).forEach(function (k) {
309
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
310
+ enumerable: true,
311
+ get: function () { return errors[k]; }
312
+ });
313
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceGroupsTaggingAPIServiceException = 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 ResourceGroupsTaggingAPIServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ResourceGroupsTaggingAPIServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ResourceGroupsTaggingAPIServiceException = ResourceGroupsTaggingAPIServiceException;
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaginationTokenExpiredException = exports.ThrottledException = exports.InvalidParameterException = exports.InternalServiceException = exports.ConstraintViolationException = exports.ConcurrentModificationException = void 0;
4
+ const ResourceGroupsTaggingAPIServiceException_1 = require("./ResourceGroupsTaggingAPIServiceException");
5
+ class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
6
+ name = "ConcurrentModificationException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "ConcurrentModificationException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.ConcurrentModificationException = ConcurrentModificationException;
20
+ class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
21
+ name = "ConstraintViolationException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "ConstraintViolationException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, ConstraintViolationException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.ConstraintViolationException = ConstraintViolationException;
35
+ class InternalServiceException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
36
+ name = "InternalServiceException";
37
+ $fault = "server";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "InternalServiceException",
42
+ $fault: "server",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.InternalServiceException = InternalServiceException;
50
+ class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
51
+ name = "InvalidParameterException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "InvalidParameterException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.InvalidParameterException = InvalidParameterException;
65
+ class ThrottledException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
66
+ name = "ThrottledException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "ThrottledException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ThrottledException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.ThrottledException = ThrottledException;
80
+ class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
81
+ name = "PaginationTokenExpiredException";
82
+ $fault = "client";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "PaginationTokenExpiredException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.PaginationTokenExpiredException = PaginationTokenExpiredException;
@@ -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: "2017-01-26",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.resourcegroupstaggingapi",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2017-01-26",
33
35
  serviceTarget: "ResourceGroupsTaggingAPI_20170126",
34
36
  },
@@ -0,0 +1,327 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResources$ = exports.TagResources$ = exports.StartReportCreation$ = exports.ListRequiredTags$ = exports.GetTagValues$ = exports.GetTagKeys$ = exports.GetResources$ = exports.GetComplianceSummary$ = exports.DescribeReportCreation$ = exports.UntagResourcesOutput$ = exports.UntagResourcesInput$ = exports.TagResourcesOutput$ = exports.TagResourcesInput$ = exports.TagFilter$ = exports.Tag$ = exports.Summary$ = exports.StartReportCreationOutput$ = exports.StartReportCreationInput$ = exports.ResourceTagMapping$ = exports.RequiredTag$ = exports.ListRequiredTagsOutput$ = exports.ListRequiredTagsInput$ = exports.GetTagValuesOutput$ = exports.GetTagValuesInput$ = exports.GetTagKeysOutput$ = exports.GetTagKeysInput$ = exports.GetResourcesOutput$ = exports.GetResourcesInput$ = exports.GetComplianceSummaryOutput$ = exports.GetComplianceSummaryInput$ = exports.FailureInfo$ = exports.DescribeReportCreationOutput$ = exports.DescribeReportCreationInput$ = exports.ComplianceDetails$ = exports.errorTypeRegistries = exports.ThrottledException$ = exports.PaginationTokenExpiredException$ = exports.InvalidParameterException$ = exports.InternalServiceException$ = exports.ConstraintViolationException$ = exports.ConcurrentModificationException$ = exports.ResourceGroupsTaggingAPIServiceException$ = void 0;
4
+ const _CD = "ComplianceDetails";
5
+ const _CFRT = "CloudFormationResourceTypes";
6
+ const _CME = "ConcurrentModificationException";
7
+ const _CS = "ComplianceStatus";
8
+ const _CVE = "ConstraintViolationException";
9
+ const _DRC = "DescribeReportCreation";
10
+ const _DRCI = "DescribeReportCreationInput";
11
+ const _DRCO = "DescribeReportCreationOutput";
12
+ const _EC = "ErrorCode";
13
+ const _ECR = "ExcludeCompliantResources";
14
+ const _EM = "ErrorMessage";
15
+ const _FI = "FailureInfo";
16
+ const _FRM = "FailedResourcesMap";
17
+ const _GB = "GroupBy";
18
+ const _GCS = "GetComplianceSummary";
19
+ const _GCSI = "GetComplianceSummaryInput";
20
+ const _GCSO = "GetComplianceSummaryOutput";
21
+ const _GR = "GetResources";
22
+ const _GRI = "GetResourcesInput";
23
+ const _GRO = "GetResourcesOutput";
24
+ const _GTK = "GetTagKeys";
25
+ const _GTKI = "GetTagKeysInput";
26
+ const _GTKO = "GetTagKeysOutput";
27
+ const _GTV = "GetTagValues";
28
+ const _GTVI = "GetTagValuesInput";
29
+ const _GTVO = "GetTagValuesOutput";
30
+ const _ICD = "IncludeComplianceDetails";
31
+ const _IPE = "InvalidParameterException";
32
+ const _ISE = "InternalServiceException";
33
+ const _K = "Key";
34
+ const _KWNV = "KeysWithNoncompliantValues";
35
+ const _LRT = "ListRequiredTags";
36
+ const _LRTI = "ListRequiredTagsInput";
37
+ const _LRTO = "ListRequiredTagsOutput";
38
+ const _LU = "LastUpdated";
39
+ const _M = "Message";
40
+ const _MR = "MaxResults";
41
+ const _NCR = "NonCompliantResources";
42
+ const _NK = "NoncompliantKeys";
43
+ const _NT = "NextToken";
44
+ const _PT = "PaginationToken";
45
+ const _PTEE = "PaginationTokenExpiredException";
46
+ const _R = "Region";
47
+ const _RARN = "ResourceARN";
48
+ const _RARNL = "ResourceARNList";
49
+ const _RF = "RegionFilters";
50
+ const _RPP = "ResourcesPerPage";
51
+ const _RT = "RequiredTags";
52
+ const _RTF = "ResourceTypeFilters";
53
+ const _RTFLRT = "RequiredTagsForListRequiredTags";
54
+ const _RTK = "ReportingTagKeys";
55
+ const _RTM = "ResourceTagMapping";
56
+ const _RTML = "ResourceTagMappingList";
57
+ const _RTe = "RequiredTag";
58
+ const _RTes = "ResourceType";
59
+ const _S = "Status";
60
+ const _SB = "S3Bucket";
61
+ const _SC = "StatusCode";
62
+ const _SD = "StartDate";
63
+ const _SL = "S3Location";
64
+ const _SLu = "SummaryList";
65
+ const _SRC = "StartReportCreation";
66
+ const _SRCI = "StartReportCreationInput";
67
+ const _SRCO = "StartReportCreationOutput";
68
+ const _Su = "Summary";
69
+ const _T = "Tags";
70
+ const _TE = "ThrottledException";
71
+ const _TF = "TagFilters";
72
+ const _TFL = "TagFilterList";
73
+ const _TFa = "TagFilter";
74
+ const _TI = "TargetId";
75
+ const _TIF = "TargetIdFilters";
76
+ const _TIT = "TargetIdType";
77
+ const _TK = "TagKeys";
78
+ const _TKF = "TagKeyFilters";
79
+ const _TL = "TagList";
80
+ const _TPP = "TagsPerPage";
81
+ const _TR = "TagResources";
82
+ const _TRI = "TagResourcesInput";
83
+ const _TRO = "TagResourcesOutput";
84
+ const _TV = "TagValues";
85
+ const _Ta = "Tag";
86
+ const _UR = "UntagResources";
87
+ const _URI = "UntagResourcesInput";
88
+ const _URO = "UntagResourcesOutput";
89
+ const _V = "Value";
90
+ const _Va = "Values";
91
+ const _c = "client";
92
+ const _e = "error";
93
+ const _h = "http";
94
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
95
+ const _se = "server";
96
+ const n0 = "com.amazonaws.resourcegroupstaggingapi";
97
+ const schema_1 = require("@smithy/core/schema");
98
+ const errors_1 = require("../models/errors");
99
+ const ResourceGroupsTaggingAPIServiceException_1 = require("../models/ResourceGroupsTaggingAPIServiceException");
100
+ const _s_registry = schema_1.TypeRegistry.for(_s);
101
+ exports.ResourceGroupsTaggingAPIServiceException$ = [-3, _s, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
102
+ _s_registry.registerError(exports.ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException);
103
+ const n0_registry = schema_1.TypeRegistry.for(n0);
104
+ exports.ConcurrentModificationException$ = [-3, n0, _CME,
105
+ { [_e]: _c },
106
+ [_M],
107
+ [0]
108
+ ];
109
+ n0_registry.registerError(exports.ConcurrentModificationException$, errors_1.ConcurrentModificationException);
110
+ exports.ConstraintViolationException$ = [-3, n0, _CVE,
111
+ { [_e]: _c },
112
+ [_M],
113
+ [0]
114
+ ];
115
+ n0_registry.registerError(exports.ConstraintViolationException$, errors_1.ConstraintViolationException);
116
+ exports.InternalServiceException$ = [-3, n0, _ISE,
117
+ { [_e]: _se },
118
+ [_M],
119
+ [0]
120
+ ];
121
+ n0_registry.registerError(exports.InternalServiceException$, errors_1.InternalServiceException);
122
+ exports.InvalidParameterException$ = [-3, n0, _IPE,
123
+ { [_e]: _c },
124
+ [_M],
125
+ [0]
126
+ ];
127
+ n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
128
+ exports.PaginationTokenExpiredException$ = [-3, n0, _PTEE,
129
+ { [_e]: _c },
130
+ [_M],
131
+ [0]
132
+ ];
133
+ n0_registry.registerError(exports.PaginationTokenExpiredException$, errors_1.PaginationTokenExpiredException);
134
+ exports.ThrottledException$ = [-3, n0, _TE,
135
+ { [_e]: _c },
136
+ [_M],
137
+ [0]
138
+ ];
139
+ n0_registry.registerError(exports.ThrottledException$, errors_1.ThrottledException);
140
+ exports.errorTypeRegistries = [
141
+ _s_registry,
142
+ n0_registry,
143
+ ];
144
+ exports.ComplianceDetails$ = [3, n0, _CD,
145
+ 0,
146
+ [_NK, _KWNV, _CS],
147
+ [64 | 0, 64 | 0, 2]
148
+ ];
149
+ exports.DescribeReportCreationInput$ = [3, n0, _DRCI,
150
+ 0,
151
+ [],
152
+ []
153
+ ];
154
+ exports.DescribeReportCreationOutput$ = [3, n0, _DRCO,
155
+ 0,
156
+ [_S, _SL, _SD, _EM],
157
+ [0, 0, 0, 0]
158
+ ];
159
+ exports.FailureInfo$ = [3, n0, _FI,
160
+ 0,
161
+ [_SC, _EC, _EM],
162
+ [1, 0, 0]
163
+ ];
164
+ exports.GetComplianceSummaryInput$ = [3, n0, _GCSI,
165
+ 0,
166
+ [_TIF, _RF, _RTF, _TKF, _GB, _MR, _PT],
167
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1, 0]
168
+ ];
169
+ exports.GetComplianceSummaryOutput$ = [3, n0, _GCSO,
170
+ 0,
171
+ [_SLu, _PT],
172
+ [() => SummaryList, 0]
173
+ ];
174
+ exports.GetResourcesInput$ = [3, n0, _GRI,
175
+ 0,
176
+ [_PT, _TF, _RPP, _TPP, _RTF, _ICD, _ECR, _RARNL],
177
+ [0, () => TagFilterList, 1, 1, 64 | 0, 2, 2, 64 | 0]
178
+ ];
179
+ exports.GetResourcesOutput$ = [3, n0, _GRO,
180
+ 0,
181
+ [_PT, _RTML],
182
+ [0, () => ResourceTagMappingList]
183
+ ];
184
+ exports.GetTagKeysInput$ = [3, n0, _GTKI,
185
+ 0,
186
+ [_PT],
187
+ [0]
188
+ ];
189
+ exports.GetTagKeysOutput$ = [3, n0, _GTKO,
190
+ 0,
191
+ [_PT, _TK],
192
+ [0, 64 | 0]
193
+ ];
194
+ exports.GetTagValuesInput$ = [3, n0, _GTVI,
195
+ 0,
196
+ [_K, _PT],
197
+ [0, 0], 1
198
+ ];
199
+ exports.GetTagValuesOutput$ = [3, n0, _GTVO,
200
+ 0,
201
+ [_PT, _TV],
202
+ [0, 64 | 0]
203
+ ];
204
+ exports.ListRequiredTagsInput$ = [3, n0, _LRTI,
205
+ 0,
206
+ [_NT, _MR],
207
+ [0, 1]
208
+ ];
209
+ exports.ListRequiredTagsOutput$ = [3, n0, _LRTO,
210
+ 0,
211
+ [_RT, _NT],
212
+ [() => RequiredTagsForListRequiredTags, 0]
213
+ ];
214
+ exports.RequiredTag$ = [3, n0, _RTe,
215
+ 0,
216
+ [_RTes, _CFRT, _RTK],
217
+ [0, 64 | 0, 64 | 0]
218
+ ];
219
+ exports.ResourceTagMapping$ = [3, n0, _RTM,
220
+ 0,
221
+ [_RARN, _T, _CD],
222
+ [0, () => TagList, () => exports.ComplianceDetails$]
223
+ ];
224
+ exports.StartReportCreationInput$ = [3, n0, _SRCI,
225
+ 0,
226
+ [_SB],
227
+ [0], 1
228
+ ];
229
+ exports.StartReportCreationOutput$ = [3, n0, _SRCO,
230
+ 0,
231
+ [],
232
+ []
233
+ ];
234
+ exports.Summary$ = [3, n0, _Su,
235
+ 0,
236
+ [_LU, _TI, _TIT, _R, _RTes, _NCR],
237
+ [0, 0, 0, 0, 0, 1]
238
+ ];
239
+ exports.Tag$ = [3, n0, _Ta,
240
+ 0,
241
+ [_K, _V],
242
+ [0, 0], 2
243
+ ];
244
+ exports.TagFilter$ = [3, n0, _TFa,
245
+ 0,
246
+ [_K, _Va],
247
+ [0, 64 | 0]
248
+ ];
249
+ exports.TagResourcesInput$ = [3, n0, _TRI,
250
+ 0,
251
+ [_RARNL, _T],
252
+ [64 | 0, 128 | 0], 2
253
+ ];
254
+ exports.TagResourcesOutput$ = [3, n0, _TRO,
255
+ 0,
256
+ [_FRM],
257
+ [() => FailedResourcesMap]
258
+ ];
259
+ exports.UntagResourcesInput$ = [3, n0, _URI,
260
+ 0,
261
+ [_RARNL, _TK],
262
+ [64 | 0, 64 | 0], 2
263
+ ];
264
+ exports.UntagResourcesOutput$ = [3, n0, _URO,
265
+ 0,
266
+ [_FRM],
267
+ [() => FailedResourcesMap]
268
+ ];
269
+ var CloudFormationResourceTypes = 64 | 0;
270
+ var GroupBy = 64 | 0;
271
+ var RegionFilterList = 64 | 0;
272
+ var ReportingTagKeys = 64 | 0;
273
+ var RequiredTagsForListRequiredTags = [1, n0, _RTFLRT,
274
+ 0, () => exports.RequiredTag$
275
+ ];
276
+ var ResourceARNListForGet = 64 | 0;
277
+ var ResourceARNListForTagUntag = 64 | 0;
278
+ var ResourceTagMappingList = [1, n0, _RTML,
279
+ 0, () => exports.ResourceTagMapping$
280
+ ];
281
+ var ResourceTypeFilterList = 64 | 0;
282
+ var SummaryList = [1, n0, _SLu,
283
+ 0, () => exports.Summary$
284
+ ];
285
+ var TagFilterList = [1, n0, _TFL,
286
+ 0, () => exports.TagFilter$
287
+ ];
288
+ var TagKeyFilterList = 64 | 0;
289
+ var TagKeyList = 64 | 0;
290
+ var TagKeyListForUntag = 64 | 0;
291
+ var TagList = [1, n0, _TL,
292
+ 0, () => exports.Tag$
293
+ ];
294
+ var TagValueList = 64 | 0;
295
+ var TagValuesOutputList = 64 | 0;
296
+ var TargetIdFilterList = 64 | 0;
297
+ var FailedResourcesMap = [2, n0, _FRM,
298
+ 0, 0, () => exports.FailureInfo$
299
+ ];
300
+ var TagMap = 128 | 0;
301
+ exports.DescribeReportCreation$ = [9, n0, _DRC,
302
+ { [_h]: ["POST", "/DescribeReportCreation", 200] }, () => exports.DescribeReportCreationInput$, () => exports.DescribeReportCreationOutput$
303
+ ];
304
+ exports.GetComplianceSummary$ = [9, n0, _GCS,
305
+ { [_h]: ["POST", "/GetComplianceSummary", 200] }, () => exports.GetComplianceSummaryInput$, () => exports.GetComplianceSummaryOutput$
306
+ ];
307
+ exports.GetResources$ = [9, n0, _GR,
308
+ { [_h]: ["POST", "/GetResources", 200] }, () => exports.GetResourcesInput$, () => exports.GetResourcesOutput$
309
+ ];
310
+ exports.GetTagKeys$ = [9, n0, _GTK,
311
+ { [_h]: ["POST", "/GetTagKeys", 200] }, () => exports.GetTagKeysInput$, () => exports.GetTagKeysOutput$
312
+ ];
313
+ exports.GetTagValues$ = [9, n0, _GTV,
314
+ { [_h]: ["POST", "/GetTagValues", 200] }, () => exports.GetTagValuesInput$, () => exports.GetTagValuesOutput$
315
+ ];
316
+ exports.ListRequiredTags$ = [9, n0, _LRT,
317
+ { [_h]: ["POST", "/ListRequiredTags", 200] }, () => exports.ListRequiredTagsInput$, () => exports.ListRequiredTagsOutput$
318
+ ];
319
+ exports.StartReportCreation$ = [9, n0, _SRC,
320
+ { [_h]: ["POST", "/StartReportCreation", 200] }, () => exports.StartReportCreationInput$, () => exports.StartReportCreationOutput$
321
+ ];
322
+ exports.TagResources$ = [9, n0, _TR,
323
+ { [_h]: ["POST", "/TagResources", 200] }, () => exports.TagResourcesInput$, () => exports.TagResourcesOutput$
324
+ ];
325
+ exports.UntagResources$ = [9, n0, _UR,
326
+ { [_h]: ["POST", "/UntagResources", 200] }, () => exports.UntagResourcesInput$, () => exports.UntagResourcesOutput$
327
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultResourceGroupsTaggingAPIHttpAuthSchemeProvider } 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: "2017-01-26",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.resourcegroupstaggingapi",
30
+ errorTypeRegistries,
29
31
  version: "2017-01-26",
30
32
  serviceTarget: "ResourceGroupsTaggingAPI_20170126",
31
33
  },
@@ -88,29 +88,61 @@ const _Va = "Values";
88
88
  const _c = "client";
89
89
  const _e = "error";
90
90
  const _h = "http";
91
- const _s = "server";
92
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
91
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
92
+ const _se = "server";
93
93
  const n0 = "com.amazonaws.resourcegroupstaggingapi";
94
94
  import { TypeRegistry } from "@smithy/core/schema";
95
95
  import { ConcurrentModificationException, ConstraintViolationException, InternalServiceException, InvalidParameterException, PaginationTokenExpiredException, ThrottledException, } from "../models/errors";
96
96
  import { ResourceGroupsTaggingAPIServiceException } from "../models/ResourceGroupsTaggingAPIServiceException";
97
- export var ComplianceDetails$ = [3, n0, _CD,
98
- 0,
99
- [_NK, _KWNV, _CS],
100
- [64 | 0, 64 | 0, 2]
101
- ];
97
+ const _s_registry = TypeRegistry.for(_s);
98
+ export var ResourceGroupsTaggingAPIServiceException$ = [-3, _s, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
99
+ _s_registry.registerError(ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException);
100
+ const n0_registry = TypeRegistry.for(n0);
102
101
  export var ConcurrentModificationException$ = [-3, n0, _CME,
103
102
  { [_e]: _c },
104
103
  [_M],
105
104
  [0]
106
105
  ];
107
- TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
106
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
108
107
  export var ConstraintViolationException$ = [-3, n0, _CVE,
109
108
  { [_e]: _c },
110
109
  [_M],
111
110
  [0]
112
111
  ];
113
- TypeRegistry.for(n0).registerError(ConstraintViolationException$, ConstraintViolationException);
112
+ n0_registry.registerError(ConstraintViolationException$, ConstraintViolationException);
113
+ export var InternalServiceException$ = [-3, n0, _ISE,
114
+ { [_e]: _se },
115
+ [_M],
116
+ [0]
117
+ ];
118
+ n0_registry.registerError(InternalServiceException$, InternalServiceException);
119
+ export var InvalidParameterException$ = [-3, n0, _IPE,
120
+ { [_e]: _c },
121
+ [_M],
122
+ [0]
123
+ ];
124
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
125
+ export var PaginationTokenExpiredException$ = [-3, n0, _PTEE,
126
+ { [_e]: _c },
127
+ [_M],
128
+ [0]
129
+ ];
130
+ n0_registry.registerError(PaginationTokenExpiredException$, PaginationTokenExpiredException);
131
+ export var ThrottledException$ = [-3, n0, _TE,
132
+ { [_e]: _c },
133
+ [_M],
134
+ [0]
135
+ ];
136
+ n0_registry.registerError(ThrottledException$, ThrottledException);
137
+ export const errorTypeRegistries = [
138
+ _s_registry,
139
+ n0_registry,
140
+ ];
141
+ export var ComplianceDetails$ = [3, n0, _CD,
142
+ 0,
143
+ [_NK, _KWNV, _CS],
144
+ [64 | 0, 64 | 0, 2]
145
+ ];
114
146
  export var DescribeReportCreationInput$ = [3, n0, _DRCI,
115
147
  0,
116
148
  [],
@@ -166,18 +198,6 @@ export var GetTagValuesOutput$ = [3, n0, _GTVO,
166
198
  [_PT, _TV],
167
199
  [0, 64 | 0]
168
200
  ];
169
- export var InternalServiceException$ = [-3, n0, _ISE,
170
- { [_e]: _s },
171
- [_M],
172
- [0]
173
- ];
174
- TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
175
- export var InvalidParameterException$ = [-3, n0, _IPE,
176
- { [_e]: _c },
177
- [_M],
178
- [0]
179
- ];
180
- TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
181
201
  export var ListRequiredTagsInput$ = [3, n0, _LRTI,
182
202
  0,
183
203
  [_NT, _MR],
@@ -188,12 +208,6 @@ export var ListRequiredTagsOutput$ = [3, n0, _LRTO,
188
208
  [_RT, _NT],
189
209
  [() => RequiredTagsForListRequiredTags, 0]
190
210
  ];
191
- export var PaginationTokenExpiredException$ = [-3, n0, _PTEE,
192
- { [_e]: _c },
193
- [_M],
194
- [0]
195
- ];
196
- TypeRegistry.for(n0).registerError(PaginationTokenExpiredException$, PaginationTokenExpiredException);
197
211
  export var RequiredTag$ = [3, n0, _RTe,
198
212
  0,
199
213
  [_RTes, _CFRT, _RTK],
@@ -239,12 +253,6 @@ export var TagResourcesOutput$ = [3, n0, _TRO,
239
253
  [_FRM],
240
254
  [() => FailedResourcesMap]
241
255
  ];
242
- export var ThrottledException$ = [-3, n0, _TE,
243
- { [_e]: _c },
244
- [_M],
245
- [0]
246
- ];
247
- TypeRegistry.for(n0).registerError(ThrottledException$, ThrottledException);
248
256
  export var UntagResourcesInput$ = [3, n0, _URI,
249
257
  0,
250
258
  [_RARNL, _TK],
@@ -255,8 +263,6 @@ export var UntagResourcesOutput$ = [3, n0, _URO,
255
263
  [_FRM],
256
264
  [() => FailedResourcesMap]
257
265
  ];
258
- export var ResourceGroupsTaggingAPIServiceException$ = [-3, _sm, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
259
- TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException);
260
266
  var CloudFormationResourceTypes = 64 | 0;
261
267
  var GroupBy = 64 | 0;
262
268
  var RegionFilterList = 64 | 0;
@@ -1,7 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var ComplianceDetails$: StaticStructureSchema;
3
+ export declare var ResourceGroupsTaggingAPIServiceException$: StaticErrorSchema;
3
4
  export declare var ConcurrentModificationException$: StaticErrorSchema;
4
5
  export declare var ConstraintViolationException$: StaticErrorSchema;
6
+ export declare var InternalServiceException$: StaticErrorSchema;
7
+ export declare var InvalidParameterException$: StaticErrorSchema;
8
+ export declare var PaginationTokenExpiredException$: StaticErrorSchema;
9
+ export declare var ThrottledException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var ComplianceDetails$: StaticStructureSchema;
5
17
  export declare var DescribeReportCreationInput$: StaticStructureSchema;
6
18
  export declare var DescribeReportCreationOutput$: StaticStructureSchema;
7
19
  export declare var FailureInfo$: StaticStructureSchema;
@@ -13,11 +25,8 @@ export declare var GetTagKeysInput$: StaticStructureSchema;
13
25
  export declare var GetTagKeysOutput$: StaticStructureSchema;
14
26
  export declare var GetTagValuesInput$: StaticStructureSchema;
15
27
  export declare var GetTagValuesOutput$: StaticStructureSchema;
16
- export declare var InternalServiceException$: StaticErrorSchema;
17
- export declare var InvalidParameterException$: StaticErrorSchema;
18
28
  export declare var ListRequiredTagsInput$: StaticStructureSchema;
19
29
  export declare var ListRequiredTagsOutput$: StaticStructureSchema;
20
- export declare var PaginationTokenExpiredException$: StaticErrorSchema;
21
30
  export declare var RequiredTag$: StaticStructureSchema;
22
31
  export declare var ResourceTagMapping$: StaticStructureSchema;
23
32
  export declare var StartReportCreationInput$: StaticStructureSchema;
@@ -27,10 +36,8 @@ export declare var Tag$: StaticStructureSchema;
27
36
  export declare var TagFilter$: StaticStructureSchema;
28
37
  export declare var TagResourcesInput$: StaticStructureSchema;
29
38
  export declare var TagResourcesOutput$: StaticStructureSchema;
30
- export declare var ThrottledException$: StaticErrorSchema;
31
39
  export declare var UntagResourcesInput$: StaticStructureSchema;
32
40
  export declare var UntagResourcesOutput$: StaticStructureSchema;
33
- export declare var ResourceGroupsTaggingAPIServiceException$: StaticErrorSchema;
34
41
  export declare var DescribeReportCreation$: StaticOperationSchema;
35
42
  export declare var GetComplianceSummary$: StaticOperationSchema;
36
43
  export declare var GetResources$: StaticOperationSchema;
@@ -1,11 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var ComplianceDetails$: StaticStructureSchema;
7
+ export declare var ResourceGroupsTaggingAPIServiceException$: StaticErrorSchema;
7
8
  export declare var ConcurrentModificationException$: StaticErrorSchema;
8
9
  export declare var ConstraintViolationException$: StaticErrorSchema;
10
+ export declare var InternalServiceException$: StaticErrorSchema;
11
+ export declare var InvalidParameterException$: StaticErrorSchema;
12
+ export declare var PaginationTokenExpiredException$: StaticErrorSchema;
13
+ export declare var ThrottledException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
15
+ export declare var ComplianceDetails$: StaticStructureSchema;
9
16
  export declare var DescribeReportCreationInput$: StaticStructureSchema;
10
17
  export declare var DescribeReportCreationOutput$: StaticStructureSchema;
11
18
  export declare var FailureInfo$: StaticStructureSchema;
@@ -17,11 +24,8 @@ export declare var GetTagKeysInput$: StaticStructureSchema;
17
24
  export declare var GetTagKeysOutput$: StaticStructureSchema;
18
25
  export declare var GetTagValuesInput$: StaticStructureSchema;
19
26
  export declare var GetTagValuesOutput$: StaticStructureSchema;
20
- export declare var InternalServiceException$: StaticErrorSchema;
21
- export declare var InvalidParameterException$: StaticErrorSchema;
22
27
  export declare var ListRequiredTagsInput$: StaticStructureSchema;
23
28
  export declare var ListRequiredTagsOutput$: StaticStructureSchema;
24
- export declare var PaginationTokenExpiredException$: StaticErrorSchema;
25
29
  export declare var RequiredTag$: StaticStructureSchema;
26
30
  export declare var ResourceTagMapping$: StaticStructureSchema;
27
31
  export declare var StartReportCreationInput$: StaticStructureSchema;
@@ -31,10 +35,8 @@ export declare var Tag$: StaticStructureSchema;
31
35
  export declare var TagFilter$: StaticStructureSchema;
32
36
  export declare var TagResourcesInput$: StaticStructureSchema;
33
37
  export declare var TagResourcesOutput$: StaticStructureSchema;
34
- export declare var ThrottledException$: StaticErrorSchema;
35
38
  export declare var UntagResourcesInput$: StaticStructureSchema;
36
39
  export declare var UntagResourcesOutput$: StaticStructureSchema;
37
- export declare var ResourceGroupsTaggingAPIServiceException$: StaticErrorSchema;
38
40
  export declare var DescribeReportCreation$: StaticOperationSchema;
39
41
  export declare var GetComplianceSummary$: StaticOperationSchema;
40
42
  export declare var GetResources$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups-tagging-api",
3
3
  "description": "AWS SDK for JavaScript Resource Groups Tagging Api Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.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-resource-groups-tagging-api",
@@ -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.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
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.9",
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.989.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.7",
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",