@aws-sdk/client-ssm-incidents 3.934.0 → 3.935.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
@@ -130,14 +130,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends SSMIncidentsSe
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  }
132
132
  };
133
- const VariableType = {
134
- INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
135
- INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
136
- };
137
- const SsmTargetAccount = {
138
- IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
139
- RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
140
- };
141
133
  let InternalServerException$1 = class InternalServerException extends SSMIncidentsServiceException$1 {
142
134
  name = "InternalServerException";
143
135
  $fault = "server";
@@ -150,13 +142,6 @@ let InternalServerException$1 = class InternalServerException extends SSMInciden
150
142
  Object.setPrototypeOf(this, InternalServerException.prototype);
151
143
  }
152
144
  };
153
- const ResourceType = {
154
- INCIDENT_RECORD: "INCIDENT_RECORD",
155
- REPLICATION_SET: "REPLICATION_SET",
156
- RESOURCE_POLICY: "RESOURCE_POLICY",
157
- RESPONSE_PLAN: "RESPONSE_PLAN",
158
- TIMELINE_EVENT: "TIMELINE_EVENT",
159
- };
160
145
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends SSMIncidentsServiceException$1 {
161
146
  name = "ResourceNotFoundException";
162
147
  $fault = "client";
@@ -173,9 +158,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends SSMInc
173
158
  this.resourceType = opts.resourceType;
174
159
  }
175
160
  };
176
- const ServiceCode = {
177
- SSM_INCIDENTS: "ssm-incidents",
178
- };
179
161
  let ThrottlingException$1 = class ThrottlingException extends SSMIncidentsServiceException$1 {
180
162
  name = "ThrottlingException";
181
163
  $fault = "client";
@@ -242,41 +224,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
242
224
  this.quotaCode = opts.quotaCode;
243
225
  }
244
226
  };
245
- const IncidentRecordStatus = {
246
- OPEN: "OPEN",
247
- RESOLVED: "RESOLVED",
248
- };
249
- const RegionStatus = {
250
- ACTIVE: "ACTIVE",
251
- CREATING: "CREATING",
252
- DELETING: "DELETING",
253
- FAILED: "FAILED",
254
- };
255
- const ReplicationSetStatus = {
256
- ACTIVE: "ACTIVE",
257
- CREATING: "CREATING",
258
- DELETING: "DELETING",
259
- FAILED: "FAILED",
260
- UPDATING: "UPDATING",
261
- };
262
- const ItemType = {
263
- ANALYSIS: "ANALYSIS",
264
- ATTACHMENT: "ATTACHMENT",
265
- AUTOMATION: "AUTOMATION",
266
- INCIDENT: "INCIDENT",
267
- INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
268
- METRIC: "METRIC",
269
- OTHER: "OTHER",
270
- PARENT: "PARENT",
271
- TASK: "TASK",
272
- };
273
- const TimelineEventSort = {
274
- EVENT_TIME: "EVENT_TIME",
275
- };
276
- const SortOrder = {
277
- ASCENDING: "ASCENDING",
278
- DESCENDING: "DESCENDING",
279
- };
280
227
 
281
228
  const _A = "Action";
282
229
  const _ADE = "AccessDeniedException";
@@ -1983,9 +1930,7 @@ exports.GetReplicationSetCommand = GetReplicationSetCommand;
1983
1930
  exports.GetResourcePoliciesCommand = GetResourcePoliciesCommand;
1984
1931
  exports.GetResponsePlanCommand = GetResponsePlanCommand;
1985
1932
  exports.GetTimelineEventCommand = GetTimelineEventCommand;
1986
- exports.IncidentRecordStatus = IncidentRecordStatus;
1987
1933
  exports.InternalServerException = InternalServerException$1;
1988
- exports.ItemType = ItemType;
1989
1934
  exports.ListIncidentFindingsCommand = ListIncidentFindingsCommand;
1990
1935
  exports.ListIncidentRecordsCommand = ListIncidentRecordsCommand;
1991
1936
  exports.ListRelatedItemsCommand = ListRelatedItemsCommand;
@@ -1994,21 +1939,14 @@ exports.ListResponsePlansCommand = ListResponsePlansCommand;
1994
1939
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1995
1940
  exports.ListTimelineEventsCommand = ListTimelineEventsCommand;
