@aws-sdk/client-resource-groups-tagging-api 3.32.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 (182) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/ResourceGroupsTaggingAPI.js +1 -2
  3. package/{dist/cjs → dist-cjs}/ResourceGroupsTaggingAPIClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/DescribeReportCreationCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/GetComplianceSummaryCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/GetResourcesCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/GetTagKeysCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/GetTagValuesCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/StartReportCreationCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/TagResourcesCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/UntagResourcesCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  13. package/{dist/cjs → dist-cjs}/index.js +0 -1
  14. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  15. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  16. package/{dist/cjs → dist-cjs}/pagination/GetComplianceSummaryPaginator.js +1 -2
  17. package/{dist/cjs → dist-cjs}/pagination/GetResourcesPaginator.js +1 -2
  18. package/{dist/cjs → dist-cjs}/pagination/GetTagKeysPaginator.js +1 -2
  19. package/{dist/cjs → dist-cjs}/pagination/GetTagValuesPaginator.js +1 -2
  20. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  21. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  22. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  23. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  25. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  26. package/{dist/es → dist-es}/ResourceGroupsTaggingAPI.js +2 -6
  27. package/{dist/es → dist-es}/ResourceGroupsTaggingAPIClient.js +2 -11
  28. package/{dist/es → dist-es}/commands/DescribeReportCreationCommand.js +4 -32
  29. package/dist-es/commands/GetComplianceSummaryCommand.js +39 -0
  30. package/dist-es/commands/GetResourcesCommand.js +39 -0
  31. package/dist-es/commands/GetTagKeysCommand.js +39 -0
  32. package/dist-es/commands/GetTagValuesCommand.js +39 -0
  33. package/{dist/es → dist-es}/commands/StartReportCreationCommand.js +4 -38
  34. package/dist-es/commands/TagResourcesCommand.js +39 -0
  35. package/dist-es/commands/UntagResourcesCommand.js +39 -0
  36. package/{dist/es → dist-es}/endpoints.js +1 -2
  37. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  38. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  39. package/{dist/es → dist-es}/models/models_0.js +0 -85
  40. package/{dist/es → dist-es}/pagination/GetComplianceSummaryPaginator.js +17 -30
  41. package/{dist/es → dist-es}/pagination/GetResourcesPaginator.js +17 -30
  42. package/{dist/es → dist-es}/pagination/GetTagKeysPaginator.js +17 -30
  43. package/{dist/es → dist-es}/pagination/GetTagValuesPaginator.js +17 -30
  44. package/dist-es/pagination/Interfaces.js +1 -0
  45. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +188 -194
  46. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  47. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  48. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  49. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  50. package/{dist/types → dist-types}/ResourceGroupsTaggingAPI.d.ts +2 -2
  51. package/{dist/types → dist-types}/ResourceGroupsTaggingAPIClient.d.ts +8 -8
  52. package/{dist/types → dist-types}/commands/DescribeReportCreationCommand.d.ts +3 -3
  53. package/{dist/types → dist-types}/commands/GetComplianceSummaryCommand.d.ts +3 -3
  54. package/{dist/types → dist-types}/commands/GetResourcesCommand.d.ts +3 -3
  55. package/{dist/types → dist-types}/commands/GetTagKeysCommand.d.ts +3 -3
  56. package/{dist/types → dist-types}/commands/GetTagValuesCommand.d.ts +3 -3
  57. package/{dist/types → dist-types}/commands/StartReportCreationCommand.d.ts +3 -3
  58. package/{dist/types → dist-types}/commands/TagResourcesCommand.d.ts +3 -3
  59. package/{dist/types → dist-types}/commands/UntagResourcesCommand.d.ts +3 -3
  60. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  61. package/{index.ts → dist-types/index.d.ts} +0 -0
  62. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  63. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  64. package/{dist/types → dist-types}/pagination/GetComplianceSummaryPaginator.d.ts +1 -1
  65. package/{dist/types → dist-types}/pagination/GetResourcesPaginator.d.ts +1 -1
  66. package/{dist/types → dist-types}/pagination/GetTagKeysPaginator.d.ts +1 -1
  67. package/{dist/types → dist-types}/pagination/GetTagValuesPaginator.d.ts +1 -1
  68. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  69. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  70. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  71. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  72. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  73. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  74. package/{dist/types → dist-types}/ts3.4/ResourceGroupsTaggingAPI.d.ts +2 -2
  75. package/{dist/types → dist-types}/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +8 -8
  76. package/{dist/types → dist-types}/ts3.4/commands/DescribeReportCreationCommand.d.ts +3 -3
  77. package/{dist/types → dist-types}/ts3.4/commands/GetComplianceSummaryCommand.d.ts +3 -3
  78. package/{dist/types → dist-types}/ts3.4/commands/GetResourcesCommand.d.ts +3 -3
  79. package/{dist/types → dist-types}/ts3.4/commands/GetTagKeysCommand.d.ts +3 -3
  80. package/{dist/types → dist-types}/ts3.4/commands/GetTagValuesCommand.d.ts +3 -3
  81. package/{dist/types → dist-types}/ts3.4/commands/StartReportCreationCommand.d.ts +3 -3
  82. package/{dist/types → dist-types}/ts3.4/commands/TagResourcesCommand.d.ts +3 -3
  83. package/{dist/types → dist-types}/ts3.4/commands/UntagResourcesCommand.d.ts +3 -3
  84. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  85. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  86. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  87. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  88. package/{dist/types → dist-types}/ts3.4/pagination/GetComplianceSummaryPaginator.d.ts +1 -1
  89. package/{dist/types → dist-types}/ts3.4/pagination/GetResourcesPaginator.d.ts +1 -1
  90. package/{dist/types → dist-types}/ts3.4/pagination/GetTagKeysPaginator.d.ts +1 -1
  91. package/{dist/types → dist-types}/ts3.4/pagination/GetTagValuesPaginator.d.ts +1 -1
  92. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  93. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  94. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  95. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  96. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  97. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  98. package/package.json +52 -49
  99. package/ResourceGroupsTaggingAPI.ts +0 -385
  100. package/ResourceGroupsTaggingAPIClient.ts +0 -269
  101. package/commands/DescribeReportCreationCommand.ts +0 -100
  102. package/commands/GetComplianceSummaryCommand.ts +0 -110
  103. package/commands/GetResourcesCommand.ts +0 -121
  104. package/commands/GetTagKeysCommand.ts +0 -105
  105. package/commands/GetTagValuesCommand.ts +0 -105
  106. package/commands/StartReportCreationCommand.ts +0 -106
  107. package/commands/TagResourcesCommand.ts +0 -125
  108. package/commands/UntagResourcesCommand.ts +0 -113
  109. package/dist/cjs/ResourceGroupsTaggingAPI.js.map +0 -1
  110. package/dist/cjs/ResourceGroupsTaggingAPIClient.js.map +0 -1
  111. package/dist/cjs/commands/DescribeReportCreationCommand.js.map +0 -1
  112. package/dist/cjs/commands/GetComplianceSummaryCommand.js.map +0 -1
  113. package/dist/cjs/commands/GetResourcesCommand.js.map +0 -1
  114. package/dist/cjs/commands/GetTagKeysCommand.js.map +0 -1
  115. package/dist/cjs/commands/GetTagValuesCommand.js.map +0 -1
  116. package/dist/cjs/commands/StartReportCreationCommand.js.map +0 -1
  117. package/dist/cjs/commands/TagResourcesCommand.js.map +0 -1
  118. package/dist/cjs/commands/UntagResourcesCommand.js.map +0 -1
  119. package/dist/cjs/endpoints.js.map +0 -1
  120. package/dist/cjs/index.js.map +0 -1
  121. package/dist/cjs/models/index.js.map +0 -1
  122. package/dist/cjs/models/models_0.js.map +0 -1
  123. package/dist/cjs/package.json +0 -91
  124. package/dist/cjs/pagination/GetComplianceSummaryPaginator.js.map +0 -1
  125. package/dist/cjs/pagination/GetResourcesPaginator.js.map +0 -1
  126. package/dist/cjs/pagination/GetTagKeysPaginator.js.map +0 -1
  127. package/dist/cjs/pagination/GetTagValuesPaginator.js.map +0 -1
  128. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  129. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  130. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  131. package/dist/cjs/runtimeConfig.js.map +0 -1
  132. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  133. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  134. package/dist/es/ResourceGroupsTaggingAPI.js.map +0 -1
  135. package/dist/es/ResourceGroupsTaggingAPIClient.js.map +0 -1
  136. package/dist/es/commands/DescribeReportCreationCommand.js.map +0 -1
  137. package/dist/es/commands/GetComplianceSummaryCommand.js +0 -77
  138. package/dist/es/commands/GetComplianceSummaryCommand.js.map +0 -1
  139. package/dist/es/commands/GetResourcesCommand.js +0 -88
  140. package/dist/es/commands/GetResourcesCommand.js.map +0 -1
  141. package/dist/es/commands/GetTagKeysCommand.js +0 -72
  142. package/dist/es/commands/GetTagKeysCommand.js.map +0 -1
  143. package/dist/es/commands/GetTagValuesCommand.js +0 -72
  144. package/dist/es/commands/GetTagValuesCommand.js.map +0 -1
  145. package/dist/es/commands/StartReportCreationCommand.js.map +0 -1
  146. package/dist/es/commands/TagResourcesCommand.js +0 -92
  147. package/dist/es/commands/TagResourcesCommand.js.map +0 -1
  148. package/dist/es/commands/UntagResourcesCommand.js +0 -80
  149. package/dist/es/commands/UntagResourcesCommand.js.map +0 -1
  150. package/dist/es/endpoints.js.map +0 -1
  151. package/dist/es/index.js +0 -17
  152. package/dist/es/index.js.map +0 -1
  153. package/dist/es/models/index.js +0 -2
  154. package/dist/es/models/index.js.map +0 -1
  155. package/dist/es/models/models_0.js.map +0 -1
  156. package/dist/es/package.json +0 -91
  157. package/dist/es/pagination/GetComplianceSummaryPaginator.js.map +0 -1
  158. package/dist/es/pagination/GetResourcesPaginator.js.map +0 -1
  159. package/dist/es/pagination/GetTagKeysPaginator.js.map +0 -1
  160. package/dist/es/pagination/GetTagValuesPaginator.js.map +0 -1
  161. package/dist/es/pagination/Interfaces.js +0 -2
  162. package/dist/es/pagination/Interfaces.js.map +0 -1
  163. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  164. package/dist/es/runtimeConfig.browser.js.map +0 -1
  165. package/dist/es/runtimeConfig.js.map +0 -1
  166. package/dist/es/runtimeConfig.native.js.map +0 -1
  167. package/dist/es/runtimeConfig.shared.js.map +0 -1
  168. package/endpoints.ts +0 -57
  169. package/jest.config.js +0 -4
  170. package/models/models_0.ts +0 -947
  171. package/pagination/GetComplianceSummaryPaginator.ts +0 -58
  172. package/pagination/GetResourcesPaginator.ts +0 -58
  173. package/pagination/GetTagKeysPaginator.ts +0 -53
  174. package/pagination/GetTagValuesPaginator.ts +0 -57
  175. package/pagination/Interfaces.ts +0 -7
  176. package/protocols/Aws_json1_1.ts +0 -1448
  177. package/runtimeConfig.browser.ts +0 -40
  178. package/runtimeConfig.native.ts +0 -16
  179. package/runtimeConfig.shared.ts +0 -16
  180. package/runtimeConfig.ts +0 -45
  181. package/tsconfig.es.json +0 -12
  182. package/tsconfig.json +0 -32
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetTagKeysInput, GetTagKeysOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetTagKeysCommand, serializeAws_json1_1GetTagKeysCommand, } from "../protocols/Aws_json1_1";
6
+ var GetTagKeysCommand = (function (_super) {
7
+ __extends(GetTagKeysCommand, _super);
8
+ function GetTagKeysCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetTagKeysCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsTaggingAPIClient";
18
+ var commandName = "GetTagKeysCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetTagKeysInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetTagKeysOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTagKeysCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetTagKeysCommand(input, context);
33
+ };
34
+ GetTagKeysCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetTagKeysCommand(output, context);
36
+ };
37
+ return GetTagKeysCommand;
38
+ }($Command));
39
+ export { GetTagKeysCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetTagValuesInput, GetTagValuesOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetTagValuesCommand, serializeAws_json1_1GetTagValuesCommand, } from "../protocols/Aws_json1_1";
6
+ var GetTagValuesCommand = (function (_super) {
7
+ __extends(GetTagValuesCommand, _super);
8
+ function GetTagValuesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetTagValuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsTaggingAPIClient";
18
+ var commandName = "GetTagValuesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetTagValuesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetTagValuesOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTagValuesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetTagValuesCommand(input, context);
33
+ };
34
+ GetTagValuesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetTagValuesCommand(output, context);
36
+ };
37
+ return GetTagValuesCommand;
38
+ }($Command));
39
+ export { GetTagValuesCommand };
@@ -1,48 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { StartReportCreationInput, StartReportCreationOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1StartReportCreationCommand, serializeAws_json1_1StartReportCreationCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Generates a report that lists all tagged resources in the accounts across your
8
- * organization and tells whether each resource is compliant with the effective tag policy.
9
- * Compliance data is refreshed daily. The report is generated asynchronously.</p>
10
- * <p>The generated report is saved to the following location:</p>
11
- * <p>
12
- * <code>s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv</code>
13
- * </p>
14
- * <p>You can call this operation only from the organization's
15
- * management account and from the us-east-1 Region.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
20
- * // const { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
21
- * const client = new ResourceGroupsTaggingAPIClient(config);
22
- * const command = new StartReportCreationCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link StartReportCreationCommandInput} for command's `input` shape.
27
- * @see {@link StartReportCreationCommandOutput} for command's `response` shape.
28
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
- var StartReportCreationCommand = /** @class */ (function (_super) {
4
+ import { StartReportCreationInput, StartReportCreationOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1StartReportCreationCommand, serializeAws_json1_1StartReportCreationCommand, } from "../protocols/Aws_json1_1";
6
+ var StartReportCreationCommand = (function (_super) {
32
7
  __extends(StartReportCreationCommand, _super);
33
- // Start section: command_properties
34
- // End section: command_properties
35
8
  function StartReportCreationCommand(input) {
36
- var _this =
37
- // Start section: command_constructor
38
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
39
10
  _this.input = input;
40
11
  return _this;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  StartReportCreationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
47
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -70,4 +37,3 @@ var StartReportCreationCommand = /** @class */ (function (_super) {
70
37
  return StartReportCreationCommand;
71
38
  }($Command));
72
39
  export { StartReportCreationCommand };
73
- //# sourceMappingURL=StartReportCreationCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { TagResourcesInput, TagResourcesOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1TagResourcesCommand, serializeAws_json1_1TagResourcesCommand, } from "../protocols/Aws_json1_1";
6
+ var TagResourcesCommand = (function (_super) {
7
+ __extends(TagResourcesCommand, _super);
8
+ function TagResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ TagResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsTaggingAPIClient";
18
+ var commandName = "TagResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: TagResourcesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourcesOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourcesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1TagResourcesCommand(input, context);
33
+ };
34
+ TagResourcesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1TagResourcesCommand(output, context);
36
+ };
37
+ return TagResourcesCommand;
38
+ }($Command));
39
+ export { TagResourcesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UntagResourcesInput, UntagResourcesOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1UntagResourcesCommand, serializeAws_json1_1UntagResourcesCommand, } from "../protocols/Aws_json1_1";
6
+ var UntagResourcesCommand = (function (_super) {
7
+ __extends(UntagResourcesCommand, _super);
8
+ function UntagResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UntagResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ResourceGroupsTaggingAPIClient";
18
+ var commandName = "UntagResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UntagResourcesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourcesOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourcesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1UntagResourcesCommand(input, context);
33
+ };
34
+ UntagResourcesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1UntagResourcesCommand(output, context);
36
+ };
37
+ return UntagResourcesCommand;
38
+ }($Command));
39
+ export { UntagResourcesCommand };
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "tagging", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "tagging", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes
@@ -1,58 +1,34 @@
1
1
  import { __assign } from "tslib";
2
2
  export var ComplianceDetails;
3
3
  (function (ComplianceDetails) {
4
- /**
5
- * @internal
6
- */
7
4
  ComplianceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
8
5
  })(ComplianceDetails || (ComplianceDetails = {}));
9
6
  export var ConcurrentModificationException;
10
7
  (function (ConcurrentModificationException) {
11
- /**
12
- * @internal
13
- */
14
8
  ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
15
9
  })(ConcurrentModificationException || (ConcurrentModificationException = {}));
16
10
  export var ConstraintViolationException;
17
11
  (function (ConstraintViolationException) {
18
- /**
19
- * @internal
20
- */
21
12
  ConstraintViolationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
13
  })(ConstraintViolationException || (ConstraintViolationException = {}));
23
14
  export var DescribeReportCreationInput;
24
15
  (function (DescribeReportCreationInput) {
25
- /**
26
- * @internal
27
- */
28
16
  DescribeReportCreationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
17
  })(DescribeReportCreationInput || (DescribeReportCreationInput = {}));
30
18
  export var DescribeReportCreationOutput;
31
19
  (function (DescribeReportCreationOutput) {
32
- /**
33
- * @internal
34
- */
35
20
  DescribeReportCreationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
21
  })(DescribeReportCreationOutput || (DescribeReportCreationOutput = {}));
37
22
  export var InternalServiceException;
38
23
  (function (InternalServiceException) {
39
- /**
40
- * @internal
41
- */
42
24
  InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
43
25
  })(InternalServiceException || (InternalServiceException = {}));
44
26
  export var InvalidParameterException;
45
27
  (function (InvalidParameterException) {
46
- /**
47
- * @internal
48
- */
49
28
  InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
29
  })(InvalidParameterException || (InvalidParameterException = {}));
51
30
  export var ThrottledException;
52
31
  (function (ThrottledException) {
53
- /**
54
- * @internal
55
- */
56
32
  ThrottledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
57
33
  })(ThrottledException || (ThrottledException = {}));
58
34
  export var ErrorCode;
@@ -62,9 +38,6 @@ export var ErrorCode;
62
38
  })(ErrorCode || (ErrorCode = {}));
