@aws-sdk/client-cloudwatch-logs 3.477.0 → 3.481.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 (349) 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-cjs/pagination/DescribeDeliveriesPaginator.js +2 -24
  77. package/dist-cjs/pagination/DescribeDeliveryDestinationsPaginator.js +2 -24
  78. package/dist-cjs/pagination/DescribeDeliverySourcesPaginator.js +2 -24
  79. package/dist-cjs/pagination/DescribeDestinationsPaginator.js +2 -24
  80. package/dist-cjs/pagination/DescribeLogGroupsPaginator.js +2 -24
  81. package/dist-cjs/pagination/DescribeLogStreamsPaginator.js +2 -24
  82. package/dist-cjs/pagination/DescribeMetricFiltersPaginator.js +2 -24
  83. package/dist-cjs/pagination/DescribeSubscriptionFiltersPaginator.js +2 -24
  84. package/dist-cjs/pagination/FilterLogEventsPaginator.js +2 -24
  85. package/dist-cjs/pagination/GetLogEventsPaginator.js +2 -24
  86. package/dist-cjs/pagination/ListAnomaliesPaginator.js +2 -24
  87. package/dist-cjs/pagination/ListLogAnomalyDetectorsPaginator.js +2 -24
  88. package/dist-es/commands/AssociateKmsKeyCommand.js +18 -41
  89. package/dist-es/commands/CancelExportTaskCommand.js +18 -41
  90. package/dist-es/commands/CreateDeliveryCommand.js +18 -41
  91. package/dist-es/commands/CreateExportTaskCommand.js +18 -41
  92. package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +18 -41
  93. package/dist-es/commands/CreateLogGroupCommand.js +18 -41
  94. package/dist-es/commands/CreateLogStreamCommand.js +18 -41
  95. package/dist-es/commands/DeleteAccountPolicyCommand.js +18 -41
  96. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +18 -41
  97. package/dist-es/commands/DeleteDeliveryCommand.js +18 -41
  98. package/dist-es/commands/DeleteDeliveryDestinationCommand.js +18 -41
  99. package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +18 -41
  100. package/dist-es/commands/DeleteDeliverySourceCommand.js +18 -41
  101. package/dist-es/commands/DeleteDestinationCommand.js +18 -41
  102. package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +18 -41
  103. package/dist-es/commands/DeleteLogGroupCommand.js +18 -41
  104. package/dist-es/commands/DeleteLogStreamCommand.js +18 -41
  105. package/dist-es/commands/DeleteMetricFilterCommand.js +18 -41
  106. package/dist-es/commands/DeleteQueryDefinitionCommand.js +18 -41
  107. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  108. package/dist-es/commands/DeleteRetentionPolicyCommand.js +18 -41
  109. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +18 -41
  110. package/dist-es/commands/DescribeAccountPoliciesCommand.js +18 -41
  111. package/dist-es/commands/DescribeDeliveriesCommand.js +18 -41
  112. package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +18 -41
  113. package/dist-es/commands/DescribeDeliverySourcesCommand.js +18 -41
  114. package/dist-es/commands/DescribeDestinationsCommand.js +18 -41
  115. package/dist-es/commands/DescribeExportTasksCommand.js +18 -41
  116. package/dist-es/commands/DescribeLogGroupsCommand.js +18 -41
  117. package/dist-es/commands/DescribeLogStreamsCommand.js +18 -41
  118. package/dist-es/commands/DescribeMetricFiltersCommand.js +18 -41
  119. package/dist-es/commands/DescribeQueriesCommand.js +18 -41
  120. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +18 -41
  121. package/dist-es/commands/DescribeResourcePoliciesCommand.js +18 -41
  122. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +18 -41
  123. package/dist-es/commands/DisassociateKmsKeyCommand.js +18 -41
  124. package/dist-es/commands/FilterLogEventsCommand.js +18 -41
  125. package/dist-es/commands/GetDataProtectionPolicyCommand.js +18 -41
  126. package/dist-es/commands/GetDeliveryCommand.js +18 -41
  127. package/dist-es/commands/GetDeliveryDestinationCommand.js +18 -41
  128. package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +18 -41
  129. package/dist-es/commands/GetDeliverySourceCommand.js +18 -41
  130. package/dist-es/commands/GetLogAnomalyDetectorCommand.js +18 -41
  131. package/dist-es/commands/GetLogEventsCommand.js +18 -41
  132. package/dist-es/commands/GetLogGroupFieldsCommand.js +18 -41
  133. package/dist-es/commands/GetLogRecordCommand.js +18 -41
  134. package/dist-es/commands/GetQueryResultsCommand.js +18 -41
  135. package/dist-es/commands/ListAnomaliesCommand.js +18 -41
  136. package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +18 -41
  137. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  138. package/dist-es/commands/ListTagsLogGroupCommand.js +18 -41
  139. package/dist-es/commands/PutAccountPolicyCommand.js +18 -41
  140. package/dist-es/commands/PutDataProtectionPolicyCommand.js +18 -41
  141. package/dist-es/commands/PutDeliveryDestinationCommand.js +18 -41
  142. package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +18 -41
  143. package/dist-es/commands/PutDeliverySourceCommand.js +18 -41
  144. package/dist-es/commands/PutDestinationCommand.js +18 -41
  145. package/dist-es/commands/PutDestinationPolicyCommand.js +18 -41
  146. package/dist-es/commands/PutLogEventsCommand.js +18 -41
  147. package/dist-es/commands/PutMetricFilterCommand.js +18 -41
  148. package/dist-es/commands/PutQueryDefinitionCommand.js +18 -41
  149. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  150. package/dist-es/commands/PutRetentionPolicyCommand.js +18 -41
  151. package/dist-es/commands/PutSubscriptionFilterCommand.js +18 -41
  152. package/dist-es/commands/StartLiveTailCommand.js +22 -44
  153. package/dist-es/commands/StartQueryCommand.js +18 -41
  154. package/dist-es/commands/StopQueryCommand.js +18 -41
  155. package/dist-es/commands/TagLogGroupCommand.js +18 -41
  156. package/dist-es/commands/TagResourceCommand.js +18 -41
  157. package/dist-es/commands/TestMetricFilterCommand.js +18 -41
  158. package/dist-es/commands/UntagLogGroupCommand.js +18 -41
  159. package/dist-es/commands/UntagResourceCommand.js +18 -41
  160. package/dist-es/commands/UpdateAnomalyCommand.js +18 -41
  161. package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +18 -41
  162. package/dist-es/endpoint/EndpointParameters.js +6 -0
  163. package/dist-es/pagination/DescribeDeliveriesPaginator.js +2 -23
  164. package/dist-es/pagination/DescribeDeliveryDestinationsPaginator.js +2 -23
  165. package/dist-es/pagination/DescribeDeliverySourcesPaginator.js +2 -23
  166. package/dist-es/pagination/DescribeDestinationsPaginator.js +2 -23
  167. package/dist-es/pagination/DescribeLogGroupsPaginator.js +2 -23
  168. package/dist-es/pagination/DescribeLogStreamsPaginator.js +2 -23
  169. package/dist-es/pagination/DescribeMetricFiltersPaginator.js +2 -23
  170. package/dist-es/pagination/DescribeSubscriptionFiltersPaginator.js +2 -23
  171. package/dist-es/pagination/FilterLogEventsPaginator.js +2 -23
  172. package/dist-es/pagination/GetLogEventsPaginator.js +2 -23
  173. package/dist-es/pagination/ListAnomaliesPaginator.js +2 -23
  174. package/dist-es/pagination/ListLogAnomalyDetectorsPaginator.js +2 -23
  175. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +6 -21
  176. package/dist-types/commands/CancelExportTaskCommand.d.ts +6 -21
  177. package/dist-types/commands/CreateDeliveryCommand.d.ts +6 -21
  178. package/dist-types/commands/CreateExportTaskCommand.d.ts +6 -21
  179. package/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +6 -21
  180. package/dist-types/commands/CreateLogGroupCommand.d.ts +6 -21
  181. package/dist-types/commands/CreateLogStreamCommand.d.ts +6 -21
  182. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +6 -21
  183. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +6 -21
  184. package/dist-types/commands/DeleteDeliveryCommand.d.ts +6 -21
  185. package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +6 -21
  186. package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +6 -21
  187. package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +6 -21
  188. package/dist-types/commands/DeleteDestinationCommand.d.ts +6 -21
  189. package/dist-types/commands/DeleteLogAnomalyDetectorCommand.d.ts +6 -21
  190. package/dist-types/commands/DeleteLogGroupCommand.d.ts +6 -21
  191. package/dist-types/commands/DeleteLogStreamCommand.d.ts +6 -21
  192. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +6 -21
  193. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +6 -21
  194. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  195. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +6 -21
  196. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +6 -21
  197. package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +6 -21
  198. package/dist-types/commands/DescribeDeliveriesCommand.d.ts +6 -21
  199. package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +6 -21
  200. package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +6 -21
  201. package/dist-types/commands/DescribeDestinationsCommand.d.ts +6 -21
  202. package/dist-types/commands/DescribeExportTasksCommand.d.ts +6 -21
  203. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +6 -21
  204. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +6 -21
  205. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +6 -21
  206. package/dist-types/commands/DescribeQueriesCommand.d.ts +6 -21
  207. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +6 -21
  208. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +6 -21
  209. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +6 -21
  210. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +6 -21
  211. package/dist-types/commands/FilterLogEventsCommand.d.ts +6 -21
  212. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -21
  213. package/dist-types/commands/GetDeliveryCommand.d.ts +6 -21
  214. package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +6 -21
  215. package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +6 -21
  216. package/dist-types/commands/GetDeliverySourceCommand.d.ts +6 -21
  217. package/dist-types/commands/GetLogAnomalyDetectorCommand.d.ts +6 -21
  218. package/dist-types/commands/GetLogEventsCommand.d.ts +6 -21
  219. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +6 -21
  220. package/dist-types/commands/GetLogRecordCommand.d.ts +6 -21
  221. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
  222. package/dist-types/commands/ListAnomaliesCommand.d.ts +6 -21
  223. package/dist-types/commands/ListLogAnomalyDetectorsCommand.d.ts +6 -21
  224. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  225. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +6 -21
  226. package/dist-types/commands/PutAccountPolicyCommand.d.ts +6 -21
  227. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -21
  228. package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +6 -21
  229. package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +6 -21
  230. package/dist-types/commands/PutDeliverySourceCommand.d.ts +6 -21
  231. package/dist-types/commands/PutDestinationCommand.d.ts +6 -21
  232. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +6 -21
  233. package/dist-types/commands/PutLogEventsCommand.d.ts +6 -21
  234. package/dist-types/commands/PutMetricFilterCommand.d.ts +6 -21
  235. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +6 -21
  236. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  237. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +6 -21
  238. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +6 -21
  239. package/dist-types/commands/StartLiveTailCommand.d.ts +6 -21
  240. package/dist-types/commands/StartQueryCommand.d.ts +6 -21
  241. package/dist-types/commands/StopQueryCommand.d.ts +6 -21
  242. package/dist-types/commands/TagLogGroupCommand.d.ts +6 -21
  243. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  244. package/dist-types/commands/TestMetricFilterCommand.d.ts +6 -21
  245. package/dist-types/commands/UntagLogGroupCommand.d.ts +6 -21
  246. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  247. package/dist-types/commands/UpdateAnomalyCommand.d.ts +6 -21
  248. package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +6 -21
  249. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  250. package/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +1 -1
  251. package/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +1 -1
  252. package/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +1 -1
  253. package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
  254. package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
  255. package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
  256. package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
  257. package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
  258. package/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
  259. package/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
  260. package/dist-types/pagination/ListAnomaliesPaginator.d.ts +1 -1
  261. package/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +1 -1
  262. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/CreateLogAnomalyDetectorCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +12 -24
  273. package/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/DeleteLogAnomalyDetectorCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +12 -24
  287. package/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +12 -24
  289. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +12 -24
  302. package/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/GetLogAnomalyDetectorCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/ListAnomaliesCommand.d.ts +14 -23
  310. package/dist-types/ts3.4/commands/ListLogAnomalyDetectorsCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +12 -24
  316. package/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +14 -23
  322. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  324. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/StartLiveTailCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
  328. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +14 -23
  329. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +14 -23
  332. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  334. package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  337. package/dist-types/ts3.4/pagination/DescribeDeliveriesPaginator.d.ts +3 -3
  338. package/dist-types/ts3.4/pagination/DescribeDeliveryDestinationsPaginator.d.ts +3 -3
  339. package/dist-types/ts3.4/pagination/DescribeDeliverySourcesPaginator.d.ts +3 -3
  340. package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +3 -3
  341. package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +3 -3
  342. package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +3 -3
  343. package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +3 -3
  344. package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +3 -3
  345. package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +3 -3
  346. package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +3 -3
  347. package/dist-types/ts3.4/pagination/ListAnomaliesPaginator.d.ts +3 -3
  348. package/dist-types/ts3.4/pagination/ListLogAnomalyDetectorsPaginator.d.ts +3 -3
  349. package/package.json +11 -10
