@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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./ResourceGroupsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ResourceGroupsServiceException } from "./models/ResourceGroupsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ResourceGroupsServiceException = (function (_super) {
4
+ __extends(ResourceGroupsServiceException, _super);
5
+ function ResourceGroupsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ResourceGroupsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ResourceGroupsServiceException;
11
+ }(__ServiceException));
12
+ export { ResourceGroupsServiceException };
@@ -1,4 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
+ var BadRequestException = (function (_super) {
4
+ __extends(BadRequestException, _super);
5
+ function BadRequestException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
7
+ _this.name = "BadRequestException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
12
+ }
13
+ return BadRequestException;
14
+ }(__BaseException));
15
+ export { BadRequestException };
2
16
  export var GroupConfigurationParameter;
3
17
  (function (GroupConfigurationParameter) {
4
18
  GroupConfigurationParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -38,6 +52,58 @@ export var CreateGroupOutput;
38
52
  (function (CreateGroupOutput) {
39
53
  CreateGroupOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
54
  })(CreateGroupOutput || (CreateGroupOutput = {}));
55
+ var ForbiddenException = (function (_super) {
56
+ __extends(ForbiddenException, _super);
57
+ function ForbiddenException(opts) {
58
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
59
+ _this.name = "ForbiddenException";
60
+ _this.$fault = "client";
61
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
62
+ _this.Message = opts.Message;
63
+ return _this;
64
+ }
65
+ return ForbiddenException;
66
+ }(__BaseException));
67
+ export { ForbiddenException };
68
+ var InternalServerErrorException = (function (_super) {
69
+ __extends(InternalServerErrorException, _super);
70
+ function InternalServerErrorException(opts) {
71
+ var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
72
+ _this.name = "InternalServerErrorException";
73
+ _this.$fault = "server";
74
+ Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
75
+ _this.Message = opts.Message;
76
+ return _this;
77
+ }
78
+ return InternalServerErrorException;
79
+ }(__BaseException));
80
+ export { InternalServerErrorException };
81
+ var MethodNotAllowedException = (function (_super) {
82
+ __extends(MethodNotAllowedException, _super);
83
+ function MethodNotAllowedException(opts) {
84
+ var _this = _super.call(this, __assign({ name: "MethodNotAllowedException", $fault: "client" }, opts)) || this;
85
+ _this.name = "MethodNotAllowedException";
86
+ _this.$fault = "client";
87
+ Object.setPrototypeOf(_this, MethodNotAllowedException.prototype);
88
+ _this.Message = opts.Message;
89
+ return _this;
90
+ }
91
+ return MethodNotAllowedException;
92
+ }(__BaseException));
93
+ export { MethodNotAllowedException };
94
+ var TooManyRequestsException = (function (_super) {
95
+ __extends(TooManyRequestsException, _super);
96
+ function TooManyRequestsException(opts) {
97
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
98
+ _this.name = "TooManyRequestsException";
99
+ _this.$fault = "client";
100
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
101
+ _this.Message = opts.Message;
102
+ return _this;
103
+ }
104
+ return TooManyRequestsException;
105
+ }(__BaseException));
106
+ export { TooManyRequestsException };
41
107
  export var DeleteGroupInput;
42
108
  (function (DeleteGroupInput) {
43
109
  DeleteGroupInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -46,6 +112,19 @@ export var DeleteGroupOutput;
46
112
  (function (DeleteGroupOutput) {
47
113
  DeleteGroupOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
48
114
  })(DeleteGroupOutput || (DeleteGroupOutput = {}));
115
+ var NotFoundException = (function (_super) {
116
+ __extends(NotFoundException, _super);
117
+ function NotFoundException(opts) {
118
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
119
+ _this.name = "NotFoundException";
120
+ _this.$fault = "client";
121
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
122
+ _this.Message = opts.Message;
123
+ return _this;
124
+ }
125
+ return NotFoundException;
126
+ }(__BaseException));
127
+ export { NotFoundException };
49
128
  export var GetGroupInput;
50
129
  (function (GetGroupInput) {
51
130
  GetGroupInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -139,6 +218,19 @@ export var ListGroupResourcesOutput;
139
218
  (function (ListGroupResourcesOutput) {
140
219
  ListGroupResourcesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
141
220
  })(ListGroupResourcesOutput || (ListGroupResourcesOutput = {}));
221
+ var UnauthorizedException = (function (_super) {
222
+ __extends(UnauthorizedException, _super);
223
+ function UnauthorizedException(opts) {
224
+ var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
225
+ _this.name = "UnauthorizedException";
226
+ _this.$fault = "client";
227
+ Object.setPrototypeOf(_this, UnauthorizedException.prototype);
228
+ _this.Message = opts.Message;
229
+ return _this;
230
+ }
231
+ return UnauthorizedException;
232
+ }(__BaseException));
233
+ export { UnauthorizedException };
142
234
  export var GroupFilterName;
143
235
  (function (GroupFilterName) {
144
236
  GroupFilterName["ConfigurationType"] = "configuration-type";