63
39
  export var FailureInfo;
64
40
  (function (FailureInfo) {
65
- /**
66
- * @internal
67
- */
68
41
  FailureInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
42
  })(FailureInfo || (FailureInfo = {}));
70
43
  export var GroupByAttribute;
@@ -75,9 +48,6 @@ export var GroupByAttribute;
75
48
  })(GroupByAttribute || (GroupByAttribute = {}));
76
49
  export var GetComplianceSummaryInput;
77
50
  (function (GetComplianceSummaryInput) {
78
- /**
79
- * @internal
80
- */
81
51
  GetComplianceSummaryInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
82
52
  })(GetComplianceSummaryInput || (GetComplianceSummaryInput = {}));
83
53
  export var TargetIdType;
@@ -88,128 +58,73 @@ export var TargetIdType;
88
58
  })(TargetIdType || (TargetIdType = {}));
89
59
  export var Summary;
90
60
  (function (Summary) {
91
- /**
92
- * @internal
93
- */
94
61
  Summary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
62
  })(Summary || (Summary = {}));
96
63
  export var GetComplianceSummaryOutput;
97
64
  (function (GetComplianceSummaryOutput) {
98
- /**
99
- * @internal
100
- */
101
65
  GetComplianceSummaryOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
66
  })(GetComplianceSummaryOutput || (GetComplianceSummaryOutput = {}));
