@aws-sdk/client-resource-groups-tagging-api 3.932.0 → 3.934.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 (33) hide show
  1. package/README.md +18 -7
  2. package/dist-cjs/index.js +102 -10
  3. package/dist-es/ResourceGroupsTaggingAPI.js +2 -0
  4. package/dist-es/commands/ListRequiredTagsCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/pagination/ListRequiredTagsPaginator.js +4 -0
  7. package/dist-es/pagination/index.js +1 -0
  8. package/dist-es/schemas/schemas_0.js +87 -10
  9. package/dist-types/ResourceGroupsTaggingAPI.d.ts +8 -0
  10. package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +3 -2
  11. package/dist-types/commands/DescribeReportCreationCommand.d.ts +14 -12
  12. package/dist-types/commands/GetComplianceSummaryCommand.d.ts +14 -12
  13. package/dist-types/commands/GetResourcesCommand.d.ts +21 -11
  14. package/dist-types/commands/GetTagKeysCommand.d.ts +14 -10
  15. package/dist-types/commands/GetTagValuesCommand.d.ts +14 -10
  16. package/dist-types/commands/ListRequiredTagsCommand.d.ts +124 -0
  17. package/dist-types/commands/StartReportCreationCommand.d.ts +26 -15
  18. package/dist-types/commands/TagResourcesCommand.d.ts +31 -9
  19. package/dist-types/commands/UntagResourcesCommand.d.ts +20 -9
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/models_0.d.ts +116 -31
  22. package/dist-types/pagination/ListRequiredTagsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +7 -0
  25. package/dist-types/ts3.4/ResourceGroupsTaggingAPI.d.ts +18 -0
  26. package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/ListRequiredTagsCommand.d.ts +50 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +13 -0
  30. package/dist-types/ts3.4/pagination/ListRequiredTagsPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  33. package/package.json +6 -6
package/README.md CHANGED
@@ -23,16 +23,19 @@ using your favorite package manager:
23
23
 
24
24
  The AWS SDK is modulized by clients and commands.
25
25
  To send a request, you only need to import the `ResourceGroupsTaggingAPIClient` and
26
- the commands you need, for example `GetTagKeysCommand`:
26
+ the commands you need, for example `ListRequiredTagsCommand`:
27
27
 
28
28
  ```js
29
29
  // ES5 example
30
- const { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } = require("@aws-sdk/client-resource-groups-tagging-api");
30
+ const {
31
+ ResourceGroupsTaggingAPIClient,
32
+ ListRequiredTagsCommand,
33
+ } = require("@aws-sdk/client-resource-groups-tagging-api");
31
34
  ```
32
35
 
33
36
  ```ts
34
37
  // ES6+ example
35
- import { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } from "@aws-sdk/client-resource-groups-tagging-api";
38
+ import { ResourceGroupsTaggingAPIClient, ListRequiredTagsCommand } from "@aws-sdk/client-resource-groups-tagging-api";
36
39
  ```
37
40
 
38
41
  ### Usage
@@ -51,7 +54,7 @@ const client = new ResourceGroupsTaggingAPIClient({ region: "REGION" });
51
54
  const params = {
52
55
  /** input parameters */
53
56
  };
54
- const command = new GetTagKeysCommand(params);
57
+ const command = new ListRequiredTagsCommand(params);
55
58
  ```
56
59
 
57
60
  #### Async/await
@@ -130,7 +133,7 @@ const client = new AWS.ResourceGroupsTaggingAPI({ region: "REGION" });
130
133
 
131
134
  // async/await.
132
135
  try {
133
- const data = await client.getTagKeys(params);
136
+ const data = await client.listRequiredTags(params);
134
137
  // process data.
135
138
  } catch (error) {
136
139
  // error handling.
@@ -138,7 +141,7 @@ try {
138
141
 
139
142
  // Promises.
140
143
  client
141
- .getTagKeys(params)
144
+ .listRequiredTags(params)
142
145
  .then((data) => {
143
146
  // process data.
144
147
  })
@@ -147,7 +150,7 @@ client
147
150
  });
148
151
 
149
152
  // callbacks.
150
- client.getTagKeys(params, (err, data) => {
153
+ client.listRequiredTags(params, (err, data) => {
151
154
  // process err and data.
152
155
  });
153
156
  ```
