@aws-sdk/client-ssm-incidents 3.35.0 → 3.38.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.
Files changed (303) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/SSMIncidents.js +0 -11
  3. package/dist-cjs/SSMIncidentsClient.js +0 -16
  4. package/dist-cjs/commands/CreateReplicationSetCommand.js +0 -26
  5. package/dist-cjs/commands/CreateResponsePlanCommand.js +0 -28
  6. package/dist-cjs/commands/CreateTimelineEventCommand.js +0 -28
  7. package/dist-cjs/commands/DeleteIncidentRecordCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteReplicationSetCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -27
  10. package/dist-cjs/commands/DeleteResponsePlanCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteTimelineEventCommand.js +0 -25
  12. package/dist-cjs/commands/GetIncidentRecordCommand.js +0 -25
  13. package/dist-cjs/commands/GetReplicationSetCommand.js +0 -25
  14. package/dist-cjs/commands/GetResourcePoliciesCommand.js +0 -25
  15. package/dist-cjs/commands/GetResponsePlanCommand.js +0 -25
  16. package/dist-cjs/commands/GetTimelineEventCommand.js +0 -25
  17. package/dist-cjs/commands/ListIncidentRecordsCommand.js +0 -26
  18. package/dist-cjs/commands/ListRelatedItemsCommand.js +0 -25
  19. package/dist-cjs/commands/ListReplicationSetsCommand.js +0 -25
  20. package/dist-cjs/commands/ListResponsePlansCommand.js +0 -25
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  22. package/dist-cjs/commands/ListTimelineEventsCommand.js +0 -25
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -25
  24. package/dist-cjs/commands/StartIncidentCommand.js +0 -25
  25. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  26. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  27. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +0 -26
  28. package/dist-cjs/commands/UpdateIncidentRecordCommand.js +0 -27
  29. package/dist-cjs/commands/UpdateRelatedItemsCommand.js +0 -25
  30. package/dist-cjs/commands/UpdateReplicationSetCommand.js +0 -25
  31. package/dist-cjs/commands/UpdateResponsePlanCommand.js +0 -25
  32. package/dist-cjs/commands/UpdateTimelineEventCommand.js +0 -26
  33. package/dist-cjs/commands/index.js +32 -0
  34. package/dist-cjs/endpoints.js +1 -2
  35. package/dist-cjs/index.js +5 -41
  36. package/dist-cjs/models/index.js +0 -1
  37. package/dist-cjs/models/models_0.js +0 -307
  38. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +0 -11
  39. package/dist-cjs/pagination/Interfaces.js +0 -1
  40. package/dist-cjs/pagination/ListIncidentRecordsPaginator.js +0 -11
  41. package/dist-cjs/pagination/ListRelatedItemsPaginator.js +0 -11
  42. package/dist-cjs/pagination/ListReplicationSetsPaginator.js +0 -11
  43. package/dist-cjs/pagination/ListResponsePlansPaginator.js +0 -11
  44. package/dist-cjs/pagination/ListTimelineEventsPaginator.js +0 -11
  45. package/dist-cjs/pagination/index.js +10 -0
  46. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  47. package/dist-cjs/runtimeConfig.browser.js +1 -6
  48. package/dist-cjs/runtimeConfig.js +2 -7
  49. package/dist-cjs/runtimeConfig.native.js +0 -4
  50. package/dist-cjs/runtimeConfig.shared.js +0 -4
  51. package/dist-cjs/waiters/index.js +5 -0
  52. package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js +0 -10
  53. package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js +0 -10
  54. package/dist-es/SSMIncidents.js +0 -1
  55. package/dist-es/SSMIncidentsClient.js +0 -1
  56. package/dist-es/commands/CreateReplicationSetCommand.js +0 -1
  57. package/dist-es/commands/CreateResponsePlanCommand.js +0 -1
  58. package/dist-es/commands/CreateTimelineEventCommand.js +0 -1
  59. package/dist-es/commands/DeleteIncidentRecordCommand.js +0 -1
  60. package/dist-es/commands/DeleteReplicationSetCommand.js +0 -1
  61. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
  62. package/dist-es/commands/DeleteResponsePlanCommand.js +0 -1
  63. package/dist-es/commands/DeleteTimelineEventCommand.js +0 -1
  64. package/dist-es/commands/GetIncidentRecordCommand.js +0 -1
  65. package/dist-es/commands/GetReplicationSetCommand.js +0 -1
  66. package/dist-es/commands/GetResourcePoliciesCommand.js +0 -1
  67. package/dist-es/commands/GetResponsePlanCommand.js +0 -1
  68. package/dist-es/commands/GetTimelineEventCommand.js +0 -1
  69. package/dist-es/commands/ListIncidentRecordsCommand.js +0 -1
  70. package/dist-es/commands/ListRelatedItemsCommand.js +0 -1
  71. package/dist-es/commands/ListReplicationSetsCommand.js +0 -1
  72. package/dist-es/commands/ListResponsePlansCommand.js +0 -1
  73. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  74. package/dist-es/commands/ListTimelineEventsCommand.js +0 -1
  75. package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
  76. package/dist-es/commands/StartIncidentCommand.js +0 -1
  77. package/dist-es/commands/TagResourceCommand.js +0 -1
  78. package/dist-es/commands/UntagResourceCommand.js +0 -1
  79. package/dist-es/commands/UpdateDeletionProtectionCommand.js +0 -1
  80. package/dist-es/commands/UpdateIncidentRecordCommand.js +0 -1
  81. package/dist-es/commands/UpdateRelatedItemsCommand.js +0 -1
  82. package/dist-es/commands/UpdateReplicationSetCommand.js +0 -1
  83. package/dist-es/commands/UpdateResponsePlanCommand.js +0 -1
  84. package/dist-es/commands/UpdateTimelineEventCommand.js +0 -1
  85. package/dist-es/commands/index.js +29 -0
  86. package/dist-es/endpoints.js +1 -2
  87. package/dist-es/index.js +5 -41
  88. package/dist-es/models/index.js +0 -1
  89. package/dist-es/models/models_0.js +0 -1
  90. package/dist-es/pagination/GetResourcePoliciesPaginator.js +0 -1
  91. package/dist-es/pagination/Interfaces.js +0 -1
  92. package/dist-es/pagination/ListIncidentRecordsPaginator.js +0 -1
  93. package/dist-es/pagination/ListRelatedItemsPaginator.js +0 -1
  94. package/dist-es/pagination/ListReplicationSetsPaginator.js +0 -1
  95. package/dist-es/pagination/ListResponsePlansPaginator.js +0 -1
  96. package/dist-es/pagination/ListTimelineEventsPaginator.js +0 -1
  97. package/dist-es/pagination/index.js +7 -0
  98. package/dist-es/protocols/Aws_restJson1.js +0 -1
  99. package/dist-es/runtimeConfig.browser.js +1 -2
  100. package/dist-es/runtimeConfig.js +2 -3
  101. package/dist-es/runtimeConfig.native.js +0 -1
  102. package/dist-es/runtimeConfig.shared.js +0 -1
  103. package/dist-es/waiters/index.js +2 -0
  104. package/dist-es/waiters/waitForWaitForReplicationSetActive.js +0 -1
  105. package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js +0 -1
  106. package/dist-types/commands/index.d.ts +29 -0
  107. package/dist-types/index.d.ts +5 -40
  108. package/dist-types/pagination/index.d.ts +7 -0
  109. package/dist-types/ts3.4/SSMIncidents.d.ts +30 -114
  110. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +24 -96
  111. package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +2 -21
  112. package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +2 -23
  113. package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +2 -23
  114. package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -22
  117. package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +2 -22
  118. package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +2 -21
  135. package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  141. package/dist-types/ts3.4/index.d.ts +5 -40
  142. package/dist-types/ts3.4/models/models_0.d.ts +364 -1300
  143. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  144. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  145. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  146. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  147. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  148. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  149. package/dist-types/ts3.4/waiters/waitForWaitForReplicationSetActive.d.ts +2 -9
  150. package/dist-types/ts3.4/waiters/waitForWaitForReplicationSetDeleted.d.ts +2 -9
  151. package/dist-types/waiters/index.d.ts +2 -0
  152. package/package.json +34 -31
  153. package/dist-cjs/SSMIncidents.js.map +0 -1
  154. package/dist-cjs/SSMIncidentsClient.js.map +0 -1
  155. package/dist-cjs/commands/CreateReplicationSetCommand.js.map +0 -1
  156. package/dist-cjs/commands/CreateResponsePlanCommand.js.map +0 -1
  157. package/dist-cjs/commands/CreateTimelineEventCommand.js.map +0 -1
  158. package/dist-cjs/commands/DeleteIncidentRecordCommand.js.map +0 -1
  159. package/dist-cjs/commands/DeleteReplicationSetCommand.js.map +0 -1
  160. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  161. package/dist-cjs/commands/DeleteResponsePlanCommand.js.map +0 -1
  162. package/dist-cjs/commands/DeleteTimelineEventCommand.js.map +0 -1
  163. package/dist-cjs/commands/GetIncidentRecordCommand.js.map +0 -1
  164. package/dist-cjs/commands/GetReplicationSetCommand.js.map +0 -1
  165. package/dist-cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
  166. package/dist-cjs/commands/GetResponsePlanCommand.js.map +0 -1
  167. package/dist-cjs/commands/GetTimelineEventCommand.js.map +0 -1
  168. package/dist-cjs/commands/ListIncidentRecordsCommand.js.map +0 -1
  169. package/dist-cjs/commands/ListRelatedItemsCommand.js.map +0 -1
  170. package/dist-cjs/commands/ListReplicationSetsCommand.js.map +0 -1
  171. package/dist-cjs/commands/ListResponsePlansCommand.js.map +0 -1
  172. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  173. package/dist-cjs/commands/ListTimelineEventsCommand.js.map +0 -1
  174. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  175. package/dist-cjs/commands/StartIncidentCommand.js.map +0 -1
  176. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  177. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  178. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js.map +0 -1
  179. package/dist-cjs/commands/UpdateIncidentRecordCommand.js.map +0 -1
  180. package/dist-cjs/commands/UpdateRelatedItemsCommand.js.map +0 -1
  181. package/dist-cjs/commands/UpdateReplicationSetCommand.js.map +0 -1
  182. package/dist-cjs/commands/UpdateResponsePlanCommand.js.map +0 -1
  183. package/dist-cjs/commands/UpdateTimelineEventCommand.js.map +0 -1
  184. package/dist-cjs/endpoints.js.map +0 -1
  185. package/dist-cjs/index.js.map +0 -1
  186. package/dist-cjs/models/index.js.map +0 -1
  187. package/dist-cjs/models/models_0.js.map +0 -1
  188. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  189. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  190. package/dist-cjs/pagination/ListIncidentRecordsPaginator.js.map +0 -1
  191. package/dist-cjs/pagination/ListRelatedItemsPaginator.js.map +0 -1
  192. package/dist-cjs/pagination/ListReplicationSetsPaginator.js.map +0 -1
  193. package/dist-cjs/pagination/ListResponsePlansPaginator.js.map +0 -1
  194. package/dist-cjs/pagination/ListTimelineEventsPaginator.js.map +0 -1
  195. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  196. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  197. package/dist-cjs/runtimeConfig.js.map +0 -1
  198. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  199. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  200. package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js.map +0 -1
  201. package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js.map +0 -1
  202. package/dist-es/SSMIncidents.js.map +0 -1
  203. package/dist-es/SSMIncidentsClient.js.map +0 -1
  204. package/dist-es/commands/CreateReplicationSetCommand.js.map +0 -1
  205. package/dist-es/commands/CreateResponsePlanCommand.js.map +0 -1
  206. package/dist-es/commands/CreateTimelineEventCommand.js.map +0 -1
  207. package/dist-es/commands/DeleteIncidentRecordCommand.js.map +0 -1
  208. package/dist-es/commands/DeleteReplicationSetCommand.js.map +0 -1
  209. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  210. package/dist-es/commands/DeleteResponsePlanCommand.js.map +0 -1
  211. package/dist-es/commands/DeleteTimelineEventCommand.js.map +0 -1
  212. package/dist-es/commands/GetIncidentRecordCommand.js.map +0 -1
  213. package/dist-es/commands/GetReplicationSetCommand.js.map +0 -1
  214. package/dist-es/commands/GetResourcePoliciesCommand.js.map +0 -1
  215. package/dist-es/commands/GetResponsePlanCommand.js.map +0 -1
  216. package/dist-es/commands/GetTimelineEventCommand.js.map +0 -1
  217. package/dist-es/commands/ListIncidentRecordsCommand.js.map +0 -1
  218. package/dist-es/commands/ListRelatedItemsCommand.js.map +0 -1
  219. package/dist-es/commands/ListReplicationSetsCommand.js.map +0 -1
  220. package/dist-es/commands/ListResponsePlansCommand.js.map +0 -1
  221. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  222. package/dist-es/commands/ListTimelineEventsCommand.js.map +0 -1
  223. package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
  224. package/dist-es/commands/StartIncidentCommand.js.map +0 -1
  225. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  226. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  227. package/dist-es/commands/UpdateDeletionProtectionCommand.js.map +0 -1
  228. package/dist-es/commands/UpdateIncidentRecordCommand.js.map +0 -1
  229. package/dist-es/commands/UpdateRelatedItemsCommand.js.map +0 -1
  230. package/dist-es/commands/UpdateReplicationSetCommand.js.map +0 -1
  231. package/dist-es/commands/UpdateResponsePlanCommand.js.map +0 -1
  232. package/dist-es/commands/UpdateTimelineEventCommand.js.map +0 -1
  233. package/dist-es/endpoints.js.map +0 -1
  234. package/dist-es/index.js.map +0 -1
  235. package/dist-es/models/index.js.map +0 -1
  236. package/dist-es/models/models_0.js.map +0 -1
  237. package/dist-es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  238. package/dist-es/pagination/Interfaces.js.map +0 -1
  239. package/dist-es/pagination/ListIncidentRecordsPaginator.js.map +0 -1
  240. package/dist-es/pagination/ListRelatedItemsPaginator.js.map +0 -1
  241. package/dist-es/pagination/ListReplicationSetsPaginator.js.map +0 -1
  242. package/dist-es/pagination/ListResponsePlansPaginator.js.map +0 -1
  243. package/dist-es/pagination/ListTimelineEventsPaginator.js.map +0 -1
  244. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  245. package/dist-es/runtimeConfig.browser.js.map +0 -1
  246. package/dist-es/runtimeConfig.js.map +0 -1
  247. package/dist-es/runtimeConfig.native.js.map +0 -1
  248. package/dist-es/runtimeConfig.shared.js.map +0 -1
  249. package/dist-es/waiters/waitForWaitForReplicationSetActive.js.map +0 -1
  250. package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js.map +0 -1
  251. package/jest.config.js +0 -4
  252. package/src/SSMIncidents.ts +0 -1095
  253. package/src/SSMIncidentsClient.ts +0 -372
  254. package/src/commands/CreateReplicationSetCommand.ts +0 -96
  255. package/src/commands/CreateResponsePlanCommand.ts +0 -98
  256. package/src/commands/CreateTimelineEventCommand.ts +0 -98
  257. package/src/commands/DeleteIncidentRecordCommand.ts +0 -95
  258. package/src/commands/DeleteReplicationSetCommand.ts +0 -96
  259. package/src/commands/DeleteResourcePolicyCommand.ts +0 -97
  260. package/src/commands/DeleteResponsePlanCommand.ts +0 -97
  261. package/src/commands/DeleteTimelineEventCommand.ts +0 -95
  262. package/src/commands/GetIncidentRecordCommand.ts +0 -95
  263. package/src/commands/GetReplicationSetCommand.ts +0 -95
  264. package/src/commands/GetResourcePoliciesCommand.ts +0 -95
  265. package/src/commands/GetResponsePlanCommand.ts +0 -95
  266. package/src/commands/GetTimelineEventCommand.ts +0 -95
  267. package/src/commands/ListIncidentRecordsCommand.ts +0 -96
  268. package/src/commands/ListRelatedItemsCommand.ts +0 -95
  269. package/src/commands/ListReplicationSetsCommand.ts +0 -95
  270. package/src/commands/ListResponsePlansCommand.ts +0 -95
  271. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  272. package/src/commands/ListTimelineEventsCommand.ts +0 -95
  273. package/src/commands/PutResourcePolicyCommand.ts +0 -95
  274. package/src/commands/StartIncidentCommand.ts +0 -95
  275. package/src/commands/TagResourceCommand.ts +0 -95
  276. package/src/commands/UntagResourceCommand.ts +0 -95
  277. package/src/commands/UpdateDeletionProtectionCommand.ts +0 -96
  278. package/src/commands/UpdateIncidentRecordCommand.ts +0 -97
  279. package/src/commands/UpdateRelatedItemsCommand.ts +0 -95
  280. package/src/commands/UpdateReplicationSetCommand.ts +0 -95
  281. package/src/commands/UpdateResponsePlanCommand.ts +0 -95
  282. package/src/commands/UpdateTimelineEventCommand.ts +0 -96
  283. package/src/endpoints.ts +0 -57
  284. package/src/index.ts +0 -41
  285. package/src/models/index.ts +0 -1
  286. package/src/models/models_0.ts +0 -2883
  287. package/src/pagination/GetResourcePoliciesPaginator.ts +0 -59
  288. package/src/pagination/Interfaces.ts +0 -8
  289. package/src/pagination/ListIncidentRecordsPaginator.ts +0 -59
  290. package/src/pagination/ListRelatedItemsPaginator.ts +0 -59
  291. package/src/pagination/ListReplicationSetsPaginator.ts +0 -59
  292. package/src/pagination/ListResponsePlansPaginator.ts +0 -59
  293. package/src/pagination/ListTimelineEventsPaginator.ts +0 -59
  294. package/src/protocols/Aws_restJson1.ts +0 -4502
  295. package/src/runtimeConfig.browser.ts +0 -41
  296. package/src/runtimeConfig.native.ts +0 -17
  297. package/src/runtimeConfig.shared.ts +0 -17
  298. package/src/runtimeConfig.ts +0 -46
  299. package/src/waiters/waitForWaitForReplicationSetActive.ts +0 -71
  300. package/src/waiters/waitForWaitForReplicationSetDeleted.ts +0 -58
  301. package/tsconfig.es.json +0 -10
  302. package/tsconfig.json +0 -33
  303. package/tsconfig.types.json +0 -9