103
67
  export var TagFilter;
104
68
  (function (TagFilter) {
105
- /**
106
- * @internal
107
- */
108
69
  TagFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
70
  })(TagFilter || (TagFilter = {}));
110
71
  export var GetResourcesInput;
111
72
  (function (GetResourcesInput) {
112
- /**
113
- * @internal
114
- */
115
73
  GetResourcesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
116
74
  })(GetResourcesInput || (GetResourcesInput = {}));
117
75
  export var Tag;
118
76
  (function (Tag) {
119
- /**
120
- * @internal
121
- */
122
77
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
123
78
  })(Tag || (Tag = {}));
124
79
  export var ResourceTagMapping;
125
80
  (function (ResourceTagMapping) {
126
- /**
127
- * @internal
128
- */
129
81
  ResourceTagMapping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
82
  })(ResourceTagMapping || (ResourceTagMapping = {}));
131
83
  export var GetResourcesOutput;
132
84
  (function (GetResourcesOutput) {
133
- /**
134
- * @internal
135
- */
136
85
  GetResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
86
  })(GetResourcesOutput || (GetResourcesOutput = {}));
138
87
  export var PaginationTokenExpiredException;
139
88
  (function (PaginationTokenExpiredException) {
140
- /**
141
- * @internal
142
- */
143
89
  PaginationTokenExpiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
144
90
  })(PaginationTokenExpiredException || (PaginationTokenExpiredException = {}));