1996
1941
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1997
- exports.RegionStatus = RegionStatus;
1998
- exports.ReplicationSetStatus = ReplicationSetStatus;
1999
1942
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2000
- exports.ResourceType = ResourceType;
2001
1943
  exports.SSMIncidents = SSMIncidents;
2002
1944
  exports.SSMIncidentsClient = SSMIncidentsClient;
2003
1945
  exports.SSMIncidentsServiceException = SSMIncidentsServiceException$1;
2004
- exports.ServiceCode = ServiceCode;
2005
1946
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2006
- exports.SortOrder = SortOrder;
2007
- exports.SsmTargetAccount = SsmTargetAccount;
2008
1947
  exports.StartIncidentCommand = StartIncidentCommand;
2009
1948
  exports.TagResourceCommand = TagResourceCommand;
2010
1949
  exports.ThrottlingException = ThrottlingException$1;
2011
- exports.TimelineEventSort = TimelineEventSort;
2012
1950
  exports.UntagResourceCommand = UntagResourceCommand;
2013
1951
  exports.UpdateDeletionProtectionCommand = UpdateDeletionProtectionCommand;
2014
1952
  exports.UpdateIncidentRecordCommand = UpdateIncidentRecordCommand;
@@ -2017,7 +1955,6 @@ exports.UpdateReplicationSetCommand = UpdateReplicationSetCommand;
2017
1955
  exports.UpdateResponsePlanCommand = UpdateResponsePlanCommand;
2018
1956
  exports.UpdateTimelineEventCommand = UpdateTimelineEventCommand;
2019
1957
  exports.ValidationException = ValidationException$1;
2020
- exports.VariableType = VariableType;
2021
1958
  exports.paginateGetResourcePolicies = paginateGetResourcePolicies;
2022
1959
  exports.paginateListIncidentFindings = paginateListIncidentFindings;
2023
1960
  exports.paginateListIncidentRecords = paginateListIncidentRecords;
package/dist-es/index.js CHANGED
@@ -3,5 +3,5 @@ export * from "./SSMIncidents";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/errors";
7
7
  export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,107 @@
