@aws-sdk/client-resource-groups-tagging-api 3.50.0 → 3.53.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 (40) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ResourceGroupsTaggingAPIServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +86 -1
  5. package/dist-cjs/protocols/Aws_json1_1.js +93 -301
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ResourceGroupsTaggingAPIServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +80 -1
  9. package/dist-es/protocols/Aws_json1_1.js +189 -322
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ResourceGroupsTaggingAPIServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +44 -19
  13. package/dist-types/ts3.4/ResourceGroupsTaggingAPI.d.ts +45 -0
  14. package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +81 -0
  15. package/dist-types/ts3.4/commands/DescribeReportCreationCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/GetComplianceSummaryCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/GetTagKeysCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/GetTagValuesCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/StartReportCreationCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/TagResourcesCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/UntagResourcesCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  24. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  25. package/dist-types/ts3.4/index.d.ts +6 -0
  26. package/dist-types/ts3.4/models/ResourceGroupsTaggingAPIServiceException.d.ts +6 -0
  27. package/dist-types/ts3.4/models/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +320 -0
  29. package/dist-types/ts3.4/pagination/GetComplianceSummaryPaginator.d.ts +4 -0
  30. package/dist-types/ts3.4/pagination/GetResourcesPaginator.d.ts +4 -0
  31. package/dist-types/ts3.4/pagination/GetTagKeysPaginator.d.ts +4 -0
  32. package/dist-types/ts3.4/pagination/GetTagValuesPaginator.d.ts +4 -0
  33. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +26 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  40. package/package.json +33 -33
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceGroupsTaggingAPIServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ResourceGroupsTaggingAPI"), exports);
5
6
  tslib_1.__exportStar(require("./ResourceGroupsTaggingAPIClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var ResourceGroupsTaggingAPIServiceException_1 = require("./models/ResourceGroupsTaggingAPIServiceException");
11
+ Object.defineProperty(exports, "ResourceGroupsTaggingAPIServiceException", { enumerable: true, get: function () { return ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceGroupsTaggingAPIServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ResourceGroupsTaggingAPIServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ResourceGroupsTaggingAPIServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ResourceGroupsTaggingAPIServiceException = ResourceGroupsTaggingAPIServiceException;
@@ -1,12 +1,41 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourcesOutput = exports.UntagResourcesInput = exports.TagResourcesOutput = exports.TagResourcesInput = exports.StartReportCreationOutput = exports.StartReportCreationInput = exports.GetTagValuesOutput = exports.GetTagValuesInput = exports.GetTagKeysOutput = exports.GetTagKeysInput = exports.GetResourcesOutput = exports.ResourceTagMapping = exports.Tag = exports.GetResourcesInput = exports.TagFilter = exports.GetComplianceSummaryOutput = exports.Summary = exports.TargetIdType = exports.GetComplianceSummaryInput = exports.GroupByAttribute = exports.FailureInfo = exports.ErrorCode = exports.DescribeReportCreationOutput = exports.DescribeReportCreationInput = exports.ComplianceDetails = void 0;
3
+ exports.UntagResourcesOutput = exports.UntagResourcesInput = exports.TagResourcesOutput = exports.TagResourcesInput = exports.StartReportCreationOutput = exports.StartReportCreationInput = exports.GetTagValuesOutput = exports.GetTagValuesInput = exports.GetTagKeysOutput = exports.GetTagKeysInput = exports.PaginationTokenExpiredException = exports.GetResourcesOutput = exports.ResourceTagMapping = exports.Tag = exports.GetResourcesInput = exports.TagFilter = exports.GetComplianceSummaryOutput = exports.Summary = exports.TargetIdType = exports.GetComplianceSummaryInput = exports.GroupByAttribute = exports.FailureInfo = exports.ErrorCode = exports.ThrottledException = exports.InvalidParameterException = exports.InternalServiceException = exports.DescribeReportCreationOutput = exports.DescribeReportCreationInput = exports.ConstraintViolationException = exports.ConcurrentModificationException = exports.ComplianceDetails = void 0;
4
+ const ResourceGroupsTaggingAPIServiceException_1 = require("./ResourceGroupsTaggingAPIServiceException");
4
5
  var ComplianceDetails;
5
6
  (function (ComplianceDetails) {
6
7
  ComplianceDetails.filterSensitiveLog = (obj) => ({
7
8
  ...obj,
8
9
  });
9
10
  })(ComplianceDetails = exports.ComplianceDetails || (exports.ComplianceDetails = {}));
11
+ class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
12
+ constructor(opts) {
13
+ super({
14
+ name: "ConcurrentModificationException",
15
+ $fault: "client",
16
+ ...opts,
17
+ });
18
+ this.name = "ConcurrentModificationException";
19
+ this.$fault = "client";
20
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
21
+ this.Message = opts.Message;
22
+ }
23
+ }
24
+ exports.ConcurrentModificationException = ConcurrentModificationException;
25
+ class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
26
+ constructor(opts) {
27
+ super({
28
+ name: "ConstraintViolationException",
29
+ $fault: "client",
30
+ ...opts,
31
+ });
32
+ this.name = "ConstraintViolationException";
33
+ this.$fault = "client";
34
+ Object.setPrototypeOf(this, ConstraintViolationException.prototype);
35
+ this.Message = opts.Message;
36
+ }
37
+ }
38
+ exports.ConstraintViolationException = ConstraintViolationException;
10
39
  var DescribeReportCreationInput;
11
40
  (function (DescribeReportCreationInput) {
12
41
  DescribeReportCreationInput.filterSensitiveLog = (obj) => ({
@@ -19,6 +48,48 @@ var DescribeReportCreationOutput;
19
48
  ...obj,
20
49
  });
21
50
  })(DescribeReportCreationOutput = exports.DescribeReportCreationOutput || (exports.DescribeReportCreationOutput = {}));
51
+ class InternalServiceException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
52
+ constructor(opts) {
53
+ super({
54
+ name: "InternalServiceException",
55
+ $fault: "server",
56
+ ...opts,
57
+ });
58
+ this.name = "InternalServiceException";
59
+ this.$fault = "server";
60
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.InternalServiceException = InternalServiceException;
65
+ class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
66
+ constructor(opts) {
67
+ super({
68
+ name: "InvalidParameterException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ this.name = "InvalidParameterException";
73
+ this.$fault = "client";
74
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
75
+ this.Message = opts.Message;
76
+ }
77
+ }
78
+ exports.InvalidParameterException = InvalidParameterException;
79
+ class ThrottledException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
80
+ constructor(opts) {
81
+ super({
82
+ name: "ThrottledException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ this.name = "ThrottledException";
87
+ this.$fault = "client";
88
+ Object.setPrototypeOf(this, ThrottledException.prototype);
89
+ this.Message = opts.Message;
90
+ }
91
+ }
92
+ exports.ThrottledException = ThrottledException;
22
93
  var ErrorCode;
23
94
  (function (ErrorCode) {
24
95
  ErrorCode["INTERNAL_SERVICE_EXCEPTION"] = "InternalServiceException";
@@ -90,6 +161,20 @@ var GetResourcesOutput;
90
161
  ...obj,
91
162
  });
92
163
  })(GetResourcesOutput = exports.GetResourcesOutput || (exports.GetResourcesOutput = {}));
164
+ class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException_1.ResourceGroupsTaggingAPIServiceException {
165
+ constructor(opts) {
166
+ super({
167
+ name: "PaginationTokenExpiredException",
168
+ $fault: "client",
169
+ ...opts,
170
+ });
171
+ this.name = "PaginationTokenExpiredException";
172
+ this.$fault = "client";
173
+ Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
174
+ this.Message = opts.Message;
175
+ }
176
+ }
177
+ exports.PaginationTokenExpiredException = PaginationTokenExpiredException;
93
178
  var GetTagKeysInput;
94
179
  (function (GetTagKeysInput) {
95
180
  GetTagKeysInput.filterSensitiveLog = (obj) => ({