@@ -242,6 +245,14 @@ GetTagValues
242
245
 
243
246
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-groups-tagging-api/command/GetTagValuesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-groups-tagging-api/Interface/GetTagValuesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-groups-tagging-api/Interface/GetTagValuesCommandOutput/)
244
247
 
248
+ </details>
249
+ <details>
250
+ <summary>
251
+ ListRequiredTags
252
+ </summary>
253
+
254
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resource-groups-tagging-api/command/ListRequiredTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-groups-tagging-api/Interface/ListRequiredTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resource-groups-tagging-api/Interface/ListRequiredTagsCommandOutput/)
255
+
245
256
  </details>
246
257
  <details>
247
258
  <summary>
package/dist-cjs/index.js CHANGED
@@ -217,6 +217,7 @@ let PaginationTokenExpiredException$1 = class PaginationTokenExpiredException ex
217
217
  };
218
218
 
219
219
  const _CD = "ComplianceDetails";
220
+ const _CFRT = "CloudFormationResourceTypes";
220
221
  const _CME = "ConcurrentModificationException";
221
222
  const _CS = "ComplianceStatus";
222
223
  const _CVE = "ConstraintViolationException";
@@ -246,11 +247,15 @@ const _IPE = "InvalidParameterException";
246
247
  const _ISE = "InternalServiceException";
247
248
  const _K = "Key";
248
249
  const _KWNV = "KeysWithNoncompliantValues";
250
+ const _LRT = "ListRequiredTags";
251
+ const _LRTI = "ListRequiredTagsInput";
252
+ const _LRTO = "ListRequiredTagsOutput";
249
253
  const _LU = "LastUpdated";
250
254
  const _M = "Message";
251
255
  const _MR = "MaxResults";
252
256
  const _NCR = "NonCompliantResources";
253
257
  const _NK = "NoncompliantKeys";
258
+ const _NT = "NextToken";
254
259
  const _PT = "PaginationToken";
255
260
  const _PTEE = "PaginationTokenExpiredException";
256
261
  const _R = "Region";
@@ -258,10 +263,14 @@ const _RARN = "ResourceARN";
258
263
  const _RARNL = "ResourceARNList";
259
264
  const _RF = "RegionFilters";
260
265
  const _RPP = "ResourcesPerPage";
261
- const _RT = "ResourceType";
266
+ const _RT = "RequiredTags";
262
267
  const _RTF = "ResourceTypeFilters";
268
+ const _RTFLRT = "RequiredTagsForListRequiredTags";
269
+ const _RTK = "ReportingTagKeys";
263
270
  const _RTM = "ResourceTagMapping";
264
271
  const _RTML = "ResourceTagMappingList";
272
+ const _RTe = "RequiredTag";
273
+ const _RTes = "ResourceType";
265
274
  const _S = "Status";
266
275
  const _SB = "S3Bucket";
267
276
  const _SC = "StatusCode";
@@ -296,6 +305,7 @@ const _V = "Value";
296
305
  const _Va = "Values";
297
306
  const _c = "client";
298
307
  const _e = "error";
308
+ const _h = "http";
299
309
  const _s = "server";
300
310
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
301
311
  const n0 = "com.amazonaws.resourcegroupstaggingapi";
@@ -376,6 +386,15 @@ var InvalidParameterException = [
376
386
  [0],
377
387
  ];
378
388
  schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
389
+ var ListRequiredTagsInput = [3, n0, _LRTI, 0, [_NT, _MR], [0, 1]];
390
+ var ListRequiredTagsOutput = [
391
+ 3,
392
+ n0,
393
+ _LRTO,
394
+ 0,
395
+ [_RT, _NT],
396
+ [() => RequiredTagsForListRequiredTags, 0],
397
+ ];
379
398
  var PaginationTokenExpiredException = [
380
399
  -3,
381
400
  n0,
@@ -387,6 +406,7 @@ var PaginationTokenExpiredException = [
387
406
  [0],
388
407
  ];
389
408
  schema.TypeRegistry.for(n0).registerError(PaginationTokenExpiredException, PaginationTokenExpiredException$1);
409
+ var RequiredTag = [3, n0, _RTe, 0, [_RTes, _CFRT, _RTK], [0, 64 | 0, 64 | 0]];
390
410
  var ResourceTagMapping = [
391
411
  3,
392
412
  n0,
@@ -397,7 +417,7 @@ var ResourceTagMapping = [
397
417
  ];
398
418
  var StartReportCreationInput = [3, n0, _SRCI, 0, [_SB], [0]];
399
419
  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]];
