@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 { GetResourcePoliciesInput, GetResourcePoliciesOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetResourcePoliciesCommand,
17
- serializeAws_restJson1GetResourcePoliciesCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface GetResourcePoliciesCommandInput extends GetResourcePoliciesInput {}
22
- export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the resource policies attached to the specified response plan.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new GetResourcePoliciesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetResourcePoliciesCommandInput} for command's `input` shape.
37
- * @see {@link GetResourcePoliciesCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetResourcePoliciesCommand extends $Command<
42
- GetResourcePoliciesCommandInput,
43
- GetResourcePoliciesCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetResourcePoliciesCommandInput) {
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<GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput> {
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 = "GetResourcePoliciesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetResourcePoliciesInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetResourcePoliciesOutput.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: GetResourcePoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetResourcePoliciesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetResourcePoliciesCommandOutput> {
90
- return deserializeAws_restJson1GetResourcePoliciesCommand(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 { GetResponsePlanInput, GetResponsePlanOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetResponsePlanCommand,
17
- serializeAws_restJson1GetResponsePlanCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface GetResponsePlanCommandInput extends GetResponsePlanInput {}
22
- export interface GetResponsePlanCommandOutput extends GetResponsePlanOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the details of the specified response plan.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, GetResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, GetResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new GetResponsePlanCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetResponsePlanCommandInput} for command's `input` shape.
37
- * @see {@link GetResponsePlanCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetResponsePlanCommand extends $Command<
42
- GetResponsePlanCommandInput,
43
- GetResponsePlanCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetResponsePlanCommandInput) {
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<GetResponsePlanCommandInput, GetResponsePlanCommandOutput> {
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 = "GetResponsePlanCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetResponsePlanInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetResponsePlanOutput.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: GetResponsePlanCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetResponsePlanCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetResponsePlanCommandOutput> {
90
- return deserializeAws_restJson1GetResponsePlanCommand(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 { GetTimelineEventInput, GetTimelineEventOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetTimelineEventCommand,
17
- serializeAws_restJson1GetTimelineEventCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface GetTimelineEventCommandInput extends GetTimelineEventInput {}
22
- export interface GetTimelineEventCommandOutput extends GetTimelineEventOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a timeline event based on its ID and 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, GetTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, GetTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new GetTimelineEventCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetTimelineEventCommandInput} for command's `input` shape.
37
- * @see {@link GetTimelineEventCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetTimelineEventCommand extends $Command<
42
- GetTimelineEventCommandInput,
43
- GetTimelineEventCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetTimelineEventCommandInput) {
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<GetTimelineEventCommandInput, GetTimelineEventCommandOutput> {
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 = "GetTimelineEventCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetTimelineEventInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetTimelineEventOutput.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: GetTimelineEventCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetTimelineEventCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTimelineEventCommandOutput> {
90
- return deserializeAws_restJson1GetTimelineEventCommand(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 { ListIncidentRecordsInput, ListIncidentRecordsOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1ListIncidentRecordsCommand,
17
- serializeAws_restJson1ListIncidentRecordsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface ListIncidentRecordsCommandInput extends ListIncidentRecordsInput {}
22
- export interface ListIncidentRecordsCommandOutput extends ListIncidentRecordsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists all incident records in your account. Use this command to retrieve the Amazon
26
- * Resource Name (ARN) of the incident record you want to update. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { SSMIncidentsClient, ListIncidentRecordsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
31
- * // const { SSMIncidentsClient, ListIncidentRecordsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
32
- * const client = new SSMIncidentsClient(config);
33
- * const command = new ListIncidentRecordsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListIncidentRecordsCommandInput} for command's `input` shape.
38
- * @see {@link ListIncidentRecordsCommandOutput} for command's `response` shape.
39
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListIncidentRecordsCommand extends $Command<
43
- ListIncidentRecordsCommandInput,
44
- ListIncidentRecordsCommandOutput,
45
- SSMIncidentsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListIncidentRecordsCommandInput) {
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<ListIncidentRecordsCommandInput, ListIncidentRecordsCommandOutput> {
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 = "ListIncidentRecordsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListIncidentRecordsInput.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListIncidentRecordsOutput.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: ListIncidentRecordsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1ListIncidentRecordsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListIncidentRecordsCommandOutput> {
91
- return deserializeAws_restJson1ListIncidentRecordsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -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 { ListRelatedItemsInput, ListRelatedItemsOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1ListRelatedItemsCommand,
17
- serializeAws_restJson1ListRelatedItemsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface ListRelatedItemsCommandInput extends ListRelatedItemsInput {}
22
- export interface ListRelatedItemsCommandOutput extends ListRelatedItemsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List all related items for an 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, ListRelatedItemsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, ListRelatedItemsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new ListRelatedItemsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListRelatedItemsCommandInput} for command's `input` shape.
37
- * @see {@link ListRelatedItemsCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListRelatedItemsCommand extends $Command<
42
- ListRelatedItemsCommandInput,
43
- ListRelatedItemsCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListRelatedItemsCommandInput) {
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<ListRelatedItemsCommandInput, ListRelatedItemsCommandOutput> {
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 = "ListRelatedItemsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListRelatedItemsInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListRelatedItemsOutput.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: ListRelatedItemsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListRelatedItemsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRelatedItemsCommandOutput> {
90
- return deserializeAws_restJson1ListRelatedItemsCommand(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 { ListReplicationSetsInput, ListReplicationSetsOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1ListReplicationSetsCommand,
17
- serializeAws_restJson1ListReplicationSetsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface ListReplicationSetsCommandInput extends ListReplicationSetsInput {}
22
- export interface ListReplicationSetsCommandOutput extends ListReplicationSetsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists details about the replication set configured in your account. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, ListReplicationSetsCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, ListReplicationSetsCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new ListReplicationSetsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListReplicationSetsCommandInput} for command's `input` shape.
37
- * @see {@link ListReplicationSetsCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListReplicationSetsCommand extends $Command<
42
- ListReplicationSetsCommandInput,
43
- ListReplicationSetsCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListReplicationSetsCommandInput) {
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<ListReplicationSetsCommandInput, ListReplicationSetsCommandOutput> {
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 = "ListReplicationSetsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListReplicationSetsInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListReplicationSetsOutput.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: ListReplicationSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListReplicationSetsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListReplicationSetsCommandOutput> {
90
- return deserializeAws_restJson1ListReplicationSetsCommand(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 { ListResponsePlansInput, ListResponsePlansOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1ListResponsePlansCommand,
17
- serializeAws_restJson1ListResponsePlansCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
20
-
21
- export interface ListResponsePlansCommandInput extends ListResponsePlansInput {}
22
- export interface ListResponsePlansCommandOutput extends ListResponsePlansOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists all response plans in your account.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { SSMIncidentsClient, ListResponsePlansCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
30
- * // const { SSMIncidentsClient, ListResponsePlansCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
31
- * const client = new SSMIncidentsClient(config);
32
- * const command = new ListResponsePlansCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListResponsePlansCommandInput} for command's `input` shape.
37
- * @see {@link ListResponsePlansCommandOutput} for command's `response` shape.
38
- * @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListResponsePlansCommand extends $Command<
42
- ListResponsePlansCommandInput,
43
- ListResponsePlansCommandOutput,
44
- SSMIncidentsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListResponsePlansCommandInput) {
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<ListResponsePlansCommandInput, ListResponsePlansCommandOutput> {
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 = "ListResponsePlansCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListResponsePlansInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListResponsePlansOutput.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: ListResponsePlansCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListResponsePlansCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListResponsePlansCommandOutput> {
90
- return deserializeAws_restJson1ListResponsePlansCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }