@aws-sdk/client-ssm-incidents 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/SSMIncidents.js +0 -11
  3. package/dist-cjs/SSMIncidentsClient.js +0 -16
  4. package/dist-cjs/commands/CreateReplicationSetCommand.js +0 -26
  5. package/dist-cjs/commands/CreateResponsePlanCommand.js +0 -28
  6. package/dist-cjs/commands/CreateTimelineEventCommand.js +0 -28
  7. package/dist-cjs/commands/DeleteIncidentRecordCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteReplicationSetCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -27
  10. package/dist-cjs/commands/DeleteResponsePlanCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteTimelineEventCommand.js +0 -25
  12. package/dist-cjs/commands/GetIncidentRecordCommand.js +0 -25
  13. package/dist-cjs/commands/GetReplicationSetCommand.js +0 -25
  14. package/dist-cjs/commands/GetResourcePoliciesCommand.js +0 -25
  15. package/dist-cjs/commands/GetResponsePlanCommand.js +0 -25
  16. package/dist-cjs/commands/GetTimelineEventCommand.js +0 -25
  17. package/dist-cjs/commands/ListIncidentRecordsCommand.js +0 -26
  18. package/dist-cjs/commands/ListRelatedItemsCommand.js +0 -25
  19. package/dist-cjs/commands/ListReplicationSetsCommand.js +0 -25
  20. package/dist-cjs/commands/ListResponsePlansCommand.js +0 -25
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  22. package/dist-cjs/commands/ListTimelineEventsCommand.js +0 -25
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -25
  24. package/dist-cjs/commands/StartIncidentCommand.js +0 -25
  25. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  26. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  27. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +0 -26
  28. package/dist-cjs/commands/UpdateIncidentRecordCommand.js +0 -27
  29. package/dist-cjs/commands/UpdateRelatedItemsCommand.js +0 -25
  30. package/dist-cjs/commands/UpdateReplicationSetCommand.js +0 -25
  31. package/dist-cjs/commands/UpdateResponsePlanCommand.js +0 -25
  32. package/dist-cjs/commands/UpdateTimelineEventCommand.js +0 -26
  33. package/dist-cjs/commands/index.js +32 -0
  34. package/dist-cjs/endpoints.js +1 -2
  35. package/dist-cjs/index.js +5 -41
  36. package/dist-cjs/models/index.js +0 -1
  37. package/dist-cjs/models/models_0.js +0 -307
  38. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +0 -11
  39. package/dist-cjs/pagination/Interfaces.js +0 -1
  40. package/dist-cjs/pagination/ListIncidentRecordsPaginator.js +0 -11
  41. package/dist-cjs/pagination/ListRelatedItemsPaginator.js +0 -11
  42. package/dist-cjs/pagination/ListReplicationSetsPaginator.js +0 -11
  43. package/dist-cjs/pagination/ListResponsePlansPaginator.js +0 -11
  44. package/dist-cjs/pagination/ListTimelineEventsPaginator.js +0 -11
  45. package/dist-cjs/pagination/index.js +10 -0
  46. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  47. package/dist-cjs/runtimeConfig.browser.js +1 -6
  48. package/dist-cjs/runtimeConfig.js +2 -7
  49. package/dist-cjs/runtimeConfig.native.js +0 -4
  50. package/dist-cjs/runtimeConfig.shared.js +0 -4
  51. package/dist-cjs/waiters/index.js +5 -0
  52. package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js +0 -10
  53. package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js +0 -10
  54. package/dist-es/SSMIncidents.js +0 -1
  55. package/dist-es/SSMIncidentsClient.js +0 -1
  56. package/dist-es/commands/CreateReplicationSetCommand.js +0 -1
  57. package/dist-es/commands/CreateResponsePlanCommand.js +0 -1
  58. package/dist-es/commands/CreateTimelineEventCommand.js +0 -1
  59. package/dist-es/commands/DeleteIncidentRecordCommand.js +0 -1
  60. package/dist-es/commands/DeleteReplicationSetCommand.js +0 -1
  61. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
  62. package/dist-es/commands/DeleteResponsePlanCommand.js +0 -1
  63. package/dist-es/commands/DeleteTimelineEventCommand.js +0 -1
  64. package/dist-es/commands/GetIncidentRecordCommand.js +0 -1
  65. package/dist-es/commands/GetReplicationSetCommand.js +0 -1
  66. package/dist-es/commands/GetResourcePoliciesCommand.js +0 -1
  67. package/dist-es/commands/GetResponsePlanCommand.js +0 -1
  68. package/dist-es/commands/GetTimelineEventCommand.js +0 -1
  69. package/dist-es/commands/ListIncidentRecordsCommand.js +0 -1
  70. package/dist-es/commands/ListRelatedItemsCommand.js +0 -1
  71. package/dist-es/commands/ListReplicationSetsCommand.js +0 -1
  72. package/dist-es/commands/ListResponsePlansCommand.js +0 -1
  73. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  74. package/dist-es/commands/ListTimelineEventsCommand.js +0 -1
  75. package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
  76. package/dist-es/commands/StartIncidentCommand.js +0 -1
  77. package/dist-es/commands/TagResourceCommand.js +0 -1
  78. package/dist-es/commands/UntagResourceCommand.js +0 -1
  79. package/dist-es/commands/UpdateDeletionProtectionCommand.js +0 -1
  80. package/dist-es/commands/UpdateIncidentRecordCommand.js +0 -1
  81. package/dist-es/commands/UpdateRelatedItemsCommand.js +0 -1
  82. package/dist-es/commands/UpdateReplicationSetCommand.js +0 -1
  83. package/dist-es/commands/UpdateResponsePlanCommand.js +0 -1
  84. package/dist-es/commands/UpdateTimelineEventCommand.js +0 -1
  85. package/dist-es/commands/index.js +29 -0
  86. package/dist-es/endpoints.js +1 -2
  87. package/dist-es/index.js +5 -41
  88. package/dist-es/models/index.js +0 -1
  89. package/dist-es/models/models_0.js +0 -1
  90. package/dist-es/pagination/GetResourcePoliciesPaginator.js +0 -1
  91. package/dist-es/pagination/Interfaces.js +0 -1
  92. package/dist-es/pagination/ListIncidentRecordsPaginator.js +0 -1
  93. package/dist-es/pagination/ListRelatedItemsPaginator.js +0 -1
  94. package/dist-es/pagination/ListReplicationSetsPaginator.js +0 -1
  95. package/dist-es/pagination/ListResponsePlansPaginator.js +0 -1
  96. package/dist-es/pagination/ListTimelineEventsPaginator.js +0 -1
  97. package/dist-es/pagination/index.js +7 -0
  98. package/dist-es/protocols/Aws_restJson1.js +0 -1
  99. package/dist-es/runtimeConfig.browser.js +1 -2
  100. package/dist-es/runtimeConfig.js +2 -3
  101. package/dist-es/runtimeConfig.native.js +0 -1
  102. package/dist-es/runtimeConfig.shared.js +0 -1
  103. package/dist-es/waiters/index.js +2 -0
  104. package/dist-es/waiters/waitForWaitForReplicationSetActive.js +0 -1
  105. package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js +0 -1
  106. package/dist-types/commands/index.d.ts +29 -0
  107. package/dist-types/index.d.ts +5 -40
  108. package/dist-types/pagination/index.d.ts +7 -0
  109. package/dist-types/ts3.4/SSMIncidents.d.ts +30 -114
  110. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +24 -96
  111. package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +2 -21
  112. package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +2 -23
  113. package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +2 -23
  114. package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -22
  117. package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +2 -22
  118. package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +2 -21
  135. package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  141. package/dist-types/ts3.4/index.d.ts +5 -40
  142. package/dist-types/ts3.4/models/models_0.d.ts +364 -1300
  143. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  144. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  145. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  146. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  147. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  148. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  149. package/dist-types/ts3.4/waiters/waitForWaitForReplicationSetActive.d.ts +2 -9
  150. package/dist-types/ts3.4/waiters/waitForWaitForReplicationSetDeleted.d.ts +2 -9
  151. package/dist-types/waiters/index.d.ts +2 -0
  152. package/package.json +34 -31
  153. package/dist-cjs/SSMIncidents.js.map +0 -1
  154. package/dist-cjs/SSMIncidentsClient.js.map +0 -1
  155. package/dist-cjs/commands/CreateReplicationSetCommand.js.map +0 -1
  156. package/dist-cjs/commands/CreateResponsePlanCommand.js.map +0 -1
  157. package/dist-cjs/commands/CreateTimelineEventCommand.js.map +0 -1
  158. package/dist-cjs/commands/DeleteIncidentRecordCommand.js.map +0 -1
  159. package/dist-cjs/commands/DeleteReplicationSetCommand.js.map +0 -1
  160. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  161. package/dist-cjs/commands/DeleteResponsePlanCommand.js.map +0 -1
  162. package/dist-cjs/commands/DeleteTimelineEventCommand.js.map +0 -1
  163. package/dist-cjs/commands/GetIncidentRecordCommand.js.map +0 -1
  164. package/dist-cjs/commands/GetReplicationSetCommand.js.map +0 -1
  165. package/dist-cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
  166. package/dist-cjs/commands/GetResponsePlanCommand.js.map +0 -1
  167. package/dist-cjs/commands/GetTimelineEventCommand.js.map +0 -1
  168. package/dist-cjs/commands/ListIncidentRecordsCommand.js.map +0 -1
  169. package/dist-cjs/commands/ListRelatedItemsCommand.js.map +0 -1
  170. package/dist-cjs/commands/ListReplicationSetsCommand.js.map +0 -1
  171. package/dist-cjs/commands/ListResponsePlansCommand.js.map +0 -1
  172. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  173. package/dist-cjs/commands/ListTimelineEventsCommand.js.map +0 -1
  174. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  175. package/dist-cjs/commands/StartIncidentCommand.js.map +0 -1
  176. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  177. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  178. package/dist-cjs/commands/UpdateDeletionProtectionCommand.js.map +0 -1
  179. package/dist-cjs/commands/UpdateIncidentRecordCommand.js.map +0 -1
  180. package/dist-cjs/commands/UpdateRelatedItemsCommand.js.map +0 -1
  181. package/dist-cjs/commands/UpdateReplicationSetCommand.js.map +0 -1
  182. package/dist-cjs/commands/UpdateResponsePlanCommand.js.map +0 -1
  183. package/dist-cjs/commands/UpdateTimelineEventCommand.js.map +0 -1
  184. package/dist-cjs/endpoints.js.map +0 -1
  185. package/dist-cjs/index.js.map +0 -1
  186. package/dist-cjs/models/index.js.map +0 -1
  187. package/dist-cjs/models/models_0.js.map +0 -1
  188. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  189. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  190. package/dist-cjs/pagination/ListIncidentRecordsPaginator.js.map +0 -1
  191. package/dist-cjs/pagination/ListRelatedItemsPaginator.js.map +0 -1
  192. package/dist-cjs/pagination/ListReplicationSetsPaginator.js.map +0 -1
  193. package/dist-cjs/pagination/ListResponsePlansPaginator.js.map +0 -1
  194. package/dist-cjs/pagination/ListTimelineEventsPaginator.js.map +0 -1
  195. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  196. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  197. package/dist-cjs/runtimeConfig.js.map +0 -1
  198. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  199. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  200. package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js.map +0 -1
  201. package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js.map +0 -1
  202. package/dist-es/SSMIncidents.js.map +0 -1
  203. package/dist-es/SSMIncidentsClient.js.map +0 -1
  204. package/dist-es/commands/CreateReplicationSetCommand.js.map +0 -1
  205. package/dist-es/commands/CreateResponsePlanCommand.js.map +0 -1
  206. package/dist-es/commands/CreateTimelineEventCommand.js.map +0 -1
  207. package/dist-es/commands/DeleteIncidentRecordCommand.js.map +0 -1
  208. package/dist-es/commands/DeleteReplicationSetCommand.js.map +0 -1
  209. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  210. package/dist-es/commands/DeleteResponsePlanCommand.js.map +0 -1
  211. package/dist-es/commands/DeleteTimelineEventCommand.js.map +0 -1
  212. package/dist-es/commands/GetIncidentRecordCommand.js.map +0 -1
  213. package/dist-es/commands/GetReplicationSetCommand.js.map +0 -1
  214. package/dist-es/commands/GetResourcePoliciesCommand.js.map +0 -1
  215. package/dist-es/commands/GetResponsePlanCommand.js.map +0 -1
  216. package/dist-es/commands/GetTimelineEventCommand.js.map +0 -1
  217. package/dist-es/commands/ListIncidentRecordsCommand.js.map +0 -1
  218. package/dist-es/commands/ListRelatedItemsCommand.js.map +0 -1
  219. package/dist-es/commands/ListReplicationSetsCommand.js.map +0 -1
  220. package/dist-es/commands/ListResponsePlansCommand.js.map +0 -1
  221. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  222. package/dist-es/commands/ListTimelineEventsCommand.js.map +0 -1
  223. package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
  224. package/dist-es/commands/StartIncidentCommand.js.map +0 -1
  225. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  226. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  227. package/dist-es/commands/UpdateDeletionProtectionCommand.js.map +0 -1
  228. package/dist-es/commands/UpdateIncidentRecordCommand.js.map +0 -1
  229. package/dist-es/commands/UpdateRelatedItemsCommand.js.map +0 -1
  230. package/dist-es/commands/UpdateReplicationSetCommand.js.map +0 -1
  231. package/dist-es/commands/UpdateResponsePlanCommand.js.map +0 -1
  232. package/dist-es/commands/UpdateTimelineEventCommand.js.map +0 -1
  233. package/dist-es/endpoints.js.map +0 -1
  234. package/dist-es/index.js.map +0 -1
  235. package/dist-es/models/index.js.map +0 -1
  236. package/dist-es/models/models_0.js.map +0 -1
  237. package/dist-es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  238. package/dist-es/pagination/Interfaces.js.map +0 -1
  239. package/dist-es/pagination/ListIncidentRecordsPaginator.js.map +0 -1
  240. package/dist-es/pagination/ListRelatedItemsPaginator.js.map +0 -1
  241. package/dist-es/pagination/ListReplicationSetsPaginator.js.map +0 -1
  242. package/dist-es/pagination/ListResponsePlansPaginator.js.map +0 -1
  243. package/dist-es/pagination/ListTimelineEventsPaginator.js.map +0 -1
  244. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  245. package/dist-es/runtimeConfig.browser.js.map +0 -1
  246. package/dist-es/runtimeConfig.js.map +0 -1
  247. package/dist-es/runtimeConfig.native.js.map +0 -1
  248. package/dist-es/runtimeConfig.shared.js.map +0 -1
  249. package/dist-es/waiters/waitForWaitForReplicationSetActive.js.map +0 -1
  250. package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js.map +0 -1
  251. package/jest.config.js +0 -4
  252. package/src/SSMIncidents.ts +0 -1095
  253. package/src/SSMIncidentsClient.ts +0 -372
  254. package/src/commands/CreateReplicationSetCommand.ts +0 -96
  255. package/src/commands/CreateResponsePlanCommand.ts +0 -98
  256. package/src/commands/CreateTimelineEventCommand.ts +0 -98
  257. package/src/commands/DeleteIncidentRecordCommand.ts +0 -95
  258. package/src/commands/DeleteReplicationSetCommand.ts +0 -96
  259. package/src/commands/DeleteResourcePolicyCommand.ts +0 -97
  260. package/src/commands/DeleteResponsePlanCommand.ts +0 -97
  261. package/src/commands/DeleteTimelineEventCommand.ts +0 -95
  262. package/src/commands/GetIncidentRecordCommand.ts +0 -95
  263. package/src/commands/GetReplicationSetCommand.ts +0 -95
  264. package/src/commands/GetResourcePoliciesCommand.ts +0 -95
  265. package/src/commands/GetResponsePlanCommand.ts +0 -95
  266. package/src/commands/GetTimelineEventCommand.ts +0 -95
  267. package/src/commands/ListIncidentRecordsCommand.ts +0 -96
  268. package/src/commands/ListRelatedItemsCommand.ts +0 -95
  269. package/src/commands/ListReplicationSetsCommand.ts +0 -95
  270. package/src/commands/ListResponsePlansCommand.ts +0 -95
  271. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  272. package/src/commands/ListTimelineEventsCommand.ts +0 -95
  273. package/src/commands/PutResourcePolicyCommand.ts +0 -95
  274. package/src/commands/StartIncidentCommand.ts +0 -95
  275. package/src/commands/TagResourceCommand.ts +0 -95
  276. package/src/commands/UntagResourceCommand.ts +0 -95
  277. package/src/commands/UpdateDeletionProtectionCommand.ts +0 -96
  278. package/src/commands/UpdateIncidentRecordCommand.ts +0 -97
  279. package/src/commands/UpdateRelatedItemsCommand.ts +0 -95
  280. package/src/commands/UpdateReplicationSetCommand.ts +0 -95
  281. package/src/commands/UpdateResponsePlanCommand.ts +0 -95
  282. package/src/commands/UpdateTimelineEventCommand.ts +0 -96
  283. package/src/endpoints.ts +0 -57
  284. package/src/index.ts +0 -41
  285. package/src/models/index.ts +0 -1
  286. package/src/models/models_0.ts +0 -2883
  287. package/src/pagination/GetResourcePoliciesPaginator.ts +0 -59
  288. package/src/pagination/Interfaces.ts +0 -8
  289. package/src/pagination/ListIncidentRecordsPaginator.ts +0 -59
  290. package/src/pagination/ListRelatedItemsPaginator.ts +0 -59
  291. package/src/pagination/ListReplicationSetsPaginator.ts +0 -59
  292. package/src/pagination/ListResponsePlansPaginator.ts +0 -59
  293. package/src/pagination/ListTimelineEventsPaginator.ts +0 -59
  294. package/src/protocols/Aws_restJson1.ts +0 -4502
  295. package/src/runtimeConfig.browser.ts +0 -41
  296. package/src/runtimeConfig.native.ts +0 -17
  297. package/src/runtimeConfig.shared.ts +0 -17
  298. package/src/runtimeConfig.ts +0 -46
  299. package/src/waiters/waitForWaitForReplicationSetActive.ts +0 -71
  300. package/src/waiters/waitForWaitForReplicationSetDeleted.ts +0 -58
  301. package/tsconfig.es.json +0 -10
  302. package/tsconfig.json +0 -33
  303. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteIncidentRecordInput, DeleteIncidentRecordOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteIncidentRecordCommand,
