@aws-sdk/client-resource-groups 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +793 -1042
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ResourceGroupsClient.js +2 -0
- package/dist-es/commands/CancelTagSyncTaskCommand.js +3 -9
- package/dist-es/commands/CreateGroupCommand.js +3 -9
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
- package/dist-es/commands/GetGroupCommand.js +3 -9
- package/dist-es/commands/GetGroupConfigurationCommand.js +3 -9
- package/dist-es/commands/GetGroupQueryCommand.js +3 -9
- package/dist-es/commands/GetTagSyncTaskCommand.js +3 -9
- package/dist-es/commands/GetTagsCommand.js +3 -9
- package/dist-es/commands/GroupResourcesCommand.js +3 -9
- package/dist-es/commands/ListGroupResourcesCommand.js +3 -9
- package/dist-es/commands/ListGroupingStatusesCommand.js +3 -9
- package/dist-es/commands/ListGroupsCommand.js +3 -9
- package/dist-es/commands/ListTagSyncTasksCommand.js +3 -9
- package/dist-es/commands/PutGroupConfigurationCommand.js +3 -9
- package/dist-es/commands/SearchResourcesCommand.js +3 -9
- package/dist-es/commands/StartTagSyncTaskCommand.js +3 -9
- package/dist-es/commands/TagCommand.js +3 -9
- package/dist-es/commands/UngroupResourcesCommand.js +3 -9
- package/dist-es/commands/UntagCommand.js +3 -9
- package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateGroupCommand.js +3 -9
- package/dist-es/commands/UpdateGroupQueryCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +736 -0
- package/dist-types/ResourceGroupsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +120 -0
- package/dist-types/ts3.4/ResourceGroupsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +125 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -865
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -209
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -278
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class ResourceGroupsClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,12 +110,12 @@ class ResourceGroupsClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class ResourceGroupsServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let ResourceGroupsServiceException$1 = class ResourceGroupsServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, ResourceGroupsServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
120
|
const GroupLifecycleEventsDesiredStatus = {
|
|
121
121
|
ACTIVE: "ACTIVE",
|
|
@@ -127,7 +127,7 @@ const GroupLifecycleEventsStatus = {
|
|
|
127
127
|
INACTIVE: "INACTIVE",
|
|
128
128
|
IN_PROGRESS: "IN_PROGRESS",
|
|
129
129
|
};
|
|
130
|
-
class BadRequestException extends ResourceGroupsServiceException {
|
|
130
|
+
let BadRequestException$1 = class BadRequestException extends ResourceGroupsServiceException$1 {
|
|
131
131
|
name = "BadRequestException";
|
|
132
132
|
$fault = "client";
|
|
133
133
|
Message;
|
|
@@ -140,8 +140,8 @@ class BadRequestException extends ResourceGroupsServiceException {
|
|
|
140
140
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
141
141
|
this.Message = opts.Message;
|
|
142
142
|
}
|
|
143
|
-
}
|
|
144
|
-
class ForbiddenException extends ResourceGroupsServiceException {
|
|
143
|
+
};
|
|
144
|
+
let ForbiddenException$1 = class ForbiddenException extends ResourceGroupsServiceException$1 {
|
|
145
145
|
name = "ForbiddenException";
|
|
146
146
|
$fault = "client";
|
|
147
147
|
Message;
|
|
@@ -154,8 +154,8 @@ class ForbiddenException extends ResourceGroupsServiceException {
|
|
|
154
154
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
155
155
|
this.Message = opts.Message;
|
|
156
156
|
}
|
|
157
|
-
}
|
|
158
|
-
class InternalServerErrorException extends ResourceGroupsServiceException {
|
|
157
|
+
};
|
|
158
|
+
let InternalServerErrorException$1 = class InternalServerErrorException extends ResourceGroupsServiceException$1 {
|
|
159
159
|
name = "InternalServerErrorException";
|
|
160
160
|
$fault = "server";
|
|
161
161
|
Message;
|
|
@@ -168,8 +168,8 @@ class InternalServerErrorException extends ResourceGroupsServiceException {
|
|
|
168
168
|
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
169
169
|
this.Message = opts.Message;
|
|
170
170
|
}
|
|
171
|
-
}
|
|
172
|
-
class MethodNotAllowedException extends ResourceGroupsServiceException {
|
|
171
|
+
};
|
|
172
|
+
let MethodNotAllowedException$1 = class MethodNotAllowedException extends ResourceGroupsServiceException$1 {
|
|
173
173
|
name = "MethodNotAllowedException";
|
|
174
174
|
$fault = "client";
|
|
175
175
|
Message;
|
|
@@ -182,8 +182,8 @@ class MethodNotAllowedException extends ResourceGroupsServiceException {
|
|
|
182
182
|
Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
|
|
183
183
|
this.Message = opts.Message;
|
|
184
184
|
}
|
|
185
|
-
}
|
|
186
|
-
class TooManyRequestsException extends ResourceGroupsServiceException {
|
|
185
|
+
};
|
|
186
|
+
let TooManyRequestsException$1 = class TooManyRequestsException extends ResourceGroupsServiceException$1 {
|
|
187
187
|
name = "TooManyRequestsException";
|
|
188
188
|
$fault = "client";
|
|
189
189
|
Message;
|
|
@@ -196,8 +196,8 @@ class TooManyRequestsException extends ResourceGroupsServiceException {
|
|
|
196
196
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
197
197
|
this.Message = opts.Message;
|
|
198
198
|
}
|
|
199
|
-
}
|
|
200
|
-
class UnauthorizedException extends ResourceGroupsServiceException {
|
|
199
|
+
};
|
|
200
|
+
let UnauthorizedException$1 = class UnauthorizedException extends ResourceGroupsServiceException$1 {
|
|
201
201
|
name = "UnauthorizedException";
|
|
202
202
|
$fault = "client";
|
|
203
203
|
Message;
|
|
@@ -210,7 +210,7 @@ class UnauthorizedException extends ResourceGroupsServiceException {
|
|
|
210
210
|
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
211
211
|
this.Message = opts.Message;
|
|
212
212
|
}
|
|
213
|
-
}
|
|
213
|
+
};
|
|
214
214
|
const QueryType = {
|
|
215
215
|
CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0",
|
|
216
216
|
TAG_FILTERS_1_0: "TAG_FILTERS_1_0",
|
|
@@ -220,7 +220,7 @@ const GroupConfigurationStatus = {
|
|
|
220
220
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
221
221
|
UPDATING: "UPDATING",
|
|
222
222
|
};
|
|
223
|
-
class NotFoundException extends ResourceGroupsServiceException {
|
|
223
|
+
let NotFoundException$1 = class NotFoundException extends ResourceGroupsServiceException$1 {
|
|
224
224
|
name = "NotFoundException";
|
|
225
225
|
$fault = "client";
|
|
226
226
|
Message;
|
|
@@ -233,7 +233,7 @@ class NotFoundException extends ResourceGroupsServiceException {
|
|
|
233
233
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
234
234
|
this.Message = opts.Message;
|
|
235
235
|
}
|
|
236
|
-
}
|
|
236
|
+
};
|
|
237
237
|
const TagSyncTaskStatus = {
|
|
238
238
|
ACTIVE: "ACTIVE",
|
|
239
239
|
ERROR: "ERROR",
|
|
@@ -272,880 +272,741 @@ const GroupFilterName = {
|
|
|
272
272
|
ResourceType: "resource-type",
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
const
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
const
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
const
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
const
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
GroupName: [],
|
|
367
|
-
}));
|
|
368
|
-
b.m("POST").h(headers).b(body);
|
|
369
|
-
return b.build();
|
|
370
|
-
};
|
|
371
|
-
const se_GetTagsCommand = async (input, context) => {
|
|
372
|
-
const b = core.requestBuilder(input, context);
|
|
373
|
-
const headers = {};
|
|
374
|
-
b.bp("/resources/{Arn}/tags");
|
|
375
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
376
|
-
let body;
|
|
377
|
-
b.m("GET").h(headers).b(body);
|
|
378
|
-
return b.build();
|
|
379
|
-
};
|
|
380
|
-
const se_GetTagSyncTaskCommand = async (input, context) => {
|
|
381
|
-
const b = core.requestBuilder(input, context);
|
|
382
|
-
const headers = {
|
|
383
|
-
"content-type": "application/json",
|
|
384
|
-
};
|
|
385
|
-
b.bp("/get-tag-sync-task");
|
|
386
|
-
let body;
|
|
387
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
388
|
-
TaskArn: [],
|
|
389
|
-
}));
|
|
390
|
-
b.m("POST").h(headers).b(body);
|
|
391
|
-
return b.build();
|
|
392
|
-
};
|
|
393
|
-
const se_GroupResourcesCommand = async (input, context) => {
|
|
394
|
-
const b = core.requestBuilder(input, context);
|
|
395
|
-
const headers = {
|
|
396
|
-
"content-type": "application/json",
|
|
397
|
-
};
|
|
398
|
-
b.bp("/group-resources");
|
|
399
|
-
let body;
|
|
400
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
401
|
-
Group: [],
|
|
402
|
-
ResourceArns: (_) => smithyClient._json(_),
|
|
403
|
-
}));
|
|
404
|
-
b.m("POST").h(headers).b(body);
|
|
405
|
-
return b.build();
|
|
406
|
-
};
|
|
407
|
-
const se_ListGroupingStatusesCommand = async (input, context) => {
|
|
408
|
-
const b = core.requestBuilder(input, context);
|
|
409
|
-
const headers = {
|
|
410
|
-
"content-type": "application/json",
|
|
411
|
-
};
|
|
412
|
-
b.bp("/list-grouping-statuses");
|
|
413
|
-
let body;
|
|
414
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
415
|
-
Filters: (_) => smithyClient._json(_),
|
|
416
|
-
Group: [],
|
|
417
|
-
MaxResults: [],
|
|
418
|
-
NextToken: [],
|
|
419
|
-
}));
|
|
420
|
-
b.m("POST").h(headers).b(body);
|
|
421
|
-
return b.build();
|
|
422
|
-
};
|
|
423
|
-
const se_ListGroupResourcesCommand = async (input, context) => {
|
|
424
|
-
const b = core.requestBuilder(input, context);
|
|
425
|
-
const headers = {
|
|
426
|
-
"content-type": "application/json",
|
|
427
|
-
};
|
|
428
|
-
b.bp("/list-group-resources");
|
|
429
|
-
let body;
|
|
430
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
431
|
-
Filters: (_) => smithyClient._json(_),
|
|
432
|
-
Group: [],
|
|
433
|
-
GroupName: [],
|
|
434
|
-
MaxResults: [],
|
|
435
|
-
NextToken: [],
|
|
436
|
-
}));
|
|
437
|
-
b.m("POST").h(headers).b(body);
|
|
438
|
-
return b.build();
|
|
439
|
-
};
|
|
440
|
-
const se_ListGroupsCommand = async (input, context) => {
|
|
441
|
-
const b = core.requestBuilder(input, context);
|
|
442
|
-
const headers = {
|
|
443
|
-
"content-type": "application/json",
|
|
444
|
-
};
|
|
445
|
-
b.bp("/groups-list");
|
|
446
|
-
const query = smithyClient.map({
|
|
447
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
448
|
-
[_nT]: [, input[_NT]],
|
|
449
|
-
});
|
|
450
|
-
let body;
|
|
451
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
452
|
-
Filters: (_) => smithyClient._json(_),
|
|
453
|
-
}));
|
|
454
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
455
|
-
return b.build();
|
|
456
|
-
};
|
|
457
|
-
const se_ListTagSyncTasksCommand = async (input, context) => {
|
|
458
|
-
const b = core.requestBuilder(input, context);
|
|
459
|
-
const headers = {
|
|
460
|
-
"content-type": "application/json",
|
|
461
|
-
};
|
|
462
|
-
b.bp("/list-tag-sync-tasks");
|
|
463
|
-
let body;
|
|
464
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
465
|
-
Filters: (_) => smithyClient._json(_),
|
|
466
|
-
MaxResults: [],
|
|
467
|
-
NextToken: [],
|
|
468
|
-
}));
|
|
469
|
-
b.m("POST").h(headers).b(body);
|
|
470
|
-
return b.build();
|
|
471
|
-
};
|
|
472
|
-
const se_PutGroupConfigurationCommand = async (input, context) => {
|
|
473
|
-
const b = core.requestBuilder(input, context);
|
|
474
|
-
const headers = {
|
|
475
|
-
"content-type": "application/json",
|
|
476
|
-
};
|
|
477
|
-
b.bp("/put-group-configuration");
|
|
478
|
-
let body;
|
|
479
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
480
|
-
Configuration: (_) => smithyClient._json(_),
|
|
481
|
-
Group: [],
|
|
482
|
-
}));
|
|
483
|
-
b.m("POST").h(headers).b(body);
|
|
484
|
-
return b.build();
|
|
485
|
-
};
|
|
486
|
-
const se_SearchResourcesCommand = async (input, context) => {
|
|
487
|
-
const b = core.requestBuilder(input, context);
|
|
488
|
-
const headers = {
|
|
489
|
-
"content-type": "application/json",
|
|
490
|
-
};
|
|
491
|
-
b.bp("/resources/search");
|
|
492
|
-
let body;
|
|
493
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
494
|
-
MaxResults: [],
|
|
495
|
-
NextToken: [],
|
|
496
|
-
ResourceQuery: (_) => smithyClient._json(_),
|
|
497
|
-
}));
|
|
498
|
-
b.m("POST").h(headers).b(body);
|
|
499
|
-
return b.build();
|
|
500
|
-
};
|
|
501
|
-
const se_StartTagSyncTaskCommand = async (input, context) => {
|
|
502
|
-
const b = core.requestBuilder(input, context);
|
|
503
|
-
const headers = {
|
|
504
|
-
"content-type": "application/json",
|
|
505
|
-
};
|
|
506
|
-
b.bp("/start-tag-sync-task");
|
|
507
|
-
let body;
|
|
508
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
509
|
-
Group: [],
|
|
510
|
-
ResourceQuery: (_) => smithyClient._json(_),
|
|
511
|
-
RoleArn: [],
|
|
512
|
-
TagKey: [],
|
|
513
|
-
TagValue: [],
|
|
514
|
-
}));
|
|
515
|
-
b.m("POST").h(headers).b(body);
|
|
516
|
-
return b.build();
|
|
517
|
-
};
|
|
518
|
-
const se_TagCommand = async (input, context) => {
|
|
519
|
-
const b = core.requestBuilder(input, context);
|
|
520
|
-
const headers = {
|
|
521
|
-
"content-type": "application/json",
|
|
522
|
-
};
|
|
523
|
-
b.bp("/resources/{Arn}/tags");
|
|
524
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
525
|
-
let body;
|
|
526
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
527
|
-
Tags: (_) => smithyClient._json(_),
|
|
528
|
-
}));
|
|
529
|
-
b.m("PUT").h(headers).b(body);
|
|
530
|
-
return b.build();
|
|
531
|
-
};
|
|
532
|
-
const se_UngroupResourcesCommand = async (input, context) => {
|
|
533
|
-
const b = core.requestBuilder(input, context);
|
|
534
|
-
const headers = {
|
|
535
|
-
"content-type": "application/json",
|
|
536
|
-
};
|
|
537
|
-
b.bp("/ungroup-resources");
|
|
538
|
-
let body;
|
|
539
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
540
|
-
Group: [],
|
|
541
|
-
ResourceArns: (_) => smithyClient._json(_),
|
|
542
|
-
}));
|
|
543
|
-
b.m("POST").h(headers).b(body);
|
|
544
|
-
return b.build();
|
|
545
|
-
};
|
|
546
|
-
const se_UntagCommand = async (input, context) => {
|
|
547
|
-
const b = core.requestBuilder(input, context);
|
|
548
|
-
const headers = {
|
|
549
|
-
"content-type": "application/json",
|
|
550
|
-
};
|
|
551
|
-
b.bp("/resources/{Arn}/tags");
|
|
552
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
555
|
-
Keys: (_) => smithyClient._json(_),
|
|
556
|
-
}));
|
|
557
|
-
b.m("PATCH").h(headers).b(body);
|
|
558
|
-
return b.build();
|
|
559
|
-
};
|
|
560
|
-
const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
561
|
-
const b = core.requestBuilder(input, context);
|
|
562
|
-
const headers = {
|
|
563
|
-
"content-type": "application/json",
|
|
564
|
-
};
|
|
565
|
-
b.bp("/update-account-settings");
|
|
566
|
-
let body;
|
|
567
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
568
|
-
GroupLifecycleEventsDesiredStatus: [],
|
|
569
|
-
}));
|
|
570
|
-
b.m("POST").h(headers).b(body);
|
|
571
|
-
return b.build();
|
|
572
|
-
};
|
|
573
|
-
const se_UpdateGroupCommand = async (input, context) => {
|
|
574
|
-
const b = core.requestBuilder(input, context);
|
|
575
|
-
const headers = {
|
|
576
|
-
"content-type": "application/json",
|
|
577
|
-
};
|
|
578
|
-
b.bp("/update-group");
|
|
579
|
-
let body;
|
|
580
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
581
|
-
Criticality: [],
|
|
582
|
-
Description: [],
|
|
583
|
-
DisplayName: [],
|
|
584
|
-
Group: [],
|
|
585
|
-
GroupName: [],
|
|
586
|
-
Owner: [],
|
|
587
|
-
}));
|
|
588
|
-
b.m("POST").h(headers).b(body);
|
|
589
|
-
return b.build();
|
|
590
|
-
};
|
|
591
|
-
const se_UpdateGroupQueryCommand = async (input, context) => {
|
|
592
|
-
const b = core.requestBuilder(input, context);
|
|
593
|
-
const headers = {
|
|
594
|
-
"content-type": "application/json",
|
|
595
|
-
};
|
|
596
|
-
b.bp("/update-group-query");
|
|
597
|
-
let body;
|
|
598
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
599
|
-
Group: [],
|
|
600
|
-
GroupName: [],
|
|
601
|
-
ResourceQuery: (_) => smithyClient._json(_),
|
|
602
|
-
}));
|
|
603
|
-
b.m("POST").h(headers).b(body);
|
|
604
|
-
return b.build();
|
|
605
|
-
};
|
|
606
|
-
const de_CancelTagSyncTaskCommand = async (output, context) => {
|
|
607
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
608
|
-
return de_CommandError(output, context);
|
|
609
|
-
}
|
|
610
|
-
const contents = smithyClient.map({
|
|
611
|
-
$metadata: deserializeMetadata(output),
|
|
612
|
-
});
|
|
613
|
-
await smithyClient.collectBody(output.body, context);
|
|
614
|
-
return contents;
|
|
615
|
-
};
|
|
616
|
-
const de_CreateGroupCommand = async (output, context) => {
|
|
617
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
618
|
-
return de_CommandError(output, context);
|
|
619
|
-
}
|
|
620
|
-
const contents = smithyClient.map({
|
|
621
|
-
$metadata: deserializeMetadata(output),
|
|
622
|
-
});
|
|
623
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
624
|
-
const doc = smithyClient.take(data, {
|
|
625
|
-
Group: smithyClient._json,
|
|
626
|
-
GroupConfiguration: smithyClient._json,
|
|
627
|
-
ResourceQuery: smithyClient._json,
|
|
628
|
-
Tags: smithyClient._json,
|
|
629
|
-
});
|
|
630
|
-
Object.assign(contents, doc);
|
|
631
|
-
return contents;
|
|
632
|
-
};
|
|
633
|
-
const de_DeleteGroupCommand = async (output, context) => {
|
|
634
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const contents = smithyClient.map({
|
|
638
|
-
$metadata: deserializeMetadata(output),
|
|
639
|
-
});
|
|
640
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
641
|
-
const doc = smithyClient.take(data, {
|
|
642
|
-
Group: smithyClient._json,
|
|
643
|
-
});
|
|
644
|
-
Object.assign(contents, doc);
|
|
645
|
-
return contents;
|
|
646
|
-
};
|
|
647
|
-
const de_GetAccountSettingsCommand = async (output, context) => {
|
|
648
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
649
|
-
return de_CommandError(output, context);
|
|
650
|
-
}
|
|
651
|
-
const contents = smithyClient.map({
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
});
|
|
654
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
655
|
-
const doc = smithyClient.take(data, {
|
|
656
|
-
AccountSettings: smithyClient._json,
|
|
657
|
-
});
|
|
658
|
-
Object.assign(contents, doc);
|
|
659
|
-
return contents;
|
|
660
|
-
};
|
|
661
|
-
const de_GetGroupCommand = async (output, context) => {
|
|
662
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
663
|
-
return de_CommandError(output, context);
|
|
664
|
-
}
|
|
665
|
-
const contents = smithyClient.map({
|
|
666
|
-
$metadata: deserializeMetadata(output),
|
|
667
|
-
});
|
|
668
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
669
|
-
const doc = smithyClient.take(data, {
|
|
670
|
-
Group: smithyClient._json,
|
|
671
|
-
});
|
|
672
|
-
Object.assign(contents, doc);
|
|
673
|
-
return contents;
|
|
674
|
-
};
|
|
675
|
-
const de_GetGroupConfigurationCommand = async (output, context) => {
|
|
676
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
677
|
-
return de_CommandError(output, context);
|
|
678
|
-
}
|
|
679
|
-
const contents = smithyClient.map({
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
});
|
|
682
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
683
|
-
const doc = smithyClient.take(data, {
|
|
684
|
-
GroupConfiguration: smithyClient._json,
|
|
685
|
-
});
|
|
686
|
-
Object.assign(contents, doc);
|
|
687
|
-
return contents;
|
|
688
|
-
};
|
|
689
|
-
const de_GetGroupQueryCommand = async (output, context) => {
|
|
690
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
691
|
-
return de_CommandError(output, context);
|
|
692
|
-
}
|
|
693
|
-
const contents = smithyClient.map({
|
|
694
|
-
$metadata: deserializeMetadata(output),
|
|
695
|
-
});
|
|
696
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
697
|
-
const doc = smithyClient.take(data, {
|
|
698
|
-
GroupQuery: smithyClient._json,
|
|
699
|
-
});
|
|
700
|
-
Object.assign(contents, doc);
|
|
701
|
-
return contents;
|
|
702
|
-
};
|
|
703
|
-
const de_GetTagsCommand = async (output, context) => {
|
|
704
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
705
|
-
return de_CommandError(output, context);
|
|
706
|
-
}
|
|
707
|
-
const contents = smithyClient.map({
|
|
708
|
-
$metadata: deserializeMetadata(output),
|
|
709
|
-
});
|
|
710
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
711
|
-
const doc = smithyClient.take(data, {
|
|
712
|
-
Arn: smithyClient.expectString,
|
|
713
|
-
Tags: smithyClient._json,
|
|
714
|
-
});
|
|
715
|
-
Object.assign(contents, doc);
|
|
716
|
-
return contents;
|
|
717
|
-
};
|
|
718
|
-
const de_GetTagSyncTaskCommand = async (output, context) => {
|
|
719
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
720
|
-
return de_CommandError(output, context);
|
|
721
|
-
}
|
|
722
|
-
const contents = smithyClient.map({
|
|
723
|
-
$metadata: deserializeMetadata(output),
|
|
724
|
-
});
|
|
725
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
726
|
-
const doc = smithyClient.take(data, {
|
|
727
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
728
|
-
ErrorMessage: smithyClient.expectString,
|
|
729
|
-
GroupArn: smithyClient.expectString,
|
|
730
|
-
GroupName: smithyClient.expectString,
|
|
731
|
-
ResourceQuery: smithyClient._json,
|
|
732
|
-
RoleArn: smithyClient.expectString,
|
|
733
|
-
Status: smithyClient.expectString,
|
|
734
|
-
TagKey: smithyClient.expectString,
|
|
735
|
-
TagValue: smithyClient.expectString,
|
|
736
|
-
TaskArn: smithyClient.expectString,
|
|
737
|
-
});
|
|
738
|
-
Object.assign(contents, doc);
|
|
739
|
-
return contents;
|
|
740
|
-
};
|
|
741
|
-
const de_GroupResourcesCommand = async (output, context) => {
|
|
742
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
743
|
-
return de_CommandError(output, context);
|
|
744
|
-
}
|
|
745
|
-
const contents = smithyClient.map({
|
|
746
|
-
$metadata: deserializeMetadata(output),
|
|
747
|
-
});
|
|
748
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
749
|
-
const doc = smithyClient.take(data, {
|
|
750
|
-
Failed: smithyClient._json,
|
|
751
|
-
Pending: smithyClient._json,
|
|
752
|
-
Succeeded: smithyClient._json,
|
|
753
|
-
});
|
|
754
|
-
Object.assign(contents, doc);
|
|
755
|
-
return contents;
|
|
756
|
-
};
|
|
757
|
-
const de_ListGroupingStatusesCommand = async (output, context) => {
|
|
758
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
|
-
return de_CommandError(output, context);
|
|
760
|
-
}
|
|
761
|
-
const contents = smithyClient.map({
|
|
762
|
-
$metadata: deserializeMetadata(output),
|
|
763
|
-
});
|
|
764
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
765
|
-
const doc = smithyClient.take(data, {
|
|
766
|
-
Group: smithyClient.expectString,
|
|
767
|
-
GroupingStatuses: (_) => de_GroupingStatusesList(_),
|
|
768
|
-
NextToken: smithyClient.expectString,
|
|
769
|
-
});
|
|
770
|
-
Object.assign(contents, doc);
|
|
771
|
-
return contents;
|
|
772
|
-
};
|
|
773
|
-
const de_ListGroupResourcesCommand = async (output, context) => {
|
|
774
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
775
|
-
return de_CommandError(output, context);
|
|
776
|
-
}
|
|
777
|
-
const contents = smithyClient.map({
|
|
778
|
-
$metadata: deserializeMetadata(output),
|
|
779
|
-
});
|
|
780
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
781
|
-
const doc = smithyClient.take(data, {
|
|
782
|
-
NextToken: smithyClient.expectString,
|
|
783
|
-
QueryErrors: smithyClient._json,
|
|
784
|
-
ResourceIdentifiers: smithyClient._json,
|
|
785
|
-
Resources: smithyClient._json,
|
|
786
|
-
});
|
|
787
|
-
Object.assign(contents, doc);
|
|
788
|
-
return contents;
|
|
789
|
-
};
|
|
790
|
-
const de_ListGroupsCommand = async (output, context) => {
|
|
791
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
792
|
-
return de_CommandError(output, context);
|
|
793
|
-
}
|
|
794
|
-
const contents = smithyClient.map({
|
|
795
|
-
$metadata: deserializeMetadata(output),
|
|
796
|
-
});
|
|
797
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
798
|
-
const doc = smithyClient.take(data, {
|
|
799
|
-
GroupIdentifiers: smithyClient._json,
|
|
800
|
-
Groups: smithyClient._json,
|
|
801
|
-
NextToken: smithyClient.expectString,
|
|
802
|
-
});
|
|
803
|
-
Object.assign(contents, doc);
|
|
804
|
-
return contents;
|
|
805
|
-
};
|
|
806
|
-
const de_ListTagSyncTasksCommand = async (output, context) => {
|
|
807
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
-
return de_CommandError(output, context);
|
|
809
|
-
}
|
|
810
|
-
const contents = smithyClient.map({
|
|
811
|
-
$metadata: deserializeMetadata(output),
|
|
812
|
-
});
|
|
813
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
814
|
-
const doc = smithyClient.take(data, {
|
|
815
|
-
NextToken: smithyClient.expectString,
|
|
816
|
-
TagSyncTasks: (_) => de_TagSyncTaskList(_),
|
|
817
|
-
});
|
|
818
|
-
Object.assign(contents, doc);
|
|
819
|
-
return contents;
|
|
820
|
-
};
|
|
821
|
-
const de_PutGroupConfigurationCommand = async (output, context) => {
|
|
822
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
823
|
-
return de_CommandError(output, context);
|
|
824
|
-
}
|
|
825
|
-
const contents = smithyClient.map({
|
|
826
|
-
$metadata: deserializeMetadata(output),
|
|
827
|
-
});
|
|
828
|
-
await smithyClient.collectBody(output.body, context);
|
|
829
|
-
return contents;
|
|
830
|
-
};
|
|
831
|
-
const de_SearchResourcesCommand = async (output, context) => {
|
|
832
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
833
|
-
return de_CommandError(output, context);
|
|
834
|
-
}
|
|
835
|
-
const contents = smithyClient.map({
|
|
836
|
-
$metadata: deserializeMetadata(output),
|
|
837
|
-
});
|
|
838
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
839
|
-
const doc = smithyClient.take(data, {
|
|
840
|
-
NextToken: smithyClient.expectString,
|
|
841
|
-
QueryErrors: smithyClient._json,
|
|
842
|
-
ResourceIdentifiers: smithyClient._json,
|
|
843
|
-
});
|
|
844
|
-
Object.assign(contents, doc);
|
|
845
|
-
return contents;
|
|
846
|
-
};
|
|
847
|
-
const de_StartTagSyncTaskCommand = async (output, context) => {
|
|
848
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
849
|
-
return de_CommandError(output, context);
|
|
850
|
-
}
|
|
851
|
-
const contents = smithyClient.map({
|
|
852
|
-
$metadata: deserializeMetadata(output),
|
|
853
|
-
});
|
|
854
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
855
|
-
const doc = smithyClient.take(data, {
|
|
856
|
-
GroupArn: smithyClient.expectString,
|
|
857
|
-
GroupName: smithyClient.expectString,
|
|
858
|
-
ResourceQuery: smithyClient._json,
|
|
859
|
-
RoleArn: smithyClient.expectString,
|
|
860
|
-
TagKey: smithyClient.expectString,
|
|
861
|
-
TagValue: smithyClient.expectString,
|
|
862
|
-
TaskArn: smithyClient.expectString,
|
|
863
|
-
});
|
|
864
|
-
Object.assign(contents, doc);
|
|
865
|
-
return contents;
|
|
866
|
-
};
|
|
867
|
-
const de_TagCommand = async (output, context) => {
|
|
868
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
869
|
-
return de_CommandError(output, context);
|
|
870
|
-
}
|
|
871
|
-
const contents = smithyClient.map({
|
|
872
|
-
$metadata: deserializeMetadata(output),
|
|
873
|
-
});
|
|
874
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
875
|
-
const doc = smithyClient.take(data, {
|
|
876
|
-
Arn: smithyClient.expectString,
|
|
877
|
-
Tags: smithyClient._json,
|
|
878
|
-
});
|
|
879
|
-
Object.assign(contents, doc);
|
|
880
|
-
return contents;
|
|
881
|
-
};
|
|
882
|
-
const de_UngroupResourcesCommand = async (output, context) => {
|
|
883
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
884
|
-
return de_CommandError(output, context);
|
|
885
|
-
}
|
|
886
|
-
const contents = smithyClient.map({
|
|
887
|
-
$metadata: deserializeMetadata(output),
|
|
888
|
-
});
|
|
889
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
890
|
-
const doc = smithyClient.take(data, {
|
|
891
|
-
Failed: smithyClient._json,
|
|
892
|
-
Pending: smithyClient._json,
|
|
893
|
-
Succeeded: smithyClient._json,
|
|
894
|
-
});
|
|
895
|
-
Object.assign(contents, doc);
|
|
896
|
-
return contents;
|
|
897
|
-
};
|
|
898
|
-
const de_UntagCommand = async (output, context) => {
|
|
899
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
900
|
-
return de_CommandError(output, context);
|
|
901
|
-
}
|
|
902
|
-
const contents = smithyClient.map({
|
|
903
|
-
$metadata: deserializeMetadata(output),
|
|
904
|
-
});
|
|
905
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
906
|
-
const doc = smithyClient.take(data, {
|
|
907
|
-
Arn: smithyClient.expectString,
|
|
908
|
-
Keys: smithyClient._json,
|
|
909
|
-
});
|
|
910
|
-
Object.assign(contents, doc);
|
|
911
|
-
return contents;
|
|
912
|
-
};
|
|
913
|
-
const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
914
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
915
|
-
return de_CommandError(output, context);
|
|
916
|
-
}
|
|
917
|
-
const contents = smithyClient.map({
|
|
918
|
-
$metadata: deserializeMetadata(output),
|
|
919
|
-
});
|
|
920
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
921
|
-
const doc = smithyClient.take(data, {
|
|
922
|
-
AccountSettings: smithyClient._json,
|
|
923
|
-
});
|
|
924
|
-
Object.assign(contents, doc);
|
|
925
|
-
return contents;
|
|
926
|
-
};
|
|
927
|
-
const de_UpdateGroupCommand = async (output, context) => {
|
|
928
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
929
|
-
return de_CommandError(output, context);
|
|
930
|
-
}
|
|
931
|
-
const contents = smithyClient.map({
|
|
932
|
-
$metadata: deserializeMetadata(output),
|
|
933
|
-
});
|
|
934
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
935
|
-
const doc = smithyClient.take(data, {
|
|
936
|
-
Group: smithyClient._json,
|
|
937
|
-
});
|
|
938
|
-
Object.assign(contents, doc);
|
|
939
|
-
return contents;
|
|
940
|
-
};
|
|
941
|
-
const de_UpdateGroupQueryCommand = async (output, context) => {
|
|
942
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
943
|
-
return de_CommandError(output, context);
|
|
944
|
-
}
|
|
945
|
-
const contents = smithyClient.map({
|
|
946
|
-
$metadata: deserializeMetadata(output),
|
|
947
|
-
});
|
|
948
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
949
|
-
const doc = smithyClient.take(data, {
|
|
950
|
-
GroupQuery: smithyClient._json,
|
|
951
|
-
});
|
|
952
|
-
Object.assign(contents, doc);
|
|
953
|
-
return contents;
|
|
954
|
-
};
|
|
955
|
-
const de_CommandError = async (output, context) => {
|
|
956
|
-
const parsedOutput = {
|
|
957
|
-
...output,
|
|
958
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
959
|
-
};
|
|
960
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
|
-
switch (errorCode) {
|
|
962
|
-
case "BadRequestException":
|
|
963
|
-
case "com.amazonaws.resourcegroups#BadRequestException":
|
|
964
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
965
|
-
case "ForbiddenException":
|
|
966
|
-
case "com.amazonaws.resourcegroups#ForbiddenException":
|
|
967
|
-
throw await de_ForbiddenExceptionRes(parsedOutput);
|
|
968
|
-
case "InternalServerErrorException":
|
|
969
|
-
case "com.amazonaws.resourcegroups#InternalServerErrorException":
|
|
970
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput);
|
|
971
|
-
case "MethodNotAllowedException":
|
|
972
|
-
case "com.amazonaws.resourcegroups#MethodNotAllowedException":
|
|
973
|
-
throw await de_MethodNotAllowedExceptionRes(parsedOutput);
|
|
974
|
-
case "TooManyRequestsException":
|
|
975
|
-
case "com.amazonaws.resourcegroups#TooManyRequestsException":
|
|
976
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
977
|
-
case "UnauthorizedException":
|
|
978
|
-
case "com.amazonaws.resourcegroups#UnauthorizedException":
|
|
979
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
980
|
-
case "NotFoundException":
|
|
981
|
-
case "com.amazonaws.resourcegroups#NotFoundException":
|
|
982
|
-
throw await de_NotFoundExceptionRes(parsedOutput);
|
|
983
|
-
default:
|
|
984
|
-
const parsedBody = parsedOutput.body;
|
|
985
|
-
return throwDefaultError({
|
|
986
|
-
output,
|
|
987
|
-
parsedBody,
|
|
988
|
-
errorCode,
|
|
989
|
-
});
|
|
990
|
-
}
|
|
991
|
-
};
|
|
992
|
-
const throwDefaultError = smithyClient.withBaseException(ResourceGroupsServiceException);
|
|
993
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
994
|
-
const contents = smithyClient.map({});
|
|
995
|
-
const data = parsedOutput.body;
|
|
996
|
-
const doc = smithyClient.take(data, {
|
|
997
|
-
Message: smithyClient.expectString,
|
|
998
|
-
});
|
|
999
|
-
Object.assign(contents, doc);
|
|
1000
|
-
const exception = new BadRequestException({
|
|
1001
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1002
|
-
...contents,
|
|
1003
|
-
});
|
|
1004
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1005
|
-
};
|
|
1006
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1007
|
-
const contents = smithyClient.map({});
|
|
1008
|
-
const data = parsedOutput.body;
|
|
1009
|
-
const doc = smithyClient.take(data, {
|
|
1010
|
-
Message: smithyClient.expectString,
|
|
1011
|
-
});
|
|
1012
|
-
Object.assign(contents, doc);
|
|
1013
|
-
const exception = new ForbiddenException({
|
|
1014
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1015
|
-
...contents,
|
|
1016
|
-
});
|
|
1017
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1018
|
-
};
|
|
1019
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
1020
|
-
const contents = smithyClient.map({});
|
|
1021
|
-
const data = parsedOutput.body;
|
|
1022
|
-
const doc = smithyClient.take(data, {
|
|
1023
|
-
Message: smithyClient.expectString,
|
|
1024
|
-
});
|
|
1025
|
-
Object.assign(contents, doc);
|
|
1026
|
-
const exception = new InternalServerErrorException({
|
|
1027
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1028
|
-
...contents,
|
|
1029
|
-
});
|
|
1030
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1031
|
-
};
|
|
1032
|
-
const de_MethodNotAllowedExceptionRes = async (parsedOutput, context) => {
|
|
1033
|
-
const contents = smithyClient.map({});
|
|
1034
|
-
const data = parsedOutput.body;
|
|
1035
|
-
const doc = smithyClient.take(data, {
|
|
1036
|
-
Message: smithyClient.expectString,
|
|
1037
|
-
});
|
|
1038
|
-
Object.assign(contents, doc);
|
|
1039
|
-
const exception = new MethodNotAllowedException({
|
|
1040
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1041
|
-
...contents,
|
|
1042
|
-
});
|
|
1043
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1044
|
-
};
|
|
1045
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1046
|
-
const contents = smithyClient.map({});
|
|
1047
|
-
const data = parsedOutput.body;
|
|
1048
|
-
const doc = smithyClient.take(data, {
|
|
1049
|
-
Message: smithyClient.expectString,
|
|
1050
|
-
});
|
|
1051
|
-
Object.assign(contents, doc);
|
|
1052
|
-
const exception = new NotFoundException({
|
|
1053
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1054
|
-
...contents,
|
|
1055
|
-
});
|
|
1056
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1057
|
-
};
|
|
1058
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1059
|
-
const contents = smithyClient.map({});
|
|
1060
|
-
const data = parsedOutput.body;
|
|
1061
|
-
const doc = smithyClient.take(data, {
|
|
1062
|
-
Message: smithyClient.expectString,
|
|
1063
|
-
});
|
|
1064
|
-
Object.assign(contents, doc);
|
|
1065
|
-
const exception = new TooManyRequestsException({
|
|
1066
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1067
|
-
...contents,
|
|
1068
|
-
});
|
|
1069
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1070
|
-
};
|
|
1071
|
-
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1072
|
-
const contents = smithyClient.map({});
|
|
1073
|
-
const data = parsedOutput.body;
|
|
1074
|
-
const doc = smithyClient.take(data, {
|
|
1075
|
-
Message: smithyClient.expectString,
|
|
1076
|
-
});
|
|
1077
|
-
Object.assign(contents, doc);
|
|
1078
|
-
const exception = new UnauthorizedException({
|
|
1079
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1080
|
-
...contents,
|
|
1081
|
-
});
|
|
1082
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1083
|
-
};
|
|
1084
|
-
const de_GroupingStatusesItem = (output, context) => {
|
|
1085
|
-
return smithyClient.take(output, {
|
|
1086
|
-
Action: smithyClient.expectString,
|
|
1087
|
-
ErrorCode: smithyClient.expectString,
|
|
1088
|
-
ErrorMessage: smithyClient.expectString,
|
|
1089
|
-
ResourceArn: smithyClient.expectString,
|
|
1090
|
-
Status: smithyClient.expectString,
|
|
1091
|
-
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1092
|
-
});
|
|
1093
|
-
};
|
|
1094
|
-
const de_GroupingStatusesList = (output, context) => {
|
|
1095
|
-
const retVal = (output || [])
|
|
1096
|
-
.filter((e) => e != null)
|
|
1097
|
-
.map((entry) => {
|
|
1098
|
-
return de_GroupingStatusesItem(entry);
|
|
1099
|
-
});
|
|
1100
|
-
return retVal;
|
|
1101
|
-
};
|
|
1102
|
-
const de_TagSyncTaskItem = (output, context) => {
|
|
1103
|
-
return smithyClient.take(output, {
|
|
1104
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1105
|
-
ErrorMessage: smithyClient.expectString,
|
|
1106
|
-
GroupArn: smithyClient.expectString,
|
|
1107
|
-
GroupName: smithyClient.expectString,
|
|
1108
|
-
ResourceQuery: smithyClient._json,
|
|
1109
|
-
RoleArn: smithyClient.expectString,
|
|
1110
|
-
Status: smithyClient.expectString,
|
|
1111
|
-
TagKey: smithyClient.expectString,
|
|
1112
|
-
TagValue: smithyClient.expectString,
|
|
1113
|
-
TaskArn: smithyClient.expectString,
|
|
1114
|
-
});
|
|
1115
|
-
};
|
|
1116
|
-
const de_TagSyncTaskList = (output, context) => {
|
|
1117
|
-
const retVal = (output || [])
|
|
1118
|
-
.filter((e) => e != null)
|
|
1119
|
-
.map((entry) => {
|
|
1120
|
-
return de_TagSyncTaskItem(entry);
|
|
1121
|
-
});
|
|
1122
|
-
return retVal;
|
|
1123
|
-
};
|
|
1124
|
-
const deserializeMetadata = (output) => ({
|
|
1125
|
-
httpStatusCode: output.statusCode,
|
|
1126
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1127
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1128
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1129
|
-
});
|
|
275
|
+
const _A = "Arn";
|
|
276
|
+
const _AS = "AccountSettings";
|
|
277
|
+
const _AT = "ApplicationTag";
|
|
278
|
+
const _Ac = "Action";
|
|
279
|
+
const _BRE = "BadRequestException";
|
|
280
|
+
const _C = "Configuration";
|
|
281
|
+
const _CA = "CreatedAt";
|
|
282
|
+
const _CG = "CreateGroup";
|
|
283
|
+
const _CGI = "CreateGroupInput";
|
|
284
|
+
const _CGO = "CreateGroupOutput";
|
|
285
|
+
const _CTST = "CancelTagSyncTask";
|
|
286
|
+
const _CTSTI = "CancelTagSyncTaskInput";
|
|
287
|
+
const _Cr = "Criticality";
|
|
288
|
+
const _D = "Description";
|
|
289
|
+
const _DG = "DeleteGroup";
|
|
290
|
+
const _DGI = "DeleteGroupInput";
|
|
291
|
+
const _DGO = "DeleteGroupOutput";
|
|
292
|
+
const _DN = "DisplayName";
|
|
293
|
+
const _EC = "ErrorCode";
|
|
294
|
+
const _EM = "ErrorMessage";
|
|
295
|
+
const _F = "Failed";
|
|
296
|
+
const _FE = "ForbiddenException";
|
|
297
|
+
const _FR = "FailedResource";
|
|
298
|
+
const _FRL = "FailedResourceList";
|
|
299
|
+
const _FRa = "FailureReason";
|
|
300
|
+
const _Fi = "Filters";
|
|
301
|
+
const _G = "Group";
|
|
302
|
+
const _GA = "GroupArn";
|
|
303
|
+
const _GAS = "GetAccountSettings";
|
|
304
|
+
const _GASO = "GetAccountSettingsOutput";
|
|
305
|
+
const _GC = "GroupConfiguration";
|
|
306
|
+
const _GCI = "GroupConfigurationItem";
|
|
307
|
+
const _GCL = "GroupConfigurationList";
|
|
308
|
+
const _GCP = "GroupConfigurationParameter";
|
|
309
|
+
const _GF = "GroupFilter";
|
|
310
|
+
const _GFL = "GroupFilterList";
|
|
311
|
+
const _GG = "GetGroup";
|
|
312
|
+
const _GGC = "GetGroupConfiguration";
|
|
313
|
+
const _GGCI = "GetGroupConfigurationInput";
|
|
314
|
+
const _GGCO = "GetGroupConfigurationOutput";
|
|
315
|
+
const _GGI = "GetGroupInput";
|
|
316
|
+
const _GGO = "GetGroupOutput";
|
|
317
|
+
const _GGQ = "GetGroupQuery";
|
|
318
|
+
const _GGQI = "GetGroupQueryInput";
|
|
319
|
+
const _GGQO = "GetGroupQueryOutput";
|
|
320
|
+
const _GI = "GroupIdentifier";
|
|
321
|
+
const _GIL = "GroupIdentifierList";
|
|
322
|
+
const _GIr = "GroupIdentifiers";
|
|
323
|
+
const _GL = "GroupList";
|
|
324
|
+
const _GLEDS = "GroupLifecycleEventsDesiredStatus";
|
|
325
|
+
const _GLES = "GroupLifecycleEventsStatus";
|
|
326
|
+
const _GLESM = "GroupLifecycleEventsStatusMessage";
|
|
327
|
+
const _GN = "GroupName";
|
|
328
|
+
const _GPL = "GroupParameterList";
|
|
329
|
+
const _GQ = "GroupQuery";
|
|
330
|
+
const _GR = "GroupResources";
|
|
331
|
+
const _GRI = "GroupResourcesInput";
|
|
332
|
+
const _GRO = "GroupResourcesOutput";
|
|
333
|
+
const _GS = "GroupingStatuses";
|
|
334
|
+
const _GSI = "GroupingStatusesItem";
|
|
335
|
+
const _GSL = "GroupingStatusesList";
|
|
336
|
+
const _GT = "GetTags";
|
|
337
|
+
const _GTI = "GetTagsInput";
|
|
338
|
+
const _GTO = "GetTagsOutput";
|
|
339
|
+
const _GTST = "GetTagSyncTask";
|
|
340
|
+
const _GTSTI = "GetTagSyncTaskInput";
|
|
341
|
+
const _GTSTO = "GetTagSyncTaskOutput";
|
|
342
|
+
const _Gr = "Groups";
|
|
343
|
+
const _I = "Identifier";
|
|
344
|
+
const _ISEE = "InternalServerErrorException";
|
|
345
|
+
const _K = "Keys";
|
|
346
|
+
const _LG = "ListGroups";
|
|
347
|
+
const _LGI = "ListGroupsInput";
|
|
348
|
+
const _LGO = "ListGroupsOutput";
|
|
349
|
+
const _LGR = "ListGroupResources";
|
|
350
|
+
const _LGRI = "ListGroupResourcesInput";
|
|
351
|
+
const _LGRIL = "ListGroupResourcesItemList";
|
|
352
|
+
const _LGRIi = "ListGroupResourcesItem";
|
|
353
|
+
const _LGRO = "ListGroupResourcesOutput";
|
|
354
|
+
const _LGS = "ListGroupingStatuses";
|
|
355
|
+
const _LGSF = "ListGroupingStatusesFilter";
|
|
356
|
+
const _LGSFL = "ListGroupingStatusesFilterList";
|
|
357
|
+
const _LGSI = "ListGroupingStatusesInput";
|
|
358
|
+
const _LGSO = "ListGroupingStatusesOutput";
|
|
359
|
+
const _LTST = "ListTagSyncTasks";
|
|
360
|
+
const _LTSTF = "ListTagSyncTasksFilter";
|
|
361
|
+
const _LTSTFL = "ListTagSyncTasksFilterList";
|
|
362
|
+
const _LTSTI = "ListTagSyncTasksInput";
|
|
363
|
+
const _LTSTO = "ListTagSyncTasksOutput";
|
|
364
|
+
const _M = "Message";
|
|
365
|
+
const _MNAE = "MethodNotAllowedException";
|
|
1130
366
|
const _MR = "MaxResults";
|
|
367
|
+
const _N = "Name";
|
|
368
|
+
const _NFE = "NotFoundException";
|
|
1131
369
|
const _NT = "NextToken";
|
|
370
|
+
const _O = "Owner";
|
|
371
|
+
const _P = "Parameters";
|
|
372
|
+
const _PC = "ProposedConfiguration";
|
|
373
|
+
const _PGC = "PutGroupConfiguration";
|
|
374
|
+
const _PGCI = "PutGroupConfigurationInput";
|
|
375
|
+
const _PGCO = "PutGroupConfigurationOutput";
|
|
376
|
+
const _PR = "PendingResource";
|
|
377
|
+
const _PRL = "PendingResourceList";
|
|
378
|
+
const _Pe = "Pending";
|
|
379
|
+
const _Q = "Query";
|
|
380
|
+
const _QE = "QueryErrors";
|
|
381
|
+
const _QEL = "QueryErrorList";
|
|
382
|
+
const _QEu = "QueryError";
|
|
383
|
+
const _R = "Resources";
|
|
384
|
+
const _RA = "ResourceArn";
|
|
385
|
+
const _RAe = "ResourceArns";
|
|
386
|
+
const _RAo = "RoleArn";
|
|
387
|
+
const _RF = "ResourceFilter";
|
|
388
|
+
const _RFL = "ResourceFilterList";
|
|
389
|
+
const _RI = "ResourceIdentifiers";
|
|
390
|
+
const _RIL = "ResourceIdentifierList";
|
|
391
|
+
const _RIe = "ResourceIdentifier";
|
|
392
|
+
const _RQ = "ResourceQuery";
|
|
393
|
+
const _RS = "ResourceStatus";
|
|
394
|
+
const _RT = "ResourceType";
|
|
395
|
+
const _S = "Status";
|
|
396
|
+
const _SR = "SearchResources";
|
|
397
|
+
const _SRI = "SearchResourcesInput";
|
|
398
|
+
const _SRO = "SearchResourcesOutput";
|
|
399
|
+
const _STST = "StartTagSyncTask";
|
|
400
|
+
const _STSTI = "StartTagSyncTaskInput";
|
|
401
|
+
const _STSTO = "StartTagSyncTaskOutput";
|
|
402
|
+
const _Su = "Succeeded";
|
|
403
|
+
const _T = "Tags";
|
|
404
|
+
const _TA = "TaskArn";
|
|
405
|
+
const _TI = "TagInput";
|
|
406
|
+
const _TK = "TagKey";
|
|
407
|
+
const _TMRE = "TooManyRequestsException";
|
|
408
|
+
const _TO = "TagOutput";
|
|
409
|
+
const _TST = "TagSyncTasks";
|
|
410
|
+
const _TSTI = "TagSyncTaskItem";
|
|
411
|
+
const _TSTL = "TagSyncTaskList";
|
|
412
|
+
const _TV = "TagValue";
|
|
413
|
+
const _Ta = "Tag";
|
|
414
|
+
const _Ty = "Type";
|
|
415
|
+
const _U = "Untag";
|
|
416
|
+
const _UA = "UpdatedAt";
|
|
417
|
+
const _UAS = "UpdateAccountSettings";
|
|
418
|
+
const _UASI = "UpdateAccountSettingsInput";
|
|
419
|
+
const _UASO = "UpdateAccountSettingsOutput";
|
|
420
|
+
const _UE = "UnauthorizedException";
|
|
421
|
+
const _UG = "UpdateGroup";
|
|
422
|
+
const _UGI = "UpdateGroupInput";
|
|
423
|
+
const _UGO = "UpdateGroupOutput";
|
|
424
|
+
const _UGQ = "UpdateGroupQuery";
|
|
425
|
+
const _UGQI = "UpdateGroupQueryInput";
|
|
426
|
+
const _UGQO = "UpdateGroupQueryOutput";
|
|
427
|
+
const _UI = "UntagInput";
|
|
428
|
+
const _UO = "UntagOutput";
|
|
429
|
+
const _UR = "UngroupResources";
|
|
430
|
+
const _URI = "UngroupResourcesInput";
|
|
431
|
+
const _URO = "UngroupResourcesOutput";
|
|
432
|
+
const _V = "Values";
|
|
433
|
+
const _c = "client";
|
|
434
|
+
const _e = "error";
|
|
435
|
+
const _h = "http";
|
|
436
|
+
const _hE = "httpError";
|
|
437
|
+
const _hQ = "httpQuery";
|
|
1132
438
|
const _mR = "maxResults";
|
|
1133
439
|
const _nT = "nextToken";
|
|
440
|
+
const _s = "server";
|
|
441
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroups";
|
|
442
|
+
const n0 = "com.amazonaws.resourcegroups";
|
|
443
|
+
var AccountSettings = [3, n0, _AS, 0, [_GLEDS, _GLES, _GLESM], [0, 0, 0]];
|
|
444
|
+
var BadRequestException = [
|
|
445
|
+
-3,
|
|
446
|
+
n0,
|
|
447
|
+
_BRE,
|
|
448
|
+
{
|
|
449
|
+
[_e]: _c,
|
|
450
|
+
[_hE]: 400,
|
|
451
|
+
},
|
|
452
|
+
[_M],
|
|
453
|
+
[0],
|
|
454
|
+
];
|
|
455
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
456
|
+
var CancelTagSyncTaskInput = [3, n0, _CTSTI, 0, [_TA], [0]];
|
|
457
|
+
var CreateGroupInput = [
|
|
458
|
+
3,
|
|
459
|
+
n0,
|
|
460
|
+
_CGI,
|
|
461
|
+
0,
|
|
462
|
+
[_N, _D, _RQ, _T, _C, _Cr, _O, _DN],
|
|
463
|
+
[0, 0, () => ResourceQuery, 128 | 0, () => GroupConfigurationList, 1, 0, 0],
|
|
464
|
+
];
|
|
465
|
+
var CreateGroupOutput = [
|
|
466
|
+
3,
|
|
467
|
+
n0,
|
|
468
|
+
_CGO,
|
|
469
|
+
0,
|
|
470
|
+
[_G, _RQ, _T, _GC],
|
|
471
|
+
[() => Group, () => ResourceQuery, 128 | 0, () => GroupConfiguration],
|
|
472
|
+
];
|
|
473
|
+
var DeleteGroupInput = [3, n0, _DGI, 0, [_GN, _G], [0, 0]];
|
|
474
|
+
var DeleteGroupOutput = [3, n0, _DGO, 0, [_G], [() => Group]];
|
|
475
|
+
var FailedResource = [3, n0, _FR, 0, [_RA, _EM, _EC], [0, 0, 0]];
|
|
476
|
+
var ForbiddenException = [
|
|
477
|
+
-3,
|
|
478
|
+
n0,
|
|
479
|
+
_FE,
|
|
480
|
+
{
|
|
481
|
+
[_e]: _c,
|
|
482
|
+
[_hE]: 403,
|
|
483
|
+
},
|
|
484
|
+
[_M],
|
|
485
|
+
[0],
|
|
486
|
+
];
|
|
487
|
+
schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
|
|
488
|
+
var GetAccountSettingsOutput = [3, n0, _GASO, 0, [_AS], [() => AccountSettings]];
|
|
489
|
+
var GetGroupConfigurationInput = [3, n0, _GGCI, 0, [_G], [0]];
|
|
490
|
+
var GetGroupConfigurationOutput = [3, n0, _GGCO, 0, [_GC], [() => GroupConfiguration]];
|
|
491
|
+
var GetGroupInput = [3, n0, _GGI, 0, [_GN, _G], [0, 0]];
|
|
492
|
+
var GetGroupOutput = [3, n0, _GGO, 0, [_G], [() => Group]];
|
|
493
|
+
var GetGroupQueryInput = [3, n0, _GGQI, 0, [_GN, _G], [0, 0]];
|
|
494
|
+
var GetGroupQueryOutput = [3, n0, _GGQO, 0, [_GQ], [() => GroupQuery]];
|
|
495
|
+
var GetTagsInput = [3, n0, _GTI, 0, [_A], [[0, 1]]];
|
|
496
|
+
var GetTagsOutput = [3, n0, _GTO, 0, [_A, _T], [0, 128 | 0]];
|
|
497
|
+
var GetTagSyncTaskInput = [3, n0, _GTSTI, 0, [_TA], [0]];
|
|
498
|
+
var GetTagSyncTaskOutput = [
|
|
499
|
+
3,
|
|
500
|
+
n0,
|
|
501
|
+
_GTSTO,
|
|
502
|
+
0,
|
|
503
|
+
[_GA, _GN, _TA, _TK, _TV, _RQ, _RAo, _S, _EM, _CA],
|
|
504
|
+
[0, 0, 0, 0, 0, () => ResourceQuery, 0, 0, 0, 4],
|
|
505
|
+
];
|
|
506
|
+
var Group = [3, n0, _G, 0, [_GA, _N, _D, _Cr, _O, _DN, _AT], [0, 0, 0, 1, 0, 0, 128 | 0]];
|
|
507
|
+
var GroupConfiguration = [
|
|
508
|
+
3,
|
|
509
|
+
n0,
|
|
510
|
+
_GC,
|
|
511
|
+
0,
|
|
512
|
+
[_C, _PC, _S, _FRa],
|
|
513
|
+
[() => GroupConfigurationList, () => GroupConfigurationList, 0, 0],
|
|
514
|
+
];
|
|
515
|
+
var GroupConfigurationItem = [3, n0, _GCI, 0, [_Ty, _P], [0, () => GroupParameterList]];
|
|
516
|
+
var GroupConfigurationParameter = [3, n0, _GCP, 0, [_N, _V], [0, 64 | 0]];
|
|
517
|
+
var GroupFilter = [3, n0, _GF, 0, [_N, _V], [0, 64 | 0]];
|
|
518
|
+
var GroupIdentifier = [3, n0, _GI, 0, [_GN, _GA, _D, _Cr, _O, _DN], [0, 0, 0, 1, 0, 0]];
|
|
519
|
+
var GroupingStatusesItem = [
|
|
520
|
+
3,
|
|
521
|
+
n0,
|
|
522
|
+
_GSI,
|
|
523
|
+
0,
|
|
524
|
+
[_RA, _Ac, _S, _EM, _EC, _UA],
|
|
525
|
+
[0, 0, 0, 0, 0, 4],
|
|
526
|
+
];
|
|
527
|
+
var GroupQuery = [3, n0, _GQ, 0, [_GN, _RQ], [0, () => ResourceQuery]];
|
|
528
|
+
var GroupResourcesInput = [3, n0, _GRI, 0, [_G, _RAe], [0, 64 | 0]];
|
|
529
|
+
var GroupResourcesOutput = [
|
|
530
|
+
3,
|
|
531
|
+
n0,
|
|
532
|
+
_GRO,
|
|
533
|
+
0,
|
|
534
|
+
[_Su, _F, _Pe],
|
|
535
|
+
[64 | 0, () => FailedResourceList, () => PendingResourceList],
|
|
536
|
+
];
|
|
537
|
+
var InternalServerErrorException = [
|
|
538
|
+
-3,
|
|
539
|
+
n0,
|
|
540
|
+
_ISEE,
|
|
541
|
+
{
|
|
542
|
+
[_e]: _s,
|
|
543
|
+
[_hE]: 500,
|
|
544
|
+
},
|
|
545
|
+
[_M],
|
|
546
|
+
[0],
|
|
547
|
+
];
|
|
548
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
|
|
549
|
+
var ListGroupingStatusesFilter = [3, n0, _LGSF, 0, [_N, _V], [0, 64 | 0]];
|
|
550
|
+
var ListGroupingStatusesInput = [
|
|
551
|
+
3,
|
|
552
|
+
n0,
|
|
553
|
+
_LGSI,
|
|
554
|
+
0,
|
|
555
|
+
[_G, _MR, _Fi, _NT],
|
|
556
|
+
[0, 1, () => ListGroupingStatusesFilterList, 0],
|
|
557
|
+
];
|
|
558
|
+
var ListGroupingStatusesOutput = [
|
|
559
|
+
3,
|
|
560
|
+
n0,
|
|
561
|
+
_LGSO,
|
|
562
|
+
0,
|
|
563
|
+
[_G, _GS, _NT],
|
|
564
|
+
[0, () => GroupingStatusesList, 0],
|
|
565
|
+
];
|
|
566
|
+
var ListGroupResourcesInput = [
|
|
567
|
+
3,
|
|
568
|
+
n0,
|
|
569
|
+
_LGRI,
|
|
570
|
+
0,
|
|
571
|
+
[_GN, _G, _Fi, _MR, _NT],
|
|
572
|
+
[0, 0, () => ResourceFilterList, 1, 0],
|
|
573
|
+
];
|
|
574
|
+
var ListGroupResourcesItem = [
|
|
575
|
+
3,
|
|
576
|
+
n0,
|
|
577
|
+
_LGRIi,
|
|
578
|
+
0,
|
|
579
|
+
[_I, _S],
|
|
580
|
+
[() => ResourceIdentifier, () => ResourceStatus],
|
|
581
|
+
];
|
|
582
|
+
var ListGroupResourcesOutput = [
|
|
583
|
+
3,
|
|
584
|
+
n0,
|
|
585
|
+
_LGRO,
|
|
586
|
+
0,
|
|
587
|
+
[_R, _RI, _NT, _QE],
|
|
588
|
+
[() => ListGroupResourcesItemList, () => ResourceIdentifierList, 0, () => QueryErrorList],
|
|
589
|
+
];
|
|
590
|
+
var ListGroupsInput = [
|
|
591
|
+
3,
|
|
592
|
+
n0,
|
|
593
|
+
_LGI,
|
|
594
|
+
0,
|
|
595
|
+
[_Fi, _MR, _NT],
|
|
596
|
+
[
|
|
597
|
+
() => GroupFilterList,
|
|
598
|
+
[
|
|
599
|
+
1,
|
|
600
|
+
{
|
|
601
|
+
[_hQ]: _mR,
|
|
602
|
+
},
|
|
603
|
+
],
|
|
604
|
+
[
|
|
605
|
+
0,
|
|
606
|
+
{
|
|
607
|
+
[_hQ]: _nT,
|
|
608
|
+
},
|
|
609
|
+
],
|
|
610
|
+
],
|
|
611
|
+
];
|
|
612
|
+
var ListGroupsOutput = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_LGO,
|
|
616
|
+
0,
|
|
617
|
+
[_GIr, _Gr, _NT],
|
|
618
|
+
[() => GroupIdentifierList, () => GroupList, 0],
|
|
619
|
+
];
|
|
620
|
+
var ListTagSyncTasksFilter = [3, n0, _LTSTF, 0, [_GA, _GN], [0, 0]];
|
|
621
|
+
var ListTagSyncTasksInput = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_LTSTI,
|
|
625
|
+
0,
|
|
626
|
+
[_Fi, _MR, _NT],
|
|
627
|
+
[() => ListTagSyncTasksFilterList, 1, 0],
|
|
628
|
+
];
|
|
629
|
+
var ListTagSyncTasksOutput = [3, n0, _LTSTO, 0, [_TST, _NT], [() => TagSyncTaskList, 0]];
|
|
630
|
+
var MethodNotAllowedException = [
|
|
631
|
+
-3,
|
|
632
|
+
n0,
|
|
633
|
+
_MNAE,
|
|
634
|
+
{
|
|
635
|
+
[_e]: _c,
|
|
636
|
+
[_hE]: 405,
|
|
637
|
+
},
|
|
638
|
+
[_M],
|
|
639
|
+
[0],
|
|
640
|
+
];
|
|
641
|
+
schema.TypeRegistry.for(n0).registerError(MethodNotAllowedException, MethodNotAllowedException$1);
|
|
642
|
+
var NotFoundException = [
|
|
643
|
+
-3,
|
|
644
|
+
n0,
|
|
645
|
+
_NFE,
|
|
646
|
+
{
|
|
647
|
+
[_e]: _c,
|
|
648
|
+
[_hE]: 404,
|
|
649
|
+
},
|
|
650
|
+
[_M],
|
|
651
|
+
[0],
|
|
652
|
+
];
|
|
653
|
+
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
654
|
+
var PendingResource = [3, n0, _PR, 0, [_RA], [0]];
|
|
655
|
+
var PutGroupConfigurationInput = [
|
|
656
|
+
3,
|
|
657
|
+
n0,
|
|
658
|
+
_PGCI,
|
|
659
|
+
0,
|
|
660
|
+
[_G, _C],
|
|
661
|
+
[0, () => GroupConfigurationList],
|
|
662
|
+
];
|
|
663
|
+
var PutGroupConfigurationOutput = [3, n0, _PGCO, 0, [], []];
|
|
664
|
+
var QueryError = [3, n0, _QEu, 0, [_EC, _M], [0, 0]];
|
|
665
|
+
var ResourceFilter = [3, n0, _RF, 0, [_N, _V], [0, 64 | 0]];
|
|
666
|
+
var ResourceIdentifier = [3, n0, _RIe, 0, [_RA, _RT], [0, 0]];
|
|
667
|
+
var ResourceQuery = [3, n0, _RQ, 0, [_Ty, _Q], [0, 0]];
|
|
668
|
+
var ResourceStatus = [3, n0, _RS, 0, [_N], [0]];
|
|
669
|
+
var SearchResourcesInput = [3, n0, _SRI, 0, [_RQ, _MR, _NT], [() => ResourceQuery, 1, 0]];
|
|
670
|
+
var SearchResourcesOutput = [
|
|
671
|
+
3,
|
|
672
|
+
n0,
|
|
673
|
+
_SRO,
|
|
674
|
+
0,
|
|
675
|
+
[_RI, _NT, _QE],
|
|
676
|
+
[() => ResourceIdentifierList, 0, () => QueryErrorList],
|
|
677
|
+
];
|
|
678
|
+
var StartTagSyncTaskInput = [
|
|
679
|
+
3,
|
|
680
|
+
n0,
|
|
681
|
+
_STSTI,
|
|
682
|
+
0,
|
|
683
|
+
[_G, _TK, _TV, _RQ, _RAo],
|
|
684
|
+
[0, 0, 0, () => ResourceQuery, 0],
|
|
685
|
+
];
|
|
686
|
+
var StartTagSyncTaskOutput = [
|
|
687
|
+
3,
|
|
688
|
+
n0,
|
|
689
|
+
_STSTO,
|
|
690
|
+
0,
|
|
691
|
+
[_GA, _GN, _TA, _TK, _TV, _RQ, _RAo],
|
|
692
|
+
[0, 0, 0, 0, 0, () => ResourceQuery, 0],
|
|
693
|
+
];
|
|
694
|
+
var TagInput = [3, n0, _TI, 0, [_A, _T], [[0, 1], 128 | 0]];
|
|
695
|
+
var TagOutput = [3, n0, _TO, 0, [_A, _T], [0, 128 | 0]];
|
|
696
|
+
var TagSyncTaskItem = [
|
|
697
|
+
3,
|
|
698
|
+
n0,
|
|
699
|
+
_TSTI,
|
|
700
|
+
0,
|
|
701
|
+
[_GA, _GN, _TA, _TK, _TV, _RQ, _RAo, _S, _EM, _CA],
|
|
702
|
+
[0, 0, 0, 0, 0, () => ResourceQuery, 0, 0, 0, 4],
|
|
703
|
+
];
|
|
704
|
+
var TooManyRequestsException = [
|
|
705
|
+
-3,
|
|
706
|
+
n0,
|
|
707
|
+
_TMRE,
|
|
708
|
+
{
|
|
709
|
+
[_e]: _c,
|
|
710
|
+
[_hE]: 429,
|
|
711
|
+
},
|
|
712
|
+
[_M],
|
|
713
|
+
[0],
|
|
714
|
+
];
|
|
715
|
+
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
716
|
+
var UnauthorizedException = [
|
|
717
|
+
-3,
|
|
718
|
+
n0,
|
|
719
|
+
_UE,
|
|
720
|
+
{
|
|
721
|
+
[_e]: _c,
|
|
722
|
+
[_hE]: 401,
|
|
723
|
+
},
|
|
724
|
+
[_M],
|
|
725
|
+
[0],
|
|
726
|
+
];
|
|
727
|
+
schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
|
|
728
|
+
var UngroupResourcesInput = [3, n0, _URI, 0, [_G, _RAe], [0, 64 | 0]];
|
|
729
|
+
var UngroupResourcesOutput = [
|
|
730
|
+
3,
|
|
731
|
+
n0,
|
|
732
|
+
_URO,
|
|
733
|
+
0,
|
|
734
|
+
[_Su, _F, _Pe],
|
|
735
|
+
[64 | 0, () => FailedResourceList, () => PendingResourceList],
|
|
736
|
+
];
|
|
737
|
+
var UntagInput = [3, n0, _UI, 0, [_A, _K], [[0, 1], 64 | 0]];
|
|
738
|
+
var UntagOutput = [3, n0, _UO, 0, [_A, _K], [0, 64 | 0]];
|
|
739
|
+
var UpdateAccountSettingsInput = [3, n0, _UASI, 0, [_GLEDS], [0]];
|
|
740
|
+
var UpdateAccountSettingsOutput = [3, n0, _UASO, 0, [_AS], [() => AccountSettings]];
|
|
741
|
+
var UpdateGroupInput = [3, n0, _UGI, 0, [_GN, _G, _D, _Cr, _O, _DN], [0, 0, 0, 1, 0, 0]];
|
|
742
|
+
var UpdateGroupOutput = [3, n0, _UGO, 0, [_G], [() => Group]];
|
|
743
|
+
var UpdateGroupQueryInput = [
|
|
744
|
+
3,
|
|
745
|
+
n0,
|
|
746
|
+
_UGQI,
|
|
747
|
+
0,
|
|
748
|
+
[_GN, _G, _RQ],
|
|
749
|
+
[0, 0, () => ResourceQuery],
|
|
750
|
+
];
|
|
751
|
+
var UpdateGroupQueryOutput = [3, n0, _UGQO, 0, [_GQ], [() => GroupQuery]];
|
|
752
|
+
var __Unit = "unit";
|
|
753
|
+
var ResourceGroupsServiceException = [-3, _sm, "ResourceGroupsServiceException", 0, [], []];
|
|
754
|
+
schema.TypeRegistry.for(_sm).registerError(ResourceGroupsServiceException, ResourceGroupsServiceException$1);
|
|
755
|
+
var FailedResourceList = [1, n0, _FRL, 0, () => FailedResource];
|
|
756
|
+
var GroupConfigurationList = [1, n0, _GCL, 0, () => GroupConfigurationItem];
|
|
757
|
+
var GroupFilterList = [1, n0, _GFL, 0, () => GroupFilter];
|
|
758
|
+
var GroupIdentifierList = [1, n0, _GIL, 0, () => GroupIdentifier];
|
|
759
|
+
var GroupingStatusesList = [1, n0, _GSL, 0, () => GroupingStatusesItem];
|
|
760
|
+
var GroupList = [1, n0, _GL, 0, () => Group];
|
|
761
|
+
var GroupParameterList = [1, n0, _GPL, 0, () => GroupConfigurationParameter];
|
|
762
|
+
var ListGroupingStatusesFilterList = [1, n0, _LGSFL, 0, () => ListGroupingStatusesFilter];
|
|
763
|
+
var ListGroupResourcesItemList = [1, n0, _LGRIL, 0, () => ListGroupResourcesItem];
|
|
764
|
+
var ListTagSyncTasksFilterList = [1, n0, _LTSTFL, 0, () => ListTagSyncTasksFilter];
|
|
765
|
+
var PendingResourceList = [1, n0, _PRL, 0, () => PendingResource];
|
|
766
|
+
var QueryErrorList = [1, n0, _QEL, 0, () => QueryError];
|
|
767
|
+
var ResourceFilterList = [1, n0, _RFL, 0, () => ResourceFilter];
|
|
768
|
+
var ResourceIdentifierList = [1, n0, _RIL, 0, () => ResourceIdentifier];
|
|
769
|
+
var TagSyncTaskList = [1, n0, _TSTL, 0, () => TagSyncTaskItem];
|
|
770
|
+
var CancelTagSyncTask = [
|
|
771
|
+
9,
|
|
772
|
+
n0,
|
|
773
|
+
_CTST,
|
|
774
|
+
{
|
|
775
|
+
[_h]: ["POST", "/cancel-tag-sync-task", 200],
|
|
776
|
+
},
|
|
777
|
+
() => CancelTagSyncTaskInput,
|
|
778
|
+
() => __Unit,
|
|
779
|
+
];
|
|
780
|
+
var CreateGroup = [
|
|
781
|
+
9,
|
|
782
|
+
n0,
|
|
783
|
+
_CG,
|
|
784
|
+
{
|
|
785
|
+
[_h]: ["POST", "/groups", 200],
|
|
786
|
+
},
|
|
787
|
+
() => CreateGroupInput,
|
|
788
|
+
() => CreateGroupOutput,
|
|
789
|
+
];
|
|
790
|
+
var DeleteGroup = [
|
|
791
|
+
9,
|
|
792
|
+
n0,
|
|
793
|
+
_DG,
|
|
794
|
+
{
|
|
795
|
+
[_h]: ["POST", "/delete-group", 200],
|
|
796
|
+
},
|
|
797
|
+
() => DeleteGroupInput,
|
|
798
|
+
() => DeleteGroupOutput,
|
|
799
|
+
];
|
|
800
|
+
var GetAccountSettings = [
|
|
801
|
+
9,
|
|
802
|
+
n0,
|
|
803
|
+
_GAS,
|
|
804
|
+
{
|
|
805
|
+
[_h]: ["POST", "/get-account-settings", 200],
|
|
806
|
+
},
|
|
807
|
+
() => __Unit,
|
|
808
|
+
() => GetAccountSettingsOutput,
|
|
809
|
+
];
|
|
810
|
+
var GetGroup = [
|
|
811
|
+
9,
|
|
812
|
+
n0,
|
|
813
|
+
_GG,
|
|
814
|
+
{
|
|
815
|
+
[_h]: ["POST", "/get-group", 200],
|
|
816
|
+
},
|
|
817
|
+
() => GetGroupInput,
|
|
818
|
+
() => GetGroupOutput,
|
|
819
|
+
];
|
|
820
|
+
var GetGroupConfiguration = [
|
|
821
|
+
9,
|
|
822
|
+
n0,
|
|
823
|
+
_GGC,
|
|
824
|
+
{
|
|
825
|
+
[_h]: ["POST", "/get-group-configuration", 200],
|
|
826
|
+
},
|
|
827
|
+
() => GetGroupConfigurationInput,
|
|
828
|
+
() => GetGroupConfigurationOutput,
|
|
829
|
+
];
|
|
830
|
+
var GetGroupQuery = [
|
|
831
|
+
9,
|
|
832
|
+
n0,
|
|
833
|
+
_GGQ,
|
|
834
|
+
{
|
|
835
|
+
[_h]: ["POST", "/get-group-query", 200],
|
|
836
|
+
},
|
|
837
|
+
() => GetGroupQueryInput,
|
|
838
|
+
() => GetGroupQueryOutput,
|
|
839
|
+
];
|
|
840
|
+
var GetTags = [
|
|
841
|
+
9,
|
|
842
|
+
n0,
|
|
843
|
+
_GT,
|
|
844
|
+
{
|
|
845
|
+
[_h]: ["GET", "/resources/{Arn}/tags", 200],
|
|
846
|
+
},
|
|
847
|
+
() => GetTagsInput,
|
|
848
|
+
() => GetTagsOutput,
|
|
849
|
+
];
|
|
850
|
+
var GetTagSyncTask = [
|
|
851
|
+
9,
|
|
852
|
+
n0,
|
|
853
|
+
_GTST,
|
|
854
|
+
{
|
|
855
|
+
[_h]: ["POST", "/get-tag-sync-task", 200],
|
|
856
|
+
},
|
|
857
|
+
() => GetTagSyncTaskInput,
|
|
858
|
+
() => GetTagSyncTaskOutput,
|
|
859
|
+
];
|
|
860
|
+
var GroupResources = [
|
|
861
|
+
9,
|
|
862
|
+
n0,
|
|
863
|
+
_GR,
|
|
864
|
+
{
|
|
865
|
+
[_h]: ["POST", "/group-resources", 200],
|
|
866
|
+
},
|
|
867
|
+
() => GroupResourcesInput,
|
|
868
|
+
() => GroupResourcesOutput,
|
|
869
|
+
];
|
|
870
|
+
var ListGroupingStatuses = [
|
|
871
|
+
9,
|
|
872
|
+
n0,
|
|
873
|
+
_LGS,
|
|
874
|
+
{
|
|
875
|
+
[_h]: ["POST", "/list-grouping-statuses", 200],
|
|
876
|
+
},
|
|
877
|
+
() => ListGroupingStatusesInput,
|
|
878
|
+
() => ListGroupingStatusesOutput,
|
|
879
|
+
];
|
|
880
|
+
var ListGroupResources = [
|
|
881
|
+
9,
|
|
882
|
+
n0,
|
|
883
|
+
_LGR,
|
|
884
|
+
{
|
|
885
|
+
[_h]: ["POST", "/list-group-resources", 200],
|
|
886
|
+
},
|
|
887
|
+
() => ListGroupResourcesInput,
|
|
888
|
+
() => ListGroupResourcesOutput,
|
|
889
|
+
];
|
|
890
|
+
var ListGroups = [
|
|
891
|
+
9,
|
|
892
|
+
n0,
|
|
893
|
+
_LG,
|
|
894
|
+
{
|
|
895
|
+
[_h]: ["POST", "/groups-list", 200],
|
|
896
|
+
},
|
|
897
|
+
() => ListGroupsInput,
|
|
898
|
+
() => ListGroupsOutput,
|
|
899
|
+
];
|
|
900
|
+
var ListTagSyncTasks = [
|
|
901
|
+
9,
|
|
902
|
+
n0,
|
|
903
|
+
_LTST,
|
|
904
|
+
{
|
|
905
|
+
[_h]: ["POST", "/list-tag-sync-tasks", 200],
|
|
906
|
+
},
|
|
907
|
+
() => ListTagSyncTasksInput,
|
|
908
|
+
() => ListTagSyncTasksOutput,
|
|
909
|
+
];
|
|
910
|
+
var PutGroupConfiguration = [
|
|
911
|
+
9,
|
|
912
|
+
n0,
|
|
913
|
+
_PGC,
|
|
914
|
+
{
|
|
915
|
+
[_h]: ["POST", "/put-group-configuration", 202],
|
|
916
|
+
},
|
|
917
|
+
() => PutGroupConfigurationInput,
|
|
918
|
+
() => PutGroupConfigurationOutput,
|
|
919
|
+
];
|
|
920
|
+
var SearchResources = [
|
|
921
|
+
9,
|
|
922
|
+
n0,
|
|
923
|
+
_SR,
|
|
924
|
+
{
|
|
925
|
+
[_h]: ["POST", "/resources/search", 200],
|
|
926
|
+
},
|
|
927
|
+
() => SearchResourcesInput,
|
|
928
|
+
() => SearchResourcesOutput,
|
|
929
|
+
];
|
|
930
|
+
var StartTagSyncTask = [
|
|
931
|
+
9,
|
|
932
|
+
n0,
|
|
933
|
+
_STST,
|
|
934
|
+
{
|
|
935
|
+
[_h]: ["POST", "/start-tag-sync-task", 200],
|
|
936
|
+
},
|
|
937
|
+
() => StartTagSyncTaskInput,
|
|
938
|
+
() => StartTagSyncTaskOutput,
|
|
939
|
+
];
|
|
940
|
+
var Tag = [
|
|
941
|
+
9,
|
|
942
|
+
n0,
|
|
943
|
+
_Ta,
|
|
944
|
+
{
|
|
945
|
+
[_h]: ["PUT", "/resources/{Arn}/tags", 200],
|
|
946
|
+
},
|
|
947
|
+
() => TagInput,
|
|
948
|
+
() => TagOutput,
|
|
949
|
+
];
|
|
950
|
+
var UngroupResources = [
|
|
951
|
+
9,
|
|
952
|
+
n0,
|
|
953
|
+
_UR,
|
|
954
|
+
{
|
|
955
|
+
[_h]: ["POST", "/ungroup-resources", 200],
|
|
956
|
+
},
|
|
957
|
+
() => UngroupResourcesInput,
|
|
958
|
+
() => UngroupResourcesOutput,
|
|
959
|
+
];
|
|
960
|
+
var Untag = [
|
|
961
|
+
9,
|
|
962
|
+
n0,
|
|
963
|
+
_U,
|
|
964
|
+
{
|
|
965
|
+
[_h]: ["PATCH", "/resources/{Arn}/tags", 200],
|
|
966
|
+
},
|
|
967
|
+
() => UntagInput,
|
|
968
|
+
() => UntagOutput,
|
|
969
|
+
];
|
|
970
|
+
var UpdateAccountSettings = [
|
|
971
|
+
9,
|
|
972
|
+
n0,
|
|
973
|
+
_UAS,
|
|
974
|
+
{
|
|
975
|
+
[_h]: ["POST", "/update-account-settings", 200],
|
|
976
|
+
},
|
|
977
|
+
() => UpdateAccountSettingsInput,
|
|
978
|
+
() => UpdateAccountSettingsOutput,
|
|
979
|
+
];
|
|
980
|
+
var UpdateGroup = [
|
|
981
|
+
9,
|
|
982
|
+
n0,
|
|
983
|
+
_UG,
|
|
984
|
+
{
|
|
985
|
+
[_h]: ["POST", "/update-group", 200],
|
|
986
|
+
},
|
|
987
|
+
() => UpdateGroupInput,
|
|
988
|
+
() => UpdateGroupOutput,
|
|
989
|
+
];
|
|
990
|
+
var UpdateGroupQuery = [
|
|
991
|
+
9,
|
|
992
|
+
n0,
|
|
993
|
+
_UGQ,
|
|
994
|
+
{
|
|
995
|
+
[_h]: ["POST", "/update-group-query", 200],
|
|
996
|
+
},
|
|
997
|
+
() => UpdateGroupQueryInput,
|
|
998
|
+
() => UpdateGroupQueryOutput,
|
|
999
|
+
];
|
|
1134
1000
|
|
|
1135
1001
|
class CancelTagSyncTaskCommand extends smithyClient.Command
|
|
1136
1002
|
.classBuilder()
|
|
1137
1003
|
.ep(commonParams)
|
|
1138
1004
|
.m(function (Command, cs, config, o) {
|
|
1139
|
-
return [
|
|
1140
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1141
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1142
|
-
];
|
|
1005
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1143
1006
|
})
|
|
1144
1007
|
.s("Ardi", "CancelTagSyncTask", {})
|
|
1145
1008
|
.n("ResourceGroupsClient", "CancelTagSyncTaskCommand")
|
|
1146
|
-
.
|
|
1147
|
-
.ser(se_CancelTagSyncTaskCommand)
|
|
1148
|
-
.de(de_CancelTagSyncTaskCommand)
|
|
1009
|
+
.sc(CancelTagSyncTask)
|
|
1149
1010
|
.build() {
|
|
1150
1011
|
}
|
|
1151
1012
|
|
|
@@ -1153,16 +1014,11 @@ class CreateGroupCommand extends smithyClient.Command
|
|
|
1153
1014
|
.classBuilder()
|
|
1154
1015
|
.ep(commonParams)
|
|
1155
1016
|
.m(function (Command, cs, config, o) {
|
|
1156
|
-
return [
|
|
1157
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1158
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1159
|
-
];
|
|
1017
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1160
1018
|
})
|
|
1161
1019
|
.s("Ardi", "CreateGroup", {})
|
|
1162
1020
|
.n("ResourceGroupsClient", "CreateGroupCommand")
|
|
1163
|
-
.
|
|
1164
|
-
.ser(se_CreateGroupCommand)
|
|
1165
|
-
.de(de_CreateGroupCommand)
|
|
1021
|
+
.sc(CreateGroup)
|
|
1166
1022
|
.build() {
|
|
1167
1023
|
}
|
|
1168
1024
|
|
|
@@ -1170,16 +1026,11 @@ class DeleteGroupCommand extends smithyClient.Command
|
|
|
1170
1026
|
.classBuilder()
|
|
1171
1027
|
.ep(commonParams)
|
|
1172
1028
|
.m(function (Command, cs, config, o) {
|
|
1173
|
-
return [
|
|
1174
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1175
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1176
|
-
];
|
|
1029
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1177
1030
|
})
|
|
1178
1031
|
.s("Ardi", "DeleteGroup", {})
|
|
1179
1032
|
.n("ResourceGroupsClient", "DeleteGroupCommand")
|
|
1180
|
-
.
|
|
1181
|
-
.ser(se_DeleteGroupCommand)
|
|
1182
|
-
.de(de_DeleteGroupCommand)
|
|
1033
|
+
.sc(DeleteGroup)
|
|
1183
1034
|
.build() {
|
|
1184
1035
|
}
|
|
1185
1036
|
|
|
@@ -1187,16 +1038,11 @@ class GetAccountSettingsCommand extends smithyClient.Command
|
|
|
1187
1038
|
.classBuilder()
|
|
1188
1039
|
.ep(commonParams)
|
|
1189
1040
|
.m(function (Command, cs, config, o) {
|
|
1190
|
-
return [
|
|
1191
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1192
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1193
|
-
];
|
|
1041
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1194
1042
|
})
|
|
1195
1043
|
.s("Ardi", "GetAccountSettings", {})
|
|
1196
1044
|
.n("ResourceGroupsClient", "GetAccountSettingsCommand")
|
|
1197
|
-
.
|
|
1198
|
-
.ser(se_GetAccountSettingsCommand)
|
|
1199
|
-
.de(de_GetAccountSettingsCommand)
|
|
1045
|
+
.sc(GetAccountSettings)
|
|
1200
1046
|
.build() {
|
|
1201
1047
|
}
|
|
1202
1048
|
|
|
@@ -1204,16 +1050,11 @@ class GetGroupCommand extends smithyClient.Command
|
|
|
1204
1050
|
.classBuilder()
|
|
1205
1051
|
.ep(commonParams)
|
|
1206
1052
|
.m(function (Command, cs, config, o) {
|
|
1207
|
-
return [
|
|
1208
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1209
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1210
|
-
];
|
|
1053
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1211
1054
|
})
|
|
1212
1055
|
.s("Ardi", "GetGroup", {})
|
|
1213
1056
|
.n("ResourceGroupsClient", "GetGroupCommand")
|
|
1214
|
-
.
|
|
1215
|
-
.ser(se_GetGroupCommand)
|
|
1216
|
-
.de(de_GetGroupCommand)
|
|
1057
|
+
.sc(GetGroup)
|
|
1217
1058
|
.build() {
|
|
1218
1059
|
}
|
|
1219
1060
|
|
|
@@ -1221,16 +1062,11 @@ class GetGroupConfigurationCommand extends smithyClient.Command
|
|
|
1221
1062
|
.classBuilder()
|
|
1222
1063
|
.ep(commonParams)
|
|
1223
1064
|
.m(function (Command, cs, config, o) {
|
|
1224
|
-
return [
|
|
1225
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1226
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1227
|
-
];
|
|
1065
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1228
1066
|
})
|
|
1229
1067
|
.s("Ardi", "GetGroupConfiguration", {})
|
|
1230
1068
|
.n("ResourceGroupsClient", "GetGroupConfigurationCommand")
|
|
1231
|
-
.
|
|
1232
|
-
.ser(se_GetGroupConfigurationCommand)
|
|
1233
|
-
.de(de_GetGroupConfigurationCommand)
|
|
1069
|
+
.sc(GetGroupConfiguration)
|
|
1234
1070
|
.build() {
|
|
1235
1071
|
}
|
|
1236
1072
|
|
|
@@ -1238,16 +1074,11 @@ class GetGroupQueryCommand extends smithyClient.Command
|
|
|
1238
1074
|
.classBuilder()
|
|
1239
1075
|
.ep(commonParams)
|
|
1240
1076
|
.m(function (Command, cs, config, o) {
|
|
1241
|
-
return [
|
|
1242
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1243
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1244
|
-
];
|
|
1077
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1245
1078
|
})
|
|
1246
1079
|
.s("Ardi", "GetGroupQuery", {})
|
|
1247
1080
|
.n("ResourceGroupsClient", "GetGroupQueryCommand")
|
|
1248
|
-
.
|
|
1249
|
-
.ser(se_GetGroupQueryCommand)
|
|
1250
|
-
.de(de_GetGroupQueryCommand)
|
|
1081
|
+
.sc(GetGroupQuery)
|
|
1251
1082
|
.build() {
|
|
1252
1083
|
}
|
|
1253
1084
|
|
|
@@ -1255,16 +1086,11 @@ class GetTagsCommand extends smithyClient.Command
|
|
|
1255
1086
|
.classBuilder()
|
|
1256
1087
|
.ep(commonParams)
|
|
1257
1088
|
.m(function (Command, cs, config, o) {
|
|
1258
|
-
return [
|
|
1259
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1260
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1261
|
-
];
|
|
1089
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1262
1090
|
})
|
|
1263
1091
|
.s("Ardi", "GetTags", {})
|
|
1264
1092
|
.n("ResourceGroupsClient", "GetTagsCommand")
|
|
1265
|
-
.
|
|
1266
|
-
.ser(se_GetTagsCommand)
|
|
1267
|
-
.de(de_GetTagsCommand)
|
|
1093
|
+
.sc(GetTags)
|
|
1268
1094
|
.build() {
|
|
1269
1095
|
}
|
|
1270
1096
|
|
|
@@ -1272,16 +1098,11 @@ class GetTagSyncTaskCommand extends smithyClient.Command
|
|
|
1272
1098
|
.classBuilder()
|
|
1273
1099
|
.ep(commonParams)
|
|
1274
1100
|
.m(function (Command, cs, config, o) {
|
|
1275
|
-
return [
|
|
1276
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1277
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1278
|
-
];
|
|
1101
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1279
1102
|
})
|
|
1280
1103
|
.s("Ardi", "GetTagSyncTask", {})
|
|
1281
1104
|
.n("ResourceGroupsClient", "GetTagSyncTaskCommand")
|
|
1282
|
-
.
|
|
1283
|
-
.ser(se_GetTagSyncTaskCommand)
|
|
1284
|
-
.de(de_GetTagSyncTaskCommand)
|
|
1105
|
+
.sc(GetTagSyncTask)
|
|
1285
1106
|
.build() {
|
|
1286
1107
|
}
|
|
1287
1108
|
|
|
@@ -1289,16 +1110,11 @@ class GroupResourcesCommand extends smithyClient.Command
|
|
|
1289
1110
|
.classBuilder()
|
|
1290
1111
|
.ep(commonParams)
|
|
1291
1112
|
.m(function (Command, cs, config, o) {
|
|
1292
|
-
return [
|
|
1293
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1294
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1295
|
-
];
|
|
1113
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1296
1114
|
})
|
|
1297
1115
|
.s("Ardi", "GroupResources", {})
|
|
1298
1116
|
.n("ResourceGroupsClient", "GroupResourcesCommand")
|
|
1299
|
-
.
|
|
1300
|
-
.ser(se_GroupResourcesCommand)
|
|
1301
|
-
.de(de_GroupResourcesCommand)
|
|
1117
|
+
.sc(GroupResources)
|
|
1302
1118
|
.build() {
|
|
1303
1119
|
}
|
|
1304
1120
|
|
|
@@ -1306,16 +1122,11 @@ class ListGroupingStatusesCommand extends smithyClient.Command
|
|
|
1306
1122
|
.classBuilder()
|
|
1307
1123
|
.ep(commonParams)
|
|
1308
1124
|
.m(function (Command, cs, config, o) {
|
|
1309
|
-
return [
|
|
1310
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1311
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1312
|
-
];
|
|
1125
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1313
1126
|
})
|
|
1314
1127
|
.s("Ardi", "ListGroupingStatuses", {})
|
|
1315
1128
|
.n("ResourceGroupsClient", "ListGroupingStatusesCommand")
|
|
1316
|
-
.
|
|
1317
|
-
.ser(se_ListGroupingStatusesCommand)
|
|
1318
|
-
.de(de_ListGroupingStatusesCommand)
|
|
1129
|
+
.sc(ListGroupingStatuses)
|
|
1319
1130
|
.build() {
|
|
1320
1131
|
}
|
|
1321
1132
|
|
|
@@ -1323,16 +1134,11 @@ class ListGroupResourcesCommand extends smithyClient.Command
|
|
|
1323
1134
|
.classBuilder()
|
|
1324
1135
|
.ep(commonParams)
|
|
1325
1136
|
.m(function (Command, cs, config, o) {
|
|
1326
|
-
return [
|
|
1327
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1328
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1329
|
-
];
|
|
1137
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1330
1138
|
})
|
|
1331
1139
|
.s("Ardi", "ListGroupResources", {})
|
|
1332
1140
|
.n("ResourceGroupsClient", "ListGroupResourcesCommand")
|
|
1333
|
-
.
|
|
1334
|
-
.ser(se_ListGroupResourcesCommand)
|
|
1335
|
-
.de(de_ListGroupResourcesCommand)
|
|
1141
|
+
.sc(ListGroupResources)
|
|
1336
1142
|
.build() {
|
|
1337
1143
|
}
|
|
1338
1144
|
|
|
@@ -1340,16 +1146,11 @@ class ListGroupsCommand extends smithyClient.Command
|
|
|
1340
1146
|
.classBuilder()
|
|
1341
1147
|
.ep(commonParams)
|
|
1342
1148
|
.m(function (Command, cs, config, o) {
|
|
1343
|
-
return [
|
|
1344
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1345
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1346
|
-
];
|
|
1149
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1347
1150
|
})
|
|
1348
1151
|
.s("Ardi", "ListGroups", {})
|
|
1349
1152
|
.n("ResourceGroupsClient", "ListGroupsCommand")
|
|
1350
|
-
.
|
|
1351
|
-
.ser(se_ListGroupsCommand)
|
|
1352
|
-
.de(de_ListGroupsCommand)
|
|
1153
|
+
.sc(ListGroups)
|
|
1353
1154
|
.build() {
|
|
1354
1155
|
}
|
|
1355
1156
|
|
|
@@ -1357,16 +1158,11 @@ class ListTagSyncTasksCommand extends smithyClient.Command
|
|
|
1357
1158
|
.classBuilder()
|
|
1358
1159
|
.ep(commonParams)
|
|
1359
1160
|
.m(function (Command, cs, config, o) {
|
|
1360
|
-
return [
|
|
1361
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1362
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1363
|
-
];
|
|
1161
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1364
1162
|
})
|
|
1365
1163
|
.s("Ardi", "ListTagSyncTasks", {})
|
|
1366
1164
|
.n("ResourceGroupsClient", "ListTagSyncTasksCommand")
|
|
1367
|
-
.
|
|
1368
|
-
.ser(se_ListTagSyncTasksCommand)
|
|
1369
|
-
.de(de_ListTagSyncTasksCommand)
|
|
1165
|
+
.sc(ListTagSyncTasks)
|
|
1370
1166
|
.build() {
|
|
1371
1167
|
}
|
|
1372
1168
|
|
|
@@ -1374,16 +1170,11 @@ class PutGroupConfigurationCommand extends smithyClient.Command
|
|
|
1374
1170
|
.classBuilder()
|
|
1375
1171
|
.ep(commonParams)
|
|
1376
1172
|
.m(function (Command, cs, config, o) {
|
|
1377
|
-
return [
|
|
1378
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1379
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1380
|
-
];
|
|
1173
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1381
1174
|
})
|
|
1382
1175
|
.s("Ardi", "PutGroupConfiguration", {})
|
|
1383
1176
|
.n("ResourceGroupsClient", "PutGroupConfigurationCommand")
|
|
1384
|
-
.
|
|
1385
|
-
.ser(se_PutGroupConfigurationCommand)
|
|
1386
|
-
.de(de_PutGroupConfigurationCommand)
|
|
1177
|
+
.sc(PutGroupConfiguration)
|
|
1387
1178
|
.build() {
|
|
1388
1179
|
}
|
|
1389
1180
|
|
|
@@ -1391,16 +1182,11 @@ class SearchResourcesCommand extends smithyClient.Command
|
|
|
1391
1182
|
.classBuilder()
|
|
1392
1183
|
.ep(commonParams)
|
|
1393
1184
|
.m(function (Command, cs, config, o) {
|
|
1394
|
-
return [
|
|
1395
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1396
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1397
|
-
];
|
|
1185
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1398
1186
|
})
|
|
1399
1187
|
.s("Ardi", "SearchResources", {})
|
|
1400
1188
|
.n("ResourceGroupsClient", "SearchResourcesCommand")
|
|
1401
|
-
.
|
|
1402
|
-
.ser(se_SearchResourcesCommand)
|
|
1403
|
-
.de(de_SearchResourcesCommand)
|
|
1189
|
+
.sc(SearchResources)
|
|
1404
1190
|
.build() {
|
|
1405
1191
|
}
|
|
1406
1192
|
|
|
@@ -1408,16 +1194,11 @@ class StartTagSyncTaskCommand extends smithyClient.Command
|
|
|
1408
1194
|
.classBuilder()
|
|
1409
1195
|
.ep(commonParams)
|
|
1410
1196
|
.m(function (Command, cs, config, o) {
|
|
1411
|
-
return [
|
|
1412
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1413
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1414
|
-
];
|
|
1197
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1415
1198
|
})
|
|
1416
1199
|
.s("Ardi", "StartTagSyncTask", {})
|
|
1417
1200
|
.n("ResourceGroupsClient", "StartTagSyncTaskCommand")
|
|
1418
|
-
.
|
|
1419
|
-
.ser(se_StartTagSyncTaskCommand)
|
|
1420
|
-
.de(de_StartTagSyncTaskCommand)
|
|
1201
|
+
.sc(StartTagSyncTask)
|
|
1421
1202
|
.build() {
|
|
1422
1203
|
}
|
|
1423
1204
|
|
|
@@ -1425,16 +1206,11 @@ class TagCommand extends smithyClient.Command
|
|
|
1425
1206
|
.classBuilder()
|
|
1426
1207
|
.ep(commonParams)
|
|
1427
1208
|
.m(function (Command, cs, config, o) {
|
|
1428
|
-
return [
|
|
1429
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1430
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1431
|
-
];
|
|
1209
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1432
1210
|
})
|
|
1433
1211
|
.s("Ardi", "Tag", {})
|
|
1434
1212
|
.n("ResourceGroupsClient", "TagCommand")
|
|
1435
|
-
.
|
|
1436
|
-
.ser(se_TagCommand)
|
|
1437
|
-
.de(de_TagCommand)
|
|
1213
|
+
.sc(Tag)
|
|
1438
1214
|
.build() {
|
|
1439
1215
|
}
|
|
1440
1216
|
|
|
@@ -1442,16 +1218,11 @@ class UngroupResourcesCommand extends smithyClient.Command
|
|
|
1442
1218
|
.classBuilder()
|
|
1443
1219
|
.ep(commonParams)
|
|
1444
1220
|
.m(function (Command, cs, config, o) {
|
|
1445
|
-
return [
|
|
1446
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1447
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1448
|
-
];
|
|
1221
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1449
1222
|
})
|
|
1450
1223
|
.s("Ardi", "UngroupResources", {})
|
|
1451
1224
|
.n("ResourceGroupsClient", "UngroupResourcesCommand")
|
|
1452
|
-
.
|
|
1453
|
-
.ser(se_UngroupResourcesCommand)
|
|
1454
|
-
.de(de_UngroupResourcesCommand)
|
|
1225
|
+
.sc(UngroupResources)
|
|
1455
1226
|
.build() {
|
|
1456
1227
|
}
|
|
1457
1228
|
|
|
@@ -1459,16 +1230,11 @@ class UntagCommand extends smithyClient.Command
|
|
|
1459
1230
|
.classBuilder()
|
|
1460
1231
|
.ep(commonParams)
|
|
1461
1232
|
.m(function (Command, cs, config, o) {
|
|
1462
|
-
return [
|
|
1463
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1464
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1465
|
-
];
|
|
1233
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1466
1234
|
})
|
|
1467
1235
|
.s("Ardi", "Untag", {})
|
|
1468
1236
|
.n("ResourceGroupsClient", "UntagCommand")
|
|
1469
|
-
.
|
|
1470
|
-
.ser(se_UntagCommand)
|
|
1471
|
-
.de(de_UntagCommand)
|
|
1237
|
+
.sc(Untag)
|
|
1472
1238
|
.build() {
|
|
1473
1239
|
}
|
|
1474
1240
|
|
|
@@ -1476,16 +1242,11 @@ class UpdateAccountSettingsCommand extends smithyClient.Command
|
|
|
1476
1242
|
.classBuilder()
|
|
1477
1243
|
.ep(commonParams)
|
|
1478
1244
|
.m(function (Command, cs, config, o) {
|
|
1479
|
-
return [
|
|
1480
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1481
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1482
|
-
];
|
|
1245
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1483
1246
|
})
|
|
1484
1247
|
.s("Ardi", "UpdateAccountSettings", {})
|
|
1485
1248
|
.n("ResourceGroupsClient", "UpdateAccountSettingsCommand")
|
|
1486
|
-
.
|
|
1487
|
-
.ser(se_UpdateAccountSettingsCommand)
|
|
1488
|
-
.de(de_UpdateAccountSettingsCommand)
|
|
1249
|
+
.sc(UpdateAccountSettings)
|
|
1489
1250
|
.build() {
|
|
1490
1251
|
}
|
|
1491
1252
|
|
|
@@ -1493,16 +1254,11 @@ class UpdateGroupCommand extends smithyClient.Command
|
|
|
1493
1254
|
.classBuilder()
|
|
1494
1255
|
.ep(commonParams)
|
|
1495
1256
|
.m(function (Command, cs, config, o) {
|
|
1496
|
-
return [
|
|
1497
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1498
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1499
|
-
];
|
|
1257
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1500
1258
|
})
|
|
1501
1259
|
.s("Ardi", "UpdateGroup", {})
|
|
1502
1260
|
.n("ResourceGroupsClient", "UpdateGroupCommand")
|
|
1503
|
-
.
|
|
1504
|
-
.ser(se_UpdateGroupCommand)
|
|
1505
|
-
.de(de_UpdateGroupCommand)
|
|
1261
|
+
.sc(UpdateGroup)
|
|
1506
1262
|
.build() {
|
|
1507
1263
|
}
|
|
1508
1264
|
|
|
@@ -1510,16 +1266,11 @@ class UpdateGroupQueryCommand extends smithyClient.Command
|
|
|
1510
1266
|
.classBuilder()
|
|
1511
1267
|
.ep(commonParams)
|
|
1512
1268
|
.m(function (Command, cs, config, o) {
|
|
1513
|
-
return [
|
|
1514
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1515
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1516
|
-
];
|
|
1269
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1517
1270
|
})
|
|
1518
1271
|
.s("Ardi", "UpdateGroupQuery", {})
|
|
1519
1272
|
.n("ResourceGroupsClient", "UpdateGroupQueryCommand")
|
|
1520
|
-
.
|
|
1521
|
-
.ser(se_UpdateGroupQueryCommand)
|
|
1522
|
-
.de(de_UpdateGroupQueryCommand)
|
|
1273
|
+
.sc(UpdateGroupQuery)
|
|
1523
1274
|
.build() {
|
|
1524
1275
|
}
|
|
1525
1276
|
|
|
@@ -1570,11 +1321,11 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1570
1321
|
enumerable: true,
|
|
1571
1322
|
get: function () { return smithyClient.Client; }
|
|
1572
1323
|
});
|
|
1573
|
-
exports.BadRequestException = BadRequestException;
|
|
1324
|
+
exports.BadRequestException = BadRequestException$1;
|
|
1574
1325
|
exports.CancelTagSyncTaskCommand = CancelTagSyncTaskCommand;
|
|
1575
1326
|
exports.CreateGroupCommand = CreateGroupCommand;
|
|
1576
1327
|
exports.DeleteGroupCommand = DeleteGroupCommand;
|
|
1577
|
-
exports.ForbiddenException = ForbiddenException;
|
|
1328
|
+
exports.ForbiddenException = ForbiddenException$1;
|
|
1578
1329
|
exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
|
|
1579
1330
|
exports.GetGroupCommand = GetGroupCommand;
|
|
1580
1331
|
exports.GetGroupConfigurationCommand = GetGroupConfigurationCommand;
|
|
@@ -1588,28 +1339,28 @@ exports.GroupLifecycleEventsStatus = GroupLifecycleEventsStatus;
|
|
|
1588
1339
|
exports.GroupResourcesCommand = GroupResourcesCommand;
|
|
1589
1340
|
exports.GroupingStatus = GroupingStatus;
|
|
1590
1341
|
exports.GroupingType = GroupingType;
|
|
1591
|
-
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1342
|
+
exports.InternalServerErrorException = InternalServerErrorException$1;
|
|
1592
1343
|
exports.ListGroupResourcesCommand = ListGroupResourcesCommand;
|
|
1593
1344
|
exports.ListGroupingStatusesCommand = ListGroupingStatusesCommand;
|
|
1594
1345
|
exports.ListGroupingStatusesFilterName = ListGroupingStatusesFilterName;
|
|
1595
1346
|
exports.ListGroupsCommand = ListGroupsCommand;
|
|
1596
1347
|
exports.ListTagSyncTasksCommand = ListTagSyncTasksCommand;
|
|
1597
|
-
exports.MethodNotAllowedException = MethodNotAllowedException;
|
|
1598
|
-
exports.NotFoundException = NotFoundException;
|
|
1348
|
+
exports.MethodNotAllowedException = MethodNotAllowedException$1;
|
|
1349
|
+
exports.NotFoundException = NotFoundException$1;
|
|
1599
1350
|
exports.PutGroupConfigurationCommand = PutGroupConfigurationCommand;
|
|
1600
1351
|
exports.QueryErrorCode = QueryErrorCode;
|
|
1601
1352
|
exports.QueryType = QueryType;
|
|
1602
1353
|
exports.ResourceFilterName = ResourceFilterName;
|
|
1603
1354
|
exports.ResourceGroups = ResourceGroups;
|
|
1604
1355
|
exports.ResourceGroupsClient = ResourceGroupsClient;
|
|
1605
|
-
exports.ResourceGroupsServiceException = ResourceGroupsServiceException;
|
|
1356
|
+
exports.ResourceGroupsServiceException = ResourceGroupsServiceException$1;
|
|
1606
1357
|
exports.ResourceStatusValue = ResourceStatusValue;
|
|
1607
1358
|
exports.SearchResourcesCommand = SearchResourcesCommand;
|
|
1608
1359
|
exports.StartTagSyncTaskCommand = StartTagSyncTaskCommand;
|
|
1609
1360
|
exports.TagCommand = TagCommand;
|
|
1610
1361
|
exports.TagSyncTaskStatus = TagSyncTaskStatus;
|
|
1611
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1612
|
-
exports.UnauthorizedException = UnauthorizedException;
|
|
1362
|
+
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
1363
|
+
exports.UnauthorizedException = UnauthorizedException$1;
|
|
1613
1364
|
exports.UngroupResourcesCommand = UngroupResourcesCommand;
|
|
1614
1365
|
exports.UntagCommand = UntagCommand;
|
|
1615
1366
|
exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
|