@aws-sdk/client-resource-groups 3.315.0 → 3.316.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResourceGroups = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const CreateGroupCommand_1 = require("./commands/CreateGroupCommand");
5
6
  const DeleteGroupCommand_1 = require("./commands/DeleteGroupCommand");
6
7
  const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
@@ -20,258 +21,27 @@ const UpdateAccountSettingsCommand_1 = require("./commands/UpdateAccountSettings
20
21
  const UpdateGroupCommand_1 = require("./commands/UpdateGroupCommand");
21
22
  const UpdateGroupQueryCommand_1 = require("./commands/UpdateGroupQueryCommand");
22
23
  const ResourceGroupsClient_1 = require("./ResourceGroupsClient");
24
+ const commands = {
25
+ CreateGroupCommand: CreateGroupCommand_1.CreateGroupCommand,
26
+ DeleteGroupCommand: DeleteGroupCommand_1.DeleteGroupCommand,
27
+ GetAccountSettingsCommand: GetAccountSettingsCommand_1.GetAccountSettingsCommand,
28
+ GetGroupCommand: GetGroupCommand_1.GetGroupCommand,
29
+ GetGroupConfigurationCommand: GetGroupConfigurationCommand_1.GetGroupConfigurationCommand,
30
+ GetGroupQueryCommand: GetGroupQueryCommand_1.GetGroupQueryCommand,
31
+ GetTagsCommand: GetTagsCommand_1.GetTagsCommand,
32
+ GroupResourcesCommand: GroupResourcesCommand_1.GroupResourcesCommand,
33
+ ListGroupResourcesCommand: ListGroupResourcesCommand_1.ListGroupResourcesCommand,
34
+ ListGroupsCommand: ListGroupsCommand_1.ListGroupsCommand,
35
+ PutGroupConfigurationCommand: PutGroupConfigurationCommand_1.PutGroupConfigurationCommand,
36
+ SearchResourcesCommand: SearchResourcesCommand_1.SearchResourcesCommand,
37
+ TagCommand: TagCommand_1.TagCommand,
38
+ UngroupResourcesCommand: UngroupResourcesCommand_1.UngroupResourcesCommand,
39
+ UntagCommand: UntagCommand_1.UntagCommand,
40
+ UpdateAccountSettingsCommand: UpdateAccountSettingsCommand_1.UpdateAccountSettingsCommand,
41
+ UpdateGroupCommand: UpdateGroupCommand_1.UpdateGroupCommand,
42
+ UpdateGroupQueryCommand: UpdateGroupQueryCommand_1.UpdateGroupQueryCommand,
43
+ };
23
44
  class ResourceGroups extends ResourceGroupsClient_1.ResourceGroupsClient {
24
- createGroup(args, optionsOrCb, cb) {
25
- const command = new CreateGroupCommand_1.CreateGroupCommand(args);
26
- if (typeof optionsOrCb === "function") {
27
- this.send(command, optionsOrCb);
28
- }
29
- else if (typeof cb === "function") {
30
- if (typeof optionsOrCb !== "object")
31
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
32
- this.send(command, optionsOrCb || {}, cb);
33
- }
34
- else {
35
- return this.send(command, optionsOrCb);
36
- }
37
- }
38
- deleteGroup(args, optionsOrCb, cb) {
39
- const command = new DeleteGroupCommand_1.DeleteGroupCommand(args);
40
- if (typeof optionsOrCb === "function") {
41
- this.send(command, optionsOrCb);
42
- }
43
- else if (typeof cb === "function") {
44
- if (typeof optionsOrCb !== "object")
45
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
46
- this.send(command, optionsOrCb || {}, cb);
47
- }
48
- else {
49
- return this.send(command, optionsOrCb);
50
- }
51
- }
52
- getAccountSettings(args, optionsOrCb, cb) {
53
- const command = new GetAccountSettingsCommand_1.GetAccountSettingsCommand(args);
54
- if (typeof optionsOrCb === "function") {
55
- this.send(command, optionsOrCb);
56
- }
57
- else if (typeof cb === "function") {
58
- if (typeof optionsOrCb !== "object")
59
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
60
- this.send(command, optionsOrCb || {}, cb);
61
- }
62
- else {
63
- return this.send(command, optionsOrCb);
64
- }
65
- }
66
- getGroup(args, optionsOrCb, cb) {
67
- const command = new GetGroupCommand_1.GetGroupCommand(args);
68
- if (typeof optionsOrCb === "function") {
69
- this.send(command, optionsOrCb);
70
- }
71
- else if (typeof cb === "function") {
72
- if (typeof optionsOrCb !== "object")
73
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
74
- this.send(command, optionsOrCb || {}, cb);
75
- }
76
- else {
77
- return this.send(command, optionsOrCb);
78
- }
79
- }
80
- getGroupConfiguration(args, optionsOrCb, cb) {
81
- const command = new GetGroupConfigurationCommand_1.GetGroupConfigurationCommand(args);
82
- if (typeof optionsOrCb === "function") {
83
- this.send(command, optionsOrCb);
84
- }
85
- else if (typeof cb === "function") {
86
- if (typeof optionsOrCb !== "object")
87
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
88
- this.send(command, optionsOrCb || {}, cb);
89
- }
90
- else {
91
- return this.send(command, optionsOrCb);
92
- }
93
- }
94
- getGroupQuery(args, optionsOrCb, cb) {
95
- const command = new GetGroupQueryCommand_1.GetGroupQueryCommand(args);
96
- if (typeof optionsOrCb === "function") {
97
- this.send(command, optionsOrCb);
98
- }
99
- else if (typeof cb === "function") {
100
- if (typeof optionsOrCb !== "object")
101
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
102
- this.send(command, optionsOrCb || {}, cb);
103
- }
104
- else {
105
- return this.send(command, optionsOrCb);
106
- }
107
- }
108
- getTags(args, optionsOrCb, cb) {
109
- const command = new GetTagsCommand_1.GetTagsCommand(args);
110
- if (typeof optionsOrCb === "function") {
111
- this.send(command, optionsOrCb);
112
- }
113
- else if (typeof cb === "function") {
114
- if (typeof optionsOrCb !== "object")
115
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
116
- this.send(command, optionsOrCb || {}, cb);
117
- }
118
- else {
119
- return this.send(command, optionsOrCb);
120
- }
121
- }
122
- groupResources(args, optionsOrCb, cb) {
123
- const command = new GroupResourcesCommand_1.GroupResourcesCommand(args);
124
- if (typeof optionsOrCb === "function") {
125
- this.send(command, optionsOrCb);
126
- }
127
- else if (typeof cb === "function") {
128
- if (typeof optionsOrCb !== "object")
129
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
130
- this.send(command, optionsOrCb || {}, cb);
131
- }
132
- else {
133
- return this.send(command, optionsOrCb);
134
- }
135
- }
136
- listGroupResources(args, optionsOrCb, cb) {
137
- const command = new ListGroupResourcesCommand_1.ListGroupResourcesCommand(args);
138
- if (typeof optionsOrCb === "function") {
139
- this.send(command, optionsOrCb);
140
- }
141
- else if (typeof cb === "function") {
142
- if (typeof optionsOrCb !== "object")
143
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
144
- this.send(command, optionsOrCb || {}, cb);
145
- }
146
- else {
147
- return this.send(command, optionsOrCb);
148
- }
149
- }
150
- listGroups(args, optionsOrCb, cb) {
151
- const command = new ListGroupsCommand_1.ListGroupsCommand(args);
152
- if (typeof optionsOrCb === "function") {
153
- this.send(command, optionsOrCb);
154
- }
155
- else if (typeof cb === "function") {
156
- if (typeof optionsOrCb !== "object")
157
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
158
- this.send(command, optionsOrCb || {}, cb);
159
- }
160
- else {
161
- return this.send(command, optionsOrCb);
162
- }
163
- }
164
- putGroupConfiguration(args, optionsOrCb, cb) {
165
- const command = new PutGroupConfigurationCommand_1.PutGroupConfigurationCommand(args);
166
- if (typeof optionsOrCb === "function") {
167
- this.send(command, optionsOrCb);
168
- }
169
- else if (typeof cb === "function") {
170
- if (typeof optionsOrCb !== "object")
171
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
172
- this.send(command, optionsOrCb || {}, cb);
173
- }
174
- else {
175
- return this.send(command, optionsOrCb);
176
- }
177
- }
178
- searchResources(args, optionsOrCb, cb) {
179
- const command = new SearchResourcesCommand_1.SearchResourcesCommand(args);
180
- if (typeof optionsOrCb === "function") {
181
- this.send(command, optionsOrCb);
182
- }
183
- else if (typeof cb === "function") {
184
- if (typeof optionsOrCb !== "object")
185
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
186
- this.send(command, optionsOrCb || {}, cb);
187
- }
188
- else {
189
- return this.send(command, optionsOrCb);
190
- }
191
- }
192
- tag(args, optionsOrCb, cb) {
193
- const command = new TagCommand_1.TagCommand(args);
194
- if (typeof optionsOrCb === "function") {
195
- this.send(command, optionsOrCb);
196
- }
197
- else if (typeof cb === "function") {
198
- if (typeof optionsOrCb !== "object")
199
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
200
- this.send(command, optionsOrCb || {}, cb);
201
- }
202
- else {
203
- return this.send(command, optionsOrCb);
204
- }
205
- }
206
- ungroupResources(args, optionsOrCb, cb) {
207
- const command = new UngroupResourcesCommand_1.UngroupResourcesCommand(args);
208
- if (typeof optionsOrCb === "function") {
209
- this.send(command, optionsOrCb);
210
- }
211
- else if (typeof cb === "function") {
212
- if (typeof optionsOrCb !== "object")
213
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
214
- this.send(command, optionsOrCb || {}, cb);
215
- }
216
- else {
217
- return this.send(command, optionsOrCb);
218
- }
219
- }
220
- untag(args, optionsOrCb, cb) {
221
- const command = new UntagCommand_1.UntagCommand(args);
222
- if (typeof optionsOrCb === "function") {
223
- this.send(command, optionsOrCb);
224
- }
225
- else if (typeof cb === "function") {
226
- if (typeof optionsOrCb !== "object")
227
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
228
- this.send(command, optionsOrCb || {}, cb);
229
- }
230
- else {
231
- return this.send(command, optionsOrCb);
232
- }
233
- }
234
- updateAccountSettings(args, optionsOrCb, cb) {
235
- const command = new UpdateAccountSettingsCommand_1.UpdateAccountSettingsCommand(args);
236
- if (typeof optionsOrCb === "function") {
237
- this.send(command, optionsOrCb);
238
- }
239
- else if (typeof cb === "function") {
240
- if (typeof optionsOrCb !== "object")
241
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
242
- this.send(command, optionsOrCb || {}, cb);
243
- }
244
- else {
245
- return this.send(command, optionsOrCb);
246
- }
247
- }
248
- updateGroup(args, optionsOrCb, cb) {
249
- const command = new UpdateGroupCommand_1.UpdateGroupCommand(args);
250
- if (typeof optionsOrCb === "function") {
251
- this.send(command, optionsOrCb);
252
- }
253
- else if (typeof cb === "function") {
254
- if (typeof optionsOrCb !== "object")
255
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
256
- this.send(command, optionsOrCb || {}, cb);
257
- }
258
- else {
259
- return this.send(command, optionsOrCb);
260
- }
261
- }
262
- updateGroupQuery(args, optionsOrCb, cb) {
263
- const command = new UpdateGroupQueryCommand_1.UpdateGroupQueryCommand(args);
264
- if (typeof optionsOrCb === "function") {
265
- this.send(command, optionsOrCb);
266
- }
267
- else if (typeof cb === "function") {
268
- if (typeof optionsOrCb !== "object")
269
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
270
- this.send(command, optionsOrCb || {}, cb);
271
- }
272
- else {
273
- return this.send(command, optionsOrCb);
274
- }
275
- }
276
45
  }
277
46
  exports.ResourceGroups = ResourceGroups;
47
+ (0, smithy_client_1.createAggregatedClient)(commands, ResourceGroups);
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { CreateGroupCommand } from "./commands/CreateGroupCommand";
2
3
  import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
3
4
  import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand";
@@ -17,257 +18,26 @@ import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsC
17
18
  import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
18
19
  import { UpdateGroupQueryCommand, } from "./commands/UpdateGroupQueryCommand";
19
20
  import { ResourceGroupsClient } from "./ResourceGroupsClient";
21
+ const commands = {
22
+ CreateGroupCommand,
23
+ DeleteGroupCommand,
24
+ GetAccountSettingsCommand,
25
+ GetGroupCommand,
26
+ GetGroupConfigurationCommand,
27
+ GetGroupQueryCommand,
28
+ GetTagsCommand,
29
+ GroupResourcesCommand,
30
+ ListGroupResourcesCommand,
31
+ ListGroupsCommand,
32
+ PutGroupConfigurationCommand,
33
+ SearchResourcesCommand,
34
+ TagCommand,
35
+ UngroupResourcesCommand,
36
+ UntagCommand,
37
+ UpdateAccountSettingsCommand,
38
+ UpdateGroupCommand,
39
+ UpdateGroupQueryCommand,
40
+ };
20
41
  export class ResourceGroups extends ResourceGroupsClient {
21
- createGroup(args, optionsOrCb, cb) {
22
- const command = new CreateGroupCommand(args);
23
- if (typeof optionsOrCb === "function") {
24
- this.send(command, optionsOrCb);
25
- }
26
- else if (typeof cb === "function") {
27
- if (typeof optionsOrCb !== "object")
28
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
29
- this.send(command, optionsOrCb || {}, cb);
30
- }
31
- else {
32
- return this.send(command, optionsOrCb);
33
- }
34
- }
35
- deleteGroup(args, optionsOrCb, cb) {
36
- const command = new DeleteGroupCommand(args);
37
- if (typeof optionsOrCb === "function") {
38
- this.send(command, optionsOrCb);
39
- }
40
- else if (typeof cb === "function") {
41
- if (typeof optionsOrCb !== "object")
42
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
43
- this.send(command, optionsOrCb || {}, cb);
44
- }
45
- else {
46
- return this.send(command, optionsOrCb);
47
- }
48
- }
49
- getAccountSettings(args, optionsOrCb, cb) {
50
- const command = new GetAccountSettingsCommand(args);
51
- if (typeof optionsOrCb === "function") {
52
- this.send(command, optionsOrCb);
53
- }
54
- else if (typeof cb === "function") {
55
- if (typeof optionsOrCb !== "object")
56
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
57
- this.send(command, optionsOrCb || {}, cb);
58
- }
59
- else {
60
- return this.send(command, optionsOrCb);
61
- }
62
- }
63
- getGroup(args, optionsOrCb, cb) {
64
- const command = new GetGroupCommand(args);
65
- if (typeof optionsOrCb === "function") {
66
- this.send(command, optionsOrCb);
67
- }
68
- else if (typeof cb === "function") {
69
- if (typeof optionsOrCb !== "object")
70
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
71
- this.send(command, optionsOrCb || {}, cb);
72
- }
73
- else {
74
- return this.send(command, optionsOrCb);
75
- }
76
- }
77
- getGroupConfiguration(args, optionsOrCb, cb) {
78
- const command = new GetGroupConfigurationCommand(args);
79
- if (typeof optionsOrCb === "function") {
80
- this.send(command, optionsOrCb);
81
- }
82
- else if (typeof cb === "function") {
83
- if (typeof optionsOrCb !== "object")
84
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
85
- this.send(command, optionsOrCb || {}, cb);
86
- }
87
- else {
88
- return this.send(command, optionsOrCb);
89
- }
90
- }
91
- getGroupQuery(args, optionsOrCb, cb) {
92
- const command = new GetGroupQueryCommand(args);
93
- if (typeof optionsOrCb === "function") {
94
- this.send(command, optionsOrCb);
95
- }
96
- else if (typeof cb === "function") {
97
- if (typeof optionsOrCb !== "object")
98
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
99
- this.send(command, optionsOrCb || {}, cb);
100
- }
101
- else {
102
- return this.send(command, optionsOrCb);
103
- }
104
- }
105
- getTags(args, optionsOrCb, cb) {
106
- const command = new GetTagsCommand(args);
107
- if (typeof optionsOrCb === "function") {
108
- this.send(command, optionsOrCb);
109
- }
110
- else if (typeof cb === "function") {
111
- if (typeof optionsOrCb !== "object")
112
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
113
- this.send(command, optionsOrCb || {}, cb);
114
- }
115
- else {
116
- return this.send(command, optionsOrCb);
117
- }
118
- }
119
- groupResources(args, optionsOrCb, cb) {
120
- const command = new GroupResourcesCommand(args);
121
- if (typeof optionsOrCb === "function") {
122
- this.send(command, optionsOrCb);
123
- }
124
- else if (typeof cb === "function") {
125
- if (typeof optionsOrCb !== "object")
126
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
127
- this.send(command, optionsOrCb || {}, cb);
128
- }
129
- else {
130
- return this.send(command, optionsOrCb);
131
- }
132
- }
133
- listGroupResources(args, optionsOrCb, cb) {
134
- const command = new ListGroupResourcesCommand(args);
135
- if (typeof optionsOrCb === "function") {
136
- this.send(command, optionsOrCb);
137
- }
138
- else if (typeof cb === "function") {
139
- if (typeof optionsOrCb !== "object")
140
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
141
- this.send(command, optionsOrCb || {}, cb);
142
- }
143
- else {
144
- return this.send(command, optionsOrCb);
145
- }
146
- }
147
- listGroups(args, optionsOrCb, cb) {
148
- const command = new ListGroupsCommand(args);
149
- if (typeof optionsOrCb === "function") {
150
- this.send(command, optionsOrCb);
151
- }
152
- else if (typeof cb === "function") {
153
- if (typeof optionsOrCb !== "object")
154
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
155
- this.send(command, optionsOrCb || {}, cb);
156
- }
157
- else {
158
- return this.send(command, optionsOrCb);
159
- }
160
- }
161
- putGroupConfiguration(args, optionsOrCb, cb) {
162
- const command = new PutGroupConfigurationCommand(args);
163
- if (typeof optionsOrCb === "function") {
164
- this.send(command, optionsOrCb);
165
- }
166
- else if (typeof cb === "function") {
167
- if (typeof optionsOrCb !== "object")
168
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
169
- this.send(command, optionsOrCb || {}, cb);
170
- }
171
- else {
172
- return this.send(command, optionsOrCb);
173
- }
174
- }
175
- searchResources(args, optionsOrCb, cb) {
176
- const command = new SearchResourcesCommand(args);
177
- if (typeof optionsOrCb === "function") {
178
- this.send(command, optionsOrCb);
179
- }
180
- else if (typeof cb === "function") {
181
- if (typeof optionsOrCb !== "object")
182
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
183
- this.send(command, optionsOrCb || {}, cb);
184
- }
185
- else {
186
- return this.send(command, optionsOrCb);
187
- }
188
- }
189
- tag(args, optionsOrCb, cb) {
190
- const command = new TagCommand(args);
191
- if (typeof optionsOrCb === "function") {
192
- this.send(command, optionsOrCb);
193
- }
194
- else if (typeof cb === "function") {
195
- if (typeof optionsOrCb !== "object")
196
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
197
- this.send(command, optionsOrCb || {}, cb);
198
- }
199
- else {
200
- return this.send(command, optionsOrCb);
201
- }
202
- }
203
- ungroupResources(args, optionsOrCb, cb) {
204
- const command = new UngroupResourcesCommand(args);
205
- if (typeof optionsOrCb === "function") {
206
- this.send(command, optionsOrCb);
207
- }
208
- else if (typeof cb === "function") {
209
- if (typeof optionsOrCb !== "object")
210
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
211
- this.send(command, optionsOrCb || {}, cb);
212
- }
213
- else {
214
- return this.send(command, optionsOrCb);
215
- }
216
- }
217
- untag(args, optionsOrCb, cb) {
218
- const command = new UntagCommand(args);
219
- if (typeof optionsOrCb === "function") {
220
- this.send(command, optionsOrCb);
221
- }
222
- else if (typeof cb === "function") {
223
- if (typeof optionsOrCb !== "object")
224
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
225
- this.send(command, optionsOrCb || {}, cb);
226
- }
227
- else {
228
- return this.send(command, optionsOrCb);
229
- }
230
- }
231
- updateAccountSettings(args, optionsOrCb, cb) {
232
- const command = new UpdateAccountSettingsCommand(args);
233
- if (typeof optionsOrCb === "function") {
234
- this.send(command, optionsOrCb);
235
- }
236
- else if (typeof cb === "function") {
237
- if (typeof optionsOrCb !== "object")
238
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
239
- this.send(command, optionsOrCb || {}, cb);
240
- }
241
- else {
242
- return this.send(command, optionsOrCb);
243
- }
244
- }
245
- updateGroup(args, optionsOrCb, cb) {
246
- const command = new UpdateGroupCommand(args);
247
- if (typeof optionsOrCb === "function") {
248
- this.send(command, optionsOrCb);
249
- }
250
- else if (typeof cb === "function") {
251
- if (typeof optionsOrCb !== "object")
252
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
253
- this.send(command, optionsOrCb || {}, cb);
254
- }
255
- else {
256
- return this.send(command, optionsOrCb);
257
- }
258
- }
259
- updateGroupQuery(args, optionsOrCb, cb) {
260
- const command = new UpdateGroupQueryCommand(args);
261
- if (typeof optionsOrCb === "function") {
262
- this.send(command, optionsOrCb);
263
- }
264
- else if (typeof cb === "function") {
265
- if (typeof optionsOrCb !== "object")
266
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
267
- this.send(command, optionsOrCb || {}, cb);
268
- }
269
- else {
270
- return this.send(command, optionsOrCb);
271
- }
272
- }
273
42
  }
43
+ createAggregatedClient(commands, ResourceGroups);
@@ -18,422 +18,152 @@ import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput }
18
18
  import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
