@aws-sdk/client-rbin 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 "./RbinClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RbinServiceException } from "./models/RbinServiceException";
@@ -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 Rbin service.
4
+ */
5
+ export declare class RbinServiceException 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 { RbinServiceException as __BaseException } from "./RbinServiceException";
2
3
  /**
3
4
  * <p>Information about the resource tags used to identify resources that are retained by the retention
4
5
  * rule.</p>
@@ -148,10 +149,14 @@ export declare namespace CreateRuleResponse {
148
149
  /**
149
150
  * <p>The service could not respond to the request due to an internal problem.</p>
150
151
  */
151
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
152
- name: "InternalServerException";
153
- $fault: "server";
152
+ export declare class InternalServerException extends __BaseException {
153
+ readonly name: "InternalServerException";
154
+ readonly $fault: "server";
154
155
  Message?: string;
156
+ /**
157
+ * @internal
158
+ */
159
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
155
160
  }
156
161
  export declare enum ServiceQuotaExceededExceptionReason {
157
162
  SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"
@@ -159,14 +164,18 @@ export declare enum ServiceQuotaExceededExceptionReason {
159
164
  /**
160
165
  * <p>The request would cause a service quota for the number of tags per resource to be exceeded.</p>
161
166
  */
162
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
163
- name: "ServiceQuotaExceededException";
164
- $fault: "client";
167
+ export declare class ServiceQuotaExceededException extends __BaseException {
168
+ readonly name: "ServiceQuotaExceededException";
169
+ readonly $fault: "client";
165
170
  Message?: string;
166
171
  /**
167
172
  * <p>The reason for the exception.</p>
168
173
  */
169
174
  Reason?: ServiceQuotaExceededExceptionReason | string;
175
+ /**
176
+ * @internal
177
+ */
178
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
170
179
  }
171
180
  export declare enum ValidationExceptionReason {
172
181
  INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",
@@ -175,14 +184,18 @@ export declare enum ValidationExceptionReason {
175
184
  /**
176
185
  * <p>One or more of the parameters in the request is not valid.</p>
177
186
  */
178
- export interface ValidationException extends __SmithyException, $MetadataBearer {
179
- name: "ValidationException";
180
- $fault: "client";
187
+ export declare class ValidationException extends __BaseException {
188
+ readonly name: "ValidationException";
189
+ readonly $fault: "client";
181
190
  Message?: string;
182
191
  /**
183
192
  * <p>The reason for the exception.</p>
184
193
  */
185
194
  Reason?: ValidationExceptionReason | string;
195
+ /**
196
+ * @internal
197
+ */
198
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
186
199
  }
187
200
  export interface DeleteRuleRequest {
188
201
  /**
@@ -210,14 +223,18 @@ export declare enum ResourceNotFoundExceptionReason {
210
223
  /**
211
224
  * <p>The specified resource was not found.</p>
212
225
  */
213
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
214
- name: "ResourceNotFoundException";
215
- $fault: "client";
226
+ export declare class ResourceNotFoundException extends __BaseException {
227
+ readonly name: "ResourceNotFoundException";
228
+ readonly $fault: "client";
216
229
  Message?: string;
217
230
  /**
218
231
  * <p>The reason for the exception.</p>
219
232
  */
220
233
  Reason?: ResourceNotFoundExceptionReason | string;
234
+ /**
235
+ * @internal
236
+ */
237
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
221
238
  }
222
239
  export interface GetRuleRequest {
223
240
  /**
@@ -3,3 +3,4 @@ export * from "./RbinClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RbinServiceException } from "./models/RbinServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class RbinServiceException 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 { RbinServiceException as __BaseException } from "./RbinServiceException";
2
3
 
3
4
  export interface ResourceTag {
4
5
 
@@ -80,33 +81,39 @@ export declare namespace CreateRuleResponse {
80
81
  const filterSensitiveLog: (obj: CreateRuleResponse) => any;
81
82
  }
82
83
 
83
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
84
- name: "InternalServerException";
85
- $fault: "server";
84
+ export declare class InternalServerException extends __BaseException {
85
+ readonly name: "InternalServerException";
86
+ readonly $fault: "server";
86
87
  Message?: string;
88
+
89
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
87
90
  }
88
91
  export declare enum ServiceQuotaExceededExceptionReason {
89
92
  SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"
90
93
  }
91
94
 
92
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
93
- name: "ServiceQuotaExceededException";
94
- $fault: "client";
95
+ export declare class ServiceQuotaExceededException extends __BaseException {
96
+ readonly name: "ServiceQuotaExceededException";
97
+ readonly $fault: "client";
95
98
  Message?: string;
96
99
 
97
100
  Reason?: ServiceQuotaExceededExceptionReason | string;
101
+
102
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
98
103
  }
99
104
  export declare enum ValidationExceptionReason {
100
105
  INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",
101
106
  INVALID_PARAMETER_VALUE = "INVALID_PARAMETER_VALUE"
102
107
  }
103
108
 
104
- export interface ValidationException extends __SmithyException, $MetadataBearer {
105
- name: "ValidationException";
106
- $fault: "client";
109
+ export declare class ValidationException extends __BaseException {
110
+ readonly name: "ValidationException";
111
+ readonly $fault: "client";
107
112
  Message?: string;
108
113
 
109
114
  Reason?: ValidationExceptionReason | string;
115
+
116
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
110
117
  }
111
118
  export interface DeleteRuleRequest {
112
119
 
@@ -126,12 +133,14 @@ export declare enum ResourceNotFoundExceptionReason {
126
133
  RULE_NOT_FOUND = "RULE_NOT_FOUND"
127
134
  }
128
135
 
129
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
130
- name: "ResourceNotFoundException";
131
- $fault: "client";
136
+ export declare class ResourceNotFoundException extends __BaseException {
137
+ readonly name: "ResourceNotFoundException";
138
+ readonly $fault: "client";
132
139
  Message?: string;
133
140
 
134
141
  Reason?: ResourceNotFoundExceptionReason | string;
142
+
143
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
135
144
  }
136
145
  export interface GetRuleRequest {
137
146
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rbin",
3
3
  "description": "AWS SDK for JavaScript Rbin 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"