@aws-sdk/client-ssm-incidents 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.
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -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 SSMIncidents service.
4
+ */
5
+ export declare class SSMIncidentsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
2
3
  /**
3
4
  * <p>You don't have sufficient access to perform this operation.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- 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>);
9
13
  }
10
14
  export declare enum SsmTargetAccount {
11
15
  IMPACTED_ACCOUNT = "IMPACTED_ACCOUNT",
@@ -273,10 +277,9 @@ export declare enum ResourceType {
273
277
  /**
274
278
  * <p>Updating or deleting a resource causes an inconsistent state.</p>
275
279
  */
276
- export interface ConflictException extends __SmithyException, $MetadataBearer {
277
- name: "ConflictException";
278
- $fault: "client";
279
- message: string | undefined;
280
+ export declare class ConflictException extends __BaseException {
281
+ readonly name: "ConflictException";
282
+ readonly $fault: "client";
280
283
  /**
281
284
  * The identifier of the requested resource
282
285
  */
@@ -289,6 +292,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
289
292
  * If present in the output, the operation can be retried after this time
290
293
  */
291
294
  retryAfter?: Date;
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
292
299
  }
293
300
  /**
294
301
  * <p>The mapping between a Amazon Web Services Region and the key that's used to encrypt the
@@ -342,10 +349,13 @@ export declare namespace CreateReplicationSetOutput {
342
349
  * <p>The request processing has failed because of an unknown error, exception or
343
350
  * failure.</p>
344
351
  */
345
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
346
- name: "InternalServerException";
347
- $fault: "server";
348
- message: string | undefined;
352
+ export declare class InternalServerException extends __BaseException {
353
+ readonly name: "InternalServerException";
354
+ readonly $fault: "server";
355
+ /**
356
+ * @internal
357
+ */
358
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
349
359
  }
350
360
  export declare enum ServiceCode {
351
361
  SSM_INCIDENTS = "ssm-incidents"
@@ -353,10 +363,9 @@ export declare enum ServiceCode {
353
363
  /**
354
364
  * <p>Request would cause a service quota to be exceeded.</p>
355
365
  */
356
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
357
- name: "ServiceQuotaExceededException";
358
- $fault: "client";
359
- message: string | undefined;
366
+ export declare class ServiceQuotaExceededException extends __BaseException {
367
+ readonly name: "ServiceQuotaExceededException";
368
+ readonly $fault: "client";
360
369
  /**
361
370
  * The identifier for the requested resource
362
371
  */
@@ -373,14 +382,17 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
373
382
  * Originating quota code
374
383
  */
375
384
  quotaCode: string | undefined;
385
+ /**
386
+ * @internal
387
+ */
388
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
376
389
  }
377
390
  /**
378
391
  * <p>The request was denied due to request throttling.</p>
379
392
  */
380
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
381
- name: "ThrottlingException";
382
- $fault: "client";
383
- message: string | undefined;
393
+ export declare class ThrottlingException extends __BaseException {
394
+ readonly name: "ThrottlingException";
395
+ readonly $fault: "client";
384
396
  /**
385
397
  * Originating service code
386
398
  */
@@ -389,15 +401,22 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
389
401
  * Originating quota code
390
402
  */
391
403
  quotaCode: string | undefined;
404
+ /**
405
+ * @internal
406
+ */
407
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
392
408
  }
393
409
  /**
394
410
  * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
395
411
  * service.</p>
396
412
  */
397
- export interface ValidationException extends __SmithyException, $MetadataBearer {
398
- name: "ValidationException";
399
- $fault: "client";
400
- message: string | undefined;
413
+ export declare class ValidationException extends __BaseException {
414
+ readonly name: "ValidationException";
415
+ readonly $fault: "client";
416
+ /**
417
+ * @internal
418
+ */
419
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
401
420
  }
402
421
  /**
403
422
  * <p>The SNS targets that are notified when updates are made to an incident.</p>
@@ -518,10 +537,9 @@ export declare namespace CreateResponsePlanOutput {
518
537
  /**
519
538
  * <p>Request references a resource which doesn't exist. </p>
520
539
  */
521
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
522
- name: "ResourceNotFoundException";
523
- $fault: "client";
524
- message: string | undefined;
540
+ export declare class ResourceNotFoundException extends __BaseException {
541
+ readonly name: "ResourceNotFoundException";
542
+ readonly $fault: "client";
525
543
  /**
526
544
  * The identifier for the requested resource
527
545
  */
@@ -530,6 +548,10 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
530
548
  * The resource type
531
549
  */
532
550
  resourceType?: ResourceType | string;
551
+ /**
552
+ * @internal
553
+ */
554
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
533
555
  }
534
556
  export interface CreateTimelineEventInput {
535
557
  /**
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SSMIncidentsServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,11 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
6
- 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>);
7
9
  }
8
10
  export declare enum SsmTargetAccount {
9
11
  IMPACTED_ACCOUNT = "IMPACTED_ACCOUNT",
@@ -207,16 +209,17 @@ export declare enum ResourceType {
207
209
  TIMELINE_EVENT = "TIMELINE_EVENT"
208
210
  }
209
211
 
210
- export interface ConflictException extends __SmithyException, $MetadataBearer {
211
- name: "ConflictException";
212
- $fault: "client";
213
- message: string | undefined;
212
+ export declare class ConflictException extends __BaseException {
213
+ readonly name: "ConflictException";
214
+ readonly $fault: "client";
214
215
 
215
216
  resourceIdentifier?: string;
216
217
 
217
218
  resourceType?: ResourceType | string;
218
219
 
219
220
  retryAfter?: Date;
221
+
222
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
220
223
  }
221
224
 
222
225
  export interface RegionMapInputValue {
@@ -248,19 +251,19 @@ export declare namespace CreateReplicationSetOutput {
248
251
  const filterSensitiveLog: (obj: CreateReplicationSetOutput) => any;
249
252
  }
250
253
 
251
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
252
- name: "InternalServerException";
253
- $fault: "server";
254
- message: string | undefined;
254
+ export declare class InternalServerException extends __BaseException {
255
+ readonly name: "InternalServerException";
256
+ readonly $fault: "server";
257
+
258
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
255
259
  }
256
260
  export declare enum ServiceCode {
257
261
  SSM_INCIDENTS = "ssm-incidents"
258
262
  }
259
263
 
260
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
261
- name: "ServiceQuotaExceededException";
262
- $fault: "client";
263
- message: string | undefined;
264
+ export declare class ServiceQuotaExceededException extends __BaseException {
265
+ readonly name: "ServiceQuotaExceededException";
266
+ readonly $fault: "client";
264
267
 
265
268
  resourceIdentifier?: string;
266
269
 
@@ -269,22 +272,26 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
269
272
  serviceCode: ServiceCode | string | undefined;
270
273
 
271
274
  quotaCode: string | undefined;
275
+
276
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
272
277
  }
273
278
 
274
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
275
- name: "ThrottlingException";
276
- $fault: "client";
277
- message: string | undefined;
279
+ export declare class ThrottlingException extends __BaseException {
280
+ readonly name: "ThrottlingException";
281
+ readonly $fault: "client";
278
282
 
279
283
  serviceCode: ServiceCode | string | undefined;
280
284
 
281
285
  quotaCode: string | undefined;
286
+
287
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
282
288
  }
283
289
 
284
- export interface ValidationException extends __SmithyException, $MetadataBearer {
285
- name: "ValidationException";
286
- $fault: "client";
287
- message: string | undefined;
290
+ export declare class ValidationException extends __BaseException {
291
+ readonly name: "ValidationException";
292
+ readonly $fault: "client";
293
+
294
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
288
295
  }
289
296
 
290
297
  export declare type NotificationTargetItem = NotificationTargetItem.SnsTopicArnMember | NotificationTargetItem.$UnknownMember;
@@ -359,14 +366,15 @@ export declare namespace CreateResponsePlanOutput {
359
366
  const filterSensitiveLog: (obj: CreateResponsePlanOutput) => any;
360
367
  }
361
368
 
362
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
363
- name: "ResourceNotFoundException";
364
- $fault: "client";
365
- message: string | undefined;
369
+ export declare class ResourceNotFoundException extends __BaseException {
370
+ readonly name: "ResourceNotFoundException";
371
+ readonly $fault: "client";
366
372
 
367
373
  resourceIdentifier?: string;
368
374
 
369
375
  resourceType?: ResourceType | string;
376
+
377
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
370
378
  }
371
379
  export interface CreateTimelineEventInput {
372
380
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm-incidents",
3
3
  "description": "AWS SDK for JavaScript Ssm Incidents 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,37 +18,37 @@
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
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.53.0",
52
52
  "tslib": "^2.3.0",
53
53
  "uuid": "^8.3.2"
54
54
  },