@aws-sdk/client-ssm-incidents 3.936.0 → 3.940.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
@@ -1906,6 +1906,60 @@ const waitUntilWaitForReplicationSetDeleted = async (params, input) => {
1906
1906
  return utilWaiter.checkExceptions(result);
1907
1907
  };
1908
1908
 
1909
+ const VariableType = {
1910
+ INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
1911
+ INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
1912
+ };
1913
+ const SsmTargetAccount = {
1914
+ IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
1915
+ RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
1916
+ };
1917
+ const ResourceType = {
1918
+ INCIDENT_RECORD: "INCIDENT_RECORD",
1919
+ REPLICATION_SET: "REPLICATION_SET",
1920
+ RESOURCE_POLICY: "RESOURCE_POLICY",
1921
+ RESPONSE_PLAN: "RESPONSE_PLAN",
1922
+ TIMELINE_EVENT: "TIMELINE_EVENT",
1923
+ };
1924
+ const ServiceCode = {
1925
+ SSM_INCIDENTS: "ssm-incidents",
1926
+ };
1927
+ const IncidentRecordStatus = {
1928
+ OPEN: "OPEN",
1929
+ RESOLVED: "RESOLVED",
1930
+ };
1931
+ const RegionStatus = {
1932
+ ACTIVE: "ACTIVE",
1933
+ CREATING: "CREATING",
1934
+ DELETING: "DELETING",
1935
+ FAILED: "FAILED",
1936
+ };
1937
+ const ReplicationSetStatus = {
1938
+ ACTIVE: "ACTIVE",
1939
+ CREATING: "CREATING",
1940
+ DELETING: "DELETING",
1941
+ FAILED: "FAILED",
1942
+ UPDATING: "UPDATING",
1943
+ };
1944
+ const ItemType = {
1945
+ ANALYSIS: "ANALYSIS",
1946
+ ATTACHMENT: "ATTACHMENT",
1947
+ AUTOMATION: "AUTOMATION",
1948
+ INCIDENT: "INCIDENT",
1949
+ INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
1950
+ METRIC: "METRIC",
1951
+ OTHER: "OTHER",
1952
+ PARENT: "PARENT",
1953
+ TASK: "TASK",
1954
+ };
1955
+ const TimelineEventSort = {
1956
+ EVENT_TIME: "EVENT_TIME",
1957
+ };
1958
+ const SortOrder = {
1959
+ ASCENDING: "ASCENDING",
1960
+ DESCENDING: "DESCENDING",
1961
+ };
1962
+
1909
1963
  Object.defineProperty(exports, "$Command", {
1910
1964
  enumerable: true,
1911
1965
  get: function () { return smithyClient.Command; }
@@ -1930,7 +1984,9 @@ exports.GetReplicationSetCommand = GetReplicationSetCommand;
1930
1984
  exports.GetResourcePoliciesCommand = GetResourcePoliciesCommand;
1931
1985
  exports.GetResponsePlanCommand = GetResponsePlanCommand;
1932
1986
  exports.GetTimelineEventCommand = GetTimelineEventCommand;
1987
+ exports.IncidentRecordStatus = IncidentRecordStatus;
1933
1988
  exports.InternalServerException = InternalServerException$1;
1989
+ exports.ItemType = ItemType;
1934
1990
  exports.ListIncidentFindingsCommand = ListIncidentFindingsCommand;
1935
1991
  exports.ListIncidentRecordsCommand = ListIncidentRecordsCommand;
1936
1992
  exports.ListRelatedItemsCommand = ListRelatedItemsCommand;
@@ -1939,14 +1995,21 @@ exports.ListResponsePlansCommand = ListResponsePlansCommand;
1939
1995
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1940
1996
  exports.ListTimelineEventsCommand = ListTimelineEventsCommand;
1941
1997
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1998
+ exports.RegionStatus = RegionStatus;
1999
+ exports.ReplicationSetStatus = ReplicationSetStatus;
1942
2000
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2001
+ exports.ResourceType = ResourceType;
1943
2002
  exports.SSMIncidents = SSMIncidents;
1944
2003
  exports.SSMIncidentsClient = SSMIncidentsClient;
1945
2004
  exports.SSMIncidentsServiceException = SSMIncidentsServiceException$1;
2005
+ exports.ServiceCode = ServiceCode;
1946
2006
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2007
+ exports.SortOrder = SortOrder;
2008
+ exports.SsmTargetAccount = SsmTargetAccount;
1947
2009
  exports.StartIncidentCommand = StartIncidentCommand;
1948
2010
  exports.TagResourceCommand = TagResourceCommand;
1949
2011
  exports.ThrottlingException = ThrottlingException$1;
2012
+ exports.TimelineEventSort = TimelineEventSort;
1950
2013
  exports.UntagResourceCommand = UntagResourceCommand;
1951
2014
  exports.UpdateDeletionProtectionCommand = UpdateDeletionProtectionCommand;
1952
2015
  exports.UpdateIncidentRecordCommand = UpdateIncidentRecordCommand;
@@ -1955,6 +2018,7 @@ exports.UpdateReplicationSetCommand = UpdateReplicationSetCommand;
1955
2018
  exports.UpdateResponsePlanCommand = UpdateResponsePlanCommand;
1956
2019
  exports.UpdateTimelineEventCommand = UpdateTimelineEventCommand;
1957
2020
  exports.ValidationException = ValidationException$1;
2021
+ exports.VariableType = VariableType;
1958
2022
  exports.paginateGetResourcePolicies = paginateGetResourcePolicies;
1959
2023
  exports.paginateListIncidentFindings = paginateListIncidentFindings;
1960
2024
  exports.paginateListIncidentRecords = paginateListIncidentRecords;
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./SSMIncidents";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
+ export * from "./models/enums";
6
7
  export * from "./models/errors";
7
8
  export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,53 @@
1
+ export const VariableType = {
2
+ INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
3
+ INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
4
+ };
5
+ export const SsmTargetAccount = {
6
+ IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
7
+ RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
8
+ };
9
+ export const ResourceType = {
10
+ INCIDENT_RECORD: "INCIDENT_RECORD",
11
+ REPLICATION_SET: "REPLICATION_SET",
12
+ RESOURCE_POLICY: "RESOURCE_POLICY",
13
+ RESPONSE_PLAN: "RESPONSE_PLAN",
14
+ TIMELINE_EVENT: "TIMELINE_EVENT",
15
+ };
16
+ export const ServiceCode = {
17
+ SSM_INCIDENTS: "ssm-incidents",
18
+ };
19
+ export const IncidentRecordStatus = {
20
+ OPEN: "OPEN",
21
+ RESOLVED: "RESOLVED",
22
+ };
23
+ export const RegionStatus = {
24
+ ACTIVE: "ACTIVE",
25
+ CREATING: "CREATING",
26
+ DELETING: "DELETING",
27
+ FAILED: "FAILED",
28
+ };
29
+ export const ReplicationSetStatus = {
30
+ ACTIVE: "ACTIVE",
31
+ CREATING: "CREATING",
32
+ DELETING: "DELETING",
33
+ FAILED: "FAILED",
34
+ UPDATING: "UPDATING",
35
+ };
36
+ export const ItemType = {
37
+ ANALYSIS: "ANALYSIS",
38
+ ATTACHMENT: "ATTACHMENT",
39
+ AUTOMATION: "AUTOMATION",
40
+ INCIDENT: "INCIDENT",
41
+ INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
42
+ METRIC: "METRIC",
43
+ OTHER: "OTHER",
44
+ PARENT: "PARENT",
45
+ TASK: "TASK",
46
+ };
47
+ export const TimelineEventSort = {
48
+ EVENT_TIME: "EVENT_TIME",
49
+ };
50
+ export const SortOrder = {
51
+ ASCENDING: "ASCENDING",
52
+ DESCENDING: "DESCENDING",
53
+ };
@@ -1,53 +1 @@
1
- export const VariableType = {
2
- INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
3
- INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
4
- };
5
- export const SsmTargetAccount = {
6
- IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
7
- RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
8
- };
9
- export const ResourceType = {
10
- INCIDENT_RECORD: "INCIDENT_RECORD",
11
- REPLICATION_SET: "REPLICATION_SET",
12
- RESOURCE_POLICY: "RESOURCE_POLICY",
13
- RESPONSE_PLAN: "RESPONSE_PLAN",
14
- TIMELINE_EVENT: "TIMELINE_EVENT",
15
- };
16
- export const ServiceCode = {
17
- SSM_INCIDENTS: "ssm-incidents",
18
- };
19
- export const IncidentRecordStatus = {
20
- OPEN: "OPEN",
21
- RESOLVED: "RESOLVED",
22
- };
23
- export const RegionStatus = {
24
- ACTIVE: "ACTIVE",
25
- CREATING: "CREATING",
26
- DELETING: "DELETING",
27
- FAILED: "FAILED",
28
- };
29
- export const ReplicationSetStatus = {
30
- ACTIVE: "ACTIVE",
31
- CREATING: "CREATING",
32
- DELETING: "DELETING",
33
- FAILED: "FAILED",
34
- UPDATING: "UPDATING",
35
- };
36
- export const ItemType = {
37
- ANALYSIS: "ANALYSIS",
38
- ATTACHMENT: "ATTACHMENT",
39
- AUTOMATION: "AUTOMATION",
40
- INCIDENT: "INCIDENT",
41
- INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
42
- METRIC: "METRIC",
43
- OTHER: "OTHER",
44
- PARENT: "PARENT",
45
- TASK: "TASK",
46
- };
47
- export const TimelineEventSort = {
48
- EVENT_TIME: "EVENT_TIME",
49
- };
50
- export const SortOrder = {
51
- ASCENDING: "ASCENDING",
52
- DESCENDING: "DESCENDING",
53
- };
1
+ export {};
@@ -18,6 +18,7 @@ export type { SSMIncidentsExtensionConfiguration } from "./extensionConfiguratio
18
18
  export * from "./commands";
19
19
  export * from "./pagination";
20
20
  export * from "./waiters";
21
+ export * from "./models/enums";
21
22
  export * from "./models/errors";
22
23
  export type * from "./models/models_0";
23
24
  export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,160 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const VariableType: {
6
+ readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
7
+ readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type VariableType = (typeof VariableType)[keyof typeof VariableType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const SsmTargetAccount: {
18
+ readonly IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT";
19
+ readonly RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type SsmTargetAccount = (typeof SsmTargetAccount)[keyof typeof SsmTargetAccount];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const ResourceType: {
30
+ readonly INCIDENT_RECORD: "INCIDENT_RECORD";
31
+ readonly REPLICATION_SET: "REPLICATION_SET";
32
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
33
+ readonly RESPONSE_PLAN: "RESPONSE_PLAN";
34
+ readonly TIMELINE_EVENT: "TIMELINE_EVENT";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const ServiceCode: {
45
+ readonly SSM_INCIDENTS: "ssm-incidents";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const IncidentRecordStatus: {
56
+ readonly OPEN: "OPEN";
57
+ readonly RESOLVED: "RESOLVED";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type IncidentRecordStatus = (typeof IncidentRecordStatus)[keyof typeof IncidentRecordStatus];
63
+ /**
64
+ * @public
65
+ * @enum
66
+ */
67
+ export declare const RegionStatus: {
68
+ /**
69
+ * All operations have completed successfully and the region is ready to use
70
+ */
71
+ readonly ACTIVE: "ACTIVE";
72
+ /**
73
+ * The region is in the process of being created.
74
+ */
75
+ readonly CREATING: "CREATING";
76
+ /**
77
+ * The region is in the process of being deleted.
78
+ */
79
+ readonly DELETING: "DELETING";
80
+ /**
81
+ * The region is not healthy and we cannot automatically fix it.
82
+ */
83
+ readonly FAILED: "FAILED";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
89
+ /**
90
+ * @public
91
+ * @enum
92
+ */
93
+ export declare const ReplicationSetStatus: {
94
+ /**
95
+ * All operations have completed successfully and the replication set is ready to use
96
+ */
97
+ readonly ACTIVE: "ACTIVE";
98
+ /**
99
+ * Replication set is in the process of being created.
100
+ */
101
+ readonly CREATING: "CREATING";
102
+ /**
103
+ * Replication set is in the process of being deleted.
104
+ */
105
+ readonly DELETING: "DELETING";
106
+ /**
107
+ * Replication set is not healthy and we cannot fix it.
108
+ */
109
+ readonly FAILED: "FAILED";
110
+ /**
111
+ * Replication set is in the process of being updated.
112
+ */
113
+ readonly UPDATING: "UPDATING";
114
+ };
115
+ /**
116
+ * @public
117
+ */
118
+ export type ReplicationSetStatus = (typeof ReplicationSetStatus)[keyof typeof ReplicationSetStatus];
119
+ /**
120
+ * @public
121
+ * @enum
122
+ */
123
+ export declare const ItemType: {
124
+ readonly ANALYSIS: "ANALYSIS";
125
+ readonly ATTACHMENT: "ATTACHMENT";
126
+ readonly AUTOMATION: "AUTOMATION";
127
+ readonly INCIDENT: "INCIDENT";
128
+ readonly INVOLVED_RESOURCE: "INVOLVED_RESOURCE";
129
+ readonly METRIC: "METRIC";
130
+ readonly OTHER: "OTHER";
131
+ readonly PARENT: "PARENT";
132
+ readonly TASK: "TASK";
133
+ };
134
+ /**
135
+ * @public
136
+ */
137
+ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
138
+ /**
139
+ * @public
140
+ * @enum
141
+ */
142
+ export declare const TimelineEventSort: {
143
+ readonly EVENT_TIME: "EVENT_TIME";
144
+ };
145
+ /**
146
+ * @public
147
+ */
148
+ export type TimelineEventSort = (typeof TimelineEventSort)[keyof typeof TimelineEventSort];
149
+ /**
150
+ * @public
151
+ * @enum
152
+ */
153
+ export declare const SortOrder: {
154
+ readonly ASCENDING: "ASCENDING";
155
+ readonly DESCENDING: "DESCENDING";
156
+ };
157
+ /**
158
+ * @public
159
+ */
160
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
@@ -1,5 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceType, ServiceCode } from "./models_0";
2
+ import { ResourceType, ServiceCode } from "./enums";
3
3
  import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
4
4
  /**
5
5
  * <p>You don't have sufficient access to perform this operation.</p>
@@ -1,15 +1,4 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const VariableType: {
6
- readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
7
- readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
8
- };
9
- /**
10
- * @public
11
- */
12
- export type VariableType = (typeof VariableType)[keyof typeof VariableType];
1
+ import { IncidentRecordStatus, ItemType, RegionStatus, ReplicationSetStatus, SortOrder, SsmTargetAccount, TimelineEventSort, VariableType } from "./enums";
13
2
  /**
14
3
  * <p>The dynamic SSM parameter value.</p>
15
4
  * @public
@@ -44,18 +33,6 @@ export declare namespace DynamicSsmParameterValue {
44
33
  _: (name: string, value: any) => T;
45
34
  }
46
35
  }
47
- /**
48
- * @public
49
- * @enum
50
- */
51
- export declare const SsmTargetAccount: {
52
- readonly IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT";
53
- readonly RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT";
54
- };
55
- /**
56
- * @public
57
- */
58
- export type SsmTargetAccount = (typeof SsmTargetAccount)[keyof typeof SsmTargetAccount];
59
36
  /**
60
37
  * <p>Details about the Systems Manager automation document that will be used as a runbook
61
38
  * during an incident.</p>
@@ -411,32 +388,6 @@ export interface BatchGetIncidentFindingsOutput {
411
388
  */
412
389
  errors: BatchGetIncidentFindingsError[] | undefined;
413
390
  }
414
- /**
415
- * @public
416
- * @enum
417
- */
418
- export declare const ResourceType: {
419
- readonly INCIDENT_RECORD: "INCIDENT_RECORD";
420
- readonly REPLICATION_SET: "REPLICATION_SET";
421
- readonly RESOURCE_POLICY: "RESOURCE_POLICY";
422
- readonly RESPONSE_PLAN: "RESPONSE_PLAN";
423
- readonly TIMELINE_EVENT: "TIMELINE_EVENT";
424
- };
425
- /**
426
- * @public
427
- */
428
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
429
- /**
430
- * @public
431
- * @enum
432
- */
433
- export declare const ServiceCode: {
434
- readonly SSM_INCIDENTS: "ssm-incidents";
435
- };
436
- /**
437
- * @public
438
- */
439
- export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
440
391
  /**
441
392
  * <p>Used to remove the chat channel from an incident record or response plan.</p>
442
393
  * @public
@@ -1148,18 +1099,6 @@ export interface IncidentRecordSource {
1148
1099
  */
1149
1100
  source: string | undefined;
1150
1101
  }
1151
- /**
1152
- * @public
1153
- * @enum
1154
- */
1155
- export declare const IncidentRecordStatus: {
1156
- readonly OPEN: "OPEN";
1157
- readonly RESOLVED: "RESOLVED";
1158
- };
1159
- /**
1160
- * @public
1161
- */
1162
- export type IncidentRecordStatus = (typeof IncidentRecordStatus)[keyof typeof IncidentRecordStatus];
1163
1102
  /**
1164
1103
  * <p>The record of the incident that's created when an incident occurs.</p>
1165
1104
  * @public
@@ -1284,32 +1223,6 @@ export interface GetReplicationSetInput {
1284
1223
  */
1285
1224
  arn: string | undefined;
1286
1225
  }
1287
- /**
1288
- * @public
1289
- * @enum
1290
- */
1291
- export declare const RegionStatus: {
1292
- /**
1293
- * All operations have completed successfully and the region is ready to use
1294
- */
1295
- readonly ACTIVE: "ACTIVE";
1296
- /**
1297
- * The region is in the process of being created.
1298
- */
1299
- readonly CREATING: "CREATING";
1300
- /**
1301
- * The region is in the process of being deleted.
1302
- */
1303
- readonly DELETING: "DELETING";
1304
- /**
1305
- * The region is not healthy and we cannot automatically fix it.
1306
- */
1307
- readonly FAILED: "FAILED";
1308
- };
1309
- /**
1310
- * @public
1311
- */
1312
- export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
1313
1226
  /**
1314
1227
  * <p>Information about a Amazon Web Services Region in your replication set.</p>
1315
1228
  * @public
@@ -1336,36 +1249,6 @@ export interface RegionInfo {
1336
1249
  */
1337
1250
  statusUpdateDateTime: Date | undefined;
1338
1251
  }
1339
- /**
1340
- * @public
1341
- * @enum
1342
- */
1343
- export declare const ReplicationSetStatus: {
1344
- /**
1345
- * All operations have completed successfully and the replication set is ready to use
1346
- */
1347
- readonly ACTIVE: "ACTIVE";
1348
- /**
1349
- * Replication set is in the process of being created.
1350
- */
1351
- readonly CREATING: "CREATING";
1352
- /**
1353
- * Replication set is in the process of being deleted.
1354
- */
1355
- readonly DELETING: "DELETING";
1356
- /**
1357
- * Replication set is not healthy and we cannot fix it.
1358
- */
1359
- readonly FAILED: "FAILED";
1360
- /**
1361
- * Replication set is in the process of being updated.
1362
- */
1363
- readonly UPDATING: "UPDATING";
1364
- };
1365
- /**
1366
- * @public
1367
- */
1368
- export type ReplicationSetStatus = (typeof ReplicationSetStatus)[keyof typeof ReplicationSetStatus];
1369
1252
  /**
1370
1253
  * <p>The set of Amazon Web Services Region that your Incident Manager data will be replicated to and
1371
1254
  * the KMS key used to encrypt the data. </p>
@@ -1653,25 +1536,6 @@ export interface IncidentRecordSummary {
1653
1536
  */
1654
1537
  incidentRecordSource: IncidentRecordSource | undefined;
1655
1538
  }
1656
- /**
1657
- * @public
1658
- * @enum
1659
- */
1660
- export declare const ItemType: {
1661
- readonly ANALYSIS: "ANALYSIS";
1662
- readonly ATTACHMENT: "ATTACHMENT";
1663
- readonly AUTOMATION: "AUTOMATION";
1664
- readonly INCIDENT: "INCIDENT";
1665
- readonly INVOLVED_RESOURCE: "INVOLVED_RESOURCE";
1666
- readonly METRIC: "METRIC";
1667
- readonly OTHER: "OTHER";
1668
- readonly PARENT: "PARENT";
1669
- readonly TASK: "TASK";
1670
- };
1671
- /**
1672
- * @public
1673
- */
1674
- export type ItemType = (typeof ItemType)[keyof typeof ItemType];
1675
1539
  /**
1676
1540
  * <p>Details about the PagerDuty incident associated with an incident created by an Incident Manager
1677
1541
  * response plan.</p>
@@ -2068,29 +1932,6 @@ export interface ListTagsForResourceResponse {
2068
1932
  */
2069
1933
  tags: Record<string, string> | undefined;
2070
1934
  }
2071
- /**
2072
- * @public
2073
- * @enum
2074
- */
2075
- export declare const TimelineEventSort: {
2076
- readonly EVENT_TIME: "EVENT_TIME";
2077
- };
2078
- /**
2079
- * @public
2080
- */
2081
- export type TimelineEventSort = (typeof TimelineEventSort)[keyof typeof TimelineEventSort];
2082
- /**
2083
- * @public
2084
- * @enum
2085
- */
2086
- export declare const SortOrder: {
2087
- readonly ASCENDING: "ASCENDING";
2088
- readonly DESCENDING: "DESCENDING";
2089
- };
2090
- /**
2091
- * @public
2092
- */
2093
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
2094
1935
  /**
2095
1936
  * @public
2096
1937
  */
@@ -6,6 +6,7 @@ export { SSMIncidentsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
+ export * from "./models/enums";
9
10
  export * from "./models/errors";
10
11
  export * from "./models/models_0";
11
12
  export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException";
@@ -0,0 +1,67 @@
1
+ export declare const VariableType: {
2
+ readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
3
+ readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
4
+ };
5
+ export type VariableType = (typeof VariableType)[keyof typeof VariableType];
6
+ export declare const SsmTargetAccount: {
7
+ readonly IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT";
8
+ readonly RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT";
9
+ };
10
+ export type SsmTargetAccount =
11
+ (typeof SsmTargetAccount)[keyof typeof SsmTargetAccount];
12
+ export declare const ResourceType: {
13
+ readonly INCIDENT_RECORD: "INCIDENT_RECORD";
14
+ readonly REPLICATION_SET: "REPLICATION_SET";
15
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
16
+ readonly RESPONSE_PLAN: "RESPONSE_PLAN";
17
+ readonly TIMELINE_EVENT: "TIMELINE_EVENT";
18
+ };
19
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
20
+ export declare const ServiceCode: {
21
+ readonly SSM_INCIDENTS: "ssm-incidents";
22
+ };
23
+ export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
24
+ export declare const IncidentRecordStatus: {
25
+ readonly OPEN: "OPEN";
26
+ readonly RESOLVED: "RESOLVED";
27
+ };
28
+ export type IncidentRecordStatus =
29
+ (typeof IncidentRecordStatus)[keyof typeof IncidentRecordStatus];
30
+ export declare const RegionStatus: {
31
+ readonly ACTIVE: "ACTIVE";
32
+ readonly CREATING: "CREATING";
33
+ readonly DELETING: "DELETING";
34
+ readonly FAILED: "FAILED";
35
+ };
36
+ export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
37
+ export declare const ReplicationSetStatus: {
38
+ readonly ACTIVE: "ACTIVE";
39
+ readonly CREATING: "CREATING";
40
+ readonly DELETING: "DELETING";
41
+ readonly FAILED: "FAILED";
42
+ readonly UPDATING: "UPDATING";
43
+ };
44
+ export type ReplicationSetStatus =
45
+ (typeof ReplicationSetStatus)[keyof typeof ReplicationSetStatus];
46
+ export declare const ItemType: {
47
+ readonly ANALYSIS: "ANALYSIS";
48
+ readonly ATTACHMENT: "ATTACHMENT";
49
+ readonly AUTOMATION: "AUTOMATION";
50
+ readonly INCIDENT: "INCIDENT";
51
+ readonly INVOLVED_RESOURCE: "INVOLVED_RESOURCE";
52
+ readonly METRIC: "METRIC";
53
+ readonly OTHER: "OTHER";
54
+ readonly PARENT: "PARENT";
55
+ readonly TASK: "TASK";
56
+ };
57
+ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
58
+ export declare const TimelineEventSort: {
59
+ readonly EVENT_TIME: "EVENT_TIME";
60
+ };
61
+ export type TimelineEventSort =
62
+ (typeof TimelineEventSort)[keyof typeof TimelineEventSort];
63
+ export declare const SortOrder: {
64
+ readonly ASCENDING: "ASCENDING";
65
+ readonly DESCENDING: "DESCENDING";
66
+ };
67
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
@@ -1,5 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ResourceType, ServiceCode } from "./models_0";
2
+ import { ResourceType, ServiceCode } from "./enums";
3
3
  import { SSMIncidentsServiceException as __BaseException } from "./SSMIncidentsServiceException";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
5
  readonly name: "AccessDeniedException";
@@ -1,8 +1,13 @@
1
- export declare const VariableType: {
2
- readonly INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN";
3
- readonly INVOLVED_RESOURCES: "INVOLVED_RESOURCES";
4
- };
5
- export type VariableType = (typeof VariableType)[keyof typeof VariableType];
1
+ import {
2
+ IncidentRecordStatus,
3
+ ItemType,
4
+ RegionStatus,
5
+ ReplicationSetStatus,
6
+ SortOrder,
7
+ SsmTargetAccount,
8
+ TimelineEventSort,
9
+ VariableType,
10
+ } from "./enums";
6
11
  export type DynamicSsmParameterValue =
7
12
  | DynamicSsmParameterValue.VariableMember
8
13
  | DynamicSsmParameterValue.$UnknownMember;
@@ -20,12 +25,6 @@ export declare namespace DynamicSsmParameterValue {
20
25
  _: (name: string, value: any) => T;
21
26
  }
22
27
  }
23
- export declare const SsmTargetAccount: {
24
- readonly IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT";
25
- readonly RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT";
26
- };
27
- export type SsmTargetAccount =
28
- (typeof SsmTargetAccount)[keyof typeof SsmTargetAccount];
29
28
  export interface SsmAutomation {
30
29
  roleArn: string | undefined;
31
30
  documentName: string | undefined;
@@ -152,18 +151,6 @@ export interface BatchGetIncidentFindingsOutput {
152
151
  findings: Finding[] | undefined;
153
152
  errors: BatchGetIncidentFindingsError[] | undefined;
154
153
  }
155
- export declare const ResourceType: {
156
- readonly INCIDENT_RECORD: "INCIDENT_RECORD";
157
- readonly REPLICATION_SET: "REPLICATION_SET";
158
- readonly RESOURCE_POLICY: "RESOURCE_POLICY";
159
- readonly RESPONSE_PLAN: "RESPONSE_PLAN";
160
- readonly TIMELINE_EVENT: "TIMELINE_EVENT";
161
- };
162
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
163
- export declare const ServiceCode: {
164
- readonly SSM_INCIDENTS: "ssm-incidents";
165
- };
166
- export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
167
154
  export interface EmptyChatChannel {}
168
155
  export type ChatChannel =
169
156
  | ChatChannel.ChatbotSnsMember
@@ -391,12 +378,6 @@ export interface IncidentRecordSource {
391
378
  resourceArn?: string | undefined;
392
379
  source: string | undefined;
393
380
  }
394
- export declare const IncidentRecordStatus: {
395
- readonly OPEN: "OPEN";
396
- readonly RESOLVED: "RESOLVED";
397
- };
398
- export type IncidentRecordStatus =
399
- (typeof IncidentRecordStatus)[keyof typeof IncidentRecordStatus];
400
381
  export interface IncidentRecord {
401
382
  arn: string | undefined;
402
383
  title: string | undefined;
@@ -419,28 +400,12 @@ export interface GetIncidentRecordOutput {
419
400
  export interface GetReplicationSetInput {
420
401
  arn: string | undefined;
421
402
  }
422
- export declare const RegionStatus: {
423
- readonly ACTIVE: "ACTIVE";
424
- readonly CREATING: "CREATING";
425
- readonly DELETING: "DELETING";
426
- readonly FAILED: "FAILED";
427
- };
428
- export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
429
403
  export interface RegionInfo {
430
404
  sseKmsKeyId?: string | undefined;
431
405
  status: RegionStatus | undefined;
432
406
  statusMessage?: string | undefined;
433
407
  statusUpdateDateTime: Date | undefined;
434
408
  }
435
- export declare const ReplicationSetStatus: {
436
- readonly ACTIVE: "ACTIVE";
437
- readonly CREATING: "CREATING";
438
- readonly DELETING: "DELETING";
439
- readonly FAILED: "FAILED";
440
- readonly UPDATING: "UPDATING";
441
- };
442
- export type ReplicationSetStatus =
443
- (typeof ReplicationSetStatus)[keyof typeof ReplicationSetStatus];
444
409
  export interface ReplicationSet {
445
410
  arn?: string | undefined;
446
411
  regionMap: Record<string, RegionInfo> | undefined;
@@ -506,18 +471,6 @@ export interface IncidentRecordSummary {
506
471
  resolvedTime?: Date | undefined;
507
472
  incidentRecordSource: IncidentRecordSource | undefined;
508
473
  }
509
- export declare const ItemType: {
510
- readonly ANALYSIS: "ANALYSIS";
511
- readonly ATTACHMENT: "ATTACHMENT";
512
- readonly AUTOMATION: "AUTOMATION";
513
- readonly INCIDENT: "INCIDENT";
514
- readonly INVOLVED_RESOURCE: "INVOLVED_RESOURCE";
515
- readonly METRIC: "METRIC";
516
- readonly OTHER: "OTHER";
517
- readonly PARENT: "PARENT";
518
- readonly TASK: "TASK";
519
- };
520
- export type ItemType = (typeof ItemType)[keyof typeof ItemType];
521
474
  export interface PagerDutyIncidentDetail {
522
475
  id: string | undefined;
523
476
  autoResolve?: boolean | undefined;
@@ -636,16 +589,6 @@ export interface ListTagsForResourceRequest {
636
589
  export interface ListTagsForResourceResponse {
637
590
  tags: Record<string, string> | undefined;
638
591
  }
639
- export declare const TimelineEventSort: {
640
- readonly EVENT_TIME: "EVENT_TIME";
641
- };
642
- export type TimelineEventSort =
643
- (typeof TimelineEventSort)[keyof typeof TimelineEventSort];
644
- export declare const SortOrder: {
645
- readonly ASCENDING: "ASCENDING";
646
- readonly DESCENDING: "DESCENDING";
647
- };
648
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
649
592
  export interface ListTimelineEventsInput {
650
593
  incidentRecordArn: string | undefined;
651
594
  filters?: Filter[] | undefined;
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.936.0",
4
+ "version": "3.940.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,17 +20,17 @@
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.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",