@aws-sdk/client-resource-groups 3.52.0 → 3.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md 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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-resource-groups
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-resource-groups
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-resource-groups
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceGroupsServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ResourceGroups"), exports);
5
6
  tslib_1.__exportStar(require("./ResourceGroupsClient"), 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 ResourceGroupsServiceException_1 = require("./models/ResourceGroupsServiceException");
11
+ Object.defineProperty(exports, "ResourceGroupsServiceException", { enumerable: true, get: function () { return ResourceGroupsServiceException_1.ResourceGroupsServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceGroupsServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ResourceGroupsServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ResourceGroupsServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ResourceGroupsServiceException = ResourceGroupsServiceException;
@@ -1,7 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateGroupInput = exports.UntagOutput = exports.UntagInput = exports.UngroupResourcesOutput = exports.UngroupResourcesInput = exports.TagOutput = exports.TagInput = exports.SearchResourcesOutput = exports.SearchResourcesInput = exports.PutGroupConfigurationOutput = exports.PutGroupConfigurationInput = exports.ListGroupsOutput = exports.GroupIdentifier = exports.ListGroupsInput = exports.GroupFilter = exports.GroupFilterName = exports.ListGroupResourcesOutput = exports.ListGroupResourcesItem = exports.ResourceStatus = exports.ResourceStatusValue = exports.ResourceIdentifier = exports.QueryError = exports.QueryErrorCode = exports.ListGroupResourcesInput = exports.ResourceFilter = exports.ResourceFilterName = exports.GroupResourcesOutput = exports.PendingResource = exports.FailedResource = exports.GroupResourcesInput = exports.GetTagsOutput = exports.GetTagsInput = exports.GetGroupQueryOutput = exports.GroupQuery = exports.GetGroupQueryInput = exports.GetGroupConfigurationOutput = exports.GetGroupConfigurationInput = exports.GetGroupOutput = exports.GetGroupInput = exports.DeleteGroupOutput = exports.DeleteGroupInput = exports.CreateGroupOutput = exports.GroupConfiguration = exports.GroupConfigurationStatus = exports.Group = exports.CreateGroupInput = exports.ResourceQuery = exports.QueryType = exports.GroupConfigurationItem = exports.GroupConfigurationParameter = void 0;
4
- exports.UpdateGroupQueryOutput = exports.UpdateGroupQueryInput = exports.UpdateGroupOutput = void 0;
3
+ exports.SearchResourcesOutput = exports.SearchResourcesInput = exports.PutGroupConfigurationOutput = exports.PutGroupConfigurationInput = exports.ListGroupsOutput = exports.GroupIdentifier = exports.ListGroupsInput = exports.GroupFilter = exports.GroupFilterName = exports.UnauthorizedException = exports.ListGroupResourcesOutput = exports.ListGroupResourcesItem = exports.ResourceStatus = exports.ResourceStatusValue = exports.ResourceIdentifier = exports.QueryError = exports.QueryErrorCode = exports.ListGroupResourcesInput = exports.ResourceFilter = exports.ResourceFilterName = exports.GroupResourcesOutput = exports.PendingResource = exports.FailedResource = exports.GroupResourcesInput = exports.GetTagsOutput = exports.GetTagsInput = exports.GetGroupQueryOutput = exports.GroupQuery = exports.GetGroupQueryInput = exports.GetGroupConfigurationOutput = exports.GetGroupConfigurationInput = exports.GetGroupOutput = exports.GetGroupInput = exports.NotFoundException = exports.DeleteGroupOutput = exports.DeleteGroupInput = exports.TooManyRequestsException = exports.MethodNotAllowedException = exports.InternalServerErrorException = exports.ForbiddenException = exports.CreateGroupOutput = exports.GroupConfiguration = exports.GroupConfigurationStatus = exports.Group = exports.CreateGroupInput = exports.ResourceQuery = exports.QueryType = exports.GroupConfigurationItem = exports.GroupConfigurationParameter = exports.BadRequestException = void 0;
4
+ exports.UpdateGroupQueryOutput = exports.UpdateGroupQueryInput = exports.UpdateGroupOutput = exports.UpdateGroupInput = exports.UntagOutput = exports.UntagInput = exports.UngroupResourcesOutput = exports.UngroupResourcesInput = exports.TagOutput = exports.TagInput = void 0;
5
+ const ResourceGroupsServiceException_1 = require("./ResourceGroupsServiceException");
6
+ class BadRequestException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "BadRequestException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "BadRequestException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, BadRequestException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.BadRequestException = BadRequestException;
5
20
  var GroupConfigurationParameter;
6
21
  (function (GroupConfigurationParameter) {
7
22
  GroupConfigurationParameter.filterSensitiveLog = (obj) => ({
@@ -55,6 +70,62 @@ var CreateGroupOutput;
55
70
  ...obj,
56
71
  });
57
72
  })(CreateGroupOutput = exports.CreateGroupOutput || (exports.CreateGroupOutput = {}));
73
+ class ForbiddenException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "ForbiddenException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ this.name = "ForbiddenException";
81
+ this.$fault = "client";
82
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ exports.ForbiddenException = ForbiddenException;
87
+ class InternalServerErrorException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
88
+ constructor(opts) {
89
+ super({
90
+ name: "InternalServerErrorException",
91
+ $fault: "server",
92
+ ...opts,
93
+ });
94
+ this.name = "InternalServerErrorException";
95
+ this.$fault = "server";
96
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ exports.InternalServerErrorException = InternalServerErrorException;
101
+ class MethodNotAllowedException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
102
+ constructor(opts) {
103
+ super({
104
+ name: "MethodNotAllowedException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ this.name = "MethodNotAllowedException";
109
+ this.$fault = "client";
110
+ Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ exports.MethodNotAllowedException = MethodNotAllowedException;
115
+ class TooManyRequestsException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
116
+ constructor(opts) {
117
+ super({
118
+ name: "TooManyRequestsException",
119
+ $fault: "client",
120
+ ...opts,
121
+ });
122
+ this.name = "TooManyRequestsException";
123
+ this.$fault = "client";
124
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ exports.TooManyRequestsException = TooManyRequestsException;
58
129
  var DeleteGroupInput;
59
130
  (function (DeleteGroupInput) {
60
131
  DeleteGroupInput.filterSensitiveLog = (obj) => ({
@@ -67,6 +138,20 @@ var DeleteGroupOutput;
67
138
  ...obj,
68
139
  });
69
140
  })(DeleteGroupOutput = exports.DeleteGroupOutput || (exports.DeleteGroupOutput = {}));
141
+ class NotFoundException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
142
+ constructor(opts) {
143
+ super({
144
+ name: "NotFoundException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ this.name = "NotFoundException";
149
+ this.$fault = "client";
150
+ Object.setPrototypeOf(this, NotFoundException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.NotFoundException = NotFoundException;
70
155
  var GetGroupInput;
71
156
  (function (GetGroupInput) {
72
157
  GetGroupInput.filterSensitiveLog = (obj) => ({
@@ -200,6 +285,20 @@ var ListGroupResourcesOutput;
200
285
  ...obj,
201
286
  });
202
287
  })(ListGroupResourcesOutput = exports.ListGroupResourcesOutput || (exports.ListGroupResourcesOutput = {}));
288
+ class UnauthorizedException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
289
+ constructor(opts) {
290
+ super({
291
+ name: "UnauthorizedException",
292
+ $fault: "client",
293
+ ...opts,
294
+ });
295
+ this.name = "UnauthorizedException";
296
+ this.$fault = "client";
297
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
298
+ this.Message = opts.Message;
299
+ }
300
+ }
301
+ exports.UnauthorizedException = UnauthorizedException;
203
302
  var GroupFilterName;
204
303
  (function (GroupFilterName) {
205
304
  GroupFilterName["ConfigurationType"] = "configuration-type";