420
+ var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R, _RTes, _NCR], [0, 0, 0, 0, 0, 1]];
401
421
  var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
402
422
  var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
403
423
  var TagResourcesInput = [3, n0, _TRI, 0, [_RARNL, _T], [64 | 0, 128 | 0]];
@@ -424,6 +444,7 @@ var ResourceGroupsTaggingAPIServiceException = [
424
444
  [],
425
445
  ];
426
446
  schema.TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException, ResourceGroupsTaggingAPIServiceException$1);
447
+ var RequiredTagsForListRequiredTags = [1, n0, _RTFLRT, 0, () => RequiredTag];
427
448
  var ResourceTagMappingList = [1, n0, _RTML, 0, () => ResourceTagMapping];
428
449
  var SummaryList = [1, n0, _SLu, 0, () => Summary];
429
450
  var TagFilterList = [1, n0, _TFL, 0, () => TagFilter];
@@ -433,7 +454,9 @@ var DescribeReportCreation = [
433
454
  9,
434
455
  n0,
435
456
  _DRC,
436
- 0,
457
+ {
458
+ [_h]: ["POST", "/DescribeReportCreation", 200],
459
+ },
437
460
  () => DescribeReportCreationInput,
438
461
  () => DescribeReportCreationOutput,
439
462
  ];
@@ -441,27 +464,79 @@ var GetComplianceSummary = [
441
464
  9,
442
465
  n0,
443
466
  _GCS,
444
- 0,
467
+ {
468
+ [_h]: ["POST", "/GetComplianceSummary", 200],
469
+ },
445
470
  () => GetComplianceSummaryInput,
446
471
  () => GetComplianceSummaryOutput,
447
472
  ];
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];
473
+ var GetResources = [
474
+ 9,
475
+ n0,
476
+ _GR,
477
+ {
478
+ [_h]: ["POST", "/GetResources", 200],
479
+ },
480
+ () => GetResourcesInput,
481
+ () => GetResourcesOutput,
482
+ ];
483
+ var GetTagKeys = [
484
+ 9,
485
+ n0,
486
+ _GTK,
487
+ {
488
+ [_h]: ["POST", "/GetTagKeys", 200],
489
+ },
490
+ () => GetTagKeysInput,
491
+ () => GetTagKeysOutput,
492
+ ];
493
+ var GetTagValues = [
494
+ 9,
495
+ n0,
496
+ _GTV,
497
+ {
498
+ [_h]: ["POST", "/GetTagValues", 200],
499
+ },
500
+ () => GetTagValuesInput,
501
+ () => GetTagValuesOutput,
502
+ ];
503
+ var ListRequiredTags = [
504
+ 9,
505
+ n0,
506
+ _LRT,
507
+ {
508
+ [_h]: ["POST", "/ListRequiredTags", 200],
509
+ },
510
+ () => ListRequiredTagsInput,
511
+ () => ListRequiredTagsOutput,
512
+ ];
451
513
  var StartReportCreation = [
452
514
  9,
453
515
  n0,
454
516
  _SRC,
455
- 0,
517
+ {
518
+ [_h]: ["POST", "/StartReportCreation", 200],
519
+ },
456
520
  () => StartReportCreationInput,
457
521
  () => StartReportCreationOutput,
458
522
  ];
