@aws-sdk/client-resource-groups 3.183.0 → 3.185.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/ResourceGroups.js +73 -66
- package/dist-es/ResourceGroupsClient.js +28 -22
- package/dist-es/commands/CreateGroupCommand.js +28 -21
- package/dist-es/commands/DeleteGroupCommand.js +28 -21
- package/dist-es/commands/GetGroupCommand.js +28 -21
- package/dist-es/commands/GetGroupConfigurationCommand.js +28 -21
- package/dist-es/commands/GetGroupQueryCommand.js +28 -21
- package/dist-es/commands/GetTagsCommand.js +28 -21
- package/dist-es/commands/GroupResourcesCommand.js +28 -21
- package/dist-es/commands/ListGroupResourcesCommand.js +28 -21
- package/dist-es/commands/ListGroupsCommand.js +28 -21
- package/dist-es/commands/PutGroupConfigurationCommand.js +28 -21
- package/dist-es/commands/SearchResourcesCommand.js +28 -21
- package/dist-es/commands/TagCommand.js +28 -21
- package/dist-es/commands/UngroupResourcesCommand.js +28 -21
- package/dist-es/commands/UntagCommand.js +28 -21
- package/dist-es/commands/UpdateGroupCommand.js +28 -21
- package/dist-es/commands/UpdateGroupQueryCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ResourceGroupsServiceException.js +10 -5
- package/dist-es/models/models_0.js +132 -225
- package/dist-es/pagination/ListGroupResourcesPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsPaginator.js +68 -25
- package/dist-es/pagination/SearchResourcesPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +1866 -1373
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-resource-groups
|
|
@@ -1630,10 +1630,10 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
1630
1630
|
}, {});
|
|
1631
1631
|
};
|
|
1632
1632
|
const deserializeMetadata = (output) => {
|
|
1633
|
-
var _a;
|
|
1633
|
+
var _a, _b;
|
|
1634
1634
|
return ({
|
|
1635
1635
|
httpStatusCode: output.statusCode,
|
|
1636
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1636
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1637
1637
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1638
1638
|
cfId: output.headers["x-amz-cf-id"],
|
|
1639
1639
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CreateGroupCommand } from "./commands/CreateGroupCommand";
|
|
2
3
|
import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
|
|
3
4
|
import { GetGroupCommand } from "./commands/GetGroupCommand";
|
|
@@ -15,229 +16,235 @@ import { UntagCommand } from "./commands/UntagCommand";
|
|
|
15
16
|
import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
|
|
16
17
|
import { UpdateGroupQueryCommand, } from "./commands/UpdateGroupQueryCommand";
|
|
17
18
|
import { ResourceGroupsClient } from "./ResourceGroupsClient";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
var ResourceGroups = (function (_super) {
|
|
20
|
+
__extends(ResourceGroups, _super);
|
|
21
|
+
function ResourceGroups() {
|
|
22
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
+
}
|
|
24
|
+
ResourceGroups.prototype.createGroup = function (args, optionsOrCb, cb) {
|
|
25
|
+
var command = new CreateGroupCommand(args);
|
|
21
26
|
if (typeof optionsOrCb === "function") {
|
|
22
27
|
this.send(command, optionsOrCb);
|
|
23
28
|
}
|
|
24
29
|
else if (typeof cb === "function") {
|
|
25
30
|
if (typeof optionsOrCb !== "object")
|
|
26
|
-
throw new Error(
|
|
31
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
27
32
|
this.send(command, optionsOrCb || {}, cb);
|
|
28
33
|
}
|
|
29
34
|
else {
|
|
30
35
|
return this.send(command, optionsOrCb);
|
|
31
36
|
}
|
|
32
|
-
}
|
|
33
|
-
deleteGroup(args, optionsOrCb, cb) {
|
|
34
|
-
|
|
37
|
+
};
|
|
38
|
+
ResourceGroups.prototype.deleteGroup = function (args, optionsOrCb, cb) {
|
|
39
|
+
var command = new DeleteGroupCommand(args);
|
|
35
40
|
if (typeof optionsOrCb === "function") {
|
|
36
41
|
this.send(command, optionsOrCb);
|
|
37
42
|
}
|
|
38
43
|
else if (typeof cb === "function") {
|
|
39
44
|
if (typeof optionsOrCb !== "object")
|
|
40
|
-
throw new Error(
|
|
45
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
41
46
|
this.send(command, optionsOrCb || {}, cb);
|
|
42
47
|
}
|
|
43
48
|
else {
|
|
44
49
|
return this.send(command, optionsOrCb);
|
|
45
50
|
}
|
|
46
|
-
}
|
|
47
|
-
getGroup(args, optionsOrCb, cb) {
|
|
48
|
-
|
|
51
|
+
};
|
|
52
|
+
ResourceGroups.prototype.getGroup = function (args, optionsOrCb, cb) {
|
|
53
|
+
var command = new GetGroupCommand(args);
|
|
49
54
|
if (typeof optionsOrCb === "function") {
|
|
50
55
|
this.send(command, optionsOrCb);
|
|
51
56
|
}
|
|
52
57
|
else if (typeof cb === "function") {
|
|
53
58
|
if (typeof optionsOrCb !== "object")
|
|
54
|
-
throw new Error(
|
|
59
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
55
60
|
this.send(command, optionsOrCb || {}, cb);
|
|
56
61
|
}
|
|
57
62
|
else {
|
|
58
63
|
return this.send(command, optionsOrCb);
|
|
59
64
|
}
|
|
60
|
-
}
|
|
61
|
-
getGroupConfiguration(args, optionsOrCb, cb) {
|
|
62
|
-
|
|
65
|
+
};
|
|
66
|
+
ResourceGroups.prototype.getGroupConfiguration = function (args, optionsOrCb, cb) {
|
|
67
|
+
var command = new GetGroupConfigurationCommand(args);
|
|
63
68
|
if (typeof optionsOrCb === "function") {
|
|
64
69
|
this.send(command, optionsOrCb);
|
|
65
70
|
}
|
|
66
71
|
else if (typeof cb === "function") {
|
|
67
72
|
if (typeof optionsOrCb !== "object")
|
|
68
|
-
throw new Error(
|
|
73
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
69
74
|
this.send(command, optionsOrCb || {}, cb);
|
|
70
75
|
}
|
|
71
76
|
else {
|
|
72
77
|
return this.send(command, optionsOrCb);
|
|
73
78
|
}
|
|
74
|
-
}
|
|
75
|
-
getGroupQuery(args, optionsOrCb, cb) {
|
|
76
|
-
|
|
79
|
+
};
|
|
80
|
+
ResourceGroups.prototype.getGroupQuery = function (args, optionsOrCb, cb) {
|
|
81
|
+
var command = new GetGroupQueryCommand(args);
|
|
77
82
|
if (typeof optionsOrCb === "function") {
|
|
78
83
|
this.send(command, optionsOrCb);
|
|
79
84
|
}
|
|
80
85
|
else if (typeof cb === "function") {
|
|
81
86
|
if (typeof optionsOrCb !== "object")
|
|
82
|
-
throw new Error(
|
|
87
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
83
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
84
89
|
}
|
|
85
90
|
else {
|
|
86
91
|
return this.send(command, optionsOrCb);
|
|
87
92
|
}
|
|
88
|
-
}
|
|
89
|
-
getTags(args, optionsOrCb, cb) {
|
|
90
|
-
|
|
93
|
+
};
|
|
94
|
+
ResourceGroups.prototype.getTags = function (args, optionsOrCb, cb) {
|
|
95
|
+
var command = new GetTagsCommand(args);
|
|
91
96
|
if (typeof optionsOrCb === "function") {
|
|
92
97
|
this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
99
|
else if (typeof cb === "function") {
|
|
95
100
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error(
|
|
101
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
97
102
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
103
|
}
|
|
99
104
|
else {
|
|
100
105
|
return this.send(command, optionsOrCb);
|
|
101
106
|
}
|
|
102
|
-
}
|
|
103
|
-
groupResources(args, optionsOrCb, cb) {
|
|
104
|
-
|
|
107
|
+
};
|
|
108
|
+
ResourceGroups.prototype.groupResources = function (args, optionsOrCb, cb) {
|
|
109
|
+
var command = new GroupResourcesCommand(args);
|
|
105
110
|
if (typeof optionsOrCb === "function") {
|
|
106
111
|
this.send(command, optionsOrCb);
|
|
107
112
|
}
|
|
108
113
|
else if (typeof cb === "function") {
|
|
109
114
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error(
|
|
115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
111
116
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
117
|
}
|
|
113
118
|
else {
|
|
114
119
|
return this.send(command, optionsOrCb);
|
|
115
120
|
}
|
|
116
|
-
}
|
|
117
|
-
listGroupResources(args, optionsOrCb, cb) {
|
|
118
|
-
|
|
121
|
+
};
|
|
122
|
+
ResourceGroups.prototype.listGroupResources = function (args, optionsOrCb, cb) {
|
|
123
|
+
var command = new ListGroupResourcesCommand(args);
|
|
119
124
|
if (typeof optionsOrCb === "function") {
|
|
120
125
|
this.send(command, optionsOrCb);
|
|
121
126
|
}
|
|
122
127
|
else if (typeof cb === "function") {
|
|
123
128
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error(
|
|
129
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
125
130
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
131
|
}
|
|
127
132
|
else {
|
|
128
133
|
return this.send(command, optionsOrCb);
|
|
129
134
|
}
|
|
130
|
-
}
|
|
131
|
-
listGroups(args, optionsOrCb, cb) {
|
|
132
|
-
|
|
135
|
+
};
|
|
136
|
+
ResourceGroups.prototype.listGroups = function (args, optionsOrCb, cb) {
|
|
137
|
+
var command = new ListGroupsCommand(args);
|
|
133
138
|
if (typeof optionsOrCb === "function") {
|
|
134
139
|
this.send(command, optionsOrCb);
|
|
135
140
|
}
|
|
136
141
|
else if (typeof cb === "function") {
|
|
137
142
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error(
|
|
143
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
139
144
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
145
|
}
|
|
141
146
|
else {
|
|
142
147
|
return this.send(command, optionsOrCb);
|
|
143
148
|
}
|
|
144
|
-
}
|
|
145
|
-
putGroupConfiguration(args, optionsOrCb, cb) {
|
|
146
|
-
|
|
149
|
+
};
|
|
150
|
+
ResourceGroups.prototype.putGroupConfiguration = function (args, optionsOrCb, cb) {
|
|
151
|
+
var command = new PutGroupConfigurationCommand(args);
|
|
147
152
|
if (typeof optionsOrCb === "function") {
|
|
148
153
|
this.send(command, optionsOrCb);
|
|
149
154
|
}
|
|
150
155
|
else if (typeof cb === "function") {
|
|
151
156
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error(
|
|
157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
153
158
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
159
|
}
|
|
155
160
|
else {
|
|
156
161
|
return this.send(command, optionsOrCb);
|
|
157
162
|
}
|
|
158
|
-
}
|
|
159
|
-
searchResources(args, optionsOrCb, cb) {
|
|
160
|
-
|
|
163
|
+
};
|
|
164
|
+
ResourceGroups.prototype.searchResources = function (args, optionsOrCb, cb) {
|
|
165
|
+
var command = new SearchResourcesCommand(args);
|
|
161
166
|
if (typeof optionsOrCb === "function") {
|
|
162
167
|
this.send(command, optionsOrCb);
|
|
163
168
|
}
|
|
164
169
|
else if (typeof cb === "function") {
|
|
165
170
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error(
|
|
171
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
167
172
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
173
|
}
|
|
169
174
|
else {
|
|
170
175
|
return this.send(command, optionsOrCb);
|
|
171
176
|
}
|
|
172
|
-
}
|
|
173
|
-
tag(args, optionsOrCb, cb) {
|
|
174
|
-
|
|
177
|
+
};
|
|
178
|
+
ResourceGroups.prototype.tag = function (args, optionsOrCb, cb) {
|
|
179
|
+
var command = new TagCommand(args);
|
|
175
180
|
if (typeof optionsOrCb === "function") {
|
|
176
181
|
this.send(command, optionsOrCb);
|
|
177
182
|
}
|
|
178
183
|
else if (typeof cb === "function") {
|
|
179
184
|
if (typeof optionsOrCb !== "object")
|
|
180
|
-
throw new Error(
|
|
185
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
181
186
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
187
|
}
|
|
183
188
|
else {
|
|
184
189
|
return this.send(command, optionsOrCb);
|
|
185
190
|
}
|
|
186
|
-
}
|
|
187
|
-
ungroupResources(args, optionsOrCb, cb) {
|
|
188
|
-
|
|
191
|
+
};
|
|
192
|
+
ResourceGroups.prototype.ungroupResources = function (args, optionsOrCb, cb) {
|
|
193
|
+
var command = new UngroupResourcesCommand(args);
|
|
189
194
|
if (typeof optionsOrCb === "function") {
|
|
190
195
|
this.send(command, optionsOrCb);
|
|
191
196
|
}
|
|
192
197
|
else if (typeof cb === "function") {
|
|
193
198
|
if (typeof optionsOrCb !== "object")
|
|
194
|
-
throw new Error(
|
|
199
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
195
200
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
201
|
}
|
|
197
202
|
else {
|
|
198
203
|
return this.send(command, optionsOrCb);
|
|
199
204
|
}
|
|
200
|
-
}
|
|
201
|
-
untag(args, optionsOrCb, cb) {
|
|
202
|
-
|
|
205
|
+
};
|
|
206
|
+
ResourceGroups.prototype.untag = function (args, optionsOrCb, cb) {
|
|
207
|
+
var command = new UntagCommand(args);
|
|
203
208
|
if (typeof optionsOrCb === "function") {
|
|
204
209
|
this.send(command, optionsOrCb);
|
|
205
210
|
}
|
|
206
211
|
else if (typeof cb === "function") {
|
|
207
212
|
if (typeof optionsOrCb !== "object")
|
|
208
|
-
throw new Error(
|
|
213
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
209
214
|
this.send(command, optionsOrCb || {}, cb);
|
|
210
215
|
}
|
|
211
216
|
else {
|
|
212
217
|
return this.send(command, optionsOrCb);
|
|
213
218
|
}
|
|
214
|
-
}
|
|
215
|
-
updateGroup(args, optionsOrCb, cb) {
|
|
216
|
-
|
|
219
|
+
};
|
|
220
|
+
ResourceGroups.prototype.updateGroup = function (args, optionsOrCb, cb) {
|
|
221
|
+
var command = new UpdateGroupCommand(args);
|
|
217
222
|
if (typeof optionsOrCb === "function") {
|
|
218
223
|
this.send(command, optionsOrCb);
|
|
219
224
|
}
|
|
220
225
|
else if (typeof cb === "function") {
|
|
221
226
|
if (typeof optionsOrCb !== "object")
|
|
222
|
-
throw new Error(
|
|
227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
223
228
|
this.send(command, optionsOrCb || {}, cb);
|
|
224
229
|
}
|
|
225
230
|
else {
|
|
226
231
|
return this.send(command, optionsOrCb);
|
|
227
232
|
}
|
|
228
|
-
}
|
|
229
|
-
updateGroupQuery(args, optionsOrCb, cb) {
|
|
230
|
-
|
|
233
|
+
};
|
|
234
|
+
ResourceGroups.prototype.updateGroupQuery = function (args, optionsOrCb, cb) {
|
|
235
|
+
var command = new UpdateGroupQueryCommand(args);
|
|
231
236
|
if (typeof optionsOrCb === "function") {
|
|
232
237
|
this.send(command, optionsOrCb);
|
|
233
238
|
}
|
|
234
239
|
else if (typeof cb === "function") {
|
|
235
240
|
if (typeof optionsOrCb !== "object")
|
|
236
|
-
throw new Error(
|
|
241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
237
242
|
this.send(command, optionsOrCb || {}, cb);
|
|
238
243
|
}
|
|
239
244
|
else {
|
|
240
245
|
return this.send(command, optionsOrCb);
|
|
241
246
|
}
|
|
242
|
-
}
|
|
243
|
-
|
|
247
|
+
};
|
|
248
|
+
return ResourceGroups;
|
|
249
|
+
}(ResourceGroupsClient));
|
|
250
|
+
export { ResourceGroups };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var ResourceGroupsClient = (function (_super) {
|
|
13
|
+
__extends(ResourceGroupsClient, _super);
|
|
14
|
+
function ResourceGroupsClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
ResourceGroupsClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ResourceGroupsClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ResourceGroupsClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateGroupInputFilterSensitiveLog, CreateGroupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateGroupCommand, serializeAws_restJson1CreateGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateGroupCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupCommand, _super);
|
|
8
|
+
function CreateGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsClient";
|
|
18
|
+
var commandName = "CreateGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateGroupInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateGroupOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteGroupInputFilterSensitiveLog, DeleteGroupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteGroupCommand, serializeAws_restJson1DeleteGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteGroupCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteGroupCommand, _super);
|
|
8
|
+
function DeleteGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsClient";
|
|
18
|
+
var commandName = "DeleteGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteGroupInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteGroupOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetGroupInputFilterSensitiveLog, GetGroupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetGroupCommand, serializeAws_restJson1GetGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetGroupCommand = (function (_super) {
|
|
7
|
+
__extends(GetGroupCommand, _super);
|
|
8
|
+
function GetGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsClient";
|
|
18
|
+
var commandName = "GetGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetGroupInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetGroupOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetGroupConfigurationInputFilterSensitiveLog, GetGroupConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetGroupConfigurationCommand, serializeAws_restJson1GetGroupConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetGroupConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(GetGroupConfigurationCommand, _super);
|
|
8
|
+
function GetGroupConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetGroupConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsClient";
|
|
18
|
+
var commandName = "GetGroupConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetGroupConfigurationInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetGroupConfigurationOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetGroupConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetGroupConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetGroupConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetGroupConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetGroupConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGroupConfigurationCommand };
|