@aws-sdk/client-ssm-incidents 3.301.0 → 3.303.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.
@@ -15,11 +15,10 @@ class AccessDeniedException extends SSMIncidentsServiceException_1.SSMIncidentsS
15
15
  }
16
16
  }
17
17
  exports.AccessDeniedException = AccessDeniedException;
18
- var VariableType;
19
- (function (VariableType) {
20
- VariableType["INCIDENT_RECORD_ARN"] = "INCIDENT_RECORD_ARN";
21
- VariableType["INVOLVED_RESOURCES"] = "INVOLVED_RESOURCES";
22
- })(VariableType = exports.VariableType || (exports.VariableType = {}));
18
+ exports.VariableType = {
19
+ INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
20
+ INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
21
+ };
23
22
  var DynamicSsmParameterValue;
24
23
  (function (DynamicSsmParameterValue) {
25
24
  DynamicSsmParameterValue.visit = (value, visitor) => {
@@ -28,11 +27,10 @@ var DynamicSsmParameterValue;
28
27
  return visitor._(value.$unknown[0], value.$unknown[1]);
29
28
  };
30
29
  })(DynamicSsmParameterValue = exports.DynamicSsmParameterValue || (exports.DynamicSsmParameterValue = {}));
31
- var SsmTargetAccount;
32
- (function (SsmTargetAccount) {
33
- SsmTargetAccount["IMPACTED_ACCOUNT"] = "IMPACTED_ACCOUNT";
34
- SsmTargetAccount["RESPONSE_PLAN_OWNER_ACCOUNT"] = "RESPONSE_PLAN_OWNER_ACCOUNT";
35
- })(SsmTargetAccount = exports.SsmTargetAccount || (exports.SsmTargetAccount = {}));
30
+ exports.SsmTargetAccount = {
31
+ IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
32
+ RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
33
+ };
36
34
  var Action;
37
35
  (function (Action) {
38
36
  Action.visit = (value, visitor) => {
@@ -81,14 +79,13 @@ var Condition;
81
79
  return visitor._(value.$unknown[0], value.$unknown[1]);
82
80
  };
83
81
  })(Condition = exports.Condition || (exports.Condition = {}));