1
+ import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalServerException.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ resourceIdentifier;
30
+ resourceType;
31
+ constructor(opts) {
32
+ super({
33
+ name: "ResourceNotFoundException",
34
+ $fault: "client",
35
+ ...opts,
36
+ });
37
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
38
+ this.resourceIdentifier = opts.resourceIdentifier;
39
+ this.resourceType = opts.resourceType;
40
+ }
41
+ }
42
+ export class ThrottlingException extends __BaseException {
43
+ name = "ThrottlingException";
44
+ $fault = "client";
45
+ serviceCode;
46
+ quotaCode;
47
+ constructor(opts) {
48
+ super({
49
+ name: "ThrottlingException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
54
+ this.serviceCode = opts.serviceCode;
55
+ this.quotaCode = opts.quotaCode;
56
+ }
57
+ }
58
+ export class ValidationException extends __BaseException {
59
+ name = "ValidationException";
60
+ $fault = "client";
61
+ constructor(opts) {
62
+ super({
63
+ name: "ValidationException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ Object.setPrototypeOf(this, ValidationException.prototype);
68
+ }
69
+ }
70
+ export class ConflictException extends __BaseException {
71
+ name = "ConflictException";
72
+ $fault = "client";
73
+ resourceIdentifier;
74
+ resourceType;
75
+ retryAfter;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ConflictException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ConflictException.prototype);
83
+ this.resourceIdentifier = opts.resourceIdentifier;
84
+ this.resourceType = opts.resourceType;
85
+ this.retryAfter = opts.retryAfter;
86
+ }
87
+ }
88
+ export class ServiceQuotaExceededException extends __BaseException {
89
+ name = "ServiceQuotaExceededException";
90
+ $fault = "client";
91
+ resourceIdentifier;
92
+ resourceType;
93
+ serviceCode;
94
+ quotaCode;
95
+ constructor(opts) {
96
+ super({
97
+ name: "ServiceQuotaExceededException",
98
+ $fault: "client",
99
+ ...opts,
100
+ });
101
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
102
+ this.resourceIdentifier = opts.resourceIdentifier;
103
+ this.resourceType = opts.resourceType;
104
+ this.serviceCode = opts.serviceCode;
105
+ this.quotaCode = opts.quotaCode;
106
+ }
107
+ }
@@ -1,16 +1,3 @@
1
- import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
1
  export const VariableType = {
15
2
  INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
16
3
  INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
@@ -19,18 +6,6 @@ export const SsmTargetAccount = {
19
6
  IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
20
7
  RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
21
8
  };
22
- export class InternalServerException extends __BaseException {
23
- name = "InternalServerException";
24
- $fault = "server";
25
- constructor(opts) {
26
- super({
27
- name: "InternalServerException",
28
- $fault: "server",
29
- ...opts,
30
- });
31
- Object.setPrototypeOf(this, InternalServerException.prototype);
32
- }
33
- }
34
9
  export const ResourceType = {
35
10
  INCIDENT_RECORD: "INCIDENT_RECORD",
36
11
  REPLICATION_SET: "REPLICATION_SET",
@@ -38,91 +13,9 @@ export const ResourceType = {
38
13
  RESPONSE_PLAN: "RESPONSE_PLAN",
39
14
  TIMELINE_EVENT: "TIMELINE_EVENT",
40
15
  };
41
- export class ResourceNotFoundException extends __BaseException {
42
- name = "ResourceNotFoundException";
43
- $fault = "client";
44
- resourceIdentifier;
45
- resourceType;
46
- constructor(opts) {
47
- super({
48
- name: "ResourceNotFoundException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
53
- this.resourceIdentifier = opts.resourceIdentifier;
54
- this.resourceType = opts.resourceType;
55
- }
56
- }
57
16
  export const ServiceCode = {
58
17
  SSM_INCIDENTS: "ssm-incidents",
59
18
  };
60
- export class ThrottlingException extends __BaseException {
61
- name = "ThrottlingException";
62
- $fault = "client";
63
- serviceCode;
64
- quotaCode;
65
- constructor(opts) {
66
- super({
67
- name: "ThrottlingException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, ThrottlingException.prototype);
72
- this.serviceCode = opts.serviceCode;
73
- this.quotaCode = opts.quotaCode;
74
- }
75
- }
76
- export class ValidationException extends __BaseException {
77
- name = "ValidationException";
78
- $fault = "client";
79
- constructor(opts) {
80
- super({
81
- name: "ValidationException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- Object.setPrototypeOf(this, ValidationException.prototype);
86
- }
87
- }
88
- export class ConflictException extends __BaseException {
89
- name = "ConflictException";
90
- $fault = "client";
91
- resourceIdentifier;
92
- resourceType;
93
- retryAfter;
94
- constructor(opts) {
95
- super({
96
- name: "ConflictException",
97
- $fault: "client",
98
- ...opts,
99
- });
100
- Object.setPrototypeOf(this, ConflictException.prototype);
101
- this.resourceIdentifier = opts.resourceIdentifier;
102
- this.resourceType = opts.resourceType;
103
- this.retryAfter = opts.retryAfter;
104
- }
105
- }
106
- export class ServiceQuotaExceededException extends __BaseException {
107
- name = "ServiceQuotaExceededException";
108
- $fault = "client";
109
- resourceIdentifier;
110
- resourceType;
111
- serviceCode;
112
- quotaCode;
113
- constructor(opts) {
114
- super({
115
- name: "ServiceQuotaExceededException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
120
- this.resourceIdentifier = opts.resourceIdentifier;
121
- this.resourceType = opts.resourceType;
122
- this.serviceCode = opts.serviceCode;
123
- this.quotaCode = opts.quotaCode;
124
- }
125
- }
126
19
  export const IncidentRecordStatus = {
127
20
  OPEN: "OPEN",
128
21
  RESOLVED: "RESOLVED",
@@ -296,7 +296,7 @@ const _v = "value";
296
296
  const _va = "variable";
297
297
  const n0 = "com.amazonaws.ssmincidents";
298
298
  import { TypeRegistry } from "@smithy/core/schema";
299
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
299
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
300
300
  import { SSMIncidentsServiceException as __SSMIncidentsServiceException } from "../models/SSMIncidentsServiceException";
301
301
  export var AccessDeniedException = [
302
302
  -3,
@@ -18,5 +18,6 @@ export type { SSMIncidentsExtensionConfiguration } from "./extensionConfiguratio
18
18
  export * from "./commands";
19
19
  export * from "./pagination";
20
20
  export * from "./waiters";
21
- export * from "./models";
21
+ export * from "./models/errors";
22
+ export type * from "./models/models_0";
22
23
  export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,144 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceType, ServiceCode } from "./models_0";
3
+ import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
4
+ /**
5
+ * <p>You don't have sufficient access to perform this operation.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The request processing has failed because of an unknown error, exception or
18
+ * failure.</p>
19
+ * @public
20
+ */
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>Request references a resource which doesn't exist. </p>
31
+ * @public
32
+ */
33
+ export declare class ResourceNotFoundException extends __BaseException {
34
+ readonly name: "ResourceNotFoundException";
35
+ readonly $fault: "client";
36
+ /**
37
+ * The identifier for the requested resource
38
+ * @public
39
+ */
40
+ resourceIdentifier?: string | undefined;
41
+ /**
42
+ * The resource type
43
+ * @public
44
+ */
45
+ resourceType?: ResourceType | undefined;
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The request was denied due to request throttling.</p>
53
+ * @public
54
+ */
55
+ export declare class ThrottlingException extends __BaseException {
56
+ readonly name: "ThrottlingException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * Originating service code
60
+ * @public
61
+ */
62
+ serviceCode: ServiceCode | undefined;
63
+ /**
64
+ * Originating quota code
65
+ * @public
66
+ */
67
+ quotaCode: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
75
+ * service.</p>
76
+ * @public
77
+ */
78
+ export declare class ValidationException extends __BaseException {
79
+ readonly name: "ValidationException";
80
+ readonly $fault: "client";
81
+ /**
82
+ * @internal
83
+ */
84
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
85
+ }
86
+ /**
87
+ * <p>Updating or deleting a resource causes an inconsistent state.</p>
88
+ * @public
89
+ */
90
+ export declare class ConflictException extends __BaseException {
91
+ readonly name: "ConflictException";
92
+ readonly $fault: "client";
93
+ /**
94
+ * The identifier of the requested resource
95
+ * @public
96
+ */
97
+ resourceIdentifier?: string | undefined;
98
+ /**
99
+ * The resource type
100
+ * @public
101
+ */
102
+ resourceType?: ResourceType | undefined;
103
+ /**
104
+ * If present in the output, the operation can be retried after this time
105
+ * @public
106
+ */
107
+ retryAfter?: Date | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>Request would cause a service quota to be exceeded.</p>
115
+ * @public
116
+ */
117
+ export declare class ServiceQuotaExceededException extends __BaseException {
118
+ readonly name: "ServiceQuotaExceededException";
119
+ readonly $fault: "client";
120
+ /**
121
+ * The identifier for the requested resource
122
+ * @public
123
+ */
124
+ resourceIdentifier?: string | undefined;
125
+ /**
126
+ * The resource type
127
+ * @public
128
+ */
129
+ resourceType?: ResourceType | undefined;
130
+ /**
131
+ * Originating service code
132
+ * @public
133
+ */
134
+ serviceCode: ServiceCode | undefined;
135
+ /**
136
+ * Originating quota code
137
+ * @public
138
+ */
139
+ quotaCode: string | undefined;
140
+ /**
141
+ * @internal
142
+ */
143
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
144
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
3
- /**
4
- * <p>You don't have sufficient access to perform this operation.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
1
  /**
16
2
  * @public
17
3
  * @enum
@@ -425,19 +411,6 @@ export interface BatchGetIncidentFindingsOutput {
425
411
  */
426
412
  errors: BatchGetIncidentFindingsError[] | undefined;
427
413
  }
428
- /**
429
- * <p>The request processing has failed because of an unknown error, exception or
430
- * failure.</p>
431
- * @public
432
- */
433
- export declare class InternalServerException extends __BaseException {
434
- readonly name: "InternalServerException";
435
- readonly $fault: "server";
436
- /**
437
- * @internal
438
- */
439
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
440
- }
441
414
  /**
442
415
  * @public
443
416
  * @enum
@@ -453,28 +426,6 @@ export declare const ResourceType: {
453
426
  * @public
454
427
  */
455
428
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
456
- /**
457
- * <p>Request references a resource which doesn't exist. </p>
458
- * @public
459
- */
460
- export declare class ResourceNotFoundException extends __BaseException {
461
- readonly name: "ResourceNotFoundException";
462
- readonly $fault: "client";
463
- /**
464
- * The identifier for the requested resource
465
- * @public
466
- */
467
- resourceIdentifier?: string | undefined;
468
- /**
469
- * The resource type
470
- * @public
471
- */
472
- resourceType?: ResourceType | undefined;
473
- /**
474
- * @internal
475
- */
476
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
477
- }
478
429
  /**
479
430
  * @public
480
431
  * @enum
@@ -486,41 +437,6 @@ export declare const ServiceCode: {
486
437
  * @public
487
438
  */
488
439
  export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
489
- /**
490
- * <p>The request was denied due to request throttling.</p>
491
- * @public
492
- */
493
- export declare class ThrottlingException extends __BaseException {
494
- readonly name: "ThrottlingException";
495
- readonly $fault: "client";
496
- /**
497
- * Originating service code
498
- * @public
499
- */
500
- serviceCode: ServiceCode | undefined;
501
- /**
502
- * Originating quota code
503
- * @public
504
- */
505
- quotaCode: string | undefined;
506
- /**
507
- * @internal
508
- */
509
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
510
- }
511
- /**
512
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
513
- * service.</p>
514
- * @public
515
- */
516
- export declare class ValidationException extends __BaseException {
517
- readonly name: "ValidationException";
518
- readonly $fault: "client";
519
- /**
520
- * @internal
521
- */
522
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
523
- }
524
440
  /**
525
441
  * <p>Used to remove the chat channel from an incident record or response plan.</p>
526
442
  * @public
@@ -636,33 +552,6 @@ export declare namespace Condition {
636
552
  _: (name: string, value: any) => T;
637
553
  }
638
554
  }
639
- /**
640
- * <p>Updating or deleting a resource causes an inconsistent state.</p>
641
- * @public
642
- */
643
- export declare class ConflictException extends __BaseException {
644
- readonly name: "ConflictException";
645
- readonly $fault: "client";
646
- /**
647
- * The identifier of the requested resource
648
- * @public
649
- */
650
- resourceIdentifier?: string | undefined;
651
- /**
652
- * The resource type
653
- * @public
654
- */
655
- resourceType?: ResourceType | undefined;
656
- /**
657
- * If present in the output, the operation can be retried after this time
658
- * @public
659
- */
660
- retryAfter?: Date | undefined;
661
- /**
662
- * @internal
663
- */
664
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
665
- }
666
555
  /**
667
556
  * <p>The mapping between a Amazon Web Services Region and the key that's used to encrypt the
668
557
  * data.</p>
@@ -707,38 +596,6 @@ export interface CreateReplicationSetOutput {
707
596
  */
708
597
  arn: string | undefined;
709
598
  }
710
- /**
711
- * <p>Request would cause a service quota to be exceeded.</p>
712
- * @public
713
- */
714
- export declare class ServiceQuotaExceededException extends __BaseException {
715
- readonly name: "ServiceQuotaExceededException";
716
- readonly $fault: "client";
717
- /**
718
- * The identifier for the requested resource
719
- * @public
720
- */
721
- resourceIdentifier?: string | undefined;
722
- /**
723
- * The resource type
724
- * @public
725
- */
726
- resourceType?: ResourceType | undefined;
727
- /**
728
- * Originating service code
729
- * @public
730
- */
731
- serviceCode: ServiceCode | undefined;
732
- /**
733
- * Originating quota code
734
- * @public
735
- */
736
- quotaCode: string | undefined;
737
- /**
738
- * @internal
739
- */
740
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
741
- }
742
599
  /**
743
600
  * <p>The SNS targets that are notified when updates are made to an incident.</p>
744
601
  * @public
@@ -6,5 +6,6 @@ export { SSMIncidentsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
10
11
  export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,61 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ResourceType, ServiceCode } from "./models_0";
3
+ import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class InternalServerException extends __BaseException {
12
+ readonly name: "InternalServerException";
13
+ readonly $fault: "server";
14
+ constructor(
15
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
16
+ );
17
+ }
18
+ export declare class ResourceNotFoundException extends __BaseException {
19
+ readonly name: "ResourceNotFoundException";
20
+ readonly $fault: "client";
21
+ resourceIdentifier?: string | undefined;
22
+ resourceType?: ResourceType | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
25
+ );
26
+ }
27
+ export declare class ThrottlingException extends __BaseException {
28
+ readonly name: "ThrottlingException";
29
+ readonly $fault: "client";
30
+ serviceCode: ServiceCode | undefined;
31
+ quotaCode: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ValidationException extends __BaseException {
37
+ readonly name: "ValidationException";
38
+ readonly $fault: "client";
39
+ constructor(
40
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
41
+ );
42
+ }
43
+ export declare class ConflictException extends __BaseException {
44
+ readonly name: "ConflictException";
45
+ readonly $fault: "client";
46
+ resourceIdentifier?: string | undefined;
47
+ resourceType?: ResourceType | undefined;
48
+ retryAfter?: Date | undefined;
49
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
50
+ }
51
+ export declare class ServiceQuotaExceededException extends __BaseException {
52
+ readonly name: "ServiceQuotaExceededException";
53
+ readonly $fault: "client";
54
+ resourceIdentifier?: string | undefined;
55
+ resourceType?: ResourceType | undefined;
56
+ serviceCode: ServiceCode | undefined;
57
+ quotaCode: string | undefined;
58
+ constructor(
59
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
60
+ );
61
+ }
@@ -1,12 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export declare const VariableType: {
11
2
  readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
12
3
  readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
@@ -161,13 +152,6 @@ export interface BatchGetIncidentFindingsOutput {
161
152
  findings: Finding[] | undefined;
162
153
  errors: BatchGetIncidentFindingsError[] | undefined;
163
154
  }
164
- export declare class InternalServerException extends __BaseException {
165
- readonly name: "InternalServerException";
166
- readonly $fault: "server";
167
- constructor(
168
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
169
- );
170
- }
171
155
  export declare const ResourceType: {
172
156
  readonly INCIDENT_RECORD: "INCIDENT_RECORD";
173
157
  readonly REPLICATION_SET: "REPLICATION_SET";
@@ -176,35 +160,10 @@ export declare const ResourceType: {
176
160
  readonly TIMELINE_EVENT: "TIMELINE_EVENT";
177
161
  };
178
162
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
179
- export declare class ResourceNotFoundException extends __BaseException {
180
- readonly name: "ResourceNotFoundException";
181
- readonly $fault: "client";
182
- resourceIdentifier?: string | undefined;
183
- resourceType?: ResourceType | undefined;
184
- constructor(
185
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
186
- );
187
- }
188
163
  export declare const ServiceCode: {
189
164
  readonly SSM_INCIDENTS: "ssm-incidents";
190
165
  };
191
166
  export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
192
- export declare class ThrottlingException extends __BaseException {
193
- readonly name: "ThrottlingException";
194
- readonly $fault: "client";
195
- serviceCode: ServiceCode | undefined;
196
- quotaCode: string | undefined;
197
- constructor(
198
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
199
- );
200
- }
201
- export declare class ValidationException extends __BaseException {
202
- readonly name: "ValidationException";
203
- readonly $fault: "client";
204
- constructor(
205
- opts: __ExceptionOptionType<ValidationException, __BaseException>
206
- );
207
- }
208
167
  export interface EmptyChatChannel {}
209
168
  export type ChatChannel =
210
169
  | ChatChannel.ChatbotSnsMember
@@ -269,14 +228,6 @@ export declare namespace Condition {
269
228
  _: (name: string, value: any) => T;
270
229
  }
271
230
  }
272
- export declare class ConflictException extends __BaseException {
273
- readonly name: "ConflictException";
274
- readonly $fault: "client";
275
- resourceIdentifier?: string | undefined;
276
- resourceType?: ResourceType | undefined;
277
- retryAfter?: Date | undefined;
278
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
279
- }
280
231
  export interface RegionMapInputValue {
281
232
  sseKmsKeyId?: string | undefined;
282
233
  }
@@ -288,17 +239,6 @@ export interface CreateReplicationSetInput {
288
239
  export interface CreateReplicationSetOutput {
289
240
  arn: string | undefined;
290
241
  }
291
- export declare class ServiceQuotaExceededException extends __BaseException {
292
- readonly name: "ServiceQuotaExceededException";
293
- readonly $fault: "client";
294
- resourceIdentifier?: string | undefined;
295
- resourceType?: ResourceType | undefined;
296
- serviceCode: ServiceCode | undefined;
297
- quotaCode: string | undefined;
298
- constructor(
299
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
300
- );
301
- }
302
242
  export type NotificationTargetItem =
303
243
  | NotificationTargetItem.SnsTopicArnMember
304
244
  | NotificationTargetItem.$UnknownMember;
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.934.0",
4
+ "version": "3.935.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-ssm-incidents",
@@ -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",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.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";