@aws-sdk/client-resource-groups-tagging-api 3.934.0 → 3.936.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.
package/dist-cjs/index.js CHANGED
@@ -187,20 +187,6 @@ let ThrottledException$1 = class ThrottledException extends ResourceGroupsTaggin
187
187
  this.Message = opts.Message;
188
188
  }
189
189
  };
190
- const ErrorCode = {
191
- INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
192
- INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
193
- };
194
- const GroupByAttribute = {
195
- REGION: "REGION",
196
- RESOURCE_TYPE: "RESOURCE_TYPE",
197
- TARGET_ID: "TARGET_ID",
198
- };
199
- const TargetIdType = {
200
- ACCOUNT: "ACCOUNT",
201
- OU: "OU",
202
- ROOT: "ROOT",
203
- };
204
190
  let PaginationTokenExpiredException$1 = class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException$1 {
205
191
  name = "PaginationTokenExpiredException";
206
192
  $fault = "client";
@@ -674,6 +660,21 @@ const paginateGetTagValues = core.createPaginator(ResourceGroupsTaggingAPIClient
674
660
 
675
661
  const paginateListRequiredTags = core.createPaginator(ResourceGroupsTaggingAPIClient, ListRequiredTagsCommand, "NextToken", "NextToken", "MaxResults");
676
662
 
663
+ const ErrorCode = {
664
+ INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
665
+ INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
666
+ };
667
+ const GroupByAttribute = {
668
+ REGION: "REGION",
669
+ RESOURCE_TYPE: "RESOURCE_TYPE",
670
+ TARGET_ID: "TARGET_ID",
671
+ };
672
+ const TargetIdType = {
673
+ ACCOUNT: "ACCOUNT",
674
+ OU: "OU",
675
+ ROOT: "ROOT",
676
+ };
677
+
677
678
  Object.defineProperty(exports, "$Command", {
678
679
  enumerable: true,
679
680
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ResourceGroupsTaggingAPIClient";
2
2
  export * from "./ResourceGroupsTaggingAPI";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException";
@@ -0,0 +1,14 @@
1
+ export const ErrorCode = {
2
+ INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
3
+ INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
4
+ };
5
+ export const GroupByAttribute = {
6
+ REGION: "REGION",
7
+ RESOURCE_TYPE: "RESOURCE_TYPE",
8
+ TARGET_ID: "TARGET_ID",
9
+ };
10
+ export const TargetIdType = {
11
+ ACCOUNT: "ACCOUNT",
12
+ OU: "OU",
13
+ ROOT: "ROOT",
14
+ };
@@ -0,0 +1,85 @@
1
+ import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
2
+ export class ConcurrentModificationException extends __BaseException {
3
+ name = "ConcurrentModificationException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "ConcurrentModificationException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConstraintViolationException extends __BaseException {
17
+ name = "ConstraintViolationException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConstraintViolationException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ConstraintViolationException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InternalServiceException extends __BaseException {
31
+ name = "InternalServiceException";
32
+ $fault = "server";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServiceException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class InvalidParameterException extends __BaseException {
45
+ name = "InvalidParameterException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "InvalidParameterException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ThrottledException extends __BaseException {
59
+ name = "ThrottledException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ThrottledException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ThrottledException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class PaginationTokenExpiredException extends __BaseException {
73
+ name = "PaginationTokenExpiredException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "PaginationTokenExpiredException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
@@ -1,99 +1 @@
1
- import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
2
- export class ConcurrentModificationException extends __BaseException {
3
- name = "ConcurrentModificationException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "ConcurrentModificationException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export class ConstraintViolationException extends __BaseException {
17
- name = "ConstraintViolationException";
18
- $fault = "client";
19
- Message;
20
- constructor(opts) {
21
- super({
22
- name: "ConstraintViolationException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- Object.setPrototypeOf(this, ConstraintViolationException.prototype);
27
- this.Message = opts.Message;
28
- }
29
- }
30
- export class InternalServiceException extends __BaseException {
31
- name = "InternalServiceException";
32
- $fault = "server";
33
- Message;
34
- constructor(opts) {
35
- super({
36
- name: "InternalServiceException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, InternalServiceException.prototype);
41
- this.Message = opts.Message;
42
- }
43
- }
44
- export class InvalidParameterException extends __BaseException {
45
- name = "InvalidParameterException";
46
- $fault = "client";
47
- Message;
48
- constructor(opts) {
49
- super({
50
- name: "InvalidParameterException",
51
- $fault: "client",
52
- ...opts,
53
- });
54
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
55
- this.Message = opts.Message;
56
- }
57
- }
58
- export class ThrottledException extends __BaseException {
59
- name = "ThrottledException";
60
- $fault = "client";
61
- Message;
62
- constructor(opts) {
63
- super({
64
- name: "ThrottledException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- Object.setPrototypeOf(this, ThrottledException.prototype);
69
- this.Message = opts.Message;
70
- }
71
- }
72
- export const ErrorCode = {
73
- INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
74
- INVALID_PARAMETER_EXCEPTION: "InvalidParameterException",
75
- };
76
- export const GroupByAttribute = {
77
- REGION: "REGION",
78
- RESOURCE_TYPE: "RESOURCE_TYPE",
79
- TARGET_ID: "TARGET_ID",
80
- };
81
- export const TargetIdType = {
82
- ACCOUNT: "ACCOUNT",
83
- OU: "OU",
84
- ROOT: "ROOT",
85
- };
86
- export class PaginationTokenExpiredException extends __BaseException {
87
- name = "PaginationTokenExpiredException";
88
- $fault = "client";
89
- Message;
90
- constructor(opts) {
91
- super({
92
- name: "PaginationTokenExpiredException",
93
- $fault: "client",
94
- ...opts,
95
- });
96
- Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
97
- this.Message = opts.Message;
98
- }
99
- }
1
+ export {};
@@ -92,7 +92,7 @@ const _s = "server";
92
92
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
93
93
  const n0 = "com.amazonaws.resourcegroupstaggingapi";
94
94
  import { TypeRegistry } from "@smithy/core/schema";
95
- import { ConcurrentModificationException as __ConcurrentModificationException, ConstraintViolationException as __ConstraintViolationException, InternalServiceException as __InternalServiceException, InvalidParameterException as __InvalidParameterException, PaginationTokenExpiredException as __PaginationTokenExpiredException, ThrottledException as __ThrottledException, } from "../models/index";
95
+ import { ConcurrentModificationException as __ConcurrentModificationException, ConstraintViolationException as __ConstraintViolationException, InternalServiceException as __InternalServiceException, InvalidParameterException as __InvalidParameterException, PaginationTokenExpiredException as __PaginationTokenExpiredException, ThrottledException as __ThrottledException, } from "../models/errors";
96
96
  import { ResourceGroupsTaggingAPIServiceException as __ResourceGroupsTaggingAPIServiceException } from "../models/ResourceGroupsTaggingAPIServiceException";
97
97
  export var ComplianceDetails = [3, n0, _CD, 0, [_NK, _KWNV, _CS], [64 | 0, 64 | 0, 2]];
98
98
  export var ConcurrentModificationException = [
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ResourceGroupsTaggingAPIExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException";
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ErrorCode: {
6
+ readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
7
+ readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const GroupByAttribute: {
18
+ readonly REGION: "REGION";
19
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
20
+ readonly TARGET_ID: "TARGET_ID";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type GroupByAttribute = (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
26
+ /**
27
+ * @public
28
+ * @enum
29
+ */
30
+ export declare const TargetIdType: {
31
+ readonly ACCOUNT: "ACCOUNT";
32
+ readonly OU: "OU";
33
+ readonly ROOT: "ROOT";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
@@ -0,0 +1,124 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
3
+ /**
4
+ * <p>The request failed because the target of the operation is currently being modified by
5
+ * a different request. Try again later.</p>
6
+ * @public
7
+ */
8
+ export declare class ConcurrentModificationException extends __BaseException {
9
+ readonly name: "ConcurrentModificationException";
10
+ readonly $fault: "client";
11
+ Message?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The request failed because performing the operation would violate a constraint.</p>
19
+ * <p>Some of the reasons in the following list might not apply to this specific
20
+ * operation.</p>
21
+ * <ul>
22
+ * <li>
23
+ * <p>You must meet the prerequisites for using tag policies. For information, see
24
+ * <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#tag-policies-prereqs">Prerequisites and permissions</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
25
+ * </li>
26
+ * <li>
27
+ * <p>You must enable the tag policies service principal
28
+ * (<code>tagpolicies.tag.amazonaws.com</code>) to integrate with Organizations For
29
+ * information, see <a href="https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html">EnableAWSServiceAccess</a>.</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>You must have a tag policy attached to the organization root, an OU, or an
33
+ * account.</p>
34
+ * </li>
35
+ * </ul>
36
+ * @public
37
+ */
38
+ export declare class ConstraintViolationException extends __BaseException {
39
+ readonly name: "ConstraintViolationException";
40
+ readonly $fault: "client";
41
+ Message?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>The request processing failed because of an unknown error, exception, or failure. You
49
+ * can retry the request.</p>
50
+ * @public
51
+ */
52
+ export declare class InternalServiceException extends __BaseException {
53
+ readonly name: "InternalServiceException";
54
+ readonly $fault: "server";
55
+ Message?: string | undefined;
56
+ /**
57
+ * @internal
58
+ */
59
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
60
+ }
61
+ /**
62
+ * <p>The request failed because of one of the following reasons:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>A required parameter is missing.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>A provided string parameter is malformed.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>An provided parameter value is out of range.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>The target ID is invalid, unsupported, or doesn't exist.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>You can't access the Amazon S3 bucket for report storage. For more information, see
78
+ * <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
79
+ * </li>
80
+ * <li>
81
+ * <p>The partition specified in an ARN parameter in the request doesn't match the
82
+ * partition where you invoked the operation. The partition is specified by the
83
+ * second field of the ARN.</p>
84
+ * </li>
85
+ * </ul>
86
+ * @public
87
+ */
88
+ export declare class InvalidParameterException extends __BaseException {
89
+ readonly name: "InvalidParameterException";
90
+ readonly $fault: "client";
91
+ Message?: string | undefined;
92
+ /**
93
+ * @internal
94
+ */
95
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
96
+ }
97
+ /**
98
+ * <p>The request failed because it exceeded the allowed frequency of submitted
99
+ * requests.</p>
100
+ * @public
101
+ */
102
+ export declare class ThrottledException extends __BaseException {
103
+ readonly name: "ThrottledException";
104
+ readonly $fault: "client";
105
+ Message?: string | undefined;
106
+ /**
107
+ * @internal
108
+ */
109
+ constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
110
+ }
111
+ /**
112
+ * <p>The request failed because the specified <code>PaginationToken</code> has expired. A
113
+ * <code>PaginationToken</code> is valid for a maximum of 15 minutes.</p>
114
+ * @public
115
+ */
116
+ export declare class PaginationTokenExpiredException extends __BaseException {
117
+ readonly name: "PaginationTokenExpiredException";
118
+ readonly $fault: "client";
119
+ Message?: string | undefined;
120
+ /**
121
+ * @internal
122
+ */
123
+ constructor(opts: __ExceptionOptionType<PaginationTokenExpiredException, __BaseException>);
124
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
1
+ import { ErrorCode, GroupByAttribute, TargetIdType } from "./enums";
3
2
  /**
4
3
  * <p>Information that shows whether a resource is compliant with the effective tag policy,
5
4
  * including details on any noncompliant tag keys.</p>
@@ -23,50 +22,6 @@ export interface ComplianceDetails {
23
22
  */
24
23
  ComplianceStatus?: boolean | undefined;
25
24
  }
26
- /**
27
- * <p>The request failed because the target of the operation is currently being modified by
28
- * a different request. Try again later.</p>
29
- * @public
30
- */
31
- export declare class ConcurrentModificationException extends __BaseException {
32
- readonly name: "ConcurrentModificationException";
33
- readonly $fault: "client";
34
- Message?: string | undefined;
35
- /**
36
- * @internal
37
- */
38
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
39
- }
40
- /**
41
- * <p>The request failed because performing the operation would violate a constraint.</p>
42
- * <p>Some of the reasons in the following list might not apply to this specific
43
- * operation.</p>
44
- * <ul>
45
- * <li>
46
- * <p>You must meet the prerequisites for using tag policies. For information, see
47
- * <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#tag-policies-prereqs">Prerequisites and permissions</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
48
- * </li>
49
- * <li>
50
- * <p>You must enable the tag policies service principal
51
- * (<code>tagpolicies.tag.amazonaws.com</code>) to integrate with Organizations For
52
- * information, see <a href="https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html">EnableAWSServiceAccess</a>.</p>
53
- * </li>
54
- * <li>
55
- * <p>You must have a tag policy attached to the organization root, an OU, or an
56
- * account.</p>
57
- * </li>
58
- * </ul>
59
- * @public
60
- */
61
- export declare class ConstraintViolationException extends __BaseException {
62
- readonly name: "ConstraintViolationException";
63
- readonly $fault: "client";
64
- Message?: string | undefined;
65
- /**
66
- * @internal
67
- */
68
- constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
69
- }
70
25
  /**
71
26
  * @public
72
27
  */
@@ -119,82 +74,6 @@ export interface DescribeReportCreationOutput {
119
74
  */
120
75
  ErrorMessage?: string | undefined;
121
76
  }
122
- /**
123
- * <p>The request processing failed because of an unknown error, exception, or failure. You
124
- * can retry the request.</p>
125
- * @public
126
- */
127
- export declare class InternalServiceException extends __BaseException {
128
- readonly name: "InternalServiceException";
129
- readonly $fault: "server";
130
- Message?: string | undefined;
131
- /**
132
- * @internal
133
- */
134
- constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
135
- }
136
- /**
137
- * <p>The request failed because of one of the following reasons:</p>
138
- * <ul>
139
- * <li>
140
- * <p>A required parameter is missing.</p>
141
- * </li>
142
- * <li>
143
- * <p>A provided string parameter is malformed.</p>
144
- * </li>
145
- * <li>
146
- * <p>An provided parameter value is out of range.</p>
147
- * </li>
148
- * <li>
149
- * <p>The target ID is invalid, unsupported, or doesn't exist.</p>
150
- * </li>
151
- * <li>
152
- * <p>You can't access the Amazon S3 bucket for report storage. For more information, see
153
- * <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tag-policies-orgs.html#bucket-policy">Amazon S3 bucket policy for report storage</a> in the <i>Tagging Amazon Web Services resources and Tag Editor</i> user guide. </p>
154
- * </li>
155
- * <li>
156
- * <p>The partition specified in an ARN parameter in the request doesn't match the
157
- * partition where you invoked the operation. The partition is specified by the
158
- * second field of the ARN.</p>
159
- * </li>
160
- * </ul>
161
- * @public
162
- */
163
- export declare class InvalidParameterException extends __BaseException {
164
- readonly name: "InvalidParameterException";
165
- readonly $fault: "client";
166
- Message?: string | undefined;
167
- /**
168
- * @internal
169
- */
170
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
171
- }
172
- /**
173
- * <p>The request failed because it exceeded the allowed frequency of submitted
174
- * requests.</p>
175
- * @public
176
- */
177
- export declare class ThrottledException extends __BaseException {
178
- readonly name: "ThrottledException";
179
- readonly $fault: "client";
180
- Message?: string | undefined;
181
- /**
182
- * @internal
183
- */
184
- constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
185
- }
186
- /**
187
- * @public
188
- * @enum
189
- */
190
- export declare const ErrorCode: {
191
- readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
192
- readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
193
- };
194
- /**
195
- * @public
196
- */
197
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
198
77
  /**
199
78
  * <p>Information about the errors that are returned for each failed resource. This
200
79
  * information can include <code>InternalServiceException</code> and
@@ -249,19 +128,6 @@ export interface FailureInfo {
249
128
  */
250
129
  ErrorMessage?: string | undefined;
251
130
  }
252
- /**
253
- * @public
254
- * @enum
255
- */
256
- export declare const GroupByAttribute: {
257
- readonly REGION: "REGION";
258
- readonly RESOURCE_TYPE: "RESOURCE_TYPE";
259
- readonly TARGET_ID: "TARGET_ID";
260
- };
261
- /**
262
- * @public
263
- */
264
- export type GroupByAttribute = (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
265
131
  /**
266
132
  * @public
267
133
  */
@@ -348,19 +214,6 @@ export interface GetComplianceSummaryInput {
348
214
  */
349
215
  PaginationToken?: string | undefined;
350
216
  }
351
- /**
352
- * @public
353
- * @enum
354
- */
355
- export declare const TargetIdType: {
356
- readonly ACCOUNT: "ACCOUNT";
357
- readonly OU: "OU";
358
- readonly ROOT: "ROOT";
359
- };
360
- /**
361
- * @public
362
- */
363
- export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
364
217
  /**
365
218
  * <p>A count of noncompliant resources.</p>
366
219
  * @public
@@ -663,20 +516,6 @@ export interface GetResourcesOutput {
663
516
  */
664
517
  ResourceTagMappingList?: ResourceTagMapping[] | undefined;
665
518
  }
666
- /**
667
- * <p>The request failed because the specified <code>PaginationToken</code> has expired. A
668
- * <code>PaginationToken</code> is valid for a maximum of 15 minutes.</p>
669
- * @public
670
- */
671
- export declare class PaginationTokenExpiredException extends __BaseException {
672
- readonly name: "PaginationTokenExpiredException";
673
- readonly $fault: "client";
674
- Message?: string | undefined;
675
- /**
676
- * @internal
677
- */
678
- constructor(opts: __ExceptionOptionType<PaginationTokenExpiredException, __BaseException>);
679
- }
680
519
  /**
681
520
  * @public
682
521
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ResourceGroupsTaggingAPIExtensionConfiguration } 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 { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException";
@@ -0,0 +1,18 @@
1
+ export declare const ErrorCode: {
2
+ readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
3
+ readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
4
+ };
5
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
6
+ export declare const GroupByAttribute: {
7
+ readonly REGION: "REGION";
8
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
9
+ readonly TARGET_ID: "TARGET_ID";
10
+ };
11
+ export type GroupByAttribute =
12
+ (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
13
+ export declare const TargetIdType: {
14
+ readonly ACCOUNT: "ACCOUNT";
15
+ readonly OU: "OU";
16
+ readonly ROOT: "ROOT";
17
+ };
18
+ export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
@@ -0,0 +1,54 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
3
+ export declare class ConcurrentModificationException extends __BaseException {
4
+ readonly name: "ConcurrentModificationException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<
9
+ ConcurrentModificationException,
10
+ __BaseException
11
+ >
12
+ );
13
+ }
14
+ export declare class ConstraintViolationException extends __BaseException {
15
+ readonly name: "ConstraintViolationException";
16
+ readonly $fault: "client";
17
+ Message?: string | undefined;
18
+ constructor(
19
+ opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>
20
+ );
21
+ }
22
+ export declare class InternalServiceException extends __BaseException {
23
+ readonly name: "InternalServiceException";
24
+ readonly $fault: "server";
25
+ Message?: string | undefined;
26
+ constructor(
27
+ opts: __ExceptionOptionType<InternalServiceException, __BaseException>
28
+ );
29
+ }
30
+ export declare class InvalidParameterException extends __BaseException {
31
+ readonly name: "InvalidParameterException";
32
+ readonly $fault: "client";
33
+ Message?: string | undefined;
34
+ constructor(
35
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
36
+ );
37
+ }
38
+ export declare class ThrottledException extends __BaseException {
39
+ readonly name: "ThrottledException";
40
+ readonly $fault: "client";
41
+ Message?: string | undefined;
42
+ constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
43
+ }
44
+ export declare class PaginationTokenExpiredException extends __BaseException {
45
+ readonly name: "PaginationTokenExpiredException";
46
+ readonly $fault: "client";
47
+ Message?: string | undefined;
48
+ constructor(
49
+ opts: __ExceptionOptionType<
50
+ PaginationTokenExpiredException,
51
+ __BaseException
52
+ >
53
+ );
54
+ }
@@ -1,29 +1,9 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
1
+ import { ErrorCode, GroupByAttribute, TargetIdType } from "./enums";
3
2
  export interface ComplianceDetails {
4
3
  NoncompliantKeys?: string[] | undefined;
5
4
  KeysWithNoncompliantValues?: string[] | undefined;
6
5
  ComplianceStatus?: boolean | undefined;
7
6
  }
8
- export declare class ConcurrentModificationException extends __BaseException {
9
- readonly name: "ConcurrentModificationException";
10
- readonly $fault: "client";
11
- Message?: string | undefined;
12
- constructor(
13
- opts: __ExceptionOptionType<
14
- ConcurrentModificationException,
15
- __BaseException
16
- >
17
- );
18
- }
19
- export declare class ConstraintViolationException extends __BaseException {
20
- readonly name: "ConstraintViolationException";
21
- readonly $fault: "client";
22
- Message?: string | undefined;
23
- constructor(
24
- opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>
25
- );
26
- }
27
7
  export interface DescribeReportCreationInput {}
28
8
  export interface DescribeReportCreationOutput {
29
9
  Status?: string | undefined;
@@ -31,45 +11,11 @@ export interface DescribeReportCreationOutput {
31
11
  StartDate?: string | undefined;
32
12
  ErrorMessage?: string | undefined;
33
13
  }
34
- export declare class InternalServiceException extends __BaseException {
35
- readonly name: "InternalServiceException";
36
- readonly $fault: "server";
37
- Message?: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<InternalServiceException, __BaseException>
40
- );
41
- }
42
- export declare class InvalidParameterException extends __BaseException {
43
- readonly name: "InvalidParameterException";
44
- readonly $fault: "client";
45
- Message?: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
48
- );
49
- }
50
- export declare class ThrottledException extends __BaseException {
51
- readonly name: "ThrottledException";
52
- readonly $fault: "client";
53
- Message?: string | undefined;
54
- constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
55
- }
56
- export declare const ErrorCode: {
57
- readonly INTERNAL_SERVICE_EXCEPTION: "InternalServiceException";
58
- readonly INVALID_PARAMETER_EXCEPTION: "InvalidParameterException";
59
- };
60
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
61
14
  export interface FailureInfo {
62
15
  StatusCode?: number | undefined;
63
16
  ErrorCode?: ErrorCode | undefined;
64
17
  ErrorMessage?: string | undefined;
65
18
  }
66
- export declare const GroupByAttribute: {
67
- readonly REGION: "REGION";
68
- readonly RESOURCE_TYPE: "RESOURCE_TYPE";
69
- readonly TARGET_ID: "TARGET_ID";
70
- };
71
- export type GroupByAttribute =
72
- (typeof GroupByAttribute)[keyof typeof GroupByAttribute];
73
19
  export interface GetComplianceSummaryInput {
74
20
  TargetIdFilters?: string[] | undefined;
75
21
  RegionFilters?: string[] | undefined;
@@ -79,12 +25,6 @@ export interface GetComplianceSummaryInput {
79
25
  MaxResults?: number | undefined;
80
26
  PaginationToken?: string | undefined;
81
27
  }
82
- export declare const TargetIdType: {
83
- readonly ACCOUNT: "ACCOUNT";
84
- readonly OU: "OU";
85
- readonly ROOT: "ROOT";
86
- };
87
- export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
88
28
  export interface Summary {
89
29
  LastUpdated?: string | undefined;
90
30
  TargetId?: string | undefined;
@@ -124,17 +64,6 @@ export interface GetResourcesOutput {
124
64
  PaginationToken?: string | undefined;
125
65
  ResourceTagMappingList?: ResourceTagMapping[] | undefined;
126
66
  }
127
- export declare class PaginationTokenExpiredException extends __BaseException {
128
- readonly name: "PaginationTokenExpiredException";
129
- readonly $fault: "client";
130
- Message?: string | undefined;
131
- constructor(
132
- opts: __ExceptionOptionType<
133
- PaginationTokenExpiredException,
134
- __BaseException
135
- >
136
- );
137
- }
138
67
  export interface GetTagKeysInput {
139
68
  PaginationToken?: string | undefined;
140
69
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups-tagging-api",
3
3
  "description": "AWS SDK for JavaScript Resource Groups Tagging Api Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.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-tagging-api",
@@ -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.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.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";