459
- var TagResources = [9, n0, _TR, 0, () => TagResourcesInput, () => TagResourcesOutput];
523
+ var TagResources = [
524
+ 9,
525
+ n0,
526
+ _TR,
527
+ {
528
+ [_h]: ["POST", "/TagResources", 200],
529
+ },
530
+ () => TagResourcesInput,
531
+ () => TagResourcesOutput,
532
+ ];
460
533
  var UntagResources = [
461
534
  9,
462
535
  n0,
463
536
  _UR,
464
- 0,
537
+ {
538
+ [_h]: ["POST", "/UntagResources", 200],
539
+ },
465
540
  () => UntagResourcesInput,
466
541
  () => UntagResourcesOutput,
467
542
  ];
@@ -526,6 +601,18 @@ class GetTagValuesCommand extends smithyClient.Command
526
601
  .build() {
527
602
  }
528
603
 
604
+ class ListRequiredTagsCommand extends smithyClient.Command
605
+ .classBuilder()
606
+ .ep(commonParams)
607
+ .m(function (Command, cs, config, o) {
608
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
609
+ })
610
+ .s("ResourceGroupsTaggingAPI_20170126", "ListRequiredTags", {})
611
+ .n("ResourceGroupsTaggingAPIClient", "ListRequiredTagsCommand")
612
+ .sc(ListRequiredTags)
613
+ .build() {
614
+ }
615
+
529
616
  class StartReportCreationCommand extends smithyClient.Command
530
617
  .classBuilder()
531
618
  .ep(commonParams)
