@aws-sdk/client-resource-groups-tagging-api 3.927.0 → 3.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist-cjs/index.js +288 -347
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ResourceGroupsTaggingAPIClient.js +2 -0
  4. package/dist-es/commands/DescribeReportCreationCommand.js +3 -9
  5. package/dist-es/commands/GetComplianceSummaryCommand.js +3 -9
  6. package/dist-es/commands/GetResourcesCommand.js +3 -9
  7. package/dist-es/commands/GetTagKeysCommand.js +3 -9
  8. package/dist-es/commands/GetTagValuesCommand.js +3 -9
  9. package/dist-es/commands/StartReportCreationCommand.js +3 -9
  10. package/dist-es/commands/TagResourcesCommand.js +3 -9
  11. package/dist-es/commands/UntagResourcesCommand.js +3 -9
  12. package/dist-es/runtimeConfig.shared.js +7 -0
  13. package/dist-es/schemas/schemas_0.js +265 -0
  14. package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +10 -1
  15. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  16. package/dist-types/runtimeConfig.d.ts +1 -0
  17. package/dist-types/runtimeConfig.native.d.ts +1 -0
  18. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  19. package/dist-types/schemas/schemas_0.d.ts +56 -0
  20. package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +4 -0
  21. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  22. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -0
  26. package/package.json +5 -5
  27. package/dist-es/protocols/Aws_json1_1.js +0 -277
  28. package/dist-types/protocols/Aws_json1_1.d.ts +0 -74
  29. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -101
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ResourceGroupsTaggingAPIClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class ResourceGroupsTaggingAPIClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ResourceGroupsTaggingAPIServiceException extends smithyClient.ServiceException {
113
+ let ResourceGroupsTaggingAPIServiceException$1 = class ResourceGroupsTaggingAPIServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ResourceGroupsTaggingAPIServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceException {
120
+ let ConcurrentModificationException$1 = class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceException$1 {
121
121
  name = "ConcurrentModificationException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceExc
130
130
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
134
- class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceException {
133
+ };
134
+ let ConstraintViolationException$1 = class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceException$1 {
135
135
  name = "ConstraintViolationException";
136
136
  $fault = "client";
137
137
  Message;
@@ -144,8 +144,8 @@ class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceExcept
144
144
  Object.setPrototypeOf(this, ConstraintViolationException.prototype);
145
145
  this.Message = opts.Message;
146
146
  }
147
- }
148
- class InternalServiceException extends ResourceGroupsTaggingAPIServiceException {
147
+ };
148
+ let InternalServiceException$1 = class InternalServiceException extends ResourceGroupsTaggingAPIServiceException$1 {
149
149
  name = "InternalServiceException";
150
150
  $fault = "server";
151
151
  Message;
@@ -158,8 +158,8 @@ class InternalServiceException extends ResourceGroupsTaggingAPIServiceException
158
158
  Object.setPrototypeOf(this, InternalServiceException.prototype);
159
159
  this.Message = opts.Message;
160
160
  }
161
- }
162
- class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException {
161
+ };
162
+ let InvalidParameterException$1 = class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException$1 {
163
163
  name = "InvalidParameterException";
164
164
  $fault = "client";
165
165
  Message;
@@ -172,8 +172,8 @@ class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException
172
172
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
173
173
  this.Message = opts.Message;
174
174
  }
175
- }
176
- class ThrottledException extends ResourceGroupsTaggingAPIServiceException {
175
+ };
176
+ let ThrottledException$1 = class ThrottledException extends ResourceGroupsTaggingAPIServiceException$1 {
177
177
  name = "ThrottledException";
178
178
  $fault = "client";
179
179
  Message;
@@ -186,7 +186,7 @@ class ThrottledException extends ResourceGroupsTaggingAPIServiceException {
186
186
  Object.setPrototypeOf(this, ThrottledException.prototype);
187
187
  this.Message = opts.Message;
188
188
  }
189
- }
189
+ };
190
190
  const ErrorCode = {
191
191
  INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
192
192
  INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
@@ -201,7 +201,7 @@ const TargetIdType = {
201
201
  OU: "OU",
202
202
  ROOT: "ROOT",
203
203
  };
204
- class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException {
204
+ let PaginationTokenExpiredException$1 = class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException$1 {
205
205
  name = "PaginationTokenExpiredException";
206
206
  $fault = "client";
207
207
  Message;
@@ -214,291 +214,267 @@ class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceExc
214
214
  Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
215
215
  this.Message = opts.Message;
216
216
  }
217
- }
218
-
219
- const se_DescribeReportCreationCommand = async (input, context) => {
220
- const headers = sharedHeaders("DescribeReportCreation");
221
- let body;
222
- body = JSON.stringify(smithyClient._json(input));
223
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
224
- };
225
- const se_GetComplianceSummaryCommand = async (input, context) => {
226
- const headers = sharedHeaders("GetComplianceSummary");
227
- let body;
228
- body = JSON.stringify(smithyClient._json(input));
229
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
230
- };
231
- const se_GetResourcesCommand = async (input, context) => {
232
- const headers = sharedHeaders("GetResources");
233
- let body;
234
- body = JSON.stringify(smithyClient._json(input));
235
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
236
- };
237
- const se_GetTagKeysCommand = async (input, context) => {
238
- const headers = sharedHeaders("GetTagKeys");
239
- let body;
240
- body = JSON.stringify(smithyClient._json(input));
241
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
242
- };
243
- const se_GetTagValuesCommand = async (input, context) => {
244
- const headers = sharedHeaders("GetTagValues");
245
- let body;
246
- body = JSON.stringify(smithyClient._json(input));
247
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
248
- };
249
- const se_StartReportCreationCommand = async (input, context) => {
250
- const headers = sharedHeaders("StartReportCreation");
251
- let body;
252
- body = JSON.stringify(smithyClient._json(input));
253
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
254
- };
255
- const se_TagResourcesCommand = async (input, context) => {
256
- const headers = sharedHeaders("TagResources");
257
- let body;
258
- body = JSON.stringify(smithyClient._json(input));
259
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
260
- };
261
- const se_UntagResourcesCommand = async (input, context) => {
262
- const headers = sharedHeaders("UntagResources");
263
- let body;
264
- body = JSON.stringify(smithyClient._json(input));
265
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
266
- };
267
- const de_DescribeReportCreationCommand = async (output, context) => {
268
- if (output.statusCode >= 300) {
269
- return de_CommandError(output, context);
270
- }
271
- const data = await core$1.parseJsonBody(output.body, context);
272
- let contents = {};
273
- contents = smithyClient._json(data);
274
- const response = {
275
- $metadata: deserializeMetadata(output),
276
- ...contents,
277
- };
278
- return response;
279
- };
280
- const de_GetComplianceSummaryCommand = async (output, context) => {
281
- if (output.statusCode >= 300) {
282
- return de_CommandError(output, context);
283
- }
284
- const data = await core$1.parseJsonBody(output.body, context);
285
- let contents = {};
286
- contents = smithyClient._json(data);
287
- const response = {
288
- $metadata: deserializeMetadata(output),
289
- ...contents,
290
- };
291
- return response;
292
- };
293
- const de_GetResourcesCommand = async (output, context) => {
294
- if (output.statusCode >= 300) {
295
- return de_CommandError(output, context);
296
- }
297
- const data = await core$1.parseJsonBody(output.body, context);
298
- let contents = {};
299
- contents = smithyClient._json(data);
300
- const response = {
301
- $metadata: deserializeMetadata(output),
302
- ...contents,
303
- };
304
- return response;
305
- };
306
- const de_GetTagKeysCommand = async (output, context) => {
307
- if (output.statusCode >= 300) {
308
- return de_CommandError(output, context);
309
- }
310
- const data = await core$1.parseJsonBody(output.body, context);
311
- let contents = {};
312
- contents = smithyClient._json(data);
313
- const response = {
314
- $metadata: deserializeMetadata(output),
315
- ...contents,
316
- };
317
- return response;
318
- };
319
- const de_GetTagValuesCommand = async (output, context) => {
320
- if (output.statusCode >= 300) {
321
- return de_CommandError(output, context);
322
- }
323
- const data = await core$1.parseJsonBody(output.body, context);
324
- let contents = {};
325
- contents = smithyClient._json(data);
326
- const response = {
327
- $metadata: deserializeMetadata(output),
328
- ...contents,
329
- };
330
- return response;
331
- };
332
- const de_StartReportCreationCommand = async (output, context) => {
333
- if (output.statusCode >= 300) {
334
- return de_CommandError(output, context);
335
- }
336
- const data = await core$1.parseJsonBody(output.body, context);
337
- let contents = {};
338
- contents = smithyClient._json(data);
339
- const response = {
340
- $metadata: deserializeMetadata(output),
341
- ...contents,
342
- };
343
- return response;
344
- };
345
- const de_TagResourcesCommand = async (output, context) => {
346
- if (output.statusCode >= 300) {
347
- return de_CommandError(output, context);
348
- }
349
- const data = await core$1.parseJsonBody(output.body, context);
350
- let contents = {};
351
- contents = smithyClient._json(data);
352
- const response = {
353
- $metadata: deserializeMetadata(output),
354
- ...contents,
355
- };
356
- return response;
357
- };
358
- const de_UntagResourcesCommand = async (output, context) => {
359
- if (output.statusCode >= 300) {
360
- return de_CommandError(output, context);
361
- }
362
- const data = await core$1.parseJsonBody(output.body, context);
363
- let contents = {};
364
- contents = smithyClient._json(data);
365
- const response = {
366
- $metadata: deserializeMetadata(output),
367
- ...contents,
368
- };
369
- return response;
370
- };
371
- const de_CommandError = async (output, context) => {
372
- const parsedOutput = {
373
- ...output,
374
- body: await core$1.parseJsonErrorBody(output.body, context),
375
- };
376
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
377
- switch (errorCode) {
378
- case "ConstraintViolationException":
379
- case "com.amazonaws.resourcegroupstaggingapi#ConstraintViolationException":
380
- throw await de_ConstraintViolationExceptionRes(parsedOutput);
381
- case "InternalServiceException":
382
- case "com.amazonaws.resourcegroupstaggingapi#InternalServiceException":
383
- throw await de_InternalServiceExceptionRes(parsedOutput);
384
- case "InvalidParameterException":
385
- case "com.amazonaws.resourcegroupstaggingapi#InvalidParameterException":
386
- throw await de_InvalidParameterExceptionRes(parsedOutput);
387
- case "ThrottledException":
388
- case "com.amazonaws.resourcegroupstaggingapi#ThrottledException":
389
- throw await de_ThrottledExceptionRes(parsedOutput);
390
- case "PaginationTokenExpiredException":
391
- case "com.amazonaws.resourcegroupstaggingapi#PaginationTokenExpiredException":
392
- throw await de_PaginationTokenExpiredExceptionRes(parsedOutput);
393
- case "ConcurrentModificationException":
394
- case "com.amazonaws.resourcegroupstaggingapi#ConcurrentModificationException":
395
- throw await de_ConcurrentModificationExceptionRes(parsedOutput);
396
- default:
397
- const parsedBody = parsedOutput.body;
398
- return throwDefaultError({
399
- output,
400
- parsedBody,
401
- errorCode,
402
- });
403
- }
404
- };
405
- const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
406
- const body = parsedOutput.body;
407
- const deserialized = smithyClient._json(body);
408
- const exception = new ConcurrentModificationException({
409
- $metadata: deserializeMetadata(parsedOutput),
410
- ...deserialized,
411
- });
412
- return smithyClient.decorateServiceException(exception, body);
413
- };
414
- const de_ConstraintViolationExceptionRes = async (parsedOutput, context) => {
415
- const body = parsedOutput.body;
416
- const deserialized = smithyClient._json(body);
417
- const exception = new ConstraintViolationException({
418
- $metadata: deserializeMetadata(parsedOutput),
419
- ...deserialized,
420
- });
421
- return smithyClient.decorateServiceException(exception, body);
422
- };
423
- const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
424
- const body = parsedOutput.body;
425
- const deserialized = smithyClient._json(body);
426
- const exception = new InternalServiceException({
427
- $metadata: deserializeMetadata(parsedOutput),
428
- ...deserialized,
429
- });
430
- return smithyClient.decorateServiceException(exception, body);
431
- };
432
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
433
- const body = parsedOutput.body;
434
- const deserialized = smithyClient._json(body);
435
- const exception = new InvalidParameterException({
436
- $metadata: deserializeMetadata(parsedOutput),
437
- ...deserialized,
438
- });
439
- return smithyClient.decorateServiceException(exception, body);
440
- };
441
- const de_PaginationTokenExpiredExceptionRes = async (parsedOutput, context) => {
442
- const body = parsedOutput.body;
443
- const deserialized = smithyClient._json(body);
444
- const exception = new PaginationTokenExpiredException({
445
- $metadata: deserializeMetadata(parsedOutput),
446
- ...deserialized,
447
- });
448
- return smithyClient.decorateServiceException(exception, body);
449
- };
450
- const de_ThrottledExceptionRes = async (parsedOutput, context) => {
451
- const body = parsedOutput.body;
452
- const deserialized = smithyClient._json(body);
453
- const exception = new ThrottledException({
454
- $metadata: deserializeMetadata(parsedOutput),
455
- ...deserialized,
456
- });
457
- return smithyClient.decorateServiceException(exception, body);
458
- };
459
- const deserializeMetadata = (output) => ({
460
- httpStatusCode: output.statusCode,
461
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
462
- extendedRequestId: output.headers["x-amz-id-2"],
463
- cfId: output.headers["x-amz-cf-id"],
464
- });
465
- const throwDefaultError = smithyClient.withBaseException(ResourceGroupsTaggingAPIServiceException);
466
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
467
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
468
- const contents = {
469
- protocol,
470
- hostname,
471
- port,
472
- method: "POST",
473
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
474
- headers,
475
- };
476
- if (body !== undefined) {
477
- contents.body = body;
478
- }
479
- return new protocolHttp.HttpRequest(contents);
480
217
  };
