@aws-sdk/client-resource-groups-tagging-api 3.131.0 → 3.142.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.
@@ -104,7 +104,6 @@ const deserializeAws_json1_1DescribeReportCreationCommandError = async (output,
104
104
  ...output,
105
105
  body: await parseBody(output.body, context),
106
106
  };
107
- let response;
108
107
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
109
108
  switch (errorCode) {
110
109
  case "ConstraintViolationException":
@@ -121,14 +120,12 @@ const deserializeAws_json1_1DescribeReportCreationCommandError = async (output,
121
120
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
122
121
  default:
123
122
  const parsedBody = parsedOutput.body;
124
- const $metadata = deserializeMetadata(output);
125
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
126
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
127
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
128
- $fault: "client",
129
- $metadata,
123
+ (0, smithy_client_1.throwDefaultError)({
124
+ output,
125
+ parsedBody,
126
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
127
+ errorCode,
130
128
  });
131
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
132
129
  }
133
130
  };
134
131
  const deserializeAws_json1_1GetComplianceSummaryCommand = async (output, context) => {
@@ -150,7 +147,6 @@ const deserializeAws_json1_1GetComplianceSummaryCommandError = async (output, co
150
147
  ...output,
151
148
  body: await parseBody(output.body, context),
152
149
  };
153
- let response;
154
150
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
155
151
  switch (errorCode) {
156
152
  case "ConstraintViolationException":
@@ -167,14 +163,12 @@ const deserializeAws_json1_1GetComplianceSummaryCommandError = async (output, co
167
163
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
168
164
  default:
169
165
  const parsedBody = parsedOutput.body;
170
- const $metadata = deserializeMetadata(output);
171
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
172
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
173
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
174
- $fault: "client",
175
- $metadata,
166
+ (0, smithy_client_1.throwDefaultError)({
167
+ output,
168
+ parsedBody,
169
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
170
+ errorCode,
176
171
  });
177
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
178
172
  }
179
173
  };
180
174
  const deserializeAws_json1_1GetResourcesCommand = async (output, context) => {
@@ -196,7 +190,6 @@ const deserializeAws_json1_1GetResourcesCommandError = async (output, context) =
196
190
  ...output,
197
191
  body: await parseBody(output.body, context),
198
192
  };
199
- let response;
200
193
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
201
194
  switch (errorCode) {
202
195
  case "InternalServiceException":
@@ -213,14 +206,12 @@ const deserializeAws_json1_1GetResourcesCommandError = async (output, context) =
213
206
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
214
207
  default:
215
208
  const parsedBody = parsedOutput.body;
216
- const $metadata = deserializeMetadata(output);
217
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
218
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
219
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
220
- $fault: "client",
221
- $metadata,
209
+ (0, smithy_client_1.throwDefaultError)({
210
+ output,
211
+ parsedBody,
212
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
213
+ errorCode,
222
214
  });
223
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
224
215
  }
225
216
  };
226
217
  const deserializeAws_json1_1GetTagKeysCommand = async (output, context) => {
@@ -242,7 +233,6 @@ const deserializeAws_json1_1GetTagKeysCommandError = async (output, context) =>
242
233
  ...output,
243
234
  body: await parseBody(output.body, context),
244
235
  };
245
- let response;
246
236
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
247
237
  switch (errorCode) {
248
238
  case "InternalServiceException":
@@ -259,14 +249,12 @@ const deserializeAws_json1_1GetTagKeysCommandError = async (output, context) =>
259
249
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
260
250
  default:
261
251
  const parsedBody = parsedOutput.body;
262
- const $metadata = deserializeMetadata(output);
263
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
264
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
265
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
266
- $fault: "client",
267
- $metadata,
252
+ (0, smithy_client_1.throwDefaultError)({
253
+ output,
254
+ parsedBody,
255
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
256
+ errorCode,
268
257
  });
269
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
270
258
  }
271
259
  };
272
260
  const deserializeAws_json1_1GetTagValuesCommand = async (output, context) => {
@@ -288,7 +276,6 @@ const deserializeAws_json1_1GetTagValuesCommandError = async (output, context) =
288
276
  ...output,
289
277
  body: await parseBody(output.body, context),
290
278
  };
