@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.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DescribeReportCreationCommand.js +2 -2
- package/dist-cjs/commands/GetComplianceSummaryCommand.js +2 -2
- package/dist-cjs/commands/GetResourcesCommand.js +2 -2
- package/dist-cjs/commands/GetTagKeysCommand.js +2 -2
- package/dist-cjs/commands/GetTagValuesCommand.js +2 -2
- package/dist-cjs/commands/StartReportCreationCommand.js +2 -2
- package/dist-cjs/commands/TagResourcesCommand.js +2 -2
- package/dist-cjs/commands/UntagResourcesCommand.js +2 -2
- package/dist-cjs/models/models_0.js +89 -133
- package/dist-cjs/protocols/Aws_json1_1.js +40 -94
- package/dist-es/commands/DescribeReportCreationCommand.js +3 -3
- package/dist-es/commands/GetComplianceSummaryCommand.js +3 -3
- package/dist-es/commands/GetResourcesCommand.js +3 -3
- package/dist-es/commands/GetTagKeysCommand.js +3 -3
- package/dist-es/commands/GetTagValuesCommand.js +3 -3
- package/dist-es/commands/StartReportCreationCommand.js +3 -3
- package/dist-es/commands/TagResourcesCommand.js +3 -3
- package/dist-es/commands/UntagResourcesCommand.js +3 -3
- package/dist-es/models/models_0.js +22 -88
- package/dist-es/protocols/Aws_json1_1.js +65 -95
- package/dist-types/models/models_0.d.ts +88 -132
- package/dist-types/ts3.4/models/models_0.d.ts +44 -88
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectString as __expectString, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectString as __expectString, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { ConcurrentModificationException, ConstraintViolationException, InternalServiceException, InvalidParameterException, PaginationTokenExpiredException, ThrottledException, } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "../models/ResourceGroupsTaggingAPIServiceException";
|
|
6
6
|
export var serializeAws_json1_1DescribeReportCreationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -110,7 +110,7 @@ export var deserializeAws_json1_1DescribeReportCreationCommand = function (outpu
|
|
|
110
110
|
});
|
|
111
111
|
}); };
|
|
112
112
|
var deserializeAws_json1_1DescribeReportCreationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
113
|
-
var parsedOutput, _a,
|
|
113
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
114
114
|
var _c;
|
|
115
115
|
return __generator(this, function (_d) {
|
|
116
116
|
switch (_d.label) {
|
|
@@ -143,14 +143,14 @@ var deserializeAws_json1_1DescribeReportCreationCommandError = function (output,
|
|
|
143
143
|
case 9: throw _d.sent();
|
|
144
144
|
case 10:
|
|
145
145
|
parsedBody = parsedOutput.body;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
$metadata: $metadata,
|
|
146
|
+
throwDefaultError({
|
|
147
|
+
output: output,
|
|
148
|
+
parsedBody: parsedBody,
|
|
149
|
+
exceptionCtor: __BaseException,
|
|
150
|
+
errorCode: errorCode,
|
|
152
151
|
});
|
|
153
|
-
|
|
152
|
+
_d.label = 11;
|
|
153
|
+
case 11: return [2];
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
}); };
|
|
@@ -173,7 +173,7 @@ export var deserializeAws_json1_1GetComplianceSummaryCommand = function (output,
|
|
|
173
173
|
});
|
|
174
174
|
}); };
|
|
175
175
|
var deserializeAws_json1_1GetComplianceSummaryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
176
|
-
var parsedOutput, _a,
|
|
176
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
177
177
|
var _c;
|
|
178
178
|
return __generator(this, function (_d) {
|
|
179
179
|
switch (_d.label) {
|
|
@@ -206,14 +206,14 @@ var deserializeAws_json1_1GetComplianceSummaryCommandError = function (output, c
|
|
|
206
206
|
case 9: throw _d.sent();
|
|
207
207
|
case 10:
|
|
208
208
|
parsedBody = parsedOutput.body;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
$metadata: $metadata,
|
|
209
|
+
throwDefaultError({
|
|
210
|
+
output: output,
|
|
211
|
+
parsedBody: parsedBody,
|
|
212
|
+
exceptionCtor: __BaseException,
|
|
213
|
+
errorCode: errorCode,
|
|
215
214
|
});
|
|
216
|
-
|
|
215
|
+
_d.label = 11;
|
|
216
|
+
case 11: return [2];
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
219
|
}); };
|
|
@@ -236,7 +236,7 @@ export var deserializeAws_json1_1GetResourcesCommand = function (output, context
|
|
|
236
236
|
});
|
|
237
237
|
}); };
|
|
238
238
|
var deserializeAws_json1_1GetResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
239
|
-
var parsedOutput, _a,
|
|
239
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
240
240
|
var _c;
|
|
241
241
|
return __generator(this, function (_d) {
|
|
242
242
|
switch (_d.label) {
|
|
@@ -269,14 +269,14 @@ var deserializeAws_json1_1GetResourcesCommandError = function (output, context)
|
|
|
269
269
|
case 9: throw _d.sent();
|
|
270
270
|
case 10:
|
|
271
271
|
parsedBody = parsedOutput.body;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
$metadata: $metadata,
|
|
272
|
+
throwDefaultError({
|
|
273
|
+
output: output,
|
|
274
|
+
parsedBody: parsedBody,
|
|
275
|
+
exceptionCtor: __BaseException,
|
|
276
|
+
errorCode: errorCode,
|
|
278
277
|
});
|
|
279
|
-
|
|
278
|
+
_d.label = 11;
|
|
279
|
+
case 11: return [2];
|
|
280
280
|
}
|
|
281
281
|
});
|
|
282
282
|
}); };
|
|
@@ -299,7 +299,7 @@ export var deserializeAws_json1_1GetTagKeysCommand = function (output, context)
|
|
|
299
299
|
});
|
|
300
300
|
}); };
|
|
301
301
|
var deserializeAws_json1_1GetTagKeysCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
302
|
-
var parsedOutput, _a,
|
|
302
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
303
303
|
var _c;
|
|
304
304
|
return __generator(this, function (_d) {
|
|
305
305
|
switch (_d.label) {
|
|
@@ -332,14 +332,14 @@ var deserializeAws_json1_1GetTagKeysCommandError = function (output, context) {
|
|
|
332
332
|
case 9: throw _d.sent();
|
|
333
333
|
case 10:
|
|
334
334
|
parsedBody = parsedOutput.body;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
$metadata: $metadata,
|
|
335
|
+
throwDefaultError({
|
|
336
|
+
output: output,
|
|
337
|
+
parsedBody: parsedBody,
|
|
338
|
+
exceptionCtor: __BaseException,
|
|
339
|
+
errorCode: errorCode,
|
|
341
340
|
});
|
|
342
|
-
|
|
341
|
+
_d.label = 11;
|
|
342
|
+
case 11: return [2];
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
345
|
}); };
|
|
@@ -362,7 +362,7 @@ export var deserializeAws_json1_1GetTagValuesCommand = function (output, context
|
|
|
362
362
|
});
|
|
363
363
|
}); };
|
|
364
364
|
var deserializeAws_json1_1GetTagValuesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
365
|
-
var parsedOutput, _a,
|
|
365
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
366
366
|
var _c;
|
|
367
367
|
return __generator(this, function (_d) {
|
|
368
368
|
switch (_d.label) {
|
|
@@ -395,14 +395,14 @@ var deserializeAws_json1_1GetTagValuesCommandError = function (output, context)
|
|
|
395
395
|
case 9: throw _d.sent();
|
|
396
396
|
case 10:
|
|
397
397
|
parsedBody = parsedOutput.body;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
$metadata: $metadata,
|
|
398
|
+
throwDefaultError({
|
|
399
|
+
output: output,
|
|
400
|
+
parsedBody: parsedBody,
|
|
401
|
+
exceptionCtor: __BaseException,
|
|
402
|
+
errorCode: errorCode,
|
|
404
403
|
});
|
|
405
|
-
|
|
404
|
+
_d.label = 11;
|
|
405
|
+
case 11: return [2];
|
|
406
406
|
}
|
|
407
407
|
});
|
|
408
408
|
}); };
|
|
@@ -425,7 +425,7 @@ export var deserializeAws_json1_1StartReportCreationCommand = function (output,
|
|
|
425
425
|
});
|
|
426
426
|
}); };
|
|
427
427
|
var deserializeAws_json1_1StartReportCreationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
428
|
-
var parsedOutput, _a,
|
|
428
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
429
429
|
var _c;
|
|
430
430
|
return __generator(this, function (_d) {
|
|
431
431
|
switch (_d.label) {
|
|
@@ -462,14 +462,14 @@ var deserializeAws_json1_1StartReportCreationCommandError = function (output, co
|
|
|
462
462
|
case 11: throw _d.sent();
|
|
463
463
|
case 12:
|
|
464
464
|
parsedBody = parsedOutput.body;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
$metadata: $metadata,
|
|
465
|
+
throwDefaultError({
|
|
466
|
+
output: output,
|
|
467
|
+
parsedBody: parsedBody,
|
|
468
|
+
exceptionCtor: __BaseException,
|
|
469
|
+
errorCode: errorCode,
|
|
471
470
|
});
|
|
472
|
-
|
|
471
|
+
_d.label = 13;
|
|
472
|
+
case 13: return [2];
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
}); };
|
|
@@ -492,7 +492,7 @@ export var deserializeAws_json1_1TagResourcesCommand = function (output, context
|
|
|
492
492
|
});
|
|
493
493
|
}); };
|
|
494
494
|
var deserializeAws_json1_1TagResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
495
|
-
var parsedOutput, _a,
|
|
495
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
496
496
|
var _c;
|
|
497
497
|
return __generator(this, function (_d) {
|
|
498
498
|
switch (_d.label) {
|
|
@@ -521,14 +521,14 @@ var deserializeAws_json1_1TagResourcesCommandError = function (output, context)
|
|
|
521
521
|
case 7: throw _d.sent();
|
|
522
522
|
case 8:
|
|
523
523
|
parsedBody = parsedOutput.body;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
$metadata: $metadata,
|
|
524
|
+
throwDefaultError({
|
|
525
|
+
output: output,
|
|
526
|
+
parsedBody: parsedBody,
|
|
527
|
+
exceptionCtor: __BaseException,
|
|
528
|
+
errorCode: errorCode,
|
|
530
529
|
});
|
|
531
|
-
|
|
530
|
+
_d.label = 9;
|
|
531
|
+
case 9: return [2];
|
|
532
532
|
}
|
|
533
533
|
});
|
|
534
534
|
}); };
|
|
@@ -551,7 +551,7 @@ export var deserializeAws_json1_1UntagResourcesCommand = function (output, conte
|
|
|
551
551
|
});
|
|
552
552
|
}); };
|
|
553
553
|
var deserializeAws_json1_1UntagResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
554
|
-
var parsedOutput, _a,
|
|
554
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
555
555
|
var _c;
|
|
556
556
|
return __generator(this, function (_d) {
|
|
557
557
|
switch (_d.label) {
|
|
@@ -580,14 +580,14 @@ var deserializeAws_json1_1UntagResourcesCommandError = function (output, context
|
|
|
580
580
|
case 7: throw _d.sent();
|
|
581
581
|
case 8:
|
|
582
582
|
parsedBody = parsedOutput.body;
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
$metadata: $metadata,
|
|
583
|
+
throwDefaultError({
|
|
584
|
+
output: output,
|
|
585
|
+
parsedBody: parsedBody,
|
|
586
|
+
exceptionCtor: __BaseException,
|
|
587
|
+
errorCode: errorCode,
|
|
589
588
|
});
|
|
590
|
-
|
|
589
|
+
_d.label = 9;
|
|
590
|
+
case 9: return [2];
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
}); };
|
|
@@ -676,9 +676,6 @@ var serializeAws_json1_1GroupBy = function (input, context) {
|
|
|
676
676
|
return input
|
|
677
677
|
.filter(function (e) { return e != null; })
|
|
678
678
|
.map(function (entry) {
|
|
679
|
-
if (entry === null) {
|
|
680
|
-
return null;
|
|
681
|
-
}
|
|
682
679
|
return entry;
|
|
683
680
|
});
|
|
684
681
|
};
|
|
@@ -686,9 +683,6 @@ var serializeAws_json1_1RegionFilterList = function (input, context) {
|
|
|
686
683
|
return input
|
|
687
684
|
.filter(function (e) { return e != null; })
|
|
688
685
|
.map(function (entry) {
|
|
689
|
-
if (entry === null) {
|
|
690
|
-
return null;
|
|
691
|
-
}
|
|
692
686
|
return entry;
|
|
693
687
|
});
|
|
694
688
|
};
|
|
@@ -696,9 +690,6 @@ var serializeAws_json1_1ResourceARNListForGet = function (input, context) {
|
|
|
696
690
|
return input
|
|
697
691
|
.filter(function (e) { return e != null; })
|
|
698
692
|
.map(function (entry) {
|
|
699
|
-
if (entry === null) {
|
|
700
|
-
return null;
|
|
701
|
-
}
|
|
702
693
|
return entry;
|
|
703
694
|
});
|
|
704
695
|
};
|
|
@@ -706,9 +697,6 @@ var serializeAws_json1_1ResourceARNListForTagUntag = function (input, context) {
|
|
|
706
697
|
return input
|
|
707
698
|
.filter(function (e) { return e != null; })
|
|
708
699
|
.map(function (entry) {
|
|
709
|
-
if (entry === null) {
|
|
710
|
-
return null;
|
|
711
|
-
}
|
|
712
700
|
return entry;
|
|
713
701
|
});
|
|
714
702
|
};
|
|
@@ -716,9 +704,6 @@ var serializeAws_json1_1ResourceTypeFilterList = function (input, context) {
|
|
|
716
704
|
return input
|
|
717
705
|
.filter(function (e) { return e != null; })
|
|
718
706
|
.map(function (entry) {
|
|
719
|
-
if (entry === null) {
|
|
720
|
-
return null;
|
|
721
|
-
}
|
|
722
707
|
return entry;
|
|
723
708
|
});
|
|
724
709
|
};
|
|
@@ -732,9 +717,6 @@ var serializeAws_json1_1TagFilterList = function (input, context) {
|
|
|
732
717
|
return input
|
|
733
718
|
.filter(function (e) { return e != null; })
|
|
734
719
|
.map(function (entry) {
|
|
735
|
-
if (entry === null) {
|
|
736
|
-
return null;
|
|
737
|
-
}
|
|
738
720
|
return serializeAws_json1_1TagFilter(entry, context);
|
|
739
721
|
});
|
|
740
722
|
};
|
|
@@ -742,9 +724,6 @@ var serializeAws_json1_1TagKeyFilterList = function (input, context) {
|
|
|
742
724
|
return input
|
|
743
725
|
.filter(function (e) { return e != null; })
|
|
744
726
|
.map(function (entry) {
|
|
745
|
-
if (entry === null) {
|
|
746
|
-
return null;
|
|
747
|
-
}
|
|
748
727
|
return entry;
|
|
749
728
|
});
|
|
750
729
|
};
|
|
@@ -752,9 +731,6 @@ var serializeAws_json1_1TagKeyListForUntag = function (input, context) {
|
|
|
752
731
|
return input
|
|
753
732
|
.filter(function (e) { return e != null; })
|
|
754
733
|
.map(function (entry) {
|
|
755
|
-
if (entry === null) {
|
|
756
|
-
return null;
|
|
757
|
-
}
|
|
758
734
|
return entry;
|
|
759
735
|
});
|
|
760
736
|
};
|
|
@@ -777,9 +753,6 @@ var serializeAws_json1_1TagValueList = function (input, context) {
|
|
|
777
753
|
return input
|
|
778
754
|
.filter(function (e) { return e != null; })
|
|
779
755
|
.map(function (entry) {
|
|
780
|
-
if (entry === null) {
|
|
781
|
-
return null;
|
|
782
|
-
}
|
|
783
756
|
return entry;
|
|
784
757
|
});
|
|
785
758
|
};
|
|
@@ -787,9 +760,6 @@ var serializeAws_json1_1TargetIdFilterList = function (input, context) {
|
|
|
787
760
|
return input
|
|
788
761
|
.filter(function (e) { return e != null; })
|
|
789
762
|
.map(function (entry) {
|
|
790
|
-
if (entry === null) {
|
|
791
|
-
return null;
|
|
792
|
-
}
|
|
793
763
|
return entry;
|
|
794
764
|
});
|
|
795
765
|
};
|