481
- function sharedHeaders(operation) {
482
- return {
483
- "content-type": "application/x-amz-json-1.1",
484
- "x-amz-target": `ResourceGroupsTaggingAPI_20170126.${operation}`,
485
- };
486
- }
218
+
219
+ const _CD = "ComplianceDetails";
220
+ const _CME = "ConcurrentModificationException";
221
+ const _CS = "ComplianceStatus";
222
+ const _CVE = "ConstraintViolationException";
223
+ const _DRC = "DescribeReportCreation";
224
+ const _DRCI = "DescribeReportCreationInput";
225
+ const _DRCO = "DescribeReportCreationOutput";
226
+ const _EC = "ErrorCode";
227
+ const _ECR = "ExcludeCompliantResources";
228
+ const _EM = "ErrorMessage";
229
+ const _FI = "FailureInfo";
230
+ const _FRM = "FailedResourcesMap";
231
+ const _GB = "GroupBy";
232
+ const _GCS = "GetComplianceSummary";
233
+ const _GCSI = "GetComplianceSummaryInput";
234
+ const _GCSO = "GetComplianceSummaryOutput";
235
+ const _GR = "GetResources";
236
+ const _GRI = "GetResourcesInput";
237
+ const _GRO = "GetResourcesOutput";
238
+ const _GTK = "GetTagKeys";
239
+ const _GTKI = "GetTagKeysInput";
240
+ const _GTKO = "GetTagKeysOutput";
241
+ const _GTV = "GetTagValues";
242
+ const _GTVI = "GetTagValuesInput";
243
+ const _GTVO = "GetTagValuesOutput";
244
+ const _ICD = "IncludeComplianceDetails";
245
+ const _IPE = "InvalidParameterException";
246
+ const _ISE = "InternalServiceException";
247
+ const _K = "Key";
248
+ const _KWNV = "KeysWithNoncompliantValues";
249
+ const _LU = "LastUpdated";
250
+ const _M = "Message";
251
+ const _MR = "MaxResults";
252
+ const _NCR = "NonCompliantResources";
253
+ const _NK = "NoncompliantKeys";
254
+ const _PT = "PaginationToken";
255
+ const _PTEE = "PaginationTokenExpiredException";
256
+ const _R = "Region";
257
+ const _RARN = "ResourceARN";
258
+ const _RARNL = "ResourceARNList";
259
+ const _RF = "RegionFilters";
260
+ const _RPP = "ResourcesPerPage";
261
+ const _RT = "ResourceType";
262
+ const _RTF = "ResourceTypeFilters";
263
+ const _RTM = "ResourceTagMapping";
264
+ const _RTML = "ResourceTagMappingList";
265
+ const _S = "Status";
266
+ const _SB = "S3Bucket";
267
+ const _SC = "StatusCode";
268
+ const _SD = "StartDate";
269
+ const _SL = "S3Location";
270
+ const _SLu = "SummaryList";
271
+ const _SRC = "StartReportCreation";
272
+ const _SRCI = "StartReportCreationInput";
273
+ const _SRCO = "StartReportCreationOutput";
274
+ const _Su = "Summary";
275
+ const _T = "Tags";
276
+ const _TE = "ThrottledException";
277
+ const _TF = "TagFilters";
278
+ const _TFL = "TagFilterList";
279
+ const _TFa = "TagFilter";
280
+ const _TI = "TargetId";
281
+ const _TIF = "TargetIdFilters";
282
+ const _TIT = "TargetIdType";
283
+ const _TK = "TagKeys";
284
+ const _TKF = "TagKeyFilters";
285
+ const _TL = "TagList";
286
+ const _TPP = "TagsPerPage";
287
+ const _TR = "TagResources";
288
+ const _TRI = "TagResourcesInput";
289
+ const _TRO = "TagResourcesOutput";
290
+ const _TV = "TagValues";
291
+ const _Ta = "Tag";
292
+ const _UR = "UntagResources";
293
+ const _URI = "UntagResourcesInput";
294
+ const _URO = "UntagResourcesOutput";
295
+ const _V = "Value";
296
+ const _Va = "Values";
297
+ const _c = "client";
298
+ const _e = "error";
299
+ const _s = "server";
300
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
301
+ const n0 = "com.amazonaws.resourcegroupstaggingapi";
302
+ var ComplianceDetails = [3, n0, _CD, 0, [_NK, _KWNV, _CS], [64 | 0, 64 | 0, 2]];
303
+ var ConcurrentModificationException = [
304
+ -3,
305
+ n0,
306
+ _CME,
307
+ {
308
+ [_e]: _c,
309
+ },
310
+ [_M],
311
+ [0],
312
+ ];
313
+ schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
314
+ var ConstraintViolationException = [
315
+ -3,
316
+ n0,
317
+ _CVE,
318
+ {
319
+ [_e]: _c,
320
+ },
321
+ [_M],
322
+ [0],
323
+ ];
324
+ schema.TypeRegistry.for(n0).registerError(ConstraintViolationException, ConstraintViolationException$1);
325
+ var DescribeReportCreationInput = [3, n0, _DRCI, 0, [], []];
326
+ var DescribeReportCreationOutput = [3, n0, _DRCO, 0, [_S, _SL, _SD, _EM], [0, 0, 0, 0]];
327
+ var FailureInfo = [3, n0, _FI, 0, [_SC, _EC, _EM], [1, 0, 0]];
328
+ var GetComplianceSummaryInput = [
329
+ 3,
330
+ n0,
331
+ _GCSI,
332
+ 0,
333
+ [_TIF, _RF, _RTF, _TKF, _GB, _MR, _PT],
334
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1, 0],
335
+ ];
336
+ var GetComplianceSummaryOutput = [3, n0, _GCSO, 0, [_SLu, _PT], [() => SummaryList, 0]];
337
+ var GetResourcesInput = [
338
+ 3,
339
+ n0,
340
+ _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 = [
346
+ 3,
347
+ n0,
348
+ _GRO,
349
+ 0,
350
+ [_PT, _RTML],
351
+ [0, () => ResourceTagMappingList],
352
+ ];
353
+ var GetTagKeysInput = [3, n0, _GTKI, 0, [_PT], [0]];
354
+ var GetTagKeysOutput = [3, n0, _GTKO, 0, [_PT, _TK], [0, 64 | 0]];
355
+ var GetTagValuesInput = [3, n0, _GTVI, 0, [_PT, _K], [0, 0]];
356
+ var GetTagValuesOutput = [3, n0, _GTVO, 0, [_PT, _TV], [0, 64 | 0]];
357
+ var InternalServiceException = [
358
+ -3,
359
+ n0,
360
+ _ISE,
361
+ {
362
+ [_e]: _s,
363
+ },
364
+ [_M],
365
+ [0],
366
+ ];
367
+ schema.TypeRegistry.for(n0).registerError(InternalServiceException, InternalServiceException$1);
368
+ var InvalidParameterException = [
369
+ -3,
370
+ n0,
371
+ _IPE,
372
+ {
373
+ [_e]: _c,
374
+ },
375
+ [_M],
376
+ [0],
377
+ ];
378
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
379
+ var PaginationTokenExpiredException = [
380
+ -3,
381
+ n0,
382
+ _PTEE,
383
+ {
384
+ [_e]: _c,
385
+ },
386
+ [_M],
387
+ [0],
388
+ ];
389
+ schema.TypeRegistry.for(n0).registerError(PaginationTokenExpiredException, PaginationTokenExpiredException$1);
390
+ var ResourceTagMapping = [
391
+ 3,
392
+ n0,
393
+ _RTM,
394
+ 0,
395
+ [_RARN, _T, _CD],
396
+ [0, () => TagList, () => ComplianceDetails],
397
+ ];
398
+ var StartReportCreationInput = [3, n0, _SRCI, 0, [_SB], [0]];
399
+ var StartReportCreationOutput = [3, n0, _SRCO, 0, [], []];
400
+ var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R, _RT, _NCR], [0, 0, 0, 0, 0, 1]];
401
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
402
+ var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
403
+ var TagResourcesInput = [3, n0, _TRI, 0, [_RARNL, _T], [64 | 0, 128 | 0]];
404
+ var TagResourcesOutput = [3, n0, _TRO, 0, [_FRM], [() => FailedResourcesMap]];
405
+ var ThrottledException = [
406
+ -3,
407
+ n0,
408
+ _TE,
409
+ {
410
+ [_e]: _c,
411
+ },
412
+ [_M],
413
+ [0],
414
+ ];
415
+ schema.TypeRegistry.for(n0).registerError(ThrottledException, ThrottledException$1);
416
+ var UntagResourcesInput = [3, n0, _URI, 0, [_RARNL, _TK], [64 | 0, 64 | 0]];
417
+ var UntagResourcesOutput = [3, n0, _URO, 0, [_FRM], [() => FailedResourcesMap]];
418
+ var ResourceGroupsTaggingAPIServiceException = [
419
+ -3,
420
+ _sm,
421
+ "ResourceGroupsTaggingAPIServiceException",
422
+ 0,
423
+ [],
424
+ [],
425
+ ];
426
+ schema.TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException, ResourceGroupsTaggingAPIServiceException$1);
427
+ var ResourceTagMappingList = [1, n0, _RTML, 0, () => ResourceTagMapping];
428
+ var SummaryList = [1, n0, _SLu, 0, () => Summary];
429
+ var TagFilterList = [1, n0, _TFL, 0, () => TagFilter];
430
+ var TagList = [1, n0, _TL, 0, () => Tag];
431
+ var FailedResourcesMap = [2, n0, _FRM, 0, 0, () => FailureInfo];
432
+ var DescribeReportCreation = [
433
+ 9,
434
+ n0,
435
+ _DRC,
436
+ 0,
437
+ () => DescribeReportCreationInput,
438
+ () => DescribeReportCreationOutput,
439
+ ];
440
+ var GetComplianceSummary = [
441
+ 9,
442
+ n0,
443
+ _GCS,
444
+ 0,
445
+ () => GetComplianceSummaryInput,
446
+ () => GetComplianceSummaryOutput,
447
+ ];
448
+ var GetResources = [9, n0, _GR, 0, () => GetResourcesInput, () => GetResourcesOutput];
449
+ var GetTagKeys = [9, n0, _GTK, 0, () => GetTagKeysInput, () => GetTagKeysOutput];
450
+ var GetTagValues = [9, n0, _GTV, 0, () => GetTagValuesInput, () => GetTagValuesOutput];
451
+ var StartReportCreation = [
452
+ 9,
453
+ n0,
454
+ _SRC,
455
+ 0,
456
+ () => StartReportCreationInput,
457
+ () => StartReportCreationOutput,
458
+ ];
459
+ var TagResources = [9, n0, _TR, 0, () => TagResourcesInput, () => TagResourcesOutput];
460
+ var UntagResources = [
461
+ 9,
462
+ n0,
463
+ _UR,
464
+ 0,
465
+ () => UntagResourcesInput,
466
+ () => UntagResourcesOutput,
467
+ ];
487
468
 
