ssmcontacts.d.ts 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713
  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 {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class SSMContacts extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: SSMContacts.Types.ClientConfiguration)
  13. config: Config & SSMContacts.Types.ClientConfiguration;
  14. /**
  15. * Used to acknowledge an engagement to a contact channel during an incident.
  16. */
  17. acceptPage(params: SSMContacts.Types.AcceptPageRequest, callback?: (err: AWSError, data: SSMContacts.Types.AcceptPageResult) => void): Request<SSMContacts.Types.AcceptPageResult, AWSError>;
  18. /**
  19. * Used to acknowledge an engagement to a contact channel during an incident.
  20. */
  21. acceptPage(callback?: (err: AWSError, data: SSMContacts.Types.AcceptPageResult) => void): Request<SSMContacts.Types.AcceptPageResult, AWSError>;
  22. /**
  23. * Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.
  24. */
  25. activateContactChannel(params: SSMContacts.Types.ActivateContactChannelRequest, callback?: (err: AWSError, data: SSMContacts.Types.ActivateContactChannelResult) => void): Request<SSMContacts.Types.ActivateContactChannelResult, AWSError>;
  26. /**
  27. * Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.
  28. */
  29. activateContactChannel(callback?: (err: AWSError, data: SSMContacts.Types.ActivateContactChannelResult) => void): Request<SSMContacts.Types.ActivateContactChannelResult, AWSError>;
  30. /**
  31. * Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.
  32. */
  33. createContact(params: SSMContacts.Types.CreateContactRequest, callback?: (err: AWSError, data: SSMContacts.Types.CreateContactResult) => void): Request<SSMContacts.Types.CreateContactResult, AWSError>;
  34. /**
  35. * Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.
  36. */
  37. createContact(callback?: (err: AWSError, data: SSMContacts.Types.CreateContactResult) => void): Request<SSMContacts.Types.CreateContactResult, AWSError>;
  38. /**
  39. * A contact channel is the method that Incident Manager uses to engage your contact.
  40. */
  41. createContactChannel(params: SSMContacts.Types.CreateContactChannelRequest, callback?: (err: AWSError, data: SSMContacts.Types.CreateContactChannelResult) => void): Request<SSMContacts.Types.CreateContactChannelResult, AWSError>;
  42. /**
  43. * A contact channel is the method that Incident Manager uses to engage your contact.
  44. */
  45. createContactChannel(callback?: (err: AWSError, data: SSMContacts.Types.CreateContactChannelResult) => void): Request<SSMContacts.Types.CreateContactChannelResult, AWSError>;
  46. /**
  47. * Creates a rotation in an on-call schedule.
  48. */
  49. createRotation(params: SSMContacts.Types.CreateRotationRequest, callback?: (err: AWSError, data: SSMContacts.Types.CreateRotationResult) => void): Request<SSMContacts.Types.CreateRotationResult, AWSError>;
  50. /**
  51. * Creates a rotation in an on-call schedule.
  52. */
  53. createRotation(callback?: (err: AWSError, data: SSMContacts.Types.CreateRotationResult) => void): Request<SSMContacts.Types.CreateRotationResult, AWSError>;
  54. /**
  55. * Creates an override for a rotation in an on-call schedule.
  56. */
  57. createRotationOverride(params: SSMContacts.Types.CreateRotationOverrideRequest, callback?: (err: AWSError, data: SSMContacts.Types.CreateRotationOverrideResult) => void): Request<SSMContacts.Types.CreateRotationOverrideResult, AWSError>;
  58. /**
  59. * Creates an override for a rotation in an on-call schedule.
  60. */
  61. createRotationOverride(callback?: (err: AWSError, data: SSMContacts.Types.CreateRotationOverrideResult) => void): Request<SSMContacts.Types.CreateRotationOverrideResult, AWSError>;
  62. /**
  63. * To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.
  64. */
  65. deactivateContactChannel(params: SSMContacts.Types.DeactivateContactChannelRequest, callback?: (err: AWSError, data: SSMContacts.Types.DeactivateContactChannelResult) => void): Request<SSMContacts.Types.DeactivateContactChannelResult, AWSError>;
  66. /**
  67. * To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.
  68. */
  69. deactivateContactChannel(callback?: (err: AWSError, data: SSMContacts.Types.DeactivateContactChannelResult) => void): Request<SSMContacts.Types.DeactivateContactChannelResult, AWSError>;
  70. /**
  71. * To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.
  72. */
  73. deleteContact(params: SSMContacts.Types.DeleteContactRequest, callback?: (err: AWSError, data: SSMContacts.Types.DeleteContactResult) => void): Request<SSMContacts.Types.DeleteContactResult, AWSError>;
  74. /**
  75. * To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.
  76. */
  77. deleteContact(callback?: (err: AWSError, data: SSMContacts.Types.DeleteContactResult) => void): Request<SSMContacts.Types.DeleteContactResult, AWSError>;
  78. /**
  79. * To no longer receive engagements on a contact channel, you can delete the channel from a contact. Deleting the contact channel removes it from the contact's engagement plan. If you delete the only contact channel for a contact, you won't be able to engage that contact during an incident.
  80. */
  81. deleteContactChannel(params: SSMContacts.Types.DeleteContactChannelRequest, callback?: (err: AWSError, data: SSMContacts.Types.DeleteContactChannelResult) => void): Request<SSMContacts.Types.DeleteContactChannelResult, AWSError>;
  82. /**
  83. * To no longer receive engagements on a contact channel, you can delete the channel from a contact. Deleting the contact channel removes it from the contact's engagement plan. If you delete the only contact channel for a contact, you won't be able to engage that contact during an incident.
  84. */
  85. deleteContactChannel(callback?: (err: AWSError, data: SSMContacts.Types.DeleteContactChannelResult) => void): Request<SSMContacts.Types.DeleteContactChannelResult, AWSError>;
  86. /**
  87. * Deletes a rotation from the system. If a rotation belongs to more than one on-call schedule, this operation deletes it from all of them.
  88. */
  89. deleteRotation(params: SSMContacts.Types.DeleteRotationRequest, callback?: (err: AWSError, data: SSMContacts.Types.DeleteRotationResult) => void): Request<SSMContacts.Types.DeleteRotationResult, AWSError>;
  90. /**
  91. * Deletes a rotation from the system. If a rotation belongs to more than one on-call schedule, this operation deletes it from all of them.
  92. */
  93. deleteRotation(callback?: (err: AWSError, data: SSMContacts.Types.DeleteRotationResult) => void): Request<SSMContacts.Types.DeleteRotationResult, AWSError>;
  94. /**
  95. * Deletes an existing override for an on-call rotation.
  96. */
  97. deleteRotationOverride(params: SSMContacts.Types.DeleteRotationOverrideRequest, callback?: (err: AWSError, data: SSMContacts.Types.DeleteRotationOverrideResult) => void): Request<SSMContacts.Types.DeleteRotationOverrideResult, AWSError>;
  98. /**
  99. * Deletes an existing override for an on-call rotation.
  100. */
  101. deleteRotationOverride(callback?: (err: AWSError, data: SSMContacts.Types.DeleteRotationOverrideResult) => void): Request<SSMContacts.Types.DeleteRotationOverrideResult, AWSError>;
  102. /**
  103. * Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
  104. */
  105. describeEngagement(params: SSMContacts.Types.DescribeEngagementRequest, callback?: (err: AWSError, data: SSMContacts.Types.DescribeEngagementResult) => void): Request<SSMContacts.Types.DescribeEngagementResult, AWSError>;
  106. /**
  107. * Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
  108. */
  109. describeEngagement(callback?: (err: AWSError, data: SSMContacts.Types.DescribeEngagementResult) => void): Request<SSMContacts.Types.DescribeEngagementResult, AWSError>;
  110. /**
  111. * Lists details of the engagement to a contact channel.
  112. */
  113. describePage(params: SSMContacts.Types.DescribePageRequest, callback?: (err: AWSError, data: SSMContacts.Types.DescribePageResult) => void): Request<SSMContacts.Types.DescribePageResult, AWSError>;
  114. /**
  115. * Lists details of the engagement to a contact channel.
  116. */
  117. describePage(callback?: (err: AWSError, data: SSMContacts.Types.DescribePageResult) => void): Request<SSMContacts.Types.DescribePageResult, AWSError>;
  118. /**
  119. * Retrieves information about the specified contact or escalation plan.
  120. */
  121. getContact(params: SSMContacts.Types.GetContactRequest, callback?: (err: AWSError, data: SSMContacts.Types.GetContactResult) => void): Request<SSMContacts.Types.GetContactResult, AWSError>;
  122. /**
  123. * Retrieves information about the specified contact or escalation plan.
  124. */
  125. getContact(callback?: (err: AWSError, data: SSMContacts.Types.GetContactResult) => void): Request<SSMContacts.Types.GetContactResult, AWSError>;
  126. /**
  127. * List details about a specific contact channel.
  128. */
  129. getContactChannel(params: SSMContacts.Types.GetContactChannelRequest, callback?: (err: AWSError, data: SSMContacts.Types.GetContactChannelResult) => void): Request<SSMContacts.Types.GetContactChannelResult, AWSError>;
  130. /**
  131. * List details about a specific contact channel.
  132. */
  133. getContactChannel(callback?: (err: AWSError, data: SSMContacts.Types.GetContactChannelResult) => void): Request<SSMContacts.Types.GetContactChannelResult, AWSError>;
  134. /**
  135. * Retrieves the resource policies attached to the specified contact or escalation plan.
  136. */
  137. getContactPolicy(params: SSMContacts.Types.GetContactPolicyRequest, callback?: (err: AWSError, data: SSMContacts.Types.GetContactPolicyResult) => void): Request<SSMContacts.Types.GetContactPolicyResult, AWSError>;
  138. /**
  139. * Retrieves the resource policies attached to the specified contact or escalation plan.
  140. */
  141. getContactPolicy(callback?: (err: AWSError, data: SSMContacts.Types.GetContactPolicyResult) => void): Request<SSMContacts.Types.GetContactPolicyResult, AWSError>;
  142. /**
  143. * Retrieves information about an on-call rotation.
  144. */
  145. getRotation(params: SSMContacts.Types.GetRotationRequest, callback?: (err: AWSError, data: SSMContacts.Types.GetRotationResult) => void): Request<SSMContacts.Types.GetRotationResult, AWSError>;
  146. /**
  147. * Retrieves information about an on-call rotation.
  148. */
  149. getRotation(callback?: (err: AWSError, data: SSMContacts.Types.GetRotationResult) => void): Request<SSMContacts.Types.GetRotationResult, AWSError>;
  150. /**
  151. * Retrieves information about an override to an on-call rotation.
  152. */
  153. getRotationOverride(params: SSMContacts.Types.GetRotationOverrideRequest, callback?: (err: AWSError, data: SSMContacts.Types.GetRotationOverrideResult) => void): Request<SSMContacts.Types.GetRotationOverrideResult, AWSError>;
  154. /**
  155. * Retrieves information about an override to an on-call rotation.
  156. */
  157. getRotationOverride(callback?: (err: AWSError, data: SSMContacts.Types.GetRotationOverrideResult) => void): Request<SSMContacts.Types.GetRotationOverrideResult, AWSError>;
  158. /**
  159. * Lists all contact channels for the specified contact.
  160. */
  161. listContactChannels(params: SSMContacts.Types.ListContactChannelsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListContactChannelsResult) => void): Request<SSMContacts.Types.ListContactChannelsResult, AWSError>;
  162. /**
  163. * Lists all contact channels for the specified contact.
  164. */
  165. listContactChannels(callback?: (err: AWSError, data: SSMContacts.Types.ListContactChannelsResult) => void): Request<SSMContacts.Types.ListContactChannelsResult, AWSError>;
  166. /**
  167. * Lists all contacts and escalation plans in Incident Manager.
  168. */
  169. listContacts(params: SSMContacts.Types.ListContactsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListContactsResult) => void): Request<SSMContacts.Types.ListContactsResult, AWSError>;
  170. /**
  171. * Lists all contacts and escalation plans in Incident Manager.
  172. */
  173. listContacts(callback?: (err: AWSError, data: SSMContacts.Types.ListContactsResult) => void): Request<SSMContacts.Types.ListContactsResult, AWSError>;
  174. /**
  175. * Lists all engagements that have happened in an incident.
  176. */
  177. listEngagements(params: SSMContacts.Types.ListEngagementsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListEngagementsResult) => void): Request<SSMContacts.Types.ListEngagementsResult, AWSError>;
  178. /**
  179. * Lists all engagements that have happened in an incident.
  180. */
  181. listEngagements(callback?: (err: AWSError, data: SSMContacts.Types.ListEngagementsResult) => void): Request<SSMContacts.Types.ListEngagementsResult, AWSError>;
  182. /**
  183. * Lists all of the engagements to contact channels that have been acknowledged.
  184. */
  185. listPageReceipts(params: SSMContacts.Types.ListPageReceiptsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListPageReceiptsResult) => void): Request<SSMContacts.Types.ListPageReceiptsResult, AWSError>;
  186. /**
  187. * Lists all of the engagements to contact channels that have been acknowledged.
  188. */
  189. listPageReceipts(callback?: (err: AWSError, data: SSMContacts.Types.ListPageReceiptsResult) => void): Request<SSMContacts.Types.ListPageReceiptsResult, AWSError>;
  190. /**
  191. * Returns the resolution path of an engagement. For example, the escalation plan engaged in an incident might target an on-call schedule that includes several contacts in a rotation, but just one contact on-call when the incident starts. The resolution path indicates the hierarchy of escalation plan &gt; on-call schedule &gt; contact.
  192. */
  193. listPageResolutions(params: SSMContacts.Types.ListPageResolutionsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListPageResolutionsResult) => void): Request<SSMContacts.Types.ListPageResolutionsResult, AWSError>;
  194. /**
  195. * Returns the resolution path of an engagement. For example, the escalation plan engaged in an incident might target an on-call schedule that includes several contacts in a rotation, but just one contact on-call when the incident starts. The resolution path indicates the hierarchy of escalation plan &gt; on-call schedule &gt; contact.
  196. */
  197. listPageResolutions(callback?: (err: AWSError, data: SSMContacts.Types.ListPageResolutionsResult) => void): Request<SSMContacts.Types.ListPageResolutionsResult, AWSError>;
  198. /**
  199. * Lists the engagements to a contact's contact channels.
  200. */
  201. listPagesByContact(params: SSMContacts.Types.ListPagesByContactRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListPagesByContactResult) => void): Request<SSMContacts.Types.ListPagesByContactResult, AWSError>;
  202. /**
  203. * Lists the engagements to a contact's contact channels.
  204. */
  205. listPagesByContact(callback?: (err: AWSError, data: SSMContacts.Types.ListPagesByContactResult) => void): Request<SSMContacts.Types.ListPagesByContactResult, AWSError>;
  206. /**
  207. * Lists the engagements to contact channels that occurred by engaging a contact.
  208. */
  209. listPagesByEngagement(params: SSMContacts.Types.ListPagesByEngagementRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListPagesByEngagementResult) => void): Request<SSMContacts.Types.ListPagesByEngagementResult, AWSError>;
  210. /**
  211. * Lists the engagements to contact channels that occurred by engaging a contact.
  212. */
  213. listPagesByEngagement(callback?: (err: AWSError, data: SSMContacts.Types.ListPagesByEngagementResult) => void): Request<SSMContacts.Types.ListPagesByEngagementResult, AWSError>;
  214. /**
  215. * Returns a list of shifts based on rotation configuration parameters. The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users.
  216. */
  217. listPreviewRotationShifts(params: SSMContacts.Types.ListPreviewRotationShiftsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListPreviewRotationShiftsResult) => void): Request<SSMContacts.Types.ListPreviewRotationShiftsResult, AWSError>;
  218. /**
  219. * Returns a list of shifts based on rotation configuration parameters. The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users.
  220. */
  221. listPreviewRotationShifts(callback?: (err: AWSError, data: SSMContacts.Types.ListPreviewRotationShiftsResult) => void): Request<SSMContacts.Types.ListPreviewRotationShiftsResult, AWSError>;
  222. /**
  223. * Retrieves a list of overrides currently specified for an on-call rotation.
  224. */
  225. listRotationOverrides(params: SSMContacts.Types.ListRotationOverridesRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListRotationOverridesResult) => void): Request<SSMContacts.Types.ListRotationOverridesResult, AWSError>;
  226. /**
  227. * Retrieves a list of overrides currently specified for an on-call rotation.
  228. */
  229. listRotationOverrides(callback?: (err: AWSError, data: SSMContacts.Types.ListRotationOverridesResult) => void): Request<SSMContacts.Types.ListRotationOverridesResult, AWSError>;
  230. /**
  231. * Returns a list of shifts generated by an existing rotation in the system.
  232. */
  233. listRotationShifts(params: SSMContacts.Types.ListRotationShiftsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListRotationShiftsResult) => void): Request<SSMContacts.Types.ListRotationShiftsResult, AWSError>;
  234. /**
  235. * Returns a list of shifts generated by an existing rotation in the system.
  236. */
  237. listRotationShifts(callback?: (err: AWSError, data: SSMContacts.Types.ListRotationShiftsResult) => void): Request<SSMContacts.Types.ListRotationShiftsResult, AWSError>;
  238. /**
  239. * Retrieves a list of on-call rotations.
  240. */
  241. listRotations(params: SSMContacts.Types.ListRotationsRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListRotationsResult) => void): Request<SSMContacts.Types.ListRotationsResult, AWSError>;
  242. /**
  243. * Retrieves a list of on-call rotations.
  244. */
  245. listRotations(callback?: (err: AWSError, data: SSMContacts.Types.ListRotationsResult) => void): Request<SSMContacts.Types.ListRotationsResult, AWSError>;
  246. /**
  247. * Lists the tags of an escalation plan or contact.
  248. */
  249. listTagsForResource(params: SSMContacts.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SSMContacts.Types.ListTagsForResourceResult) => void): Request<SSMContacts.Types.ListTagsForResourceResult, AWSError>;
  250. /**
  251. * Lists the tags of an escalation plan or contact.
  252. */
  253. listTagsForResource(callback?: (err: AWSError, data: SSMContacts.Types.ListTagsForResourceResult) => void): Request<SSMContacts.Types.ListTagsForResourceResult, AWSError>;
  254. /**
  255. * Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.
  256. */
  257. putContactPolicy(params: SSMContacts.Types.PutContactPolicyRequest, callback?: (err: AWSError, data: SSMContacts.Types.PutContactPolicyResult) => void): Request<SSMContacts.Types.PutContactPolicyResult, AWSError>;
  258. /**
  259. * Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.
  260. */
  261. putContactPolicy(callback?: (err: AWSError, data: SSMContacts.Types.PutContactPolicyResult) => void): Request<SSMContacts.Types.PutContactPolicyResult, AWSError>;
  262. /**
  263. * Sends an activation code to a contact channel. The contact can use this code to activate the contact channel in the console or with the ActivateChannel operation. Incident Manager can't engage a contact channel until it has been activated.
  264. */
  265. sendActivationCode(params: SSMContacts.Types.SendActivationCodeRequest, callback?: (err: AWSError, data: SSMContacts.Types.SendActivationCodeResult) => void): Request<SSMContacts.Types.SendActivationCodeResult, AWSError>;
  266. /**
  267. * Sends an activation code to a contact channel. The contact can use this code to activate the contact channel in the console or with the ActivateChannel operation. Incident Manager can't engage a contact channel until it has been activated.
  268. */
  269. sendActivationCode(callback?: (err: AWSError, data: SSMContacts.Types.SendActivationCodeResult) => void): Request<SSMContacts.Types.SendActivationCodeResult, AWSError>;
  270. /**
  271. * Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.
  272. */
  273. startEngagement(params: SSMContacts.Types.StartEngagementRequest, callback?: (err: AWSError, data: SSMContacts.Types.StartEngagementResult) => void): Request<SSMContacts.Types.StartEngagementResult, AWSError>;
  274. /**
  275. * Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.
  276. */
  277. startEngagement(callback?: (err: AWSError, data: SSMContacts.Types.StartEngagementResult) => void): Request<SSMContacts.Types.StartEngagementResult, AWSError>;
  278. /**
  279. * Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
  280. */
  281. stopEngagement(params: SSMContacts.Types.StopEngagementRequest, callback?: (err: AWSError, data: SSMContacts.Types.StopEngagementResult) => void): Request<SSMContacts.Types.StopEngagementResult, AWSError>;
  282. /**
  283. * Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
  284. */
  285. stopEngagement(callback?: (err: AWSError, data: SSMContacts.Types.StopEngagementResult) => void): Request<SSMContacts.Types.StopEngagementResult, AWSError>;
  286. /**
  287. * Tags a contact or escalation plan. You can tag only contacts and escalation plans in the first region of your replication set.
  288. */
  289. tagResource(params: SSMContacts.Types.TagResourceRequest, callback?: (err: AWSError, data: SSMContacts.Types.TagResourceResult) => void): Request<SSMContacts.Types.TagResourceResult, AWSError>;
  290. /**
  291. * Tags a contact or escalation plan. You can tag only contacts and escalation plans in the first region of your replication set.
  292. */
  293. tagResource(callback?: (err: AWSError, data: SSMContacts.Types.TagResourceResult) => void): Request<SSMContacts.Types.TagResourceResult, AWSError>;
  294. /**
  295. * Removes tags from the specified resource.
  296. */
  297. untagResource(params: SSMContacts.Types.UntagResourceRequest, callback?: (err: AWSError, data: SSMContacts.Types.UntagResourceResult) => void): Request<SSMContacts.Types.UntagResourceResult, AWSError>;
  298. /**
  299. * Removes tags from the specified resource.
  300. */
  301. untagResource(callback?: (err: AWSError, data: SSMContacts.Types.UntagResourceResult) => void): Request<SSMContacts.Types.UntagResourceResult, AWSError>;
  302. /**
  303. * Updates the contact or escalation plan specified.
  304. */
  305. updateContact(params: SSMContacts.Types.UpdateContactRequest, callback?: (err: AWSError, data: SSMContacts.Types.UpdateContactResult) => void): Request<SSMContacts.Types.UpdateContactResult, AWSError>;
  306. /**
  307. * Updates the contact or escalation plan specified.
  308. */
  309. updateContact(callback?: (err: AWSError, data: SSMContacts.Types.UpdateContactResult) => void): Request<SSMContacts.Types.UpdateContactResult, AWSError>;
  310. /**
  311. * Updates a contact's contact channel.
  312. */
  313. updateContactChannel(params: SSMContacts.Types.UpdateContactChannelRequest, callback?: (err: AWSError, data: SSMContacts.Types.UpdateContactChannelResult) => void): Request<SSMContacts.Types.UpdateContactChannelResult, AWSError>;
  314. /**
  315. * Updates a contact's contact channel.
  316. */
  317. updateContactChannel(callback?: (err: AWSError, data: SSMContacts.Types.UpdateContactChannelResult) => void): Request<SSMContacts.Types.UpdateContactChannelResult, AWSError>;
  318. /**
  319. * Updates the information specified for an on-call rotation.
  320. */
  321. updateRotation(params: SSMContacts.Types.UpdateRotationRequest, callback?: (err: AWSError, data: SSMContacts.Types.UpdateRotationResult) => void): Request<SSMContacts.Types.UpdateRotationResult, AWSError>;
  322. /**
  323. * Updates the information specified for an on-call rotation.
  324. */
  325. updateRotation(callback?: (err: AWSError, data: SSMContacts.Types.UpdateRotationResult) => void): Request<SSMContacts.Types.UpdateRotationResult, AWSError>;
  326. }
  327. declare namespace SSMContacts {
  328. export type AcceptCode = string;
  329. export type AcceptCodeValidation = "IGNORE"|"ENFORCE"|string;
  330. export interface AcceptPageRequest {
  331. /**
  332. * The Amazon Resource Name (ARN) of the engagement to a contact channel.
  333. */
  334. PageId: SsmContactsArn;
  335. /**
  336. * The ARN of the contact channel.
  337. */
  338. ContactChannelId?: SsmContactsArn;
  339. /**
  340. * The type indicates if the page was DELIVERED or READ.
  341. */
  342. AcceptType: AcceptType;
  343. /**
  344. * Information provided by the user when the user acknowledges the page.
  345. */
  346. Note?: ReceiptInfo;
  347. /**
  348. * A 6-digit code used to acknowledge the page.
  349. */
  350. AcceptCode: AcceptCode;
  351. /**
  352. * An optional field that Incident Manager uses to ENFORCE AcceptCode validation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page. Incident Manager can also IGNORE AcceptCode validation. Ignoring AcceptCode validation causes Incident Manager to accept any value entered for the AcceptCode.
  353. */
  354. AcceptCodeValidation?: AcceptCodeValidation;
  355. }
  356. export interface AcceptPageResult {
  357. }
  358. export type AcceptType = "DELIVERED"|"READ"|string;
  359. export interface ActivateContactChannelRequest {
  360. /**
  361. * The Amazon Resource Name (ARN) of the contact channel.
  362. */
  363. ContactChannelId: SsmContactsArn;
  364. /**
  365. * The code sent to the contact channel when it was created in the contact.
  366. */
  367. ActivationCode: ActivationCode;
  368. }
  369. export interface ActivateContactChannelResult {
  370. }
  371. export type ActivationCode = string;
  372. export type ActivationStatus = "ACTIVATED"|"NOT_ACTIVATED"|string;
  373. export type AmazonResourceName = string;
  374. export type ChannelName = string;
  375. export interface ChannelTargetInfo {
  376. /**
  377. * The Amazon Resource Name (ARN) of the contact channel.
  378. */
  379. ContactChannelId: SsmContactsArn;
  380. /**
  381. * The number of minutes to wait to retry sending engagement in the case the engagement initially fails.
  382. */
  383. RetryIntervalInMinutes?: RetryIntervalInMinutes;
  384. }
  385. export type ChannelType = "SMS"|"VOICE"|"EMAIL"|string;
  386. export interface Contact {
  387. /**
  388. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  389. */
  390. ContactArn: SsmContactsArn;
  391. /**
  392. * The unique and identifiable alias of the contact or escalation plan.
  393. */
  394. Alias: ContactAlias;
  395. /**
  396. * The full name of the contact or escalation plan.
  397. */
  398. DisplayName?: ContactName;
  399. /**
  400. * Refers to the type of contact. A single contact is type PERSONAL and an escalation plan is type ESCALATION.
  401. */
  402. Type: ContactType;
  403. }
  404. export type ContactAlias = string;
  405. export interface ContactChannel {
  406. /**
  407. * The Amazon Resource Name (ARN) of the contact channel.
  408. */
  409. ContactChannelArn: SsmContactsArn;
  410. /**
  411. * The ARN of the contact that contains the contact channel.
  412. */
  413. ContactArn: SsmContactsArn;
  414. /**
  415. * The name of the contact channel.
  416. */
  417. Name: ChannelName;
  418. /**
  419. * The type of the contact channel. Incident Manager supports three contact methods: SMS VOICE EMAIL
  420. */
  421. Type?: ChannelType;
  422. /**
  423. * The details that Incident Manager uses when trying to engage the contact channel.
  424. */
  425. DeliveryAddress: ContactChannelAddress;
  426. /**
  427. * A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it.
  428. */
  429. ActivationStatus: ActivationStatus;
  430. }
  431. export interface ContactChannelAddress {
  432. /**
  433. * The format is dependent on the type of the contact channel. The following are the expected formats: SMS - '+' followed by the country code and phone number VOICE - '+' followed by the country code and phone number EMAIL - any standard email format
  434. */
  435. SimpleAddress?: SimpleAddress;
  436. }
  437. export type ContactChannelList = ContactChannel[];
  438. export type ContactName = string;
  439. export interface ContactTargetInfo {
  440. /**
  441. * The Amazon Resource Name (ARN) of the contact.
  442. */
  443. ContactId?: SsmContactsArn;
  444. /**
  445. * A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan.
  446. */
  447. IsEssential: IsEssential;
  448. }
  449. export type ContactType = "PERSONAL"|"ESCALATION"|"ONCALL_SCHEDULE"|string;
  450. export type ContactsList = Contact[];
  451. export type Content = string;
  452. export interface CoverageTime {
  453. /**
  454. * Information about when the on-call rotation shift begins.
  455. */
  456. Start?: HandOffTime;
  457. /**
  458. * Information about when the on-call rotation shift ends.
  459. */
  460. End?: HandOffTime;
  461. }
  462. export type CoverageTimes = CoverageTime[];
  463. export interface CreateContactChannelRequest {
  464. /**
  465. * The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
  466. */
  467. ContactId: SsmContactsArn;
  468. /**
  469. * The name of the contact channel.
  470. */
  471. Name: ChannelName;
  472. /**
  473. * Incident Manager supports three types of contact channels: SMS VOICE EMAIL
  474. */
  475. Type: ChannelType;
  476. /**
  477. * The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats: SMS - '+' followed by the country code and phone number VOICE - '+' followed by the country code and phone number EMAIL - any standard email format
  478. */
  479. DeliveryAddress: ContactChannelAddress;
  480. /**
  481. * If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated.
  482. */
  483. DeferActivation?: DeferActivation;
  484. /**
  485. * A token ensuring that the operation is called only once with the specified details.
  486. */
  487. IdempotencyToken?: IdempotencyToken;
  488. }
  489. export interface CreateContactChannelResult {
  490. /**
  491. * The Amazon Resource Name (ARN) of the contact channel.
  492. */
  493. ContactChannelArn: SsmContactsArn;
  494. }
  495. export interface CreateContactRequest {
  496. /**
  497. * The short name to quickly identify a contact or escalation plan. The contact alias must be unique and identifiable.
  498. */
  499. Alias: ContactAlias;
  500. /**
  501. * The full name of the contact or escalation plan.
  502. */
  503. DisplayName?: ContactName;
  504. /**
  505. * To create an escalation plan use ESCALATION. To create a contact use PERSONAL.
  506. */
  507. Type: ContactType;
  508. /**
  509. * A list of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
  510. */
  511. Plan: Plan;
  512. /**
  513. * Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
  514. */
  515. Tags?: TagsList;
  516. /**
  517. * A token ensuring that the operation is called only once with the specified details.
  518. */
  519. IdempotencyToken?: IdempotencyToken;
  520. }
  521. export interface CreateContactResult {
  522. /**
  523. * The Amazon Resource Name (ARN) of the created contact or escalation plan.
  524. */
  525. ContactArn: SsmContactsArn;
  526. }
  527. export interface CreateRotationOverrideRequest {
  528. /**
  529. * The Amazon Resource Name (ARN) of the rotation to create an override for.
  530. */
  531. RotationId: SsmContactsArn;
  532. /**
  533. * The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with. If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
  534. */
  535. NewContactIds: RotationOverrideContactsArnList;
  536. /**
  537. * The date and time when the override goes into effect.
  538. */
  539. StartTime: DateTime;
  540. /**
  541. * The date and time when the override ends.
  542. */
  543. EndTime: DateTime;
  544. /**
  545. * A token that ensures that the operation is called only once with the specified details.
  546. */
  547. IdempotencyToken?: IdempotencyToken;
  548. }
  549. export interface CreateRotationOverrideResult {
  550. /**
  551. * The Amazon Resource Name (ARN) of the created rotation override.
  552. */
  553. RotationOverrideId: Uuid;
  554. }
  555. export interface CreateRotationRequest {
  556. /**
  557. * The name of the rotation.
  558. */
  559. Name: RotationName;
  560. /**
  561. * The Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
  562. */
  563. ContactIds: RotationContactsArnList;
  564. /**
  565. * The date and time that the rotation goes into effect.
  566. */
  567. StartTime?: DateTime;
  568. /**
  569. * The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
  570. */
  571. TimeZoneId: TimeZoneId;
  572. /**
  573. * Information about the rule that specifies when a shift's team members rotate.
  574. */
  575. Recurrence: RecurrenceSettings;
  576. /**
  577. * Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
  578. */
  579. Tags?: TagsList;
  580. /**
  581. * A token that ensures that the operation is called only once with the specified details.
  582. */
  583. IdempotencyToken?: IdempotencyToken;
  584. }
  585. export interface CreateRotationResult {
  586. /**
  587. * The Amazon Resource Name (ARN) of the created rotation.
  588. */
  589. RotationArn: SsmContactsArn;
  590. }
  591. export type DailySettings = HandOffTime[];
  592. export type DateTime = Date;
  593. export type DayOfMonth = number;
  594. export type DayOfWeek = "MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT"|"SUN"|string;
  595. export interface DeactivateContactChannelRequest {
  596. /**
  597. * The Amazon Resource Name (ARN) of the contact channel you're deactivating.
  598. */
  599. ContactChannelId: SsmContactsArn;
  600. }
  601. export interface DeactivateContactChannelResult {
  602. }
  603. export type DeferActivation = boolean;
  604. export interface DeleteContactChannelRequest {
  605. /**
  606. * The Amazon Resource Name (ARN) of the contact channel.
  607. */
  608. ContactChannelId: SsmContactsArn;
  609. }
  610. export interface DeleteContactChannelResult {
  611. }
  612. export interface DeleteContactRequest {
  613. /**
  614. * The Amazon Resource Name (ARN) of the contact that you're deleting.
  615. */
  616. ContactId: SsmContactsArn;
  617. }
  618. export interface DeleteContactResult {
  619. }
  620. export interface DeleteRotationOverrideRequest {
  621. /**
  622. * The Amazon Resource Name (ARN) of the rotation that was overridden.
  623. */
  624. RotationId: SsmContactsArn;
  625. /**
  626. * The Amazon Resource Name (ARN) of the on-call rotation override to delete.
  627. */
  628. RotationOverrideId: Uuid;
  629. }
  630. export interface DeleteRotationOverrideResult {
  631. }
  632. export interface DeleteRotationRequest {
  633. /**
  634. * The Amazon Resource Name (ARN) of the on-call rotation to delete.
  635. */
  636. RotationId: SsmContactsArn;
  637. }
  638. export interface DeleteRotationResult {
  639. }
  640. export interface DescribeEngagementRequest {
  641. /**
  642. * The Amazon Resource Name (ARN) of the engagement you want the details of.
  643. */
  644. EngagementId: SsmContactsArn;
  645. }
  646. export interface DescribeEngagementResult {
  647. /**
  648. * The ARN of the escalation plan or contacts involved in the engagement.
  649. */
  650. ContactArn: SsmContactsArn;
  651. /**
  652. * The ARN of the engagement.
  653. */
  654. EngagementArn: SsmContactsArn;
  655. /**
  656. * The user that started the engagement.
  657. */
  658. Sender: Sender;
  659. /**
  660. * The secure subject of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.
  661. */
  662. Subject: Subject;
  663. /**
  664. * The secure content of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.
  665. */
  666. Content: Content;
  667. /**
  668. * The insecure subject of the message that was sent to the contact. Use this field for engagements to SMS.
  669. */
  670. PublicSubject?: PublicSubject;
  671. /**
  672. * The insecure content of the message that was sent to the contact. Use this field for engagements to SMS.
  673. */
  674. PublicContent?: PublicContent;
  675. /**
  676. * The ARN of the incident in which the engagement occurred.
  677. */
  678. IncidentId?: IncidentId;
  679. /**
  680. * The time that the engagement started.
  681. */
  682. StartTime?: DateTime;
  683. /**
  684. * The time that the engagement ended.
  685. */
  686. StopTime?: DateTime;
  687. }
  688. export interface DescribePageRequest {
  689. /**
  690. * The ID of the engagement to a contact channel.
  691. */
  692. PageId: SsmContactsArn;
  693. }
  694. export interface DescribePageResult {
  695. /**
  696. * The Amazon Resource Name (ARN) of the engagement to a contact channel.
  697. */
  698. PageArn: SsmContactsArn;
  699. /**
  700. * The ARN of the engagement that engaged the contact channel.
  701. */
  702. EngagementArn: SsmContactsArn;
  703. /**
  704. * The ARN of the contact that was engaged.
  705. */
  706. ContactArn: SsmContactsArn;
  707. /**
  708. * The user that started the engagement.
  709. */
  710. Sender: Sender;
  711. /**
  712. * The secure subject of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.
  713. */
  714. Subject: Subject;
  715. /**
  716. * The secure content of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL.
  717. */
  718. Content: Content;
  719. /**
  720. * The insecure subject of the message that was sent to the contact. Use this field for engagements to SMS.
  721. */
  722. PublicSubject?: PublicSubject;
  723. /**
  724. * The insecure content of the message that was sent to the contact. Use this field for engagements to SMS.
  725. */
  726. PublicContent?: PublicContent;
  727. /**
  728. * The ARN of the incident that engaged the contact channel.
  729. */
  730. IncidentId?: IncidentId;
  731. /**
  732. * The time the engagement was sent to the contact channel.
  733. */
  734. SentTime?: DateTime;
  735. /**
  736. * The time that the contact channel acknowledged the engagement.
  737. */
  738. ReadTime?: DateTime;
  739. /**
  740. * The time that the contact channel received the engagement.
  741. */
  742. DeliveryTime?: DateTime;
  743. }
  744. export interface Engagement {
  745. /**
  746. * The Amazon Resource Name (ARN) of the engagement.
  747. */
  748. EngagementArn: SsmContactsArn;
  749. /**
  750. * The ARN of the escalation plan or contact that Incident Manager is engaging.
  751. */
  752. ContactArn: SsmContactsArn;
  753. /**
  754. * The user that started the engagement.
  755. */
  756. Sender: Sender;
  757. /**
  758. * The ARN of the incident that's engaging the contact.
  759. */
  760. IncidentId?: IncidentId;
  761. /**
  762. * The time that the engagement began.
  763. */
  764. StartTime?: DateTime;
  765. /**
  766. * The time that the engagement ended.
  767. */
  768. StopTime?: DateTime;
  769. }
  770. export type EngagementsList = Engagement[];
  771. export interface GetContactChannelRequest {
  772. /**
  773. * The Amazon Resource Name (ARN) of the contact channel you want information about.
  774. */
  775. ContactChannelId: SsmContactsArn;
  776. }
  777. export interface GetContactChannelResult {
  778. /**
  779. * The ARN of the contact that the channel belongs to.
  780. */
  781. ContactArn: SsmContactsArn;
  782. /**
  783. * The ARN of the contact channel.
  784. */
  785. ContactChannelArn: SsmContactsArn;
  786. /**
  787. * The name of the contact channel
  788. */
  789. Name: ChannelName;
  790. /**
  791. * The type of contact channel. The type is SMS, VOICE, or EMAIL.
  792. */
  793. Type: ChannelType;
  794. /**
  795. * The details that Incident Manager uses when trying to engage the contact channel.
  796. */
  797. DeliveryAddress: ContactChannelAddress;
  798. /**
  799. * A Boolean value indicating if the contact channel has been activated or not.
  800. */
  801. ActivationStatus?: ActivationStatus;
  802. }
  803. export interface GetContactPolicyRequest {
  804. /**
  805. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  806. */
  807. ContactArn: SsmContactsArn;
  808. }
  809. export interface GetContactPolicyResult {
  810. /**
  811. * The ARN of the contact or escalation plan.
  812. */
  813. ContactArn?: SsmContactsArn;
  814. /**
  815. * Details about the resource policy attached to the contact or escalation plan.
  816. */
  817. Policy?: Policy;
  818. }
  819. export interface GetContactRequest {
  820. /**
  821. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  822. */
  823. ContactId: SsmContactsArn;
  824. }
  825. export interface GetContactResult {
  826. /**
  827. * The ARN of the contact or escalation plan.
  828. */
  829. ContactArn: SsmContactsArn;
  830. /**
  831. * The alias of the contact or escalation plan. The alias is unique and identifiable.
  832. */
  833. Alias: ContactAlias;
  834. /**
  835. * The full name of the contact or escalation plan.
  836. */
  837. DisplayName?: ContactName;
  838. /**
  839. * The type of contact, either PERSONAL or ESCALATION.
  840. */
  841. Type: ContactType;
  842. /**
  843. * Details about the specific timing or stages and targets of the escalation plan or engagement plan.
  844. */
  845. Plan: Plan;
  846. }
  847. export interface GetRotationOverrideRequest {
  848. /**
  849. * The Amazon Resource Name (ARN) of the overridden rotation to retrieve information about.
  850. */
  851. RotationId: SsmContactsArn;
  852. /**
  853. * The Amazon Resource Name (ARN) of the on-call rotation override to retrieve information about.
  854. */
  855. RotationOverrideId: Uuid;
  856. }
  857. export interface GetRotationOverrideResult {
  858. /**
  859. * The Amazon Resource Name (ARN) of the override to an on-call rotation.
  860. */
  861. RotationOverrideId?: Uuid;
  862. /**
  863. * The Amazon Resource Name (ARN) of the on-call rotation that was overridden.
  864. */
  865. RotationArn?: SsmContactsArn;
  866. /**
  867. * The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
  868. */
  869. NewContactIds?: SsmContactsArnList;
  870. /**
  871. * The date and time when the override goes into effect.
  872. */
  873. StartTime?: DateTime;
  874. /**
  875. * The date and time when the override ends.
  876. */
  877. EndTime?: DateTime;
  878. /**
  879. * The date and time when the override was created.
  880. */
  881. CreateTime?: DateTime;
  882. }
  883. export interface GetRotationRequest {
  884. /**
  885. * The Amazon Resource Name (ARN) of the on-call rotation to retrieve information about.
  886. */
  887. RotationId: SsmContactsArn;
  888. }
  889. export interface GetRotationResult {
  890. /**
  891. * The Amazon Resource Name (ARN) of the on-call rotation.
  892. */
  893. RotationArn: SsmContactsArn;
  894. /**
  895. * The name of the on-call rotation.
  896. */
  897. Name: RotationName;
  898. /**
  899. * The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.
  900. */
  901. ContactIds: RotationContactsArnList;
  902. /**
  903. * The specified start time for the on-call rotation.
  904. */
  905. StartTime: DateTime;
  906. /**
  907. * The time zone that the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.
  908. */
  909. TimeZoneId: TimeZoneId;
  910. /**
  911. * Specifies how long a rotation lasts before restarting at the beginning of the shift order.
  912. */
  913. Recurrence: RecurrenceSettings;
  914. }
  915. export interface HandOffTime {
  916. /**
  917. * The hour when an on-call rotation shift begins or ends.
  918. */
  919. HourOfDay: HourOfDay;
  920. /**
  921. * The minute when an on-call rotation shift begins or ends.
  922. */
  923. MinuteOfHour: MinuteOfHour;
  924. }
  925. export type HourOfDay = number;
  926. export type IdempotencyToken = string;
  927. export type IncidentId = string;
  928. export type IsEssential = boolean;
  929. export interface ListContactChannelsRequest {
  930. /**
  931. * The Amazon Resource Name (ARN) of the contact.
  932. */
  933. ContactId: SsmContactsArn;
  934. /**
  935. * The pagination token to continue to the next page of results.
  936. */
  937. NextToken?: PaginationToken;
  938. /**
  939. * The maximum number of contact channels per page.
  940. */
  941. MaxResults?: MaxResults;
  942. }
  943. export interface ListContactChannelsResult {
  944. /**
  945. * The pagination token to continue to the next page of results.
  946. */
  947. NextToken?: PaginationToken;
  948. /**
  949. * A list of contact channels related to the specified contact.
  950. */
  951. ContactChannels: ContactChannelList;
  952. }
  953. export interface ListContactsRequest {
  954. /**
  955. * The pagination token to continue to the next page of results.
  956. */
  957. NextToken?: PaginationToken;
  958. /**
  959. * The maximum number of contacts and escalation plans per page of results.
  960. */
  961. MaxResults?: MaxResults;
  962. /**
  963. * Used to list only contacts who's aliases start with the specified prefix.
  964. */
  965. AliasPrefix?: ContactAlias;
  966. /**
  967. * The type of contact. A contact is type PERSONAL and an escalation plan is type ESCALATION.
  968. */
  969. Type?: ContactType;
  970. }
  971. export interface ListContactsResult {
  972. /**
  973. * The pagination token to continue to the next page of results.
  974. */
  975. NextToken?: PaginationToken;
  976. /**
  977. * A list of the contacts and escalation plans in your Incident Manager account.
  978. */
  979. Contacts?: ContactsList;
  980. }
  981. export interface ListEngagementsRequest {
  982. /**
  983. * The pagination token to continue to the next page of results.
  984. */
  985. NextToken?: PaginationToken;
  986. /**
  987. * The maximum number of engagements per page of results.
  988. */
  989. MaxResults?: MaxResults;
  990. /**
  991. * The Amazon Resource Name (ARN) of the incident you're listing engagements for.
  992. */
  993. IncidentId?: IncidentId;
  994. /**
  995. * The time range to lists engagements for an incident.
  996. */
  997. TimeRangeValue?: TimeRange;
  998. }
  999. export interface ListEngagementsResult {
  1000. /**
  1001. * The pagination token to continue to the next page of results.
  1002. */
  1003. NextToken?: PaginationToken;
  1004. /**
  1005. * A list of each engagement that occurred during the specified time range of an incident.
  1006. */
  1007. Engagements: EngagementsList;
  1008. }
  1009. export interface ListPageReceiptsRequest {
  1010. /**
  1011. * The Amazon Resource Name (ARN) of the engagement to a specific contact channel.
  1012. */
  1013. PageId: SsmContactsArn;
  1014. /**
  1015. * The pagination token to continue to the next page of results.
  1016. */
  1017. NextToken?: PaginationToken;
  1018. /**
  1019. * The maximum number of acknowledgements per page of results.
  1020. */
  1021. MaxResults?: MaxResults;
  1022. }
  1023. export interface ListPageReceiptsResult {
  1024. /**
  1025. * The pagination token to continue to the next page of results.
  1026. */
  1027. NextToken?: PaginationToken;
  1028. /**
  1029. * A list of each acknowledgement.
  1030. */
  1031. Receipts?: ReceiptsList;
  1032. }
  1033. export interface ListPageResolutionsRequest {
  1034. /**
  1035. * A token to start the list. Use this token to get the next set of results.
  1036. */
  1037. NextToken?: PaginationToken;
  1038. /**
  1039. * The Amazon Resource Name (ARN) of the contact engaged for the incident.
  1040. */
  1041. PageId: SsmContactsArn;
  1042. }
  1043. export interface ListPageResolutionsResult {
  1044. /**
  1045. * The token for the next set of items to return. Use this token to get the next set of results.
  1046. */
  1047. NextToken?: PaginationToken;
  1048. /**
  1049. * Information about the resolution for an engagement.
  1050. */
  1051. PageResolutions: ResolutionList;
  1052. }
  1053. export interface ListPagesByContactRequest {
  1054. /**
  1055. * The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.
  1056. */
  1057. ContactId: SsmContactsArn;
  1058. /**
  1059. * The pagination token to continue to the next page of results.
  1060. */
  1061. NextToken?: PaginationToken;
  1062. /**
  1063. * The maximum number of engagements to contact channels to list per page of results.
  1064. */
  1065. MaxResults?: MaxResults;
  1066. }
  1067. export interface ListPagesByContactResult {
  1068. /**
  1069. * The pagination token to continue to the next page of results.
  1070. */
  1071. NextToken?: PaginationToken;
  1072. /**
  1073. * The list of engagements to a contact's contact channel.
  1074. */
  1075. Pages: PagesList;
  1076. }
  1077. export interface ListPagesByEngagementRequest {
  1078. /**
  1079. * The Amazon Resource Name (ARN) of the engagement.
  1080. */
  1081. EngagementId: SsmContactsArn;
  1082. /**
  1083. * The pagination token to continue to the next page of results.
  1084. */
  1085. NextToken?: PaginationToken;
  1086. /**
  1087. * The maximum number of engagements to contact channels to list per page of results.
  1088. */
  1089. MaxResults?: MaxResults;
  1090. }
  1091. export interface ListPagesByEngagementResult {
  1092. /**
  1093. * The pagination token to continue to the next page of results.
  1094. */
  1095. NextToken?: PaginationToken;
  1096. /**
  1097. * The list of engagements to contact channels.
  1098. */
  1099. Pages: PagesList;
  1100. }
  1101. export interface ListPreviewRotationShiftsRequest {
  1102. /**
  1103. * The date and time a rotation would begin. The first shift is calculated from this date and time.
  1104. */
  1105. RotationStartTime?: DateTime;
  1106. /**
  1107. * Used to filter the range of calculated shifts before sending the response back to the user.
  1108. */
  1109. StartTime?: DateTime;
  1110. /**
  1111. * The date and time a rotation shift would end.
  1112. */
  1113. EndTime: DateTime;
  1114. /**
  1115. * The contacts that would be assigned to a rotation.
  1116. */
  1117. Members: RotationPreviewMemberList;
  1118. /**
  1119. * The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
  1120. */
  1121. TimeZoneId: TimeZoneId;
  1122. /**
  1123. * Information about how long a rotation would last before restarting at the beginning of the shift order.
  1124. */
  1125. Recurrence: RecurrenceSettings;
  1126. /**
  1127. * Information about changes that would be made in a rotation override.
  1128. */
  1129. Overrides?: OverrideList;
  1130. /**
  1131. * A token to start the list. This token is used to get the next set of results.
  1132. */
  1133. NextToken?: PaginationToken;
  1134. /**
  1135. * The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
  1136. */
  1137. MaxResults?: MaxResults;
  1138. }
  1139. export interface ListPreviewRotationShiftsResult {
  1140. /**
  1141. * Details about a rotation shift, including times, types, and contacts.
  1142. */
  1143. RotationShifts?: RotationShifts;
  1144. /**
  1145. * The token for the next set of items to return. This token is used to get the next set of results.
  1146. */
  1147. NextToken?: PaginationToken;
  1148. }
  1149. export interface ListRotationOverridesRequest {
  1150. /**
  1151. * The Amazon Resource Name (ARN) of the rotation to retrieve information about.
  1152. */
  1153. RotationId: SsmContactsArn;
  1154. /**
  1155. * The date and time for the beginning of a time range for listing overrides.
  1156. */
  1157. StartTime: DateTime;
  1158. /**
  1159. * The date and time for the end of a time range for listing overrides.
  1160. */
  1161. EndTime: DateTime;
  1162. /**
  1163. * A token to start the list. Use this token to get the next set of results.
  1164. */
  1165. NextToken?: PaginationToken;
  1166. /**
  1167. * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  1168. */
  1169. MaxResults?: MaxResults;
  1170. }
  1171. export interface ListRotationOverridesResult {
  1172. /**
  1173. * A list of rotation overrides in the specified time range.
  1174. */
  1175. RotationOverrides?: RotationOverrides;
  1176. /**
  1177. * The token for the next set of items to return. Use this token to get the next set of results.
  1178. */
  1179. NextToken?: PaginationToken;
  1180. }
  1181. export interface ListRotationShiftsRequest {
  1182. /**
  1183. * The Amazon Resource Name (ARN) of the rotation to retrieve shift information about.
  1184. */
  1185. RotationId: SsmContactsArn;
  1186. /**
  1187. * The date and time for the beginning of the time range to list shifts for.
  1188. */
  1189. StartTime?: DateTime;
  1190. /**
  1191. * The date and time for the end of the time range to list shifts for.
  1192. */
  1193. EndTime: DateTime;
  1194. /**
  1195. * A token to start the list. Use this token to get the next set of results.
  1196. */
  1197. NextToken?: PaginationToken;
  1198. /**
  1199. * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  1200. */
  1201. MaxResults?: MaxResults;
  1202. }
  1203. export interface ListRotationShiftsResult {
  1204. /**
  1205. * Information about shifts that meet the filter criteria.
  1206. */
  1207. RotationShifts?: RotationShifts;
  1208. /**
  1209. * The token for the next set of items to return. Use this token to get the next set of results.
  1210. */
  1211. NextToken?: PaginationToken;
  1212. }
  1213. export interface ListRotationsRequest {
  1214. /**
  1215. * A filter to include rotations in list results based on their common prefix. For example, entering prod returns a list of all rotation names that begin with prod, such as production and prod-1.
  1216. */
  1217. RotationNamePrefix?: RotationName;
  1218. /**
  1219. * A token to start the list. Use this token to get the next set of results.
  1220. */
  1221. NextToken?: PaginationToken;
  1222. /**
  1223. * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  1224. */
  1225. MaxResults?: MaxResults;
  1226. }
  1227. export interface ListRotationsResult {
  1228. /**
  1229. * The token for the next set of items to return. Use this token to get the next set of results.
  1230. */
  1231. NextToken?: PaginationToken;
  1232. /**
  1233. * Information about rotations that meet the filter criteria.
  1234. */
  1235. Rotations: Rotations;
  1236. }
  1237. export interface ListTagsForResourceRequest {
  1238. /**
  1239. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  1240. */
  1241. ResourceARN: AmazonResourceName;
  1242. }
  1243. export interface ListTagsForResourceResult {
  1244. /**
  1245. * The tags related to the contact or escalation plan.
  1246. */
  1247. Tags?: TagsList;
  1248. }
  1249. export type MaxResults = number;
  1250. export type Member = string;
  1251. export type MinuteOfHour = number;
  1252. export interface MonthlySetting {
  1253. /**
  1254. * The day of the month when monthly recurring on-call rotations begin.
  1255. */
  1256. DayOfMonth: DayOfMonth;
  1257. /**
  1258. * The time of day when a monthly recurring on-call shift rotation begins.
  1259. */
  1260. HandOffTime: HandOffTime;
  1261. }
  1262. export type MonthlySettings = MonthlySetting[];
  1263. export type NumberOfOnCalls = number;
  1264. export type OverrideList = PreviewOverride[];
  1265. export interface Page {
  1266. /**
  1267. * The Amazon Resource Name (ARN) of the page to the contact channel.
  1268. */
  1269. PageArn: SsmContactsArn;
  1270. /**
  1271. * The ARN of the engagement that this page is part of.
  1272. */
  1273. EngagementArn: SsmContactsArn;
  1274. /**
  1275. * The ARN of the contact that Incident Manager is engaging.
  1276. */
  1277. ContactArn: SsmContactsArn;
  1278. /**
  1279. * The user that started the engagement.
  1280. */
  1281. Sender: Sender;
  1282. /**
  1283. * The ARN of the incident that's engaging the contact channel.
  1284. */
  1285. IncidentId?: IncidentId;
  1286. /**
  1287. * The time that Incident Manager engaged the contact channel.
  1288. */
  1289. SentTime?: DateTime;
  1290. /**
  1291. * The time the message was delivered to the contact channel.
  1292. */
  1293. DeliveryTime?: DateTime;
  1294. /**
  1295. * The time that the contact channel acknowledged engagement.
  1296. */
  1297. ReadTime?: DateTime;
  1298. }
  1299. export type PagesList = Page[];
  1300. export type PaginationToken = string;
  1301. export interface Plan {
  1302. /**
  1303. * A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
  1304. */
  1305. Stages?: StagesList;
  1306. /**
  1307. * The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
  1308. */
  1309. RotationIds?: SsmContactsArnList;
  1310. }
  1311. export type Policy = string;
  1312. export interface PreviewOverride {
  1313. /**
  1314. * Information about contacts to add to an on-call rotation override.
  1315. */
  1316. NewMembers?: RotationOverridePreviewMemberList;
  1317. /**
  1318. * Information about the time a rotation override would begin.
  1319. */
  1320. StartTime?: DateTime;
  1321. /**
  1322. * Information about the time a rotation override would end.
  1323. */
  1324. EndTime?: DateTime;
  1325. }
  1326. export type PublicContent = string;
  1327. export type PublicSubject = string;
  1328. export interface PutContactPolicyRequest {
  1329. /**
  1330. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  1331. */
  1332. ContactArn: SsmContactsArn;
  1333. /**
  1334. * Details of the resource policy.
  1335. */
  1336. Policy: Policy;
  1337. }
  1338. export interface PutContactPolicyResult {
  1339. }
  1340. export interface Receipt {
  1341. /**
  1342. * The Amazon Resource Name (ARN) of the contact channel Incident Manager engaged.
  1343. */
  1344. ContactChannelArn?: SsmContactsArn;
  1345. /**
  1346. * The type follows the engagement cycle, SENT, DELIVERED, and READ.
  1347. */
  1348. ReceiptType: ReceiptType;
  1349. /**
  1350. * Information provided during the page acknowledgement.
  1351. */
  1352. ReceiptInfo?: ReceiptInfo;
  1353. /**
  1354. * The time receipt was SENT, DELIVERED, or READ.
  1355. */
  1356. ReceiptTime: DateTime;
  1357. }
  1358. export type ReceiptInfo = string;
  1359. export type ReceiptType = "DELIVERED"|"ERROR"|"READ"|"SENT"|"STOP"|string;
  1360. export type ReceiptsList = Receipt[];
  1361. export type RecurrenceMultiplier = number;
  1362. export interface RecurrenceSettings {
  1363. /**
  1364. * Information about on-call rotations that recur monthly.
  1365. */
  1366. MonthlySettings?: MonthlySettings;
  1367. /**
  1368. * Information about on-call rotations that recur weekly.
  1369. */
  1370. WeeklySettings?: WeeklySettings;
  1371. /**
  1372. * Information about on-call rotations that recur daily.
  1373. */
  1374. DailySettings?: DailySettings;
  1375. /**
  1376. * The number of contacts, or shift team members designated to be on call concurrently during a shift. For example, in an on-call schedule containing ten contacts, a value of 2 designates that two of them are on call at any given time.
  1377. */
  1378. NumberOfOnCalls: NumberOfOnCalls;
  1379. /**
  1380. * Information about the days of the week included in on-call rotation coverage.
  1381. */
  1382. ShiftCoverages?: ShiftCoveragesMap;
  1383. /**
  1384. * The number of days, weeks, or months a single rotation lasts.
  1385. */
  1386. RecurrenceMultiplier: RecurrenceMultiplier;
  1387. }
  1388. export interface ResolutionContact {
  1389. /**
  1390. * The Amazon Resource Name (ARN) of a contact in the engagement resolution process.
  1391. */
  1392. ContactArn: SsmContactsArn;
  1393. /**
  1394. * The type of contact for a resolution step.
  1395. */
  1396. Type: ContactType;
  1397. /**
  1398. * The stage in the escalation plan that resolves to this contact.
  1399. */
  1400. StageIndex?: StageIndex;
  1401. }
  1402. export type ResolutionList = ResolutionContact[];
  1403. export type RetryIntervalInMinutes = number;
  1404. export interface Rotation {
  1405. /**
  1406. * The Amazon Resource Name (ARN) of the rotation.
  1407. */
  1408. RotationArn: SsmContactsArn;
  1409. /**
  1410. * The name of the rotation.
  1411. */
  1412. Name: RotationName;
  1413. /**
  1414. * The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
  1415. */
  1416. ContactIds?: SsmContactsArnList;
  1417. /**
  1418. * The date and time the rotation becomes active.
  1419. */
  1420. StartTime?: DateTime;
  1421. /**
  1422. * The time zone the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
  1423. */
  1424. TimeZoneId?: TimeZoneId;
  1425. /**
  1426. * Information about when an on-call rotation is in effect and how long the rotation period lasts.
  1427. */
  1428. Recurrence?: RecurrenceSettings;
  1429. }
  1430. export type RotationContactsArnList = SsmContactsArn[];
  1431. export type RotationName = string;
  1432. export interface RotationOverride {
  1433. /**
  1434. * The Amazon Resource Name (ARN) of the override to an on-call rotation.
  1435. */
  1436. RotationOverrideId: Uuid;
  1437. /**
  1438. * The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.
  1439. */
  1440. NewContactIds: SsmContactsArnList;
  1441. /**
  1442. * The time a rotation override begins.
  1443. */
  1444. StartTime: DateTime;
  1445. /**
  1446. * The time a rotation override ends.
  1447. */
  1448. EndTime: DateTime;
  1449. /**
  1450. * The time a rotation override was created.
  1451. */
  1452. CreateTime: DateTime;
  1453. }
  1454. export type RotationOverrideContactsArnList = SsmContactsArn[];
  1455. export type RotationOverridePreviewMemberList = Member[];
  1456. export type RotationOverrides = RotationOverride[];
  1457. export type RotationPreviewMemberList = Member[];
  1458. export interface RotationShift {
  1459. /**
  1460. * The Amazon Resource Names (ARNs) of the contacts who are part of the shift rotation.
  1461. */
  1462. ContactIds?: SsmContactsArnList;
  1463. /**
  1464. * The time a shift rotation begins.
  1465. */
  1466. StartTime: DateTime;
  1467. /**
  1468. * The time a shift rotation ends.
  1469. */
  1470. EndTime: DateTime;
  1471. /**
  1472. * The type of shift rotation.
  1473. */
  1474. Type?: ShiftType;
  1475. /**
  1476. * Additional information about an on-call rotation shift.
  1477. */
  1478. ShiftDetails?: ShiftDetails;
  1479. }
  1480. export type RotationShifts = RotationShift[];
  1481. export type Rotations = Rotation[];
  1482. export interface SendActivationCodeRequest {
  1483. /**
  1484. * The Amazon Resource Name (ARN) of the contact channel.
  1485. */
  1486. ContactChannelId: SsmContactsArn;
  1487. }
  1488. export interface SendActivationCodeResult {
  1489. }
  1490. export type Sender = string;
  1491. export type ShiftCoveragesMap = {[key: string]: CoverageTimes};
  1492. export interface ShiftDetails {
  1493. /**
  1494. * The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created. If the override is deleted, these contacts are restored to the shift.
  1495. */
  1496. OverriddenContactIds: SsmContactsArnList;
  1497. }
  1498. export type ShiftType = "REGULAR"|"OVERRIDDEN"|string;
  1499. export type SimpleAddress = string;
  1500. export type SsmContactsArn = string;
  1501. export type SsmContactsArnList = SsmContactsArn[];
  1502. export interface Stage {
  1503. /**
  1504. * The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.
  1505. */
  1506. DurationInMinutes: StageDurationInMins;
  1507. /**
  1508. * The contacts or contact methods that the escalation plan or engagement plan is engaging.
  1509. */
  1510. Targets: TargetsList;
  1511. }
  1512. export type StageDurationInMins = number;
  1513. export type StageIndex = number;
  1514. export type StagesList = Stage[];
  1515. export interface StartEngagementRequest {
  1516. /**
  1517. * The Amazon Resource Name (ARN) of the contact being engaged.
  1518. */
  1519. ContactId: SsmContactsArn;
  1520. /**
  1521. * The user that started the engagement.
  1522. */
  1523. Sender: Sender;
  1524. /**
  1525. * The secure subject of the message that was sent to the contact. Use this field for engagements to VOICE or EMAIL.
  1526. */
  1527. Subject: Subject;
  1528. /**
  1529. * The secure content of the message that was sent to the contact. Use this field for engagements to VOICE or EMAIL.
  1530. */
  1531. Content: Content;
  1532. /**
  1533. * The insecure subject of the message that was sent to the contact. Use this field for engagements to SMS.
  1534. */
  1535. PublicSubject?: PublicSubject;
  1536. /**
  1537. * The insecure content of the message that was sent to the contact. Use this field for engagements to SMS.
  1538. */
  1539. PublicContent?: PublicContent;
  1540. /**
  1541. * The ARN of the incident that the engagement is part of.
  1542. */
  1543. IncidentId?: IncidentId;
  1544. /**
  1545. * A token ensuring that the operation is called only once with the specified details.
  1546. */
  1547. IdempotencyToken?: IdempotencyToken;
  1548. }
  1549. export interface StartEngagementResult {
  1550. /**
  1551. * The ARN of the engagement.
  1552. */
  1553. EngagementArn: SsmContactsArn;
  1554. }
  1555. export interface StopEngagementRequest {
  1556. /**
  1557. * The Amazon Resource Name (ARN) of the engagement.
  1558. */
  1559. EngagementId: SsmContactsArn;
  1560. /**
  1561. * The reason that you're stopping the engagement.
  1562. */
  1563. Reason?: StopReason;
  1564. }
  1565. export interface StopEngagementResult {
  1566. }
  1567. export type StopReason = string;
  1568. export type Subject = string;
  1569. export interface Tag {
  1570. /**
  1571. * Name of the object key.
  1572. */
  1573. Key?: TagKey;
  1574. /**
  1575. * Value of the tag.
  1576. */
  1577. Value?: TagValue;
  1578. }
  1579. export type TagKey = string;
  1580. export type TagKeyList = TagKey[];
  1581. export interface TagResourceRequest {
  1582. /**
  1583. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  1584. */
  1585. ResourceARN: AmazonResourceName;
  1586. /**
  1587. * A list of tags that you are adding to the contact or escalation plan.
  1588. */
  1589. Tags: TagsList;
  1590. }
  1591. export interface TagResourceResult {
  1592. }
  1593. export type TagValue = string;
  1594. export type TagsList = Tag[];
  1595. export interface Target {
  1596. /**
  1597. * Information about the contact channel Incident Manager is engaging.
  1598. */
  1599. ChannelTargetInfo?: ChannelTargetInfo;
  1600. /**
  1601. * Information about the contact that Incident Manager is engaging.
  1602. */
  1603. ContactTargetInfo?: ContactTargetInfo;
  1604. }
  1605. export type TargetsList = Target[];
  1606. export interface TimeRange {
  1607. /**
  1608. * The start of the time range.
  1609. */
  1610. StartTime?: DateTime;
  1611. /**
  1612. * The end of the time range.
  1613. */
  1614. EndTime?: DateTime;
  1615. }
  1616. export type TimeZoneId = string;
  1617. export interface UntagResourceRequest {
  1618. /**
  1619. * The Amazon Resource Name (ARN) of the contact or escalation plan.
  1620. */
  1621. ResourceARN: AmazonResourceName;
  1622. /**
  1623. * The key of the tag that you want to remove.
  1624. */
  1625. TagKeys: TagKeyList;
  1626. }
  1627. export interface UntagResourceResult {
  1628. }
  1629. export interface UpdateContactChannelRequest {
  1630. /**
  1631. * The Amazon Resource Name (ARN) of the contact channel you want to update.
  1632. */
  1633. ContactChannelId: SsmContactsArn;
  1634. /**
  1635. * The name of the contact channel.
  1636. */
  1637. Name?: ChannelName;
  1638. /**
  1639. * The details that Incident Manager uses when trying to engage the contact channel.
  1640. */
  1641. DeliveryAddress?: ContactChannelAddress;
  1642. }
  1643. export interface UpdateContactChannelResult {
  1644. }
  1645. export interface UpdateContactRequest {
  1646. /**
  1647. * The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
  1648. */
  1649. ContactId: SsmContactsArn;
  1650. /**
  1651. * The full name of the contact or escalation plan.
  1652. */
  1653. DisplayName?: ContactName;
  1654. /**
  1655. * A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
  1656. */
  1657. Plan?: Plan;
  1658. }
  1659. export interface UpdateContactResult {
  1660. }
  1661. export interface UpdateRotationRequest {
  1662. /**
  1663. * The Amazon Resource Name (ARN) of the rotation to update.
  1664. */
  1665. RotationId: SsmContactsArn;
  1666. /**
  1667. * The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation. The order in which you list the contacts is their shift order in the rotation schedule.
  1668. */
  1669. ContactIds?: RotationContactsArnList;
  1670. /**
  1671. * The date and time the rotation goes into effect.
  1672. */
  1673. StartTime?: DateTime;
  1674. /**
  1675. * The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), aren't supported.
  1676. */
  1677. TimeZoneId?: TimeZoneId;
  1678. /**
  1679. * Information about how long the updated rotation lasts before restarting at the beginning of the shift order.
  1680. */
  1681. Recurrence: RecurrenceSettings;
  1682. }
  1683. export interface UpdateRotationResult {
  1684. }
  1685. export type Uuid = string;
  1686. export interface WeeklySetting {
  1687. /**
  1688. * The day of the week when weekly recurring on-call shift rotations begins.
  1689. */
  1690. DayOfWeek: DayOfWeek;
  1691. /**
  1692. * The time of day when a weekly recurring on-call shift rotation begins.
  1693. */
  1694. HandOffTime: HandOffTime;
  1695. }
  1696. export type WeeklySettings = WeeklySetting[];
  1697. /**
  1698. * 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.
  1699. */
  1700. export type apiVersion = "2021-05-03"|"latest"|string;
  1701. export interface ClientApiVersions {
  1702. /**
  1703. * 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.
  1704. */
  1705. apiVersion?: apiVersion;
  1706. }
  1707. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1708. /**
  1709. * Contains interfaces for use with the SSMContacts client.
  1710. */
  1711. export import Types = SSMContacts;
  1712. }
  1713. export = SSMContacts;