@@ -568,6 +655,7 @@ const commands = {
568
655
  GetResourcesCommand,
569
656
  GetTagKeysCommand,
570
657
  GetTagValuesCommand,
658
+ ListRequiredTagsCommand,
571
659
  StartReportCreationCommand,
572
660
  TagResourcesCommand,
573
661
  UntagResourcesCommand,
@@ -584,6 +672,8 @@ const paginateGetTagKeys = core.createPaginator(ResourceGroupsTaggingAPIClient,
584
672
 
585
673
  const paginateGetTagValues = core.createPaginator(ResourceGroupsTaggingAPIClient, GetTagValuesCommand, "PaginationToken", "PaginationToken", "");
586
674
 
675
+ const paginateListRequiredTags = core.createPaginator(ResourceGroupsTaggingAPIClient, ListRequiredTagsCommand, "NextToken", "NextToken", "MaxResults");
676
+
587
677
  Object.defineProperty(exports, "$Command", {
588
678
  enumerable: true,
589
679
  get: function () { return smithyClient.Command; }
@@ -603,6 +693,7 @@ exports.GetTagValuesCommand = GetTagValuesCommand;
603
693
  exports.GroupByAttribute = GroupByAttribute;
604
694
  exports.InternalServiceException = InternalServiceException$1;
605
695
  exports.InvalidParameterException = InvalidParameterException$1;
696
+ exports.ListRequiredTagsCommand = ListRequiredTagsCommand;
606
697
  exports.PaginationTokenExpiredException = PaginationTokenExpiredException$1;
607
698
  exports.ResourceGroupsTaggingAPI = ResourceGroupsTaggingAPI;
608
699
  exports.ResourceGroupsTaggingAPIClient = ResourceGroupsTaggingAPIClient;
@@ -616,3 +707,4 @@ exports.paginateGetComplianceSummary = paginateGetComplianceSummary;
616
707
  exports.paginateGetResources = paginateGetResources;
617
708
  exports.paginateGetTagKeys = paginateGetTagKeys;
618
709
  exports.paginateGetTagValues = paginateGetTagValues;
710
+ exports.paginateListRequiredTags = paginateListRequiredTags;
@@ -4,6 +4,7 @@ import { GetComplianceSummaryCommand, } from "./commands/GetComplianceSummaryCom
4
4
  import { GetResourcesCommand, } from "./commands/GetResourcesCommand";
5
5
  import { GetTagKeysCommand } from "./commands/GetTagKeysCommand";
6
6
  import { GetTagValuesCommand, } from "./commands/GetTagValuesCommand";
7
+ import { ListRequiredTagsCommand, } from "./commands/ListRequiredTagsCommand";
7
8
  import { StartReportCreationCommand, } from "./commands/StartReportCreationCommand";
8
9
  import { TagResourcesCommand, } from "./commands/TagResourcesCommand";
9
10
  import { UntagResourcesCommand, } from "./commands/UntagResourcesCommand";
@@ -14,6 +15,7 @@ const commands = {
14
15
  GetResourcesCommand,
15
16
  GetTagKeysCommand,
16
17
  GetTagValuesCommand,
18
+ ListRequiredTagsCommand,
17
19
  StartReportCreationCommand,
18
20
  TagResourcesCommand,
19
21
  UntagResourcesCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListRequiredTags } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListRequiredTagsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ResourceGroupsTaggingAPI_20170126", "ListRequiredTags", {})
13
+ .n("ResourceGroupsTaggingAPIClient", "ListRequiredTagsCommand")
14
+ .sc(ListRequiredTags)
15
+ .build() {
16
+ }
@@ -3,6 +3,7 @@ export * from "./GetComplianceSummaryCommand";
3
3
  export * from "./GetResourcesCommand";
4
4
  export * from "./GetTagKeysCommand";
5
5
  export * from "./GetTagValuesCommand";
6
+ export * from "./ListRequiredTagsCommand";
6
7
  export * from "./StartReportCreationCommand";
7
8
  export * from "./TagResourcesCommand";
8
9
  export * from "./UntagResourcesCommand";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListRequiredTagsCommand, } from "../commands/ListRequiredTagsCommand";
3
+ import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
4
+ export const paginateListRequiredTags = createPaginator(ResourceGroupsTaggingAPIClient, ListRequiredTagsCommand, "NextToken", "NextToken", "MaxResults");
@@ -3,3 +3,4 @@ export * from "./GetResourcesPaginator";
3
3
  export * from "./GetTagKeysPaginator";
4
4
  export * from "./GetTagValuesPaginator";
5
5
  export * from "./Interfaces";
6
+ export * from "./ListRequiredTagsPaginator";
@@ -1,4 +1,5 @@
1
1
  const _CD = "ComplianceDetails";
2
+ const _CFRT = "CloudFormationResourceTypes";
2
3
  const _CME = "ConcurrentModificationException";
3
4
  const _CS = "ComplianceStatus";
4
5
  const _CVE = "ConstraintViolationException";
@@ -28,11 +29,15 @@ const _IPE = "InvalidParameterException";
28
29
  const _ISE = "InternalServiceException";
29
30
  const _K = "Key";
30
31
  const _KWNV = "KeysWithNoncompliantValues";
32
+ const _LRT = "ListRequiredTags";
33
+ const _LRTI = "ListRequiredTagsInput";
34
+ const _LRTO = "ListRequiredTagsOutput";
31
35
  const _LU = "LastUpdated";
32
36
  const _M = "Message";
33
37
  const _MR = "MaxResults";
34
38
  const _NCR = "NonCompliantResources";
35
39
  const _NK = "NoncompliantKeys";
40
+ const _NT = "NextToken";
36
41
  const _PT = "PaginationToken";
37
42
  const _PTEE = "PaginationTokenExpiredException";
38
43
  const _R = "Region";
@@ -40,10 +45,14 @@ const _RARN = "ResourceARN";
40
45
  const _RARNL = "ResourceARNList";
41
46
  const _RF = "RegionFilters";
42
47
  const _RPP = "ResourcesPerPage";
43
- const _RT = "ResourceType";
48
+ const _RT = "RequiredTags";
44
49
  const _RTF = "ResourceTypeFilters";
50
+ const _RTFLRT = "RequiredTagsForListRequiredTags";
51
+ const _RTK = "ReportingTagKeys";
45
52
  const _RTM = "ResourceTagMapping";
46
53
  const _RTML = "ResourceTagMappingList";
54
+ const _RTe = "RequiredTag";
55
+ const _RTes = "ResourceType";
47
56
  const _S = "Status";
48
57
  const _SB = "S3Bucket";
49
58
  const _SC = "StatusCode";
@@ -78,6 +87,7 @@ const _V = "Value";
78
87
  const _Va = "Values";
79
88
  const _c = "client";
80
89
  const _e = "error";
90
+ const _h = "http";
81
91
  const _s = "server";
82
92
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
83
93
  const n0 = "com.amazonaws.resourcegroupstaggingapi";
@@ -161,6 +171,15 @@ export var InvalidParameterException = [
161
171
  [0],
162
172
  ];
163
173
  TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
174
+ export var ListRequiredTagsInput = [3, n0, _LRTI, 0, [_NT, _MR], [0, 1]];
175
+ export var ListRequiredTagsOutput = [
176
+ 3,
177
+ n0,
178
+ _LRTO,
179
+ 0,
180
+ [_RT, _NT],
181
+ [() => RequiredTagsForListRequiredTags, 0],
182
+ ];
164
183
  export var PaginationTokenExpiredException = [
165
184
  -3,
166
185
  n0,
@@ -172,6 +191,7 @@ export var PaginationTokenExpiredException = [
172
191
  [0],
173
192
  ];
174
193
  TypeRegistry.for(n0).registerError(PaginationTokenExpiredException, __PaginationTokenExpiredException);
194
+ export var RequiredTag = [3, n0, _RTe, 0, [_RTes, _CFRT, _RTK], [0, 64 | 0, 64 | 0]];
175
195
  export var ResourceTagMapping = [
176
196
  3,
177
197
  n0,
@@ -182,7 +202,7 @@ export var ResourceTagMapping = [
182
202
  ];
183
203
  export var StartReportCreationInput = [3, n0, _SRCI, 0, [_SB], [0]];
184
204
  export var StartReportCreationOutput = [3, n0, _SRCO, 0, [], []];
185
- export var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R, _RT, _NCR], [0, 0, 0, 0, 0, 1]];
205
+ export var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R, _RTes, _NCR], [0, 0, 0, 0, 0, 1]];
186
206
  export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
187
207
  export var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
188
208
  export var TagResourcesInput = [3, n0, _TRI, 0, [_RARNL, _T], [64 | 0, 128 | 0]];
@@ -210,8 +230,11 @@ export var ResourceGroupsTaggingAPIServiceException = [
210
230
  [],
211
231
  ];
212
232
  TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException, __ResourceGroupsTaggingAPIServiceException);