488
469
  class DescribeReportCreationCommand extends smithyClient.Command
489
470
  .classBuilder()
490
471
  .ep(commonParams)
491
472
  .m(function (Command, cs, config, o) {
492
- return [
493
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
494
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
495
- ];
473
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
496
474
  })
497
475
  .s("ResourceGroupsTaggingAPI_20170126", "DescribeReportCreation", {})
498
476
  .n("ResourceGroupsTaggingAPIClient", "DescribeReportCreationCommand")
499
- .f(void 0, void 0)
500
- .ser(se_DescribeReportCreationCommand)
501
- .de(de_DescribeReportCreationCommand)
477
+ .sc(DescribeReportCreation)
502
478
  .build() {
503
479
  }
504
480
 
@@ -506,16 +482,11 @@ class GetComplianceSummaryCommand extends smithyClient.Command
506
482
  .classBuilder()
507
483
  .ep(commonParams)
508
484
  .m(function (Command, cs, config, o) {
509
- return [
510
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
511
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
512
- ];
485
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
513
486
  })
514
487
  .s("ResourceGroupsTaggingAPI_20170126", "GetComplianceSummary", {})
515
488
  .n("ResourceGroupsTaggingAPIClient", "GetComplianceSummaryCommand")
516
- .f(void 0, void 0)
517
- .ser(se_GetComplianceSummaryCommand)
518
- .de(de_GetComplianceSummaryCommand)
489
+ .sc(GetComplianceSummary)
519
490
  .build() {
520
491
  }