@@ -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_GetQueryResultsCommand, se_GetQueryResultsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetQueryResultsCommand 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, GetQueryResultsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "GetQueryResultsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "GetQueryResults",
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_GetQueryResultsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetQueryResultsCommand(output, context);
46
- }
7
+ export class GetQueryResultsCommand 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", "GetQueryResults", {})
19
+ .n("CloudWatchLogsClient", "GetQueryResultsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetQueryResultsCommand)
22
+ .de(de_GetQueryResultsCommand)
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_ListAnomaliesCommand, se_ListAnomaliesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListAnomaliesCommand 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, ListAnomaliesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "ListAnomaliesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "ListAnomalies",
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_ListAnomaliesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAnomaliesCommand(output, context);
46
- }
7
+ export class ListAnomaliesCommand 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", "ListAnomalies", {})
19
+ .n("CloudWatchLogsClient", "ListAnomaliesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAnomaliesCommand)
22
+ .de(de_ListAnomaliesCommand)
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_ListLogAnomalyDetectorsCommand, se_ListLogAnomalyDetectorsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListLogAnomalyDetectorsCommand 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, ListLogAnomalyDetectorsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "ListLogAnomalyDetectorsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "ListLogAnomalyDetectors",
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_ListLogAnomalyDetectorsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListLogAnomalyDetectorsCommand(output, context);
46
- }
7
+ export class ListLogAnomalyDetectorsCommand 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", "ListLogAnomalyDetectors", {})
19
+ .n("CloudWatchLogsClient", "ListLogAnomalyDetectorsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListLogAnomalyDetectorsCommand)
22
+ .de(de_ListLogAnomalyDetectorsCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
19
+ .n("CloudWatchLogsClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
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_ListTagsLogGroupCommand, se_ListTagsLogGroupCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsLogGroupCommand 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, ListTagsLogGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "ListTagsLogGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "ListTagsLogGroup",
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_ListTagsLogGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsLogGroupCommand(output, context);
46
- }
7
+ export class ListTagsLogGroupCommand 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", "ListTagsLogGroup", {})
19
+ .n("CloudWatchLogsClient", "ListTagsLogGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsLogGroupCommand)
22
+ .de(de_ListTagsLogGroupCommand)
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_PutAccountPolicyCommand, se_PutAccountPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutAccountPolicyCommand 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, PutAccountPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "PutAccountPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "PutAccountPolicy",
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_PutAccountPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutAccountPolicyCommand(output, context);
46
- }
7
+ export class PutAccountPolicyCommand 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", "PutAccountPolicy", {})
19
+ .n("CloudWatchLogsClient", "PutAccountPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutAccountPolicyCommand)
22
+ .de(de_PutAccountPolicyCommand)
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_PutDataProtectionPolicyCommand, se_PutDataProtectionPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutDataProtectionPolicyCommand 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, PutDataProtectionPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "PutDataProtectionPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "PutDataProtectionPolicy",
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_PutDataProtectionPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutDataProtectionPolicyCommand(output, context);
46
- }
7
+ export class PutDataProtectionPolicyCommand 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", "PutDataProtectionPolicy", {})
19
+ .n("CloudWatchLogsClient", "PutDataProtectionPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutDataProtectionPolicyCommand)
22
+ .de(de_PutDataProtectionPolicyCommand)
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_PutDeliveryDestinationCommand, se_PutDeliveryDestinationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutDeliveryDestinationCommand 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, PutDeliveryDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "PutDeliveryDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "PutDeliveryDestination",
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_PutDeliveryDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutDeliveryDestinationCommand(output, context);
46
- }
7
+ export class PutDeliveryDestinationCommand 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", "PutDeliveryDestination", {})
19
+ .n("CloudWatchLogsClient", "PutDeliveryDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutDeliveryDestinationCommand)
22
+ .de(de_PutDeliveryDestinationCommand)
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_PutDeliveryDestinationPolicyCommand, se_PutDeliveryDestinationPolicyCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutDeliveryDestinationPolicyCommand 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, PutDeliveryDestinationPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudWatchLogsClient";
26
- const commandName = "PutDeliveryDestinationPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Logs_20140328",
35
- operation: "PutDeliveryDestinationPolicy",
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_PutDeliveryDestinationPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutDeliveryDestinationPolicyCommand(output, context);
46
- }
7
+ export class PutDeliveryDestinationPolicyCommand 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", "PutDeliveryDestinationPolicy", {})
19
+ .n("CloudWatchLogsClient", "PutDeliveryDestinationPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutDeliveryDestinationPolicyCommand)
22
+ .de(de_PutDeliveryDestinationPolicyCommand)
23
+ .build() {
47
24
  }