@aws-sdk/client-resource-groups-tagging-api 3.141.0 → 3.150.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +40 -94
- package/dist-es/protocols/Aws_json1_1.js +65 -95
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -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
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
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
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
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
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
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
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
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
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
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
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
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,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
|
};
|
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.
|
|
4
|
+
"version": "3.150.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"typedoc": "0.19.2",
|
|
62
62
|
"typescript": "~4.6.2"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"typedoc": {
|
|
66
|
+
"typescript": "~4.6.2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
64
69
|
"engines": {
|
|
65
70
|
"node": ">=12.0.0"
|
|
66
71
|
},
|