521
492
 
@@ -523,16 +494,11 @@ class GetResourcesCommand extends smithyClient.Command
523
494
  .classBuilder()
524
495
  .ep(commonParams)
525
496
  .m(function (Command, cs, config, o) {
526
- return [
527
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
528
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
529
- ];
497
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
530
498
  })
531
499
  .s("ResourceGroupsTaggingAPI_20170126", "GetResources", {})
532
500
  .n("ResourceGroupsTaggingAPIClient", "GetResourcesCommand")
533
- .f(void 0, void 0)
534
- .ser(se_GetResourcesCommand)
535
- .de(de_GetResourcesCommand)
501
+ .sc(GetResources)
536
502
  .build() {
537
503
  }
538
504
 
@@ -540,16 +506,11 @@ class GetTagKeysCommand extends smithyClient.Command
540
506
  .classBuilder()
541
507
  .ep(commonParams)
542
508
  .m(function (Command, cs, config, o) {
543
- return [
544
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
545
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
546
- ];
509
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
547
510
  })
548
511
  .s("ResourceGroupsTaggingAPI_20170126", "GetTagKeys", {})
549
512
  .n("ResourceGroupsTaggingAPIClient", "GetTagKeysCommand")
550
- .f(void 0, void 0)
551
- .ser(se_GetTagKeysCommand)
552
- .de(de_GetTagKeysCommand)
513
+ .sc(GetTagKeys)
553
514
  .build() {
554
515
  }
555
516
 
@@ -557,16 +518,11 @@ class GetTagValuesCommand extends smithyClient.Command
557
518
  .classBuilder()
558
519
  .ep(commonParams)
559
520
  .m(function (Command, cs, config, o) {
560
- return [
561
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
562
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
563
- ];
521
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
564
522
  })
565
523
  .s("ResourceGroupsTaggingAPI_20170126", "GetTagValues", {})
566
524
  .n("ResourceGroupsTaggingAPIClient", "GetTagValuesCommand")
567
- .f(void 0, void 0)
568
- .ser(se_GetTagValuesCommand)
569
- .de(de_GetTagValuesCommand)
525
+ .sc(GetTagValues)
570
526
  .build() {
571
527
  }
572
528
 
@@ -574,16 +530,11 @@ class StartReportCreationCommand extends smithyClient.Command
574
530
  .classBuilder()
575
531
  .ep(commonParams)
576
532
  .m(function (Command, cs, config, o) {
577
- return [
578
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
579
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
580
- ];
533
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
581
534
  })
582
535
  .s("ResourceGroupsTaggingAPI_20170126", "StartReportCreation", {})
583
536
  .n("ResourceGroupsTaggingAPIClient", "StartReportCreationCommand")
584
- .f(void 0, void 0)
585
- .ser(se_StartReportCreationCommand)
586
- .de(de_StartReportCreationCommand)
537
+ .sc(StartReportCreation)
587
538
  .build() {
588
539
  }
