@aws-sdk/client-rum 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 "./RUMClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RUMServiceException } from "./models/RUMServiceException";
@@ -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 RUM service.
4
+ */
5
+ export declare class RUMServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,12 +1,15 @@
1
- import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
+ import { RUMServiceException as __BaseException } from "./RUMServiceException";
3
3
  /**
4
4
  * <p>You don't have sufficient permissions to perform this action.</p>
5
5
  */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- message: string | undefined;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
13
  }
11
14
  export declare enum Telemetry {
12
15
  /**
@@ -222,10 +225,9 @@ export declare namespace AppMonitorDetails {
222
225
  /**
223
226
  * <p>This operation attempted to create a resource that already exists.</p>
224
227
  */
225
- export interface ConflictException extends __SmithyException, $MetadataBearer {
226
- name: "ConflictException";
227
- $fault: "client";
228
- message: string | undefined;
228
+ export declare class ConflictException extends __BaseException {
229
+ readonly name: "ConflictException";
230
+ readonly $fault: "client";
229
231
  /**
230
232
  * <p>The name of the resource that is associated with the error.</p>
231
233
  */
@@ -234,6 +236,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
234
236
  * <p>The type of the resource that is associated with the error.</p>
235
237
  */
236
238
  resourceType?: string;
239
+ /**
240
+ * @internal
241
+ */
242
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
237
243
  }
238
244
  export interface CreateAppMonitorRequest {
239
245
  /**
@@ -297,34 +303,39 @@ export declare namespace CreateAppMonitorResponse {
297
303
  /**
298
304
  * <p>Internal service exception.</p>
299
305
  */
300
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
301
- name: "InternalServerException";
302
- $fault: "server";
306
+ export declare class InternalServerException extends __BaseException {
307
+ readonly name: "InternalServerException";
308
+ readonly $fault: "server";
303
309
  $retryable: {};
304
- message: string | undefined;
305
310
  /**
306
311
  * <p>The value of a parameter in the request caused an error.</p>
307
312
  */
308
313
  retryAfterSeconds?: number;
314
+ /**
315
+ * @internal
316
+ */
317
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
309
318
  }
310
319
  /**
311
320
  * <p>This request exceeds a service quota.</p>
312
321
  */
313
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
314
- name: "ServiceQuotaExceededException";
315
- $fault: "client";
316
- message: string | undefined;
322
+ export declare class ServiceQuotaExceededException extends __BaseException {
323
+ readonly name: "ServiceQuotaExceededException";
324
+ readonly $fault: "client";
325
+ /**
326
+ * @internal
327
+ */
328
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
317
329
  }
318
330
  /**
319
331
  * <p>The request was throttled because of quota limits.</p>
320
332
  */
321
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
322
- name: "ThrottlingException";
323
- $fault: "client";
333
+ export declare class ThrottlingException extends __BaseException {
334
+ readonly name: "ThrottlingException";
335
+ readonly $fault: "client";
324
336
  $retryable: {
325
- throttling: true;
337
+ throttling: boolean;
326
338
  };
327
- message: string | undefined;
328
339
  /**
329
340
  * <p>The ID of the service that is associated with the error.</p>
330
341
  */
@@ -337,14 +348,21 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
337
348
  * <p>The value of a parameter in the request caused an error.</p>
338
349
  */
339
350
  retryAfterSeconds?: number;
351
+ /**
352
+ * @internal
353
+ */
354
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
340
355
  }
341
356
  /**
342
357
  * <p>One of the arguments for the request is not valid.</p>
343
358
  */
344
- export interface ValidationException extends __SmithyException, $MetadataBearer {
345
- name: "ValidationException";
346
- $fault: "client";
347
- message: string | undefined;
359
+ export declare class ValidationException extends __BaseException {
360
+ readonly name: "ValidationException";
361
+ readonly $fault: "client";
362
+ /**
363
+ * @internal
364
+ */
365
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
348
366
  }
349
367
  export interface DeleteAppMonitorRequest {
350
368
  /**
@@ -369,10 +387,9 @@ export declare namespace DeleteAppMonitorResponse {
369
387
  /**
370
388
  * <p>Resource not found.</p>
371
389
  */
372
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
373
- name: "ResourceNotFoundException";
374
- $fault: "client";
375
- message: string | undefined;
390
+ export declare class ResourceNotFoundException extends __BaseException {
391
+ readonly name: "ResourceNotFoundException";
392
+ readonly $fault: "client";
376
393
  /**
377
394
  * <p>The name of the resource that is associated with the error.</p>
378
395
  */
@@ -381,6 +398,10 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
381
398
  * <p>The type of the resource that is associated with the error.</p>
382
399
  */
383
400
  resourceType?: string;
401
+ /**
402
+ * @internal
403
+ */
404
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
384
405
  }
385
406
  export interface GetAppMonitorRequest {
386
407
  /**
@@ -3,3 +3,4 @@ export * from "./RUMClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { RUMServiceException } from "./models/RUMServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class RUMServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,10 +1,11 @@
1
- import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
+ import { RUMServiceException as __BaseException } from "./RUMServiceException";
3
3
 
4
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
5
- name: "AccessDeniedException";
6
- $fault: "client";
7
- message: string | undefined;
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
9
  }
9
10
  export declare enum Telemetry {
10
11
 
@@ -105,14 +106,15 @@ export declare namespace AppMonitorDetails {
105
106
  const filterSensitiveLog: (obj: AppMonitorDetails) => any;
106
107
  }
107
108
 
108
- export interface ConflictException extends __SmithyException, $MetadataBearer {
109
- name: "ConflictException";
110
- $fault: "client";
111
- message: string | undefined;
109
+ export declare class ConflictException extends __BaseException {
110
+ readonly name: "ConflictException";
111
+ readonly $fault: "client";
112
112
 
113
113
  resourceName: string | undefined;
114
114
 
115
115
  resourceType?: string;
116
+
117
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
116
118
  }
117
119
  export interface CreateAppMonitorRequest {
118
120
 
@@ -141,40 +143,44 @@ export declare namespace CreateAppMonitorResponse {
141
143
  const filterSensitiveLog: (obj: CreateAppMonitorResponse) => any;
142
144
  }
143
145
 
144
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
145
- name: "InternalServerException";
146
- $fault: "server";
146
+ export declare class InternalServerException extends __BaseException {
147
+ readonly name: "InternalServerException";
148
+ readonly $fault: "server";
147
149
  $retryable: {};
148
- message: string | undefined;
149
150
 
150
151
  retryAfterSeconds?: number;
152
+
153
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
151
154
  }
152
155
 
153
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
154
- name: "ServiceQuotaExceededException";
155
- $fault: "client";
156
- message: string | undefined;
156
+ export declare class ServiceQuotaExceededException extends __BaseException {
157
+ readonly name: "ServiceQuotaExceededException";
158
+ readonly $fault: "client";
159
+
160
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
157
161
  }
158
162
 
159
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
160
- name: "ThrottlingException";
161
- $fault: "client";
163
+ export declare class ThrottlingException extends __BaseException {
164
+ readonly name: "ThrottlingException";
165
+ readonly $fault: "client";
162
166
  $retryable: {
163
- throttling: true;
167
+ throttling: boolean;
164
168
  };
165
- message: string | undefined;
166
169
 
167
170
  serviceCode?: string;
168
171
 
169
172
  quotaCode?: string;
170
173
 
171
174
  retryAfterSeconds?: number;
175
+
176
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
172
177
  }
173
178
 
174
- export interface ValidationException extends __SmithyException, $MetadataBearer {
175
- name: "ValidationException";
176
- $fault: "client";
177
- message: string | undefined;
179
+ export declare class ValidationException extends __BaseException {
180
+ readonly name: "ValidationException";
181
+ readonly $fault: "client";
182
+
183
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
178
184
  }
179
185
  export interface DeleteAppMonitorRequest {
180
186
 
@@ -191,14 +197,15 @@ export declare namespace DeleteAppMonitorResponse {
191
197
  const filterSensitiveLog: (obj: DeleteAppMonitorResponse) => any;
192
198
  }
193
199
 
194
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
195
- name: "ResourceNotFoundException";
196
- $fault: "client";
197
- message: string | undefined;
200
+ export declare class ResourceNotFoundException extends __BaseException {
201
+ readonly name: "ResourceNotFoundException";
202
+ readonly $fault: "client";
198
203
 
199
204
  resourceName: string | undefined;
200
205
 
201
206
  resourceType?: string;
207
+
208
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
202
209
  }
203
210
  export interface GetAppMonitorRequest {
204
211
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rum",
3
3
  "description": "AWS SDK for JavaScript Rum 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"