@@ -1,2883 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>You don't have sufficient access to perform this action.</p>
5
- */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- message: string | undefined;
10
- }
11
-
12
- export namespace AccessDeniedException {
13
- /**
14
- * @internal
15
- */
16
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
17
- ...obj,
18
- });
19
- }
20
-
21
- export enum SsmTargetAccount {
22
- IMPACTED_ACCOUNT = "IMPACTED_ACCOUNT",
23
- RESPONSE_PLAN_OWNER_ACCOUNT = "RESPONSE_PLAN_OWNER_ACCOUNT",
24
- }
25
-
26
- /**
27
- * <p>Details about the Systems Manager automation document that will be used as a runbook during an incident.</p>
28
- */
29
- export interface SsmAutomation {
30
- /**
31
- * <p>The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.</p>
32
- */
33
- roleArn: string | undefined;
34
-
35
- /**
36
- * <p>The automation document's name.</p>
37
- */
38
- documentName: string | undefined;
39
-
40
- /**
41
- * <p>The automation document's version to use when running.</p>
42
- */
43
- documentVersion?: string;
44
-
45
- /**
46
- * <p>The account that the automation document will be run in. This can be in either the management account or an application account.</p>
47
- */
48
- targetAccount?: SsmTargetAccount | string;
49
-
50
- /**
51
- * <p>The key-value pair parameters to use when running the automation document.</p>
52
- */
53
- parameters?: { [key: string]: string[] };
54
- }
55
-
56
- export namespace SsmAutomation {
57
- /**
58
- * @internal
59
- */
60
- export const filterSensitiveLog = (obj: SsmAutomation): any => ({
61
- ...obj,
62
- });
63
- }
64
-
65
- /**
66
- * <p>The action that starts at the beginning of an incident. The response plan defines the
67
- * action.</p>
68
- */
69
- export type Action = Action.SsmAutomationMember | Action.$UnknownMember;
70
-
71
- export namespace Action {
72
- /**
73
- * <p>The Systems Manager automation document to start as the runbook at the beginning of the
74
- * incident.</p>
75
- */
76
- export interface SsmAutomationMember {
77
- ssmAutomation: SsmAutomation;
78
- $unknown?: never;
79
- }
80
-
81
- export interface $UnknownMember {
82
- ssmAutomation?: never;
83
- $unknown: [string, any];
84
- }
85
-
86
- export interface Visitor<T> {
87
- ssmAutomation: (value: SsmAutomation) => T;
88
- _: (name: string, value: any) => T;
89
- }
90
-
91
- export const visit = <T>(value: Action, visitor: Visitor<T>): T => {
92
- if (value.ssmAutomation !== undefined) return visitor.ssmAutomation(value.ssmAutomation);
93
- return visitor._(value.$unknown[0], value.$unknown[1]);
94
- };
95
-
96
- /**
97
- * @internal
98
- */
99
- export const filterSensitiveLog = (obj: Action): any => {
100
- if (obj.ssmAutomation !== undefined) return { ssmAutomation: SsmAutomation.filterSensitiveLog(obj.ssmAutomation) };
101
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
102
- };
103
- }
104
-
105
- /**
106
- * <p>Defines the Region and KMS key to add to the replication set. </p>
107
- */
108
- export interface AddRegionAction {
109
- /**
110
- * <p>The Region name to add to the replication set.</p>
111
- */
112
- regionName: string | undefined;
113
-
114
- /**
115
- * <p>The KMS key ID to use to encrypt your replication set.</p>
116
- */
117
- sseKmsKeyId?: string;
118
- }
119
-
120
- export namespace AddRegionAction {
121
- /**
122
- * @internal
123
- */
124
- export const filterSensitiveLog = (obj: AddRegionAction): any => ({
125
- ...obj,
126
- });
127
- }
128
-
129
- /**
130
- * <p>Use the AttributeValueList to filter by string or integer values.</p>
131
- */
132
- export type AttributeValueList =
133
- | AttributeValueList.IntegerValuesMember
134
- | AttributeValueList.StringValuesMember
135
- | AttributeValueList.$UnknownMember;
136
-
137
- export namespace AttributeValueList {
138
- /**
139
- * <p>The list of string values that the filter matches.</p>
140
- */
141
- export interface StringValuesMember {
142
- stringValues: string[];
143
- integerValues?: never;
144
- $unknown?: never;
145
- }
146
-
147
- /**
148
- * <p>The list of integer values that the filter matches.</p>
149
- */
150
- export interface IntegerValuesMember {
151
- stringValues?: never;
152
- integerValues: number[];
153
- $unknown?: never;
154
- }
155
-
156
- export interface $UnknownMember {
157
- stringValues?: never;
158
- integerValues?: never;
159
- $unknown: [string, any];
160
- }
161
-
162
- export interface Visitor<T> {
163
- stringValues: (value: string[]) => T;
164
- integerValues: (value: number[]) => T;
165
- _: (name: string, value: any) => T;
166
- }
167
-
168
- export const visit = <T>(value: AttributeValueList, visitor: Visitor<T>): T => {
169
- if (value.stringValues !== undefined) return visitor.stringValues(value.stringValues);
170
- if (value.integerValues !== undefined) return visitor.integerValues(value.integerValues);
171
- return visitor._(value.$unknown[0], value.$unknown[1]);
172
- };
173
-
174
- /**
175
- * @internal
176
- */
177
- export const filterSensitiveLog = (obj: AttributeValueList): any => {
178
- if (obj.stringValues !== undefined) return { stringValues: obj.stringValues };
179
- if (obj.integerValues !== undefined) return { integerValues: obj.integerValues };
180
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
181
- };
182
- }
183
-
184
- /**
185
- * <p>The Systems Manager automation document
186
- * process
187
- * to start as the runbook at the beginning of the incident.</p>
188
- */
189
- export type AutomationExecution = AutomationExecution.SsmExecutionArnMember | AutomationExecution.$UnknownMember;
190
-
191
- export namespace AutomationExecution {
192
- /**
193
- * <p>The Amazon Resource Name (ARN) of the automation process.</p>
194
- */
195
- export interface SsmExecutionArnMember {
196
- ssmExecutionArn: string;
197
- $unknown?: never;
198
- }
199
-
200
- export interface $UnknownMember {
201
- ssmExecutionArn?: never;
202
- $unknown: [string, any];
203
- }
204
-
205
- export interface Visitor<T> {
206
- ssmExecutionArn: (value: string) => T;
207
- _: (name: string, value: any) => T;
208
- }
209
-
210
- export const visit = <T>(value: AutomationExecution, visitor: Visitor<T>): T => {
211
- if (value.ssmExecutionArn !== undefined) return visitor.ssmExecutionArn(value.ssmExecutionArn);
212
- return visitor._(value.$unknown[0], value.$unknown[1]);
213
- };
214
-
215
- /**
216
- * @internal
217
- */
218
- export const filterSensitiveLog = (obj: AutomationExecution): any => {
219
- if (obj.ssmExecutionArn !== undefined) return { ssmExecutionArn: obj.ssmExecutionArn };
220
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
221
- };
222
- }
223
-
224
- /**
225
- * <p>Used to remove the chat channel from an incident record or response plan.</p>
226
- */
227
- export interface EmptyChatChannel {}
228
-
229
- export namespace EmptyChatChannel {
230
- /**
231
- * @internal
232
- */
233
- export const filterSensitiveLog = (obj: EmptyChatChannel): any => ({
234
- ...obj,
235
- });
236
- }
237
-
238
- /**
239
- * <p>The AWS Chatbot chat channel used for collaboration during an incident.</p>
240
- */
241
- export type ChatChannel = ChatChannel.ChatbotSnsMember | ChatChannel.EmptyMember | ChatChannel.$UnknownMember;
242
-
243
- export namespace ChatChannel {
244
- /**
245
- * <p>Used to remove the chat channel from an incident record or response plan.</p>
246
- */
247
- export interface EmptyMember {
248
- empty: EmptyChatChannel;
249
- chatbotSns?: never;
250
- $unknown?: never;
251
- }
252
-
253
- /**
254
- * <p>The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an
255
- * incident. You can also make updates to the incident through the chat channel
256
- * by
257
- * using the SNS topics. </p>
258
- */
259
- export interface ChatbotSnsMember {
260
- empty?: never;
261
- chatbotSns: string[];
262
- $unknown?: never;
263
- }
264
-
265
- export interface $UnknownMember {
266
- empty?: never;
267
- chatbotSns?: never;
268
- $unknown: [string, any];
269
- }
270
-
271
- export interface Visitor<T> {
272
- empty: (value: EmptyChatChannel) => T;
273
- chatbotSns: (value: string[]) => T;
274
- _: (name: string, value: any) => T;
275
- }
276
-
277
- export const visit = <T>(value: ChatChannel, visitor: Visitor<T>): T => {
278
- if (value.empty !== undefined) return visitor.empty(value.empty);
279
- if (value.chatbotSns !== undefined) return visitor.chatbotSns(value.chatbotSns);
280
- return visitor._(value.$unknown[0], value.$unknown[1]);
281
- };
282
-
283
- /**
284
- * @internal
285
- */
286
- export const filterSensitiveLog = (obj: ChatChannel): any => {
287
- if (obj.empty !== undefined) return { empty: EmptyChatChannel.filterSensitiveLog(obj.empty) };
288
- if (obj.chatbotSns !== undefined) return { chatbotSns: obj.chatbotSns };
289
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
290
- };
291
- }
292
-
293
- /**
294
- * <p>A conditional statement with which to compare a value, after a timestamp, before a
295
- * timestamp, or equal to a string or integer. If multiple conditions are specified, the
296
- * conditionals become an <code>AND</code>ed statement. If multiple values are specified for a
297
- * conditional, the values are <code>OR</code>d.</p>
298
- */
299
- export type Condition =
300
- | Condition.AfterMember
301
- | Condition.BeforeMember
302
- | Condition.EqualsMember
303
- | Condition.$UnknownMember;
304
-
305
- export namespace Condition {
306
- /**
307
- * <p>Before the specified timestamp</p>
308
- */
309
- export interface BeforeMember {
310
- before: Date;
311
- after?: never;
312
- equals?: never;
313
- $unknown?: never;
314
- }
315
-
316
- /**
317
- * <p>After the specified timestamp.</p>
318
- */
319
- export interface AfterMember {
320
- before?: never;
321
- after: Date;
322
- equals?: never;
323
- $unknown?: never;
324
- }
325
-
326
- /**
327
- * <p>The value is equal to the provided string or integer. </p>
328
- */
329
- export interface EqualsMember {
330
- before?: never;
331
- after?: never;
332
- equals: AttributeValueList;
333
- $unknown?: never;
334
- }
335
-
336
- export interface $UnknownMember {
337
- before?: never;
338
- after?: never;
339
- equals?: never;
340
- $unknown: [string, any];
341
- }
342
-
343
- export interface Visitor<T> {
344
- before: (value: Date) => T;
345
- after: (value: Date) => T;
346
- equals: (value: AttributeValueList) => T;
347
- _: (name: string, value: any) => T;
348
- }
349
-
350
- export const visit = <T>(value: Condition, visitor: Visitor<T>): T => {
351
- if (value.before !== undefined) return visitor.before(value.before);
352
- if (value.after !== undefined) return visitor.after(value.after);
353
- if (value.equals !== undefined) return visitor.equals(value.equals);
354
- return visitor._(value.$unknown[0], value.$unknown[1]);
355
- };
356
-
357
- /**
358
- * @internal
359
- */
360
- export const filterSensitiveLog = (obj: Condition): any => {
361
- if (obj.before !== undefined) return { before: obj.before };
362
- if (obj.after !== undefined) return { after: obj.after };
363
- if (obj.equals !== undefined) return { equals: AttributeValueList.filterSensitiveLog(obj.equals) };
364
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
365
- };
366
- }
367
-
368
- export enum ResourceType {
369
- INCIDENT_RECORD = "INCIDENT_RECORD",
370
- REPLICATION_SET = "REPLICATION_SET",
371
- RESOURCE_POLICY = "RESOURCE_POLICY",
372
- RESPONSE_PLAN = "RESPONSE_PLAN",
373
- TIMELINE_EVENT = "TIMELINE_EVENT",
374
- }
375
-
376
- /**
377
- * <p>Updating or deleting a resource causes an inconsistent state.</p>
378
- */
379
- export interface ConflictException extends __SmithyException, $MetadataBearer {
380
- name: "ConflictException";
381
- $fault: "client";
382
- message: string | undefined;
383
- /**
384
- * The identifier of the requested resource
385
- */
386
- resourceIdentifier?: string;
387
-
388
- /**
389
- * The resource type
390
- */
391
- resourceType?: ResourceType | string;
392
- }
393
-
394
- export namespace ConflictException {
395
- /**
396
- * @internal
397
- */
398
- export const filterSensitiveLog = (obj: ConflictException): any => ({
399
- ...obj,
400
- });
401
- }
402
-
403
- /**
404
- * <p>The mapping between a Region and the key that's used to encrypt the data.</p>
405
- */
406
- export interface RegionMapInputValue {
407
- /**
408
- * <p>The KMS key used to encrypt the data in your replication set.</p>
409
- */
410
- sseKmsKeyId?: string;
411
- }
412
-
413
- export namespace RegionMapInputValue {
414
- /**
415
- * @internal
416
- */
417
- export const filterSensitiveLog = (obj: RegionMapInputValue): any => ({
418
- ...obj,
419
- });
420
- }
421
-
422
- export interface CreateReplicationSetInput {
423
- /**
424
- * <p>The Regions that Incident Manager replicates your data to. You can have up to three Regions
425
- * in your replication set.</p>
426
- */
427
- regions: { [key: string]: RegionMapInputValue } | undefined;
428
-
429
- /**
430
- * <p>A token ensuring that the action is called only once with the specified details.</p>
431
- */
432
- clientToken?: string;
433
- }
434
-
435
- export namespace CreateReplicationSetInput {
436
- /**
437
- * @internal
438
- */
439
- export const filterSensitiveLog = (obj: CreateReplicationSetInput): any => ({
440
- ...obj,
441
- });
442
- }
443
-
444
- export interface CreateReplicationSetOutput {
445
- /**
446
- * <p>The Amazon Resource Name (ARN) of the replication set. </p>
447
- */
448
- arn: string | undefined;
449
- }
450
-
451
- export namespace CreateReplicationSetOutput {
452
- /**
453
- * @internal
454
- */
455
- export const filterSensitiveLog = (obj: CreateReplicationSetOutput): any => ({
456
- ...obj,
457
- });
458
- }
459
-
460
- /**
461
- * <p>The request processing has failed because of an unknown error, exception or
462
- * failure.</p>
463
- */
464
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
465
- name: "InternalServerException";
466
- $fault: "server";
467
- message: string | undefined;
468
- }
469
-
470
- export namespace InternalServerException {
471
- /**
472
- * @internal
473
- */
474
- export const filterSensitiveLog = (obj: InternalServerException): any => ({
475
- ...obj,
476
- });
477
- }
478
-
479
- export enum ServiceCode {
480
- SSM_INCIDENTS = "ssm-incidents",
481
- }
482
-
483
- /**
484
- * <p>Request would cause a service quota to be exceeded.</p>
485
- */
486
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
487
- name: "ServiceQuotaExceededException";
488
- $fault: "client";
489
- message: string | undefined;
490
- /**
491
- * The identifier for the requested resource
492
- */
493
- resourceIdentifier?: string;
494
-
495
- /**
496
- * The resource type
497
- */
498
- resourceType?: ResourceType | string;
499
-
500
- /**
501
- * Originating service code
502
- */
503
- serviceCode: ServiceCode | string | undefined;
504
-
505
- /**
506
- * Originating quota code
507
- */
508
- quotaCode: string | undefined;
509
- }
510
-
511
- export namespace ServiceQuotaExceededException {
512
- /**
513
- * @internal
514
- */
515
- export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({
516
- ...obj,
517
- });
518
- }
519
-
520
- /**
521
- * <p>The request was denied due to request throttling.</p>
522
- */
523
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
524
- name: "ThrottlingException";
525
- $fault: "client";
526
- message: string | undefined;
527
- /**
528
- * Originating service code
529
- */
530
- serviceCode: ServiceCode | string | undefined;
531
-
532
- /**
533
- * Originating quota code
534
- */
535
- quotaCode: string | undefined;
536
- }
537
-
538
- export namespace ThrottlingException {
539
- /**
540
- * @internal
541
- */
542
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
543
- ...obj,
544
- });
545
- }
546
-
547
- /**
548
- * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
549
- */
550
- export interface ValidationException extends __SmithyException, $MetadataBearer {
551
- name: "ValidationException";
552
- $fault: "client";
553
- message: string | undefined;
554
- }
555
-
556
- export namespace ValidationException {
557
- /**
558
- * @internal
559
- */
560
- export const filterSensitiveLog = (obj: ValidationException): any => ({
561
- ...obj,
562
- });
563
- }
564
-
565
- /**
566
- * <p>The SNS targets that are notified when updates are made to an incident.</p>
567
- */
568
- export type NotificationTargetItem = NotificationTargetItem.SnsTopicArnMember | NotificationTargetItem.$UnknownMember;
569
-
570
- export namespace NotificationTargetItem {
571
- /**
572
- * <p>The Amazon Resource Name (ARN) of the SNS topic.</p>
573
- */
574
- export interface SnsTopicArnMember {
575
- snsTopicArn: string;
576
- $unknown?: never;
577
- }
578
-
579
- export interface $UnknownMember {
580
- snsTopicArn?: never;
581
- $unknown: [string, any];
582
- }
583
-
584
- export interface Visitor<T> {
585
- snsTopicArn: (value: string) => T;
586
- _: (name: string, value: any) => T;
587
- }
588
-
589
- export const visit = <T>(value: NotificationTargetItem, visitor: Visitor<T>): T => {
590
- if (value.snsTopicArn !== undefined) return visitor.snsTopicArn(value.snsTopicArn);
591
- return visitor._(value.$unknown[0], value.$unknown[1]);
592
- };
593
-
594
- /**
595
- * @internal
596
- */
597
- export const filterSensitiveLog = (obj: NotificationTargetItem): any => {
598
- if (obj.snsTopicArn !== undefined) return { snsTopicArn: obj.snsTopicArn };
599
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
600
- };
601
- }
602
-
603
- /**
604
- * <p>Basic details used in creating a response plan. The response plan is then used to create an incident record.</p>
605
- */
606
- export interface IncidentTemplate {
607
- /**
608
- * <p>The title of the incident. </p>
609
- */
610
- title: string | undefined;
611
-
612
- /**
613
- * <p>The impact of the incident on your customers and applications. </p>
614
- */
615
- impact: number | undefined;
616
-
617
- /**
618
- * <p>The summary of the incident. The summary is a brief synopsis of what occurred, what's
619
- * currently happening, and context.</p>
620
- */
621
- summary?: string;
622
-
623
- /**
624
- * <p>Used to stop Incident Manager from creating multiple incident records for the same incident. </p>
625
- */
626
- dedupeString?: string;
627
-
628
- /**
629
- * <p>The SNS targets that are notified when updates are made to an incident.</p>
630
- */
631
- notificationTargets?: NotificationTargetItem[];
632
- }
633
-
634
- export namespace IncidentTemplate {
635
- /**
636
- * @internal
637
- */
638
- export const filterSensitiveLog = (obj: IncidentTemplate): any => ({
639
- ...obj,
640
- ...(obj.notificationTargets && {
641
- notificationTargets: obj.notificationTargets.map((item) => NotificationTargetItem.filterSensitiveLog(item)),
642
- }),
643
- });
644
- }
645
-
646
- export interface CreateResponsePlanInput {
647
- /**
648
- * <p>A token ensuring that the action is called only once with the specified details.</p>
649
- */
650
- clientToken?: string;
651
-
652
- /**
653
- * <p>The short format name of the response plan. Can't include spaces.</p>
654
- */
655
- name: string | undefined;
656
-
657
- /**
658
- * <p>The long format of the response plan name. This field can contain spaces.</p>
659
- */
660
- displayName?: string;
661
-
662
- /**
663
- * <p>Details used to create an incident when using this response plan.</p>
664
- */
665
- incidentTemplate: IncidentTemplate | undefined;
666
-
667
- /**
668
- * <p>The
669
- * AWS Chatbot
670
- * chat channel used for collaboration during an incident.</p>
671
- */
672
- chatChannel?: ChatChannel;
673
-
674
- /**
675
- * <p>The contacts and escalation plans that the response plan engages during an
676
- * incident.</p>
677
- */
678
- engagements?: string[];
679
-
680
- /**
681
- * <p>The actions that the response plan starts at the beginning of an incident.</p>
682
- */
683
- actions?: Action[];
684
-
685
- /**
686
- * <p>A list of tags that you are adding to the response plan.</p>
687
- */
688
- tags?: { [key: string]: string };
689
- }
690
-
691
- export namespace CreateResponsePlanInput {
692
- /**
693
- * @internal
694
- */
695
- export const filterSensitiveLog = (obj: CreateResponsePlanInput): any => ({
696
- ...obj,
697
- ...(obj.incidentTemplate && { incidentTemplate: IncidentTemplate.filterSensitiveLog(obj.incidentTemplate) }),
698
- ...(obj.chatChannel && { chatChannel: ChatChannel.filterSensitiveLog(obj.chatChannel) }),
699
- ...(obj.actions && { actions: obj.actions.map((item) => Action.filterSensitiveLog(item)) }),
700
- });
701
- }
702
-
703
- export interface CreateResponsePlanOutput {
704
- /**
705
- * <p>The Amazon Resource Name (ARN) of the response plan.</p>
706
- */
707
- arn: string | undefined;
708
- }
709
-
710
- export namespace CreateResponsePlanOutput {
711
- /**
712
- * @internal
713
- */
714
- export const filterSensitiveLog = (obj: CreateResponsePlanOutput): any => ({
715
- ...obj,
716
- });
717
- }
718
-
719
- /**
720
- * <p>Request references a resource which does not exist. </p>
721
- */
722
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
723
- name: "ResourceNotFoundException";
724
- $fault: "client";
725
- message: string | undefined;
726
- /**
727
- * The identifier for the requested resource
728
- */
729
- resourceIdentifier?: string;
730
-
731
- /**
732
- * The resource type
733
- */
734
- resourceType?: ResourceType | string;
735
- }
736
-
737
- export namespace ResourceNotFoundException {
738
- /**
739
- * @internal
740
- */
741
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
742
- ...obj,
743
- });
744
- }
745
-
746
- export interface CreateTimelineEventInput {
747
- /**
748
- * <p>A token ensuring that the action is called only once with the specified details.</p>
749
- */
750
- clientToken?: string;
751
-
752
- /**
753
- * <p>The Amazon Resource Name (ARN) of the incident record you are adding the event
754
- * to.</p>
755
- */
756
- incidentRecordArn: string | undefined;
757
-
758
- /**
759
- * <p>The time that the event occurred.</p>
760
- */
761
- eventTime: Date | undefined;
762
-
763
- /**
764
- * <p>The type of the event. You can create timeline events of type <code>Custom
765
- * Event</code>.</p>
766
- */
767
- eventType: string | undefined;
768
-
769
- /**
770
- * <p>A valid JSON string. There is no other schema imposed. A short description of the event.</p>
771
- */
772
- eventData: string | undefined;
773
- }
774
-
775
- export namespace CreateTimelineEventInput {
776
- /**
777
- * @internal
778
- */
779
- export const filterSensitiveLog = (obj: CreateTimelineEventInput): any => ({
780
- ...obj,
781
- });
782
- }
783
-
784
- export interface CreateTimelineEventOutput {
785
- /**
786
- * <p>The ARN of the incident record that you added the event to.</p>
787
- */
788
- incidentRecordArn: string | undefined;
789
-
790
- /**
791
- * <p>The ID of the event for easy reference later. </p>
792
- */
793
- eventId: string | undefined;
794
- }
795
-
796
- export namespace CreateTimelineEventOutput {
797
- /**
798
- * @internal
799
- */
800
- export const filterSensitiveLog = (obj: CreateTimelineEventOutput): any => ({
801
- ...obj,
802
- });
803
- }
804
-
805
- export interface DeleteIncidentRecordInput {
806
- /**
807
- * <p>The Amazon Resource Name (ARN) of the incident record you are deleting.</p>
808
- */
809
- arn: string | undefined;
810
- }
811
-
812
- export namespace DeleteIncidentRecordInput {
813
- /**
814
- * @internal
815
- */
816
- export const filterSensitiveLog = (obj: DeleteIncidentRecordInput): any => ({
817
- ...obj,
818
- });
819
- }
820
-
821
- export interface DeleteIncidentRecordOutput {}
822
-
823
- export namespace DeleteIncidentRecordOutput {
824
- /**
825
- * @internal
826
- */
827
- export const filterSensitiveLog = (obj: DeleteIncidentRecordOutput): any => ({
828
- ...obj,
829
- });
830
- }
831
-
832
- /**
833
- * <p>Defines the information about the Region you're deleting from your replication
834
- * set.</p>
835
- */
836
- export interface DeleteRegionAction {
837
- /**
838
- * <p>The name of the Region you're deleting from the replication set.</p>
839
- */
840
- regionName: string | undefined;
841
- }
842
-
843
- export namespace DeleteRegionAction {
844
- /**
845
- * @internal
846
- */
847
- export const filterSensitiveLog = (obj: DeleteRegionAction): any => ({
848
- ...obj,
849
- });
850
- }
851
-
852
- export interface DeleteReplicationSetInput {
853
- /**
854
- * <p>The Amazon Resource Name (ARN) of the replication set you're deleting.</p>
855
- */
856
- arn: string | undefined;
857
- }
858
-
859
- export namespace DeleteReplicationSetInput {
860
- /**
861
- * @internal
862
- */
863
- export const filterSensitiveLog = (obj: DeleteReplicationSetInput): any => ({
864
- ...obj,
865
- });
866
- }
867
-
868
- export interface DeleteReplicationSetOutput {}
869
-
870
- export namespace DeleteReplicationSetOutput {
871
- /**
872
- * @internal
873
- */
874
- export const filterSensitiveLog = (obj: DeleteReplicationSetOutput): any => ({
875
- ...obj,
876
- });
877
- }
878
-
879
- export interface DeleteResourcePolicyInput {
880
- /**
881
- * <p>The Amazon Resource Name (ARN) of the resource you're deleting the policy from.</p>
882
- */
883
- resourceArn: string | undefined;
884
-
885
- /**
886
- * <p>The ID of the resource policy you're deleting.</p>
887
- */
888
- policyId: string | undefined;
889
- }
890
-
891
- export namespace DeleteResourcePolicyInput {
892
- /**
893
- * @internal
894
- */
895
- export const filterSensitiveLog = (obj: DeleteResourcePolicyInput): any => ({
896
- ...obj,
897
- });
898
- }
899
-
900
- export interface DeleteResourcePolicyOutput {}
901
-
902
- export namespace DeleteResourcePolicyOutput {
903
- /**
904
- * @internal
905
- */
906
- export const filterSensitiveLog = (obj: DeleteResourcePolicyOutput): any => ({
907
- ...obj,
908
- });
909
- }
910
-
911
- export interface DeleteResponsePlanInput {
912
- /**
913
- * <p>The Amazon Resource Name (ARN) of the response plan.</p>
914
- */
915
- arn: string | undefined;
916
- }
917
-
918
- export namespace DeleteResponsePlanInput {
919
- /**
920
- * @internal
921
- */
922
- export const filterSensitiveLog = (obj: DeleteResponsePlanInput): any => ({
923
- ...obj,
924
- });
925
- }
926
-
927
- export interface DeleteResponsePlanOutput {}
928
-
929
- export namespace DeleteResponsePlanOutput {
930
- /**
931
- * @internal
932
- */
933
- export const filterSensitiveLog = (obj: DeleteResponsePlanOutput): any => ({
934
- ...obj,
935
- });
936
- }
937
-
938
- export interface DeleteTimelineEventInput {
939
- /**
940
- * <p>The Amazon Resource Name (ARN) of the incident that the event is part of.</p>
941
- */
942
- incidentRecordArn: string | undefined;
943
-
944
- /**
945
- * <p>The ID of the event you are updating. You can find this by using <code>ListTimelineEvents</code>.</p>
946
- */
947
- eventId: string | undefined;
948
- }
949
-
950
- export namespace DeleteTimelineEventInput {
951
- /**
952
- * @internal
953
- */
954
- export const filterSensitiveLog = (obj: DeleteTimelineEventInput): any => ({
955
- ...obj,
956
- });
957
- }
958
-
959
- export interface DeleteTimelineEventOutput {}
960
-
961
- export namespace DeleteTimelineEventOutput {
962
- /**
963
- * @internal
964
- */
965
- export const filterSensitiveLog = (obj: DeleteTimelineEventOutput): any => ({
966
- ...obj,
967
- });
968
- }
969
-
970
- /**
971
- * <p>Details about a timeline event during an incident.</p>
972
- */
973
- export interface EventSummary {
974
- /**
975
- * <p>The Amazon Resource Name (ARN) of the incident that the event happened during.</p>
976
- */
977
- incidentRecordArn: string | undefined;
978
-
979
- /**
980
- * <p>The timeline event ID.</p>
981
- */
982
- eventId: string | undefined;
983
-
984
- /**
985
- * <p>The time that the event occurred.</p>
986
- */
987
- eventTime: Date | undefined;
988
-
989
- /**
990
- * <p>The time that the timeline event was last updated.</p>
991
- */
992
- eventUpdatedTime: Date | undefined;
993
-
994
- /**
995
- * <p>The type of event. The timeline event must be <code>Custom Event</code>.</p>
996
- */
997
- eventType: string | undefined;
998
- }
999
-
1000
- export namespace EventSummary {
1001
- /**
1002
- * @internal
1003
- */
1004
- export const filterSensitiveLog = (obj: EventSummary): any => ({
1005
- ...obj,
1006
- });
1007
- }
1008
-
1009
- /**
1010
- * <p>Filter the selection by using a condition.</p>
1011
- */
1012
- export interface Filter {
1013
- /**
1014
- * <p>The key that you're filtering on.</p>
1015
- */
1016
- key: string | undefined;
1017
-
1018
- /**
1019
- * <p>The condition accepts before or after a specified time, equal to a string, or equal to an integer.</p>
1020
- */
1021
- condition: Condition | undefined;
1022
- }
1023
-
1024
- export namespace Filter {
1025
- /**
1026
- * @internal
1027
- */
1028
- export const filterSensitiveLog = (obj: Filter): any => ({
1029
- ...obj,
1030
- ...(obj.condition && { condition: Condition.filterSensitiveLog(obj.condition) }),
1031
- });
1032
- }
1033
-
1034
- export interface GetIncidentRecordInput {
1035
- /**
1036
- * <p>The Amazon Resource Name (ARN) of the incident record.</p>
1037
- */
1038
- arn: string | undefined;
1039
- }
1040
-
1041
- export namespace GetIncidentRecordInput {
1042
- /**
1043
- * @internal
1044
- */
1045
- export const filterSensitiveLog = (obj: GetIncidentRecordInput): any => ({
1046
- ...obj,
1047
- });
1048
- }
1049
-
1050
- /**
1051
- * <p>Details about how the incident record was created and when.</p>
1052
- */
1053
- export interface IncidentRecordSource {
1054
- /**
1055
- * <p>The principal that started the incident.</p>
1056
- */
1057
- createdBy: string | undefined;
1058
-
1059
- /**
1060
- * <p>The principal the assumed the role specified of the <code>createdBy</code>.</p>
1061
- */
1062
- invokedBy?: string;
1063
-
1064
- /**
1065
- * <p>The resource that caused the incident to be created.</p>
1066
- */
1067
- resourceArn?: string;
1068
-
1069
- /**
1070
- * <p>The service that started the incident. This can be manually created from Incident Manager,
1071
- * automatically created using an
1072
- * AWS
1073
- * CloudWatch alarm, or
1074
- * Amazon
1075
- * EventBridge event.</p>
1076
- */
1077
- source: string | undefined;
1078
- }
1079
-
1080
- export namespace IncidentRecordSource {
1081
- /**
1082
- * @internal
1083
- */
1084
- export const filterSensitiveLog = (obj: IncidentRecordSource): any => ({
1085
- ...obj,
1086
- });
1087
- }
1088
-
1089
- export enum IncidentRecordStatus {
1090
- OPEN = "OPEN",
1091
- RESOLVED = "RESOLVED",
1092
- }
1093
-
1094
- /**
1095
- * <p>The record of the incident that's created when an incident occurs.</p>
1096
- */
1097
- export interface IncidentRecord {
1098
- /**
1099
- * <p>The Amazon Resource Name (ARN) of the incident record.</p>
1100
- */
1101
- arn: string | undefined;
1102
-
1103
- /**
1104
- * <p>The title of the incident.</p>
1105
- */
1106
- title: string | undefined;
1107
-
1108
- /**
1109
- * <p>The summary of the incident. The summary is a brief synopsis of what occurred, what is currently happening, and context.</p>
1110
- */
1111
- summary?: string;
1112
-
1113
- /**
1114
- * <p>The current status of the incident.</p>
1115
- */
1116
- status: IncidentRecordStatus | string | undefined;
1117
-
1118
- /**
1119
- * <p>The impact of the incident on customers and applications.</p>
1120
- */
1121
- impact: number | undefined;
1122
-
1123
- /**
1124
- * <p>The time that Incident Manager created the incident record.</p>
1125
- */
1126
- creationTime: Date | undefined;
1127
-
1128
- /**
1129
- * <p>The time at which the incident was resolved. This appears as a timeline event.</p>
1130
- */
1131
- resolvedTime?: Date;
1132
-
1133
- /**
1134
- * <p>The time at which the incident was most recently modified.</p>
1135
- */
1136
- lastModifiedTime: Date | undefined;
1137
-
1138
- /**
1139
- * <p>Who modified the incident most recently.</p>
1140
- */
1141
- lastModifiedBy: string | undefined;
1142
-
1143
- /**
1144
- * <p>The runbook, or automation document, that's run at the beginning of the incident.</p>
1145
- */
1146
- automationExecutions?: AutomationExecution[];
1147
-
1148
- /**
1149
- * <p>Details about the action that started the incident.</p>
1150
- */
1151
- incidentRecordSource: IncidentRecordSource | undefined;
1152
-
1153
- /**
1154
- * <p>The string Incident Manager uses to prevent duplicate incidents from being created by the same incident.</p>
1155
- */
1156
- dedupeString: string | undefined;
1157
-
1158
- /**
1159
- * <p>The chat channel used for collaboration during an incident.</p>
1160
- */
1161
- chatChannel?: ChatChannel;
1162
-
1163
- /**
1164
- * <p>The SNS targets that are notified when updates are made to an incident.</p>
1165
- */
1166
- notificationTargets?: NotificationTargetItem[];
1167
- }
1168
-
1169
- export namespace IncidentRecord {
1170
- /**
1171
- * @internal
1172
- */
1173
- export const filterSensitiveLog = (obj: IncidentRecord): any => ({
1174
- ...obj,
1175
- ...(obj.automationExecutions && {
1176
- automationExecutions: obj.automationExecutions.map((item) => AutomationExecution.filterSensitiveLog(item)),
1177
- }),
1178
- ...(obj.chatChannel && { chatChannel: ChatChannel.filterSensitiveLog(obj.chatChannel) }),
1179
- ...(obj.notificationTargets && {
1180
- notificationTargets: obj.notificationTargets.map((item) => NotificationTargetItem.filterSensitiveLog(item)),
1181
- }),
1182
- });
1183
- }
1184
-
1185
- export interface GetIncidentRecordOutput {
1186
- /**
1187
- * <p>Details structure of the incident record.</p>
1188
- */
1189
- incidentRecord: IncidentRecord | undefined;
1190
- }
1191
-
1192
- export namespace GetIncidentRecordOutput {
1193
- /**
1194
- * @internal
1195
- */
1196
- export const filterSensitiveLog = (obj: GetIncidentRecordOutput): any => ({
1197
- ...obj,
1198
- ...(obj.incidentRecord && { incidentRecord: IncidentRecord.filterSensitiveLog(obj.incidentRecord) }),
1199
- });
1200
- }
1201
-
1202
- export interface GetReplicationSetInput {
1203
- /**
1204
- * <p>The Amazon Resource Name (ARN) of the replication set you want to retrieve.</p>
1205
- */
1206
- arn: string | undefined;
1207
- }
1208
-
1209
- export namespace GetReplicationSetInput {
1210
- /**
1211
- * @internal
1212
- */
1213
- export const filterSensitiveLog = (obj: GetReplicationSetInput): any => ({
1214
- ...obj,
1215
- });
1216
- }
1217
-
1218
- export enum RegionStatus {
1219
- /**
1220
- * All operations have completed successfully and the region is ready to use
1221
- */
1222
- ACTIVE = "ACTIVE",
1223
- /**
1224
- * The region is in the process of being created.
1225
- */
1226
- CREATING = "CREATING",
1227
- /**
1228
- * The region is in the process of being deleted.
1229
- */
1230
- DELETING = "DELETING",
1231
- /**
1232
- * The region is not healthy and we cannot automatically fix it.
1233
- */
1234
- FAILED = "FAILED",
1235
- }
1236
-
1237
- /**
1238
- * <p>Information about a Region in your replication set.</p>
1239
- */
1240
- export interface RegionInfo {
1241
- /**
1242
- * <p>The ID of the KMS key used to encrypt the data in this Region.</p>
1243
- */
1244
- sseKmsKeyId?: string;
1245
-
1246
- /**
1247
- * <p>The status of the Region in the replication set.</p>
1248
- */
1249
- status: RegionStatus | string | undefined;
1250
-
1251
- /**
1252
- * <p>Information displayed about the status of the Region.</p>
1253
- */
1254
- statusMessage?: string;
1255
-
1256
- /**
1257
- * <p>The most recent date and time that the Region's status was updated.</p>
1258
- */
1259
- statusUpdateDateTime: Date | undefined;
1260
- }
1261
-
1262
- export namespace RegionInfo {
1263
- /**
1264
- * @internal
1265
- */
1266
- export const filterSensitiveLog = (obj: RegionInfo): any => ({
1267
- ...obj,
1268
- });
1269
- }
1270
-
1271
- export enum ReplicationSetStatus {
1272
- /**
1273
- * All operations have completed successfully and the replication set is ready to use
1274
- */
1275
- ACTIVE = "ACTIVE",
1276
- /**
1277
- * Replication set is in the process of being created.
1278
- */
1279
- CREATING = "CREATING",
1280
- /**
1281
- * Replication set is in the process of being deleted.
1282
- */
1283
- DELETING = "DELETING",
1284
- /**
1285
- * Replication set is not healthy and we cannot fix it.
1286
- */
1287
- FAILED = "FAILED",
1288
- /**
1289
- * Replication set is in the process of being updated.
1290
- */
1291
- UPDATING = "UPDATING",
1292
- }
1293
-
1294
- /**
1295
- * <p>The set of Regions that your Incident Manager data will be replicated to and the KMS key used
1296
- * to encrypt the data. </p>
1297
- */
1298
- export interface ReplicationSet {
1299
- /**
1300
- * <p>The Amazon Resource Name (ARN) of the replication set.</p>
1301
- */
1302
- arn?: string;
1303
-
1304
- /**
1305
- * <p>The map between each Region in your replication set and the KMS key that is used to
1306
- * encrypt the data in that Region.</p>
1307
- */
1308
- regionMap: { [key: string]: RegionInfo } | undefined;
1309
-
1310
- /**
1311
- * <p>The status of the replication set. If the replication set is still pending, you can't
1312
- * use Incident Manager functionality.</p>
1313
- */
1314
- status: ReplicationSetStatus | string | undefined;
1315
-
1316
- /**
1317
- * <p>Determines if the replication set deletion protection is enabled or not. If deletion
1318
- * protection is enabled, you can't delete the last Region in the replication set. </p>
1319
- */
1320
- deletionProtected: boolean | undefined;
1321
-
1322
- /**
1323
- * <p>When the replication set was created.</p>
1324
- */
1325
- createdTime: Date | undefined;
1326
-
1327
- /**
1328
- * <p>Details about who created the replication set.</p>
1329
- */
1330
- createdBy: string | undefined;
1331
-
1332
- /**
1333
- * <p>When the replication set was last updated.</p>
1334
- */
1335
- lastModifiedTime: Date | undefined;
1336
-
1337
- /**
1338
- * <p>Who last modified the replication set.</p>
1339
- */
1340
- lastModifiedBy: string | undefined;
1341
- }
1342
-
1343
- export namespace ReplicationSet {
1344
- /**
1345
- * @internal
1346
- */
1347
- export const filterSensitiveLog = (obj: ReplicationSet): any => ({
1348
- ...obj,
1349
- });
1350
- }
1351
-
1352
- export interface GetReplicationSetOutput {
1353
- /**
1354
- * <p>Details of the replication set.</p>
1355
- */
1356
- replicationSet: ReplicationSet | undefined;
1357
- }
1358
-
1359
- export namespace GetReplicationSetOutput {
1360
- /**
1361
- * @internal
1362
- */
1363
- export const filterSensitiveLog = (obj: GetReplicationSetOutput): any => ({
1364
- ...obj,
1365
- });
1366
- }
1367
-
1368
- export interface GetResourcePoliciesInput {
1369
- /**
1370
- * <p>The Amazon Resource Name (ARN) of the response plan with the attached resource policy. </p>
1371
- */
1372
- resourceArn: string | undefined;
1373
-
1374
- /**
1375
- * <p>The maximum number of resource policies to display per page of results.</p>
1376
- */
1377
- maxResults?: number;
1378
-
1379
- /**
1380
- * <p>The pagination token to continue to the next page of results.</p>
1381
- */
1382
- nextToken?: string;
1383
- }
1384
-
1385
- export namespace GetResourcePoliciesInput {
1386
- /**
1387
- * @internal
1388
- */
1389
- export const filterSensitiveLog = (obj: GetResourcePoliciesInput): any => ({
1390
- ...obj,
1391
- });
1392
- }
1393
-
1394
- /**
1395
- * <p>The resource policy that allows Incident Manager to perform actions on resources on your behalf.</p>
1396
- */
1397
- export interface ResourcePolicy {
1398
- /**
1399
- * <p>The JSON blob that describes the policy.</p>
1400
- */
1401
- policyDocument: string | undefined;
1402
-
1403
- /**
1404
- * <p>The ID of the resource policy.</p>
1405
- */
1406
- policyId: string | undefined;
1407
-
1408
- /**
1409
- * <p>The Region that policy allows resources to be used in.</p>
1410
- */
1411
- ramResourceShareRegion: string | undefined;
1412
- }
1413
-
1414
- export namespace ResourcePolicy {
1415
- /**
1416
- * @internal
1417
- */
1418
- export const filterSensitiveLog = (obj: ResourcePolicy): any => ({
1419
- ...obj,
1420
- });
1421
- }
1422
-
1423
- export interface GetResourcePoliciesOutput {
1424
- /**
1425
- * <p>Details about the resource policy attached to the response plan.</p>
1426
- */
1427
- resourcePolicies: ResourcePolicy[] | undefined;
1428
-
1429
- /**
1430
- * <p>The pagination token to continue to the next page of results.</p>
1431
- */
1432
- nextToken?: string;
1433
- }
1434
-
1435
- export namespace GetResourcePoliciesOutput {
1436
- /**
1437
- * @internal
1438
- */
1439
- export const filterSensitiveLog = (obj: GetResourcePoliciesOutput): any => ({
1440
- ...obj,
1441
- });
1442
- }
1443
-
1444
- export interface GetResponsePlanInput {
1445
- /**
1446
- * <p>The Amazon Resource Name (ARN) of the response plan.</p>
1447
- */
1448
- arn: string | undefined;
1449
- }
1450
-
1451
- export namespace GetResponsePlanInput {
1452
- /**
1453
- * @internal
1454
- */
1455
- export const filterSensitiveLog = (obj: GetResponsePlanInput): any => ({
1456
- ...obj,
1457
- });
1458
- }
1459
-
1460
- export interface GetResponsePlanOutput {
1461
- /**
1462
- * <p>The ARN of the response plan.</p>
1463
- */
1464
- arn: string | undefined;
1465
-
1466
- /**
1467
- * <p>The short format name of the response plan. Can't contain spaces.</p>
1468
- */
1469
- name: string | undefined;
1470
-
1471
- /**
1472
- * <p>The long format name of the response plan. Can contain spaces.</p>
1473
- */
1474
- displayName?: string;
1475
-
1476
- /**
1477
- * <p>Details used to create the incident when using this response plan.</p>
1478
- */
1479
- incidentTemplate: IncidentTemplate | undefined;
1480
-
1481
- /**
1482
- * <p>The
1483
- * AWS
1484
- * Chatbot chat channel used for collaboration during an
1485
- * incident.</p>
1486
- */
1487
- chatChannel?: ChatChannel;
1488
-
1489
- /**
1490
- * <p>The contacts and escalation plans that the response plan engages during an
1491
- * incident.</p>
1492
- */
1493
- engagements?: string[];
1494
-
1495
- /**
1496
- * <p>The actions that this response plan takes at the beginning of the incident.</p>
1497
- */
1498
- actions?: Action[];
1499
- }
1500
-
1501
- export namespace GetResponsePlanOutput {
1502
- /**
1503
- * @internal
1504
- */
1505
- export const filterSensitiveLog = (obj: GetResponsePlanOutput): any => ({
1506
- ...obj,
1507
- ...(obj.incidentTemplate && { incidentTemplate: IncidentTemplate.filterSensitiveLog(obj.incidentTemplate) }),
1508
- ...(obj.chatChannel && { chatChannel: ChatChannel.filterSensitiveLog(obj.chatChannel) }),
1509
- ...(obj.actions && { actions: obj.actions.map((item) => Action.filterSensitiveLog(item)) }),
1510
- });
1511
- }
1512
-
1513
- export interface GetTimelineEventInput {
1514
- /**
1515
- * <p>The Amazon Resource Name (ARN) of the incident that the timeline event is part of.</p>
1516
- */
1517
- incidentRecordArn: string | undefined;
1518
-
1519
- /**
1520
- * <p>The ID of the event. You can get an event's ID when you create it or by using <code>ListTimelineEvents</code>.</p>
1521
- */
1522
- eventId: string | undefined;
1523
- }
1524
-
1525
- export namespace GetTimelineEventInput {
1526
- /**
1527
- * @internal
1528
- */
1529
- export const filterSensitiveLog = (obj: GetTimelineEventInput): any => ({
1530
- ...obj,
1531
- });
1532
- }
1533
-
1534
- /**
1535
- * <p>A significant event that happened during the incident. </p>
1536
- */
1537
- export interface TimelineEvent {
1538
- /**
1539
- * <p>The Amazon Resource Name (ARN) of the incident that the event occurred during.</p>
1540
- */
1541
- incidentRecordArn: string | undefined;
1542
-
1543
- /**
1544
- * <p>The ID of the timeline event.</p>
1545
- */
1546
- eventId: string | undefined;
1547
-
1548
- /**
1549
- * <p>The time that the event occurred.</p>
1550
- */
1551
- eventTime: Date | undefined;
1552
-
1553
- /**
1554
- * <p>The time that the timeline event was last updated.</p>
1555
- */
1556
- eventUpdatedTime: Date | undefined;
1557
-
1558
- /**
1559
- * <p>The type of event that occurred. Currently Incident Manager supports only the <code>Custom
1560
- * Event</code> type.</p>
1561
- */
1562
- eventType: string | undefined;
1563
-
1564
- /**
1565
- * <p>A short description of the event.</p>
1566
- */
1567
- eventData: string | undefined;
1568
- }
1569
-
1570
- export namespace TimelineEvent {
1571
- /**
1572
- * @internal
1573
- */
1574
- export const filterSensitiveLog = (obj: TimelineEvent): any => ({
1575
- ...obj,
1576
- });
1577
- }
1578
-
1579
- export interface GetTimelineEventOutput {
1580
- /**
1581
- * <p>Details about the timeline event.</p>
1582
- */
1583
- event: TimelineEvent | undefined;
1584
- }
1585
-
1586
- export namespace GetTimelineEventOutput {
1587
- /**
1588
- * @internal
1589
- */
1590
- export const filterSensitiveLog = (obj: GetTimelineEventOutput): any => ({
1591
- ...obj,
1592
- });
1593
- }
1594
-
1595
- /**
1596
- * <p>Details describing an incident record.</p>
1597
- */
1598
- export interface IncidentRecordSummary {
1599
- /**
1600
- * <p>The Amazon Resource Name (ARN) of the incident.</p>
1601
- */
1602
- arn: string | undefined;
1603
-
1604
- /**
1605
- * <p>The title of the incident. This value is either provided by the response plan or
1606
- * overwritten on creation.</p>
1607
- */
1608
- title: string | undefined;
1609
-
1610
- /**
1611
- * <p>The current status of the incident.</p>
1612
- */
1613
- status: IncidentRecordStatus | string | undefined;
1614
-
1615
- /**
1616
- * <p>Defines the impact to customers and applications.</p>
1617
- */
1618
- impact: number | undefined;
1619
-
1620
- /**
1621
- * <p>The time the incident was created.</p>
1622
- */
1623
- creationTime: Date | undefined;
1624
-
1625
- /**
1626
- * <p>The time the incident was resolved.</p>
1627
- */
1628
- resolvedTime?: Date;
1629
-
1630
- /**
1631
- * <p>What caused Incident Manager to create the incident.</p>
1632
- */
1633
- incidentRecordSource: IncidentRecordSource | undefined;
1634
- }
1635
-
1636
- export namespace IncidentRecordSummary {
1637
- /**
1638
- * @internal
1639
- */
1640
- export const filterSensitiveLog = (obj: IncidentRecordSummary): any => ({
1641
- ...obj,
1642
- });
1643
- }
1644
-
1645
- export enum ItemType {
1646
- ANALYSIS = "ANALYSIS",
1647
- ATTACHMENT = "ATTACHMENT",
1648
- INCIDENT = "INCIDENT",
1649
- METRIC = "METRIC",
1650
- OTHER = "OTHER",
1651
- PARENT = "PARENT",
1652
- }
1653
-
1654
- /**
1655
- * <p>Describes a related item.</p>
1656
- */
1657
- export type ItemValue =
1658
- | ItemValue.ArnMember
1659
- | ItemValue.MetricDefinitionMember
1660
- | ItemValue.UrlMember
1661
- | ItemValue.$UnknownMember;
1662
-
1663
- export namespace ItemValue {
1664
- /**
1665
- * <p>The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon
1666
- * resource.</p>
1667
- */
1668
- export interface ArnMember {
1669
- arn: string;
1670
- url?: never;
1671
- metricDefinition?: never;
1672
- $unknown?: never;
1673
- }
1674
-
1675
- /**
1676
- * <p>The URL, if the related item is a non-AWS resource.</p>
1677
- */
1678
- export interface UrlMember {
1679
- arn?: never;
1680
- url: string;
1681
- metricDefinition?: never;
1682
- $unknown?: never;
1683
- }
1684
-
1685
- /**
1686
- * <p>The metric definition, if the related item is a metric in CloudWatch.</p>
1687
- */
1688
- export interface MetricDefinitionMember {
1689
- arn?: never;
1690
- url?: never;
1691
- metricDefinition: string;
1692
- $unknown?: never;
1693
- }
1694
-
1695
- export interface $UnknownMember {
1696
- arn?: never;
1697
- url?: never;
1698
- metricDefinition?: never;
1699
- $unknown: [string, any];
1700
- }
1701
-
1702
- export interface Visitor<T> {
1703
- arn: (value: string) => T;
1704
- url: (value: string) => T;
1705
- metricDefinition: (value: string) => T;
1706
- _: (name: string, value: any) => T;
1707
- }
1708
-
1709
- export const visit = <T>(value: ItemValue, visitor: Visitor<T>): T => {
1710
- if (value.arn !== undefined) return visitor.arn(value.arn);
1711
- if (value.url !== undefined) return visitor.url(value.url);
1712
- if (value.metricDefinition !== undefined) return visitor.metricDefinition(value.metricDefinition);
1713
- return visitor._(value.$unknown[0], value.$unknown[1]);
1714
- };
1715
-
1716
- /**
1717
- * @internal
1718
- */
1719
- export const filterSensitiveLog = (obj: ItemValue): any => {
1720
- if (obj.arn !== undefined) return { arn: obj.arn };
1721
- if (obj.url !== undefined) return { url: obj.url };
1722
- if (obj.metricDefinition !== undefined) return { metricDefinition: obj.metricDefinition };
1723
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
1724
- };
1725
- }
1726
-
1727
- /**
1728
- * <p>Details and type of a related item.</p>
1729
- */
1730
- export interface ItemIdentifier {
1731
- /**
1732
- * <p>Details about the related item.</p>
1733
- */
1734
- value: ItemValue | undefined;
1735
-
1736
- /**
1737
- * <p>The type of related item. Incident Manager supports the following types:</p>
1738
- * <ul>
1739
- * <li>
1740
- * <p>
1741
- * <code>ANALYSIS</code>
1742
- * </p>
1743
- * </li>
1744
- * <li>
1745
- * <p>
1746
- * <code>INCIDENT</code>
1747
- * </p>
1748
- * </li>
1749
- * <li>
1750
- * <p>
1751
- * <code>METRIC</code>
1752
- * </p>
1753
- * </li>
1754
- * <li>
1755
- * <p>
1756
- * <code>PARENT</code>
1757
- * </p>
1758
- * </li>
1759
- * <li>
1760
- * <p>
1761
- * <code>ATTACHMENT</code>
1762
- * </p>
1763
- * </li>
1764
- * <li>
1765
- * <p>
1766
- * <code>OTHER</code>
1767
- * </p>
1768
- * </li>
1769
- * </ul>
1770
- */
1771
- type: ItemType | string | undefined;
1772
- }
1773
-
1774
- export namespace ItemIdentifier {
1775
- /**
1776
- * @internal
1777
- */
1778
- export const filterSensitiveLog = (obj: ItemIdentifier): any => ({
1779
- ...obj,
1780
- ...(obj.value && { value: ItemValue.filterSensitiveLog(obj.value) }),
1781
- });
1782
- }
1783
-
1784
- export interface ListIncidentRecordsInput {
1785
- /**
1786
- * <p>Filter the list of incident records you are searching through. You can filter on the
1787
- * following keys:</p>
1788
- * <ul>
1789
- * <li>
1790
- * <p>
1791
- * <code>creationTime</code>
1792
- * </p>
1793
- * </li>
1794
- * <li>
1795
- * <p>
1796
- * <code>impact</code>
1797
- * </p>
1798
- * </li>
1799
- * <li>
1800
- * <p>
1801
- * <code>status</code>
1802
- * </p>
1803
- * </li>
1804
- * <li>
1805
- * <p>
1806
- * <code>createdBy</code>
1807
- * </p>
1808
- * </li>
1809
- * </ul>
1810
- */
1811
- filters?: Filter[];
1812
-
1813
- /**
1814
- * <p>The maximum number of results per page.</p>
1815
- */
1816
- maxResults?: number;
1817
-
1818
- /**
1819
- * <p>The pagination token to continue to the next page of results.</p>
1820
- */
1821
- nextToken?: string;
1822
- }
1823
-
1824
- export namespace ListIncidentRecordsInput {
1825
- /**
1826
- * @internal
1827
- */
1828
- export const filterSensitiveLog = (obj: ListIncidentRecordsInput): any => ({
1829
- ...obj,
1830
- ...(obj.filters && { filters: obj.filters.map((item) => Filter.filterSensitiveLog(item)) }),
1831
- });
1832
- }
1833
-
1834
- export interface ListIncidentRecordsOutput {
1835
- /**
1836
- * <p>The details of each listed incident record.</p>
1837
- */
1838
- incidentRecordSummaries: IncidentRecordSummary[] | undefined;
1839
-
1840
- /**
1841
- * <p>The pagination token to continue to the next page of results.</p>
1842
- */
1843
- nextToken?: string;
1844
- }
1845
-
1846
- export namespace ListIncidentRecordsOutput {
1847
- /**
1848
- * @internal
1849
- */
1850
- export const filterSensitiveLog = (obj: ListIncidentRecordsOutput): any => ({
1851
- ...obj,
1852
- });
1853
- }
1854
-
1855
- export interface ListRelatedItemsInput {
1856
- /**
1857
- * <p>The Amazon Resource Name (ARN) of the incident record that you are listing related items for.</p>
1858
- */
1859
- incidentRecordArn: string | undefined;
1860
-
1861
- /**
1862
- * <p>The maximum number of related items per page.</p>
1863
- */
1864
- maxResults?: number;
1865
-
1866
- /**
1867
- * <p>The pagination token to continue to the next page of results.</p>
1868
- */
1869
- nextToken?: string;
1870
- }
1871
-
1872
- export namespace ListRelatedItemsInput {
1873
- /**
1874
- * @internal
1875
- */
1876
- export const filterSensitiveLog = (obj: ListRelatedItemsInput): any => ({
1877
- ...obj,
1878
- });
1879
- }
1880
-
1881
- /**
1882
- * <p>Resources that responders use to triage and mitigate the incident.</p>
1883
- */
1884
- export interface RelatedItem {
1885
- /**
1886
- * <p>Details about the related item.</p>
1887
- */
1888
- identifier: ItemIdentifier | undefined;
1889
-
1890
- /**
1891
- * <p>The title of the related item.</p>
1892
- */
1893
- title?: string;
1894
- }
1895
-
1896
- export namespace RelatedItem {
1897
- /**
1898
- * @internal
1899
- */
1900
- export const filterSensitiveLog = (obj: RelatedItem): any => ({
1901
- ...obj,
1902
- ...(obj.identifier && { identifier: ItemIdentifier.filterSensitiveLog(obj.identifier) }),
1903
- });
1904
- }
1905
-
1906
- export interface ListRelatedItemsOutput {
1907
- /**
1908
- * <p>Details about each related item.</p>
1909
- */
1910
- relatedItems: RelatedItem[] | undefined;
1911
-
1912
- /**
1913
- * <p>The pagination token to continue to the next page of results.</p>
1914
- */
1915
- nextToken?: string;
1916
- }
1917
-
1918
- export namespace ListRelatedItemsOutput {
1919
- /**
1920
- * @internal
1921
- */
1922
- export const filterSensitiveLog = (obj: ListRelatedItemsOutput): any => ({
1923
- ...obj,
1924
- ...(obj.relatedItems && { relatedItems: obj.relatedItems.map((item) => RelatedItem.filterSensitiveLog(item)) }),
1925
- });
1926
- }
1927
-
1928
- export interface ListReplicationSetsInput {
1929
- /**
1930
- * <p>The maximum number of results per page. </p>
1931
- */
1932
- maxResults?: number;
1933
-
1934
- /**
1935
- * <p>The pagination token to continue to the next page of results.</p>
1936
- */
1937
- nextToken?: string;
1938
- }
1939
-
1940
- export namespace ListReplicationSetsInput {
1941
- /**
1942
- * @internal
1943
- */
1944
- export const filterSensitiveLog = (obj: ListReplicationSetsInput): any => ({
1945
- ...obj,
1946
- });
1947
- }
1948
-
1949
- export interface ListReplicationSetsOutput {
1950
- /**
1951
- * <p>The Amazon Resource Name (ARN) of the list replication set.</p>
1952
- */
1953
- replicationSetArns: string[] | undefined;
1954
-
1955
- /**
1956
- * <p>The pagination token to continue to the next page of results.</p>
1957
- */
1958
- nextToken?: string;
1959
- }
1960
-
1961
- export namespace ListReplicationSetsOutput {
1962
- /**
1963
- * @internal
1964
- */
1965
- export const filterSensitiveLog = (obj: ListReplicationSetsOutput): any => ({
1966
- ...obj,
1967
- });
1968
- }
1969
-
1970
- export interface ListResponsePlansInput {
1971
- /**
1972
- * <p>The maximum number of response plans per page.</p>
1973
- */
1974
- maxResults?: number;
1975
-
1976
- /**
1977
- * <p>The pagination token to continue to the next page of results.</p>
1978
- */
1979
- nextToken?: string;
1980
- }
1981
-
1982
- export namespace ListResponsePlansInput {
1983
- /**
1984
- * @internal
1985
- */
1986
- export const filterSensitiveLog = (obj: ListResponsePlansInput): any => ({
1987
- ...obj,
1988
- });
1989
- }
1990
-
1991
- /**
1992
- * <p>Details of the response plan that are used when creating an incident.</p>
1993
- */
1994
- export interface ResponsePlanSummary {
1995
- /**
1996
- * <p>The Amazon Resource Name (ARN) of the response plan.</p>
1997
- */
1998
- arn: string | undefined;
1999
-
2000
- /**
2001
- * <p>The name of the response plan. This can't include spaces.</p>
2002
- */
2003
- name: string | undefined;
2004
-
2005
- /**
2006
- * <p>The human readable name of the response plan. This can include spaces.</p>
2007
- */
2008
- displayName?: string;
2009
- }
2010
-
2011
- export namespace ResponsePlanSummary {
2012
- /**
2013
- * @internal
2014
- */
2015
- export const filterSensitiveLog = (obj: ResponsePlanSummary): any => ({
2016
- ...obj,
2017
- });
2018
- }
2019
-
2020
- export interface ListResponsePlansOutput {
2021
- /**
2022
- * <p>Details of each response plan.</p>
2023
- */
2024
- responsePlanSummaries: ResponsePlanSummary[] | undefined;
2025
-
2026
- /**
2027
- * <p>The pagination token to continue to the next page of results.</p>
2028
- */
2029
- nextToken?: string;
2030
- }
2031
-
2032
- export namespace ListResponsePlansOutput {
2033
- /**
2034
- * @internal
2035
- */
2036
- export const filterSensitiveLog = (obj: ListResponsePlansOutput): any => ({
2037
- ...obj,
2038
- });
2039
- }
2040
-
2041
- export interface ListTagsForResourceRequest {
2042
- /**
2043
- * <p>The Amazon Resource Name (ARN) of the response plan.</p>
2044
- */
2045
- resourceArn: string | undefined;
2046
- }
2047
-
2048
- export namespace ListTagsForResourceRequest {
2049
- /**
2050
- * @internal
2051
- */
2052
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
2053
- ...obj,
2054
- });
2055
- }
2056
-
2057
- export interface ListTagsForResourceResponse {
2058
- /**
2059
- * <p>A list of tags for the response plan.</p>
2060
- */
2061
- tags: { [key: string]: string } | undefined;
2062
- }
2063
-
2064
- export namespace ListTagsForResourceResponse {
2065
- /**
2066
- * @internal
2067
- */
2068
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
2069
- ...obj,
2070
- });
2071
- }
2072
-
2073
- export enum TimelineEventSort {
2074
- EVENT_TIME = "EVENT_TIME",
2075
- }
2076
-
2077
- export enum SortOrder {
2078
- ASCENDING = "ASCENDING",
2079
- DESCENDING = "DESCENDING",
2080
- }
2081
-
2082
- export interface ListTimelineEventsInput {
2083
- /**
2084
- * <p>The Amazon Resource Name (ARN) of the incident that the event is part of.</p>
2085
- */
2086
- incidentRecordArn: string | undefined;
2087
-
2088
- /**
2089
- * <p>Filters the timeline events based on the provided conditional values. You can filter
2090
- * timeline events using the following keys:</p>
2091
- * <ul>
2092
- * <li>
2093
- * <p>
2094
- * <code>eventTime</code>
2095
- * </p>
2096
- * </li>
2097
- * <li>
2098
- * <p>
2099
- * <code>eventType</code>
2100
- * </p>
2101
- * </li>
2102
- * </ul>
2103
- */
2104
- filters?: Filter[];
2105
-
2106
- /**
2107
- * <p>Sort by the specified key value pair.</p>
2108
- */
2109
- sortBy?: TimelineEventSort | string;
2110
-
2111
- /**
2112
- * <p>Sorts the order of timeline events by the value specified in the <code>sortBy</code>
2113
- * field.</p>
2114
- */
2115
- sortOrder?: SortOrder | string;
2116
-
2117
- /**
2118
- * <p>The maximum number of results per page.</p>
2119
- */
2120
- maxResults?: number;
2121
-
2122
- /**
2123
- * <p>The pagination token to continue to the next page of results.</p>
2124
- */
2125
- nextToken?: string;
2126
- }
2127
-
2128
- export namespace ListTimelineEventsInput {
2129
- /**
2130
- * @internal
2131
- */
2132
- export const filterSensitiveLog = (obj: ListTimelineEventsInput): any => ({
2133
- ...obj,
2134
- ...(obj.filters && { filters: obj.filters.map((item) => Filter.filterSensitiveLog(item)) }),
2135
- });
2136
- }
2137
-
2138
- export interface ListTimelineEventsOutput {
2139
- /**
2140
- * <p>Details about each event that occurred during the incident.</p>
2141
- */
2142
- eventSummaries: EventSummary[] | undefined;
2143
-
2144
- /**
2145
- * <p>The pagination token to continue to the next page of results.</p>
2146
- */
2147
- nextToken?: string;
2148
- }
2149
-
2150
- export namespace ListTimelineEventsOutput {
2151
- /**
2152
- * @internal
2153
- */
2154
- export const filterSensitiveLog = (obj: ListTimelineEventsOutput): any => ({
2155
- ...obj,
2156
- });
2157
- }
2158
-
2159
- export interface PutResourcePolicyInput {
2160
- /**
2161
- * <p>The Amazon Resource Name (ARN) of the response plan you're adding the resource policy
2162
- * to.</p>
2163
- */
2164
- resourceArn: string | undefined;
2165
-
2166
- /**
2167
- * <p>Details of the resource policy.</p>
2168
- */
2169
- policy: string | undefined;
2170
- }
2171
-
2172
- export namespace PutResourcePolicyInput {
2173
- /**
2174
- * @internal
2175
- */
2176
- export const filterSensitiveLog = (obj: PutResourcePolicyInput): any => ({
2177
- ...obj,
2178
- });
2179
- }
2180
-
2181
- export interface PutResourcePolicyOutput {
2182
- /**
2183
- * <p>The ID of the resource policy.</p>
2184
- */
2185
- policyId: string | undefined;
2186
- }
2187
-
2188
- export namespace PutResourcePolicyOutput {
2189
- /**
2190
- * @internal
2191
- */
2192
- export const filterSensitiveLog = (obj: PutResourcePolicyOutput): any => ({
2193
- ...obj,
2194
- });
2195
- }
2196
-
2197
- /**
2198
- * <p>Details about the related item you're adding.</p>
2199
- */
2200
- export type RelatedItemsUpdate =
2201
- | RelatedItemsUpdate.ItemToAddMember
2202
- | RelatedItemsUpdate.ItemToRemoveMember
2203
- | RelatedItemsUpdate.$UnknownMember;
2204
-
2205
- export namespace RelatedItemsUpdate {
2206
- /**
2207
- * <p>Details about the related item you're adding.</p>
2208
- */
2209
- export interface ItemToAddMember {
2210
- itemToAdd: RelatedItem;
2211
- itemToRemove?: never;
2212
- $unknown?: never;
2213
- }
2214
-
2215
- /**
2216
- * <p>Details about the related item you're deleting.</p>
2217
- */
2218
- export interface ItemToRemoveMember {
2219
- itemToAdd?: never;
2220
- itemToRemove: ItemIdentifier;
2221
- $unknown?: never;
2222
- }
2223
-
2224
- export interface $UnknownMember {
2225
- itemToAdd?: never;
2226
- itemToRemove?: never;
2227
- $unknown: [string, any];
2228
- }
2229
-
2230
- export interface Visitor<T> {
2231
- itemToAdd: (value: RelatedItem) => T;
2232
- itemToRemove: (value: ItemIdentifier) => T;
2233
- _: (name: string, value: any) => T;
2234
- }
2235
-
2236
- export const visit = <T>(value: RelatedItemsUpdate, visitor: Visitor<T>): T => {
2237
- if (value.itemToAdd !== undefined) return visitor.itemToAdd(value.itemToAdd);
2238
- if (value.itemToRemove !== undefined) return visitor.itemToRemove(value.itemToRemove);
2239
- return visitor._(value.$unknown[0], value.$unknown[1]);
2240
- };
2241
-
2242
- /**
2243
- * @internal
2244
- */
2245
- export const filterSensitiveLog = (obj: RelatedItemsUpdate): any => {
2246
- if (obj.itemToAdd !== undefined) return { itemToAdd: RelatedItem.filterSensitiveLog(obj.itemToAdd) };
2247
- if (obj.itemToRemove !== undefined) return { itemToRemove: ItemIdentifier.filterSensitiveLog(obj.itemToRemove) };
2248
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
2249
- };
2250
- }
2251
-
2252
- /**
2253
- * <p>Details about what caused the incident to be created in Incident Manager.</p>
2254
- */
2255
- export interface TriggerDetails {
2256
- /**
2257
- * <p>Identifies the service that sourced the event. All events sourced from within AWS begin
2258
- * with "aws." Customer-generated events can have any value here, as long as it doesn't begin
2259
- * with "aws." We recommend the use of Java package-name style reverse domain-name strings. </p>
2260
- */
2261
- source: string | undefined;
2262
-
2263
- /**
2264
- * <p>The ARN of the source that detected the incident.</p>
2265
- */
2266
- triggerArn?: string;
2267
-
2268
- /**
2269
- * <p>The time that the incident was detected.</p>
2270
- */
2271
- timestamp: Date | undefined;
2272
-
2273
- /**
2274
- * <p>Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an
2275
- * incident is created.</p>
2276
- */
2277
- rawData?: string;
2278
- }
2279
-
2280
- export namespace TriggerDetails {
2281
- /**
2282
- * @internal
2283
- */
2284
- export const filterSensitiveLog = (obj: TriggerDetails): any => ({
2285
- ...obj,
2286
- });
2287
- }
2288
-
2289
- export interface StartIncidentInput {
2290
- /**
2291
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2292
- */
2293
- clientToken?: string;
2294
-
2295
- /**
2296
- * <p>The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat
2297
- * channels, SNS topics, runbooks, title, and impact of the incident. </p>
2298
- */
2299
- responsePlanArn: string | undefined;
2300
-
2301
- /**
2302
- * <p>Provide a title for the incident. Providing a title overwrites the title provided by
2303
- * the response plan. </p>
2304
- */
2305
- title?: string;
2306
-
2307
- /**
2308
- * <p>Defines the impact to the customers. Providing an impact overwrites the impact
2309
- * provided by a response plan.</p>
2310
- * <p class="title">
2311
- * <b>Possible impacts:</b>
2312
- * </p>
2313
- * <ul>
2314
- * <li>
2315
- * <p>
2316
- * <code>1</code> - Critical impact, this typically relates to full application
2317
- * failure that impacts many to all customers. </p>
2318
- * </li>
2319
- * <li>
2320
- * <p>
2321
- * <code>2</code> - High impact, partial application failure with impact to many
2322
- * customers.</p>
2323
- * </li>
2324
- * <li>
2325
- * <p>
2326
- * <code>3</code> - Medium impact, the application is providing reduced service
2327
- * to customers.</p>
2328
- * </li>
2329
- * <li>
2330
- * <p>
2331
- * <code>4</code> - Low impact, customer might aren't impacted by the problem
2332
- * yet.</p>
2333
- * </li>
2334
- * <li>
2335
- * <p>
2336
- * <code>5</code> - No impact, customers aren't currently impacted but urgent
2337
- * action is needed to avoid impact.</p>
2338
- * </li>
2339
- * </ul>
2340
- */
2341
- impact?: number;
2342
-
2343
- /**
2344
- * <p>Details of what created the incident record in Incident Manager.</p>
2345
- */
2346
- triggerDetails?: TriggerDetails;
2347
-
2348
- /**
2349
- * <p>Add related items to the incident for other responders to use. Related items are AWS
2350
- * resources, external links, or files uploaded to an S3 bucket. </p>
2351
- */
2352
- relatedItems?: RelatedItem[];
2353
- }
2354
-
2355
- export namespace StartIncidentInput {
2356
- /**
2357
- * @internal
2358
- */
2359
- export const filterSensitiveLog = (obj: StartIncidentInput): any => ({
2360
- ...obj,
2361
- ...(obj.relatedItems && { relatedItems: obj.relatedItems.map((item) => RelatedItem.filterSensitiveLog(item)) }),
2362
- });
2363
- }
2364
-
2365
- export interface StartIncidentOutput {
2366
- /**
2367
- * <p>The ARN of the newly created incident record.</p>
2368
- */
2369
- incidentRecordArn: string | undefined;
2370
- }
2371
-
2372
- export namespace StartIncidentOutput {
2373
- /**
2374
- * @internal
2375
- */
2376
- export const filterSensitiveLog = (obj: StartIncidentOutput): any => ({
2377
- ...obj,
2378
- });
2379
- }
2380
-
2381
- export interface TagResourceRequest {
2382
- /**
2383
- * <p>The Amazon Resource Name (ARN) of the response plan you're adding the tags to.</p>
2384
- */
2385
- resourceArn: string | undefined;
2386
-
2387
- /**
2388
- * <p>A list of tags that you are adding to the response plan.</p>
2389
- */
2390
- tags: { [key: string]: string } | undefined;
2391
- }
2392
-
2393
- export namespace TagResourceRequest {
2394
- /**
2395
- * @internal
2396
- */
2397
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
2398
- ...obj,
2399
- });
2400
- }
2401
-
2402
- export interface TagResourceResponse {}
2403
-
2404
- export namespace TagResourceResponse {
2405
- /**
2406
- * @internal
2407
- */
2408
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
2409
- ...obj,
2410
- });
2411
- }
2412
-
2413
- export interface UntagResourceRequest {
2414
- /**
2415
- * <p>The Amazon Resource Name (ARN) of the response plan you're removing a tag from.</p>
2416
- */
2417
- resourceArn: string | undefined;
2418
-
2419
- /**
2420
- * <p>The name of the tag you're removing from the response plan.</p>
2421
- */
2422
- tagKeys: string[] | undefined;
2423
- }
2424
-
2425
- export namespace UntagResourceRequest {
2426
- /**
2427
- * @internal
2428
- */
2429
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
2430
- ...obj,
2431
- });
2432
- }
2433
-
2434
- export interface UntagResourceResponse {}
2435
-
2436
- export namespace UntagResourceResponse {
2437
- /**
2438
- * @internal
2439
- */
2440
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
2441
- ...obj,
2442
- });
2443
- }
2444
-
2445
- export interface UpdateDeletionProtectionInput {
2446
- /**
2447
- * <p>The Amazon Resource Name (ARN) of the replication set you're updating.</p>
2448
- */
2449
- arn: string | undefined;
2450
-
2451
- /**
2452
- * <p>Details if deletion protection is enabled or disabled in your account.</p>
2453
- */
2454
- deletionProtected: boolean | undefined;
2455
-
2456
- /**
2457
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2458
- */
2459
- clientToken?: string;
2460
- }
2461
-
2462
- export namespace UpdateDeletionProtectionInput {
2463
- /**
2464
- * @internal
2465
- */
2466
- export const filterSensitiveLog = (obj: UpdateDeletionProtectionInput): any => ({
2467
- ...obj,
2468
- });
2469
- }
2470
-
2471
- export interface UpdateDeletionProtectionOutput {}
2472
-
2473
- export namespace UpdateDeletionProtectionOutput {
2474
- /**
2475
- * @internal
2476
- */
2477
- export const filterSensitiveLog = (obj: UpdateDeletionProtectionOutput): any => ({
2478
- ...obj,
2479
- });
2480
- }
2481
-
2482
- export interface UpdateIncidentRecordInput {
2483
- /**
2484
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2485
- */
2486
- clientToken?: string;
2487
-
2488
- /**
2489
- * <p>The Amazon Resource Name (ARN) of the incident record you are updating.</p>
2490
- */
2491
- arn: string | undefined;
2492
-
2493
- /**
2494
- * <p>The title of the incident is a brief and easily recognizable.</p>
2495
- */
2496
- title?: string;
2497
-
2498
- /**
2499
- * <p>The summary describes what has happened during the incident.</p>
2500
- */
2501
- summary?: string;
2502
-
2503
- /**
2504
- * <p>Defines the impact to customers and applications. Providing an impact overwrites the
2505
- * impact provided by the response plan.</p>
2506
- * <p class="title">
2507
- * <b>Possible impacts:</b>
2508
- * </p>
2509
- * <ul>
2510
- * <li>
2511
- * <p>
2512
- * <code>1</code> - Critical impact, this typically relates to full application
2513
- * failure that impacts many to all customers. </p>
2514
- * </li>
2515
- * <li>
2516
- * <p>
2517
- * <code>2</code> - High impact, partial application failure with impact to many
2518
- * customers.</p>
2519
- * </li>
2520
- * <li>
2521
- * <p>
2522
- * <code>3</code> - Medium impact, the application is providing reduced service
2523
- * to customers.</p>
2524
- * </li>
2525
- * <li>
2526
- * <p>
2527
- * <code>4</code> - Low impact, customer might aren't impacted by the problem
2528
- * yet.</p>
2529
- * </li>
2530
- * <li>
2531
- * <p>
2532
- * <code>5</code> - No impact, customers aren't currently impacted but urgent
2533
- * action is needed to avoid impact.</p>
2534
- * </li>
2535
- * </ul>
2536
- */
2537
- impact?: number;
2538
-
2539
- /**
2540
- * <p>The status of the incident. An incident can be <code>Open</code> or <code>Resolved</code>.</p>
2541
- */
2542
- status?: IncidentRecordStatus | string;
2543
-
2544
- /**
2545
- * <p>The AWS Chatbot chat channel for responders to collaborate in.</p>
2546
- */
2547
- chatChannel?: ChatChannel;
2548
-
2549
- /**
2550
- * <p>The SNS targets that are notified when updates are made to an incident.</p>
2551
- * <p>Using multiple SNS topics creates redundancy in the case that a Region is down during
2552
- * the incident.</p>
2553
- */
2554
- notificationTargets?: NotificationTargetItem[];
2555
- }
2556
-
2557
- export namespace UpdateIncidentRecordInput {
2558
- /**
2559
- * @internal
2560
- */
2561
- export const filterSensitiveLog = (obj: UpdateIncidentRecordInput): any => ({
2562
- ...obj,
2563
- ...(obj.chatChannel && { chatChannel: ChatChannel.filterSensitiveLog(obj.chatChannel) }),
2564
- ...(obj.notificationTargets && {
2565
- notificationTargets: obj.notificationTargets.map((item) => NotificationTargetItem.filterSensitiveLog(item)),
2566
- }),
2567
- });
2568
- }
2569
-
2570
- export interface UpdateIncidentRecordOutput {}
2571
-
2572
- export namespace UpdateIncidentRecordOutput {
2573
- /**
2574
- * @internal
2575
- */
2576
- export const filterSensitiveLog = (obj: UpdateIncidentRecordOutput): any => ({
2577
- ...obj,
2578
- });
2579
- }
2580
-
2581
- export interface UpdateRelatedItemsInput {
2582
- /**
2583
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2584
- */
2585
- clientToken?: string;
2586
-
2587
- /**
2588
- * <p>The Amazon Resource Name (ARN) of the incident record you are updating related items
2589
- * in.</p>
2590
- */
2591
- incidentRecordArn: string | undefined;
2592
-
2593
- /**
2594
- * <p>Details about the item you are adding or deleting.</p>
2595
- */
2596
- relatedItemsUpdate: RelatedItemsUpdate | undefined;
2597
- }
2598
-
2599
- export namespace UpdateRelatedItemsInput {
2600
- /**
2601
- * @internal
2602
- */
2603
- export const filterSensitiveLog = (obj: UpdateRelatedItemsInput): any => ({
2604
- ...obj,
2605
- ...(obj.relatedItemsUpdate && {
2606
- relatedItemsUpdate: RelatedItemsUpdate.filterSensitiveLog(obj.relatedItemsUpdate),
2607
- }),
2608
- });
2609
- }
2610
-
2611
- export interface UpdateRelatedItemsOutput {}
2612
-
2613
- export namespace UpdateRelatedItemsOutput {
2614
- /**
2615
- * @internal
2616
- */
2617
- export const filterSensitiveLog = (obj: UpdateRelatedItemsOutput): any => ({
2618
- ...obj,
2619
- });
2620
- }
2621
-
2622
- /**
2623
- * <p>Details used when updating the replication set.</p>
2624
- */
2625
- export type UpdateReplicationSetAction =
2626
- | UpdateReplicationSetAction.AddRegionActionMember
2627
- | UpdateReplicationSetAction.DeleteRegionActionMember
2628
- | UpdateReplicationSetAction.$UnknownMember;
2629
-
2630
- export namespace UpdateReplicationSetAction {
2631
- /**
2632
- * <p>Details about the Region that you're adding to the replication set.</p>
2633
- */
2634
- export interface AddRegionActionMember {
2635
- addRegionAction: AddRegionAction;
2636
- deleteRegionAction?: never;
2637
- $unknown?: never;
2638
- }
2639
-
2640
- /**
2641
- * <p>Details about the Region that you're deleting to the replication set.</p>
2642
- */
2643
- export interface DeleteRegionActionMember {
2644
- addRegionAction?: never;
2645
- deleteRegionAction: DeleteRegionAction;
2646
- $unknown?: never;
2647
- }
2648
-
2649
- export interface $UnknownMember {
2650
- addRegionAction?: never;
2651
- deleteRegionAction?: never;
2652
- $unknown: [string, any];
2653
- }
2654
-
2655
- export interface Visitor<T> {
2656
- addRegionAction: (value: AddRegionAction) => T;
2657
- deleteRegionAction: (value: DeleteRegionAction) => T;
2658
- _: (name: string, value: any) => T;
2659
- }
2660
-
2661
- export const visit = <T>(value: UpdateReplicationSetAction, visitor: Visitor<T>): T => {
2662
- if (value.addRegionAction !== undefined) return visitor.addRegionAction(value.addRegionAction);
2663
- if (value.deleteRegionAction !== undefined) return visitor.deleteRegionAction(value.deleteRegionAction);
2664
- return visitor._(value.$unknown[0], value.$unknown[1]);
2665
- };
2666
-
2667
- /**
2668
- * @internal
2669
- */
2670
- export const filterSensitiveLog = (obj: UpdateReplicationSetAction): any => {
2671
- if (obj.addRegionAction !== undefined)
2672
- return { addRegionAction: AddRegionAction.filterSensitiveLog(obj.addRegionAction) };
2673
- if (obj.deleteRegionAction !== undefined)
2674
- return { deleteRegionAction: DeleteRegionAction.filterSensitiveLog(obj.deleteRegionAction) };
2675
- if (obj.$unknown !== undefined) return { [obj.$unknown[0]]: "UNKNOWN" };
2676
- };
2677
- }
2678
-
2679
- export interface UpdateReplicationSetInput {
2680
- /**
2681
- * <p>The Amazon Resource Name (ARN) of the replication set you're updating.</p>
2682
- */
2683
- arn: string | undefined;
2684
-
2685
- /**
2686
- * <p>An action to add or delete a Region.</p>
2687
- */
2688
- actions: UpdateReplicationSetAction[] | undefined;
2689
-
2690
- /**
2691
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2692
- */
2693
- clientToken?: string;
2694
- }
2695
-
2696
- export namespace UpdateReplicationSetInput {
2697
- /**
2698
- * @internal
2699
- */
2700
- export const filterSensitiveLog = (obj: UpdateReplicationSetInput): any => ({
2701
- ...obj,
2702
- ...(obj.actions && { actions: obj.actions.map((item) => UpdateReplicationSetAction.filterSensitiveLog(item)) }),
2703
- });
2704
- }
2705
-
2706
- export interface UpdateReplicationSetOutput {}
2707
-
2708
- export namespace UpdateReplicationSetOutput {
2709
- /**
2710
- * @internal
2711
- */
2712
- export const filterSensitiveLog = (obj: UpdateReplicationSetOutput): any => ({
2713
- ...obj,
2714
- });
2715
- }
2716
-
2717
- export interface UpdateResponsePlanInput {
2718
- /**
2719
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2720
- */
2721
- clientToken?: string;
2722
-
2723
- /**
2724
- * <p>The Amazon Resource Name (ARN) of the response plan.</p>
2725
- */
2726
- arn: string | undefined;
2727
-
2728
- /**
2729
- * <p>The long format name of the response plan. Can't contain spaces.</p>
2730
- */
2731
- displayName?: string;
2732
-
2733
- /**
2734
- * <p>The short format name of the incident. Can't contain spaces.</p>
2735
- */
2736
- incidentTemplateTitle?: string;
2737
-
2738
- /**
2739
- * <p>Defines the impact to the customers. Providing an impact overwrites the impact
2740
- * provided by a response plan.</p>
2741
- * <p class="title">
2742
- * <b>Possible impacts:</b>
2743
- * </p>
2744
- * <ul>
2745
- * <li>
2746
- * <p>
2747
- * <code>5</code> - Severe impact</p>
2748
- * </li>
2749
- * <li>
2750
- * <p>
2751
- * <code>4</code> - High impact</p>
2752
- * </li>
2753
- * <li>
2754
- * <p>
2755
- * <code>3</code> - Medium impact</p>
2756
- * </li>
2757
- * <li>
2758
- * <p>
2759
- * <code>2</code> - Low impact</p>
2760
- * </li>
2761
- * <li>
2762
- * <p>
2763
- * <code>1</code> - No impact</p>
2764
- * </li>
2765
- * </ul>
2766
- */
2767
- incidentTemplateImpact?: number;
2768
-
2769
- /**
2770
- * <p>A brief summary of the incident. This typically contains what has happened, what's
2771
- * currently happening, and next steps.</p>
2772
- */
2773
- incidentTemplateSummary?: string;
2774
-
2775
- /**
2776
- * <p>Used to create only one incident record for an incident.</p>
2777
- */
2778
- incidentTemplateDedupeString?: string;
2779
-
2780
- /**
2781
- * <p>The SNS targets that are notified when updates are made to an incident.</p>
2782
- */
2783
- incidentTemplateNotificationTargets?: NotificationTargetItem[];
2784
-
2785
- /**
2786
- * <p>The
2787
- * AWS
2788
- * Chatbot chat channel used for collaboration during an
2789
- * incident.</p>
2790
- * <p>Use the empty structure to remove the chat channel from the response plan.</p>
2791
- */
2792
- chatChannel?: ChatChannel;
2793
-
2794
- /**
2795
- * <p>The contacts and escalation plans that Incident Manager engages at the start of the incident.</p>
2796
- */
2797
- engagements?: string[];
2798
-
2799
- /**
2800
- * <p>The actions that this response plan takes at the beginning of an incident.</p>
2801
- */
2802
- actions?: Action[];
2803
- }
2804
-
2805
- export namespace UpdateResponsePlanInput {
2806
- /**
2807
- * @internal
2808
- */
2809
- export const filterSensitiveLog = (obj: UpdateResponsePlanInput): any => ({
2810
- ...obj,
2811
- ...(obj.incidentTemplateNotificationTargets && {
2812
- incidentTemplateNotificationTargets: obj.incidentTemplateNotificationTargets.map((item) =>
2813
- NotificationTargetItem.filterSensitiveLog(item)
2814
- ),
2815
- }),
2816
- ...(obj.chatChannel && { chatChannel: ChatChannel.filterSensitiveLog(obj.chatChannel) }),
2817
- ...(obj.actions && { actions: obj.actions.map((item) => Action.filterSensitiveLog(item)) }),
2818
- });
2819
- }
2820
-
2821
- export interface UpdateResponsePlanOutput {}
2822
-
2823
- export namespace UpdateResponsePlanOutput {
2824
- /**
2825
- * @internal
2826
- */
2827
- export const filterSensitiveLog = (obj: UpdateResponsePlanOutput): any => ({
2828
- ...obj,
2829
- });
2830
- }
2831
-
2832
- export interface UpdateTimelineEventInput {
2833
- /**
2834
- * <p>A token ensuring that the action is called only once with the specified details.</p>
2835
- */
2836
- clientToken?: string;
2837
-
2838
- /**
2839
- * <p>The Amazon Resource Name (ARN) of the incident that the timeline event is part
2840
- * of.</p>
2841
- */
2842
- incidentRecordArn: string | undefined;
2843
-
2844
- /**
2845
- * <p>The ID of the event you are updating. You can find this by using <code>ListTimelineEvents</code>.</p>
2846
- */
2847
- eventId: string | undefined;
2848
-
2849
- /**
2850
- * <p>The time that the event occurred.</p>
2851
- */
2852
- eventTime?: Date;
2853
-
2854
- /**
2855
- * <p>The type of the event. You can update events of type <code>Custom Event</code>.</p>
2856
- */
2857
- eventType?: string;
2858
-
2859
- /**
2860
- * <p>A short description of the event.</p>
2861
- */
2862
- eventData?: string;
2863
- }
2864
-
2865
- export namespace UpdateTimelineEventInput {
2866
- /**
2867
- * @internal
2868
- */
2869
- export const filterSensitiveLog = (obj: UpdateTimelineEventInput): any => ({
2870
- ...obj,
2871
- });
2872
- }
2873
-
2874
- export interface UpdateTimelineEventOutput {}
2875
-
2876
- export namespace UpdateTimelineEventOutput {
2877
- /**
2878
- * @internal
2879
- */
2880
- export const filterSensitiveLog = (obj: UpdateTimelineEventOutput): any => ({
2881
- ...obj,
2882
- });
2883
- }