@aws-sdk/client-resource-groups-tagging-api 3.35.0 → 3.36.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 (126) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/ResourceGroupsTaggingAPI.js +0 -1
  3. package/dist-cjs/ResourceGroupsTaggingAPIClient.js +0 -1
  4. package/dist-cjs/commands/DescribeReportCreationCommand.js +0 -1
  5. package/dist-cjs/commands/GetComplianceSummaryCommand.js +0 -1
  6. package/dist-cjs/commands/GetResourcesCommand.js +0 -1
  7. package/dist-cjs/commands/GetTagKeysCommand.js +0 -1
  8. package/dist-cjs/commands/GetTagValuesCommand.js +0 -1
  9. package/dist-cjs/commands/StartReportCreationCommand.js +0 -1
  10. package/dist-cjs/commands/TagResourcesCommand.js +0 -1
  11. package/dist-cjs/commands/UntagResourcesCommand.js +0 -1
  12. package/dist-cjs/endpoints.js +0 -1
  13. package/dist-cjs/index.js +0 -1
  14. package/dist-cjs/models/index.js +0 -1
  15. package/dist-cjs/models/models_0.js +0 -1
  16. package/dist-cjs/pagination/GetComplianceSummaryPaginator.js +0 -1
  17. package/dist-cjs/pagination/GetResourcesPaginator.js +0 -1
  18. package/dist-cjs/pagination/GetTagKeysPaginator.js +0 -1
  19. package/dist-cjs/pagination/GetTagValuesPaginator.js +0 -1
  20. package/dist-cjs/pagination/Interfaces.js +0 -1
  21. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  22. package/dist-cjs/runtimeConfig.browser.js +2 -3
  23. package/dist-cjs/runtimeConfig.js +3 -4
  24. package/dist-cjs/runtimeConfig.native.js +0 -1
  25. package/dist-cjs/runtimeConfig.shared.js +0 -1
  26. package/dist-es/ResourceGroupsTaggingAPI.js +0 -1
  27. package/dist-es/ResourceGroupsTaggingAPIClient.js +0 -1
  28. package/dist-es/commands/DescribeReportCreationCommand.js +0 -1
  29. package/dist-es/commands/GetComplianceSummaryCommand.js +0 -1
  30. package/dist-es/commands/GetResourcesCommand.js +0 -1
  31. package/dist-es/commands/GetTagKeysCommand.js +0 -1
  32. package/dist-es/commands/GetTagValuesCommand.js +0 -1
  33. package/dist-es/commands/StartReportCreationCommand.js +0 -1
  34. package/dist-es/commands/TagResourcesCommand.js +0 -1
  35. package/dist-es/commands/UntagResourcesCommand.js +0 -1
  36. package/dist-es/endpoints.js +0 -1
  37. package/dist-es/index.js +0 -1
  38. package/dist-es/models/index.js +0 -1
  39. package/dist-es/models/models_0.js +0 -1
  40. package/dist-es/pagination/GetComplianceSummaryPaginator.js +0 -1
  41. package/dist-es/pagination/GetResourcesPaginator.js +0 -1
  42. package/dist-es/pagination/GetTagKeysPaginator.js +0 -1
  43. package/dist-es/pagination/GetTagValuesPaginator.js +0 -1
  44. package/dist-es/pagination/Interfaces.js +0 -1
  45. package/dist-es/protocols/Aws_json1_1.js +0 -1
  46. package/dist-es/runtimeConfig.browser.js +1 -2
  47. package/dist-es/runtimeConfig.js +2 -3
  48. package/dist-es/runtimeConfig.native.js +0 -1
  49. package/dist-es/runtimeConfig.shared.js +0 -1
  50. package/package.json +33 -30
  51. package/dist-cjs/ResourceGroupsTaggingAPI.js.map +0 -1
  52. package/dist-cjs/ResourceGroupsTaggingAPIClient.js.map +0 -1
  53. package/dist-cjs/commands/DescribeReportCreationCommand.js.map +0 -1
  54. package/dist-cjs/commands/GetComplianceSummaryCommand.js.map +0 -1
  55. package/dist-cjs/commands/GetResourcesCommand.js.map +0 -1
  56. package/dist-cjs/commands/GetTagKeysCommand.js.map +0 -1
  57. package/dist-cjs/commands/GetTagValuesCommand.js.map +0 -1
  58. package/dist-cjs/commands/StartReportCreationCommand.js.map +0 -1
  59. package/dist-cjs/commands/TagResourcesCommand.js.map +0 -1
  60. package/dist-cjs/commands/UntagResourcesCommand.js.map +0 -1
  61. package/dist-cjs/endpoints.js.map +0 -1
  62. package/dist-cjs/index.js.map +0 -1
  63. package/dist-cjs/models/index.js.map +0 -1
  64. package/dist-cjs/models/models_0.js.map +0 -1
  65. package/dist-cjs/pagination/GetComplianceSummaryPaginator.js.map +0 -1
  66. package/dist-cjs/pagination/GetResourcesPaginator.js.map +0 -1
  67. package/dist-cjs/pagination/GetTagKeysPaginator.js.map +0 -1
  68. package/dist-cjs/pagination/GetTagValuesPaginator.js.map +0 -1
  69. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  70. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  71. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  72. package/dist-cjs/runtimeConfig.js.map +0 -1
  73. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  74. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  75. package/dist-es/ResourceGroupsTaggingAPI.js.map +0 -1
  76. package/dist-es/ResourceGroupsTaggingAPIClient.js.map +0 -1
  77. package/dist-es/commands/DescribeReportCreationCommand.js.map +0 -1
  78. package/dist-es/commands/GetComplianceSummaryCommand.js.map +0 -1
  79. package/dist-es/commands/GetResourcesCommand.js.map +0 -1
  80. package/dist-es/commands/GetTagKeysCommand.js.map +0 -1
  81. package/dist-es/commands/GetTagValuesCommand.js.map +0 -1
  82. package/dist-es/commands/StartReportCreationCommand.js.map +0 -1
  83. package/dist-es/commands/TagResourcesCommand.js.map +0 -1
  84. package/dist-es/commands/UntagResourcesCommand.js.map +0 -1
  85. package/dist-es/endpoints.js.map +0 -1
  86. package/dist-es/index.js.map +0 -1
  87. package/dist-es/models/index.js.map +0 -1
  88. package/dist-es/models/models_0.js.map +0 -1
  89. package/dist-es/pagination/GetComplianceSummaryPaginator.js.map +0 -1
  90. package/dist-es/pagination/GetResourcesPaginator.js.map +0 -1
  91. package/dist-es/pagination/GetTagKeysPaginator.js.map +0 -1
  92. package/dist-es/pagination/GetTagValuesPaginator.js.map +0 -1
  93. package/dist-es/pagination/Interfaces.js.map +0 -1
  94. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  95. package/dist-es/runtimeConfig.browser.js.map +0 -1
  96. package/dist-es/runtimeConfig.js.map +0 -1
  97. package/dist-es/runtimeConfig.native.js.map +0 -1
  98. package/dist-es/runtimeConfig.shared.js.map +0 -1
  99. package/jest.config.js +0 -4
  100. package/src/ResourceGroupsTaggingAPI.ts +0 -386
  101. package/src/ResourceGroupsTaggingAPIClient.ts +0 -270
  102. package/src/commands/DescribeReportCreationCommand.ts +0 -101
  103. package/src/commands/GetComplianceSummaryCommand.ts +0 -111
  104. package/src/commands/GetResourcesCommand.ts +0 -122
  105. package/src/commands/GetTagKeysCommand.ts +0 -106
  106. package/src/commands/GetTagValuesCommand.ts +0 -106
  107. package/src/commands/StartReportCreationCommand.ts +0 -107
  108. package/src/commands/TagResourcesCommand.ts +0 -126
  109. package/src/commands/UntagResourcesCommand.ts +0 -114
  110. package/src/endpoints.ts +0 -57
  111. package/src/index.ts +0 -16
  112. package/src/models/index.ts +0 -1
  113. package/src/models/models_0.ts +0 -947
  114. package/src/pagination/GetComplianceSummaryPaginator.ts +0 -59
  115. package/src/pagination/GetResourcesPaginator.ts +0 -59
  116. package/src/pagination/GetTagKeysPaginator.ts +0 -54
  117. package/src/pagination/GetTagValuesPaginator.ts +0 -58
  118. package/src/pagination/Interfaces.ts +0 -8
  119. package/src/protocols/Aws_json1_1.ts +0 -1449
  120. package/src/runtimeConfig.browser.ts +0 -41
  121. package/src/runtimeConfig.native.ts +0 -17
  122. package/src/runtimeConfig.shared.ts +0 -17
  123. package/src/runtimeConfig.ts +0 -46
  124. package/tsconfig.es.json +0 -10
  125. package/tsconfig.json +0 -33
  126. package/tsconfig.types.json +0 -9
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- GetComplianceSummaryCommand,
5
- GetComplianceSummaryCommandInput,
6
- GetComplianceSummaryCommandOutput,
7
- } from "../commands/GetComplianceSummaryCommand";
8
- import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
9
- import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
10
- import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ResourceGroupsTaggingAPIClient,
17
- input: GetComplianceSummaryCommandInput,
18
- ...args: any
19
- ): Promise<GetComplianceSummaryCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new GetComplianceSummaryCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ResourceGroupsTaggingAPI,
28
- input: GetComplianceSummaryCommandInput,
29
- ...args: any
30
- ): Promise<GetComplianceSummaryCommandOutput> => {
31
- // @ts-ignore
32
- return await client.getComplianceSummary(input, ...args);
33
- };
34
- export async function* paginateGetComplianceSummary(
35
- config: ResourceGroupsTaggingAPIPaginationConfiguration,
36
- input: GetComplianceSummaryCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<GetComplianceSummaryCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.PaginationToken
40
- let token: typeof input.PaginationToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: GetComplianceSummaryCommandOutput;
43
- while (hasNext) {
44
- input.PaginationToken = token;
45
- input["MaxResults"] = config.pageSize;
46
- if (config.client instanceof ResourceGroupsTaggingAPI) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ResourceGroupsTaggingAPIClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient");
52
- }
53
- yield page;
54
- token = page.PaginationToken;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- GetResourcesCommand,
5
- GetResourcesCommandInput,
6
- GetResourcesCommandOutput,
7
- } from "../commands/GetResourcesCommand";
8
- import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
9
- import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
10
- import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ResourceGroupsTaggingAPIClient,
17
- input: GetResourcesCommandInput,
18
- ...args: any
19
- ): Promise<GetResourcesCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new GetResourcesCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ResourceGroupsTaggingAPI,
28
- input: GetResourcesCommandInput,
29
- ...args: any
30
- ): Promise<GetResourcesCommandOutput> => {
31
- // @ts-ignore
32
- return await client.getResources(input, ...args);
33
- };
34
- export async function* paginateGetResources(
35
- config: ResourceGroupsTaggingAPIPaginationConfiguration,
36
- input: GetResourcesCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<GetResourcesCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.PaginationToken
40
- let token: typeof input.PaginationToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: GetResourcesCommandOutput;
43
- while (hasNext) {
44
- input.PaginationToken = token;
45
- input["ResourcesPerPage"] = config.pageSize;
46
- if (config.client instanceof ResourceGroupsTaggingAPI) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ResourceGroupsTaggingAPIClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient");
52
- }
53
- yield page;
54
- token = page.PaginationToken;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,54 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { GetTagKeysCommand, GetTagKeysCommandInput, GetTagKeysCommandOutput } from "../commands/GetTagKeysCommand";
4
- import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
5
- import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
6
- import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
7
-
8
- /**
9
- * @private
10
- */
11
- const makePagedClientRequest = async (
12
- client: ResourceGroupsTaggingAPIClient,
13
- input: GetTagKeysCommandInput,
14
- ...args: any
15
- ): Promise<GetTagKeysCommandOutput> => {
16
- // @ts-ignore
17
- return await client.send(new GetTagKeysCommand(input), ...args);
18
- };
19
- /**
20
- * @private
21
- */
22
- const makePagedRequest = async (
23
- client: ResourceGroupsTaggingAPI,
24
- input: GetTagKeysCommandInput,
25
- ...args: any
26
- ): Promise<GetTagKeysCommandOutput> => {
27
- // @ts-ignore
28
- return await client.getTagKeys(input, ...args);
29
- };
30
- export async function* paginateGetTagKeys(
31
- config: ResourceGroupsTaggingAPIPaginationConfiguration,
32
- input: GetTagKeysCommandInput,
33
- ...additionalArguments: any
34
- ): Paginator<GetTagKeysCommandOutput> {
35
- // ToDo: replace with actual type instead of typeof input.PaginationToken
36
- let token: typeof input.PaginationToken | undefined = config.startingToken || undefined;
37
- let hasNext = true;
38
- let page: GetTagKeysCommandOutput;
39
- while (hasNext) {
40
- input.PaginationToken = token;
41
- if (config.client instanceof ResourceGroupsTaggingAPI) {
42
- page = await makePagedRequest(config.client, input, ...additionalArguments);
43
- } else if (config.client instanceof ResourceGroupsTaggingAPIClient) {
44
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
45
- } else {
46
- throw new Error("Invalid client, expected ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient");
47
- }
48
- yield page;
49
- token = page.PaginationToken;
50
- hasNext = !!token;
51
- }
52
- // @ts-ignore
53
- return undefined;
54
- }
@@ -1,58 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- GetTagValuesCommand,
5
- GetTagValuesCommandInput,
6
- GetTagValuesCommandOutput,
7
- } from "../commands/GetTagValuesCommand";
8
- import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
9
- import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
10
- import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ResourceGroupsTaggingAPIClient,
17
- input: GetTagValuesCommandInput,
18
- ...args: any
19
- ): Promise<GetTagValuesCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new GetTagValuesCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ResourceGroupsTaggingAPI,
28
- input: GetTagValuesCommandInput,
29
- ...args: any
30
- ): Promise<GetTagValuesCommandOutput> => {
31
- // @ts-ignore
32
- return await client.getTagValues(input, ...args);
33
- };
34
- export async function* paginateGetTagValues(
35
- config: ResourceGroupsTaggingAPIPaginationConfiguration,
36
- input: GetTagValuesCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<GetTagValuesCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.PaginationToken
40
- let token: typeof input.PaginationToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: GetTagValuesCommandOutput;
43
- while (hasNext) {
44
- input.PaginationToken = token;
45
- if (config.client instanceof ResourceGroupsTaggingAPI) {
46
- page = await makePagedRequest(config.client, input, ...additionalArguments);
47
- } else if (config.client instanceof ResourceGroupsTaggingAPIClient) {
48
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
49
- } else {
50
- throw new Error("Invalid client, expected ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient");
51
- }
52
- yield page;
53
- token = page.PaginationToken;
54
- hasNext = !!token;
55
- }
56
- // @ts-ignore
57
- return undefined;
58
- }
@@ -1,8 +0,0 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
-
3
- import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
4
- import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
5
-
6
- export interface ResourceGroupsTaggingAPIPaginationConfiguration extends PaginationConfiguration {
7
- client: ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient;
8
- }