233
+ export var CloudFormationResourceTypes = 64 | 0;
213
234
  export var GroupBy = 64 | 0;
214
235
  export var RegionFilterList = 64 | 0;
236
+ export var ReportingTagKeys = 64 | 0;
237
+ export var RequiredTagsForListRequiredTags = [1, n0, _RTFLRT, 0, () => RequiredTag];
215
238
  export var ResourceARNListForGet = 64 | 0;
216
239
  export var ResourceARNListForTagUntag = 64 | 0;
217
240
  export var ResourceTagMappingList = [1, n0, _RTML, 0, () => ResourceTagMapping];
@@ -231,7 +254,9 @@ export var DescribeReportCreation = [
231
254
  9,
232
255
  n0,
233
256
  _DRC,
234
- 0,
257
+ {
258
+ [_h]: ["POST", "/DescribeReportCreation", 200],
259
+ },
235
260
  () => DescribeReportCreationInput,
236
261
  () => DescribeReportCreationOutput,
237
262
  ];
@@ -239,27 +264,79 @@ export var GetComplianceSummary = [
239
264
  9,
240
265
  n0,
241
266
  _GCS,
242
- 0,
267
+ {
268
+ [_h]: ["POST", "/GetComplianceSummary", 200],
269
+ },
243
270
  () => GetComplianceSummaryInput,
244
271
  () => GetComplianceSummaryOutput,
245
272
  ];