589
540
 
@@ -591,16 +542,11 @@ class TagResourcesCommand extends smithyClient.Command
591
542
  .classBuilder()
592
543
  .ep(commonParams)
593
544
  .m(function (Command, cs, config, o) {
594
- return [
595
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
596
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
597
- ];
545
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
598
546
  })
599
547
  .s("ResourceGroupsTaggingAPI_20170126", "TagResources", {})
600
548
  .n("ResourceGroupsTaggingAPIClient", "TagResourcesCommand")
601
- .f(void 0, void 0)
602
- .ser(se_TagResourcesCommand)
603
- .de(de_TagResourcesCommand)
549
+ .sc(TagResources)
604
550
  .build() {
605
551
  }
606
552
 
@@ -608,16 +554,11 @@ class UntagResourcesCommand extends smithyClient.Command
608
554
  .classBuilder()
609
555
  .ep(commonParams)
610
556
  .m(function (Command, cs, config, o) {
611
- return [
612
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
613
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
614
- ];
557
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
615
558
  })
616
559
  .s("ResourceGroupsTaggingAPI_20170126", "UntagResources", {})
617
560
  .n("ResourceGroupsTaggingAPIClient", "UntagResourcesCommand")
618
- .f(void 0, void 0)
619
- .ser(se_UntagResourcesCommand)
620
- .de(de_UntagResourcesCommand)
561
+ .sc(UntagResources)
621
562
  .build() {
622
563
  }
