@aws-sdk/client-resource-groups 3.428.0 → 3.429.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.
@@ -35,12 +35,12 @@ export interface AccountSettings {
35
35
  * @public
36
36
  * <p>The desired target status of the group lifecycle events feature. If</p>
37
37
  */
38
- GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus | string;
38
+ GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus;
39
39
  /**
40
40
  * @public
41
41
  * <p>The current status of the group lifecycle events feature.</p>
42
42
  */
43
- GroupLifecycleEventsStatus?: GroupLifecycleEventsStatus | string;
43
+ GroupLifecycleEventsStatus?: GroupLifecycleEventsStatus;
44
44
  /**
45
45
  * @public
46
46
  * <p>The text of any error message occurs during an attempt to turn group lifecycle events on or off.</p>
@@ -170,7 +170,7 @@ export interface ResourceQuery {
170
170
  * </li>
171
171
  * </ul>
172
172
  */
173
- Type: QueryType | string | undefined;
173
+ Type: QueryType | undefined;
174
174
  /**
175
175
  * @public
176
176
  * <p>The query that defines a group or a search. The contents depends on the value of the
@@ -394,7 +394,7 @@ export interface GroupConfiguration {
394
394
  * @public
395
395
  * <p>The current status of an attempt to update the group configuration.</p>
396
396
  */
397
- Status?: GroupConfigurationStatus | string;
397
+ Status?: GroupConfigurationStatus;
398
398
  /**
399
399
  * @public
400
400
  * <p>If present, the reason why a request to update the group configuration failed.</p>
@@ -754,7 +754,7 @@ export interface ResourceFilter {
754
754
  * @public
755
755
  * <p>The name of the filter. Filter names are case-sensitive.</p>
756
756
  */
757
- Name: ResourceFilterName | string | undefined;
757
+ Name: ResourceFilterName | undefined;
758
758
  /**
759
759
  * @public
760
760
  * <p>One or more filter values. Allowed filter values vary by resource filter name, and are
@@ -866,7 +866,7 @@ export interface QueryError {
866
866
  * @public
867
867
  * <p>Specifies the error code that was raised.</p>
868
868
  */
869
- ErrorCode?: QueryErrorCode | string;
869
+ ErrorCode?: QueryErrorCode;
870
870
  /**
871
871
  * @public
872
872
  * <p>A message that explains the <code>ErrorCode</code> value. Messages might state that
@@ -916,7 +916,7 @@ export interface ResourceStatus {
916
916
  * @public
917
917
  * <p>The current status.</p>
918
918
  */
919
- Name?: ResourceStatusValue | string;
919
+ Name?: ResourceStatusValue;
920
920
  }
921
921
  /**
922
922
  * @public
@@ -1019,7 +1019,7 @@ export interface GroupFilter {
1019
1019
  * @public
1020
1020
  * <p>The name of the filter. Filter names are case-sensitive.</p>
1021
1021
  */
1022
- Name: GroupFilterName | string | undefined;
1022
+ Name: GroupFilterName | undefined;
1023
1023
  /**
1024
1024
  * @public
1025
1025
  * <p>One or more filter values. Allowed filter values vary by group filter name, and are
@@ -1347,7 +1347,7 @@ export interface UpdateAccountSettingsInput {
1347
1347
  * @public
1348
1348
  * <p>Specifies whether you want to turn <a href="https://docs.aws.amazon.com/ARG/latest/userguide/monitor-groups.html">group lifecycle events</a> on or off.</p>
1349
1349
  */
1350
- GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus | string;
1350
+ GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus;
1351
1351
  }
1352
1352
  /**
1353
1353
  * @public
@@ -15,10 +15,8 @@ export declare const GroupLifecycleEventsStatus: {
15
15
  export type GroupLifecycleEventsStatus =
16
16
  (typeof GroupLifecycleEventsStatus)[keyof typeof GroupLifecycleEventsStatus];
17
17
  export interface AccountSettings {
18
- GroupLifecycleEventsDesiredStatus?:
19
- | GroupLifecycleEventsDesiredStatus
20
- | string;
21
- GroupLifecycleEventsStatus?: GroupLifecycleEventsStatus | string;
18
+ GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus;
19
+ GroupLifecycleEventsStatus?: GroupLifecycleEventsStatus;
22
20
  GroupLifecycleEventsStatusMessage?: string;
23
21
  }
24
22
  export declare class BadRequestException extends __BaseException {
@@ -43,7 +41,7 @@ export declare const QueryType: {
43
41
  };
44
42
  export type QueryType = (typeof QueryType)[keyof typeof QueryType];
45
43
  export interface ResourceQuery {
46
- Type: QueryType | string | undefined;
44
+ Type: QueryType | undefined;
47
45
  Query: string | undefined;
48
46
  }
49
47
  export interface CreateGroupInput {
@@ -68,7 +66,7 @@ export type GroupConfigurationStatus =
68
66
  export interface GroupConfiguration {
69
67
  Configuration?: GroupConfigurationItem[];
70
68
  ProposedConfiguration?: GroupConfigurationItem[];
71
- Status?: GroupConfigurationStatus | string;
69
+ Status?: GroupConfigurationStatus;
72
70
  FailureReason?: string;
73
71
  }
74
72
  export interface CreateGroupOutput {
@@ -177,7 +175,7 @@ export declare const ResourceFilterName: {
177
175
  export type ResourceFilterName =
178
176
  (typeof ResourceFilterName)[keyof typeof ResourceFilterName];
179
177
  export interface ResourceFilter {
180
- Name: ResourceFilterName | string | undefined;
178
+ Name: ResourceFilterName | undefined;
181
179
  Values: string[] | undefined;
182
180
  }
183
181
  export interface ListGroupResourcesInput {
@@ -195,7 +193,7 @@ export declare const QueryErrorCode: {
195
193
  export type QueryErrorCode =
196
194
  (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
197
195
  export interface QueryError {
198
- ErrorCode?: QueryErrorCode | string;
196
+ ErrorCode?: QueryErrorCode;
199
197
  Message?: string;
200
198
  }
201
199
  export interface ResourceIdentifier {
@@ -208,7 +206,7 @@ export declare const ResourceStatusValue: {
208
206
  export type ResourceStatusValue =
209
207
  (typeof ResourceStatusValue)[keyof typeof ResourceStatusValue];
210
208
  export interface ResourceStatus {
211
- Name?: ResourceStatusValue | string;
209
+ Name?: ResourceStatusValue;
212
210
  }
213
211
  export interface ListGroupResourcesItem {
214
212
  Identifier?: ResourceIdentifier;
@@ -235,7 +233,7 @@ export declare const GroupFilterName: {
235
233
  export type GroupFilterName =
236
234
  (typeof GroupFilterName)[keyof typeof GroupFilterName];
237
235
  export interface GroupFilter {
238
- Name: GroupFilterName | string | undefined;
236
+ Name: GroupFilterName | undefined;
239
237
  Values: string[] | undefined;
240
238
  }
241
239
  export interface ListGroupsInput {
@@ -293,9 +291,7 @@ export interface UntagOutput {
293
291
  Keys?: string[];
294
292
  }
295
293
  export interface UpdateAccountSettingsInput {
296
- GroupLifecycleEventsDesiredStatus?:
297
- | GroupLifecycleEventsDesiredStatus
298
- | string;
294
+ GroupLifecycleEventsDesiredStatus?: GroupLifecycleEventsDesiredStatus;
299
295
  }
300
296
  export interface UpdateAccountSettingsOutput {
301
297
  AccountSettings?: AccountSettings;
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.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",