@aws-sdk/client-resource-groups 3.987.0 → 3.989.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.
@@ -163,23 +163,67 @@ const _hE = "httpError";
163
163
  const _hQ = "httpQuery";
164
164
  const _mR = "maxResults";
165
165
  const _nT = "nextToken";
166
- const _s = "server";
167
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroups";
166
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroups";
167
+ const _se = "server";
168
168
  const n0 = "com.amazonaws.resourcegroups";
169
169
  import { TypeRegistry } from "@smithy/core/schema";
170
170
  import { BadRequestException, ForbiddenException, InternalServerErrorException, MethodNotAllowedException, NotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/errors";
171
171
  import { ResourceGroupsServiceException } from "../models/ResourceGroupsServiceException";
172
- export var AccountSettings$ = [3, n0, _AS,
173
- 0,
174
- [_GLEDS, _GLES, _GLESM],
175
- [0, 0, 0]
176
- ];
172
+ const _s_registry = TypeRegistry.for(_s);
173
+ export var ResourceGroupsServiceException$ = [-3, _s, "ResourceGroupsServiceException", 0, [], []];
174
+ _s_registry.registerError(ResourceGroupsServiceException$, ResourceGroupsServiceException);
175
+ const n0_registry = TypeRegistry.for(n0);
177
176
  export var BadRequestException$ = [-3, n0, _BRE,
178
177
  { [_e]: _c, [_hE]: 400 },
179
178
  [_M],
180
179
  [0]
181
180
  ];
182
- TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
181
+ n0_registry.registerError(BadRequestException$, BadRequestException);
182
+ export var ForbiddenException$ = [-3, n0, _FE,
183
+ { [_e]: _c, [_hE]: 403 },
184
+ [_M],
185
+ [0]
186
+ ];
187
+ n0_registry.registerError(ForbiddenException$, ForbiddenException);
188
+ export var InternalServerErrorException$ = [-3, n0, _ISEE,
189
+ { [_e]: _se, [_hE]: 500 },
190
+ [_M],
191
+ [0]
192
+ ];
193
+ n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
194
+ export var MethodNotAllowedException$ = [-3, n0, _MNAE,
195
+ { [_e]: _c, [_hE]: 405 },
196
+ [_M],
197
+ [0]
198
+ ];
199
+ n0_registry.registerError(MethodNotAllowedException$, MethodNotAllowedException);
200
+ export var NotFoundException$ = [-3, n0, _NFE,
201
+ { [_e]: _c, [_hE]: 404 },
202
+ [_M],
203
+ [0]
204
+ ];
205
+ n0_registry.registerError(NotFoundException$, NotFoundException);
206
+ export var TooManyRequestsException$ = [-3, n0, _TMRE,
207
+ { [_e]: _c, [_hE]: 429 },
208
+ [_M],
209
+ [0]
210
+ ];
211
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
212
+ export var UnauthorizedException$ = [-3, n0, _UE,
213
+ { [_e]: _c, [_hE]: 401 },
214
+ [_M],
215
+ [0]
216
+ ];
217
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
218
+ export const errorTypeRegistries = [
219
+ _s_registry,
220
+ n0_registry,
221
+ ];
222
+ export var AccountSettings$ = [3, n0, _AS,
223
+ 0,
224
+ [_GLEDS, _GLES, _GLESM],
225
+ [0, 0, 0]
226
+ ];
183
227
  export var CancelTagSyncTaskInput$ = [3, n0, _CTSTI,
184
228
  0,
185
229
  [_TA],
@@ -210,12 +254,6 @@ export var FailedResource$ = [3, n0, _FR,
210
254
  [_RA, _EM, _EC],
211
255
  [0, 0, 0]
212
256
  ];
213
- export var ForbiddenException$ = [-3, n0, _FE,
214
- { [_e]: _c, [_hE]: 403 },
215
- [_M],
216
- [0]
217
- ];
218
- TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
219
257
  export var GetAccountSettingsOutput$ = [3, n0, _GASO,
220
258
  0,
221
259
  [_AS],
@@ -321,12 +359,6 @@ export var GroupResourcesOutput$ = [3, n0, _GRO,
321
359
  [_Su, _F, _Pe],
322
360
  [64 | 0, () => FailedResourceList, () => PendingResourceList]
323
361
  ];
324
- export var InternalServerErrorException$ = [-3, n0, _ISEE,
325
- { [_e]: _s, [_hE]: 500 },
326
- [_M],
327
- [0]
328
- ];
329
- TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
330
362
  export var ListGroupingStatusesFilter$ = [3, n0, _LGSF,
331
363
  0,
332
364
  [_N, _V],
@@ -382,18 +414,6 @@ export var ListTagSyncTasksOutput$ = [3, n0, _LTSTO,
382
414
  [_TST, _NT],
383
415
  [() => TagSyncTaskList, 0]
384
416
  ];
385
- export var MethodNotAllowedException$ = [-3, n0, _MNAE,
386
- { [_e]: _c, [_hE]: 405 },
387
- [_M],
388
- [0]
389
- ];
390
- TypeRegistry.for(n0).registerError(MethodNotAllowedException$, MethodNotAllowedException);
391
- export var NotFoundException$ = [-3, n0, _NFE,
392
- { [_e]: _c, [_hE]: 404 },
393
- [_M],
394
- [0]
395
- ];
396
- TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
397
417
  export var PendingResource$ = [3, n0, _PR,
398
418
  0,
399
419
  [_RA],
@@ -469,18 +489,6 @@ export var TagSyncTaskItem$ = [3, n0, _TSTI,
469
489
  [_GA, _GN, _TA, _TK, _TV, _RQ, _RAo, _S, _EM, _CA],
470
490
  [0, 0, 0, 0, 0, () => ResourceQuery$, 0, 0, 0, 4]
471
491
  ];
472
- export var TooManyRequestsException$ = [-3, n0, _TMRE,
473
- { [_e]: _c, [_hE]: 429 },
474
- [_M],
475
- [0]
476
- ];
477
- TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
478
- export var UnauthorizedException$ = [-3, n0, _UE,
479
- { [_e]: _c, [_hE]: 401 },
480
- [_M],
481
- [0]
482
- ];
483
- TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
484
492
  export var UngroupResourcesInput$ = [3, n0, _URI,
485
493
  0,
486
494
  [_G, _RAe],
@@ -532,8 +540,6 @@ export var UpdateGroupQueryOutput$ = [3, n0, _UGQO,
532
540
  [() => GroupQuery$]
533
541
  ];
534
542
  var __Unit = "unit";
535
- export var ResourceGroupsServiceException$ = [-3, _sm, "ResourceGroupsServiceException", 0, [], []];
536
- TypeRegistry.for(_sm).registerError(ResourceGroupsServiceException$, ResourceGroupsServiceException);
537
543
  var FailedResourceList = [1, n0, _FRL,
538
544
  0, () => FailedResource$
539
545
  ];
@@ -1,13 +1,26 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccountSettings$: StaticStructureSchema;
3
+ export declare var ResourceGroupsServiceException$: StaticErrorSchema;
3
4
  export declare var BadRequestException$: StaticErrorSchema;
5
+ export declare var ForbiddenException$: StaticErrorSchema;
6
+ export declare var InternalServerErrorException$: StaticErrorSchema;
7
+ export declare var MethodNotAllowedException$: StaticErrorSchema;
8
+ export declare var NotFoundException$: StaticErrorSchema;
9
+ export declare var TooManyRequestsException$: StaticErrorSchema;
10
+ export declare var UnauthorizedException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
17
+ export declare var AccountSettings$: StaticStructureSchema;
4
18
  export declare var CancelTagSyncTaskInput$: StaticStructureSchema;
5
19
  export declare var CreateGroupInput$: StaticStructureSchema;
6
20
  export declare var CreateGroupOutput$: StaticStructureSchema;
7
21
  export declare var DeleteGroupInput$: StaticStructureSchema;
8
22
  export declare var DeleteGroupOutput$: StaticStructureSchema;
9
23
  export declare var FailedResource$: StaticStructureSchema;
10
- export declare var ForbiddenException$: StaticErrorSchema;
11
24
  export declare var GetAccountSettingsOutput$: StaticStructureSchema;
12
25
  export declare var GetGroupConfigurationInput$: StaticStructureSchema;
13
26
  export declare var GetGroupConfigurationOutput$: StaticStructureSchema;
@@ -29,7 +42,6 @@ export declare var GroupingStatusesItem$: StaticStructureSchema;
29
42
  export declare var GroupQuery$: StaticStructureSchema;
30
43
  export declare var GroupResourcesInput$: StaticStructureSchema;
31
44
  export declare var GroupResourcesOutput$: StaticStructureSchema;
32
- export declare var InternalServerErrorException$: StaticErrorSchema;
33
45
  export declare var ListGroupingStatusesFilter$: StaticStructureSchema;
34
46
  export declare var ListGroupingStatusesInput$: StaticStructureSchema;
35
47
  export declare var ListGroupingStatusesOutput$: StaticStructureSchema;
@@ -41,8 +53,6 @@ export declare var ListGroupsOutput$: StaticStructureSchema;
41
53
  export declare var ListTagSyncTasksFilter$: StaticStructureSchema;
42
54
  export declare var ListTagSyncTasksInput$: StaticStructureSchema;
43
55
  export declare var ListTagSyncTasksOutput$: StaticStructureSchema;
44
- export declare var MethodNotAllowedException$: StaticErrorSchema;
45
- export declare var NotFoundException$: StaticErrorSchema;
46
56
  export declare var PendingResource$: StaticStructureSchema;
47
57
  export declare var PutGroupConfigurationInput$: StaticStructureSchema;
48
58
  export declare var PutGroupConfigurationOutput$: StaticStructureSchema;
@@ -58,8 +68,6 @@ export declare var StartTagSyncTaskOutput$: StaticStructureSchema;
58
68
  export declare var TagInput$: StaticStructureSchema;
59
69
  export declare var TagOutput$: StaticStructureSchema;
60
70
  export declare var TagSyncTaskItem$: StaticStructureSchema;
61
- export declare var TooManyRequestsException$: StaticErrorSchema;
62
- export declare var UnauthorizedException$: StaticErrorSchema;
63
71
  export declare var UngroupResourcesInput$: StaticStructureSchema;
64
72
  export declare var UngroupResourcesOutput$: StaticStructureSchema;
65
73
  export declare var UntagInput$: StaticStructureSchema;
@@ -70,7 +78,6 @@ export declare var UpdateGroupInput$: StaticStructureSchema;
70
78
  export declare var UpdateGroupOutput$: StaticStructureSchema;
71
79
  export declare var UpdateGroupQueryInput$: StaticStructureSchema;
72
80
  export declare var UpdateGroupQueryOutput$: StaticStructureSchema;
73
- export declare var ResourceGroupsServiceException$: StaticErrorSchema;
74
81
  export declare var CancelTagSyncTask$: StaticOperationSchema;
75
82
  export declare var CreateGroup$: StaticOperationSchema;
76
83
  export declare var DeleteGroup$: StaticOperationSchema;
@@ -1,17 +1,25 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var AccountSettings$: StaticStructureSchema;
7
+ export declare var ResourceGroupsServiceException$: StaticErrorSchema;
7
8
  export declare var BadRequestException$: StaticErrorSchema;
9
+ export declare var ForbiddenException$: StaticErrorSchema;
10
+ export declare var InternalServerErrorException$: StaticErrorSchema;
11
+ export declare var MethodNotAllowedException$: StaticErrorSchema;
12
+ export declare var NotFoundException$: StaticErrorSchema;
13
+ export declare var TooManyRequestsException$: StaticErrorSchema;
14
+ export declare var UnauthorizedException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var AccountSettings$: StaticStructureSchema;
8
17
  export declare var CancelTagSyncTaskInput$: StaticStructureSchema;
9
18
  export declare var CreateGroupInput$: StaticStructureSchema;
10
19
  export declare var CreateGroupOutput$: StaticStructureSchema;
11
20
  export declare var DeleteGroupInput$: StaticStructureSchema;
12
21
  export declare var DeleteGroupOutput$: StaticStructureSchema;
13
22
  export declare var FailedResource$: StaticStructureSchema;
14
- export declare var ForbiddenException$: StaticErrorSchema;
15
23
  export declare var GetAccountSettingsOutput$: StaticStructureSchema;
16
24
  export declare var GetGroupConfigurationInput$: StaticStructureSchema;
17
25
  export declare var GetGroupConfigurationOutput$: StaticStructureSchema;
@@ -33,7 +41,6 @@ export declare var GroupingStatusesItem$: StaticStructureSchema;
33
41
  export declare var GroupQuery$: StaticStructureSchema;
34
42
  export declare var GroupResourcesInput$: StaticStructureSchema;
35
43
  export declare var GroupResourcesOutput$: StaticStructureSchema;
36
- export declare var InternalServerErrorException$: StaticErrorSchema;
37
44
  export declare var ListGroupingStatusesFilter$: StaticStructureSchema;
38
45
  export declare var ListGroupingStatusesInput$: StaticStructureSchema;
39
46
  export declare var ListGroupingStatusesOutput$: StaticStructureSchema;
@@ -45,8 +52,6 @@ export declare var ListGroupsOutput$: StaticStructureSchema;
45
52
  export declare var ListTagSyncTasksFilter$: StaticStructureSchema;
46
53
  export declare var ListTagSyncTasksInput$: StaticStructureSchema;
47
54
  export declare var ListTagSyncTasksOutput$: StaticStructureSchema;
48
- export declare var MethodNotAllowedException$: StaticErrorSchema;
49
- export declare var NotFoundException$: StaticErrorSchema;
50
55
  export declare var PendingResource$: StaticStructureSchema;
51
56
  export declare var PutGroupConfigurationInput$: StaticStructureSchema;
52
57
  export declare var PutGroupConfigurationOutput$: StaticStructureSchema;
@@ -62,8 +67,6 @@ export declare var StartTagSyncTaskOutput$: StaticStructureSchema;
62
67
  export declare var TagInput$: StaticStructureSchema;
63
68
  export declare var TagOutput$: StaticStructureSchema;
64
69
  export declare var TagSyncTaskItem$: StaticStructureSchema;
65
- export declare var TooManyRequestsException$: StaticErrorSchema;
66
- export declare var UnauthorizedException$: StaticErrorSchema;
67
70
  export declare var UngroupResourcesInput$: StaticStructureSchema;
68
71
  export declare var UngroupResourcesOutput$: StaticStructureSchema;
69
72
  export declare var UntagInput$: StaticStructureSchema;
@@ -74,7 +77,6 @@ export declare var UpdateGroupInput$: StaticStructureSchema;
74
77
  export declare var UpdateGroupOutput$: StaticStructureSchema;
75
78
  export declare var UpdateGroupQueryInput$: StaticStructureSchema;
76
79
  export declare var UpdateGroupQueryOutput$: StaticStructureSchema;
77
- export declare var ResourceGroupsServiceException$: StaticErrorSchema;
78
80
  export declare var CancelTagSyncTask$: StaticOperationSchema;
79
81
  export declare var CreateGroup$: StaticOperationSchema;
80
82
  export declare var DeleteGroup$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups",
3
3
  "description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-resource-groups",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",