ssmincidents.d.ts 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {WaiterConfiguration} from '../lib/service';
  6. import {ServiceConfigurationOptions} from '../lib/service';
  7. import {ConfigBase as Config} from '../lib/config-base';
  8. interface Blob {}
  9. declare class SSMIncidents extends Service {
  10. /**
  11. * Constructs a service object. This object has one method for each API operation.
  12. */
  13. constructor(options?: SSMIncidents.Types.ClientConfiguration)
  14. config: Config & SSMIncidents.Types.ClientConfiguration;
  15. /**
  16. * Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.
  17. */
  18. batchGetIncidentFindings(params: SSMIncidents.Types.BatchGetIncidentFindingsInput, callback?: (err: AWSError, data: SSMIncidents.Types.BatchGetIncidentFindingsOutput) => void): Request<SSMIncidents.Types.BatchGetIncidentFindingsOutput, AWSError>;
  19. /**
  20. * Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.
  21. */
  22. batchGetIncidentFindings(callback?: (err: AWSError, data: SSMIncidents.Types.BatchGetIncidentFindingsOutput) => void): Request<SSMIncidents.Types.BatchGetIncidentFindingsOutput, AWSError>;
  23. /**
  24. * A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
  25. */
  26. createReplicationSet(params: SSMIncidents.Types.CreateReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.CreateReplicationSetOutput) => void): Request<SSMIncidents.Types.CreateReplicationSetOutput, AWSError>;
  27. /**
  28. * A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
  29. */
  30. createReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.CreateReplicationSetOutput) => void): Request<SSMIncidents.Types.CreateReplicationSetOutput, AWSError>;
  31. /**
  32. * Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
  33. */
  34. createResponsePlan(params: SSMIncidents.Types.CreateResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.CreateResponsePlanOutput) => void): Request<SSMIncidents.Types.CreateResponsePlanOutput, AWSError>;
  35. /**
  36. * Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
  37. */
  38. createResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.CreateResponsePlanOutput) => void): Request<SSMIncidents.Types.CreateResponsePlanOutput, AWSError>;
  39. /**
  40. * Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.
  41. */
  42. createTimelineEvent(params: SSMIncidents.Types.CreateTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.CreateTimelineEventOutput) => void): Request<SSMIncidents.Types.CreateTimelineEventOutput, AWSError>;
  43. /**
  44. * Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.
  45. */
  46. createTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.CreateTimelineEventOutput) => void): Request<SSMIncidents.Types.CreateTimelineEventOutput, AWSError>;
  47. /**
  48. * Delete an incident record from Incident Manager.
  49. */
  50. deleteIncidentRecord(params: SSMIncidents.Types.DeleteIncidentRecordInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteIncidentRecordOutput) => void): Request<SSMIncidents.Types.DeleteIncidentRecordOutput, AWSError>;
  51. /**
  52. * Delete an incident record from Incident Manager.
  53. */
  54. deleteIncidentRecord(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteIncidentRecordOutput) => void): Request<SSMIncidents.Types.DeleteIncidentRecordOutput, AWSError>;
  55. /**
  56. * Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data.
  57. */
  58. deleteReplicationSet(params: SSMIncidents.Types.DeleteReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteReplicationSetOutput) => void): Request<SSMIncidents.Types.DeleteReplicationSetOutput, AWSError>;
  59. /**
  60. * Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data.
  61. */
  62. deleteReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteReplicationSetOutput) => void): Request<SSMIncidents.Types.DeleteReplicationSetOutput, AWSError>;
  63. /**
  64. * Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
  65. */
  66. deleteResourcePolicy(params: SSMIncidents.Types.DeleteResourcePolicyInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResourcePolicyOutput) => void): Request<SSMIncidents.Types.DeleteResourcePolicyOutput, AWSError>;
  67. /**
  68. * Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
  69. */
  70. deleteResourcePolicy(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResourcePolicyOutput) => void): Request<SSMIncidents.Types.DeleteResourcePolicyOutput, AWSError>;
  71. /**
  72. * Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response plan.
  73. */
  74. deleteResponsePlan(params: SSMIncidents.Types.DeleteResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResponsePlanOutput) => void): Request<SSMIncidents.Types.DeleteResponsePlanOutput, AWSError>;
  75. /**
  76. * Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response plan.
  77. */
  78. deleteResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteResponsePlanOutput) => void): Request<SSMIncidents.Types.DeleteResponsePlanOutput, AWSError>;
  79. /**
  80. * Deletes a timeline event from an incident.
  81. */
  82. deleteTimelineEvent(params: SSMIncidents.Types.DeleteTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.DeleteTimelineEventOutput) => void): Request<SSMIncidents.Types.DeleteTimelineEventOutput, AWSError>;
  83. /**
  84. * Deletes a timeline event from an incident.
  85. */
  86. deleteTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.DeleteTimelineEventOutput) => void): Request<SSMIncidents.Types.DeleteTimelineEventOutput, AWSError>;
  87. /**
  88. * Returns the details for the specified incident record.
  89. */
  90. getIncidentRecord(params: SSMIncidents.Types.GetIncidentRecordInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetIncidentRecordOutput) => void): Request<SSMIncidents.Types.GetIncidentRecordOutput, AWSError>;
  91. /**
  92. * Returns the details for the specified incident record.
  93. */
  94. getIncidentRecord(callback?: (err: AWSError, data: SSMIncidents.Types.GetIncidentRecordOutput) => void): Request<SSMIncidents.Types.GetIncidentRecordOutput, AWSError>;
  95. /**
  96. * Retrieve your Incident Manager replication set.
  97. */
  98. getReplicationSet(params: SSMIncidents.Types.GetReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request<SSMIncidents.Types.GetReplicationSetOutput, AWSError>;
  99. /**
  100. * Retrieve your Incident Manager replication set.
  101. */
  102. getReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request<SSMIncidents.Types.GetReplicationSetOutput, AWSError>;
  103. /**
  104. * Retrieves the resource policies attached to the specified response plan.
  105. */
  106. getResourcePolicies(params: SSMIncidents.Types.GetResourcePoliciesInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetResourcePoliciesOutput) => void): Request<SSMIncidents.Types.GetResourcePoliciesOutput, AWSError>;
  107. /**
  108. * Retrieves the resource policies attached to the specified response plan.
  109. */
  110. getResourcePolicies(callback?: (err: AWSError, data: SSMIncidents.Types.GetResourcePoliciesOutput) => void): Request<SSMIncidents.Types.GetResourcePoliciesOutput, AWSError>;
  111. /**
  112. * Retrieves the details of the specified response plan.
  113. */
  114. getResponsePlan(params: SSMIncidents.Types.GetResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetResponsePlanOutput) => void): Request<SSMIncidents.Types.GetResponsePlanOutput, AWSError>;
  115. /**
  116. * Retrieves the details of the specified response plan.
  117. */
  118. getResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.GetResponsePlanOutput) => void): Request<SSMIncidents.Types.GetResponsePlanOutput, AWSError>;
  119. /**
  120. * Retrieves a timeline event based on its ID and incident record.
  121. */
  122. getTimelineEvent(params: SSMIncidents.Types.GetTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.GetTimelineEventOutput) => void): Request<SSMIncidents.Types.GetTimelineEventOutput, AWSError>;
  123. /**
  124. * Retrieves a timeline event based on its ID and incident record.
  125. */
  126. getTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.GetTimelineEventOutput) => void): Request<SSMIncidents.Types.GetTimelineEventOutput, AWSError>;
  127. /**
  128. * Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.
  129. */
  130. listIncidentFindings(params: SSMIncidents.Types.ListIncidentFindingsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListIncidentFindingsOutput) => void): Request<SSMIncidents.Types.ListIncidentFindingsOutput, AWSError>;
  131. /**
  132. * Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.
  133. */
  134. listIncidentFindings(callback?: (err: AWSError, data: SSMIncidents.Types.ListIncidentFindingsOutput) => void): Request<SSMIncidents.Types.ListIncidentFindingsOutput, AWSError>;
  135. /**
  136. * Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
  137. */
  138. listIncidentRecords(params: SSMIncidents.Types.ListIncidentRecordsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListIncidentRecordsOutput) => void): Request<SSMIncidents.Types.ListIncidentRecordsOutput, AWSError>;
  139. /**
  140. * Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
  141. */
  142. listIncidentRecords(callback?: (err: AWSError, data: SSMIncidents.Types.ListIncidentRecordsOutput) => void): Request<SSMIncidents.Types.ListIncidentRecordsOutput, AWSError>;
  143. /**
  144. * List all related items for an incident record.
  145. */
  146. listRelatedItems(params: SSMIncidents.Types.ListRelatedItemsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListRelatedItemsOutput) => void): Request<SSMIncidents.Types.ListRelatedItemsOutput, AWSError>;
  147. /**
  148. * List all related items for an incident record.
  149. */
  150. listRelatedItems(callback?: (err: AWSError, data: SSMIncidents.Types.ListRelatedItemsOutput) => void): Request<SSMIncidents.Types.ListRelatedItemsOutput, AWSError>;
  151. /**
  152. * Lists details about the replication set configured in your account.
  153. */
  154. listReplicationSets(params: SSMIncidents.Types.ListReplicationSetsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListReplicationSetsOutput) => void): Request<SSMIncidents.Types.ListReplicationSetsOutput, AWSError>;
  155. /**
  156. * Lists details about the replication set configured in your account.
  157. */
  158. listReplicationSets(callback?: (err: AWSError, data: SSMIncidents.Types.ListReplicationSetsOutput) => void): Request<SSMIncidents.Types.ListReplicationSetsOutput, AWSError>;
  159. /**
  160. * Lists all response plans in your account.
  161. */
  162. listResponsePlans(params: SSMIncidents.Types.ListResponsePlansInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListResponsePlansOutput) => void): Request<SSMIncidents.Types.ListResponsePlansOutput, AWSError>;
  163. /**
  164. * Lists all response plans in your account.
  165. */
  166. listResponsePlans(callback?: (err: AWSError, data: SSMIncidents.Types.ListResponsePlansOutput) => void): Request<SSMIncidents.Types.ListResponsePlansOutput, AWSError>;
  167. /**
  168. * Lists the tags that are attached to the specified response plan or incident.
  169. */
  170. listTagsForResource(params: SSMIncidents.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SSMIncidents.Types.ListTagsForResourceResponse) => void): Request<SSMIncidents.Types.ListTagsForResourceResponse, AWSError>;
  171. /**
  172. * Lists the tags that are attached to the specified response plan or incident.
  173. */
  174. listTagsForResource(callback?: (err: AWSError, data: SSMIncidents.Types.ListTagsForResourceResponse) => void): Request<SSMIncidents.Types.ListTagsForResourceResponse, AWSError>;
  175. /**
  176. * Lists timeline events for the specified incident record.
  177. */
  178. listTimelineEvents(params: SSMIncidents.Types.ListTimelineEventsInput, callback?: (err: AWSError, data: SSMIncidents.Types.ListTimelineEventsOutput) => void): Request<SSMIncidents.Types.ListTimelineEventsOutput, AWSError>;
  179. /**
  180. * Lists timeline events for the specified incident record.
  181. */
  182. listTimelineEvents(callback?: (err: AWSError, data: SSMIncidents.Types.ListTimelineEventsOutput) => void): Request<SSMIncidents.Types.ListTimelineEventsOutput, AWSError>;
  183. /**
  184. * Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.
  185. */
  186. putResourcePolicy(params: SSMIncidents.Types.PutResourcePolicyInput, callback?: (err: AWSError, data: SSMIncidents.Types.PutResourcePolicyOutput) => void): Request<SSMIncidents.Types.PutResourcePolicyOutput, AWSError>;
  187. /**
  188. * Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.
  189. */
  190. putResourcePolicy(callback?: (err: AWSError, data: SSMIncidents.Types.PutResourcePolicyOutput) => void): Request<SSMIncidents.Types.PutResourcePolicyOutput, AWSError>;
  191. /**
  192. * Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
  193. */
  194. startIncident(params: SSMIncidents.Types.StartIncidentInput, callback?: (err: AWSError, data: SSMIncidents.Types.StartIncidentOutput) => void): Request<SSMIncidents.Types.StartIncidentOutput, AWSError>;
  195. /**
  196. * Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
  197. */
  198. startIncident(callback?: (err: AWSError, data: SSMIncidents.Types.StartIncidentOutput) => void): Request<SSMIncidents.Types.StartIncidentOutput, AWSError>;
  199. /**
  200. * Adds a tag to a response plan.
  201. */
  202. tagResource(params: SSMIncidents.Types.TagResourceRequest, callback?: (err: AWSError, data: SSMIncidents.Types.TagResourceResponse) => void): Request<SSMIncidents.Types.TagResourceResponse, AWSError>;
  203. /**
  204. * Adds a tag to a response plan.
  205. */
  206. tagResource(callback?: (err: AWSError, data: SSMIncidents.Types.TagResourceResponse) => void): Request<SSMIncidents.Types.TagResourceResponse, AWSError>;
  207. /**
  208. * Removes a tag from a resource.
  209. */
  210. untagResource(params: SSMIncidents.Types.UntagResourceRequest, callback?: (err: AWSError, data: SSMIncidents.Types.UntagResourceResponse) => void): Request<SSMIncidents.Types.UntagResourceResponse, AWSError>;
  211. /**
  212. * Removes a tag from a resource.
  213. */
  214. untagResource(callback?: (err: AWSError, data: SSMIncidents.Types.UntagResourceResponse) => void): Request<SSMIncidents.Types.UntagResourceResponse, AWSError>;
  215. /**
  216. * Update deletion protection to either allow or deny deletion of the final Region in a replication set.
  217. */
  218. updateDeletionProtection(params: SSMIncidents.Types.UpdateDeletionProtectionInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateDeletionProtectionOutput) => void): Request<SSMIncidents.Types.UpdateDeletionProtectionOutput, AWSError>;
  219. /**
  220. * Update deletion protection to either allow or deny deletion of the final Region in a replication set.
  221. */
  222. updateDeletionProtection(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateDeletionProtectionOutput) => void): Request<SSMIncidents.Types.UpdateDeletionProtectionOutput, AWSError>;
  223. /**
  224. * Update the details of an incident record. You can use this operation to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat.
  225. */
  226. updateIncidentRecord(params: SSMIncidents.Types.UpdateIncidentRecordInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateIncidentRecordOutput) => void): Request<SSMIncidents.Types.UpdateIncidentRecordOutput, AWSError>;
  227. /**
  228. * Update the details of an incident record. You can use this operation to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat.
  229. */
  230. updateIncidentRecord(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateIncidentRecordOutput) => void): Request<SSMIncidents.Types.UpdateIncidentRecordOutput, AWSError>;
  231. /**
  232. * Add or remove related items from the related items tab of an incident record.
  233. */
  234. updateRelatedItems(params: SSMIncidents.Types.UpdateRelatedItemsInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateRelatedItemsOutput) => void): Request<SSMIncidents.Types.UpdateRelatedItemsOutput, AWSError>;
  235. /**
  236. * Add or remove related items from the related items tab of an incident record.
  237. */
  238. updateRelatedItems(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateRelatedItemsOutput) => void): Request<SSMIncidents.Types.UpdateRelatedItemsOutput, AWSError>;
  239. /**
  240. * Add or delete Regions from your replication set.
  241. */
  242. updateReplicationSet(params: SSMIncidents.Types.UpdateReplicationSetInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateReplicationSetOutput) => void): Request<SSMIncidents.Types.UpdateReplicationSetOutput, AWSError>;
  243. /**
  244. * Add or delete Regions from your replication set.
  245. */
  246. updateReplicationSet(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateReplicationSetOutput) => void): Request<SSMIncidents.Types.UpdateReplicationSetOutput, AWSError>;
  247. /**
  248. * Updates the specified response plan.
  249. */
  250. updateResponsePlan(params: SSMIncidents.Types.UpdateResponsePlanInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateResponsePlanOutput) => void): Request<SSMIncidents.Types.UpdateResponsePlanOutput, AWSError>;
  251. /**
  252. * Updates the specified response plan.
  253. */
  254. updateResponsePlan(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateResponsePlanOutput) => void): Request<SSMIncidents.Types.UpdateResponsePlanOutput, AWSError>;
  255. /**
  256. * Updates a timeline event. You can update events of type Custom Event.
  257. */
  258. updateTimelineEvent(params: SSMIncidents.Types.UpdateTimelineEventInput, callback?: (err: AWSError, data: SSMIncidents.Types.UpdateTimelineEventOutput) => void): Request<SSMIncidents.Types.UpdateTimelineEventOutput, AWSError>;
  259. /**
  260. * Updates a timeline event. You can update events of type Custom Event.
  261. */
  262. updateTimelineEvent(callback?: (err: AWSError, data: SSMIncidents.Types.UpdateTimelineEventOutput) => void): Request<SSMIncidents.Types.UpdateTimelineEventOutput, AWSError>;
  263. /**
  264. * Waits for the waitForReplicationSetActive state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to become ACTIVE
  265. */
  266. waitFor(state: "waitForReplicationSetActive", params: SSMIncidents.Types.GetReplicationSetInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request<SSMIncidents.Types.GetReplicationSetOutput, AWSError>;
  267. /**
  268. * Waits for the waitForReplicationSetActive state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to become ACTIVE
  269. */
  270. waitFor(state: "waitForReplicationSetActive", callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request<SSMIncidents.Types.GetReplicationSetOutput, AWSError>;
  271. /**
  272. * Waits for the waitForReplicationSetDeleted state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to be deleted
  273. */
  274. waitFor(state: "waitForReplicationSetDeleted", params: SSMIncidents.Types.GetReplicationSetInput & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request<SSMIncidents.Types.GetReplicationSetOutput, AWSError>;
  275. /**
  276. * Waits for the waitForReplicationSetDeleted state by periodically calling the underlying SSMIncidents.getReplicationSetoperation every 30 seconds (at most 5 times). Wait for a replication set to be deleted
  277. */
  278. waitFor(state: "waitForReplicationSetDeleted", callback?: (err: AWSError, data: SSMIncidents.Types.GetReplicationSetOutput) => void): Request<SSMIncidents.Types.GetReplicationSetOutput, AWSError>;
  279. }
  280. declare namespace SSMIncidents {
  281. export interface Action {
  282. /**
  283. * The Systems Manager automation document to start as the runbook at the beginning of the incident.
  284. */
  285. ssmAutomation?: SsmAutomation;
  286. }
  287. export type ActionsList = Action[];
  288. export interface AddRegionAction {
  289. /**
  290. * The Amazon Web Services Region name to add to the replication set.
  291. */
  292. regionName: RegionName;
  293. /**
  294. * The KMS key ID to use to encrypt your replication set.
  295. */
  296. sseKmsKeyId?: SseKmsKey;
  297. }
  298. export type Arn = string;
  299. export interface AttributeValueList {
  300. /**
  301. * The list of integer values that the filter matches.
  302. */
  303. integerValues?: IntegerList;
  304. /**
  305. * The list of string values that the filter matches.
  306. */
  307. stringValues?: StringList;
  308. }
  309. export interface AutomationExecution {
  310. /**
  311. * The Amazon Resource Name (ARN) of the automation process.
  312. */
  313. ssmExecutionArn?: Arn;
  314. }
  315. export type AutomationExecutionSet = AutomationExecution[];
  316. export interface BatchGetIncidentFindingsError {
  317. /**
  318. * The code associated with an error that was returned for a BatchGetIncidentFindings operation.
  319. */
  320. code: String;
  321. /**
  322. * The ID of a specified finding for which an error was returned for a BatchGetIncidentFindings operation.
  323. */
  324. findingId: FindingId;
  325. /**
  326. * The description for an error that was returned for a BatchGetIncidentFindings operation.
  327. */
  328. message: String;
  329. }
  330. export type BatchGetIncidentFindingsErrorList = BatchGetIncidentFindingsError[];
  331. export interface BatchGetIncidentFindingsInput {
  332. /**
  333. * A list of IDs of findings for which you want to view details.
  334. */
  335. findingIds: FindingIdList;
  336. /**
  337. * The Amazon Resource Name (ARN) of the incident for which you want to view finding details.
  338. */
  339. incidentRecordArn: Arn;
  340. }
  341. export interface BatchGetIncidentFindingsOutput {
  342. /**
  343. * A list of errors encountered during the operation.
  344. */
  345. errors: BatchGetIncidentFindingsErrorList;
  346. /**
  347. * Information about the requested findings.
  348. */
  349. findings: FindingList;
  350. }
  351. export type Boolean = boolean;
  352. export interface ChatChannel {
  353. /**
  354. * The Amazon SNS targets that Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics.
  355. */
  356. chatbotSns?: ChatbotSnsConfigurationSet;
  357. /**
  358. * Used to remove the chat channel from an incident record or response plan.
  359. */
  360. empty?: EmptyChatChannel;
  361. }
  362. export type ChatbotSnsConfigurationSet = SnsArn[];
  363. export type ClientToken = string;
  364. export interface CloudFormationStackUpdate {
  365. /**
  366. * The timestamp for when the CloudFormation stack creation or update ended. Not reported for deployments that are still in progress.
  367. */
  368. endTime?: Timestamp;
  369. /**
  370. * The Amazon Resource Name (ARN) of the CloudFormation stack involved in the update.
  371. */
  372. stackArn: Arn;
  373. /**
  374. * The timestamp for when the CloudFormation stack creation or update began.
  375. */
  376. startTime: Timestamp;
  377. }
  378. export interface CodeDeployDeployment {
  379. /**
  380. * The Amazon Resource Name (ARN) of the CodeDeploy deployment group associated with the deployment.
  381. */
  382. deploymentGroupArn: Arn;
  383. /**
  384. * The ID of the CodeDeploy deployment.
  385. */
  386. deploymentId: CodeDeployDeploymentDeploymentIdString;
  387. /**
  388. * The timestamp for when the CodeDeploy deployment ended. Not reported for deployments that are still in progress.
  389. */
  390. endTime?: Timestamp;
  391. /**
  392. * The timestamp for when the CodeDeploy deployment began.
  393. */
  394. startTime: Timestamp;
  395. }
  396. export type CodeDeployDeploymentDeploymentIdString = string;
  397. export interface Condition {
  398. /**
  399. * After the specified timestamp.
  400. */
  401. after?: Timestamp;
  402. /**
  403. * Before the specified timestamp
  404. */
  405. before?: Timestamp;
  406. /**
  407. * The value is equal to the provided string or integer.
  408. */
  409. equals?: AttributeValueList;
  410. }
  411. export interface CreateReplicationSetInput {
  412. /**
  413. * A token that ensures that the operation is called only once with the specified details.
  414. */
  415. clientToken?: ClientToken;
  416. /**
  417. * The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication set.
  418. */
  419. regions: RegionMapInput;
  420. /**
  421. * A list of tags to add to the replication set.
  422. */
  423. tags?: TagMap;
  424. }
  425. export interface CreateReplicationSetOutput {
  426. /**
  427. * The Amazon Resource Name (ARN) of the replication set.
  428. */
  429. arn: Arn;
  430. }
  431. export interface CreateResponsePlanInput {
  432. /**
  433. * The actions that the response plan starts at the beginning of an incident.
  434. */
  435. actions?: ActionsList;
  436. /**
  437. * The Chatbot chat channel used for collaboration during an incident.
  438. */
  439. chatChannel?: ChatChannel;
  440. /**
  441. * A token ensuring that the operation is called only once with the specified details.
  442. */
  443. clientToken?: ClientToken;
  444. /**
  445. * The long format of the response plan name. This field can contain spaces.
  446. */
  447. displayName?: ResponsePlanDisplayName;
  448. /**
  449. * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
  450. */
  451. engagements?: EngagementSet;
  452. /**
  453. * Details used to create an incident when using this response plan.
  454. */
  455. incidentTemplate: IncidentTemplate;
  456. /**
  457. * Information about third-party services integrated into the response plan.
  458. */
  459. integrations?: Integrations;
  460. /**
  461. * The short format name of the response plan. Can't include spaces.
  462. */
  463. name: ResponsePlanName;
  464. /**
  465. * A list of tags that you are adding to the response plan.
  466. */
  467. tags?: TagMap;
  468. }
  469. export interface CreateResponsePlanOutput {
  470. /**
  471. * The Amazon Resource Name (ARN) of the response plan.
  472. */
  473. arn: Arn;
  474. }
  475. export interface CreateTimelineEventInput {
  476. /**
  477. * A token that ensures that a client calls the action only once with the specified details.
  478. */
  479. clientToken?: ClientToken;
  480. /**
  481. * A short description of the event.
  482. */
  483. eventData: EventData;
  484. /**
  485. * Adds one or more references to the TimelineEvent. A reference is an Amazon Web Services resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can also specify a related item associated with a resource. For example, to specify an Amazon DynamoDB (DynamoDB) table as a resource, use the table's ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB table as a related item.
  486. */
  487. eventReferences?: EventReferenceList;
  488. /**
  489. * The timestamp for when the event occurred.
  490. */
  491. eventTime: Timestamp;
  492. /**
  493. * The type of event. You can create timeline events of type Custom Event and Note. To make a Note-type event appear on the Incident notes panel in the console, specify eventType as Noteand enter the Amazon Resource Name (ARN) of the incident as the value for eventReference.
  494. */
  495. eventType: TimelineEventType;
  496. /**
  497. * The Amazon Resource Name (ARN) of the incident record that the action adds the incident to.
  498. */
  499. incidentRecordArn: Arn;
  500. }
  501. export interface CreateTimelineEventOutput {
  502. /**
  503. * The ID of the event for easy reference later.
  504. */
  505. eventId: UUID;
  506. /**
  507. * The ARN of the incident record that you added the event to.
  508. */
  509. incidentRecordArn: Arn;
  510. }
  511. export type DedupeString = string;
  512. export interface DeleteIncidentRecordInput {
  513. /**
  514. * The Amazon Resource Name (ARN) of the incident record you are deleting.
  515. */
  516. arn: Arn;
  517. }
  518. export interface DeleteIncidentRecordOutput {
  519. }
  520. export interface DeleteRegionAction {
  521. /**
  522. * The name of the Amazon Web Services Region you're deleting from the replication set.
  523. */
  524. regionName: RegionName;
  525. }
  526. export interface DeleteReplicationSetInput {
  527. /**
  528. * The Amazon Resource Name (ARN) of the replication set you're deleting.
  529. */
  530. arn: Arn;
  531. }
  532. export interface DeleteReplicationSetOutput {
  533. }
  534. export interface DeleteResourcePolicyInput {
  535. /**
  536. * The ID of the resource policy you're deleting.
  537. */
  538. policyId: PolicyId;
  539. /**
  540. * The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
  541. */
  542. resourceArn: Arn;
  543. }
  544. export interface DeleteResourcePolicyOutput {
  545. }
  546. export interface DeleteResponsePlanInput {
  547. /**
  548. * The Amazon Resource Name (ARN) of the response plan.
  549. */
  550. arn: Arn;
  551. }
  552. export interface DeleteResponsePlanOutput {
  553. }
  554. export interface DeleteTimelineEventInput {
  555. /**
  556. * The ID of the event to update. You can use ListTimelineEvents to find an event's ID.
  557. */
  558. eventId: UUID;
  559. /**
  560. * The Amazon Resource Name (ARN) of the incident that includes the timeline event.
  561. */
  562. incidentRecordArn: Arn;
  563. }
  564. export interface DeleteTimelineEventOutput {
  565. }
  566. export interface DynamicSsmParameterValue {
  567. /**
  568. * Variable dynamic parameters. A parameter value is determined when an incident is created.
  569. */
  570. variable?: VariableType;
  571. }
  572. export type DynamicSsmParameters = {[key: string]: DynamicSsmParameterValue};
  573. export type DynamicSsmParametersKeyString = string;
  574. export interface EmptyChatChannel {
  575. }
  576. export type EngagementSet = SsmContactsArn[];
  577. export type EventData = string;
  578. export interface EventReference {
  579. /**
  580. * The ID of a RelatedItem referenced in a TimelineEvent.
  581. */
  582. relatedItemId?: GeneratedId;
  583. /**
  584. * The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent.
  585. */
  586. resource?: Arn;
  587. }
  588. export type EventReferenceList = EventReference[];
  589. export interface EventSummary {
  590. /**
  591. * The timeline event ID.
  592. */
  593. eventId: UUID;
  594. /**
  595. * A list of references in a TimelineEvent.
  596. */
  597. eventReferences?: EventReferenceList;
  598. /**
  599. * The timestamp for when the event occurred.
  600. */
  601. eventTime: Timestamp;
  602. /**
  603. * The type of event. The timeline event must be Custom Event or Note.
  604. */
  605. eventType: TimelineEventType;
  606. /**
  607. * The timestamp for when the timeline event was last updated.
  608. */
  609. eventUpdatedTime: Timestamp;
  610. /**
  611. * The Amazon Resource Name (ARN) of the incident that the event happened during.
  612. */
  613. incidentRecordArn: Arn;
  614. }
  615. export type EventSummaryList = EventSummary[];
  616. export interface Filter {
  617. /**
  618. * The condition accepts before or after a specified time, equal to a string, or equal to an integer.
  619. */
  620. condition: Condition;
  621. /**
  622. * The key that you're filtering on.
  623. */
  624. key: FilterKeyString;
  625. }
  626. export type FilterKeyString = string;
  627. export type FilterList = Filter[];
  628. export interface Finding {
  629. /**
  630. * The timestamp for when a finding was created.
  631. */
  632. creationTime: Timestamp;
  633. /**
  634. * Details about the finding.
  635. */
  636. details?: FindingDetails;
  637. /**
  638. * The ID assigned to the finding.
  639. */
  640. id: FindingId;
  641. /**
  642. * The timestamp for when the finding was most recently updated with additional information.
  643. */
  644. lastModifiedTime: Timestamp;
  645. }
  646. export interface FindingDetails {
  647. /**
  648. * Information about the CloudFormation stack creation or update associated with the finding.
  649. */
  650. cloudFormationStackUpdate?: CloudFormationStackUpdate;
  651. /**
  652. * Information about the CodeDeploy deployment associated with the finding.
  653. */
  654. codeDeployDeployment?: CodeDeployDeployment;
  655. }
  656. export type FindingId = string;
  657. export type FindingIdList = FindingId[];
  658. export type FindingList = Finding[];
  659. export interface FindingSummary {
  660. /**
  661. * The ID of the finding.
  662. */
  663. id: FindingId;
  664. /**
  665. * The timestamp for when the finding was last updated.
  666. */
  667. lastModifiedTime: Timestamp;
  668. }
  669. export type FindingSummaryList = FindingSummary[];
  670. export type GeneratedId = string;
  671. export interface GetIncidentRecordInput {
  672. /**
  673. * The Amazon Resource Name (ARN) of the incident record.
  674. */
  675. arn: Arn;
  676. }
  677. export interface GetIncidentRecordOutput {
  678. /**
  679. * Details the structure of the incident record.
  680. */
  681. incidentRecord: IncidentRecord;
  682. }
  683. export interface GetReplicationSetInput {
  684. /**
  685. * The Amazon Resource Name (ARN) of the replication set you want to retrieve.
  686. */
  687. arn: Arn;
  688. }
  689. export interface GetReplicationSetOutput {
  690. /**
  691. * Details of the replication set.
  692. */
  693. replicationSet: ReplicationSet;
  694. }
  695. export interface GetResourcePoliciesInput {
  696. /**
  697. * The maximum number of resource policies to display for each page of results.
  698. */
  699. maxResults?: MaxResults;
  700. /**
  701. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  702. */
  703. nextToken?: NextToken;
  704. /**
  705. * The Amazon Resource Name (ARN) of the response plan with the attached resource policy.
  706. */
  707. resourceArn: Arn;
  708. }
  709. export interface GetResourcePoliciesOutput {
  710. /**
  711. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  712. */
  713. nextToken?: NextToken;
  714. /**
  715. * Details about the resource policy attached to the response plan.
  716. */
  717. resourcePolicies: ResourcePolicyList;
  718. }
  719. export interface GetResponsePlanInput {
  720. /**
  721. * The Amazon Resource Name (ARN) of the response plan.
  722. */
  723. arn: Arn;
  724. }
  725. export interface GetResponsePlanOutput {
  726. /**
  727. * The actions that this response plan takes at the beginning of the incident.
  728. */
  729. actions?: ActionsList;
  730. /**
  731. * The ARN of the response plan.
  732. */
  733. arn: Arn;
  734. /**
  735. * The Chatbot chat channel used for collaboration during an incident.
  736. */
  737. chatChannel?: ChatChannel;
  738. /**
  739. * The long format name of the response plan. Can contain spaces.
  740. */
  741. displayName?: ResponsePlanDisplayName;
  742. /**
  743. * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
  744. */
  745. engagements?: EngagementSet;
  746. /**
  747. * Details used to create the incident when using this response plan.
  748. */
  749. incidentTemplate: IncidentTemplate;
  750. /**
  751. * Information about third-party services integrated into the Incident Manager response plan.
  752. */
  753. integrations?: Integrations;
  754. /**
  755. * The short format name of the response plan. The name can't contain spaces.
  756. */
  757. name: ResponsePlanName;
  758. }
  759. export interface GetTimelineEventInput {
  760. /**
  761. * The ID of the event. You can get an event's ID when you create it, or by using ListTimelineEvents.
  762. */
  763. eventId: UUID;
  764. /**
  765. * The Amazon Resource Name (ARN) of the incident that includes the timeline event.
  766. */
  767. incidentRecordArn: Arn;
  768. }
  769. export interface GetTimelineEventOutput {
  770. /**
  771. * Details about the timeline event.
  772. */
  773. event: TimelineEvent;
  774. }
  775. export type Impact = number;
  776. export interface IncidentRecord {
  777. /**
  778. * The Amazon Resource Name (ARN) of the incident record.
  779. */
  780. arn: Arn;
  781. /**
  782. * The runbook, or automation document, that's run at the beginning of the incident.
  783. */
  784. automationExecutions?: AutomationExecutionSet;
  785. /**
  786. * The chat channel used for collaboration during an incident.
  787. */
  788. chatChannel?: ChatChannel;
  789. /**
  790. * The timestamp for when Incident Manager created the incident record.
  791. */
  792. creationTime: Timestamp;
  793. /**
  794. * The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
  795. */
  796. dedupeString: DedupeString;
  797. /**
  798. * The impact of the incident on customers and applications. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact
  799. */
  800. impact: Impact;
  801. /**
  802. * Details about the action that started the incident.
  803. */
  804. incidentRecordSource: IncidentRecordSource;
  805. /**
  806. * Who modified the incident most recently.
  807. */
  808. lastModifiedBy: Arn;
  809. /**
  810. * The timestamp for when the incident was most recently modified.
  811. */
  812. lastModifiedTime: Timestamp;
  813. /**
  814. * The Amazon SNS targets that are notified when updates are made to an incident.
  815. */
  816. notificationTargets?: NotificationTargetSet;
  817. /**
  818. * The timestamp for when the incident was resolved. This appears as a timeline event.
  819. */
  820. resolvedTime?: Timestamp;
  821. /**
  822. * The current status of the incident.
  823. */
  824. status: IncidentRecordStatus;
  825. /**
  826. * The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident.
  827. */
  828. summary?: IncidentSummary;
  829. /**
  830. * The title of the incident.
  831. */
  832. title: IncidentTitle;
  833. }
  834. export interface IncidentRecordSource {
  835. /**
  836. * The principal that started the incident.
  837. */
  838. createdBy: Arn;
  839. /**
  840. * The service principal that assumed the role specified in createdBy. If no service principal assumed the role this will be left blank.
  841. */
  842. invokedBy?: ServicePrincipal;
  843. /**
  844. * The resource that caused the incident to be created.
  845. */
  846. resourceArn?: Arn;
  847. /**
  848. * The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.
  849. */
  850. source: IncidentSource;
  851. }
  852. export type IncidentRecordStatus = "OPEN"|"RESOLVED"|string;
  853. export interface IncidentRecordSummary {
  854. /**
  855. * The Amazon Resource Name (ARN) of the incident.
  856. */
  857. arn: Arn;
  858. /**
  859. * The timestamp for when the incident was created.
  860. */
  861. creationTime: Timestamp;
  862. /**
  863. * Defines the impact to customers and applications.
  864. */
  865. impact: Impact;
  866. /**
  867. * What caused Incident Manager to create the incident.
  868. */
  869. incidentRecordSource: IncidentRecordSource;
  870. /**
  871. * The timestamp for when the incident was resolved.
  872. */
  873. resolvedTime?: Timestamp;
  874. /**
  875. * The current status of the incident.
  876. */
  877. status: IncidentRecordStatus;
  878. /**
  879. * The title of the incident. This value is either provided by the response plan or overwritten on creation.
  880. */
  881. title: IncidentTitle;
  882. }
  883. export type IncidentRecordSummaryList = IncidentRecordSummary[];
  884. export type IncidentSource = string;
  885. export type IncidentSummary = string;
  886. export interface IncidentTemplate {
  887. /**
  888. * The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same account. A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you specify a deduplication string, Incident Manager searches for open incidents that contain the same string in the dedupeString field when it creates the incident. If a duplicate is detected, Incident Manager deduplicates the newer incident into the existing incident. By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
  889. */
  890. dedupeString?: DedupeString;
  891. /**
  892. * The impact of the incident on your customers and applications. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact
  893. */
  894. impact: Impact;
  895. /**
  896. * Tags to assign to the template. When the StartIncident API action is called, Incident Manager assigns the tags specified in the template to the incident.
  897. */
  898. incidentTags?: TagMap;
  899. /**
  900. * The Amazon SNS targets that are notified when updates are made to an incident.
  901. */
  902. notificationTargets?: NotificationTargetSet;
  903. /**
  904. * The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.
  905. */
  906. summary?: IncidentSummary;
  907. /**
  908. * The title of the incident.
  909. */
  910. title: IncidentTitle;
  911. }
  912. export type IncidentTitle = string;
  913. export type Integer = number;
  914. export type IntegerList = Integer[];
  915. export interface Integration {
  916. /**
  917. * Information about the PagerDuty service where the response plan creates an incident.
  918. */
  919. pagerDutyConfiguration?: PagerDutyConfiguration;
  920. }
  921. export type Integrations = Integration[];
  922. export interface ItemIdentifier {
  923. /**
  924. * The type of related item.
  925. */
  926. type: ItemType;
  927. /**
  928. * Details about the related item.
  929. */
  930. value: ItemValue;
  931. }
  932. export type ItemType = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|"AUTOMATION"|"INVOLVED_RESOURCE"|"TASK"|string;
  933. export interface ItemValue {
  934. /**
  935. * The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
  936. */
  937. arn?: Arn;
  938. /**
  939. * The metric definition, if the related item is a metric in Amazon CloudWatch.
  940. */
  941. metricDefinition?: MetricDefinition;
  942. /**
  943. * Details about an incident that is associated with a PagerDuty incident.
  944. */
  945. pagerDutyIncidentDetail?: PagerDutyIncidentDetail;
  946. /**
  947. * The URL, if the related item is a non-Amazon Web Services resource.
  948. */
  949. url?: Url;
  950. }
  951. export interface ListIncidentFindingsInput {
  952. /**
  953. * The Amazon Resource Name (ARN) of the incident for which you want to view associated findings.
  954. */
  955. incidentRecordArn: Arn;
  956. /**
  957. * The maximum number of findings to retrieve per call.
  958. */
  959. maxResults?: ListIncidentFindingsInputMaxResultsInteger;
  960. /**
  961. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  962. */
  963. nextToken?: NextToken;
  964. }
  965. export type ListIncidentFindingsInputMaxResultsInteger = number;
  966. export interface ListIncidentFindingsOutput {
  967. /**
  968. * A list of findings that represent deployments that might be the potential cause of the incident.
  969. */
  970. findings: FindingSummaryList;
  971. /**
  972. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  973. */
  974. nextToken?: NextToken;
  975. }
  976. export interface ListIncidentRecordsInput {
  977. /**
  978. * Filters the list of incident records you want to search through. You can filter on the following keys: creationTime impact status createdBy Note the following when when you use Filters: If you don't specify a Filter, the response includes all incident records. If you specify more than one filter in a single request, the response returns incident records that match all filters. If you specify a filter with more than one value, the response returns incident records that match any of the values provided.
  979. */
  980. filters?: FilterList;
  981. /**
  982. * The maximum number of results per page.
  983. */
  984. maxResults?: MaxResults;
  985. /**
  986. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  987. */
  988. nextToken?: NextToken;
  989. }
  990. export interface ListIncidentRecordsOutput {
  991. /**
  992. * The details of each listed incident record.
  993. */
  994. incidentRecordSummaries: IncidentRecordSummaryList;
  995. /**
  996. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  997. */
  998. nextToken?: NextToken;
  999. }
  1000. export interface ListRelatedItemsInput {
  1001. /**
  1002. * The Amazon Resource Name (ARN) of the incident record containing the listed related items.
  1003. */
  1004. incidentRecordArn: Arn;
  1005. /**
  1006. * The maximum number of related items per page.
  1007. */
  1008. maxResults?: MaxResults;
  1009. /**
  1010. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  1011. */
  1012. nextToken?: NextToken;
  1013. }
  1014. export interface ListRelatedItemsOutput {
  1015. /**
  1016. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  1017. */
  1018. nextToken?: NextToken;
  1019. /**
  1020. * Details about each related item.
  1021. */
  1022. relatedItems: RelatedItemList;
  1023. }
  1024. export interface ListReplicationSetsInput {
  1025. /**
  1026. * The maximum number of results per page.
  1027. */
  1028. maxResults?: MaxResults;
  1029. /**
  1030. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  1031. */
  1032. nextToken?: NextToken;
  1033. }
  1034. export interface ListReplicationSetsOutput {
  1035. /**
  1036. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  1037. */
  1038. nextToken?: NextToken;
  1039. /**
  1040. * The Amazon Resource Name (ARN) of the list replication set.
  1041. */
  1042. replicationSetArns: ReplicationSetArnList;
  1043. }
  1044. export interface ListResponsePlansInput {
  1045. /**
  1046. * The maximum number of response plans per page.
  1047. */
  1048. maxResults?: MaxResults;
  1049. /**
  1050. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  1051. */
  1052. nextToken?: NextToken;
  1053. }
  1054. export interface ListResponsePlansOutput {
  1055. /**
  1056. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  1057. */
  1058. nextToken?: NextToken;
  1059. /**
  1060. * Details of each response plan.
  1061. */
  1062. responsePlanSummaries: ResponsePlanSummaryList;
  1063. }
  1064. export interface ListTagsForResourceRequest {
  1065. /**
  1066. * The Amazon Resource Name (ARN) of the response plan or incident.
  1067. */
  1068. resourceArn: String;
  1069. }
  1070. export interface ListTagsForResourceResponse {
  1071. /**
  1072. * A list of tags for the response plan or incident.
  1073. */
  1074. tags: TagMap;
  1075. }
  1076. export interface ListTimelineEventsInput {
  1077. /**
  1078. * Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys: eventReference eventTime eventType Note the following when deciding how to use Filters: If you don't specify a Filter, the response includes all timeline events. If you specify more than one filter in a single request, the response returns timeline events that match all filters. If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
  1079. */
  1080. filters?: FilterList;
  1081. /**
  1082. * The Amazon Resource Name (ARN) of the incident that includes the timeline event.
  1083. */
  1084. incidentRecordArn: Arn;
  1085. /**
  1086. * The maximum number of results per page.
  1087. */
  1088. maxResults?: MaxResults;
  1089. /**
  1090. * The pagination token for the next set of items to return. (You received this token from a previous call.)
  1091. */
  1092. nextToken?: NextToken;
  1093. /**
  1094. * Sort timeline events by the specified key value pair.
  1095. */
  1096. sortBy?: TimelineEventSort;
  1097. /**
  1098. * Sorts the order of timeline events by the value specified in the sortBy field.
  1099. */
  1100. sortOrder?: SortOrder;
  1101. }
  1102. export interface ListTimelineEventsOutput {
  1103. /**
  1104. * Details about each event that occurred during the incident.
  1105. */
  1106. eventSummaries: EventSummaryList;
  1107. /**
  1108. * The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
  1109. */
  1110. nextToken?: NextToken;
  1111. }
  1112. export type MaxResults = number;
  1113. export type MetricDefinition = string;
  1114. export type NextToken = string;
  1115. export interface NotificationTargetItem {
  1116. /**
  1117. * The Amazon Resource Name (ARN) of the SNS topic.
  1118. */
  1119. snsTopicArn?: Arn;
  1120. }
  1121. export type NotificationTargetSet = NotificationTargetItem[];
  1122. export interface PagerDutyConfiguration {
  1123. /**
  1124. * The name of the PagerDuty configuration.
  1125. */
  1126. name: PagerDutyConfigurationNameString;
  1127. /**
  1128. * Details about the PagerDuty service associated with the configuration.
  1129. */
  1130. pagerDutyIncidentConfiguration: PagerDutyIncidentConfiguration;
  1131. /**
  1132. * The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
  1133. */
  1134. secretId: PagerDutyConfigurationSecretIdString;
  1135. }
  1136. export type PagerDutyConfigurationNameString = string;
  1137. export type PagerDutyConfigurationSecretIdString = string;
  1138. export interface PagerDutyIncidentConfiguration {
  1139. /**
  1140. * The ID of the PagerDuty service that the response plan associates with an incident when it launches.
  1141. */
  1142. serviceId: PagerDutyIncidentConfigurationServiceIdString;
  1143. }
  1144. export type PagerDutyIncidentConfigurationServiceIdString = string;
  1145. export interface PagerDutyIncidentDetail {
  1146. /**
  1147. * Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
  1148. */
  1149. autoResolve?: Boolean;
  1150. /**
  1151. * The ID of the incident associated with the PagerDuty service for the response plan.
  1152. */
  1153. id: PagerDutyIncidentDetailIdString;
  1154. /**
  1155. * The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
  1156. */
  1157. secretId?: PagerDutyIncidentDetailSecretIdString;
  1158. }
  1159. export type PagerDutyIncidentDetailIdString = string;
  1160. export type PagerDutyIncidentDetailSecretIdString = string;
  1161. export type Policy = string;
  1162. export type PolicyId = string;
  1163. export interface PutResourcePolicyInput {
  1164. /**
  1165. * Details of the resource policy.
  1166. */
  1167. policy: Policy;
  1168. /**
  1169. * The Amazon Resource Name (ARN) of the response plan to add the resource policy to.
  1170. */
  1171. resourceArn: Arn;
  1172. }
  1173. export interface PutResourcePolicyOutput {
  1174. /**
  1175. * The ID of the resource policy.
  1176. */
  1177. policyId: PolicyId;
  1178. }
  1179. export type RawData = string;
  1180. export interface RegionInfo {
  1181. /**
  1182. * The ID of the KMS key used to encrypt the data in this Amazon Web Services Region.
  1183. */
  1184. sseKmsKeyId?: SseKmsKey;
  1185. /**
  1186. * The status of the Amazon Web Services Region in the replication set.
  1187. */
  1188. status: RegionStatus;
  1189. /**
  1190. * Information displayed about the status of the Amazon Web Services Region.
  1191. */
  1192. statusMessage?: String;
  1193. /**
  1194. * The timestamp for when Incident Manager updated the status of the Amazon Web Services Region.
  1195. */
  1196. statusUpdateDateTime: Timestamp;
  1197. }
  1198. export type RegionInfoMap = {[key: string]: RegionInfo};
  1199. export type RegionMapInput = {[key: string]: RegionMapInputValue};
  1200. export interface RegionMapInputValue {
  1201. /**
  1202. * The KMS key used to encrypt the data in your replication set.
  1203. */
  1204. sseKmsKeyId?: SseKmsKey;
  1205. }
  1206. export type RegionName = string;
  1207. export type RegionStatus = "ACTIVE"|"CREATING"|"DELETING"|"FAILED"|string;
  1208. export interface RelatedItem {
  1209. /**
  1210. * A unique ID for a RelatedItem. Don't specify this parameter when you add a RelatedItem by using the UpdateRelatedItems API action.
  1211. */
  1212. generatedId?: GeneratedId;
  1213. /**
  1214. * Details about the related item.
  1215. */
  1216. identifier: ItemIdentifier;
  1217. /**
  1218. * The title of the related item.
  1219. */
  1220. title?: RelatedItemTitleString;
  1221. }
  1222. export type RelatedItemList = RelatedItem[];
  1223. export type RelatedItemTitleString = string;
  1224. export interface RelatedItemsUpdate {
  1225. /**
  1226. * Details about the related item you're adding.
  1227. */
  1228. itemToAdd?: RelatedItem;
  1229. /**
  1230. * Details about the related item you're deleting.
  1231. */
  1232. itemToRemove?: ItemIdentifier;
  1233. }
  1234. export interface ReplicationSet {
  1235. /**
  1236. * The Amazon Resource Name (ARN) of the replication set.
  1237. */
  1238. arn?: Arn;
  1239. /**
  1240. * Details about who created the replication set.
  1241. */
  1242. createdBy: Arn;
  1243. /**
  1244. * When the replication set was created.
  1245. */
  1246. createdTime: Timestamp;
  1247. /**
  1248. * Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can't delete the last Amazon Web Services Region in the replication set.
  1249. */
  1250. deletionProtected: Boolean;
  1251. /**
  1252. * Who last modified the replication set.
  1253. */
  1254. lastModifiedBy: Arn;
  1255. /**
  1256. * When the replication set was last updated.
  1257. */
  1258. lastModifiedTime: Timestamp;
  1259. /**
  1260. * The map between each Amazon Web Services Region in your replication set and the KMS key that's used to encrypt the data in that Region.
  1261. */
  1262. regionMap: RegionInfoMap;
  1263. /**
  1264. * The status of the replication set. If the replication set is still pending, you can't use Incident Manager functionality.
  1265. */
  1266. status: ReplicationSetStatus;
  1267. }
  1268. export type ReplicationSetArnList = Arn[];
  1269. export type ReplicationSetStatus = "ACTIVE"|"CREATING"|"UPDATING"|"DELETING"|"FAILED"|string;
  1270. export interface ResourcePolicy {
  1271. /**
  1272. * The JSON blob that describes the policy.
  1273. */
  1274. policyDocument: Policy;
  1275. /**
  1276. * The ID of the resource policy.
  1277. */
  1278. policyId: PolicyId;
  1279. /**
  1280. * The Amazon Web Services Region that policy allows resources to be used in.
  1281. */
  1282. ramResourceShareRegion: String;
  1283. }
  1284. export type ResourcePolicyList = ResourcePolicy[];
  1285. export type ResponsePlanDisplayName = string;
  1286. export type ResponsePlanName = string;
  1287. export interface ResponsePlanSummary {
  1288. /**
  1289. * The Amazon Resource Name (ARN) of the response plan.
  1290. */
  1291. arn: Arn;
  1292. /**
  1293. * The human readable name of the response plan. This can include spaces.
  1294. */
  1295. displayName?: ResponsePlanDisplayName;
  1296. /**
  1297. * The name of the response plan. This can't include spaces.
  1298. */
  1299. name: ResponsePlanName;
  1300. }
  1301. export type ResponsePlanSummaryList = ResponsePlanSummary[];
  1302. export type RoleArn = string;
  1303. export type ServicePrincipal = string;
  1304. export type SnsArn = string;
  1305. export type SortOrder = "ASCENDING"|"DESCENDING"|string;
  1306. export type SseKmsKey = string;
  1307. export interface SsmAutomation {
  1308. /**
  1309. * The automation document's name.
  1310. */
  1311. documentName: SsmAutomationDocumentNameString;
  1312. /**
  1313. * The automation document's version to use when running.
  1314. */
  1315. documentVersion?: SsmAutomationDocumentVersionString;
  1316. /**
  1317. * The key-value pair to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
  1318. */
  1319. dynamicParameters?: DynamicSsmParameters;
  1320. /**
  1321. * The key-value pair parameters to use when running the automation document.
  1322. */
  1323. parameters?: SsmParameters;
  1324. /**
  1325. * The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.
  1326. */
  1327. roleArn: RoleArn;
  1328. /**
  1329. * The account that the automation document will be run in. This can be in either the management account or an application account.
  1330. */
  1331. targetAccount?: SsmTargetAccount;
  1332. }
  1333. export type SsmAutomationDocumentNameString = string;
  1334. export type SsmAutomationDocumentVersionString = string;
  1335. export type SsmContactsArn = string;
  1336. export type SsmParameterValues = SsmParameterValuesMemberString[];
  1337. export type SsmParameterValuesMemberString = string;
  1338. export type SsmParameters = {[key: string]: SsmParameterValues};
  1339. export type SsmParametersKeyString = string;
  1340. export type SsmTargetAccount = "RESPONSE_PLAN_OWNER_ACCOUNT"|"IMPACTED_ACCOUNT"|string;
  1341. export interface StartIncidentInput {
  1342. /**
  1343. * A token ensuring that the operation is called only once with the specified details.
  1344. */
  1345. clientToken?: ClientToken;
  1346. /**
  1347. * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact
  1348. */
  1349. impact?: Impact;
  1350. /**
  1351. * Add related items to the incident for other responders to use. Related items are Amazon Web Services resources, external links, or files uploaded to an Amazon S3 bucket.
  1352. */
  1353. relatedItems?: RelatedItemList;
  1354. /**
  1355. * The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.
  1356. */
  1357. responsePlanArn: Arn;
  1358. /**
  1359. * Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
  1360. */
  1361. title?: IncidentTitle;
  1362. /**
  1363. * Details of what created the incident record in Incident Manager.
  1364. */
  1365. triggerDetails?: TriggerDetails;
  1366. }
  1367. export interface StartIncidentOutput {
  1368. /**
  1369. * The ARN of the newly created incident record.
  1370. */
  1371. incidentRecordArn: Arn;
  1372. }
  1373. export type String = string;
  1374. export type StringList = StringListMemberString[];
  1375. export type StringListMemberString = string;
  1376. export type TagKey = string;
  1377. export type TagKeyList = TagKey[];
  1378. export type TagMap = {[key: string]: TagValue};
  1379. export type TagMapUpdate = {[key: string]: TagValue};
  1380. export interface TagResourceRequest {
  1381. /**
  1382. * The Amazon Resource Name (ARN) of the response plan you're adding the tags to.
  1383. */
  1384. resourceArn: String;
  1385. /**
  1386. * A list of tags to add to the response plan.
  1387. */
  1388. tags: TagMap;
  1389. }
  1390. export interface TagResourceResponse {
  1391. }
  1392. export type TagValue = string;
  1393. export interface TimelineEvent {
  1394. /**
  1395. * A short description of the event.
  1396. */
  1397. eventData: EventData;
  1398. /**
  1399. * The ID of the timeline event.
  1400. */
  1401. eventId: UUID;
  1402. /**
  1403. * A list of references in a TimelineEvent.
  1404. */
  1405. eventReferences?: EventReferenceList;
  1406. /**
  1407. * The timestamp for when the event occurred.
  1408. */
  1409. eventTime: Timestamp;
  1410. /**
  1411. * The type of event that occurred. Currently Incident Manager supports only the Custom Event and Note types.
  1412. */
  1413. eventType: TimelineEventType;
  1414. /**
  1415. * The timestamp for when the timeline event was last updated.
  1416. */
  1417. eventUpdatedTime: Timestamp;
  1418. /**
  1419. * The Amazon Resource Name (ARN) of the incident that the event occurred during.
  1420. */
  1421. incidentRecordArn: Arn;
  1422. }
  1423. export type TimelineEventSort = "EVENT_TIME"|string;
  1424. export type TimelineEventType = string;
  1425. export type Timestamp = Date;
  1426. export interface TriggerDetails {
  1427. /**
  1428. * Raw data passed from either Amazon EventBridge, Amazon CloudWatch, or Incident Manager when an incident is created.
  1429. */
  1430. rawData?: RawData;
  1431. /**
  1432. * Identifies the service that sourced the event. All events sourced from within Amazon Web Services begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.
  1433. */
  1434. source: IncidentSource;
  1435. /**
  1436. * The timestamp for when the incident was detected.
  1437. */
  1438. timestamp: Timestamp;
  1439. /**
  1440. * The Amazon Resource Name (ARN) of the source that detected the incident.
  1441. */
  1442. triggerArn?: Arn;
  1443. }
  1444. export type UUID = string;
  1445. export interface UntagResourceRequest {
  1446. /**
  1447. * The Amazon Resource Name (ARN) of the response plan you're removing a tag from.
  1448. */
  1449. resourceArn: String;
  1450. /**
  1451. * The name of the tag to remove from the response plan.
  1452. */
  1453. tagKeys: TagKeyList;
  1454. }
  1455. export interface UntagResourceResponse {
  1456. }
  1457. export interface UpdateDeletionProtectionInput {
  1458. /**
  1459. * The Amazon Resource Name (ARN) of the replication set to update.
  1460. */
  1461. arn: Arn;
  1462. /**
  1463. * A token that ensures that the operation is called only once with the specified details.
  1464. */
  1465. clientToken?: ClientToken;
  1466. /**
  1467. * Specifies if deletion protection is turned on or off in your account.
  1468. */
  1469. deletionProtected: Boolean;
  1470. }
  1471. export interface UpdateDeletionProtectionOutput {
  1472. }
  1473. export interface UpdateIncidentRecordInput {
  1474. /**
  1475. * The Amazon Resource Name (ARN) of the incident record you are updating.
  1476. */
  1477. arn: Arn;
  1478. /**
  1479. * The Chatbot chat channel where responders can collaborate.
  1480. */
  1481. chatChannel?: ChatChannel;
  1482. /**
  1483. * A token that ensures that a client calls the operation only once with the specified details.
  1484. */
  1485. clientToken?: ClientToken;
  1486. /**
  1487. * Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact
  1488. */
  1489. impact?: Impact;
  1490. /**
  1491. * The Amazon SNS targets that Incident Manager notifies when a client updates an incident. Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
  1492. */
  1493. notificationTargets?: NotificationTargetSet;
  1494. /**
  1495. * The status of the incident. Possible statuses are Open or Resolved.
  1496. */
  1497. status?: IncidentRecordStatus;
  1498. /**
  1499. * A longer description of what occurred during the incident.
  1500. */
  1501. summary?: IncidentSummary;
  1502. /**
  1503. * A brief description of the incident.
  1504. */
  1505. title?: IncidentTitle;
  1506. }
  1507. export interface UpdateIncidentRecordOutput {
  1508. }
  1509. export interface UpdateRelatedItemsInput {
  1510. /**
  1511. * A token that ensures that a client calls the operation only once with the specified details.
  1512. */
  1513. clientToken?: ClientToken;
  1514. /**
  1515. * The Amazon Resource Name (ARN) of the incident record that contains the related items that you update.
  1516. */
  1517. incidentRecordArn: Arn;
  1518. /**
  1519. * Details about the item that you are add to, or delete from, an incident.
  1520. */
  1521. relatedItemsUpdate: RelatedItemsUpdate;
  1522. }
  1523. export interface UpdateRelatedItemsOutput {
  1524. }
  1525. export interface UpdateReplicationSetAction {
  1526. /**
  1527. * Details about the Amazon Web Services Region that you're adding to the replication set.
  1528. */
  1529. addRegionAction?: AddRegionAction;
  1530. /**
  1531. * Details about the Amazon Web Services Region that you're deleting to the replication set.
  1532. */
  1533. deleteRegionAction?: DeleteRegionAction;
  1534. }
  1535. export interface UpdateReplicationSetInput {
  1536. /**
  1537. * An action to add or delete a Region.
  1538. */
  1539. actions: UpdateReplicationSetInputActionsList;
  1540. /**
  1541. * The Amazon Resource Name (ARN) of the replication set you're updating.
  1542. */
  1543. arn: Arn;
  1544. /**
  1545. * A token that ensures that the operation is called only once with the specified details.
  1546. */
  1547. clientToken?: ClientToken;
  1548. }
  1549. export type UpdateReplicationSetInputActionsList = UpdateReplicationSetAction[];
  1550. export interface UpdateReplicationSetOutput {
  1551. }
  1552. export interface UpdateResponsePlanInput {
  1553. /**
  1554. * The actions that this response plan takes at the beginning of an incident.
  1555. */
  1556. actions?: ActionsList;
  1557. /**
  1558. * The Amazon Resource Name (ARN) of the response plan.
  1559. */
  1560. arn: Arn;
  1561. /**
  1562. * The Chatbot chat channel used for collaboration during an incident. Use the empty structure to remove the chat channel from the response plan.
  1563. */
  1564. chatChannel?: ChatChannel;
  1565. /**
  1566. * A token ensuring that the operation is called only once with the specified details.
  1567. */
  1568. clientToken?: ClientToken;
  1569. /**
  1570. * The long format name of the response plan. The display name can't contain spaces.
  1571. */
  1572. displayName?: ResponsePlanDisplayName;
  1573. /**
  1574. * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
  1575. */
  1576. engagements?: EngagementSet;
  1577. /**
  1578. * The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
  1579. */
  1580. incidentTemplateDedupeString?: DedupeString;
  1581. /**
  1582. * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact
  1583. */
  1584. incidentTemplateImpact?: Impact;
  1585. /**
  1586. * The Amazon SNS targets that are notified when updates are made to an incident.
  1587. */
  1588. incidentTemplateNotificationTargets?: NotificationTargetSet;
  1589. /**
  1590. * A brief summary of the incident. This typically contains what has happened, what's currently happening, and next steps.
  1591. */
  1592. incidentTemplateSummary?: IncidentSummary;
  1593. /**
  1594. * Tags to assign to the template. When the StartIncident API action is called, Incident Manager assigns the tags specified in the template to the incident. To call this action, you must also have permission to call the TagResource API action for the incident record resource.
  1595. */
  1596. incidentTemplateTags?: TagMapUpdate;
  1597. /**
  1598. * The short format name of the incident. The title can't contain spaces.
  1599. */
  1600. incidentTemplateTitle?: IncidentTitle;
  1601. /**
  1602. * Information about third-party services integrated into the response plan.
  1603. */
  1604. integrations?: Integrations;
  1605. }
  1606. export interface UpdateResponsePlanOutput {
  1607. }
  1608. export interface UpdateTimelineEventInput {
  1609. /**
  1610. * A token that ensures that a client calls the operation only once with the specified details.
  1611. */
  1612. clientToken?: ClientToken;
  1613. /**
  1614. * A short description of the event.
  1615. */
  1616. eventData?: EventData;
  1617. /**
  1618. * The ID of the event to update. You can use ListTimelineEvents to find an event's ID.
  1619. */
  1620. eventId: UUID;
  1621. /**
  1622. * Updates all existing references in a TimelineEvent. A reference is an Amazon Web Services resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
  1623. */
  1624. eventReferences?: EventReferenceList;
  1625. /**
  1626. * The timestamp for when the event occurred.
  1627. */
  1628. eventTime?: Timestamp;
  1629. /**
  1630. * The type of event. You can update events of type Custom Event and Note.
  1631. */
  1632. eventType?: TimelineEventType;
  1633. /**
  1634. * The Amazon Resource Name (ARN) of the incident that includes the timeline event.
  1635. */
  1636. incidentRecordArn: Arn;
  1637. }
  1638. export interface UpdateTimelineEventOutput {
  1639. }
  1640. export type Url = string;
  1641. export type VariableType = "INCIDENT_RECORD_ARN"|"INVOLVED_RESOURCES"|string;
  1642. /**
  1643. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  1644. */
  1645. export type apiVersion = "2018-05-10"|"latest"|string;
  1646. export interface ClientApiVersions {
  1647. /**
  1648. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  1649. */
  1650. apiVersion?: apiVersion;
  1651. }
  1652. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1653. /**
  1654. * Contains interfaces for use with the SSMIncidents client.
  1655. */
  1656. export import Types = SSMIncidents;
  1657. }
  1658. export = SSMIncidents;