145
91
  export var GetTagKeysInput;
146
92
  (function (GetTagKeysInput) {
147
- /**
148
- * @internal
149
- */
150
93
  GetTagKeysInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
151
94
  })(GetTagKeysInput || (GetTagKeysInput = {}));
152
95
  export var GetTagKeysOutput;
153
96
  (function (GetTagKeysOutput) {
154
- /**
155
- * @internal
156
- */
157
97
  GetTagKeysOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
158
98
  })(GetTagKeysOutput || (GetTagKeysOutput = {}));
159
99
  export var GetTagValuesInput;
160
100
  (function (GetTagValuesInput) {
161
- /**
162
- * @internal
163
- */
164
101
  GetTagValuesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
165
102
  })(GetTagValuesInput || (GetTagValuesInput = {}));
166
103
  export var GetTagValuesOutput;
167
104
  (function (GetTagValuesOutput) {
168
- /**
169
- * @internal
170
- */
171
105
  GetTagValuesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
172
106
  })(GetTagValuesOutput || (GetTagValuesOutput = {}));
173
107
  export var StartReportCreationInput;
174
108
  (function (StartReportCreationInput) {
175
- /**
176
- * @internal
177
- */
178
109
  StartReportCreationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
179
110
  })(StartReportCreationInput || (StartReportCreationInput = {}));
