@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.
@@ -0,0 +1,95 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
+ /**
4
+ * <p>The request includes one or more parameters that violate validation rules.</p>
5
+ * @public
6
+ */
7
+ export declare class BadRequestException extends __BaseException {
8
+ readonly name: "BadRequestException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The caller isn't authorized to make the request. Check permissions.</p>
18
+ * @public
19
+ */
20
+ export declare class ForbiddenException extends __BaseException {
21
+ readonly name: "ForbiddenException";
22
+ readonly $fault: "client";
23
+ Message?: string | undefined;
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>An internal error occurred while processing the request. Try again later.</p>
31
+ * @public
32
+ */
33
+ export declare class InternalServerErrorException extends __BaseException {
34
+ readonly name: "InternalServerErrorException";
35
+ readonly $fault: "server";
36
+ Message?: string | undefined;
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
44
+ * @public
45
+ */
46
+ export declare class MethodNotAllowedException extends __BaseException {
47
+ readonly name: "MethodNotAllowedException";
48
+ readonly $fault: "client";
49
+ Message?: string | undefined;
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
54
+ }
55
+ /**
56
+ * <p>You've exceeded throttling limits by making too many requests in a period of
57
+ * time.</p>
58
+ * @public
59
+ */
60
+ export declare class TooManyRequestsException extends __BaseException {
61
+ readonly name: "TooManyRequestsException";
62
+ readonly $fault: "client";
63
+ Message?: string | undefined;
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>The request was rejected because it doesn't have valid credentials for the target
71
+ * resource.</p>
72
+ * @public
73
+ */
74
+ export declare class UnauthorizedException extends __BaseException {
75
+ readonly name: "UnauthorizedException";
76
+ readonly $fault: "client";
77
+ Message?: string | undefined;
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
82
+ }
83
+ /**
84
+ * <p>One or more of the specified resources don't exist.</p>
85
+ * @public
86
+ */
87
+ export declare class NotFoundException extends __BaseException {
88
+ readonly name: "NotFoundException";
89
+ readonly $fault: "client";
90
+ Message?: string | undefined;
91
+ /**
92
+ * @internal
93
+ */
94
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
95
+ }
@@ -1,31 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const GroupLifecycleEventsDesiredStatus: {
8
- readonly ACTIVE: "ACTIVE";
9
- readonly INACTIVE: "INACTIVE";
10
- };
11
- /**
12
- * @public
13
- */
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];
1
+ import { GroupConfigurationStatus, GroupFilterName, GroupingStatus, GroupingType, GroupLifecycleEventsDesiredStatus, GroupLifecycleEventsStatus, ListGroupingStatusesFilterName, QueryErrorCode, QueryType, ResourceFilterName, ResourceStatusValue, TagSyncTaskStatus } from "./enums";
29
2
  /**
30
3
  * <p>The Resource Groups settings for this Amazon Web Services account.</p>
31
4
  * @public
@@ -47,19 +20,6 @@ export interface AccountSettings {
47
20
  */
48
21
  GroupLifecycleEventsStatusMessage?: string | undefined;
49
22
  }
50
- /**
51
- * <p>The request includes one or more parameters that violate validation rules.</p>
52
- * @public
53
- */
54
- export declare class BadRequestException extends __BaseException {
55
- readonly name: "BadRequestException";
56
- readonly $fault: "client";
57
- Message?: string | undefined;
58
- /**
59
- * @internal
60
- */
61
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
62
- }
63
23
  /**
64
24
  * @public
65
25
  */
@@ -70,73 +30,6 @@ export interface CancelTagSyncTaskInput {
70
30
  */
71
31
  TaskArn: string | undefined;
72
32
  }
73
- /**
74
- * <p>The caller isn't authorized to make the request. Check permissions.</p>
75
- * @public
76
- */
77
- export declare class ForbiddenException extends __BaseException {
78
- readonly name: "ForbiddenException";
79
- readonly $fault: "client";
80
- Message?: string | undefined;
81
- /**
82
- * @internal
83
- */
84
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
85
- }
86
- /**
87
- * <p>An internal error occurred while processing the request. Try again later.</p>
88
- * @public
89
- */
90
- export declare class InternalServerErrorException extends __BaseException {
91
- readonly name: "InternalServerErrorException";
92
- readonly $fault: "server";
93
- Message?: string | undefined;
94
- /**
95
- * @internal
96
- */
97
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
98
- }
99
- /**
100
- * <p>The request uses an HTTP method that isn't allowed for the specified resource.</p>
101
- * @public
102
- */
103
- export declare class MethodNotAllowedException extends __BaseException {
104
- readonly name: "MethodNotAllowedException";
105
- readonly $fault: "client";
106
- Message?: string | undefined;
107
- /**
108
- * @internal
109
- */
110
- constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
111
- }
112
- /**
113
- * <p>You've exceeded throttling limits by making too many requests in a period of
114
- * time.</p>
115
- * @public
116
- */
117
- export declare class TooManyRequestsException extends __BaseException {
118
- readonly name: "TooManyRequestsException";
119
- readonly $fault: "client";
120
- Message?: string | undefined;
121
- /**
122
- * @internal
123
- */
124
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
125
- }
126
- /**
127
- * <p>The request was rejected because it doesn't have valid credentials for the target
128
- * resource.</p>
129
- * @public
130
- */
131
- export declare class UnauthorizedException extends __BaseException {
132
- readonly name: "UnauthorizedException";
133
- readonly $fault: "client";
134
- Message?: string | undefined;
135
- /**
136
- * @internal
137
- */
138
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
139
- }
140
33
  /**
141
34
  * <p>A parameter for a group configuration item. For details about group service
142
35
  * configuration syntax, see <a href="https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html">Service configurations for resource
@@ -182,18 +75,6 @@ export interface GroupConfigurationItem {
182
75
  */
183
76
  Parameters?: GroupConfigurationParameter[] | undefined;
184
77
  }
185
- /**
186
- * @public
187
- * @enum
188
- */
189
- export declare const QueryType: {
190
- readonly CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0";
191
- readonly TAG_FILTERS_1_0: "TAG_FILTERS_1_0";
192
- };
193
- /**
194
- * @public
195
- */
196
- export type QueryType = (typeof QueryType)[keyof typeof QueryType];
197
78
  /**
198
79
  * <p>The query you can use to define a resource group or a search for resources. A
199
80
  * <code>ResourceQuery</code> specifies both a query <code>Type</code> and a
@@ -474,19 +355,6 @@ export interface Group {
474
355
  */
475
356
  ApplicationTag?: Record<string, string> | undefined;
476
357
  }