623
564
 
@@ -651,8 +592,8 @@ Object.defineProperty(exports, "__Client", {
651
592
  enumerable: true,
652
593
  get: function () { return smithyClient.Client; }
653
594
  });
654
- exports.ConcurrentModificationException = ConcurrentModificationException;
655
- exports.ConstraintViolationException = ConstraintViolationException;
595
+ exports.ConcurrentModificationException = ConcurrentModificationException$1;
596
+ exports.ConstraintViolationException = ConstraintViolationException$1;
656
597
  exports.DescribeReportCreationCommand = DescribeReportCreationCommand;
657
598
  exports.ErrorCode = ErrorCode;
658
599
  exports.GetComplianceSummaryCommand = GetComplianceSummaryCommand;
@@ -660,16 +601,16 @@ exports.GetResourcesCommand = GetResourcesCommand;
660
601
  exports.GetTagKeysCommand = GetTagKeysCommand;
661
602
  exports.GetTagValuesCommand = GetTagValuesCommand;
662
603
  exports.GroupByAttribute = GroupByAttribute;
663
- exports.InternalServiceException = InternalServiceException;
664
- exports.InvalidParameterException = InvalidParameterException;
665
- exports.PaginationTokenExpiredException = PaginationTokenExpiredException;
604
+ exports.InternalServiceException = InternalServiceException$1;
605
+ exports.InvalidParameterException = InvalidParameterException$1;
606
+ exports.PaginationTokenExpiredException = PaginationTokenExpiredException$1;
666
607
  exports.ResourceGroupsTaggingAPI = ResourceGroupsTaggingAPI;
667
608
  exports.ResourceGroupsTaggingAPIClient = ResourceGroupsTaggingAPIClient;
668
- exports.ResourceGroupsTaggingAPIServiceException = ResourceGroupsTaggingAPIServiceException;
609
+ exports.ResourceGroupsTaggingAPIServiceException = ResourceGroupsTaggingAPIServiceException$1;
669
610
  exports.StartReportCreationCommand = StartReportCreationCommand;
670
611
  exports.TagResourcesCommand = TagResourcesCommand;
671
612
  exports.TargetIdType = TargetIdType;
672
- exports.ThrottledException = ThrottledException;
613
+ exports.ThrottledException = ThrottledException$1;
673
614
  exports.UntagResourcesCommand = UntagResourcesCommand;
674
615
  exports.paginateGetComplianceSummary = paginateGetComplianceSummary;
675
616
  exports.paginateGetResources = paginateGetResources;