180
111
  export var StartReportCreationOutput;
181
112
  (function (StartReportCreationOutput) {
182
- /**
183
- * @internal
184
- */
185
113
  StartReportCreationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
186
114
  })(StartReportCreationOutput || (StartReportCreationOutput = {}));
187
115
  export var TagResourcesInput;
188
116
  (function (TagResourcesInput) {
189
- /**
190
- * @internal
191
- */
192
117
  TagResourcesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
193
118
  })(TagResourcesInput || (TagResourcesInput = {}));
194
119
  export var TagResourcesOutput;
195
120
  (function (TagResourcesOutput) {
196
- /**
197
- * @internal
198
- */
199
121
  TagResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
200
122
  })(TagResourcesOutput || (TagResourcesOutput = {}));
201
123
  export var UntagResourcesInput;
202
124
  (function (UntagResourcesInput) {
203
- /**
204
- * @internal
205
- */
206
125
  UntagResourcesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
126
  })(UntagResourcesInput || (UntagResourcesInput = {}));
208
127
  export var UntagResourcesOutput;
209
128
  (function (UntagResourcesOutput) {
210
- /**
211
- * @internal
212
- */
213
129
  UntagResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
214
130
  })(UntagResourcesOutput || (UntagResourcesOutput = {}));
215
- //# sourceMappingURL=models_0.js.map
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { GetComplianceSummaryCommand, } from "../commands/GetComplianceSummaryCommand";
2
3
  import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