84
- var ResourceType;
85
- (function (ResourceType) {
86
- ResourceType["INCIDENT_RECORD"] = "INCIDENT_RECORD";
87
- ResourceType["REPLICATION_SET"] = "REPLICATION_SET";
88
- ResourceType["RESOURCE_POLICY"] = "RESOURCE_POLICY";
89
- ResourceType["RESPONSE_PLAN"] = "RESPONSE_PLAN";
90
- ResourceType["TIMELINE_EVENT"] = "TIMELINE_EVENT";
91
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
82
+ exports.ResourceType = {
83
+ INCIDENT_RECORD: "INCIDENT_RECORD",
84
+ REPLICATION_SET: "REPLICATION_SET",
85
+ RESOURCE_POLICY: "RESOURCE_POLICY",
86
+ RESPONSE_PLAN: "RESPONSE_PLAN",
87
+ TIMELINE_EVENT: "TIMELINE_EVENT",
88
+ };
92
89
  class ConflictException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
93
90
  constructor(opts) {
94
91
  super({
@@ -118,10 +115,9 @@ class InternalServerException extends SSMIncidentsServiceException_1.SSMIncident
118
115
  }
119
116
  }
120
117
  exports.InternalServerException = InternalServerException;
121
- var ServiceCode;
122
- (function (ServiceCode) {
123
- ServiceCode["SSM_INCIDENTS"] = "ssm-incidents";
124
- })(ServiceCode = exports.ServiceCode || (exports.ServiceCode = {}));
118
+ exports.ServiceCode = {
119
+ SSM_INCIDENTS: "ssm-incidents",
120
+ };
125
121
  class ServiceQuotaExceededException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
126
122
  constructor(opts) {
127
123
  super({
@@ -208,38 +204,34 @@ var EventReference;
208
204
  return visitor._(value.$unknown[0], value.$unknown[1]);
209
205
  };
210
206
  })(EventReference = exports.EventReference || (exports.EventReference = {}));
211
- var IncidentRecordStatus;
212
- (function (IncidentRecordStatus) {
213
- IncidentRecordStatus["OPEN"] = "OPEN";
214
- IncidentRecordStatus["RESOLVED"] = "RESOLVED";
215
- })(IncidentRecordStatus = exports.IncidentRecordStatus || (exports.IncidentRecordStatus = {}));
216
- var RegionStatus;
217
- (function (RegionStatus) {
218
- RegionStatus["ACTIVE"] = "ACTIVE";
219
- RegionStatus["CREATING"] = "CREATING";
220
- RegionStatus["DELETING"] = "DELETING";
221
- RegionStatus["FAILED"] = "FAILED";
222
- })(RegionStatus = exports.RegionStatus || (exports.RegionStatus = {}));
223
- var ReplicationSetStatus;
224
- (function (ReplicationSetStatus) {
225
- ReplicationSetStatus["ACTIVE"] = "ACTIVE";
226
- ReplicationSetStatus["CREATING"] = "CREATING";
227
- ReplicationSetStatus["DELETING"] = "DELETING";
228
- ReplicationSetStatus["FAILED"] = "FAILED";
229
- ReplicationSetStatus["UPDATING"] = "UPDATING";
230
- })(ReplicationSetStatus = exports.ReplicationSetStatus || (exports.ReplicationSetStatus = {}));
231
- var ItemType;
232
- (function (ItemType) {
233
- ItemType["ANALYSIS"] = "ANALYSIS";
234
- ItemType["ATTACHMENT"] = "ATTACHMENT";
235
- ItemType["AUTOMATION"] = "AUTOMATION";
236
- ItemType["INCIDENT"] = "INCIDENT";
237
- ItemType["INVOLVED_RESOURCE"] = "INVOLVED_RESOURCE";
238
- ItemType["METRIC"] = "METRIC";
239
- ItemType["OTHER"] = "OTHER";
240
- ItemType["PARENT"] = "PARENT";
241
- ItemType["TASK"] = "TASK";
242
- })(ItemType = exports.ItemType || (exports.ItemType = {}));
207
+ exports.IncidentRecordStatus = {
208
+ OPEN: "OPEN",
209
+ RESOLVED: "RESOLVED",
210
+ };
211
+ exports.RegionStatus = {
212
+ ACTIVE: "ACTIVE",
213
+ CREATING: "CREATING",
214
+ DELETING: "DELETING",
215
+ FAILED: "FAILED",
216
+ };
217
+ exports.ReplicationSetStatus = {
218
+ ACTIVE: "ACTIVE",
219
+ CREATING: "CREATING",
220
+ DELETING: "DELETING",
221
+ FAILED: "FAILED",
222
+ UPDATING: "UPDATING",
223
+ };
224
+ exports.ItemType = {
225
+ ANALYSIS: "ANALYSIS",
226
+ ATTACHMENT: "ATTACHMENT",
227
+ AUTOMATION: "AUTOMATION",
228
+ INCIDENT: "INCIDENT",
229
+ INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
230
+ METRIC: "METRIC",
231
+ OTHER: "OTHER",
232
+ PARENT: "PARENT",
233
+ TASK: "TASK",
234
+ };
243
235
  var ItemValue;
244
236
  (function (ItemValue) {
245
237
  ItemValue.visit = (value, visitor) => {
@@ -254,15 +246,13 @@ var ItemValue;
254
246
  return visitor._(value.$unknown[0], value.$unknown[1]);
255
247
  };
256
248
  })(ItemValue = exports.ItemValue || (exports.ItemValue = {}));
257
- var TimelineEventSort;
258
- (function (TimelineEventSort) {
259
- TimelineEventSort["EVENT_TIME"] = "EVENT_TIME";
260
- })(TimelineEventSort = exports.TimelineEventSort || (exports.TimelineEventSort = {}));
261
- var SortOrder;
262
- (function (SortOrder) {
263
- SortOrder["ASCENDING"] = "ASCENDING";
264
- SortOrder["DESCENDING"] = "DESCENDING";
265
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
249
+ exports.TimelineEventSort = {
250
+ EVENT_TIME: "EVENT_TIME",
251
+ };
252
+ exports.SortOrder = {
253
+ ASCENDING: "ASCENDING",
254
+ DESCENDING: "DESCENDING",
255
+ };
266
256
  var RelatedItemsUpdate;
267
257
  (function (RelatedItemsUpdate) {
268
258
  RelatedItemsUpdate.visit = (value, visitor) => {
@@ -11,11 +11,10 @@ export class AccessDeniedException extends __BaseException {
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
14
- export var VariableType;
15
- (function (VariableType) {
16
- VariableType["INCIDENT_RECORD_ARN"] = "INCIDENT_RECORD_ARN";
17
- VariableType["INVOLVED_RESOURCES"] = "INVOLVED_RESOURCES";
18
- })(VariableType || (VariableType = {}));
14
+ export const VariableType = {
15
+ INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
16
+ INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
17
+ };
19
18
  export var DynamicSsmParameterValue;
20
19
  (function (DynamicSsmParameterValue) {
21
20
  DynamicSsmParameterValue.visit = (value, visitor) => {
@@ -24,11 +23,10 @@ export var DynamicSsmParameterValue;
24
23
  return visitor._(value.$unknown[0], value.$unknown[1]);
25
24
  };
26
25
  })(DynamicSsmParameterValue || (DynamicSsmParameterValue = {}));
27
- export var SsmTargetAccount;
28
- (function (SsmTargetAccount) {
29
- SsmTargetAccount["IMPACTED_ACCOUNT"] = "IMPACTED_ACCOUNT";
30
- SsmTargetAccount["RESPONSE_PLAN_OWNER_ACCOUNT"] = "RESPONSE_PLAN_OWNER_ACCOUNT";
31
- })(SsmTargetAccount || (SsmTargetAccount = {}));
26
+ export const SsmTargetAccount = {
27
+ IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
28
+ RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
29
+ };
32
30
  export var Action;
33
31
  (function (Action) {
34
32
  Action.visit = (value, visitor) => {
@@ -77,14 +75,13 @@ export var Condition;
77
75
  return visitor._(value.$unknown[0], value.$unknown[1]);
78
76
  };
79
77
  })(Condition || (Condition = {}));
80
- export var ResourceType;
81
- (function (ResourceType) {
82
- ResourceType["INCIDENT_RECORD"] = "INCIDENT_RECORD";
83
- ResourceType["REPLICATION_SET"] = "REPLICATION_SET";
84
- ResourceType["RESOURCE_POLICY"] = "RESOURCE_POLICY";
85
- ResourceType["RESPONSE_PLAN"] = "RESPONSE_PLAN";
86
- ResourceType["TIMELINE_EVENT"] = "TIMELINE_EVENT";
87
- })(ResourceType || (ResourceType = {}));
78
+ export const ResourceType = {
79
+ INCIDENT_RECORD: "INCIDENT_RECORD",
80
+ REPLICATION_SET: "REPLICATION_SET",
81
+ RESOURCE_POLICY: "RESOURCE_POLICY",
82
+ RESPONSE_PLAN: "RESPONSE_PLAN",
83
+ TIMELINE_EVENT: "TIMELINE_EVENT",
84
+ };
88
85
  export class ConflictException extends __BaseException {
89
86
  constructor(opts) {
90
87
  super({
@@ -112,10 +109,9 @@ export class InternalServerException extends __BaseException {
112
109
  Object.setPrototypeOf(this, InternalServerException.prototype);
113
110
  }
114
111
  }
115
- export var ServiceCode;
116
- (function (ServiceCode) {
117
- ServiceCode["SSM_INCIDENTS"] = "ssm-incidents";
118
- })(ServiceCode || (ServiceCode = {}));
112
+ export const ServiceCode = {
113
+ SSM_INCIDENTS: "ssm-incidents",
114
+ };
119
115
  export class ServiceQuotaExceededException extends __BaseException {
120
116
  constructor(opts) {
121
117
  super({
@@ -198,38 +194,34 @@ export var EventReference;
198
194
  return visitor._(value.$unknown[0], value.$unknown[1]);
199
195
  };
200
196
  })(EventReference || (EventReference = {}));
201
- export var IncidentRecordStatus;
202
- (function (IncidentRecordStatus) {
203
- IncidentRecordStatus["OPEN"] = "OPEN";
204
- IncidentRecordStatus["RESOLVED"] = "RESOLVED";
205
- })(IncidentRecordStatus || (IncidentRecordStatus = {}));
206
- export var RegionStatus;
207
- (function (RegionStatus) {
208
- RegionStatus["ACTIVE"] = "ACTIVE";
209
- RegionStatus["CREATING"] = "CREATING";
210
- RegionStatus["DELETING"] = "DELETING";
211
- RegionStatus["FAILED"] = "FAILED";
212
- })(RegionStatus || (RegionStatus = {}));
213
- export var ReplicationSetStatus;
214
- (function (ReplicationSetStatus) {
215
- ReplicationSetStatus["ACTIVE"] = "ACTIVE";
216
- ReplicationSetStatus["CREATING"] = "CREATING";
217
- ReplicationSetStatus["DELETING"] = "DELETING";
218
- ReplicationSetStatus["FAILED"] = "FAILED";
219
- ReplicationSetStatus["UPDATING"] = "UPDATING";
220
- })(ReplicationSetStatus || (ReplicationSetStatus = {}));
221
- export var ItemType;
222
- (function (ItemType) {
223
- ItemType["ANALYSIS"] = "ANALYSIS";
224
- ItemType["ATTACHMENT"] = "ATTACHMENT";
225
- ItemType["AUTOMATION"] = "AUTOMATION";
226
- ItemType["INCIDENT"] = "INCIDENT";
227
- ItemType["INVOLVED_RESOURCE"] = "INVOLVED_RESOURCE";
228
- ItemType["METRIC"] = "METRIC";
229
- ItemType["OTHER"] = "OTHER";
230
- ItemType["PARENT"] = "PARENT";
231
- ItemType["TASK"] = "TASK";
232
- })(ItemType || (ItemType = {}));
197
+ export const IncidentRecordStatus = {
198
+ OPEN: "OPEN",
199
+ RESOLVED: "RESOLVED",
200
+ };
201
+ export const RegionStatus = {
202
+ ACTIVE: "ACTIVE",
203
+ CREATING: "CREATING",
204
+ DELETING: "DELETING",
205
+ FAILED: "FAILED",
206
+ };
207
+ export const ReplicationSetStatus = {
208
+ ACTIVE: "ACTIVE",
209
+ CREATING: "CREATING",
210
+ DELETING: "DELETING",
211
+ FAILED: "FAILED",
212
+ UPDATING: "UPDATING",
213
+ };
214
+ export const ItemType = {
215
+ ANALYSIS: "ANALYSIS",
216
+ ATTACHMENT: "ATTACHMENT",
217
+ AUTOMATION: "AUTOMATION",
218
+ INCIDENT: "INCIDENT",
219
+ INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
220
+ METRIC: "METRIC",
221
+ OTHER: "OTHER",
222
+ PARENT: "PARENT",
223
+ TASK: "TASK",
224
+ };
233
225
  export var ItemValue;
234
226
  (function (ItemValue) {
235
227
  ItemValue.visit = (value, visitor) => {
@@ -244,15 +236,13 @@ export var ItemValue;
244
236
  return visitor._(value.$unknown[0], value.$unknown[1]);
245
237
  };
246
238
  })(ItemValue || (ItemValue = {}));
247
- export var TimelineEventSort;
248
- (function (TimelineEventSort) {
249
- TimelineEventSort["EVENT_TIME"] = "EVENT_TIME";
250
- })(TimelineEventSort || (TimelineEventSort = {}));
251
- export var SortOrder;
252
- (function (SortOrder) {
253
- SortOrder["ASCENDING"] = "ASCENDING";
254
- SortOrder["DESCENDING"] = "DESCENDING";
255
- })(SortOrder || (SortOrder = {}));
239
+ export const TimelineEventSort = {
240
+ EVENT_TIME: "EVENT_TIME",
241
+ };
242
+ export const SortOrder = {
243
+ ASCENDING: "ASCENDING",
244
+ DESCENDING: "DESCENDING",
245
+ };
256
246
  export var RelatedItemsUpdate;
257
247
  (function (RelatedItemsUpdate) {
258
248
  RelatedItemsUpdate.visit = (value, visitor) => {
@@ -14,11 +14,16 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum VariableType {
19
- INCIDENT_RECORD_ARN = "INCIDENT_RECORD_ARN",
20
- INVOLVED_RESOURCES = "INVOLVED_RESOURCES"
21
- }
19
+ export declare const VariableType: {
20
+ readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
21
+ readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type VariableType = (typeof VariableType)[keyof typeof VariableType];
22
27
  /**
23
28
  * @public
24
29
  * <p>The dynamic SSM parameter value.</p>
@@ -48,11 +53,16 @@ export declare namespace DynamicSsmParameterValue {
48
53
  }
49
54
  /**
50
55
  * @public
56
+ * @enum
51
57
  */
52
- export declare enum SsmTargetAccount {
53
- IMPACTED_ACCOUNT = "IMPACTED_ACCOUNT",
54
- RESPONSE_PLAN_OWNER_ACCOUNT = "RESPONSE_PLAN_OWNER_ACCOUNT"
55
- }
58
+ export declare const SsmTargetAccount: {
59
+ readonly IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT";
60
+ readonly RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type SsmTargetAccount = (typeof SsmTargetAccount)[keyof typeof SsmTargetAccount];
56
66
  /**
57
67
  * @public
58
68
  * <p>Details about the Systems Manager automation document that will be used as a runbook
@@ -294,14 +304,19 @@ export declare namespace Condition {
294
304
  }
295
305
  /**
296
306
  * @public
307
+ * @enum
297
308
  */
298
- export declare enum ResourceType {
299
- INCIDENT_RECORD = "INCIDENT_RECORD",
300
- REPLICATION_SET = "REPLICATION_SET",
301
- RESOURCE_POLICY = "RESOURCE_POLICY",
302
- RESPONSE_PLAN = "RESPONSE_PLAN",
303
- TIMELINE_EVENT = "TIMELINE_EVENT"
304
- }
309
+ export declare const ResourceType: {
310
+ readonly INCIDENT_RECORD: "INCIDENT_RECORD";
311
+ readonly REPLICATION_SET: "REPLICATION_SET";
312
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
313
+ readonly RESPONSE_PLAN: "RESPONSE_PLAN";
314
+ readonly TIMELINE_EVENT: "TIMELINE_EVENT";
315
+ };
316
+ /**
317
+ * @public
318
+ */
319
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
305
320
  /**
306
321
  * @public
307
322
  * <p>Updating or deleting a resource causes an inconsistent state.</p>
@@ -380,10 +395,15 @@ export declare class InternalServerException extends __BaseException {
380
395
  }
381
396
  /**
382
397
  * @public
398
+ * @enum
383
399
  */
384
- export declare enum ServiceCode {
385
- SSM_INCIDENTS = "ssm-incidents"
386
- }
400
+ export declare const ServiceCode: {
401
+ readonly SSM_INCIDENTS: "ssm-incidents";
402
+ };
403
+ /**
404
+ * @public
405
+ */
406
+ export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
387
407
  /**
388
408
  * @public
389
409
  * <p>Request would cause a service quota to be exceeded.</p>
@@ -893,11 +913,16 @@ export interface IncidentRecordSource {
893
913
  }
894
914
  /**
895
915
  * @public
916
+ * @enum
896
917
  */
897
- export declare enum IncidentRecordStatus {
898
- OPEN = "OPEN",
899
- RESOLVED = "RESOLVED"
900
- }
918
+ export declare const IncidentRecordStatus: {
919
+ readonly OPEN: "OPEN";
920
+ readonly RESOLVED: "RESOLVED";
921
+ };
922
+ /**
923
+ * @public
924
+ */
925
+ export type IncidentRecordStatus = (typeof IncidentRecordStatus)[keyof typeof IncidentRecordStatus];
901
926
  /**
902
927
  * @public
903
928
  * <p>The record of the incident that's created when an incident occurs.</p>
@@ -983,25 +1008,30 @@ export interface GetReplicationSetInput {
983
1008
  }
984
1009
  /**
985
1010
  * @public
1011
+ * @enum
986
1012
  */
987
- export declare enum RegionStatus {
1013
+ export declare const RegionStatus: {
988
1014
  /**
989
1015
  * All operations have completed successfully and the region is ready to use
990
1016
  */
991
- ACTIVE = "ACTIVE",
1017
+ readonly ACTIVE: "ACTIVE";
992
1018
  /**
993
1019
  * The region is in the process of being created.
994
1020
  */
995
- CREATING = "CREATING",
1021
+ readonly CREATING: "CREATING";
996
1022
  /**
997
1023
  * The region is in the process of being deleted.
998
1024
  */
999
- DELETING = "DELETING",
1025
+ readonly DELETING: "DELETING";
1000
1026
  /**
1001
1027
  * The region is not healthy and we cannot automatically fix it.
1002
1028
  */
1003
- FAILED = "FAILED"
1004
- }
1029
+ readonly FAILED: "FAILED";
1030
+ };
1031
+ /**
1032
+ * @public
1033
+ */
1034
+ export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
1005
1035
  /**
1006
1036
  * @public
1007
1037
  * <p>Information about a Amazon Web Services Region in your replication set.</p>
@@ -1026,29 +1056,34 @@ export interface RegionInfo {
1026
1056
  }
1027
1057
  /**
1028
1058
  * @public
1059
+ * @enum
1029
1060
  */
1030
- export declare enum ReplicationSetStatus {
1061
+ export declare const ReplicationSetStatus: {
1031
1062
  /**
1032
1063
  * All operations have completed successfully and the replication set is ready to use
1033
1064
  */
1034
- ACTIVE = "ACTIVE",
1065
+ readonly ACTIVE: "ACTIVE";
1035
1066
  /**
1036
1067
  * Replication set is in the process of being created.
1037
1068
  */
1038
- CREATING = "CREATING",
1069
+ readonly CREATING: "CREATING";
1039
1070
  /**
1040
1071
  * Replication set is in the process of being deleted.
1041
1072
  */
1042
- DELETING = "DELETING",
1073
+ readonly DELETING: "DELETING";
1043
1074
  /**
1044
1075
  * Replication set is not healthy and we cannot fix it.
1045
1076
  */
1046
- FAILED = "FAILED",
1077
+ readonly FAILED: "FAILED";
1047
1078
  /**
1048
1079
  * Replication set is in the process of being updated.
1049
1080
  */
1050
- UPDATING = "UPDATING"
1051
- }
1081
+ readonly UPDATING: "UPDATING";
1082
+ };
1083
+ /**
1084
+ * @public
1085
+ */
1086
+ export type ReplicationSetStatus = (typeof ReplicationSetStatus)[keyof typeof ReplicationSetStatus];
1052
1087
  /**
1053
1088
  * @public
1054
1089
  * <p>The set of Amazon Web Services Region that your Incident Manager data will be replicated to and
@@ -1293,18 +1328,23 @@ export interface IncidentRecordSummary {
1293
1328
  }
1294
1329
  /**
1295
1330
  * @public
1331
+ * @enum
1296
1332
  */
1297
- export declare enum ItemType {
1298
- ANALYSIS = "ANALYSIS",
1299
- ATTACHMENT = "ATTACHMENT",
1300
- AUTOMATION = "AUTOMATION",
1301
- INCIDENT = "INCIDENT",
1302
- INVOLVED_RESOURCE = "INVOLVED_RESOURCE",
1303
- METRIC = "METRIC",
1304
- OTHER = "OTHER",
1305
- PARENT = "PARENT",
1306
- TASK = "TASK"
1307
- }
1333
+ export declare const ItemType: {
1334
+ readonly ANALYSIS: "ANALYSIS";
1335
+ readonly ATTACHMENT: "ATTACHMENT";
1336
+ readonly AUTOMATION: "AUTOMATION";
1337
+ readonly INCIDENT: "INCIDENT";
1338
+ readonly INVOLVED_RESOURCE: "INVOLVED_RESOURCE";
1339
+ readonly METRIC: "METRIC";
1340
+ readonly OTHER: "OTHER";
1341
+ readonly PARENT: "PARENT";
1342
+ readonly TASK: "TASK";
1343
+ };
1344
+ /**
1345
+ * @public
1346
+ */
1347
+ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
1308
1348
  /**
1309
1349
  * @public
1310
1350
  * <p>Details about the PagerDuty incident associated with an incident created by an Incident Manager
@@ -1615,17 +1655,27 @@ export interface ListTagsForResourceResponse {
1615
1655
  }
1616
1656
  /**
1617
1657
  * @public
1658
+ * @enum
1618
1659
  */
1619
- export declare enum TimelineEventSort {
1620
- EVENT_TIME = "EVENT_TIME"
1621
- }
1660
+ export declare const TimelineEventSort: {
1661
+ readonly EVENT_TIME: "EVENT_TIME";
1662
+ };
1622
1663
  /**
1623
1664
  * @public
1624
1665
  */
1625
- export declare enum SortOrder {
1626
- ASCENDING = "ASCENDING",
1627
- DESCENDING = "DESCENDING"
1628
- }
1666
+ export type TimelineEventSort = (typeof TimelineEventSort)[keyof typeof TimelineEventSort];
1667
+ /**
1668
+ * @public
1669
+ * @enum
1670
+ */
1671
+ export declare const SortOrder: {
1672
+ readonly ASCENDING: "ASCENDING";
1673
+ readonly DESCENDING: "DESCENDING";
1674
+ };
1675
+ /**
1676
+ * @public
1677
+ */
1678
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1629
1679
  /**
1630
1680
  * @public
1631
1681
  */
@@ -7,10 +7,11 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum VariableType {
11
- INCIDENT_RECORD_ARN = "INCIDENT_RECORD_ARN",
12
- INVOLVED_RESOURCES = "INVOLVED_RESOURCES",
13
- }
10
+ export declare const VariableType: {
11
+ readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
12
+ readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
13
+ };
14
+ export type VariableType = (typeof VariableType)[keyof typeof VariableType];
14
15
  export type DynamicSsmParameterValue =
15
16
  | DynamicSsmParameterValue.VariableMember
16
17
  | DynamicSsmParameterValue.$UnknownMember;
@@ -29,10 +30,12 @@ export declare namespace DynamicSsmParameterValue {
29
30
  }
30
31
  const visit: <T>(value: DynamicSsmParameterValue, visitor: Visitor<T>) => T;
31
32
  }
32
- export declare enum SsmTargetAccount {
33
- IMPACTED_ACCOUNT = "IMPACTED_ACCOUNT",
34
- RESPONSE_PLAN_OWNER_ACCOUNT = "RESPONSE_PLAN_OWNER_ACCOUNT",
35
- }
33
+ export declare const SsmTargetAccount: {
34
+ readonly IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT";
35
+ readonly RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT";
36
+ };
37
+ export type SsmTargetAccount =
38
+ (typeof SsmTargetAccount)[keyof typeof SsmTargetAccount];
36
39
  export interface SsmAutomation {
37
40
  roleArn: string | undefined;
38
41
  documentName: string | undefined;
@@ -172,13 +175,14 @@ export declare namespace Condition {
172
175
  }
173
176
  const visit: <T>(value: Condition, visitor: Visitor<T>) => T;
174
177
  }
175
- export declare enum ResourceType {
176
- INCIDENT_RECORD = "INCIDENT_RECORD",
177
- REPLICATION_SET = "REPLICATION_SET",
178
- RESOURCE_POLICY = "RESOURCE_POLICY",
179
- RESPONSE_PLAN = "RESPONSE_PLAN",
180
- TIMELINE_EVENT = "TIMELINE_EVENT",
181
- }
178
+ export declare const ResourceType: {
179
+ readonly INCIDENT_RECORD: "INCIDENT_RECORD";
180
+ readonly REPLICATION_SET: "REPLICATION_SET";
181
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
182
+ readonly RESPONSE_PLAN: "RESPONSE_PLAN";
183
+ readonly TIMELINE_EVENT: "TIMELINE_EVENT";
184
+ };
185
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
182
186
  export declare class ConflictException extends __BaseException {
183
187
  readonly name: "ConflictException";
184
188
  readonly $fault: "client";
@@ -205,9 +209,10 @@ export declare class InternalServerException extends __BaseException {
205
209
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
206
210
  );
207
211
  }
208
- export declare enum ServiceCode {
209
- SSM_INCIDENTS = "ssm-incidents",
210
- }
212
+ export declare const ServiceCode: {
213
+ readonly SSM_INCIDENTS: "ssm-incidents";
214
+ };
215
+ export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
211
216
  export declare class ServiceQuotaExceededException extends __BaseException {
212
217
  readonly name: "ServiceQuotaExceededException";
213
218
  readonly $fault: "client";
@@ -395,10 +400,12 @@ export interface IncidentRecordSource {
395
400
  resourceArn?: string;
396
401
  source: string | undefined;
397
402
  }
398
- export declare enum IncidentRecordStatus {
399
- OPEN = "OPEN",
400
- RESOLVED = "RESOLVED",
401
- }
403
+ export declare const IncidentRecordStatus: {
404
+ readonly OPEN: "OPEN";
405
+ readonly RESOLVED: "RESOLVED";
406
+ };
407
+ export type IncidentRecordStatus =
408
+ (typeof IncidentRecordStatus)[keyof typeof IncidentRecordStatus];
402
409
  export interface IncidentRecord {
403
410
  arn: string | undefined;
404
411
  title: string | undefined;
@@ -421,25 +428,28 @@ export interface GetIncidentRecordOutput {
421
428
  export interface GetReplicationSetInput {
422
429
  arn: string | undefined;
423
430
  }
424
- export declare enum RegionStatus {
425
- ACTIVE = "ACTIVE",
426
- CREATING = "CREATING",
427
- DELETING = "DELETING",
428
- FAILED = "FAILED",
429
- }
431
+ export declare const RegionStatus: {
432
+ readonly ACTIVE: "ACTIVE";
433
+ readonly CREATING: "CREATING";
434
+ readonly DELETING: "DELETING";
435
+ readonly FAILED: "FAILED";
436
+ };
437
+ export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
430
438
  export interface RegionInfo {
431
439
  sseKmsKeyId?: string;
432
440
  status: RegionStatus | string | undefined;
433
441
  statusMessage?: string;
434
442
  statusUpdateDateTime: Date | undefined;
435
443
  }
436
- export declare enum ReplicationSetStatus {
437
- ACTIVE = "ACTIVE",
438
- CREATING = "CREATING",
439
- DELETING = "DELETING",
440
- FAILED = "FAILED",
441
- UPDATING = "UPDATING",
442
- }
444
+ export declare const ReplicationSetStatus: {
445
+ readonly ACTIVE: "ACTIVE";
446
+ readonly CREATING: "CREATING";
447
+ readonly DELETING: "DELETING";
448
+ readonly FAILED: "FAILED";
449
+ readonly UPDATING: "UPDATING";
450
+ };
451
+ export type ReplicationSetStatus =
452
+ (typeof ReplicationSetStatus)[keyof typeof ReplicationSetStatus];
443
453
  export interface ReplicationSet {
444
454
  arn?: string;
445
455
  regionMap: Record<string, RegionInfo> | undefined;
@@ -505,17 +515,18 @@ export interface IncidentRecordSummary {
505
515
  resolvedTime?: Date;
506
516
  incidentRecordSource: IncidentRecordSource | undefined;
507
517
  }
508
- export declare enum ItemType {
509
- ANALYSIS = "ANALYSIS",
510
- ATTACHMENT = "ATTACHMENT",
511
- AUTOMATION = "AUTOMATION",
512
- INCIDENT = "INCIDENT",
513
- INVOLVED_RESOURCE = "INVOLVED_RESOURCE",
514
- METRIC = "METRIC",
515
- OTHER = "OTHER",
516
- PARENT = "PARENT",
517
- TASK = "TASK",
518
- }
518
+ export declare const ItemType: {
519
+ readonly ANALYSIS: "ANALYSIS";
520
+ readonly ATTACHMENT: "ATTACHMENT";
521
+ readonly AUTOMATION: "AUTOMATION";
522
+ readonly INCIDENT: "INCIDENT";
523
+ readonly INVOLVED_RESOURCE: "INVOLVED_RESOURCE";
524
+ readonly METRIC: "METRIC";
525
+ readonly OTHER: "OTHER";
526
+ readonly PARENT: "PARENT";
527
+ readonly TASK: "TASK";
528
+ };
529
+ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
519
530
  export interface PagerDutyIncidentDetail {
520
531
  id: string | undefined;
521
532
  autoResolve?: boolean;
@@ -626,13 +637,16 @@ export interface ListTagsForResourceRequest {
626
637
  export interface ListTagsForResourceResponse {
627
638
  tags: Record<string, string> | undefined;
628
639
  }
629
- export declare enum TimelineEventSort {
630
- EVENT_TIME = "EVENT_TIME",
631
- }
632
- export declare enum SortOrder {
633
- ASCENDING = "ASCENDING",
634
- DESCENDING = "DESCENDING",
635
- }
640
+ export declare const TimelineEventSort: {
641
+ readonly EVENT_TIME: "EVENT_TIME";
642
+ };
643
+ export type TimelineEventSort =
644
+ (typeof TimelineEventSort)[keyof typeof TimelineEventSort];
645
+ export declare const SortOrder: {
646
+ readonly ASCENDING: "ASCENDING";
647
+ readonly DESCENDING: "DESCENDING";
648
+ };
649
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
636
650
  export interface ListTimelineEventsInput {
637
651
  incidentRecordArn: string | undefined;
638
652
  filters?: Filter[];
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.301.0",
4
+ "version": "3.303.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",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.303.0",
57
57
  "tslib": "^2.5.0",
58
58
  "uuid": "^8.3.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "@types/uuid": "^8.3.0",