291
- let response;
292
279
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
293
280
  switch (errorCode) {
294
281
  case "InternalServiceException":
@@ -305,14 +292,12 @@ const deserializeAws_json1_1GetTagValuesCommandError = async (output, context) =
305
292
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
306
293
  default:
307
294
  const parsedBody = parsedOutput.body;
308
- const $metadata = deserializeMetadata(output);
309
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
310
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
311
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
312
- $fault: "client",
313
- $metadata,
295
+ (0, smithy_client_1.throwDefaultError)({
296
+ output,
297
+ parsedBody,
298
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
299
+ errorCode,
314
300
  });
315
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
316
301
  }
317
302
  };
318
303
  const deserializeAws_json1_1StartReportCreationCommand = async (output, context) => {
@@ -334,7 +319,6 @@ const deserializeAws_json1_1StartReportCreationCommandError = async (output, con
334
319
  ...output,
335
320
  body: await parseBody(output.body, context),
336
321
  };
337
- let response;
338
322
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
339
323
  switch (errorCode) {
340
324
  case "ConcurrentModificationException":
@@ -354,14 +338,12 @@ const deserializeAws_json1_1StartReportCreationCommandError = async (output, con
354
338
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
355
339
  default:
356
340
  const parsedBody = parsedOutput.body;
357
- const $metadata = deserializeMetadata(output);
358
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
359
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
360
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
361
- $fault: "client",
362
- $metadata,
341
+ (0, smithy_client_1.throwDefaultError)({
342
+ output,
343
+ parsedBody,
344
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
345
+ errorCode,
363
346
  });
364
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
365
347
  }
366
348
  };
367
349
  const deserializeAws_json1_1TagResourcesCommand = async (output, context) => {
@@ -383,7 +365,6 @@ const deserializeAws_json1_1TagResourcesCommandError = async (output, context) =
383
365
  ...output,
384
366
  body: await parseBody(output.body, context),
385
367
  };
386
- let response;
387
368
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
388
369
  switch (errorCode) {
389
370
  case "InternalServiceException":
@@ -397,14 +378,12 @@ const deserializeAws_json1_1TagResourcesCommandError = async (output, context) =
397
378
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
398
379
  default:
399
380
  const parsedBody = parsedOutput.body;
400
- const $metadata = deserializeMetadata(output);
401
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
402
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
403
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
404
- $fault: "client",
405
- $metadata,
381
+ (0, smithy_client_1.throwDefaultError)({
382
+ output,
383
+ parsedBody,
384
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
385
+ errorCode,
406
386
  });
407
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
408
387
  }
409
388
  };
410
389
  const deserializeAws_json1_1UntagResourcesCommand = async (output, context) => {
@@ -426,7 +405,6 @@ const deserializeAws_json1_1UntagResourcesCommandError = async (output, context)
426
405
  ...output,
427
406
  body: await parseBody(output.body, context),
428
407
  };