3
4
  import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
4
- import { GetComplianceSummaryCommand, } from "../commands/GetComplianceSummaryCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new GetComplianceSummaryCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new GetComplianceSummaryCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.getComplianceSummary.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.getComplianceSummary.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateGetComplianceSummary(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.PaginationToken = token;
59
49
  input["MaxResults"] = config.pageSize;
60
- if (!(config.client instanceof ResourceGroupsTaggingAPI)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof ResourceGroupsTaggingAPI)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof ResourceGroupsTaggingAPIClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof ResourceGroupsTaggingAPIClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.PaginationToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=GetComplianceSummaryPaginator.js.map
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { GetResourcesCommand, } from "../commands/GetResourcesCommand";
2
3
  import { ResourceGroupsTaggingAPI } from "../ResourceGroupsTaggingAPI";
3
4
  import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
4
- import { GetResourcesCommand, } from "../commands/GetResourcesCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new GetResourcesCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new GetResourcesCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.getResources.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.getResources.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateGetResources(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.PaginationToken = token;
59
49
  input["ResourcesPerPage"] = config.pageSize;
60
- if (!(config.client instanceof ResourceGroupsTaggingAPI)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof ResourceGroupsTaggingAPI)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof ResourceGroupsTaggingAPIClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof ResourceGroupsTaggingAPIClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected ResourceGroupsTaggingAPI | ResourceGroupsTaggingAPIClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.PaginationToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=GetResourcesPaginator.js.map