@aws-sdk/client-service-catalog-appregistry 3.315.0 → 3.319.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.ServiceCatalogAppRegistry = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const AssociateAttributeGroupCommand_1 = require("./commands/AssociateAttributeGroupCommand");
5
6
  const AssociateResourceCommand_1 = require("./commands/AssociateResourceCommand");
6
7
  const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand");
@@ -26,342 +27,33 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
26
27
  const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
27
28
  const UpdateAttributeGroupCommand_1 = require("./commands/UpdateAttributeGroupCommand");
28
29
  const ServiceCatalogAppRegistryClient_1 = require("./ServiceCatalogAppRegistryClient");
30
+ const commands = {
31
+ AssociateAttributeGroupCommand: AssociateAttributeGroupCommand_1.AssociateAttributeGroupCommand,
32
+ AssociateResourceCommand: AssociateResourceCommand_1.AssociateResourceCommand,
33
+ CreateApplicationCommand: CreateApplicationCommand_1.CreateApplicationCommand,
34
+ CreateAttributeGroupCommand: CreateAttributeGroupCommand_1.CreateAttributeGroupCommand,
35
+ DeleteApplicationCommand: DeleteApplicationCommand_1.DeleteApplicationCommand,
36
+ DeleteAttributeGroupCommand: DeleteAttributeGroupCommand_1.DeleteAttributeGroupCommand,
37
+ DisassociateAttributeGroupCommand: DisassociateAttributeGroupCommand_1.DisassociateAttributeGroupCommand,
38
+ DisassociateResourceCommand: DisassociateResourceCommand_1.DisassociateResourceCommand,
39
+ GetApplicationCommand: GetApplicationCommand_1.GetApplicationCommand,
40
+ GetAssociatedResourceCommand: GetAssociatedResourceCommand_1.GetAssociatedResourceCommand,
41
+ GetAttributeGroupCommand: GetAttributeGroupCommand_1.GetAttributeGroupCommand,
42
+ GetConfigurationCommand: GetConfigurationCommand_1.GetConfigurationCommand,
43
+ ListApplicationsCommand: ListApplicationsCommand_1.ListApplicationsCommand,
44
+ ListAssociatedAttributeGroupsCommand: ListAssociatedAttributeGroupsCommand_1.ListAssociatedAttributeGroupsCommand,
45
+ ListAssociatedResourcesCommand: ListAssociatedResourcesCommand_1.ListAssociatedResourcesCommand,
46
+ ListAttributeGroupsCommand: ListAttributeGroupsCommand_1.ListAttributeGroupsCommand,
47
+ ListAttributeGroupsForApplicationCommand: ListAttributeGroupsForApplicationCommand_1.ListAttributeGroupsForApplicationCommand,
48
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
49
+ PutConfigurationCommand: PutConfigurationCommand_1.PutConfigurationCommand,
50
+ SyncResourceCommand: SyncResourceCommand_1.SyncResourceCommand,
51
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
52
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
53
+ UpdateApplicationCommand: UpdateApplicationCommand_1.UpdateApplicationCommand,
54
+ UpdateAttributeGroupCommand: UpdateAttributeGroupCommand_1.UpdateAttributeGroupCommand,
55
+ };
29
56
  class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient_1.ServiceCatalogAppRegistryClient {
30
- associateAttributeGroup(args, optionsOrCb, cb) {
31
- const command = new AssociateAttributeGroupCommand_1.AssociateAttributeGroupCommand(args);
32
- if (typeof optionsOrCb === "function") {
33
- this.send(command, optionsOrCb);
34
- }
35
- else if (typeof cb === "function") {
36
- if (typeof optionsOrCb !== "object")
37
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
38
- this.send(command, optionsOrCb || {}, cb);
39
- }
40
- else {
41
- return this.send(command, optionsOrCb);
42
- }
43
- }
44
- associateResource(args, optionsOrCb, cb) {
45
- const command = new AssociateResourceCommand_1.AssociateResourceCommand(args);
46
- if (typeof optionsOrCb === "function") {
47
- this.send(command, optionsOrCb);
48
- }
49
- else if (typeof cb === "function") {
50
- if (typeof optionsOrCb !== "object")
51
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
52
- this.send(command, optionsOrCb || {}, cb);
53
- }
54
- else {
55
- return this.send(command, optionsOrCb);
56
- }
57
- }
58
- createApplication(args, optionsOrCb, cb) {
59
- const command = new CreateApplicationCommand_1.CreateApplicationCommand(args);
60
- if (typeof optionsOrCb === "function") {
61
- this.send(command, optionsOrCb);
62
- }
63
- else if (typeof cb === "function") {
64
- if (typeof optionsOrCb !== "object")
65
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
66
- this.send(command, optionsOrCb || {}, cb);
67
- }
68
- else {
69
- return this.send(command, optionsOrCb);
70
- }
71
- }
72
- createAttributeGroup(args, optionsOrCb, cb) {
73
- const command = new CreateAttributeGroupCommand_1.CreateAttributeGroupCommand(args);
74
- if (typeof optionsOrCb === "function") {
75
- this.send(command, optionsOrCb);
76
- }
77
- else if (typeof cb === "function") {
78
- if (typeof optionsOrCb !== "object")
79
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
80
- this.send(command, optionsOrCb || {}, cb);
81
- }
82
- else {
83
- return this.send(command, optionsOrCb);
84
- }
85
- }
86
- deleteApplication(args, optionsOrCb, cb) {
87
- const command = new DeleteApplicationCommand_1.DeleteApplicationCommand(args);
88
- if (typeof optionsOrCb === "function") {
89
- this.send(command, optionsOrCb);
90
- }
91
- else if (typeof cb === "function") {
92
- if (typeof optionsOrCb !== "object")
93
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
94
- this.send(command, optionsOrCb || {}, cb);
95
- }
96
- else {
97
- return this.send(command, optionsOrCb);
98
- }
99
- }
100
- deleteAttributeGroup(args, optionsOrCb, cb) {
101
- const command = new DeleteAttributeGroupCommand_1.DeleteAttributeGroupCommand(args);
102
- if (typeof optionsOrCb === "function") {
103
- this.send(command, optionsOrCb);
104
- }
105
- else if (typeof cb === "function") {
106
- if (typeof optionsOrCb !== "object")
107
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
108
- this.send(command, optionsOrCb || {}, cb);
109
- }
110
- else {
111
- return this.send(command, optionsOrCb);
112
- }
113
- }
114
- disassociateAttributeGroup(args, optionsOrCb, cb) {
115
- const command = new DisassociateAttributeGroupCommand_1.DisassociateAttributeGroupCommand(args);
116
- if (typeof optionsOrCb === "function") {
117
- this.send(command, optionsOrCb);
118
- }
119
- else if (typeof cb === "function") {
120
- if (typeof optionsOrCb !== "object")
121
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
122
- this.send(command, optionsOrCb || {}, cb);
123
- }
124
- else {
125
- return this.send(command, optionsOrCb);
126
- }
127
- }
128
- disassociateResource(args, optionsOrCb, cb) {
129
- const command = new DisassociateResourceCommand_1.DisassociateResourceCommand(args);
130
- if (typeof optionsOrCb === "function") {
131
- this.send(command, optionsOrCb);
132
- }
133
- else if (typeof cb === "function") {
134
- if (typeof optionsOrCb !== "object")
135
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
136
- this.send(command, optionsOrCb || {}, cb);
137
- }
138
- else {
139
- return this.send(command, optionsOrCb);
140
- }
141
- }
142
- getApplication(args, optionsOrCb, cb) {
143
- const command = new GetApplicationCommand_1.GetApplicationCommand(args);
144
- if (typeof optionsOrCb === "function") {
145
- this.send(command, optionsOrCb);
146
- }
147
- else if (typeof cb === "function") {
148
- if (typeof optionsOrCb !== "object")
149
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
150
- this.send(command, optionsOrCb || {}, cb);
151
- }
152
- else {
153
- return this.send(command, optionsOrCb);
154
- }
155
- }
156
- getAssociatedResource(args, optionsOrCb, cb) {
157
- const command = new GetAssociatedResourceCommand_1.GetAssociatedResourceCommand(args);
158
- if (typeof optionsOrCb === "function") {
159
- this.send(command, optionsOrCb);
160
- }
161
- else if (typeof cb === "function") {
162
- if (typeof optionsOrCb !== "object")
163
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
164
- this.send(command, optionsOrCb || {}, cb);
165
- }
166
- else {
167
- return this.send(command, optionsOrCb);
168
- }
169
- }
170
- getAttributeGroup(args, optionsOrCb, cb) {
171
- const command = new GetAttributeGroupCommand_1.GetAttributeGroupCommand(args);
172
- if (typeof optionsOrCb === "function") {
173
- this.send(command, optionsOrCb);
174
- }
175
- else if (typeof cb === "function") {
176
- if (typeof optionsOrCb !== "object")
177
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
178
- this.send(command, optionsOrCb || {}, cb);
179
- }
180
- else {
181
- return this.send(command, optionsOrCb);
182
- }
183
- }
184
- getConfiguration(args, optionsOrCb, cb) {
185
- const command = new GetConfigurationCommand_1.GetConfigurationCommand(args);
186
- if (typeof optionsOrCb === "function") {
187
- this.send(command, optionsOrCb);
188
- }
189
- else if (typeof cb === "function") {
190
- if (typeof optionsOrCb !== "object")
191
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
192
- this.send(command, optionsOrCb || {}, cb);
193
- }
194
- else {
195
- return this.send(command, optionsOrCb);
196
- }
197
- }
198
- listApplications(args, optionsOrCb, cb) {
199
- const command = new ListApplicationsCommand_1.ListApplicationsCommand(args);
200
- if (typeof optionsOrCb === "function") {
201
- this.send(command, optionsOrCb);
202
- }
203
- else if (typeof cb === "function") {
204
- if (typeof optionsOrCb !== "object")
205
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
206
- this.send(command, optionsOrCb || {}, cb);
207
- }
208
- else {
209
- return this.send(command, optionsOrCb);
210
- }
211
- }
212
- listAssociatedAttributeGroups(args, optionsOrCb, cb) {
213
- const command = new ListAssociatedAttributeGroupsCommand_1.ListAssociatedAttributeGroupsCommand(args);
214
- if (typeof optionsOrCb === "function") {
215
- this.send(command, optionsOrCb);
216
- }
217
- else if (typeof cb === "function") {
218
- if (typeof optionsOrCb !== "object")
219
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
220
- this.send(command, optionsOrCb || {}, cb);
221
- }
222
- else {
223
- return this.send(command, optionsOrCb);
224
- }
225
- }
226
- listAssociatedResources(args, optionsOrCb, cb) {
227
- const command = new ListAssociatedResourcesCommand_1.ListAssociatedResourcesCommand(args);
228
- if (typeof optionsOrCb === "function") {
229
- this.send(command, optionsOrCb);
230
- }
231
- else if (typeof cb === "function") {
232
- if (typeof optionsOrCb !== "object")
233
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
234
- this.send(command, optionsOrCb || {}, cb);
235
- }
236
- else {
237
- return this.send(command, optionsOrCb);
238
- }
239
- }
240
- listAttributeGroups(args, optionsOrCb, cb) {
241
- const command = new ListAttributeGroupsCommand_1.ListAttributeGroupsCommand(args);
242
- if (typeof optionsOrCb === "function") {
243
- this.send(command, optionsOrCb);
244
- }
245
- else if (typeof cb === "function") {
246
- if (typeof optionsOrCb !== "object")
247
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
248
- this.send(command, optionsOrCb || {}, cb);
249
- }
250
- else {
251
- return this.send(command, optionsOrCb);
252
- }
253
- }
254
- listAttributeGroupsForApplication(args, optionsOrCb, cb) {
255
- const command = new ListAttributeGroupsForApplicationCommand_1.ListAttributeGroupsForApplicationCommand(args);
256
- if (typeof optionsOrCb === "function") {
257
- this.send(command, optionsOrCb);
258
- }
259
- else if (typeof cb === "function") {
260
- if (typeof optionsOrCb !== "object")
261
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
262
- this.send(command, optionsOrCb || {}, cb);
263
- }
264
- else {
265
- return this.send(command, optionsOrCb);
266
- }
267
- }
268
- listTagsForResource(args, optionsOrCb, cb) {
269
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
270
- if (typeof optionsOrCb === "function") {
271
- this.send(command, optionsOrCb);
272
- }
273
- else if (typeof cb === "function") {
274
- if (typeof optionsOrCb !== "object")
275
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
276
- this.send(command, optionsOrCb || {}, cb);
277
- }
278
- else {
279
- return this.send(command, optionsOrCb);
280
- }
281
- }
282
- putConfiguration(args, optionsOrCb, cb) {
283
- const command = new PutConfigurationCommand_1.PutConfigurationCommand(args);
284
- if (typeof optionsOrCb === "function") {
285
- this.send(command, optionsOrCb);
286
- }
287
- else if (typeof cb === "function") {
288
- if (typeof optionsOrCb !== "object")
289
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
290
- this.send(command, optionsOrCb || {}, cb);
291
- }
292
- else {
293
- return this.send(command, optionsOrCb);
294
- }
295
- }
296
- syncResource(args, optionsOrCb, cb) {
297
- const command = new SyncResourceCommand_1.SyncResourceCommand(args);
298
- if (typeof optionsOrCb === "function") {
299
- this.send(command, optionsOrCb);
300
- }
301
- else if (typeof cb === "function") {
302
- if (typeof optionsOrCb !== "object")
303
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
304
- this.send(command, optionsOrCb || {}, cb);
305
- }
306
- else {
307
- return this.send(command, optionsOrCb);
308
- }
309
- }
310
- tagResource(args, optionsOrCb, cb) {
311
- const command = new TagResourceCommand_1.TagResourceCommand(args);
312
- if (typeof optionsOrCb === "function") {
313
- this.send(command, optionsOrCb);
314
- }
315
- else if (typeof cb === "function") {
316
- if (typeof optionsOrCb !== "object")
317
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
318
- this.send(command, optionsOrCb || {}, cb);
319
- }
320
- else {
321
- return this.send(command, optionsOrCb);
322
- }
323
- }
324
- untagResource(args, optionsOrCb, cb) {
325
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
326
- if (typeof optionsOrCb === "function") {
327
- this.send(command, optionsOrCb);
328
- }
329
- else if (typeof cb === "function") {
330
- if (typeof optionsOrCb !== "object")
331
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
332
- this.send(command, optionsOrCb || {}, cb);
333
- }
334
- else {
335
- return this.send(command, optionsOrCb);
336
- }
337
- }
338
- updateApplication(args, optionsOrCb, cb) {
339
- const command = new UpdateApplicationCommand_1.UpdateApplicationCommand(args);
340
- if (typeof optionsOrCb === "function") {
341
- this.send(command, optionsOrCb);
342
- }
343
- else if (typeof cb === "function") {
344
- if (typeof optionsOrCb !== "object")
345
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
346
- this.send(command, optionsOrCb || {}, cb);
347
- }
348
- else {
349
- return this.send(command, optionsOrCb);
350
- }
351
- }
352
- updateAttributeGroup(args, optionsOrCb, cb) {
353
- const command = new UpdateAttributeGroupCommand_1.UpdateAttributeGroupCommand(args);
354
- if (typeof optionsOrCb === "function") {
355
- this.send(command, optionsOrCb);
356
- }
357
- else if (typeof cb === "function") {
358
- if (typeof optionsOrCb !== "object")
359
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
360
- this.send(command, optionsOrCb || {}, cb);
361
- }
362
- else {
363
- return this.send(command, optionsOrCb);
364
- }
365
- }
366
57
  }