246
- export var GetResources = [9, n0, _GR, 0, () => GetResourcesInput, () => GetResourcesOutput];
247
- export var GetTagKeys = [9, n0, _GTK, 0, () => GetTagKeysInput, () => GetTagKeysOutput];
248
- export var GetTagValues = [9, n0, _GTV, 0, () => GetTagValuesInput, () => GetTagValuesOutput];
273
+ export var GetResources = [
274
+ 9,
275
+ n0,
276
+ _GR,
277
+ {
278
+ [_h]: ["POST", "/GetResources", 200],
279
+ },
280
+ () => GetResourcesInput,
281
+ () => GetResourcesOutput,
282
+ ];
283
+ export var GetTagKeys = [
284
+ 9,
285
+ n0,
286
+ _GTK,
287
+ {
288
+ [_h]: ["POST", "/GetTagKeys", 200],
289
+ },
290
+ () => GetTagKeysInput,
291
+ () => GetTagKeysOutput,
292
+ ];
293
+ export var GetTagValues = [
294
+ 9,
295
+ n0,
296
+ _GTV,
297
+ {
298
+ [_h]: ["POST", "/GetTagValues", 200],
299
+ },
300
+ () => GetTagValuesInput,
301
+ () => GetTagValuesOutput,
302
+ ];
303
+ export var ListRequiredTags = [
304
+ 9,
305
+ n0,
306
+ _LRT,
307
+ {
308
+ [_h]: ["POST", "/ListRequiredTags", 200],
309
+ },
310
+ () => ListRequiredTagsInput,
311
+ () => ListRequiredTagsOutput,
312
+ ];
249
313
  export var StartReportCreation = [
250
314
  9,
251
315
  n0,
252
316
  _SRC,
253
- 0,
317
+ {
318
+ [_h]: ["POST", "/StartReportCreation", 200],
319
+ },
254
320
  () => StartReportCreationInput,
255
321
  () => StartReportCreationOutput,
256
322
  ];
257
- export var TagResources = [9, n0, _TR, 0, () => TagResourcesInput, () => TagResourcesOutput];
323
+ export var TagResources = [
324
+ 9,
325
+ n0,
326
+ _TR,
327
+ {
328
+ [_h]: ["POST", "/TagResources", 200],
329
+ },
330
+ () => TagResourcesInput,
331
+ () => TagResourcesOutput,
332
+ ];
258
333
  export var UntagResources = [
259
334
  9,
260
335
  n0,
261
336
  _UR,
262
- 0,
337
+ {
338
+ [_h]: ["POST", "/UntagResources", 200],
339
+ },
263
340
  () => UntagResourcesInput,
264
341
  () => UntagResourcesOutput,
265
342
  ];
@@ -4,6 +4,7 @@ import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } f
4
4
  import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
5
5
  import { GetTagKeysCommandInput, GetTagKeysCommandOutput } from "./commands/GetTagKeysCommand";
6
6
  import { GetTagValuesCommandInput, GetTagValuesCommandOutput } from "./commands/GetTagValuesCommand";
7
+ import { ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput } from "./commands/ListRequiredTagsCommand";
7
8
  import { StartReportCreationCommandInput, StartReportCreationCommandOutput } from "./commands/StartReportCreationCommand";
8
9
  import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
9
10
  import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