477
- /**
478
- * @public
479
- * @enum
480
- */
481
- export declare const GroupConfigurationStatus: {
482
- readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
483
- readonly UPDATE_FAILED: "UPDATE_FAILED";
484
- readonly UPDATING: "UPDATING";
485
- };
486
- /**
487
- * @public
488
- */
489
- export type GroupConfigurationStatus = (typeof GroupConfigurationStatus)[keyof typeof GroupConfigurationStatus];
490
358
  /**
491
359
  * <p>A service configuration associated with a resource group. The configuration options
492
360
  * are determined by the Amazon Web Services service that defines the <code>Type</code>, and specifies
@@ -574,19 +442,6 @@ export interface DeleteGroupOutput {
574
442
  */
575
443
  Group?: Group | undefined;
576
444
  }
577
- /**
578
- * <p>One or more of the specified resources don't exist.</p>
579
- * @public
580
- */
581
- export declare class NotFoundException extends __BaseException {
582
- readonly name: "NotFoundException";
583
- readonly $fault: "client";
584
- Message?: string | undefined;
585
- /**
586
- * @internal
587
- */
588
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
589
- }
590
445
  /**
591
446
  * @public
592
447
  */
@@ -732,18 +587,6 @@ export interface GetTagSyncTaskInput {
732
587
  */
733
588
  TaskArn: string | undefined;
734
589
  }
735
- /**
736
- * @public
737
- * @enum
738
- */
739
- export declare const TagSyncTaskStatus: {
740
- readonly ACTIVE: "ACTIVE";
741
- readonly ERROR: "ERROR";
742
- };
743
- /**
744
- * @public
745
- */
746
- export type TagSyncTaskStatus = (typeof TagSyncTaskStatus)[keyof typeof TagSyncTaskStatus];
747
590
  /**
748
591
  * @public
749
592
  */
@@ -921,18 +764,6 @@ export interface GroupResourcesOutput {
921
764
  */
922
765
  Pending?: PendingResource[] | undefined;
923
766
  }
924
- /**
925
- * @public
926
- * @enum
927
- */
928
- export declare const ListGroupingStatusesFilterName: {
929
- readonly ResourceArn: "resource-arn";
930
- readonly Status: "status";
931
- };
932
- /**
933
- * @public
934
- */
935
- export type ListGroupingStatusesFilterName = (typeof ListGroupingStatusesFilterName)[keyof typeof ListGroupingStatusesFilterName];
936
767
  /**
937
768
  * <p>A filter name and value pair that is used to obtain more specific results from the list of grouping statuses. </p>
938
769
  * @public
@@ -980,32 +811,6 @@ export interface ListGroupingStatusesInput {
980
811
  */
981
812
  NextToken?: string | undefined;
982
813
  }