429
- let response;
430
408
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
431
409
  switch (errorCode) {
432
410
  case "InternalServiceException":
@@ -440,14 +418,12 @@ const deserializeAws_json1_1UntagResourcesCommandError = async (output, context)
440
418
  throw await deserializeAws_json1_1ThrottledExceptionResponse(parsedOutput, context);
441
419
  default:
442
420
  const parsedBody = parsedOutput.body;
443
- const $metadata = deserializeMetadata(output);
444
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
445
- response = new ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException({
446
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
447
- $fault: "client",
448
- $metadata,
421
+ (0, smithy_client_1.throwDefaultError)({
422
+ output,
423
+ parsedBody,
424
+ exceptionCtor: ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException,
425
+ errorCode,
449
426
  });
450
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
451
427
  }
452
428
  };
453
429
  const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
@@ -557,9 +533,6 @@ const serializeAws_json1_1GroupBy = (input, context) => {
557
533
  return input
558
534
  .filter((e) => e != null)
559
535
  .map((entry) => {
560
- if (entry === null) {
561
- return null;
562
- }
563
536
  return entry;
564
537
  });
565
538
  };
@@ -567,9 +540,6 @@ const serializeAws_json1_1RegionFilterList = (input, context) => {
567
540
  return input
568
541
  .filter((e) => e != null)
569
542
  .map((entry) => {
570
- if (entry === null) {
571
- return null;
572
- }
573
543
  return entry;
574
544
  });
575
545
  };
@@ -577,9 +547,6 @@ const serializeAws_json1_1ResourceARNListForGet = (input, context) => {
577
547
  return input
578
548
  .filter((e) => e != null)
579
549
  .map((entry) => {
580
- if (entry === null) {
581
- return null;
582
- }
583
550
  return entry;
584
551
  });
585
552
  };
@@ -587,9 +554,6 @@ const serializeAws_json1_1ResourceARNListForTagUntag = (input, context) => {
587
554
  return input
588
555
  .filter((e) => e != null)
589
556
  .map((entry) => {
590
- if (entry === null) {
591
- return null;
592
- }
593
557
  return entry;
594
558
  });
595
559
  };
@@ -597,9 +561,6 @@ const serializeAws_json1_1ResourceTypeFilterList = (input, context) => {
597
561
  return input
598
562
  .filter((e) => e != null)
599
563
  .map((entry) => {
600
- if (entry === null) {
601
- return null;
602
- }
603
564
  return entry;
604
565
  });
605
566
  };
@@ -618,9 +579,6 @@ const serializeAws_json1_1TagFilterList = (input, context) => {
618
579
  return input
619
580
  .filter((e) => e != null)
620
581
  .map((entry) => {
621
- if (entry === null) {
622
- return null;
623
- }
624
582
  return serializeAws_json1_1TagFilter(entry, context);
625
583
  });
626
584
  };
@@ -628,9 +586,6 @@ const serializeAws_json1_1TagKeyFilterList = (input, context) => {
628
586
  return input
629
587
  .filter((e) => e != null)
630
588
  .map((entry) => {
631
- if (entry === null) {
632
- return null;
633
- }
634
589
  return entry;
635
590
  });
636
591
  };
@@ -638,9 +593,6 @@ const serializeAws_json1_1TagKeyListForUntag = (input, context) => {
638
593
  return input
639
594
  .filter((e) => e != null)
640
595
  .map((entry) => {
641
- if (entry === null) {
642
- return null;
643
- }
644
596
  return entry;
645
597
  });
646
598
  };
@@ -667,9 +619,6 @@ const serializeAws_json1_1TagValueList = (input, context) => {
667
619
  return input
668
620
  .filter((e) => e != null)
669
621
  .map((entry) => {
670
- if (entry === null) {
671
- return null;
672
- }
673
622
  return entry;
674
623
  });
675
624
  };
@@ -677,9 +626,6 @@ const serializeAws_json1_1TargetIdFilterList = (input, context) => {
677
626
  return input
678
627
  .filter((e) => e != null)
679
628
  .map((entry) => {
680
- if (entry === null) {
681
- return null;
682
- }
683
629
  return entry;
684
630
  });
685
631
  };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeReportCreationInput, DescribeReportCreationOutput } from "../models/models_0";