19
19
  import { UpdateGroupQueryCommandInput, UpdateGroupQueryCommandOutput } from "./commands/UpdateGroupQueryCommand";
20
20
  import { ResourceGroupsClient } from "./ResourceGroupsClient";
21
- /**
22
- * @public
23
- * <p>Resource Groups lets you organize Amazon Web Services resources such as Amazon Elastic Compute Cloud instances, Amazon Relational Database Service
24
- * databases, and Amazon Simple Storage Service buckets into groups using criteria that you define as tags. A
25
- * resource group is a collection of resources that match the resource types specified in a
26
- * query, and share one or more tags or portions of tags. You can create a group of
27
- * resources based on their roles in your cloud infrastructure, lifecycle stages, regions,
28
- * application layers, or virtually any criteria. Resource Groups enable you to automate management
29
- * tasks, such as those in Amazon Web Services Systems Manager Automation documents, on tag-related resources in
30
- * Amazon Web Services Systems Manager. Groups of tagged resources also let you quickly view a custom console in
31
- * Amazon Web Services Systems Manager that shows Config compliance and other monitoring data about member
32
- * resources.</p>
33
- * <p>To create a resource group, build a resource query, and specify tags that identify the
34
- * criteria that members of the group have in common. Tags are key-value pairs.</p>
35
- * <p>For more information about Resource Groups, see the <a href="https://docs.aws.amazon.com/ARG/latest/userguide/welcome.html">Resource Groups User Guide</a>.</p>
36
- * <p>Resource Groups uses a REST-compliant API that you can use to perform the following types of
37
- * operations.</p>
38
- * <ul>
39
- * <li>
40
- * <p>Create, Read, Update, and Delete (CRUD) operations on resource groups and
41
- * resource query entities</p>
42
- * </li>
43
- * <li>
44
- * <p>Applying, editing, and removing tags from resource groups</p>
45
- * </li>
46
- * <li>
47
- * <p>Resolving resource group member ARNs so they can be returned as search
48
- * results</p>
49
- * </li>
50
- * <li>
51
- * <p>Getting data about resources that are members of a group</p>
52
- * </li>
53
- * <li>
54
- * <p>Searching Amazon Web Services resources based on a resource query</p>
55
- * </li>
56
- * </ul>
57
- */
58
- export declare class ResourceGroups extends ResourceGroupsClient {
21
+ export interface ResourceGroups {
59
22
  /**
60
- * @public
61
- * <p>Creates a resource group with the specified name and description. You can optionally
62
- * include either a resource query or a service configuration. For more information about
63
- * constructing a resource query, see <a href="https://docs.aws.amazon.com/ARG/latest/userguide/getting_started-query.html">Build queries and groups in
64
- * Resource Groups</a> in the <i>Resource Groups User Guide</i>. For more information
65
- * about service-linked groups and service configurations, see <a href="https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html">Service configurations for Resource Groups</a>.</p>
66
- * <p>
67
- * <b>Minimum permissions</b>
68
- * </p>
69
- * <p>To run this command, you must have the following permissions:</p>
70
- * <ul>
71
- * <li>
72
- * <p>
73
- * <code>resource-groups:CreateGroup</code>
74
- * </p>
75
- * </li>
76
- * </ul>
23
+ * @see {@link CreateGroupCommand}
77
24
  */
78
25
  createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
79
26
  createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
80
27
  createGroup(args: CreateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
81
28
  /**
82
- * @public
83
- * <p>Deletes the specified resource group. Deleting a resource group does not delete any
84
- * resources that are members of the group; it only deletes the group structure.</p>
85
- * <p>
86
- * <b>Minimum permissions</b>
87
- * </p>
88
- * <p>To run this command, you must have the following permissions:</p>
89
- * <ul>
90
- * <li>
91
- * <p>
92
- * <code>resource-groups:DeleteGroup</code>
93
- * </p>
94
- * </li>
95
- * </ul>
29
+ * @see {@link DeleteGroupCommand}
96
30
  */
97
31
  deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
98
32
  deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
99
33
  deleteGroup(args: DeleteGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
100
34
  /**
101
- * @public
102
- * <p>Retrieves the current status of optional features in Resource Groups.</p>
35
+ * @see {@link GetAccountSettingsCommand}
103
36
  */
104
37
  getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
105
38
  getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
106
39
  getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
107
40
  /**
108
- * @public
109
- * <p>Returns information about a specified resource group.</p>
110
- * <p>
111
- * <b>Minimum permissions</b>
112
- * </p>
113
- * <p>To run this command, you must have the following permissions:</p>
114
- * <ul>
115
- * <li>
116
- * <p>
117
- * <code>resource-groups:GetGroup</code>
118
- * </p>
119
- * </li>
120
- * </ul>
41
+ * @see {@link GetGroupCommand}
121
42
  */
122
43
  getGroup(args: GetGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupCommandOutput>;
123
44
  getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
124
45
  getGroup(args: GetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
125
46
  /**
126
- * @public
127
- * <p>Retrieves the service configuration associated with the specified resource group. For
128
- * details about the service configuration syntax, see <a href="https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html">Service configurations for Resource Groups</a>.</p>
129
- * <p>
130
- * <b>Minimum permissions</b>
131
- * </p>
132
- * <p>To run this command, you must have the following permissions:</p>
133
- * <ul>
134
- * <li>
135
- * <p>
136
- * <code>resource-groups:GetGroupConfiguration</code>
137
- * </p>
138
- * </li>
139
- * </ul>
47
+ * @see {@link GetGroupConfigurationCommand}
140
48
  */
141
49
  getGroupConfiguration(args: GetGroupConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupConfigurationCommandOutput>;
142
50
  getGroupConfiguration(args: GetGroupConfigurationCommandInput, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
143
51
  getGroupConfiguration(args: GetGroupConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupConfigurationCommandOutput) => void): void;
144
52
  /**
145
- * @public
146
- * <p>Retrieves the resource query associated with the specified resource group. For more
147
- * information about resource queries, see <a href="https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag">Create
148
- * a tag-based group in Resource Groups</a>.</p>
149
- * <p>
150
- * <b>Minimum permissions</b>
151
- * </p>
152
- * <p>To run this command, you must have the following permissions:</p>
153
- * <ul>
154
- * <li>
155
- * <p>
156
- * <code>resource-groups:GetGroupQuery</code>
157
- * </p>
158
- * </li>
159
- * </ul>
53
+ * @see {@link GetGroupQueryCommand}
160
54
  */
161
55
  getGroupQuery(args: GetGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupQueryCommandOutput>;
162
56
  getGroupQuery(args: GetGroupQueryCommandInput, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
163
57
  getGroupQuery(args: GetGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupQueryCommandOutput) => void): void;
164
58
  /**
165
- * @public
166
- * <p>Returns a list of tags that are associated with a resource group, specified by an
167
- * ARN.</p>
168
- * <p>
169
- * <b>Minimum permissions</b>
170
- * </p>
171
- * <p>To run this command, you must have the following permissions:</p>
172
- * <ul>
173
- * <li>
174
- * <p>
175
- * <code>resource-groups:GetTags</code>
176
- * </p>
177
- * </li>
178
- * </ul>
59
+ * @see {@link GetTagsCommand}
179
60
  */
180
61
  getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
181
62
  getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
182
63
  getTags(args: GetTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
183
64
  /**
184
- * @public
185
- * <p>Adds the specified resources to the specified group.</p>
186
- * <important>
187
- * <p>You can use this operation with only resource groups that are configured with the
188
- * following types:</p>
189
- * <ul>
190
- * <li>
191
- * <p>
192
- * <code>AWS::EC2::HostManagement</code>
193
- * </p>
194
- * </li>
195
- * <li>
196
- * <p>
197
- * <code>AWS::EC2::CapacityReservationPool</code>
198
- * </p>
199
- * </li>
200
- * </ul>
201
- * <p>Other resource group type and resource types aren't currently supported by this
202
- * operation.</p>
203
- * </important>
204
- * <p>
205
- * <b>Minimum permissions</b>
206
- * </p>
207
- * <p>To run this command, you must have the following permissions:</p>
208
- * <ul>
209
- * <li>
210
- * <p>
211
- * <code>resource-groups:GroupResources</code>
212
- * </p>
213
- * </li>
214
- * </ul>
65
+ * @see {@link GroupResourcesCommand}
215
66
  */
216
67
  groupResources(args: GroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GroupResourcesCommandOutput>;
217
68
  groupResources(args: GroupResourcesCommandInput, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
218
69
  groupResources(args: GroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GroupResourcesCommandOutput) => void): void;
219
70
  /**
220
- * @public
221
- * <p>Returns a list of ARNs of the resources that are members of a specified resource
222
- * group.</p>
223
- * <p>
224
- * <b>Minimum permissions</b>
225
- * </p>
226
- * <p>To run this command, you must have the following permissions:</p>
227
- * <ul>
228
- * <li>
229
- * <p>
230
- * <code>resource-groups:ListGroupResources</code>
231
- * </p>
232
- * </li>
233
- * <li>
234
- * <p>
235
- * <code>cloudformation:DescribeStacks</code>
236
- * </p>
237
- * </li>
238
- * <li>
239
- * <p>
240
- * <code>cloudformation:ListStackResources</code>
241
- * </p>
242
- * </li>
243
- * <li>
244
- * <p>
245
- * <code>tag:GetResources</code>
246
- * </p>
247
- * </li>
248
- * </ul>
71
+ * @see {@link ListGroupResourcesCommand}
249
72
  */
250
73
  listGroupResources(args: ListGroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupResourcesCommandOutput>;
251
74
  listGroupResources(args: ListGroupResourcesCommandInput, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
252
75
  listGroupResources(args: ListGroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupResourcesCommandOutput) => void): void;
253
76
  /**
254
- * @public
255
- * <p>Returns a list of existing Resource Groups in your account.</p>
256
- * <p>
257
- * <b>Minimum permissions</b>
258
- * </p>
259
- * <p>To run this command, you must have the following permissions:</p>
260
- * <ul>
261
- * <li>
262
- * <p>
263
- * <code>resource-groups:ListGroups</code>
264
- * </p>
265
- * </li>
266
- * </ul>
77
+ * @see {@link ListGroupsCommand}
267
78
  */
268
79
  listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
269
80
  listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
270
81
  listGroups(args: ListGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
271
82
  /**
272
- * @public
273
- * <p>Attaches a service configuration to the specified group. This occurs asynchronously,
274
- * and can take time to complete. You can use <a>GetGroupConfiguration</a> to
275
- * check the status of the update.</p>
276
- * <p>
277
- * <b>Minimum permissions</b>
278
- * </p>
279
- * <p>To run this command, you must have the following permissions:</p>
280
- * <ul>
281
- * <li>
282
- * <p>
283
- * <code>resource-groups:PutGroupConfiguration</code>
284
- * </p>
285
- * </li>
286
- * </ul>
83
+ * @see {@link PutGroupConfigurationCommand}
287
84
  */
288
85
  putGroupConfiguration(args: PutGroupConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutGroupConfigurationCommandOutput>;
289
86
  putGroupConfiguration(args: PutGroupConfigurationCommandInput, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
290
87
  putGroupConfiguration(args: PutGroupConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutGroupConfigurationCommandOutput) => void): void;
291
88
  /**
292
- * @public
293
- * <p>Returns a list of Amazon Web Services resource identifiers that matches the specified query. The
294
- * query uses the same format as a resource query in a <a>CreateGroup</a> or
295
- * <a>UpdateGroupQuery</a> operation.</p>
296
- * <p>
297
- * <b>Minimum permissions</b>
298
- * </p>
299
- * <p>To run this command, you must have the following permissions:</p>
300
- * <ul>
301
- * <li>
302
- * <p>
303
- * <code>resource-groups:SearchResources</code>
304
- * </p>
305
- * </li>
306
- * <li>
307
- * <p>
308
- * <code>cloudformation:DescribeStacks</code>
309
- * </p>
310
- * </li>
311
- * <li>
312
- * <p>
313
- * <code>cloudformation:ListStackResources</code>
314
- * </p>
315
- * </li>
316
- * <li>
317
- * <p>
318
- * <code>tag:GetResources</code>
319
- * </p>
320
- * </li>
321
- * </ul>
89
+ * @see {@link SearchResourcesCommand}
322
90
  */
323
91
  searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
324
92
  searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
325
93
  searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
326
94
  /**
327
- * @public
328
- * <p>Adds tags to a resource group with the specified ARN. Existing tags on a resource
329
- * group are not changed if they are not specified in the request parameters.</p>
330
- * <important>
331
- * <p>Do not store personally identifiable information (PII) or other confidential or
332
- * sensitive information in tags. We use tags to provide you with billing and
333
- * administration services. Tags are not intended to be used for private or sensitive
334
- * data.</p>
335
- * </important>
336
- * <p>
337
- * <b>Minimum permissions</b>
338
- * </p>
339
- * <p>To run this command, you must have the following permissions:</p>
340
- * <ul>
341
- * <li>
342
- * <p>
343
- * <code>resource-groups:Tag</code>
344
- * </p>
345
- * </li>
346
- * </ul>
95
+ * @see {@link TagCommand}
347
96
  */
348
97
  tag(args: TagCommandInput, options?: __HttpHandlerOptions): Promise<TagCommandOutput>;
349
98
  tag(args: TagCommandInput, cb: (err: any, data?: TagCommandOutput) => void): void;
350
99
  tag(args: TagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagCommandOutput) => void): void;
351
100
  /**
352
- * @public
353
- * <p>Removes the specified resources from the specified group. This operation works only
354
- * with static groups that you populated using the <a>GroupResources</a>
355
- * operation. It doesn't work with any resource groups that are automatically populated by
356
- * tag-based or CloudFormation stack-based queries.</p>
357
- * <p>
358
- * <b>Minimum permissions</b>
359
- * </p>
360
- * <p>To run this command, you must have the following permissions:</p>
361
- * <ul>
362
- * <li>
363
- * <p>
364
- * <code>resource-groups:UngroupResources</code>
365
- * </p>
366
- * </li>
367
- * </ul>
101
+ * @see {@link UngroupResourcesCommand}
368
102
  */
369
103
  ungroupResources(args: UngroupResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UngroupResourcesCommandOutput>;
370
104
  ungroupResources(args: UngroupResourcesCommandInput, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
371
105
  ungroupResources(args: UngroupResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UngroupResourcesCommandOutput) => void): void;
372
106
  /**
373
- * @public
374
- * <p>Deletes tags from a specified resource group.</p>
375
- * <p>
376
- * <b>Minimum permissions</b>
377
- * </p>
378
- * <p>To run this command, you must have the following permissions:</p>
379
- * <ul>
380
- * <li>
381
- * <p>
382
- * <code>resource-groups:Untag</code>
383
- * </p>
384
- * </li>
385
- * </ul>
107
+ * @see {@link UntagCommand}
386
108
  */
387
109
  untag(args: UntagCommandInput, options?: __HttpHandlerOptions): Promise<UntagCommandOutput>;
388
110
  untag(args: UntagCommandInput, cb: (err: any, data?: UntagCommandOutput) => void): void;
389
111
  untag(args: UntagCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagCommandOutput) => void): void;
390
112
  /**
391
- * @public
392
- * <p>Turns on or turns off optional features in Resource Groups.</p>
393
- * <p>The preceding example shows that the request to turn on group lifecycle events is
394
- * <code>IN_PROGRESS</code>. You can call the <a>GetAccountSettings</a>
395
- * operation to check for completion by looking for <code>GroupLifecycleEventsStatus</code>
396
- * to change to <code>ACTIVE</code>.</p>
113
+ * @see {@link UpdateAccountSettingsCommand}
397
114
  */
398
115
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
399
116
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
400
117
  updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
401
118
  /**
402
- * @public
403
- * <p>Updates the description for an existing group. You cannot update the name of a
404
- * resource group.</p>
405
- * <p>
406
- * <b>Minimum permissions</b>
407
- * </p>
408
- * <p>To run this command, you must have the following permissions:</p>
409
- * <ul>
410
- * <li>
411
- * <p>
412
- * <code>resource-groups:UpdateGroup</code>
413
- * </p>
414
- * </li>
415
- * </ul>
119
+ * @see {@link UpdateGroupCommand}
416
120
  */
417
121
  updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupCommandOutput>;
418
122
  updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
419
123
  updateGroup(args: UpdateGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
420
124
  /**
421
- * @public
422
- * <p>Updates the resource query of a group. For more information about resource queries,
423
- * see <a href="https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag">Create a tag-based group in Resource Groups</a>.</p>
424
- * <p>
425
- * <b>Minimum permissions</b>
426
- * </p>
427
- * <p>To run this command, you must have the following permissions:</p>
428
- * <ul>
429
- * <li>
430
- * <p>
431
- * <code>resource-groups:UpdateGroupQuery</code>
432
- * </p>
433
- * </li>
434
- * </ul>
125
+ * @see {@link UpdateGroupQueryCommand}
435
126
  */
436
127
  updateGroupQuery(args: UpdateGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupQueryCommandOutput>;
437
128
  updateGroupQuery(args: UpdateGroupQueryCommandInput, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
438
129
  updateGroupQuery(args: UpdateGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
439
130
  }
131
+ /**
132
+ * @public
133
+ * <p>Resource Groups lets you organize Amazon Web Services resources such as Amazon Elastic Compute Cloud instances, Amazon Relational Database Service
134
+ * databases, and Amazon Simple Storage Service buckets into groups using criteria that you define as tags. A
135
+ * resource group is a collection of resources that match the resource types specified in a
136
+ * query, and share one or more tags or portions of tags. You can create a group of
137
+ * resources based on their roles in your cloud infrastructure, lifecycle stages, regions,
138
+ * application layers, or virtually any criteria. Resource Groups enable you to automate management
139
+ * tasks, such as those in Amazon Web Services Systems Manager Automation documents, on tag-related resources in
140
+ * Amazon Web Services Systems Manager. Groups of tagged resources also let you quickly view a custom console in
141
+ * Amazon Web Services Systems Manager that shows Config compliance and other monitoring data about member
142
+ * resources.</p>
143
+ * <p>To create a resource group, build a resource query, and specify tags that identify the
144
+ * criteria that members of the group have in common. Tags are key-value pairs.</p>
145
+ * <p>For more information about Resource Groups, see the <a href="https://docs.aws.amazon.com/ARG/latest/userguide/welcome.html">Resource Groups User Guide</a>.</p>
146
+ * <p>Resource Groups uses a REST-compliant API that you can use to perform the following types of
147
+ * operations.</p>
148
+ * <ul>
149
+ * <li>
150
+ * <p>Create, Read, Update, and Delete (CRUD) operations on resource groups and
151
+ * resource query entities</p>
152
+ * </li>
153
+ * <li>
154
+ * <p>Applying, editing, and removing tags from resource groups</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>Resolving resource group member ARNs so they can be returned as search
158
+ * results</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>Getting data about resources that are members of a group</p>
162
+ * </li>
163
+ * <li>
164
+ * <p>Searching Amazon Web Services resources based on a resource query</p>
165
+ * </li>
166
+ * </ul>
167
+ */
168
+ export declare class ResourceGroups extends ResourceGroupsClient implements ResourceGroups {
169
+ }
@@ -66,7 +66,7 @@ import {
66
66
  UpdateGroupQueryCommandOutput,
67
67
  } from "./commands/UpdateGroupQueryCommand";
68
68
  import { ResourceGroupsClient } from "./ResourceGroupsClient";
69
- export declare class ResourceGroups extends ResourceGroupsClient {
69
+ export interface ResourceGroups {
70
70
  createGroup(
71
71
  args: CreateGroupCommandInput,
72
72
  options?: __HttpHandlerOptions
@@ -302,3 +302,6 @@ export declare class ResourceGroups extends ResourceGroupsClient {
302
302
  cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void
303
303
  ): void;
304
304
  }
305
+ export declare class ResourceGroups
306
+ extends ResourceGroupsClient
307
+ implements ResourceGroups {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups",
3
3
  "description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",