983
- /**
984
- * @public
985
- * @enum
986
- */
987
- export declare const GroupingType: {
988
- readonly GROUP: "GROUP";
989
- readonly UNGROUP: "UNGROUP";
990
- };
991
- /**
992
- * @public
993
- */
994
- export type GroupingType = (typeof GroupingType)[keyof typeof GroupingType];
995
- /**
996
- * @public
997
- * @enum
998
- */
999
- export declare const GroupingStatus: {
1000
- readonly FAILED: "FAILED";
1001
- readonly IN_PROGRESS: "IN_PROGRESS";
1002
- readonly SKIPPED: "SKIPPED";
1003
- readonly SUCCESS: "SUCCESS";
1004
- };
1005
- /**
1006
- * @public
1007
- */
1008
- export type GroupingStatus = (typeof GroupingStatus)[keyof typeof GroupingStatus];
1009
814
  /**
1010
815
  * <p>The information about a grouping or ungrouping resource action. </p>
1011
816
  * @public
@@ -1068,17 +873,6 @@ export interface ListGroupingStatusesOutput {
1068
873
  */
1069
874
  NextToken?: string | undefined;
1070
875
  }
1071
- /**
1072
- * @public
1073
- * @enum
1074
- */
1075
- export declare const ResourceFilterName: {
1076
- readonly ResourceType: "resource-type";
1077
- };
1078
- /**
1079
- * @public
1080
- */
1081
- export type ResourceFilterName = (typeof ResourceFilterName)[keyof typeof ResourceFilterName];
1082
876
  /**
1083
877
  * <p>A filter name and value pair that is used to obtain more specific results from a list
1084
878
  * of resources.</p>
@@ -1174,20 +968,6 @@ export interface ListGroupResourcesInput {
1174
968
  */
1175
969
  NextToken?: string | undefined;
1176
970
  }
1177
- /**
1178
- * @public
1179
- * @enum
1180
- */
1181
- export declare const QueryErrorCode: {
1182
- readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
1183
- readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
1184
- readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
1185
- readonly RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED";
1186
- };
1187
- /**
1188
- * @public
1189
- */
1190
- export type QueryErrorCode = (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
1191
971
  /**
1192
972
  * <p>A two-part error structure that can occur in <code>ListGroupResources</code> or
1193
973
  * <code>SearchResources</code>. </p>
@@ -1221,17 +1001,6 @@ export interface ResourceIdentifier {
1221
1001
  */
1222
1002
  ResourceType?: string | undefined;
1223
1003
  }
1224
- /**
1225
- * @public
1226
- * @enum
1227
- */
1228
- export declare const ResourceStatusValue: {
1229
- readonly Pending: "PENDING";
1230
- };
1231
- /**
1232
- * @public
1233
- */
1234
- export type ResourceStatusValue = (typeof ResourceStatusValue)[keyof typeof ResourceStatusValue];
1235
1004
  /**
1236
1005
  * <p>A structure that identifies the current group membership status for a resource. Adding
1237
1006
  * a resource to a resource group is performed asynchronously as a background task. A
@@ -1311,21 +1080,6 @@ export interface ListGroupResourcesOutput {
1311
1080
  */
1312
1081
  QueryErrors?: QueryError[] | undefined;
1313
1082
  }
1314
- /**
1315
- * @public
1316
- * @enum
1317
- */
1318
- export declare const GroupFilterName: {
1319
- readonly ConfigurationType: "configuration-type";
1320
- readonly Criticality: "criticality";
1321
- readonly DisplayName: "display-name";
1322
- readonly Owner: "owner";
1323
- readonly ResourceType: "resource-type";
1324
- };
1325
- /**
1326
- * @public
1327
- */
1328
- export type GroupFilterName = (typeof GroupFilterName)[keyof typeof GroupFilterName];
1329
1083
  /**
1330
1084
  * <p>A filter collection that you can use to restrict the results from a <code>List</code>
1331
1085
  * operation to only those you want to include.</p>
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ResourceGroupsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ResourceGroupsServiceException } from "./models/ResourceGroupsServiceException";
@@ -0,0 +1,78 @@
1
+ export declare const GroupLifecycleEventsDesiredStatus: {
2
+ readonly ACTIVE: "ACTIVE";
3
+ readonly INACTIVE: "INACTIVE";
4
+ };
5
+ export type GroupLifecycleEventsDesiredStatus =
6
+ (typeof GroupLifecycleEventsDesiredStatus)[keyof typeof GroupLifecycleEventsDesiredStatus];
7
+ export declare const GroupLifecycleEventsStatus: {
8
+ readonly ACTIVE: "ACTIVE";
9
+ readonly ERROR: "ERROR";
10
+ readonly INACTIVE: "INACTIVE";
11
+ readonly IN_PROGRESS: "IN_PROGRESS";
12
+ };
13
+ export type GroupLifecycleEventsStatus =
14
+ (typeof GroupLifecycleEventsStatus)[keyof typeof GroupLifecycleEventsStatus];
15
+ export declare const QueryType: {
16
+ readonly CLOUDFORMATION_STACK_1_0: "CLOUDFORMATION_STACK_1_0";
17
+ readonly TAG_FILTERS_1_0: "TAG_FILTERS_1_0";
18
+ };
19
+ export type QueryType = (typeof QueryType)[keyof typeof QueryType];
20
+ export declare const GroupConfigurationStatus: {
21
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
22
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
23
+ readonly UPDATING: "UPDATING";
24
+ };
25
+ export type GroupConfigurationStatus =
26
+ (typeof GroupConfigurationStatus)[keyof typeof GroupConfigurationStatus];
27
+ export declare const TagSyncTaskStatus: {
28
+ readonly ACTIVE: "ACTIVE";
29
+ readonly ERROR: "ERROR";
30
+ };
31
+ export type TagSyncTaskStatus =
32
+ (typeof TagSyncTaskStatus)[keyof typeof TagSyncTaskStatus];
33
+ export declare const ListGroupingStatusesFilterName: {
34
+ readonly ResourceArn: "resource-arn";
35
+ readonly Status: "status";
36
+ };
37
+ export type ListGroupingStatusesFilterName =
38
+ (typeof ListGroupingStatusesFilterName)[keyof typeof ListGroupingStatusesFilterName];
39
+ export declare const GroupingType: {
40
+ readonly GROUP: "GROUP";
41
+ readonly UNGROUP: "UNGROUP";
42
+ };
43
+ export type GroupingType = (typeof GroupingType)[keyof typeof GroupingType];
44
+ export declare const GroupingStatus: {
45
+ readonly FAILED: "FAILED";
46
+ readonly IN_PROGRESS: "IN_PROGRESS";
47
+ readonly SKIPPED: "SKIPPED";
48
+ readonly SUCCESS: "SUCCESS";
49
+ };
50
+ export type GroupingStatus =
51
+ (typeof GroupingStatus)[keyof typeof GroupingStatus];
52
+ export declare const ResourceFilterName: {
53
+ readonly ResourceType: "resource-type";
54
+ };
55
+ export type ResourceFilterName =
56
+ (typeof ResourceFilterName)[keyof typeof ResourceFilterName];
57
+ export declare const QueryErrorCode: {
58
+ readonly CLOUDFORMATION_STACK_INACTIVE: "CLOUDFORMATION_STACK_INACTIVE";
59
+ readonly CLOUDFORMATION_STACK_NOT_EXISTING: "CLOUDFORMATION_STACK_NOT_EXISTING";
60
+ readonly CLOUDFORMATION_STACK_UNASSUMABLE_ROLE: "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE";
61
+ readonly RESOURCE_TYPE_NOT_SUPPORTED: "RESOURCE_TYPE_NOT_SUPPORTED";
62
+ };
63
+ export type QueryErrorCode =
64
+ (typeof QueryErrorCode)[keyof typeof QueryErrorCode];
65
+ export declare const ResourceStatusValue: {
66
+ readonly Pending: "PENDING";
67
+ };
68
+ export type ResourceStatusValue =
69
+ (typeof ResourceStatusValue)[keyof typeof ResourceStatusValue];
70
+ export declare const GroupFilterName: {
71
+ readonly ConfigurationType: "configuration-type";
72
+ readonly Criticality: "criticality";
73
+ readonly DisplayName: "display-name";
74
+ readonly Owner: "owner";
75
+ readonly ResourceType: "resource-type";
76
+ };
77
+ export type GroupFilterName =
78
+ (typeof GroupFilterName)[keyof typeof GroupFilterName];
@@ -0,0 +1,54 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceGroupsServiceException as __BaseException } from "./ResourceGroupsServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ForbiddenException extends __BaseException {
12
+ readonly name: "ForbiddenException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
16
+ }
17
+ export declare class InternalServerErrorException extends __BaseException {
18
+ readonly name: "InternalServerErrorException";
19
+ readonly $fault: "server";
20
+ Message?: string | undefined;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
23
+ );
24
+ }
25
+ export declare class MethodNotAllowedException extends __BaseException {
26
+ readonly name: "MethodNotAllowedException";
27
+ readonly $fault: "client";
28
+ Message?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>
31
+ );
32
+ }
33
+ export declare class TooManyRequestsException extends __BaseException {
34
+ readonly name: "TooManyRequestsException";
35
+ readonly $fault: "client";
36
+ Message?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
39
+ );
40
+ }
41
+ export declare class UnauthorizedException extends __BaseException {
42
+ readonly name: "UnauthorizedException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
47
+ );
48
+ }
49
+ export declare class NotFoundException extends __BaseException {
50
+ readonly name: "NotFoundException";
51
+ readonly $fault: "client";
52
+ Message?: string | undefined;
53
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
54
+ }