4
+ import { DescribeReportCreationInputFilterSensitiveLog, DescribeReportCreationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1DescribeReportCreationCommand, serializeAws_json1_1DescribeReportCreationCommand, } from "../protocols/Aws_json1_1";
6
6
  var DescribeReportCreationCommand = (function (_super) {
7
7
  __extends(DescribeReportCreationCommand, _super);
@@ -20,8 +20,8 @@ var DescribeReportCreationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DescribeReportCreationInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: DescribeReportCreationOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DescribeReportCreationInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeReportCreationOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetComplianceSummaryInput, GetComplianceSummaryOutput } from "../models/models_0";
4
+ import { GetComplianceSummaryInputFilterSensitiveLog, GetComplianceSummaryOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1GetComplianceSummaryCommand, serializeAws_json1_1GetComplianceSummaryCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetComplianceSummaryCommand = (function (_super) {
7
7
  __extends(GetComplianceSummaryCommand, _super);
@@ -20,8 +20,8 @@ var GetComplianceSummaryCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetComplianceSummaryInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetComplianceSummaryOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetComplianceSummaryInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetComplianceSummaryOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetResourcesInput, GetResourcesOutput } from "../models/models_0";
4
+ import { GetResourcesInputFilterSensitiveLog, GetResourcesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1GetResourcesCommand, serializeAws_json1_1GetResourcesCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetResourcesCommand = (function (_super) {
7
7
  __extends(GetResourcesCommand, _super);
@@ -20,8 +20,8 @@ var GetResourcesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetResourcesInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetResourcesOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetResourcesInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetResourcesOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetTagKeysInput, GetTagKeysOutput } from "../models/models_0";
4
+ import { GetTagKeysInputFilterSensitiveLog, GetTagKeysOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1GetTagKeysCommand, serializeAws_json1_1GetTagKeysCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetTagKeysCommand = (function (_super) {
7
7
  __extends(GetTagKeysCommand, _super);
@@ -20,8 +20,8 @@ var GetTagKeysCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetTagKeysInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetTagKeysOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetTagKeysInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetTagKeysOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetTagValuesInput, GetTagValuesOutput } from "../models/models_0";
4
+ import { GetTagValuesInputFilterSensitiveLog, GetTagValuesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1GetTagValuesCommand, serializeAws_json1_1GetTagValuesCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetTagValuesCommand = (function (_super) {
7
7
  __extends(GetTagValuesCommand, _super);
@@ -20,8 +20,8 @@ var GetTagValuesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetTagValuesInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetTagValuesOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetTagValuesInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetTagValuesOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartReportCreationInput, StartReportCreationOutput } from "../models/models_0";
4
+ import { StartReportCreationInputFilterSensitiveLog, StartReportCreationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1StartReportCreationCommand, serializeAws_json1_1StartReportCreationCommand, } from "../protocols/Aws_json1_1";
6
6
  var StartReportCreationCommand = (function (_super) {
7
7
  __extends(StartReportCreationCommand, _super);
@@ -20,8 +20,8 @@ var StartReportCreationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: StartReportCreationInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: StartReportCreationOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: StartReportCreationInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: StartReportCreationOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourcesInput, TagResourcesOutput } from "../models/models_0";
4
+ import { TagResourcesInputFilterSensitiveLog, TagResourcesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1TagResourcesCommand, serializeAws_json1_1TagResourcesCommand, } from "../protocols/Aws_json1_1";
6
6
  var TagResourcesCommand = (function (_super) {
7
7
  __extends(TagResourcesCommand, _super);
@@ -20,8 +20,8 @@ var TagResourcesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: TagResourcesInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: TagResourcesOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: TagResourcesInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourcesOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourcesInput, UntagResourcesOutput } from "../models/models_0";
4
+ import { UntagResourcesInputFilterSensitiveLog, UntagResourcesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UntagResourcesCommand, serializeAws_json1_1UntagResourcesCommand, } from "../protocols/Aws_json1_1";
6
6
  var UntagResourcesCommand = (function (_super) {
7
7
  __extends(UntagResourcesCommand, _super);
@@ -20,8 +20,8 @@ var UntagResourcesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UntagResourcesInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: UntagResourcesOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UntagResourcesInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourcesOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,9 +1,5 @@
1
1
  import { __assign, __extends } from "tslib";
2
2
  import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
3
- export var ComplianceDetails;
4
- (function (ComplianceDetails) {
5
- ComplianceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
- })(ComplianceDetails || (ComplianceDetails = {}));
7
3
  var ConcurrentModificationException = (function (_super) {
8
4
  __extends(ConcurrentModificationException, _super);
9
5
  function ConcurrentModificationException(opts) {
@@ -30,14 +26,6 @@ var ConstraintViolationException = (function (_super) {
30
26
  return ConstraintViolationException;
31
27
  }(__BaseException));
32
28
  export { ConstraintViolationException };
33
- export var DescribeReportCreationInput;
34
- (function (DescribeReportCreationInput) {
35
- DescribeReportCreationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
- })(DescribeReportCreationInput || (DescribeReportCreationInput = {}));
37
- export var DescribeReportCreationOutput;
38
- (function (DescribeReportCreationOutput) {
39
- DescribeReportCreationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
- })(DescribeReportCreationOutput || (DescribeReportCreationOutput = {}));
41
29
  var InternalServiceException = (function (_super) {
42
30
  __extends(InternalServiceException, _super);
43
31
  function InternalServiceException(opts) {
@@ -82,54 +70,18 @@ export var ErrorCode;
82
70
  ErrorCode["INTERNAL_SERVICE_EXCEPTION"] = "InternalServiceException";
83
71
  ErrorCode["INVALID_PARAMETER_EXCEPTION"] = "InvalidParameterException";
84
72
  })(ErrorCode || (ErrorCode = {}));
85
- export var FailureInfo;
86
- (function (FailureInfo) {
87
- FailureInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
88
- })(FailureInfo || (FailureInfo = {}));
89
73
  export var GroupByAttribute;
90
74
  (function (GroupByAttribute) {
91
75
  GroupByAttribute["REGION"] = "REGION";
92
76
  GroupByAttribute["RESOURCE_TYPE"] = "RESOURCE_TYPE";
93
77
  GroupByAttribute["TARGET_ID"] = "TARGET_ID";
94
78
  })(GroupByAttribute || (GroupByAttribute = {}));
95
- export var GetComplianceSummaryInput;
96
- (function (GetComplianceSummaryInput) {
97
- GetComplianceSummaryInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
98
- })(GetComplianceSummaryInput || (GetComplianceSummaryInput = {}));
99
79
  export var TargetIdType;
100
80
  (function (TargetIdType) {
101
81
  TargetIdType["ACCOUNT"] = "ACCOUNT";
102
82
  TargetIdType["OU"] = "OU";
103
83
  TargetIdType["ROOT"] = "ROOT";
104
84
  })(TargetIdType || (TargetIdType = {}));
105
- export var Summary;
106
- (function (Summary) {
107
- Summary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
- })(Summary || (Summary = {}));
109
- export var GetComplianceSummaryOutput;
110
- (function (GetComplianceSummaryOutput) {
111
- GetComplianceSummaryOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
112
- })(GetComplianceSummaryOutput || (GetComplianceSummaryOutput = {}));
113
- export var TagFilter;
114
- (function (TagFilter) {
115
- TagFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
116
- })(TagFilter || (TagFilter = {}));
117
- export var GetResourcesInput;
118
- (function (GetResourcesInput) {
119
- GetResourcesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
- })(GetResourcesInput || (GetResourcesInput = {}));
121
- export var Tag;
122
- (function (Tag) {
123
- Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
- })(Tag || (Tag = {}));
125
- export var ResourceTagMapping;
126
- (function (ResourceTagMapping) {
127
- ResourceTagMapping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
128
- })(ResourceTagMapping || (ResourceTagMapping = {}));
129
- export var GetResourcesOutput;
130
- (function (GetResourcesOutput) {
131
- GetResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
- })(GetResourcesOutput || (GetResourcesOutput = {}));
133
85
  var PaginationTokenExpiredException = (function (_super) {
134
86
  __extends(PaginationTokenExpiredException, _super);
135
87
  function PaginationTokenExpiredException(opts) {
@@ -143,43 +95,25 @@ var PaginationTokenExpiredException = (function (_super) {
143
95
  return PaginationTokenExpiredException;
144
96
  }(__BaseException));
145
97
  export { PaginationTokenExpiredException };
146
- export var GetTagKeysInput;
147
- (function (GetTagKeysInput) {
148
- GetTagKeysInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
149
- })(GetTagKeysInput || (GetTagKeysInput = {}));
150
- export var GetTagKeysOutput;
151
- (function (GetTagKeysOutput) {
152
- GetTagKeysOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
153
- })(GetTagKeysOutput || (GetTagKeysOutput = {}));
154
- export var GetTagValuesInput;
155
- (function (GetTagValuesInput) {
156
- GetTagValuesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
157
- })(GetTagValuesInput || (GetTagValuesInput = {}));
158
- export var GetTagValuesOutput;
159
- (function (GetTagValuesOutput) {
160
- GetTagValuesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
161
- })(GetTagValuesOutput || (GetTagValuesOutput = {}));
162
- export var StartReportCreationInput;
163
- (function (StartReportCreationInput) {
164
- StartReportCreationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
165
- })(StartReportCreationInput || (StartReportCreationInput = {}));
166
- export var StartReportCreationOutput;
167
- (function (StartReportCreationOutput) {
168
- StartReportCreationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
169
- })(StartReportCreationOutput || (StartReportCreationOutput = {}));
170
- export var TagResourcesInput;
171
- (function (TagResourcesInput) {
172
- TagResourcesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
173
- })(TagResourcesInput || (TagResourcesInput = {}));
174
- export var TagResourcesOutput;
175
- (function (TagResourcesOutput) {
176
- TagResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
177
- })(TagResourcesOutput || (TagResourcesOutput = {}));
178
- export var UntagResourcesInput;
179
- (function (UntagResourcesInput) {
180
- UntagResourcesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
181
- })(UntagResourcesInput || (UntagResourcesInput = {}));
182
- export var UntagResourcesOutput;
183
- (function (UntagResourcesOutput) {
184
- UntagResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
185
- })(UntagResourcesOutput || (UntagResourcesOutput = {}));
98
+ export var ComplianceDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
+ export var DescribeReportCreationInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
+ export var DescribeReportCreationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
+ export var FailureInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
+ export var GetComplianceSummaryInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
103
+ export var SummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
104
+ export var GetComplianceSummaryOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
+ export var TagFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
+ export var GetResourcesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
+ export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
+ export var ResourceTagMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
+ export var GetResourcesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
+ export var GetTagKeysInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
111
+ export var GetTagKeysOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
112
+ export var GetTagValuesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
113
+ export var GetTagValuesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
114
+ export var StartReportCreationInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
+ export var StartReportCreationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
116
+ export var TagResourcesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
+ export var TagResourcesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
118
+ export var UntagResourcesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
+ export var UntagResourcesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };