@aws-sdk/client-cloudwatch-logs 3.478.0 → 3.484.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 (301) hide show
  1. package/dist-cjs/commands/AssociateKmsKeyCommand.js +18 -41
  2. package/dist-cjs/commands/CancelExportTaskCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDeliveryCommand.js +18 -41
  4. package/dist-cjs/commands/CreateExportTaskCommand.js +18 -41
  5. package/dist-cjs/commands/CreateLogAnomalyDetectorCommand.js +18 -41
  6. package/dist-cjs/commands/CreateLogGroupCommand.js +18 -41
  7. package/dist-cjs/commands/CreateLogStreamCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAccountPolicyCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteDeliveryCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteDeliveryDestinationCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteDeliveryDestinationPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteDeliverySourceCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteDestinationCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteLogAnomalyDetectorCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteLogGroupCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteLogStreamCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteMetricFilterCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeAccountPoliciesCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeDeliveriesCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeDeliveryDestinationsCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeDeliverySourcesCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeDestinationsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeExportTasksCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeLogGroupsCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeLogStreamsCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeMetricFiltersCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeQueriesCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +18 -41
  36. package/dist-cjs/commands/DisassociateKmsKeyCommand.js +18 -41
  37. package/dist-cjs/commands/FilterLogEventsCommand.js +18 -41
  38. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +18 -41
  39. package/dist-cjs/commands/GetDeliveryCommand.js +18 -41
  40. package/dist-cjs/commands/GetDeliveryDestinationCommand.js +18 -41
  41. package/dist-cjs/commands/GetDeliveryDestinationPolicyCommand.js +18 -41
  42. package/dist-cjs/commands/GetDeliverySourceCommand.js +18 -41
  43. package/dist-cjs/commands/GetLogAnomalyDetectorCommand.js +18 -41
  44. package/dist-cjs/commands/GetLogEventsCommand.js +18 -41
  45. package/dist-cjs/commands/GetLogGroupFieldsCommand.js +18 -41
  46. package/dist-cjs/commands/GetLogRecordCommand.js +18 -41
  47. package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
  48. package/dist-cjs/commands/ListAnomaliesCommand.js +18 -41
  49. package/dist-cjs/commands/ListLogAnomalyDetectorsCommand.js +18 -41
  50. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  51. package/dist-cjs/commands/ListTagsLogGroupCommand.js +18 -41
  52. package/dist-cjs/commands/PutAccountPolicyCommand.js +18 -41
  53. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +18 -41
  54. package/dist-cjs/commands/PutDeliveryDestinationCommand.js +18 -41
  55. package/dist-cjs/commands/PutDeliveryDestinationPolicyCommand.js +18 -41
  56. package/dist-cjs/commands/PutDeliverySourceCommand.js +18 -41
  57. package/dist-cjs/commands/PutDestinationCommand.js +18 -41
  58. package/dist-cjs/commands/PutDestinationPolicyCommand.js +18 -41
  59. package/dist-cjs/commands/PutLogEventsCommand.js +18 -41
  60. package/dist-cjs/commands/PutMetricFilterCommand.js +18 -41
  61. package/dist-cjs/commands/PutQueryDefinitionCommand.js +18 -41
  62. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  63. package/dist-cjs/commands/PutRetentionPolicyCommand.js +18 -41
  64. package/dist-cjs/commands/PutSubscriptionFilterCommand.js +18 -41
  65. package/dist-cjs/commands/StartLiveTailCommand.js +22 -44
  66. package/dist-cjs/commands/StartQueryCommand.js +18 -41
  67. package/dist-cjs/commands/StopQueryCommand.js +18 -41
  68. package/dist-cjs/commands/TagLogGroupCommand.js +18 -41
  69. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  70. package/dist-cjs/commands/TestMetricFilterCommand.js +18 -41
  71. package/dist-cjs/commands/UntagLogGroupCommand.js +18 -41
  72. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateAnomalyCommand.js +18 -41
  74. package/dist-cjs/commands/UpdateLogAnomalyDetectorCommand.js +18 -41
  75. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  76. package/dist-es/commands/AssociateKmsKeyCommand.js +18 -41
  77. package/dist-es/commands/CancelExportTaskCommand.js +18 -41
  78. package/dist-es/commands/CreateDeliveryCommand.js +18 -41
  79. package/dist-es/commands/CreateExportTaskCommand.js +18 -41
  80. package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +18 -41
  81. package/dist-es/commands/CreateLogGroupCommand.js +18 -41
  82. package/dist-es/commands/CreateLogStreamCommand.js +18 -41
  83. package/dist-es/commands/DeleteAccountPolicyCommand.js +18 -41
  84. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +18 -41
  85. package/dist-es/commands/DeleteDeliveryCommand.js +18 -41
  86. package/dist-es/commands/DeleteDeliveryDestinationCommand.js +18 -41
  87. package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +18 -41
  88. package/dist-es/commands/DeleteDeliverySourceCommand.js +18 -41
  89. package/dist-es/commands/DeleteDestinationCommand.js +18 -41
  90. package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +18 -41
  91. package/dist-es/commands/DeleteLogGroupCommand.js +18 -41
  92. package/dist-es/commands/DeleteLogStreamCommand.js +18 -41
  93. package/dist-es/commands/DeleteMetricFilterCommand.js +18 -41
  94. package/dist-es/commands/DeleteQueryDefinitionCommand.js +18 -41
  95. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  96. package/dist-es/commands/DeleteRetentionPolicyCommand.js +18 -41
  97. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +18 -41
  98. package/dist-es/commands/DescribeAccountPoliciesCommand.js +18 -41
  99. package/dist-es/commands/DescribeDeliveriesCommand.js +18 -41
  100. package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +18 -41
  101. package/dist-es/commands/DescribeDeliverySourcesCommand.js +18 -41
  102. package/dist-es/commands/DescribeDestinationsCommand.js +18 -41
  103. package/dist-es/commands/DescribeExportTasksCommand.js +18 -41
  104. package/dist-es/commands/DescribeLogGroupsCommand.js +18 -41
  105. package/dist-es/commands/DescribeLogStreamsCommand.js +18 -41
  106. package/dist-es/commands/DescribeMetricFiltersCommand.js +18 -41
  107. package/dist-es/commands/DescribeQueriesCommand.js +18 -41
  108. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +18 -41
  109. package/dist-es/commands/DescribeResourcePoliciesCommand.js +18 -41
  110. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +18 -41
  111. package/dist-es/commands/DisassociateKmsKeyCommand.js +18 -41
  112. package/dist-es/commands/FilterLogEventsCommand.js +18 -41
  113. package/dist-es/commands/GetDataProtectionPolicyCommand.js +18 -41
  114. package/dist-es/commands/GetDeliveryCommand.js +18 -41
  115. package/dist-es/commands/GetDeliveryDestinationCommand.js +18 -41
  116. package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +18 -41
  117. package/dist-es/commands/GetDeliverySourceCommand.js +18 -41
  118. package/dist-es/commands/GetLogAnomalyDetectorCommand.js +18 -41
  119. package/dist-es/commands/GetLogEventsCommand.js +18 -41
  120. package/dist-es/commands/GetLogGroupFieldsCommand.js +18 -41
  121. package/dist-es/commands/GetLogRecordCommand.js +18 -41
  122. package/dist-es/commands/GetQueryResultsCommand.js +18 -41
  123. package/dist-es/commands/ListAnomaliesCommand.js +18 -41
  124. package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +18 -41
  125. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  126. package/dist-es/commands/ListTagsLogGroupCommand.js +18 -41
  127. package/dist-es/commands/PutAccountPolicyCommand.js +18 -41
  128. package/dist-es/commands/PutDataProtectionPolicyCommand.js +18 -41
  129. package/dist-es/commands/PutDeliveryDestinationCommand.js +18 -41
  130. package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +18 -41
  131. package/dist-es/commands/PutDeliverySourceCommand.js +18 -41
  132. package/dist-es/commands/PutDestinationCommand.js +18 -41
  133. package/dist-es/commands/PutDestinationPolicyCommand.js +18 -41
  134. package/dist-es/commands/PutLogEventsCommand.js +18 -41
  135. package/dist-es/commands/PutMetricFilterCommand.js +18 -41
  136. package/dist-es/commands/PutQueryDefinitionCommand.js +18 -41
  137. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  138. package/dist-es/commands/PutRetentionPolicyCommand.js +18 -41
  139. package/dist-es/commands/PutSubscriptionFilterCommand.js +18 -41
  140. package/dist-es/commands/StartLiveTailCommand.js +22 -44
  141. package/dist-es/commands/StartQueryCommand.js +18 -41
  142. package/dist-es/commands/StopQueryCommand.js +18 -41
  143. package/dist-es/commands/TagLogGroupCommand.js +18 -41
  144. package/dist-es/commands/TagResourceCommand.js +18 -41
  145. package/dist-es/commands/TestMetricFilterCommand.js +18 -41
  146. package/dist-es/commands/UntagLogGroupCommand.js +18 -41
  147. package/dist-es/commands/UntagResourceCommand.js +18 -41
  148. package/dist-es/commands/UpdateAnomalyCommand.js +18 -41
  149. package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +18 -41
  150. package/dist-es/endpoint/EndpointParameters.js +6 -0
  151. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +6 -21
  152. package/dist-types/commands/CancelExportTaskCommand.d.ts +6 -21
  153. package/dist-types/commands/CreateDeliveryCommand.d.ts +6 -21
  154. package/dist-types/commands/CreateExportTaskCommand.d.ts +6 -21
  155. package/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +6 -21
  156. package/dist-types/commands/CreateLogGroupCommand.d.ts +6 -21
  157. package/dist-types/commands/CreateLogStreamCommand.d.ts +6 -21
  158. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +6 -21
  159. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +6 -21
  160. package/dist-types/commands/DeleteDeliveryCommand.d.ts +6 -21
  161. package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +6 -21
  162. package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +6 -21
  163. package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +6 -21
  164. package/dist-types/commands/DeleteDestinationCommand.d.ts +6 -21
  165. package/dist-types/commands/DeleteLogAnomalyDetectorCommand.d.ts +6 -21
  166. package/dist-types/commands/DeleteLogGroupCommand.d.ts +6 -21
  167. package/dist-types/commands/DeleteLogStreamCommand.d.ts +6 -21
  168. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +6 -21
  169. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +6 -21
  170. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  171. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +6 -21
  172. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +6 -21
  173. package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +6 -21
  174. package/dist-types/commands/DescribeDeliveriesCommand.d.ts +6 -21
  175. package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +6 -21
  176. package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +6 -21
  177. package/dist-types/commands/DescribeDestinationsCommand.d.ts +6 -21
  178. package/dist-types/commands/DescribeExportTasksCommand.d.ts +6 -21
  179. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +6 -21
  180. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +6 -21
  181. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +6 -21
  182. package/dist-types/commands/DescribeQueriesCommand.d.ts +6 -21
  183. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +6 -21
  184. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +6 -21
  185. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +6 -21
  186. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +6 -21
  187. package/dist-types/commands/FilterLogEventsCommand.d.ts +6 -21
  188. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -21
  189. package/dist-types/commands/GetDeliveryCommand.d.ts +6 -21
  190. package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +6 -21
  191. package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +6 -21
  192. package/dist-types/commands/GetDeliverySourceCommand.d.ts +6 -21
  193. package/dist-types/commands/GetLogAnomalyDetectorCommand.d.ts +6 -21
  194. package/dist-types/commands/GetLogEventsCommand.d.ts +6 -21
  195. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +6 -21
  196. package/dist-types/commands/GetLogRecordCommand.d.ts +6 -21
  197. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
  198. package/dist-types/commands/ListAnomaliesCommand.d.ts +6 -21
  199. package/dist-types/commands/ListLogAnomalyDetectorsCommand.d.ts +6 -21
  200. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  201. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +6 -21
  202. package/dist-types/commands/PutAccountPolicyCommand.d.ts +6 -21
  203. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -21
  204. package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +6 -21
  205. package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +6 -21
  206. package/dist-types/commands/PutDeliverySourceCommand.d.ts +6 -21
  207. package/dist-types/commands/PutDestinationCommand.d.ts +6 -21
  208. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +6 -21
  209. package/dist-types/commands/PutLogEventsCommand.d.ts +6 -21
  210. package/dist-types/commands/PutMetricFilterCommand.d.ts +6 -21
  211. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +6 -21
  212. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  213. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +6 -21
  214. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +6 -21
  215. package/dist-types/commands/StartLiveTailCommand.d.ts +6 -21
  216. package/dist-types/commands/StartQueryCommand.d.ts +6 -21
  217. package/dist-types/commands/StopQueryCommand.d.ts +6 -21
  218. package/dist-types/commands/TagLogGroupCommand.d.ts +6 -21
  219. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  220. package/dist-types/commands/TestMetricFilterCommand.d.ts +6 -21
  221. package/dist-types/commands/UntagLogGroupCommand.d.ts +6 -21
  222. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  223. package/dist-types/commands/UpdateAnomalyCommand.d.ts +6 -21
  224. package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +6 -21
  225. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  226. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/CreateLogAnomalyDetectorCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +14 -23
  233. package/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +12 -24
  239. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/DeleteLogAnomalyDetectorCommand.d.ts +12 -24
  241. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +12 -24
  248. package/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +12 -24
  249. package/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +12 -24
  253. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +12 -24
  257. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +12 -24
  260. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +12 -24
  266. package/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/GetLogAnomalyDetectorCommand.d.ts +12 -24
  269. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +14 -23
  271. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/ListAnomaliesCommand.d.ts +14 -23
  274. package/dist-types/ts3.4/commands/ListLogAnomalyDetectorsCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +14 -23
  277. package/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +12 -24
  280. package/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +14 -23
  283. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +14 -23
  285. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/StartLiveTailCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  295. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +14 -23
  296. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  301. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeDeliverySourcesCommand, se_DescribeDeliverySourcesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeDeliverySourcesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDeliverySourcesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeDeliverySourcesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeDeliverySources",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeDeliverySourcesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDeliverySourcesCommand(output, context);