367
58
  exports.ServiceCatalogAppRegistry = ServiceCatalogAppRegistry;
59
+ (0, smithy_client_1.createAggregatedClient)(commands, ServiceCatalogAppRegistry);
@@ -53,7 +53,7 @@ const se_CreateApplicationCommand = async (input, context) => {
53
53
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
54
54
  let body;
55
55
  body = JSON.stringify((0, smithy_client_1.take)(input, {
56
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
56
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
57
57
  description: [],
58
58
  name: [],
59
59
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -78,7 +78,7 @@ const se_CreateAttributeGroupCommand = async (input, context) => {
78
78
  let body;
79
79
  body = JSON.stringify((0, smithy_client_1.take)(input, {
80
80
  attributes: [],
81
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
81
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
82
82
  description: [],
83
83
  name: [],
84
84
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { AssociateAttributeGroupCommand, } from "./commands/AssociateAttributeGroupCommand";
2
3
  import { AssociateResourceCommand, } from "./commands/AssociateResourceCommand";
3
4
  import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
@@ -22,342 +23,33 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
22
23
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
23
24
  import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
24
25
  import { UpdateAttributeGroupCommand, } from "./commands/UpdateAttributeGroupCommand";
25
- import { ServiceCatalogAppRegistryClient } from "./ServiceCatalogAppRegistryClient";
26
+ import { ServiceCatalogAppRegistryClient, } from "./ServiceCatalogAppRegistryClient";
27
+ const commands = {
28
+ AssociateAttributeGroupCommand,
29
+ AssociateResourceCommand,
30
+ CreateApplicationCommand,
31
+ CreateAttributeGroupCommand,
32
+ DeleteApplicationCommand,
33
+ DeleteAttributeGroupCommand,
34
+ DisassociateAttributeGroupCommand,
35
+ DisassociateResourceCommand,
36
+ GetApplicationCommand,
37
+ GetAssociatedResourceCommand,
38
+ GetAttributeGroupCommand,
39
+ GetConfigurationCommand,
40
+ ListApplicationsCommand,
41
+ ListAssociatedAttributeGroupsCommand,
42
+ ListAssociatedResourcesCommand,
43
+ ListAttributeGroupsCommand,
44
+ ListAttributeGroupsForApplicationCommand,
45
+ ListTagsForResourceCommand,
46
+ PutConfigurationCommand,
47
+ SyncResourceCommand,
48
+ TagResourceCommand,
49
+ UntagResourceCommand,
50
+ UpdateApplicationCommand,
51
+ UpdateAttributeGroupCommand,
52
+ };
26
53
  export class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient {
27
- associateAttributeGroup(args, optionsOrCb, cb) {
28
- const command = new AssociateAttributeGroupCommand(args);
29
- if (typeof optionsOrCb === "function") {
30
- this.send(command, optionsOrCb);
31
- }
32
- else if (typeof cb === "function") {
33
- if (typeof optionsOrCb !== "object")
34
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
35
- this.send(command, optionsOrCb || {}, cb);
36
- }
37
- else {
38
- return this.send(command, optionsOrCb);
39
- }
40
- }
41
- associateResource(args, optionsOrCb, cb) {
42
- const command = new AssociateResourceCommand(args);
43
- if (typeof optionsOrCb === "function") {
44
- this.send(command, optionsOrCb);
45
- }
46
- else if (typeof cb === "function") {
47
- if (typeof optionsOrCb !== "object")
48
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
49
- this.send(command, optionsOrCb || {}, cb);
50
- }
51
- else {
52
- return this.send(command, optionsOrCb);
53
- }
54
- }
55
- createApplication(args, optionsOrCb, cb) {
56
- const command = new CreateApplicationCommand(args);
57
- if (typeof optionsOrCb === "function") {
58
- this.send(command, optionsOrCb);
59
- }
60
- else if (typeof cb === "function") {
61
- if (typeof optionsOrCb !== "object")
62
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
63
- this.send(command, optionsOrCb || {}, cb);
64
- }
65
- else {
66
- return this.send(command, optionsOrCb);
67
- }
68
- }
69
- createAttributeGroup(args, optionsOrCb, cb) {
70
- const command = new CreateAttributeGroupCommand(args);
71
- if (typeof optionsOrCb === "function") {
72
- this.send(command, optionsOrCb);
73
- }
74
- else if (typeof cb === "function") {
75
- if (typeof optionsOrCb !== "object")
76
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
77
- this.send(command, optionsOrCb || {}, cb);
78
- }
79
- else {
80
- return this.send(command, optionsOrCb);
81
- }
82
- }
83
- deleteApplication(args, optionsOrCb, cb) {
84
- const command = new DeleteApplicationCommand(args);
85
- if (typeof optionsOrCb === "function") {
86
- this.send(command, optionsOrCb);
87
- }
88
- else if (typeof cb === "function") {
89
- if (typeof optionsOrCb !== "object")
90
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
91
- this.send(command, optionsOrCb || {}, cb);
92
- }
93
- else {
94
- return this.send(command, optionsOrCb);
95
- }
96
- }
97
- deleteAttributeGroup(args, optionsOrCb, cb) {
98
- const command = new DeleteAttributeGroupCommand(args);
99
- if (typeof optionsOrCb === "function") {
100
- this.send(command, optionsOrCb);
101
- }
102
- else if (typeof cb === "function") {
103
- if (typeof optionsOrCb !== "object")
104
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
105
- this.send(command, optionsOrCb || {}, cb);
106
- }
107
- else {
108
- return this.send(command, optionsOrCb);
109
- }
110
- }
111
- disassociateAttributeGroup(args, optionsOrCb, cb) {
112
- const command = new DisassociateAttributeGroupCommand(args);
113
- if (typeof optionsOrCb === "function") {
114
- this.send(command, optionsOrCb);
115
- }
116
- else if (typeof cb === "function") {
117
- if (typeof optionsOrCb !== "object")
118
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
119
- this.send(command, optionsOrCb || {}, cb);
120
- }
121
- else {
122
- return this.send(command, optionsOrCb);
123
- }
124
- }
125
- disassociateResource(args, optionsOrCb, cb) {
126
- const command = new DisassociateResourceCommand(args);
127
- if (typeof optionsOrCb === "function") {
128
- this.send(command, optionsOrCb);
129
- }
130
- else if (typeof cb === "function") {
131
- if (typeof optionsOrCb !== "object")
132
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
133
- this.send(command, optionsOrCb || {}, cb);
134
- }
135
- else {
136
- return this.send(command, optionsOrCb);
137
- }
138
- }
139
- getApplication(args, optionsOrCb, cb) {
140
- const command = new GetApplicationCommand(args);
141
- if (typeof optionsOrCb === "function") {
142
- this.send(command, optionsOrCb);
143
- }
144
- else if (typeof cb === "function") {
145
- if (typeof optionsOrCb !== "object")
146
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
147
- this.send(command, optionsOrCb || {}, cb);
148
- }
149
- else {
150
- return this.send(command, optionsOrCb);
151
- }
152
- }
153
- getAssociatedResource(args, optionsOrCb, cb) {
154
- const command = new GetAssociatedResourceCommand(args);
155
- if (typeof optionsOrCb === "function") {
156
- this.send(command, optionsOrCb);
157
- }
158
- else if (typeof cb === "function") {
159
- if (typeof optionsOrCb !== "object")
160
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
161
- this.send(command, optionsOrCb || {}, cb);
162
- }
163
- else {
164
- return this.send(command, optionsOrCb);
165
- }
166
- }
167
- getAttributeGroup(args, optionsOrCb, cb) {
168
- const command = new GetAttributeGroupCommand(args);
169
- if (typeof optionsOrCb === "function") {
170
- this.send(command, optionsOrCb);
171
- }
172
- else if (typeof cb === "function") {
173
- if (typeof optionsOrCb !== "object")
174
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
175
- this.send(command, optionsOrCb || {}, cb);
176
- }
177
- else {
178
- return this.send(command, optionsOrCb);
179
- }
180
- }
181
- getConfiguration(args, optionsOrCb, cb) {
182
- const command = new GetConfigurationCommand(args);
183
- if (typeof optionsOrCb === "function") {
184
- this.send(command, optionsOrCb);
185
- }
186
- else if (typeof cb === "function") {
187
- if (typeof optionsOrCb !== "object")
188
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
189
- this.send(command, optionsOrCb || {}, cb);
190
- }
191
- else {
192
- return this.send(command, optionsOrCb);
193
- }
194
- }
195
- listApplications(args, optionsOrCb, cb) {
196
- const command = new ListApplicationsCommand(args);
197
- if (typeof optionsOrCb === "function") {
198
- this.send(command, optionsOrCb);
199
- }
200
- else if (typeof cb === "function") {
201
- if (typeof optionsOrCb !== "object")
202
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
203
- this.send(command, optionsOrCb || {}, cb);
204
- }
205
- else {
206
- return this.send(command, optionsOrCb);
207
- }
208
- }
209
- listAssociatedAttributeGroups(args, optionsOrCb, cb) {
210
- const command = new ListAssociatedAttributeGroupsCommand(args);
211
- if (typeof optionsOrCb === "function") {
212
- this.send(command, optionsOrCb);
213
- }
214
- else if (typeof cb === "function") {
215
- if (typeof optionsOrCb !== "object")
216
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
217
- this.send(command, optionsOrCb || {}, cb);
218
- }
219
- else {
220
- return this.send(command, optionsOrCb);
221
- }
222
- }
223
- listAssociatedResources(args, optionsOrCb, cb) {
224
- const command = new ListAssociatedResourcesCommand(args);
225
- if (typeof optionsOrCb === "function") {
226
- this.send(command, optionsOrCb);
227
- }
228
- else if (typeof cb === "function") {
229
- if (typeof optionsOrCb !== "object")
230
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
231
- this.send(command, optionsOrCb || {}, cb);
232
- }
233
- else {
234
- return this.send(command, optionsOrCb);
235
- }
236
- }
237
- listAttributeGroups(args, optionsOrCb, cb) {
238
- const command = new ListAttributeGroupsCommand(args);
239
- if (typeof optionsOrCb === "function") {
240
- this.send(command, optionsOrCb);
241
- }
242
- else if (typeof cb === "function") {
243
- if (typeof optionsOrCb !== "object")
244
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
245
- this.send(command, optionsOrCb || {}, cb);
246
- }
247
- else {
248
- return this.send(command, optionsOrCb);
249
- }
250
- }
251
- listAttributeGroupsForApplication(args, optionsOrCb, cb) {
252
- const command = new ListAttributeGroupsForApplicationCommand(args);
253
- if (typeof optionsOrCb === "function") {
254
- this.send(command, optionsOrCb);
255
- }
256
- else if (typeof cb === "function") {
257
- if (typeof optionsOrCb !== "object")
258
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
259
- this.send(command, optionsOrCb || {}, cb);
260
- }
261
- else {
262
- return this.send(command, optionsOrCb);
263
- }
264
- }
265
- listTagsForResource(args, optionsOrCb, cb) {
266
- const command = new ListTagsForResourceCommand(args);
267
- if (typeof optionsOrCb === "function") {
268
- this.send(command, optionsOrCb);
269
- }
270
- else if (typeof cb === "function") {
271
- if (typeof optionsOrCb !== "object")
272
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
273
- this.send(command, optionsOrCb || {}, cb);
274
- }
275
- else {
276
- return this.send(command, optionsOrCb);
277
- }
278
- }
279
- putConfiguration(args, optionsOrCb, cb) {
280
- const command = new PutConfigurationCommand(args);
281
- if (typeof optionsOrCb === "function") {
282
- this.send(command, optionsOrCb);
283
- }
284
- else if (typeof cb === "function") {
285
- if (typeof optionsOrCb !== "object")
286
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
287
- this.send(command, optionsOrCb || {}, cb);
288
- }
289
- else {
290
- return this.send(command, optionsOrCb);
291
- }
292
- }
293
- syncResource(args, optionsOrCb, cb) {
294
- const command = new SyncResourceCommand(args);
295
- if (typeof optionsOrCb === "function") {
296
- this.send(command, optionsOrCb);
297
- }
298
- else if (typeof cb === "function") {
299
- if (typeof optionsOrCb !== "object")
300
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
301
- this.send(command, optionsOrCb || {}, cb);
302
- }
303
- else {
304
- return this.send(command, optionsOrCb);
305
- }
306
- }
307
- tagResource(args, optionsOrCb, cb) {
308
- const command = new TagResourceCommand(args);
309
- if (typeof optionsOrCb === "function") {
310
- this.send(command, optionsOrCb);
311
- }
312
- else if (typeof cb === "function") {
313
- if (typeof optionsOrCb !== "object")
314
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
315
- this.send(command, optionsOrCb || {}, cb);
316
- }
317
- else {
318
- return this.send(command, optionsOrCb);
319
- }
320
- }
321
- untagResource(args, optionsOrCb, cb) {
322
- const command = new UntagResourceCommand(args);
323
- if (typeof optionsOrCb === "function") {
324
- this.send(command, optionsOrCb);
325
- }
326
- else if (typeof cb === "function") {
327
- if (typeof optionsOrCb !== "object")
328
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
329
- this.send(command, optionsOrCb || {}, cb);
330
- }
331
- else {
332
- return this.send(command, optionsOrCb);
333
- }
334
- }
335
- updateApplication(args, optionsOrCb, cb) {
336
- const command = new UpdateApplicationCommand(args);
337
- if (typeof optionsOrCb === "function") {
338
- this.send(command, optionsOrCb);
339
- }
340
- else if (typeof cb === "function") {
341
- if (typeof optionsOrCb !== "object")
342
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
343
- this.send(command, optionsOrCb || {}, cb);
344
- }
345
- else {
346
- return this.send(command, optionsOrCb);
347
- }
348
- }
349
- updateAttributeGroup(args, optionsOrCb, cb) {
350
- const command = new UpdateAttributeGroupCommand(args);
351
- if (typeof optionsOrCb === "function") {
352
- this.send(command, optionsOrCb);
353
- }
354
- else if (typeof cb === "function") {
355
- if (typeof optionsOrCb !== "object")
356
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
357
- this.send(command, optionsOrCb || {}, cb);
358
- }
359
- else {
360
- return this.send(command, optionsOrCb);
361
- }
362
- }
363
54
  }
55
+ createAggregatedClient(commands, ServiceCatalogAppRegistry);
@@ -48,7 +48,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
48
48
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
49
49
  let body;
50
50
  body = JSON.stringify(take(input, {
51
- clientToken: (_) => _ ?? generateIdempotencyToken(),
51
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
52
52
  description: [],
53
53
  name: [],
54
54
  tags: (_) => _json(_),
@@ -72,7 +72,7 @@ export const se_CreateAttributeGroupCommand = async (input, context) => {
72
72
  let body;
73
73
  body = JSON.stringify(take(input, {
74
74
  attributes: [],
75
- clientToken: (_) => _ ?? generateIdempotencyToken(),
75
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
76
76
  description: [],
77
77
  name: [],
78
78
  tags: (_) => _json(_),
@@ -24,242 +24,155 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
24
24
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
25
25
  import { UpdateAttributeGroupCommandInput, UpdateAttributeGroupCommandOutput } from "./commands/UpdateAttributeGroupCommand";
26
26
  import { ServiceCatalogAppRegistryClient } from "./ServiceCatalogAppRegistryClient";
27
- /**
28
- * @public
29
- * <p> Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.</p>
30
- */
31
- export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient {
27
+ export interface ServiceCatalogAppRegistry {
32
28
  /**
33
- * @public
34
- * <p>Associates an attribute group with an application to augment the application's metadata
35
- * with the group's attributes. This feature enables applications to be described with
36
- * user-defined details that are machine-readable, such as third-party integrations.</p>
29
+ * @see {@link AssociateAttributeGroupCommand}
37
30
  */
38
31
  associateAttributeGroup(args: AssociateAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAttributeGroupCommandOutput>;
39
32
  associateAttributeGroup(args: AssociateAttributeGroupCommandInput, cb: (err: any, data?: AssociateAttributeGroupCommandOutput) => void): void;
40
33
  associateAttributeGroup(args: AssociateAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAttributeGroupCommandOutput) => void): void;
41
34
  /**
42
- * @public
43
- * <p>
44
- * Associates a resource
45
- * with an application.
46
- * The resource can be specified
47
- * by its ARN or name.
48
- * The application can be specified
49
- * by ARN, ID, or name.
50
- * </p>
35
+ * @see {@link AssociateResourceCommand}
51
36
  */
52
37
  associateResource(args: AssociateResourceCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceCommandOutput>;
53
38
  associateResource(args: AssociateResourceCommandInput, cb: (err: any, data?: AssociateResourceCommandOutput) => void): void;
54
39
  associateResource(args: AssociateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceCommandOutput) => void): void;
55
40
  /**
56
- * @public
57
- * <p>Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.</p>
41
+ * @see {@link CreateApplicationCommand}
58
42
  */
59
43
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
60
44
  createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
61
45
  createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
62
46
  /**
63
- * @public
64
- * <p>Creates a new attribute group as a container for user-defined attributes. This feature
65
- * enables users to have full control over their cloud application's metadata in a rich
66
- * machine-readable format to facilitate integration with automated workflows and third-party
67
- * tools.</p>
47
+ * @see {@link CreateAttributeGroupCommand}
68
48
  */
69
49
  createAttributeGroup(args: CreateAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateAttributeGroupCommandOutput>;
70
50
  createAttributeGroup(args: CreateAttributeGroupCommandInput, cb: (err: any, data?: CreateAttributeGroupCommandOutput) => void): void;
71
51
  createAttributeGroup(args: CreateAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAttributeGroupCommandOutput) => void): void;
72
52
  /**
73
- * @public
74
- * <p>Deletes an application that is specified either by its application ID, name, or ARN. All associated attribute groups and resources must be disassociated from it before deleting an application.</p>
53
+ * @see {@link DeleteApplicationCommand}
75
54
  */
76
55
  deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
77
56
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
78
57
  deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
79
58
  /**
80
- * @public
81
- * <p>Deletes an attribute group, specified either by its attribute group ID, name, or ARN.</p>
59
+ * @see {@link DeleteAttributeGroupCommand}
82
60
  */
83
61
  deleteAttributeGroup(args: DeleteAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAttributeGroupCommandOutput>;
84
62
  deleteAttributeGroup(args: DeleteAttributeGroupCommandInput, cb: (err: any, data?: DeleteAttributeGroupCommandOutput) => void): void;
85
63
  deleteAttributeGroup(args: DeleteAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAttributeGroupCommandOutput) => void): void;
86
64
  /**
87
- * @public
88
- * <p>Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata. This operation reverts <code>AssociateAttributeGroup</code>.</p>
65
+ * @see {@link DisassociateAttributeGroupCommand}
89
66
  */
90
67
  disassociateAttributeGroup(args: DisassociateAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAttributeGroupCommandOutput>;
91
68
  disassociateAttributeGroup(args: DisassociateAttributeGroupCommandInput, cb: (err: any, data?: DisassociateAttributeGroupCommandOutput) => void): void;
92
69
  disassociateAttributeGroup(args: DisassociateAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAttributeGroupCommandOutput) => void): void;
93
70
  /**
94
- * @public
95
- * <p>Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.</p>
71
+ * @see {@link DisassociateResourceCommand}
96
72
  */
97
73
  disassociateResource(args: DisassociateResourceCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceCommandOutput>;
98
74
  disassociateResource(args: DisassociateResourceCommandInput, cb: (err: any, data?: DisassociateResourceCommandOutput) => void): void;
99
75
  disassociateResource(args: DisassociateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceCommandOutput) => void): void;
100
76
  /**
101
- * @public
102
- * <p>
103
- * Retrieves metadata information
104
- * about one
105
- * of your applications.
106
- * The application can be specified
107
- * by its ARN, ID, or name
108
- * (which is unique
109
- * within one account
110
- * in one region
111
- * at a given point
112
- * in time).
113
- * Specify
114
- * by ARN or ID
115
- * in automated workflows
116
- * if you want
117
- * to make sure
118
- * that the exact same application is returned or a <code>ResourceNotFoundException</code> is thrown,
119
- * avoiding the ABA addressing problem.
120
- * </p>
77
+ * @see {@link GetApplicationCommand}
121
78
  */
122
79
  getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
123
80
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
124
81
  getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
125
82
  /**
126
- * @public
127
- * <p>Gets the resource associated with the application.</p>
83
+ * @see {@link GetAssociatedResourceCommand}
128
84
  */
129
85
  getAssociatedResource(args: GetAssociatedResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetAssociatedResourceCommandOutput>;
130
86
  getAssociatedResource(args: GetAssociatedResourceCommandInput, cb: (err: any, data?: GetAssociatedResourceCommandOutput) => void): void;
131
87
  getAssociatedResource(args: GetAssociatedResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssociatedResourceCommandOutput) => void): void;
132
88
  /**
133
- * @public
134
- * <p>
135
- * Retrieves an attribute group
136
- * by its ARN, ID, or name.
137
- * The attribute group can be specified
138
- * by its ARN, ID, or name.
139
- * </p>
89
+ * @see {@link GetAttributeGroupCommand}
140
90
  */
141
91
  getAttributeGroup(args: GetAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetAttributeGroupCommandOutput>;
142
92
  getAttributeGroup(args: GetAttributeGroupCommandInput, cb: (err: any, data?: GetAttributeGroupCommandOutput) => void): void;
143
93
  getAttributeGroup(args: GetAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttributeGroupCommandOutput) => void): void;
144
94
  /**
145
- * @public
146
- * <p>
147
- * Retrieves a <code>TagKey</code> configuration
148
- * from an account.
149
- * </p>
95
+ * @see {@link GetConfigurationCommand}
150
96
  */
151
97
  getConfiguration(args: GetConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationCommandOutput>;
152
98
  getConfiguration(args: GetConfigurationCommandInput, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
153
99
  getConfiguration(args: GetConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
154
100
  /**
155
- * @public
156
- * <p>Retrieves a list of all of your applications. Results are paginated.</p>
101
+ * @see {@link ListApplicationsCommand}
157
102
  */
158
103
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
159
104
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
160
105
  listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
161
106
  /**
162
- * @public
163
- * <p>Lists all attribute groups that are associated with specified application. Results are paginated.</p>
107
+ * @see {@link ListAssociatedAttributeGroupsCommand}
164
108
  */
165
109
  listAssociatedAttributeGroups(args: ListAssociatedAttributeGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedAttributeGroupsCommandOutput>;
166
110
  listAssociatedAttributeGroups(args: ListAssociatedAttributeGroupsCommandInput, cb: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void): void;
167
111
  listAssociatedAttributeGroups(args: ListAssociatedAttributeGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void): void;
168
112
  /**
169
- * @public
170
- * <p>
171
- * Lists all
172
- * of the resources
173
- * that are associated
174
- * with the specified application.
175
- * Results are paginated.
176
- * </p>
177
- * <note>
178
- * <p>
179
- * If you share an application,
180
- * and a consumer account associates a tag query
181
- * to the application,
182
- * all of the users
183
- * who can access the application
184
- * can also view the tag values
185
- * in all accounts
186
- * that are associated
187
- * with it
188
- * using this API.
189
- * </p>
190
- * </note>
113
+ * @see {@link ListAssociatedResourcesCommand}
191
114
  */
192
115
  listAssociatedResources(args: ListAssociatedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedResourcesCommandOutput>;
193
116
  listAssociatedResources(args: ListAssociatedResourcesCommandInput, cb: (err: any, data?: ListAssociatedResourcesCommandOutput) => void): void;
194
117
  listAssociatedResources(args: ListAssociatedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedResourcesCommandOutput) => void): void;
195
118
  /**
196
- * @public
197
- * <p>Lists all attribute groups which you have access to. Results are paginated.</p>
119
+ * @see {@link ListAttributeGroupsCommand}
198
120
  */
199
121
  listAttributeGroups(args: ListAttributeGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListAttributeGroupsCommandOutput>;
200
122
  listAttributeGroups(args: ListAttributeGroupsCommandInput, cb: (err: any, data?: ListAttributeGroupsCommandOutput) => void): void;
201
123
  listAttributeGroups(args: ListAttributeGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttributeGroupsCommandOutput) => void): void;
202
124
  /**
203
- * @public
204
- * <p>Lists the details of all attribute groups associated with a specific application. The results display in pages.</p>
125
+ * @see {@link ListAttributeGroupsForApplicationCommand}
205
126
  */
206
127
  listAttributeGroupsForApplication(args: ListAttributeGroupsForApplicationCommandInput, options?: __HttpHandlerOptions): Promise<ListAttributeGroupsForApplicationCommandOutput>;
207
128
  listAttributeGroupsForApplication(args: ListAttributeGroupsForApplicationCommandInput, cb: (err: any, data?: ListAttributeGroupsForApplicationCommandOutput) => void): void;
208
129
  listAttributeGroupsForApplication(args: ListAttributeGroupsForApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttributeGroupsForApplicationCommandOutput) => void): void;
209
130
  /**
210
- * @public
211
- * <p>Lists all of the tags on the resource.</p>
131
+ * @see {@link ListTagsForResourceCommand}
212
132
  */
213
133
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
214
134
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
215
135
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
216
136
  /**
217
- * @public
218
- * <p>
219
- * Associates a <code>TagKey</code> configuration
220
- * to an account.
221
- * </p>
137
+ * @see {@link PutConfigurationCommand}
222
138
  */
223
139
  putConfiguration(args: PutConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutConfigurationCommandOutput>;
224
140
  putConfiguration(args: PutConfigurationCommandInput, cb: (err: any, data?: PutConfigurationCommandOutput) => void): void;
225
141
  putConfiguration(args: PutConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutConfigurationCommandOutput) => void): void;
226
142
  /**
227
- * @public
228
- * <p>Syncs the resource with current AppRegistry records.</p>
229
- * <p>Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.</p>
143
+ * @see {@link SyncResourceCommand}
230
144
  */
231
145
  syncResource(args: SyncResourceCommandInput, options?: __HttpHandlerOptions): Promise<SyncResourceCommandOutput>;
232
146
  syncResource(args: SyncResourceCommandInput, cb: (err: any, data?: SyncResourceCommandOutput) => void): void;
233
147
  syncResource(args: SyncResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SyncResourceCommandOutput) => void): void;
234
148
  /**
235
- * @public
236
- * <p>Assigns one or more tags (key-value pairs) to the specified resource.</p>
237
- * <p>Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.</p>
238
- * <p>This operation returns an empty response if the call was successful.</p>
149
+ * @see {@link TagResourceCommand}
239
150
  */
240
151
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
241
152
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
242
153
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
243
154
  /**
244
- * @public
245
- * <p>Removes tags from a resource.</p>
246
- * <p>This operation returns an empty response if the call was successful.</p>
155
+ * @see {@link UntagResourceCommand}
247
156
  */
248
157
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
249
158
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
250
159
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
251
160
  /**
252
- * @public
253
- * <p>Updates an existing application with new attributes.</p>
161
+ * @see {@link UpdateApplicationCommand}
254
162
  */
255
163
  updateApplication(args: UpdateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationCommandOutput>;
256
164
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
257
165
  updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
258
166
  /**
259
- * @public
260
- * <p>Updates an existing attribute group with new details. </p>
167
+ * @see {@link UpdateAttributeGroupCommand}
261
168
  */
262
169
  updateAttributeGroup(args: UpdateAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAttributeGroupCommandOutput>;
263
170
  updateAttributeGroup(args: UpdateAttributeGroupCommandInput, cb: (err: any, data?: UpdateAttributeGroupCommandOutput) => void): void;
264
171
  updateAttributeGroup(args: UpdateAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAttributeGroupCommandOutput) => void): void;
265
172
  }
173
+ /**
174
+ * @public
175
+ * <p> Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.</p>
176
+ */
177
+ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient implements ServiceCatalogAppRegistry {
178
+ }
@@ -96,7 +96,7 @@ import {
96
96
  UpdateAttributeGroupCommandOutput,
97
97
  } from "./commands/UpdateAttributeGroupCommand";
98
98
  import { ServiceCatalogAppRegistryClient } from "./ServiceCatalogAppRegistryClient";
99
- export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistryClient {
99
+ export interface ServiceCatalogAppRegistry {
100
100
  associateAttributeGroup(
101
101
  args: AssociateAttributeGroupCommandInput,
102
102
  options?: __HttpHandlerOptions
@@ -416,3 +416,6 @@ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistry
416
416
  cb: (err: any, data?: UpdateAttributeGroupCommandOutput) => void
417
417
  ): void;
418
418
  }
419
+ export declare class ServiceCatalogAppRegistry
420
+ extends ServiceCatalogAppRegistryClient
421
+ implements ServiceCatalogAppRegistry {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog-appregistry",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.319.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.319.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.319.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",
@@ -36,19 +36,19 @@
36
36
  "@aws-sdk/middleware-serde": "3.310.0",
37
37
  "@aws-sdk/middleware-signing": "3.310.0",
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.319.0",
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",
51
- "@aws-sdk/util-endpoints": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",