@aws-sdk/client-resource-groups 3.301.0 → 3.303.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.
@@ -2,18 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GroupFilterName = exports.UnauthorizedException = exports.ResourceStatusValue = exports.QueryErrorCode = exports.ResourceFilterName = exports.NotFoundException = exports.TooManyRequestsException = exports.MethodNotAllowedException = exports.InternalServerErrorException = exports.ForbiddenException = exports.GroupConfigurationStatus = exports.QueryType = exports.BadRequestException = exports.GroupLifecycleEventsStatus = exports.GroupLifecycleEventsDesiredStatus = void 0;
4
4
  const ResourceGroupsServiceException_1 = require("./ResourceGroupsServiceException");
5
- var GroupLifecycleEventsDesiredStatus;
6
- (function (GroupLifecycleEventsDesiredStatus) {
7
- GroupLifecycleEventsDesiredStatus["ACTIVE"] = "ACTIVE";
8
- GroupLifecycleEventsDesiredStatus["INACTIVE"] = "INACTIVE";
9
- })(GroupLifecycleEventsDesiredStatus = exports.GroupLifecycleEventsDesiredStatus || (exports.GroupLifecycleEventsDesiredStatus = {}));
10
- var GroupLifecycleEventsStatus;
11
- (function (GroupLifecycleEventsStatus) {
12
- GroupLifecycleEventsStatus["ACTIVE"] = "ACTIVE";
13
- GroupLifecycleEventsStatus["ERROR"] = "ERROR";
14
- GroupLifecycleEventsStatus["INACTIVE"] = "INACTIVE";
15
- GroupLifecycleEventsStatus["IN_PROGRESS"] = "IN_PROGRESS";
16
- })(GroupLifecycleEventsStatus = exports.GroupLifecycleEventsStatus || (exports.GroupLifecycleEventsStatus = {}));
5
+ exports.GroupLifecycleEventsDesiredStatus = {
6
+ ACTIVE: "ACTIVE",
7
+ INACTIVE: "INACTIVE",
8
+ };
9
+ exports.GroupLifecycleEventsStatus = {
10
+ ACTIVE: "ACTIVE",
11
+ ERROR: "ERROR",
12
+ INACTIVE: "INACTIVE",
13
+ IN_PROGRESS: "IN_PROGRESS",
14
+ };
17
15
  class BadRequestException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
18
16
  constructor(opts) {
19
17
  super({
@@ -28,17 +26,15 @@ class BadRequestException extends ResourceGroupsServiceException_1.ResourceGroup
28
26
  }
29
27
  }
30
28
  exports.BadRequestException = BadRequestException;
31
- var QueryType;
32
- (function (QueryType) {
33
- QueryType["CLOUDFORMATION_STACK_1_0"] = "CLOUDFORMATION_STACK_1_0";
34
- QueryType["TAG_FILTERS_1_0"] = "TAG_FILTERS_1_0";
35
- })(QueryType = exports.QueryType || (exports.QueryType = {}));
36
- var GroupConfigurationStatus;
37
- (function (GroupConfigurationStatus) {
38
- GroupConfigurationStatus["UPDATE_COMPLETE"] = "UPDATE_COMPLETE";
39
- GroupConfigurationStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
40
- GroupConfigurationStatus["UPDATING"] = "UPDATING";
41
- })(GroupConfigurationStatus = exports.GroupConfigurationStatus || (exports.GroupConfigurationStatus = {}));
29
+ exports.QueryType = {
30
+ CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0",
31
+ TAG_FILTERS_1_0: "TAG_FILTERS_1_0",
32
+ };
33
+ exports.GroupConfigurationStatus = {
34
+ UPDATE_COMPLETE: "UPDATE_COMPLETE",
35
+ UPDATE_FAILED: "UPDATE_FAILED",
36
+ UPDATING: "UPDATING",
37
+ };
42
38
  class ForbiddenException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
43
39
  constructor(opts) {
44
40
  super({
@@ -109,20 +105,17 @@ class NotFoundException extends ResourceGroupsServiceException_1.ResourceGroupsS
109
105
  }
110
106
  }
111
107
  exports.NotFoundException = NotFoundException;
112
- var ResourceFilterName;
113
- (function (ResourceFilterName) {
114
- ResourceFilterName["ResourceType"] = "resource-type";
115
- })(ResourceFilterName = exports.ResourceFilterName || (exports.ResourceFilterName = {}));
116
- var QueryErrorCode;
117
- (function (QueryErrorCode) {
118
- QueryErrorCode["CLOUDFORMATION_STACK_INACTIVE"] = "CLOUDFORMATION_STACK_INACTIVE";
119
- QueryErrorCode["CLOUDFORMATION_STACK_NOT_EXISTING"] = "CLOUDFORMATION_STACK_NOT_EXISTING";
120
- QueryErrorCode["CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"] = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
121
- })(QueryErrorCode = exports.QueryErrorCode || (exports.QueryErrorCode = {}));
122
- var ResourceStatusValue;
123
- (function (ResourceStatusValue) {
124
- ResourceStatusValue["Pending"] = "PENDING";
125
- })(ResourceStatusValue = exports.ResourceStatusValue || (exports.ResourceStatusValue = {}));
108
+ exports.ResourceFilterName = {
109
+ ResourceType: "resource-type",
110
+ };
111
+ exports.QueryErrorCode = {
112
+ CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE",
113
+ CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING",
114
+ CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
115
+ };
116
+ exports.ResourceStatusValue = {
117
+ Pending: "PENDING",
118
+ };
126
119
  class UnauthorizedException extends ResourceGroupsServiceException_1.ResourceGroupsServiceException {
127
120
  constructor(opts) {
128
121
  super({
@@ -137,8 +130,7 @@ class UnauthorizedException extends ResourceGroupsServiceException_1.ResourceGro
137
130
  }
138
131
  }
139
132
  exports.UnauthorizedException = UnauthorizedException;
140
- var GroupFilterName;
141
- (function (GroupFilterName) {
142
- GroupFilterName["ConfigurationType"] = "configuration-type";
143
- GroupFilterName["ResourceType"] = "resource-type";
144
- })(GroupFilterName = exports.GroupFilterName || (exports.GroupFilterName = {}));
133
+ exports.GroupFilterName = {
134
+ ConfigurationType: "configuration-type",
135
+ ResourceType: "resource-type",
136
+ };
@@ -1,16 +1,14 @@
1
1
  import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
2
- export var GroupLifecycleEventsDesiredStatus;
3
- (function (GroupLifecycleEventsDesiredStatus) {
4
- GroupLifecycleEventsDesiredStatus["ACTIVE"] = "ACTIVE";
5
- GroupLifecycleEventsDesiredStatus["INACTIVE"] = "INACTIVE";
6
- })(GroupLifecycleEventsDesiredStatus || (GroupLifecycleEventsDesiredStatus = {}));
7
- export var GroupLifecycleEventsStatus;
8
- (function (GroupLifecycleEventsStatus) {
9
- GroupLifecycleEventsStatus["ACTIVE"] = "ACTIVE";
10
- GroupLifecycleEventsStatus["ERROR"] = "ERROR";
11
- GroupLifecycleEventsStatus["INACTIVE"] = "INACTIVE";
12
- GroupLifecycleEventsStatus["IN_PROGRESS"] = "IN_PROGRESS";
13
- })(GroupLifecycleEventsStatus || (GroupLifecycleEventsStatus = {}));
2
+ export const GroupLifecycleEventsDesiredStatus = {
3
+ ACTIVE: "ACTIVE",
4
+ INACTIVE: "INACTIVE",
5
+ };
6
+ export const GroupLifecycleEventsStatus = {
7
+ ACTIVE: "ACTIVE",
8
+ ERROR: "ERROR",
9
+ INACTIVE: "INACTIVE",
10
+ IN_PROGRESS: "IN_PROGRESS",
11
+ };
14
12
  export class BadRequestException extends __BaseException {
15
13
  constructor(opts) {
16
14
  super({
@@ -24,17 +22,15 @@ export class BadRequestException extends __BaseException {
24
22
  this.Message = opts.Message;
25
23
  }
26
24
  }
27
- export var QueryType;
28
- (function (QueryType) {
29
- QueryType["CLOUDFORMATION_STACK_1_0"] = "CLOUDFORMATION_STACK_1_0";
30
- QueryType["TAG_FILTERS_1_0"] = "TAG_FILTERS_1_0";
31
- })(QueryType || (QueryType = {}));
32
- export var GroupConfigurationStatus;
33
- (function (GroupConfigurationStatus) {
34
- GroupConfigurationStatus["UPDATE_COMPLETE"] = "UPDATE_COMPLETE";
35
- GroupConfigurationStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
36
- GroupConfigurationStatus["UPDATING"] = "UPDATING";
37
- })(GroupConfigurationStatus || (GroupConfigurationStatus = {}));
25
+ export const QueryType = {
26
+ CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0",
27
+ TAG_FILTERS_1_0: "TAG_FILTERS_1_0",
28
+ };
29
+ export const GroupConfigurationStatus = {
30
+ UPDATE_COMPLETE: "UPDATE_COMPLETE",
31
+ UPDATE_FAILED: "UPDATE_FAILED",
32
+ UPDATING: "UPDATING",
33
+ };
38
34
  export class ForbiddenException extends __BaseException {
39
35
  constructor(opts) {
40
36
  super({
@@ -100,20 +96,17 @@ export class NotFoundException extends __BaseException {
100
96
  this.Message = opts.Message;
101
97
  }
102
98
  }
103
- export var ResourceFilterName;
104
- (function (ResourceFilterName) {
105
- ResourceFilterName["ResourceType"] = "resource-type";
106
- })(ResourceFilterName || (ResourceFilterName = {}));
107
- export var QueryErrorCode;
108
- (function (QueryErrorCode) {
109
- QueryErrorCode["CLOUDFORMATION_STACK_INACTIVE"] = "CLOUDFORMATION_STACK_INACTIVE";
110
- QueryErrorCode["CLOUDFORMATION_STACK_NOT_EXISTING"] = "CLOUDFORMATION_STACK_NOT_EXISTING";
111
- QueryErrorCode["CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"] = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
112
- })(QueryErrorCode || (QueryErrorCode = {}));
113
- export var ResourceStatusValue;
114
- (function (ResourceStatusValue) {
115
- ResourceStatusValue["Pending"] = "PENDING";
116
- })(ResourceStatusValue || (ResourceStatusValue = {}));
99
+ export const ResourceFilterName = {
100
+ ResourceType: "resource-type",
101
+ };
102
+ export const QueryErrorCode = {
103
+ CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE",
104
+ CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING",
105
+ CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
106
+ };
107
+ export const ResourceStatusValue = {
108
+ Pending: "PENDING",
109
+ };
117
110
  export class UnauthorizedException extends __BaseException {
118
111
  constructor(opts) {
119
112
  super({
@@ -127,8 +120,7 @@ export class UnauthorizedException extends __BaseException {
127
120
  this.Message = opts.Message;
128
121
  }
129
122
  }
130
- export var GroupFilterName;
131
- (function (GroupFilterName) {
132
- GroupFilterName["ConfigurationType"] = "configuration-type";
133
- GroupFilterName["ResourceType"] = "resource-type";
134
- })(GroupFilterName || (GroupFilterName = {}));
123
+ export const GroupFilterName = {
124
+ ConfigurationType: "configuration-type",
125
+ ResourceType: "resource-type",
126
+ };
@@ -2,20 +2,30 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum GroupLifecycleEventsDesiredStatus {
7
- ACTIVE = "ACTIVE",
8
- INACTIVE = "INACTIVE"
9
- }
7
+ export declare const GroupLifecycleEventsDesiredStatus: {
8
+ readonly ACTIVE: "ACTIVE";
9
+ readonly INACTIVE: "INACTIVE";
10
+ };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export declare enum GroupLifecycleEventsStatus {
14
- ACTIVE = "ACTIVE",
15
- ERROR = "ERROR",
16
- INACTIVE = "INACTIVE",
17
- IN_PROGRESS = "IN_PROGRESS"
18
- }
14
+ export type GroupLifecycleEventsDesiredStatus = (typeof GroupLifecycleEventsDesiredStatus)[keyof typeof GroupLifecycleEventsDesiredStatus];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const GroupLifecycleEventsStatus: {
20
+ readonly ACTIVE: "ACTIVE";
21
+ readonly ERROR: "ERROR";
22
+ readonly INACTIVE: "INACTIVE";
23
+ readonly IN_PROGRESS: "IN_PROGRESS";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type GroupLifecycleEventsStatus = (typeof GroupLifecycleEventsStatus)[keyof typeof GroupLifecycleEventsStatus];
19
29
  /**
20
30
  * @public
21
31
  * <p>The Resource Groups settings for this Amazon Web Services account.</p>
@@ -90,11 +100,16 @@ export interface GroupConfigurationItem {
90
100
  }
91
101
  /**
92
102
  * @public
103
+ * @enum
93
104
  */
94
- export declare enum QueryType {
95
- CLOUDFORMATION_STACK_1_0 = "CLOUDFORMATION_STACK_1_0",
96
- TAG_FILTERS_1_0 = "TAG_FILTERS_1_0"
97
- }
105
+ export declare const QueryType: {
106
+ readonly CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0";
107
+ readonly TAG_FILTERS_1_0: "TAG_FILTERS_1_0";
108
+ };
109
+ /**
110
+ * @public
111
+ */
112
+ export type QueryType = (typeof QueryType)[keyof typeof QueryType];
98
113
  /**
99
114
  * @public
100
115
  * <p>The query you can use to define a resource group or a search for resources. A
@@ -326,12 +341,17 @@ export interface Group {
326
341
  }
327
342
  /**
328
343
  * @public
344
+ * @enum
329
345
  */
330
- export declare enum GroupConfigurationStatus {
331
- UPDATE_COMPLETE = "UPDATE_COMPLETE",
332
- UPDATE_FAILED = "UPDATE_FAILED",
333
- UPDATING = "UPDATING"
334
- }
346
+ export declare const GroupConfigurationStatus: {
347
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
348
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
349
+ readonly UPDATING: "UPDATING";
350
+ };
351
+ /**
352
+ * @public
353
+ */
354
+ export type GroupConfigurationStatus = (typeof GroupConfigurationStatus)[keyof typeof GroupConfigurationStatus];
335
355
  /**
336
356
  * @public
337
357
  * <p>A service configuration associated with a resource group. The configuration options
@@ -664,10 +684,15 @@ export interface GroupResourcesOutput {
664
684
  }
665
685
  /**
666
686
  * @public
687
+ * @enum
667
688
  */
668
- export declare enum ResourceFilterName {
669
- ResourceType = "resource-type"
670
- }
689
+ export declare const ResourceFilterName: {
690
+ readonly ResourceType: "resource-type";
691
+ };
692
+ /**
693
+ * @public
694
+ */
695
+ export type ResourceFilterName = (typeof ResourceFilterName)[keyof typeof ResourceFilterName];
671
696
  /**
672
697
  * @public
673
698
  * <p>A filter name and value pair that is used to obtain more specific results from a list
@@ -758,12 +783,17 @@ export interface ListGroupResourcesInput {
758
783
  }
759
784
  /**
760
785
  * @public
786
+ * @enum
761
787
  */
762
- export declare enum QueryErrorCode {
763
- CLOUDFORMATION_STACK_INACTIVE = "CLOUDFORMATION_STACK_INACTIVE",
764
- CLOUDFORMATION_STACK_NOT_EXISTING = "CLOUDFORMATION_STACK_NOT_EXISTING",
765
- CLOUDFORMATION_STACK_UNASSUMABLE_ROLE = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"
766
- }
788
+ export declare const QueryErrorCode: {
789
+ readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
790
+ readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
791
+ readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
792
+ };
793
+ /**
794
+ * @public
795
+ */
796
+ export type QueryErrorCode = (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
767
797
  /**
768
798
  * @public
769
799
  * <p>A two-part error structure that can occur in <code>ListGroupResources</code> or
@@ -803,10 +833,15 @@ export interface ResourceIdentifier {
803
833
  }
804
834
  /**
805
835
  * @public
836
+ * @enum
806
837
  */
807
- export declare enum ResourceStatusValue {
808
- Pending = "PENDING"
809
- }
838
+ export declare const ResourceStatusValue: {
839
+ readonly Pending: "PENDING";
840
+ };
841
+ /**
842
+ * @public
843
+ */
844
+ export type ResourceStatusValue = (typeof ResourceStatusValue)[keyof typeof ResourceStatusValue];
810
845
  /**
811
846
  * @public
812
847
  * <p>A structure that identifies the current group membership status for a resource. Adding
@@ -895,11 +930,16 @@ export declare class UnauthorizedException extends __BaseException {
895
930
  }
896
931
  /**
897
932
  * @public
933
+ * @enum
898
934
  */
899
- export declare enum GroupFilterName {
900
- ConfigurationType = "configuration-type",
901
- ResourceType = "resource-type"
902
- }
935
+ export declare const GroupFilterName: {
936
+ readonly ConfigurationType: "configuration-type";
937
+ readonly ResourceType: "resource-type";
938
+ };
939
+ /**
940
+ * @public
941
+ */
942
+ export type GroupFilterName = (typeof GroupFilterName)[keyof typeof GroupFilterName];
903
943
  /**
904
944
  * @public
905
945
  * <p>A filter collection that you can use to restrict the results from a <code>List</code>
@@ -1,15 +1,19 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
- export declare enum GroupLifecycleEventsDesiredStatus {
4
- ACTIVE = "ACTIVE",
5
- INACTIVE = "INACTIVE",
6
- }
7
- export declare enum GroupLifecycleEventsStatus {
8
- ACTIVE = "ACTIVE",
9
- ERROR = "ERROR",
10
- INACTIVE = "INACTIVE",
11
- IN_PROGRESS = "IN_PROGRESS",
12
- }
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];
13
17
  export interface AccountSettings {
14
18
  GroupLifecycleEventsDesiredStatus?:
15
19
  | GroupLifecycleEventsDesiredStatus
@@ -33,10 +37,11 @@ export interface GroupConfigurationItem {
33
37
  Type: string | undefined;
34
38
  Parameters?: GroupConfigurationParameter[];
35
39
  }
36
- export declare enum QueryType {
37
- CLOUDFORMATION_STACK_1_0 = "CLOUDFORMATION_STACK_1_0",
38
- TAG_FILTERS_1_0 = "TAG_FILTERS_1_0",
39
- }
40
+ export declare const QueryType: {
41
+ readonly CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0";
42
+ readonly TAG_FILTERS_1_0: "TAG_FILTERS_1_0";
43
+ };
44
+ export type QueryType = (typeof QueryType)[keyof typeof QueryType];
40
45
  export interface ResourceQuery {
41
46
  Type: QueryType | string | undefined;
42
47
  Query: string | undefined;
@@ -53,11 +58,13 @@ export interface Group {
53
58
  Name: string | undefined;
54
59
  Description?: string;
55
60
  }
56
- export declare enum GroupConfigurationStatus {
57
- UPDATE_COMPLETE = "UPDATE_COMPLETE",
58
- UPDATE_FAILED = "UPDATE_FAILED",
59
- UPDATING = "UPDATING",
60
- }
61
+ export declare const GroupConfigurationStatus: {
62
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
63
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
64
+ readonly UPDATING: "UPDATING";
65
+ };
66
+ export type GroupConfigurationStatus =
67
+ (typeof GroupConfigurationStatus)[keyof typeof GroupConfigurationStatus];
61
68
  export interface GroupConfiguration {
62
69
  Configuration?: GroupConfigurationItem[];
63
70
  ProposedConfiguration?: GroupConfigurationItem[];
@@ -164,9 +171,11 @@ export interface GroupResourcesOutput {
164
171
  Failed?: FailedResource[];
165
172
  Pending?: PendingResource[];
166
173
  }
167
- export declare enum ResourceFilterName {
168
- ResourceType = "resource-type",
169
- }
174
+ export declare const ResourceFilterName: {
175
+ readonly ResourceType: "resource-type";
176
+ };
177
+ export type ResourceFilterName =
178
+ (typeof ResourceFilterName)[keyof typeof ResourceFilterName];
170
179
  export interface ResourceFilter {
171
180
  Name: ResourceFilterName | string | undefined;
172
181
  Values: string[] | undefined;
@@ -178,11 +187,13 @@ export interface ListGroupResourcesInput {
178
187
  MaxResults?: number;
179
188
  NextToken?: string;
180
189
  }
181
- export declare enum QueryErrorCode {
182
- CLOUDFORMATION_STACK_INACTIVE = "CLOUDFORMATION_STACK_INACTIVE",
183
- CLOUDFORMATION_STACK_NOT_EXISTING = "CLOUDFORMATION_STACK_NOT_EXISTING",
184
- CLOUDFORMATION_STACK_UNASSUMABLE_ROLE = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE",
185
- }
190
+ export declare const QueryErrorCode: {
191
+ readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
192
+ readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
193
+ readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
194
+ };
195
+ export type QueryErrorCode =
196
+ (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
186
197
  export interface QueryError {
187
198
  ErrorCode?: QueryErrorCode | string;
188
199
  Message?: string;
@@ -191,9 +202,11 @@ export interface ResourceIdentifier {
191
202
  ResourceArn?: string;
192
203
  ResourceType?: string;
193
204
  }
194
- export declare enum ResourceStatusValue {
195
- Pending = "PENDING",
196
- }
205
+ export declare const ResourceStatusValue: {
206
+ readonly Pending: "PENDING";
207
+ };
208
+ export type ResourceStatusValue =
209
+ (typeof ResourceStatusValue)[keyof typeof ResourceStatusValue];
197
210
  export interface ResourceStatus {
198
211
  Name?: ResourceStatusValue | string;
199
212
  }
@@ -215,10 +228,12 @@ export declare class UnauthorizedException extends __BaseException {
215
228
  opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
216
229
  );
217
230
  }
218
- export declare enum GroupFilterName {
219
- ConfigurationType = "configuration-type",
220
- ResourceType = "resource-type",
221
- }
231
+ export declare const GroupFilterName: {
232
+ readonly ConfigurationType: "configuration-type";
233
+ readonly ResourceType: "resource-type";
234
+ };
235
+ export type GroupFilterName =
236
+ (typeof GroupFilterName)[keyof typeof GroupFilterName];
222
237
  export interface GroupFilter {
223
238
  Name: GroupFilterName | string | undefined;
224
239
  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.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",