17
- serializeAws_restJson1DeleteIncidentRecordCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface DeleteIncidentRecordCommandInput extends DeleteIncidentRecordInput {}
22
- export interface DeleteIncidentRecordCommandOutput extends DeleteIncidentRecordOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Delete an incident record from Incident Manager. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, DeleteIncidentRecordCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, DeleteIncidentRecordCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new DeleteIncidentRecordCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteIncidentRecordCommandInput} for command's `input` shape.
37
- * @see {@link DeleteIncidentRecordCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteIncidentRecordCommand extends $Command<
42
- DeleteIncidentRecordCommandInput,
43
- DeleteIncidentRecordCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteIncidentRecordCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: SSMIncidentsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteIncidentRecordCommandInput, DeleteIncidentRecordCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "SSMIncidentsClient";
69
- const commandName = "DeleteIncidentRecordCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteIncidentRecordInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteIncidentRecordOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteIncidentRecordCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteIncidentRecordCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteIncidentRecordCommandOutput> {
90
- return deserializeAws_restJson1DeleteIncidentRecordCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteReplicationSetInput, DeleteReplicationSetOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteReplicationSetCommand,
17
- serializeAws_restJson1DeleteReplicationSetCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface DeleteReplicationSetCommandInput extends DeleteReplicationSetInput {}
22
- export interface DeleteReplicationSetCommandOutput extends DeleteReplicationSetOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes all Regions in your replication set. Deleting the replication set deletes all
26
- * Incident Manager data.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { SSMIncidentsClient, DeleteReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
31
- * // const { SSMIncidentsClient, DeleteReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
32
- * const client = new SSMIncidentsClient(config);
33
- * const command = new DeleteReplicationSetCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteReplicationSetCommandInput} for command's `input` shape.
38
- * @see {@link DeleteReplicationSetCommandOutput} for command's `response` shape.
39
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteReplicationSetCommand extends $Command<
43
- DeleteReplicationSetCommandInput,
44
- DeleteReplicationSetCommandOutput,
45
- SSMIncidentsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteReplicationSetCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: SSMIncidentsClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeleteReplicationSetCommandInput, DeleteReplicationSetCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "SSMIncidentsClient";
70
- const commandName = "DeleteReplicationSetCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteReplicationSetInput.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteReplicationSetOutput.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeleteReplicationSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DeleteReplicationSetCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteReplicationSetCommandOutput> {
91
- return deserializeAws_restJson1DeleteReplicationSetCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteResourcePolicyInput, DeleteResourcePolicyOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteResourcePolicyCommand,
17
- serializeAws_restJson1DeleteResourcePolicyCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyInput {}
22
- export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the resource policy that
26
- * AWS
27
- * Resource Access Manager uses to share your Incident Manager resource.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { SSMIncidentsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
32
- * // const { SSMIncidentsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
33
- * const client = new SSMIncidentsClient(config);
34
- * const command = new DeleteResourcePolicyCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
39
- * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
40
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteResourcePolicyCommand extends $Command<
44
- DeleteResourcePolicyCommandInput,
45
- DeleteResourcePolicyCommandOutput,
46
- SSMIncidentsClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteResourcePolicyCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: SSMIncidentsClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "SSMIncidentsClient";
71
- const commandName = "DeleteResourcePolicyCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteResourcePolicyInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeleteResourcePolicyOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteResourcePolicyCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteResourcePolicyCommandOutput> {
92
- return deserializeAws_restJson1DeleteResourcePolicyCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteResponsePlanInput, DeleteResponsePlanOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteResponsePlanCommand,
17
- serializeAws_restJson1DeleteResponsePlanCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface DeleteResponsePlanCommandInput extends DeleteResponsePlanInput {}
22
- export interface DeleteResponsePlanCommandOutput extends DeleteResponsePlanOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified response plan. Deleting a response plan stops all linked
26
- * CloudWatch alarms and EventBridge events from creating an incident with this response
27
- * plan.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { SSMIncidentsClient, DeleteResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
32
- * // const { SSMIncidentsClient, DeleteResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
33
- * const client = new SSMIncidentsClient(config);
34
- * const command = new DeleteResponsePlanCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteResponsePlanCommandInput} for command's `input` shape.
39
- * @see {@link DeleteResponsePlanCommandOutput} for command's `response` shape.
40
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteResponsePlanCommand extends $Command<
44
- DeleteResponsePlanCommandInput,
45
- DeleteResponsePlanCommandOutput,
46
- SSMIncidentsClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteResponsePlanCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: SSMIncidentsClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteResponsePlanCommandInput, DeleteResponsePlanCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "SSMIncidentsClient";
71
- const commandName = "DeleteResponsePlanCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteResponsePlanInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeleteResponsePlanOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeleteResponsePlanCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteResponsePlanCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteResponsePlanCommandOutput> {
92
- return deserializeAws_restJson1DeleteResponsePlanCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteTimelineEventInput, DeleteTimelineEventOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteTimelineEventCommand,
17
- serializeAws_restJson1DeleteTimelineEventCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface DeleteTimelineEventCommandInput extends DeleteTimelineEventInput {}
22
- export interface DeleteTimelineEventCommandOutput extends DeleteTimelineEventOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a timeline event from an incident.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, DeleteTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, DeleteTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new DeleteTimelineEventCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteTimelineEventCommandInput} for command's `input` shape.
37
- * @see {@link DeleteTimelineEventCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteTimelineEventCommand extends $Command<
42
- DeleteTimelineEventCommandInput,
43
- DeleteTimelineEventCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteTimelineEventCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: SSMIncidentsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteTimelineEventCommandInput, DeleteTimelineEventCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "SSMIncidentsClient";
69
- const commandName = "DeleteTimelineEventCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteTimelineEventInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteTimelineEventOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteTimelineEventCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteTimelineEventCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteTimelineEventCommandOutput> {
90
- return deserializeAws_restJson1DeleteTimelineEventCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetIncidentRecordInput, GetIncidentRecordOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetIncidentRecordCommand,
17
- serializeAws_restJson1GetIncidentRecordCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface GetIncidentRecordCommandInput extends GetIncidentRecordInput {}
22
- export interface GetIncidentRecordCommandOutput extends GetIncidentRecordOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the details of the specified incident record.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, GetIncidentRecordCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, GetIncidentRecordCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new GetIncidentRecordCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetIncidentRecordCommandInput} for command's `input` shape.
37
- * @see {@link GetIncidentRecordCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetIncidentRecordCommand extends $Command<
42
- GetIncidentRecordCommandInput,
43
- GetIncidentRecordCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetIncidentRecordCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: SSMIncidentsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetIncidentRecordCommandInput, GetIncidentRecordCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "SSMIncidentsClient";
69
- const commandName = "GetIncidentRecordCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetIncidentRecordInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetIncidentRecordOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetIncidentRecordCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetIncidentRecordCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIncidentRecordCommandOutput> {
90
- return deserializeAws_restJson1GetIncidentRecordCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetReplicationSetInput, GetReplicationSetOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetReplicationSetCommand,
17
- serializeAws_restJson1GetReplicationSetCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface GetReplicationSetCommandInput extends GetReplicationSetInput {}
22
- export interface GetReplicationSetCommandOutput extends GetReplicationSetOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieve your Incident Manager replication set.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, GetReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, GetReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new GetReplicationSetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetReplicationSetCommandInput} for command's `input` shape.
37
- * @see {@link GetReplicationSetCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetReplicationSetCommand extends $Command<
42
- GetReplicationSetCommandInput,
43
- GetReplicationSetCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetReplicationSetCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: SSMIncidentsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetReplicationSetCommandInput, GetReplicationSetCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "SSMIncidentsClient";
69
- const commandName = "GetReplicationSetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetReplicationSetInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetReplicationSetOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetReplicationSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetReplicationSetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetReplicationSetCommandOutput> {
90
- return deserializeAws_restJson1GetReplicationSetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }