@aws-sdk/client-resource-groups 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,17 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
- export declare const GroupLifecycleEventsDesiredStatus: {
4
- readonly ACTIVE: "ACTIVE";
5
- readonly INACTIVE: "INACTIVE";
6
- };
7
- export type GroupLifecycleEventsDesiredStatus =
8
- (typeof GroupLifecycleEventsDesiredStatus)[keyof typeof GroupLifecycleEventsDesiredStatus];
9
- export declare const GroupLifecycleEventsStatus: {
10
- readonly ACTIVE: "ACTIVE";
11
- readonly ERROR: "ERROR";
12
- readonly INACTIVE: "INACTIVE";
13
- readonly IN_PROGRESS: "IN_PROGRESS";
14
- };
15
- export type GroupLifecycleEventsStatus =
16
- (typeof GroupLifecycleEventsStatus)[keyof typeof GroupLifecycleEventsStatus];
1
+ import {
2
+ GroupConfigurationStatus,
3
+ GroupFilterName,
4
+ GroupingStatus,
5
+ GroupingType,
6
+ GroupLifecycleEventsDesiredStatus,
7
+ GroupLifecycleEventsStatus,
8
+ ListGroupingStatusesFilterName,
9
+ QueryErrorCode,
10
+ QueryType,
11
+ ResourceFilterName,
12
+ ResourceStatusValue,
13
+ TagSyncTaskStatus,
14
+ } from "./enums";
17
15
  export interface AccountSettings {
18
16
  GroupLifecycleEventsDesiredStatus?:
19
17
  | GroupLifecycleEventsDesiredStatus
@@ -21,55 +19,9 @@ export interface AccountSettings {
21
19
  GroupLifecycleEventsStatus?: GroupLifecycleEventsStatus | undefined;
22
20
  GroupLifecycleEventsStatusMessage?: string | undefined;
23
21
  }
24
- export declare class BadRequestException extends __BaseException {
25
- readonly name: "BadRequestException";
26
- readonly $fault: "client";
27
- Message?: string | undefined;
28
- constructor(
29
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
30
- );
31
- }
32
22
  export interface CancelTagSyncTaskInput {
33
23
  TaskArn: string | undefined;
34
24
  }
35
- export declare class ForbiddenException extends __BaseException {
36
- readonly name: "ForbiddenException";
37
- readonly $fault: "client";
38
- Message?: string | undefined;
39
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
40
- }
41
- export declare class InternalServerErrorException extends __BaseException {
42
- readonly name: "InternalServerErrorException";
43
- readonly $fault: "server";
44
- Message?: string | undefined;
45
- constructor(
46
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
47
- );
48
- }
49
- export declare class MethodNotAllowedException extends __BaseException {
50
- readonly name: "MethodNotAllowedException";
51
- readonly $fault: "client";
52
- Message?: string | undefined;
53
- constructor(
54
- opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>
55
- );
56
- }
57
- export declare class TooManyRequestsException extends __BaseException {
58
- readonly name: "TooManyRequestsException";
59
- readonly $fault: "client";
60
- Message?: string | undefined;
61
- constructor(
62
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
63
- );
64
- }
65
- export declare class UnauthorizedException extends __BaseException {
66
- readonly name: "UnauthorizedException";
67
- readonly $fault: "client";
68
- Message?: string | undefined;
69
- constructor(
70
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
71
- );
72
- }
73
25
  export interface GroupConfigurationParameter {
74
26
  Name: string | undefined;
75
27
  Values?: string[] | undefined;
@@ -78,11 +30,6 @@ export interface GroupConfigurationItem {
78
30
  Type: string | undefined;
79
31
  Parameters?: GroupConfigurationParameter[] | undefined;
80
32
  }
81
- export declare const QueryType: {
82
- readonly CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0";
83
- readonly TAG_FILTERS_1_0: "TAG_FILTERS_1_0";
84
- };
85
- export type QueryType = (typeof QueryType)[keyof typeof QueryType];
86
33
  export interface ResourceQuery {
87
34
  Type: QueryType | undefined;
88
35
  Query: string | undefined;
@@ -106,13 +53,6 @@ export interface Group {
106
53
  DisplayName?: string | undefined;
107
54
  ApplicationTag?: Record<string, string> | undefined;
108
55
  }
109
- export declare const GroupConfigurationStatus: {
110
- readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
111
- readonly UPDATE_FAILED: "UPDATE_FAILED";
112
- readonly UPDATING: "UPDATING";
113
- };
114
- export type GroupConfigurationStatus =
115
- (typeof GroupConfigurationStatus)[keyof typeof GroupConfigurationStatus];
116
56
  export interface GroupConfiguration {
117
57
  Configuration?: GroupConfigurationItem[] | undefined;
118
58
  ProposedConfiguration?: GroupConfigurationItem[] | undefined;
@@ -132,12 +72,6 @@ export interface DeleteGroupInput {
132
72
  export interface DeleteGroupOutput {
133
73
  Group?: Group | undefined;
134
74
  }
135
- export declare class NotFoundException extends __BaseException {
136
- readonly name: "NotFoundException";
137
- readonly $fault: "client";
138
- Message?: string | undefined;
139
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
140
- }
141
75
  export interface GetAccountSettingsOutput {
142
76
  AccountSettings?: AccountSettings | undefined;
143
77
  }
@@ -175,12 +109,6 @@ export interface GetTagsOutput {
175
109
  export interface GetTagSyncTaskInput {
176
110
  TaskArn: string | undefined;
177
111
  }
178
- export declare const TagSyncTaskStatus: {
179
- readonly ACTIVE: "ACTIVE";
180
- readonly ERROR: "ERROR";
181
- };
182
- export type TagSyncTaskStatus =
183
- (typeof TagSyncTaskStatus)[keyof typeof TagSyncTaskStatus];
184
112
  export interface GetTagSyncTaskOutput {
185
113
  GroupArn?: string | undefined;
186
114
  GroupName?: string | undefined;
@@ -210,12 +138,6 @@ export interface GroupResourcesOutput {
210
138
  Failed?: FailedResource[] | undefined;
211
139
  Pending?: PendingResource[] | undefined;
212
140
  }
213
- export declare const ListGroupingStatusesFilterName: {
214
- readonly ResourceArn: "resource-arn";
215
- readonly Status: "status";
216
- };
217
- export type ListGroupingStatusesFilterName =
218
- (typeof ListGroupingStatusesFilterName)[keyof typeof ListGroupingStatusesFilterName];
219
141
  export interface ListGroupingStatusesFilter {
220
142
  Name: ListGroupingStatusesFilterName | undefined;
221
143
  Values: string[] | undefined;
@@ -226,19 +148,6 @@ export interface ListGroupingStatusesInput {
226
148
  Filters?: ListGroupingStatusesFilter[] | undefined;
227
149
  NextToken?: string | undefined;
228
150
  }
229
- export declare const GroupingType: {
230
- readonly GROUP: "GROUP";
231
- readonly UNGROUP: "UNGROUP";
232
- };
233
- export type GroupingType = (typeof GroupingType)[keyof typeof GroupingType];
234
- export declare const GroupingStatus: {
235
- readonly FAILED: "FAILED";
236
- readonly IN_PROGRESS: "IN_PROGRESS";
237
- readonly SKIPPED: "SKIPPED";
238
- readonly SUCCESS: "SUCCESS";
239
- };
240
- export type GroupingStatus =
241
- (typeof GroupingStatus)[keyof typeof GroupingStatus];
242
151
  export interface GroupingStatusesItem {
243
152
  ResourceArn?: string | undefined;
244
153
  Action?: GroupingType | undefined;
@@ -252,11 +161,6 @@ export interface ListGroupingStatusesOutput {
252
161
  GroupingStatuses?: GroupingStatusesItem[] | undefined;
253
162
  NextToken?: string | undefined;
254
163
  }
255
- export declare const ResourceFilterName: {
256
- readonly ResourceType: "resource-type";
257
- };
258
- export type ResourceFilterName =
259
- (typeof ResourceFilterName)[keyof typeof ResourceFilterName];
260
164
  export interface ResourceFilter {
261
165
  Name: ResourceFilterName | undefined;
262
166
  Values: string[] | undefined;
@@ -268,14 +172,6 @@ export interface ListGroupResourcesInput {
268
172
  MaxResults?: number | undefined;
269
173
  NextToken?: string | undefined;
270
174
  }
271
- export declare const QueryErrorCode: {
272
- readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
273
- readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
274
- readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
275
- readonly RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED";
276
- };
277
- export type QueryErrorCode =
278
- (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
279
175
  export interface QueryError {
280
176
  ErrorCode?: QueryErrorCode | undefined;
281
177
  Message?: string | undefined;
@@ -284,11 +180,6 @@ export interface ResourceIdentifier {
284
180
  ResourceArn?: string | undefined;
285
181
  ResourceType?: string | undefined;
286
182
  }
287
- export declare const ResourceStatusValue: {
288
- readonly Pending: "PENDING";
289
- };
290
- export type ResourceStatusValue =
291
- (typeof ResourceStatusValue)[keyof typeof ResourceStatusValue];
292
183
  export interface ResourceStatus {
293
184
  Name?: ResourceStatusValue | undefined;
294
185
  }
@@ -302,15 +193,6 @@ export interface ListGroupResourcesOutput {
302
193
  NextToken?: string | undefined;
303
194
  QueryErrors?: QueryError[] | undefined;
304
195
  }
305
- export declare const GroupFilterName: {
306
- readonly ConfigurationType: "configuration-type";
307
- readonly Criticality: "criticality";
308
- readonly DisplayName: "display-name";
309
- readonly Owner: "owner";
310
- readonly ResourceType: "resource-type";
311
- };
312
- export type GroupFilterName =
313
- (typeof GroupFilterName)[keyof typeof GroupFilterName];
314
196
  export interface GroupFilter {
315
197
  Name: GroupFilterName | undefined;
316
198
  Values: string[] | undefined;
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-resource-groups",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";