@@ -43,6 +44,13 @@ export interface ResourceGroupsTaggingAPI {
43
44
  getTagValues(args: GetTagValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetTagValuesCommandOutput>;
44
45
  getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
45
46
  getTagValues(args: GetTagValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link ListRequiredTagsCommand}
49
+ */
50
+ listRequiredTags(): Promise<ListRequiredTagsCommandOutput>;
51
+ listRequiredTags(args: ListRequiredTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListRequiredTagsCommandOutput>;
52
+ listRequiredTags(args: ListRequiredTagsCommandInput, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
53
+ listRequiredTags(args: ListRequiredTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRequiredTagsCommandOutput) => void): void;
46
54
  /**
47
55
  * @see {@link StartReportCreationCommand}
48
56
  */
@@ -12,6 +12,7 @@ import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } f
12
12
  import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
13
13
  import { GetTagKeysCommandInput, GetTagKeysCommandOutput } from "./commands/GetTagKeysCommand";
14
14
  import { GetTagValuesCommandInput, GetTagValuesCommandOutput } from "./commands/GetTagValuesCommand";
15
+ import { ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput } from "./commands/ListRequiredTagsCommand";
15
16
  import { StartReportCreationCommandInput, StartReportCreationCommandOutput } from "./commands/StartReportCreationCommand";
16
17
  import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
17
18
  import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
@@ -21,11 +22,11 @@ export { __Client };
21
22
  /**
22
23
  * @public
23
24
  */
24
- export type ServiceInputTypes = DescribeReportCreationCommandInput | GetComplianceSummaryCommandInput | GetResourcesCommandInput | GetTagKeysCommandInput | GetTagValuesCommandInput | StartReportCreationCommandInput | TagResourcesCommandInput | UntagResourcesCommandInput;
25
+ export type ServiceInputTypes = DescribeReportCreationCommandInput | GetComplianceSummaryCommandInput | GetResourcesCommandInput | GetTagKeysCommandInput | GetTagValuesCommandInput | ListRequiredTagsCommandInput | StartReportCreationCommandInput | TagResourcesCommandInput | UntagResourcesCommandInput;
25
26
  /**
26
27
  * @public
27
28
  */
28
- export type ServiceOutputTypes = DescribeReportCreationCommandOutput | GetComplianceSummaryCommandOutput | GetResourcesCommandOutput | GetTagKeysCommandOutput | GetTagValuesCommandOutput | StartReportCreationCommandOutput | TagResourcesCommandOutput | UntagResourcesCommandOutput;
29
+ export type ServiceOutputTypes = DescribeReportCreationCommandOutput | GetComplianceSummaryCommandOutput | GetResourcesCommandOutput | GetTagKeysCommandOutput | GetTagValuesCommandOutput | ListRequiredTagsCommandOutput | StartReportCreationCommandOutput | TagResourcesCommandOutput | UntagResourcesCommandOutput;
29
30
  /**
30
31
  * @public
31
32
  */
@@ -57,15 +57,13 @@ declare const DescribeReportCreationCommand_base: {
57
57
  * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
58
58
  *
59
59
  * @throws {@link ConstraintViolationException} (client fault)
60
- * <p>The request was denied because performing this operation violates a constraint. </p>
60
+ * <p>The request failed because performing the operation would violate a constraint.</p>
61
61
  * <p>Some of the reasons in the following list might not apply to this specific
62
62
  * operation.</p>
63
63
  * <ul>
64
64
  * <li>
65
65
  * <p>You must meet the prerequisites for using tag policies. For information, see
66
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html">Prerequisites and Permissions for Using Tag Policies</a> in the
67
- * <i>Organizations User Guide.</i>
68
- * </p>
66
+ * <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#tag-policies-prereqs">Prerequisites and permissions</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
69
67
  * </li>
70
68
  * <li>
71
69
  * <p>You must enable the tag policies service principal
@@ -83,30 +81,34 @@ declare const DescribeReportCreationCommand_base: {
83
81
  * can retry the request.</p>
84
82
  *
85
83
  * @throws {@link InvalidParameterException} (client fault)
86
- * <p>This error indicates one of the following:</p>
84
+ * <p>The request failed because of one of the following reasons:</p>
87
85
  * <ul>
88
86
  * <li>
89
- * <p>A parameter is missing.</p>
87
+ * <p>A required parameter is missing.</p>
90
88
  * </li>
91
89
  * <li>
92
- * <p>A malformed string was supplied for the request parameter.</p>
90
+ * <p>A provided string parameter is malformed.</p>
93
91
  * </li>
94
92
  * <li>
95
- * <p>An out-of-range value was supplied for the request parameter.</p>
93
+ * <p>An provided parameter value is out of range.</p>
96
94
  * </li>
97
95
  * <li>
98
96
  * <p>The target ID is invalid, unsupported, or doesn't exist.</p>
99
97
  * </li>
100
98
  * <li>
101
99
  * <p>You can't access the Amazon S3 bucket for report storage. For more information, see
102
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report">Additional Requirements for Organization-wide Tag Compliance
103
- * Reports</a> in the <i>Organizations User Guide.</i>
104
- * </p>
100
+ * <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
101
+ * </li>
102
+ * <li>
103
+ * <p>The partition specified in an ARN parameter in the request doesn't match the
104
+ * partition where you invoked the operation. The partition is specified by the
105
+ * second field of the ARN.</p>
105
106
  * </li>
106
107
  * </ul>
107
108
  *
108
109
  * @throws {@link ThrottledException} (client fault)
109
- * <p>The request was denied to limit the frequency of submitted requests.</p>
110
+ * <p>The request failed because it exceeded the allowed frequency of submitted
111
+ * requests.</p>
110
112
  *
111
113
  * @throws {@link ResourceGroupsTaggingAPIServiceException}
112
114
  * <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>