46
- }
7
+ export class DescribeDeliverySourcesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeDeliverySources", {})
19
+ .n("CloudWatchLogsClient", "DescribeDeliverySourcesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDeliverySourcesCommand)
22
+ .de(de_DescribeDeliverySourcesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeDestinationsCommand, se_DescribeDestinationsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeDestinationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDestinationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeDestinationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeDestinations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeDestinationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeDestinationsCommand(output, context);
46
- }
7
+ export class DescribeDestinationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeDestinations", {})
19
+ .n("CloudWatchLogsClient", "DescribeDestinationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeDestinationsCommand)
22
+ .de(de_DescribeDestinationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeExportTasksCommand, se_DescribeExportTasksCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeExportTasksCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeExportTasksCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeExportTasksCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeExportTasks",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeExportTasksCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeExportTasksCommand(output, context);
46
- }
7
+ export class DescribeExportTasksCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeExportTasks", {})
19
+ .n("CloudWatchLogsClient", "DescribeExportTasksCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeExportTasksCommand)
22
+ .de(de_DescribeExportTasksCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeLogGroupsCommand, se_DescribeLogGroupsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeLogGroupsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLogGroupsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeLogGroupsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeLogGroups",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeLogGroupsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeLogGroupsCommand(output, context);
46
- }
7
+ export class DescribeLogGroupsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeLogGroups", {})
19
+ .n("CloudWatchLogsClient", "DescribeLogGroupsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeLogGroupsCommand)
22
+ .de(de_DescribeLogGroupsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeLogStreamsCommand, se_DescribeLogStreamsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeLogStreamsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLogStreamsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeLogStreamsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeLogStreams",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeLogStreamsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeLogStreamsCommand(output, context);
46
- }
7
+ export class DescribeLogStreamsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeLogStreams", {})
19
+ .n("CloudWatchLogsClient", "DescribeLogStreamsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeLogStreamsCommand)
22
+ .de(de_DescribeLogStreamsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeMetricFiltersCommand, se_DescribeMetricFiltersCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeMetricFiltersCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMetricFiltersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeMetricFiltersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeMetricFilters",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeMetricFiltersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeMetricFiltersCommand(output, context);
46
- }
7
+ export class DescribeMetricFiltersCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeMetricFilters", {})
19
+ .n("CloudWatchLogsClient", "DescribeMetricFiltersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeMetricFiltersCommand)
22
+ .de(de_DescribeMetricFiltersCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeQueriesCommand, se_DescribeQueriesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeQueriesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeQueriesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeQueriesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeQueries",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeQueriesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeQueriesCommand(output, context);
46
- }
7
+ export class DescribeQueriesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeQueries", {})
19
+ .n("CloudWatchLogsClient", "DescribeQueriesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeQueriesCommand)
22
+ .de(de_DescribeQueriesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeQueryDefinitionsCommand, se_DescribeQueryDefinitionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeQueryDefinitionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeQueryDefinitionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeQueryDefinitionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeQueryDefinitions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeQueryDefinitionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeQueryDefinitionsCommand(output, context);
46
- }
7
+ export class DescribeQueryDefinitionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeQueryDefinitions", {})
19
+ .n("CloudWatchLogsClient", "DescribeQueryDefinitionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeQueryDefinitionsCommand)
22
+ .de(de_DescribeQueryDefinitionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeResourcePoliciesCommand, se_DescribeResourcePoliciesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeResourcePoliciesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeResourcePoliciesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "DescribeResourcePoliciesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "DescribeResourcePolicies",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeResourcePoliciesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeResourcePoliciesCommand(output, context);
46
- }
7
+ export class DescribeResourcePoliciesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Logs_20140328", "DescribeResourcePolicies", {})
19
+ .n("CloudWatchLogsClient", "DescribeResourcePoliciesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeResourcePoliciesCommand)
22
+ .de(de_DescribeResourcePoliciesCommand)
23
+ .build() {
47
24
  }