@aws-sdk/client-resource-groups-tagging-api 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./ResourceGroupsTaggingAPIClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.
4
+ */
5
+ export declare class ResourceGroupsTaggingAPIServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
2
3
  /**
3
4
  * <p>Information that shows whether a resource is compliant with the effective tag policy,
4
5
  * including details on any noncompliant tag keys.</p>
@@ -28,10 +29,14 @@ export declare namespace ComplianceDetails {
28
29
  * <p>The target of the operation is currently being modified by a different request. Try
29
30
  * again later.</p>
30
31
  */
31
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
32
- name: "ConcurrentModificationException";
33
- $fault: "client";
32
+ export declare class ConcurrentModificationException extends __BaseException {
33
+ readonly name: "ConcurrentModificationException";
34
+ readonly $fault: "client";
34
35
  Message?: string;
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
35
40
  }
36
41
  /**
37
42
  * <p>The request was denied because performing this operation violates a constraint. </p>
@@ -55,10 +60,14 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
55
60
  * </li>
56
61
  * </ul>
57
62
  */
58
- export interface ConstraintViolationException extends __SmithyException, $MetadataBearer {
59
- name: "ConstraintViolationException";
60
- $fault: "client";
63
+ export declare class ConstraintViolationException extends __BaseException {
64
+ readonly name: "ConstraintViolationException";
65
+ readonly $fault: "client";
61
66
  Message?: string;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
62
71
  }
63
72
  export interface DescribeReportCreationInput {
64
73
  }
@@ -118,10 +127,14 @@ export declare namespace DescribeReportCreationOutput {
118
127
  * <p>The request processing failed because of an unknown error, exception, or failure. You
119
128
  * can retry the request.</p>
120
129
  */
121
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
122
- name: "InternalServiceException";
123
- $fault: "server";
130
+ export declare class InternalServiceException extends __BaseException {
131
+ readonly name: "InternalServiceException";
132
+ readonly $fault: "server";
124
133
  Message?: string;
134
+ /**
135
+ * @internal
136
+ */
137
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
125
138
  }
126
139
  /**
127
140
  * <p>This error indicates one of the following:</p>
@@ -146,18 +159,26 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
146
159
  * </li>
147
160
  * </ul>
148
161
  */
149
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
150
- name: "InvalidParameterException";
151
- $fault: "client";
162
+ export declare class InvalidParameterException extends __BaseException {
163
+ readonly name: "InvalidParameterException";
164
+ readonly $fault: "client";
152
165
  Message?: string;
166
+ /**
167
+ * @internal
168
+ */
169
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
153
170
  }
154
171
  /**
155
172
  * <p>The request was denied to limit the frequency of submitted requests.</p>
156
173
  */
157
- export interface ThrottledException extends __SmithyException, $MetadataBearer {
158
- name: "ThrottledException";
159
- $fault: "client";
174
+ export declare class ThrottledException extends __BaseException {
175
+ readonly name: "ThrottledException";
176
+ readonly $fault: "client";
160
177
  Message?: string;
178
+ /**
179
+ * @internal
180
+ */
181
+ constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
161
182
  }
162
183
  export declare enum ErrorCode {
163
184
  INTERNAL_SERVICE_EXCEPTION = "InternalServiceException",
@@ -595,10 +616,14 @@ export declare namespace GetResourcesOutput {
595
616
  * <p>A <code>PaginationToken</code> is valid for a maximum of 15 minutes. Your request was
596
617
  * denied because the specified <code>PaginationToken</code> has expired.</p>
597
618
  */
598
- export interface PaginationTokenExpiredException extends __SmithyException, $MetadataBearer {
599
- name: "PaginationTokenExpiredException";
600
- $fault: "client";
619
+ export declare class PaginationTokenExpiredException extends __BaseException {
620
+ readonly name: "PaginationTokenExpiredException";
621
+ readonly $fault: "client";
601
622
  Message?: string;
623
+ /**
624
+ * @internal
625
+ */
626
+ constructor(opts: __ExceptionOptionType<PaginationTokenExpiredException, __BaseException>);
602
627
  }
603
628
  export interface GetTagKeysInput {
604
629
  /**
@@ -3,3 +3,4 @@ export * from "./ResourceGroupsTaggingAPIClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ResourceGroupsTaggingAPIServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
2
3
 
3
4
  export interface ComplianceDetails {
4
5
 
@@ -13,16 +14,20 @@ export declare namespace ComplianceDetails {
13
14
  const filterSensitiveLog: (obj: ComplianceDetails) => any;
14
15
  }
15
16
 
16
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
17
- name: "ConcurrentModificationException";
18
- $fault: "client";
17
+ export declare class ConcurrentModificationException extends __BaseException {
18
+ readonly name: "ConcurrentModificationException";
19
+ readonly $fault: "client";
19
20
  Message?: string;
21
+
22
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
20
23
  }
21
24
 
22
- export interface ConstraintViolationException extends __SmithyException, $MetadataBearer {
23
- name: "ConstraintViolationException";
24
- $fault: "client";
25
+ export declare class ConstraintViolationException extends __BaseException {
26
+ readonly name: "ConstraintViolationException";
27
+ readonly $fault: "client";
25
28
  Message?: string;
29
+
30
+ constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
26
31
  }
27
32
  export interface DescribeReportCreationInput {
28
33
  }
@@ -45,22 +50,28 @@ export declare namespace DescribeReportCreationOutput {
45
50
  const filterSensitiveLog: (obj: DescribeReportCreationOutput) => any;
46
51
  }
47
52
 
48
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
49
- name: "InternalServiceException";
50
- $fault: "server";
53
+ export declare class InternalServiceException extends __BaseException {
54
+ readonly name: "InternalServiceException";
55
+ readonly $fault: "server";
51
56
  Message?: string;
57
+
58
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
52
59
  }
53
60
 
54
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
55
- name: "InvalidParameterException";
56
- $fault: "client";
61
+ export declare class InvalidParameterException extends __BaseException {
62
+ readonly name: "InvalidParameterException";
63
+ readonly $fault: "client";
57
64
  Message?: string;
65
+
66
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
58
67
  }
59
68
 
60
- export interface ThrottledException extends __SmithyException, $MetadataBearer {
61
- name: "ThrottledException";
62
- $fault: "client";
69
+ export declare class ThrottledException extends __BaseException {
70
+ readonly name: "ThrottledException";
71
+ readonly $fault: "client";
63
72
  Message?: string;
73
+
74
+ constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
64
75
  }
65
76
  export declare enum ErrorCode {
66
77
  INTERNAL_SERVICE_EXCEPTION = "InternalServiceException",
@@ -206,10 +217,12 @@ export declare namespace GetResourcesOutput {
206
217
  const filterSensitiveLog: (obj: GetResourcesOutput) => any;
207
218
  }
208
219
 
209
- export interface PaginationTokenExpiredException extends __SmithyException, $MetadataBearer {
210
- name: "PaginationTokenExpiredException";
211
- $fault: "client";
220
+ export declare class PaginationTokenExpiredException extends __BaseException {
221
+ readonly name: "PaginationTokenExpiredException";
222
+ readonly $fault: "client";
212
223
  Message?: string;
224
+
225
+ constructor(opts: __ExceptionOptionType<PaginationTokenExpiredException, __BaseException>);
213
226
  }
214
227
  export interface GetTagKeysInput {
215
228
 
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.52.0",
4
+ "version": "3.53.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",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"