@aws-sdk/client-cloudwatch-logs 3.34.0 → 3.35.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 (814) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/{dist/cjs → dist-cjs}/CloudWatchLogs.js +0 -0
  3. package/dist-cjs/CloudWatchLogs.js.map +1 -0
  4. package/dist-cjs/CloudWatchLogsClient.js +77 -0
  5. package/dist-cjs/CloudWatchLogsClient.js.map +1 -0
  6. package/dist-cjs/commands/AssociateKmsKeyCommand.js +73 -0
  7. package/dist-cjs/commands/AssociateKmsKeyCommand.js.map +1 -0
  8. package/dist-cjs/commands/CancelExportTaskCommand.js +62 -0
  9. package/dist-cjs/commands/CancelExportTaskCommand.js.map +1 -0
  10. package/dist-cjs/commands/CreateExportTaskCommand.js +74 -0
  11. package/dist-cjs/commands/CreateExportTaskCommand.js.map +1 -0
  12. package/dist-cjs/commands/CreateLogGroupCommand.js +87 -0
  13. package/dist-cjs/commands/CreateLogGroupCommand.js.map +1 -0
  14. package/dist-cjs/commands/CreateLogStreamCommand.js +77 -0
  15. package/dist-cjs/commands/CreateLogStreamCommand.js.map +1 -0
  16. package/dist-cjs/commands/DeleteDestinationCommand.js +63 -0
  17. package/dist-cjs/commands/DeleteDestinationCommand.js.map +1 -0
  18. package/dist-cjs/commands/DeleteLogGroupCommand.js +62 -0
  19. package/dist-cjs/commands/DeleteLogGroupCommand.js.map +1 -0
  20. package/dist-cjs/commands/DeleteLogStreamCommand.js +62 -0
  21. package/dist-cjs/commands/DeleteLogStreamCommand.js.map +1 -0
  22. package/dist-cjs/commands/DeleteMetricFilterCommand.js +61 -0
  23. package/dist-cjs/commands/DeleteMetricFilterCommand.js.map +1 -0
  24. package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +65 -0
  25. package/dist-cjs/commands/DeleteQueryDefinitionCommand.js.map +1 -0
  26. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +62 -0
  27. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +1 -0
  28. package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +62 -0
  29. package/dist-cjs/commands/DeleteRetentionPolicyCommand.js.map +1 -0
  30. package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +61 -0
  31. package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js.map +1 -0
  32. package/dist-cjs/commands/DescribeDestinationsCommand.js +61 -0
  33. package/dist-cjs/commands/DescribeDestinationsCommand.js.map +1 -0
  34. package/dist-cjs/commands/DescribeExportTasksCommand.js +62 -0
  35. package/dist-cjs/commands/DescribeExportTasksCommand.js.map +1 -0
  36. package/dist-cjs/commands/DescribeLogGroupsCommand.js +69 -0
  37. package/dist-cjs/commands/DescribeLogGroupsCommand.js.map +1 -0
  38. package/dist-cjs/commands/DescribeLogStreamsCommand.js +64 -0
  39. package/dist-cjs/commands/DescribeLogStreamsCommand.js.map +1 -0
  40. package/dist-cjs/commands/DescribeMetricFiltersCommand.js +63 -0
  41. package/dist-cjs/commands/DescribeMetricFiltersCommand.js.map +1 -0
  42. package/dist-cjs/commands/DescribeQueriesCommand.js +63 -0
  43. package/dist-cjs/commands/DescribeQueriesCommand.js.map +1 -0
  44. package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +63 -0
  45. package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js.map +1 -0
  46. package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +61 -0
  47. package/dist-cjs/commands/DescribeResourcePoliciesCommand.js.map +1 -0
  48. package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +62 -0
  49. package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js.map +1 -0
  50. package/dist-cjs/commands/DisassociateKmsKeyCommand.js +64 -0
  51. package/dist-cjs/commands/DisassociateKmsKeyCommand.js.map +1 -0
  52. package/dist-cjs/commands/FilterLogEventsCommand.js +69 -0
  53. package/dist-cjs/commands/FilterLogEventsCommand.js.map +1 -0
  54. package/dist-cjs/commands/GetLogEventsCommand.js +66 -0
  55. package/dist-cjs/commands/GetLogEventsCommand.js.map +1 -0
  56. package/dist-cjs/commands/GetLogGroupFieldsCommand.js +68 -0
  57. package/dist-cjs/commands/GetLogGroupFieldsCommand.js.map +1 -0
  58. package/dist-cjs/commands/GetLogRecordCommand.js +64 -0
  59. package/dist-cjs/commands/GetLogRecordCommand.js.map +1 -0
  60. package/dist-cjs/commands/GetQueryResultsCommand.js +71 -0
  61. package/dist-cjs/commands/GetQueryResultsCommand.js.map +1 -0
  62. package/dist-cjs/commands/ListTagsLogGroupCommand.js +61 -0
  63. package/dist-cjs/commands/ListTagsLogGroupCommand.js.map +1 -0
  64. package/dist-cjs/commands/PutDestinationCommand.js +70 -0
  65. package/dist-cjs/commands/PutDestinationCommand.js.map +1 -0
  66. package/dist-cjs/commands/PutDestinationPolicyCommand.js +66 -0
  67. package/dist-cjs/commands/PutDestinationPolicyCommand.js.map +1 -0
  68. package/dist-cjs/commands/PutLogEventsCommand.js +98 -0
  69. package/dist-cjs/commands/PutLogEventsCommand.js.map +1 -0
  70. package/dist-cjs/commands/PutMetricFilterCommand.js +83 -0
  71. package/dist-cjs/commands/PutMetricFilterCommand.js.map +1 -0
  72. package/dist-cjs/commands/PutQueryDefinitionCommand.js +72 -0
  73. package/dist-cjs/commands/PutQueryDefinitionCommand.js.map +1 -0
  74. package/dist-cjs/commands/PutResourcePolicyCommand.js +63 -0
  75. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +1 -0
  76. package/dist-cjs/commands/PutRetentionPolicyCommand.js +63 -0
  77. package/dist-cjs/commands/PutRetentionPolicyCommand.js.map +1 -0
  78. package/dist-cjs/commands/PutSubscriptionFilterCommand.js +89 -0
  79. package/dist-cjs/commands/PutSubscriptionFilterCommand.js.map +1 -0
  80. package/dist-cjs/commands/StartQueryCommand.js +66 -0
  81. package/dist-cjs/commands/StartQueryCommand.js.map +1 -0
  82. package/dist-cjs/commands/StopQueryCommand.js +62 -0
  83. package/dist-cjs/commands/StopQueryCommand.js.map +1 -0
  84. package/dist-cjs/commands/TagLogGroupCommand.js +70 -0
  85. package/dist-cjs/commands/TagLogGroupCommand.js.map +1 -0
  86. package/dist-cjs/commands/TestMetricFilterCommand.js +62 -0
  87. package/dist-cjs/commands/TestMetricFilterCommand.js.map +1 -0
  88. package/dist-cjs/commands/UntagLogGroupCommand.js +67 -0
  89. package/dist-cjs/commands/UntagLogGroupCommand.js.map +1 -0
  90. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  91. package/dist-cjs/endpoints.js.map +1 -0
  92. package/{dist/cjs → dist-cjs}/index.js +0 -0
  93. package/dist-cjs/index.js.map +1 -0
  94. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  95. package/dist-cjs/models/index.js.map +1 -0
  96. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  97. package/dist-cjs/models/models_0.js.map +1 -0
  98. package/{dist/cjs → dist-cjs}/pagination/DescribeDestinationsPaginator.js +0 -0
  99. package/dist-cjs/pagination/DescribeDestinationsPaginator.js.map +1 -0
  100. package/{dist/cjs → dist-cjs}/pagination/DescribeLogGroupsPaginator.js +0 -0
  101. package/dist-cjs/pagination/DescribeLogGroupsPaginator.js.map +1 -0
  102. package/{dist/cjs → dist-cjs}/pagination/DescribeLogStreamsPaginator.js +0 -0
  103. package/dist-cjs/pagination/DescribeLogStreamsPaginator.js.map +1 -0
  104. package/{dist/cjs → dist-cjs}/pagination/DescribeMetricFiltersPaginator.js +0 -0
  105. package/dist-cjs/pagination/DescribeMetricFiltersPaginator.js.map +1 -0
  106. package/{dist/cjs → dist-cjs}/pagination/DescribeSubscriptionFiltersPaginator.js +0 -0
  107. package/dist-cjs/pagination/DescribeSubscriptionFiltersPaginator.js.map +1 -0
  108. package/{dist/cjs → dist-cjs}/pagination/FilterLogEventsPaginator.js +0 -0
  109. package/dist-cjs/pagination/FilterLogEventsPaginator.js.map +1 -0
  110. package/{dist/cjs → dist-cjs}/pagination/GetLogEventsPaginator.js +0 -0
  111. package/dist-cjs/pagination/GetLogEventsPaginator.js.map +1 -0
  112. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  113. package/dist-cjs/pagination/Interfaces.js.map +1 -0
  114. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
  115. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  116. package/dist-cjs/runtimeConfig.browser.js +42 -0
  117. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  118. package/dist-cjs/runtimeConfig.js +47 -0
  119. package/dist-cjs/runtimeConfig.js.map +1 -0
  120. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  121. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  122. package/dist-cjs/runtimeConfig.shared.js +21 -0
  123. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  124. package/{dist/es → dist-es}/CloudWatchLogs.js +0 -0
  125. package/dist-es/CloudWatchLogs.js.map +1 -0
  126. package/dist-es/CloudWatchLogsClient.js +38 -0
  127. package/dist-es/CloudWatchLogsClient.js.map +1 -0
  128. package/dist-es/commands/AssociateKmsKeyCommand.js +40 -0
  129. package/dist-es/commands/AssociateKmsKeyCommand.js.map +1 -0
  130. package/dist-es/commands/CancelExportTaskCommand.js +40 -0
  131. package/dist-es/commands/CancelExportTaskCommand.js.map +1 -0
  132. package/dist-es/commands/CreateExportTaskCommand.js +40 -0
  133. package/dist-es/commands/CreateExportTaskCommand.js.map +1 -0
  134. package/dist-es/commands/CreateLogGroupCommand.js +40 -0
  135. package/dist-es/commands/CreateLogGroupCommand.js.map +1 -0
  136. package/dist-es/commands/CreateLogStreamCommand.js +40 -0
  137. package/dist-es/commands/CreateLogStreamCommand.js.map +1 -0
  138. package/dist-es/commands/DeleteDestinationCommand.js +40 -0
  139. package/dist-es/commands/DeleteDestinationCommand.js.map +1 -0
  140. package/dist-es/commands/DeleteLogGroupCommand.js +40 -0
  141. package/dist-es/commands/DeleteLogGroupCommand.js.map +1 -0
  142. package/dist-es/commands/DeleteLogStreamCommand.js +40 -0
  143. package/dist-es/commands/DeleteLogStreamCommand.js.map +1 -0
  144. package/dist-es/commands/DeleteMetricFilterCommand.js +40 -0
  145. package/dist-es/commands/DeleteMetricFilterCommand.js.map +1 -0
  146. package/dist-es/commands/DeleteQueryDefinitionCommand.js +40 -0
  147. package/dist-es/commands/DeleteQueryDefinitionCommand.js.map +1 -0
  148. package/dist-es/commands/DeleteResourcePolicyCommand.js +40 -0
  149. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +1 -0
  150. package/dist-es/commands/DeleteRetentionPolicyCommand.js +40 -0
  151. package/dist-es/commands/DeleteRetentionPolicyCommand.js.map +1 -0
  152. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +40 -0
  153. package/dist-es/commands/DeleteSubscriptionFilterCommand.js.map +1 -0
  154. package/dist-es/commands/DescribeDestinationsCommand.js +40 -0
  155. package/dist-es/commands/DescribeDestinationsCommand.js.map +1 -0
  156. package/dist-es/commands/DescribeExportTasksCommand.js +40 -0
  157. package/dist-es/commands/DescribeExportTasksCommand.js.map +1 -0
  158. package/dist-es/commands/DescribeLogGroupsCommand.js +40 -0
  159. package/dist-es/commands/DescribeLogGroupsCommand.js.map +1 -0
  160. package/dist-es/commands/DescribeLogStreamsCommand.js +40 -0
  161. package/dist-es/commands/DescribeLogStreamsCommand.js.map +1 -0
  162. package/dist-es/commands/DescribeMetricFiltersCommand.js +40 -0
  163. package/dist-es/commands/DescribeMetricFiltersCommand.js.map +1 -0
  164. package/dist-es/commands/DescribeQueriesCommand.js +40 -0
  165. package/dist-es/commands/DescribeQueriesCommand.js.map +1 -0
  166. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +40 -0
  167. package/dist-es/commands/DescribeQueryDefinitionsCommand.js.map +1 -0
  168. package/dist-es/commands/DescribeResourcePoliciesCommand.js +40 -0
  169. package/dist-es/commands/DescribeResourcePoliciesCommand.js.map +1 -0
  170. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +40 -0
  171. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js.map +1 -0
  172. package/dist-es/commands/DisassociateKmsKeyCommand.js +40 -0
  173. package/dist-es/commands/DisassociateKmsKeyCommand.js.map +1 -0
  174. package/dist-es/commands/FilterLogEventsCommand.js +40 -0
  175. package/dist-es/commands/FilterLogEventsCommand.js.map +1 -0
  176. package/dist-es/commands/GetLogEventsCommand.js +40 -0
  177. package/dist-es/commands/GetLogEventsCommand.js.map +1 -0
  178. package/dist-es/commands/GetLogGroupFieldsCommand.js +40 -0
  179. package/dist-es/commands/GetLogGroupFieldsCommand.js.map +1 -0
  180. package/dist-es/commands/GetLogRecordCommand.js +40 -0
  181. package/dist-es/commands/GetLogRecordCommand.js.map +1 -0
  182. package/dist-es/commands/GetQueryResultsCommand.js +40 -0
  183. package/dist-es/commands/GetQueryResultsCommand.js.map +1 -0
  184. package/dist-es/commands/ListTagsLogGroupCommand.js +40 -0
  185. package/dist-es/commands/ListTagsLogGroupCommand.js.map +1 -0
  186. package/dist-es/commands/PutDestinationCommand.js +40 -0
  187. package/dist-es/commands/PutDestinationCommand.js.map +1 -0
  188. package/dist-es/commands/PutDestinationPolicyCommand.js +40 -0
  189. package/dist-es/commands/PutDestinationPolicyCommand.js.map +1 -0
  190. package/dist-es/commands/PutLogEventsCommand.js +40 -0
  191. package/dist-es/commands/PutLogEventsCommand.js.map +1 -0
  192. package/dist-es/commands/PutMetricFilterCommand.js +40 -0
  193. package/dist-es/commands/PutMetricFilterCommand.js.map +1 -0
  194. package/dist-es/commands/PutQueryDefinitionCommand.js +40 -0
  195. package/dist-es/commands/PutQueryDefinitionCommand.js.map +1 -0
  196. package/dist-es/commands/PutResourcePolicyCommand.js +40 -0
  197. package/dist-es/commands/PutResourcePolicyCommand.js.map +1 -0
  198. package/dist-es/commands/PutRetentionPolicyCommand.js +40 -0
  199. package/dist-es/commands/PutRetentionPolicyCommand.js.map +1 -0
  200. package/dist-es/commands/PutSubscriptionFilterCommand.js +40 -0
  201. package/dist-es/commands/PutSubscriptionFilterCommand.js.map +1 -0
  202. package/dist-es/commands/StartQueryCommand.js +40 -0
  203. package/dist-es/commands/StartQueryCommand.js.map +1 -0
  204. package/dist-es/commands/StopQueryCommand.js +40 -0
  205. package/dist-es/commands/StopQueryCommand.js.map +1 -0
  206. package/dist-es/commands/TagLogGroupCommand.js +40 -0
  207. package/dist-es/commands/TagLogGroupCommand.js.map +1 -0
  208. package/dist-es/commands/TestMetricFilterCommand.js +40 -0
  209. package/dist-es/commands/TestMetricFilterCommand.js.map +1 -0
  210. package/dist-es/commands/UntagLogGroupCommand.js +40 -0
  211. package/dist-es/commands/UntagLogGroupCommand.js.map +1 -0
  212. package/{dist/es → dist-es}/endpoints.js +0 -0
  213. package/dist-es/endpoints.js.map +1 -0
  214. package/{dist/es → dist-es}/index.js +0 -0
  215. package/dist-es/index.js.map +1 -0
  216. package/{dist/es → dist-es}/models/index.js +0 -0
  217. package/dist-es/models/index.js.map +1 -0
  218. package/{dist/es → dist-es}/models/models_0.js +0 -0
  219. package/dist-es/models/models_0.js.map +1 -0
  220. package/{dist/es → dist-es}/pagination/DescribeDestinationsPaginator.js +0 -0
  221. package/dist-es/pagination/DescribeDestinationsPaginator.js.map +1 -0
  222. package/{dist/es → dist-es}/pagination/DescribeLogGroupsPaginator.js +0 -0
  223. package/dist-es/pagination/DescribeLogGroupsPaginator.js.map +1 -0
  224. package/{dist/es → dist-es}/pagination/DescribeLogStreamsPaginator.js +0 -0
  225. package/dist-es/pagination/DescribeLogStreamsPaginator.js.map +1 -0
  226. package/{dist/es → dist-es}/pagination/DescribeMetricFiltersPaginator.js +0 -0
  227. package/dist-es/pagination/DescribeMetricFiltersPaginator.js.map +1 -0
  228. package/{dist/es → dist-es}/pagination/DescribeSubscriptionFiltersPaginator.js +0 -0
  229. package/dist-es/pagination/DescribeSubscriptionFiltersPaginator.js.map +1 -0
  230. package/{dist/es → dist-es}/pagination/FilterLogEventsPaginator.js +0 -0
  231. package/dist-es/pagination/FilterLogEventsPaginator.js.map +1 -0
  232. package/{dist/es → dist-es}/pagination/GetLogEventsPaginator.js +0 -0
  233. package/dist-es/pagination/GetLogEventsPaginator.js.map +1 -0
  234. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  235. package/dist-es/pagination/Interfaces.js.map +1 -0
  236. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
  237. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  238. package/dist-es/runtimeConfig.browser.js +17 -0
  239. package/dist-es/runtimeConfig.browser.js.map +1 -0
  240. package/dist-es/runtimeConfig.js +22 -0
  241. package/dist-es/runtimeConfig.js.map +1 -0
  242. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  243. package/dist-es/runtimeConfig.native.js.map +1 -0
  244. package/dist-es/runtimeConfig.shared.js +14 -0
  245. package/dist-es/runtimeConfig.shared.js.map +1 -0
  246. package/dist-types/CloudWatchLogs.d.ts +605 -0
  247. package/dist-types/CloudWatchLogsClient.d.ts +207 -0
  248. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +47 -0
  249. package/dist-types/commands/CancelExportTaskCommand.d.ts +36 -0
  250. package/dist-types/commands/CreateExportTaskCommand.d.ts +48 -0
  251. package/dist-types/commands/CreateLogGroupCommand.d.ts +61 -0
  252. package/dist-types/commands/CreateLogStreamCommand.d.ts +51 -0
  253. package/dist-types/commands/DeleteDestinationCommand.d.ts +37 -0
  254. package/dist-types/commands/DeleteLogGroupCommand.d.ts +36 -0
  255. package/dist-types/commands/DeleteLogStreamCommand.d.ts +36 -0
  256. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +35 -0
  257. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +39 -0
  258. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +36 -0
  259. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +36 -0
  260. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +35 -0
  261. package/dist-types/commands/DescribeDestinationsCommand.d.ts +35 -0
  262. package/dist-types/commands/DescribeExportTasksCommand.d.ts +36 -0
  263. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +43 -0
  264. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +38 -0
  265. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +37 -0
  266. package/dist-types/commands/DescribeQueriesCommand.d.ts +37 -0
  267. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +37 -0
  268. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +35 -0
  269. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +36 -0
  270. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +38 -0
  271. package/dist-types/commands/FilterLogEventsCommand.d.ts +43 -0
  272. package/dist-types/commands/GetLogEventsCommand.d.ts +40 -0
  273. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +42 -0
  274. package/dist-types/commands/GetLogRecordCommand.d.ts +38 -0
  275. package/dist-types/commands/GetQueryResultsCommand.d.ts +45 -0
  276. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +35 -0
  277. package/dist-types/commands/PutDestinationCommand.d.ts +44 -0
  278. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +40 -0
  279. package/dist-types/commands/PutLogEventsCommand.d.ts +72 -0
  280. package/dist-types/commands/PutMetricFilterCommand.d.ts +57 -0
  281. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +46 -0
  282. package/dist-types/commands/PutResourcePolicyCommand.d.ts +37 -0
  283. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +37 -0
  284. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +63 -0
  285. package/dist-types/commands/StartQueryCommand.d.ts +40 -0
  286. package/dist-types/commands/StopQueryCommand.d.ts +36 -0
  287. package/dist-types/commands/TagLogGroupCommand.d.ts +44 -0
  288. package/dist-types/commands/TestMetricFilterCommand.d.ts +36 -0
  289. package/dist-types/commands/UntagLogGroupCommand.d.ts +41 -0
  290. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  291. package/{dist/types → dist-types}/index.d.ts +0 -0
  292. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  293. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  294. package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +4 -0
  295. package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +4 -0
  296. package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +4 -0
  297. package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +4 -0
  298. package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +4 -0
  299. package/dist-types/pagination/FilterLogEventsPaginator.d.ts +4 -0
  300. package/dist-types/pagination/GetLogEventsPaginator.d.ts +4 -0
  301. package/dist-types/pagination/Interfaces.d.ts +6 -0
  302. package/dist-types/protocols/Aws_json1_1.d.ts +128 -0
  303. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  304. package/dist-types/runtimeConfig.d.ts +37 -0
  305. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  306. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  307. package/dist-types/ts3.4/CloudWatchLogs.d.ts +605 -0
  308. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +207 -0
  309. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +47 -0
  310. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +36 -0
  311. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +48 -0
  312. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +61 -0
  313. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +51 -0
  314. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +37 -0
  315. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +36 -0
  316. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +36 -0
  317. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +35 -0
  318. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +39 -0
  319. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +36 -0
  320. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +36 -0
  321. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +35 -0
  322. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +35 -0
  323. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +36 -0
  324. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +43 -0
  325. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +38 -0
  326. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +37 -0
  327. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +37 -0
  328. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +37 -0
  329. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +35 -0
  330. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +36 -0
  331. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +38 -0
  332. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +43 -0
  333. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +40 -0
  334. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +42 -0
  335. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +38 -0
  336. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +45 -0
  337. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +35 -0
  338. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +44 -0
  339. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +40 -0
  340. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +72 -0
  341. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +57 -0
  342. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +46 -0
  343. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +37 -0
  344. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +37 -0
  345. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +63 -0
  346. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +40 -0
  347. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +36 -0
  348. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +44 -0
  349. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +36 -0
  350. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +41 -0
  351. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  352. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  353. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  354. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  355. package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +4 -0
  356. package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +4 -0
  357. package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +4 -0
  358. package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +4 -0
  359. package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +4 -0
  360. package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +4 -0
  361. package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +4 -0
  362. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  363. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +128 -0
  364. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  365. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  366. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  367. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  368. package/package.json +42 -42
  369. package/src/CloudWatchLogs.ts +1827 -0
  370. package/src/CloudWatchLogsClient.ts +431 -0
  371. package/src/commands/AssociateKmsKeyCommand.ts +107 -0
  372. package/src/commands/CancelExportTaskCommand.ts +96 -0
  373. package/src/commands/CreateExportTaskCommand.ts +108 -0
  374. package/src/commands/CreateLogGroupCommand.ts +121 -0
  375. package/src/commands/CreateLogStreamCommand.ts +111 -0
  376. package/src/commands/DeleteDestinationCommand.ts +97 -0
  377. package/src/commands/DeleteLogGroupCommand.ts +96 -0
  378. package/src/commands/DeleteLogStreamCommand.ts +96 -0
  379. package/src/commands/DeleteMetricFilterCommand.ts +95 -0
  380. package/src/commands/DeleteQueryDefinitionCommand.ts +99 -0
  381. package/src/commands/DeleteResourcePolicyCommand.ts +96 -0
  382. package/src/commands/DeleteRetentionPolicyCommand.ts +96 -0
  383. package/src/commands/DeleteSubscriptionFilterCommand.ts +95 -0
  384. package/src/commands/DescribeDestinationsCommand.ts +95 -0
  385. package/src/commands/DescribeExportTasksCommand.ts +96 -0
  386. package/src/commands/DescribeLogGroupsCommand.ts +103 -0
  387. package/src/commands/DescribeLogStreamsCommand.ts +98 -0
  388. package/src/commands/DescribeMetricFiltersCommand.ts +97 -0
  389. package/src/commands/DescribeQueriesCommand.ts +97 -0
  390. package/src/commands/DescribeQueryDefinitionsCommand.ts +97 -0
  391. package/src/commands/DescribeResourcePoliciesCommand.ts +95 -0
  392. package/src/commands/DescribeSubscriptionFiltersCommand.ts +101 -0
  393. package/src/commands/DisassociateKmsKeyCommand.ts +98 -0
  394. package/src/commands/FilterLogEventsCommand.ts +103 -0
  395. package/src/commands/GetLogEventsCommand.ts +100 -0
  396. package/src/commands/GetLogGroupFieldsCommand.ts +102 -0
  397. package/src/commands/GetLogRecordCommand.ts +98 -0
  398. package/src/commands/GetQueryResultsCommand.ts +105 -0
  399. package/src/commands/ListTagsLogGroupCommand.ts +95 -0
  400. package/src/commands/PutDestinationCommand.ts +104 -0
  401. package/src/commands/PutDestinationPolicyCommand.ts +100 -0
  402. package/src/commands/PutLogEventsCommand.ts +132 -0
  403. package/src/commands/PutMetricFilterCommand.ts +117 -0
  404. package/src/commands/PutQueryDefinitionCommand.ts +106 -0
  405. package/src/commands/PutResourcePolicyCommand.ts +97 -0
  406. package/src/commands/PutRetentionPolicyCommand.ts +97 -0
  407. package/src/commands/PutSubscriptionFilterCommand.ts +123 -0
  408. package/src/commands/StartQueryCommand.ts +100 -0
  409. package/src/commands/StopQueryCommand.ts +93 -0
  410. package/src/commands/TagLogGroupCommand.ts +104 -0
  411. package/src/commands/TestMetricFilterCommand.ts +96 -0
  412. package/src/commands/UntagLogGroupCommand.ts +101 -0
  413. package/src/endpoints.ts +86 -0
  414. package/{index.ts → src/index.ts} +0 -0
  415. package/{models → src/models}/index.ts +0 -0
  416. package/{models → src/models}/models_0.ts +0 -0
  417. package/src/pagination/DescribeDestinationsPaginator.ts +59 -0
  418. package/src/pagination/DescribeLogGroupsPaginator.ts +59 -0
  419. package/src/pagination/DescribeLogStreamsPaginator.ts +59 -0
  420. package/src/pagination/DescribeMetricFiltersPaginator.ts +59 -0
  421. package/src/pagination/DescribeSubscriptionFiltersPaginator.ts +59 -0
  422. package/src/pagination/FilterLogEventsPaginator.ts +59 -0
  423. package/src/pagination/GetLogEventsPaginator.ts +59 -0
  424. package/src/pagination/Interfaces.ts +8 -0
  425. package/src/protocols/Aws_json1_1.ts +5413 -0
  426. package/src/runtimeConfig.browser.ts +41 -0
  427. package/src/runtimeConfig.native.ts +17 -0
  428. package/src/runtimeConfig.shared.ts +17 -0
  429. package/src/runtimeConfig.ts +46 -0
  430. package/tsconfig.es.json +1 -1
  431. package/tsconfig.json +4 -2
  432. package/tsconfig.types.json +3 -2
  433. package/CloudWatchLogs.ts +0 -1826
  434. package/CloudWatchLogsClient.ts +0 -430
  435. package/commands/AssociateKmsKeyCommand.ts +0 -106
  436. package/commands/CancelExportTaskCommand.ts +0 -95
  437. package/commands/CreateExportTaskCommand.ts +0 -107
  438. package/commands/CreateLogGroupCommand.ts +0 -120
  439. package/commands/CreateLogStreamCommand.ts +0 -110
  440. package/commands/DeleteDestinationCommand.ts +0 -96
  441. package/commands/DeleteLogGroupCommand.ts +0 -95
  442. package/commands/DeleteLogStreamCommand.ts +0 -95
  443. package/commands/DeleteMetricFilterCommand.ts +0 -94
  444. package/commands/DeleteQueryDefinitionCommand.ts +0 -98
  445. package/commands/DeleteResourcePolicyCommand.ts +0 -95
  446. package/commands/DeleteRetentionPolicyCommand.ts +0 -95
  447. package/commands/DeleteSubscriptionFilterCommand.ts +0 -94
  448. package/commands/DescribeDestinationsCommand.ts +0 -94
  449. package/commands/DescribeExportTasksCommand.ts +0 -95
  450. package/commands/DescribeLogGroupsCommand.ts +0 -102
  451. package/commands/DescribeLogStreamsCommand.ts +0 -97
  452. package/commands/DescribeMetricFiltersCommand.ts +0 -96
  453. package/commands/DescribeQueriesCommand.ts +0 -96
  454. package/commands/DescribeQueryDefinitionsCommand.ts +0 -96
  455. package/commands/DescribeResourcePoliciesCommand.ts +0 -94
  456. package/commands/DescribeSubscriptionFiltersCommand.ts +0 -100
  457. package/commands/DisassociateKmsKeyCommand.ts +0 -97
  458. package/commands/FilterLogEventsCommand.ts +0 -102
  459. package/commands/GetLogEventsCommand.ts +0 -99
  460. package/commands/GetLogGroupFieldsCommand.ts +0 -101
  461. package/commands/GetLogRecordCommand.ts +0 -97
  462. package/commands/GetQueryResultsCommand.ts +0 -104
  463. package/commands/ListTagsLogGroupCommand.ts +0 -94
  464. package/commands/PutDestinationCommand.ts +0 -103
  465. package/commands/PutDestinationPolicyCommand.ts +0 -99
  466. package/commands/PutLogEventsCommand.ts +0 -131
  467. package/commands/PutMetricFilterCommand.ts +0 -116
  468. package/commands/PutQueryDefinitionCommand.ts +0 -105
  469. package/commands/PutResourcePolicyCommand.ts +0 -96
  470. package/commands/PutRetentionPolicyCommand.ts +0 -96
  471. package/commands/PutSubscriptionFilterCommand.ts +0 -122
  472. package/commands/StartQueryCommand.ts +0 -99
  473. package/commands/StopQueryCommand.ts +0 -92
  474. package/commands/TagLogGroupCommand.ts +0 -103
  475. package/commands/TestMetricFilterCommand.ts +0 -95
  476. package/commands/UntagLogGroupCommand.ts +0 -100
  477. package/dist/cjs/CloudWatchLogs.js.map +0 -1
  478. package/dist/cjs/CloudWatchLogsClient.js +0 -77
  479. package/dist/cjs/CloudWatchLogsClient.js.map +0 -1
  480. package/dist/cjs/commands/AssociateKmsKeyCommand.js +0 -73
  481. package/dist/cjs/commands/AssociateKmsKeyCommand.js.map +0 -1
  482. package/dist/cjs/commands/CancelExportTaskCommand.js +0 -62
  483. package/dist/cjs/commands/CancelExportTaskCommand.js.map +0 -1
  484. package/dist/cjs/commands/CreateExportTaskCommand.js +0 -74
  485. package/dist/cjs/commands/CreateExportTaskCommand.js.map +0 -1
  486. package/dist/cjs/commands/CreateLogGroupCommand.js +0 -87
  487. package/dist/cjs/commands/CreateLogGroupCommand.js.map +0 -1
  488. package/dist/cjs/commands/CreateLogStreamCommand.js +0 -77
  489. package/dist/cjs/commands/CreateLogStreamCommand.js.map +0 -1
  490. package/dist/cjs/commands/DeleteDestinationCommand.js +0 -63
  491. package/dist/cjs/commands/DeleteDestinationCommand.js.map +0 -1
  492. package/dist/cjs/commands/DeleteLogGroupCommand.js +0 -62
  493. package/dist/cjs/commands/DeleteLogGroupCommand.js.map +0 -1
  494. package/dist/cjs/commands/DeleteLogStreamCommand.js +0 -62
  495. package/dist/cjs/commands/DeleteLogStreamCommand.js.map +0 -1
  496. package/dist/cjs/commands/DeleteMetricFilterCommand.js +0 -61
  497. package/dist/cjs/commands/DeleteMetricFilterCommand.js.map +0 -1
  498. package/dist/cjs/commands/DeleteQueryDefinitionCommand.js +0 -65
  499. package/dist/cjs/commands/DeleteQueryDefinitionCommand.js.map +0 -1
  500. package/dist/cjs/commands/DeleteResourcePolicyCommand.js +0 -62
  501. package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  502. package/dist/cjs/commands/DeleteRetentionPolicyCommand.js +0 -62
  503. package/dist/cjs/commands/DeleteRetentionPolicyCommand.js.map +0 -1
  504. package/dist/cjs/commands/DeleteSubscriptionFilterCommand.js +0 -61
  505. package/dist/cjs/commands/DeleteSubscriptionFilterCommand.js.map +0 -1
  506. package/dist/cjs/commands/DescribeDestinationsCommand.js +0 -61
  507. package/dist/cjs/commands/DescribeDestinationsCommand.js.map +0 -1
  508. package/dist/cjs/commands/DescribeExportTasksCommand.js +0 -62
  509. package/dist/cjs/commands/DescribeExportTasksCommand.js.map +0 -1
  510. package/dist/cjs/commands/DescribeLogGroupsCommand.js +0 -69
  511. package/dist/cjs/commands/DescribeLogGroupsCommand.js.map +0 -1
  512. package/dist/cjs/commands/DescribeLogStreamsCommand.js +0 -64
  513. package/dist/cjs/commands/DescribeLogStreamsCommand.js.map +0 -1
  514. package/dist/cjs/commands/DescribeMetricFiltersCommand.js +0 -63
  515. package/dist/cjs/commands/DescribeMetricFiltersCommand.js.map +0 -1
  516. package/dist/cjs/commands/DescribeQueriesCommand.js +0 -63
  517. package/dist/cjs/commands/DescribeQueriesCommand.js.map +0 -1
  518. package/dist/cjs/commands/DescribeQueryDefinitionsCommand.js +0 -63
  519. package/dist/cjs/commands/DescribeQueryDefinitionsCommand.js.map +0 -1
  520. package/dist/cjs/commands/DescribeResourcePoliciesCommand.js +0 -61
  521. package/dist/cjs/commands/DescribeResourcePoliciesCommand.js.map +0 -1
  522. package/dist/cjs/commands/DescribeSubscriptionFiltersCommand.js +0 -62
  523. package/dist/cjs/commands/DescribeSubscriptionFiltersCommand.js.map +0 -1
  524. package/dist/cjs/commands/DisassociateKmsKeyCommand.js +0 -64
  525. package/dist/cjs/commands/DisassociateKmsKeyCommand.js.map +0 -1
  526. package/dist/cjs/commands/FilterLogEventsCommand.js +0 -69
  527. package/dist/cjs/commands/FilterLogEventsCommand.js.map +0 -1
  528. package/dist/cjs/commands/GetLogEventsCommand.js +0 -66
  529. package/dist/cjs/commands/GetLogEventsCommand.js.map +0 -1
  530. package/dist/cjs/commands/GetLogGroupFieldsCommand.js +0 -68
  531. package/dist/cjs/commands/GetLogGroupFieldsCommand.js.map +0 -1
  532. package/dist/cjs/commands/GetLogRecordCommand.js +0 -64
  533. package/dist/cjs/commands/GetLogRecordCommand.js.map +0 -1
  534. package/dist/cjs/commands/GetQueryResultsCommand.js +0 -71
  535. package/dist/cjs/commands/GetQueryResultsCommand.js.map +0 -1
  536. package/dist/cjs/commands/ListTagsLogGroupCommand.js +0 -61
  537. package/dist/cjs/commands/ListTagsLogGroupCommand.js.map +0 -1
  538. package/dist/cjs/commands/PutDestinationCommand.js +0 -70
  539. package/dist/cjs/commands/PutDestinationCommand.js.map +0 -1
  540. package/dist/cjs/commands/PutDestinationPolicyCommand.js +0 -66
  541. package/dist/cjs/commands/PutDestinationPolicyCommand.js.map +0 -1
  542. package/dist/cjs/commands/PutLogEventsCommand.js +0 -98
  543. package/dist/cjs/commands/PutLogEventsCommand.js.map +0 -1
  544. package/dist/cjs/commands/PutMetricFilterCommand.js +0 -83
  545. package/dist/cjs/commands/PutMetricFilterCommand.js.map +0 -1
  546. package/dist/cjs/commands/PutQueryDefinitionCommand.js +0 -72
  547. package/dist/cjs/commands/PutQueryDefinitionCommand.js.map +0 -1
  548. package/dist/cjs/commands/PutResourcePolicyCommand.js +0 -63
  549. package/dist/cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  550. package/dist/cjs/commands/PutRetentionPolicyCommand.js +0 -63
  551. package/dist/cjs/commands/PutRetentionPolicyCommand.js.map +0 -1
  552. package/dist/cjs/commands/PutSubscriptionFilterCommand.js +0 -89
  553. package/dist/cjs/commands/PutSubscriptionFilterCommand.js.map +0 -1
  554. package/dist/cjs/commands/StartQueryCommand.js +0 -66
  555. package/dist/cjs/commands/StartQueryCommand.js.map +0 -1
  556. package/dist/cjs/commands/StopQueryCommand.js +0 -62
  557. package/dist/cjs/commands/StopQueryCommand.js.map +0 -1
  558. package/dist/cjs/commands/TagLogGroupCommand.js +0 -70
  559. package/dist/cjs/commands/TagLogGroupCommand.js.map +0 -1
  560. package/dist/cjs/commands/TestMetricFilterCommand.js +0 -62
  561. package/dist/cjs/commands/TestMetricFilterCommand.js.map +0 -1
  562. package/dist/cjs/commands/UntagLogGroupCommand.js +0 -67
  563. package/dist/cjs/commands/UntagLogGroupCommand.js.map +0 -1
  564. package/dist/cjs/endpoints.js.map +0 -1
  565. package/dist/cjs/index.js.map +0 -1
  566. package/dist/cjs/models/index.js.map +0 -1
  567. package/dist/cjs/models/models_0.js.map +0 -1
  568. package/dist/cjs/package.json +0 -91
  569. package/dist/cjs/pagination/DescribeDestinationsPaginator.js.map +0 -1
  570. package/dist/cjs/pagination/DescribeLogGroupsPaginator.js.map +0 -1
  571. package/dist/cjs/pagination/DescribeLogStreamsPaginator.js.map +0 -1
  572. package/dist/cjs/pagination/DescribeMetricFiltersPaginator.js.map +0 -1
  573. package/dist/cjs/pagination/DescribeSubscriptionFiltersPaginator.js.map +0 -1
  574. package/dist/cjs/pagination/FilterLogEventsPaginator.js.map +0 -1
  575. package/dist/cjs/pagination/GetLogEventsPaginator.js.map +0 -1
  576. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  577. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  578. package/dist/cjs/runtimeConfig.browser.js +0 -41
  579. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  580. package/dist/cjs/runtimeConfig.js +0 -46
  581. package/dist/cjs/runtimeConfig.js.map +0 -1
  582. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  583. package/dist/cjs/runtimeConfig.shared.js +0 -21
  584. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  585. package/dist/es/CloudWatchLogs.js.map +0 -1
  586. package/dist/es/CloudWatchLogsClient.js +0 -38
  587. package/dist/es/CloudWatchLogsClient.js.map +0 -1
  588. package/dist/es/commands/AssociateKmsKeyCommand.js +0 -40
  589. package/dist/es/commands/AssociateKmsKeyCommand.js.map +0 -1
  590. package/dist/es/commands/CancelExportTaskCommand.js +0 -40
  591. package/dist/es/commands/CancelExportTaskCommand.js.map +0 -1
  592. package/dist/es/commands/CreateExportTaskCommand.js +0 -40
  593. package/dist/es/commands/CreateExportTaskCommand.js.map +0 -1
  594. package/dist/es/commands/CreateLogGroupCommand.js +0 -40
  595. package/dist/es/commands/CreateLogGroupCommand.js.map +0 -1
  596. package/dist/es/commands/CreateLogStreamCommand.js +0 -40
  597. package/dist/es/commands/CreateLogStreamCommand.js.map +0 -1
  598. package/dist/es/commands/DeleteDestinationCommand.js +0 -40
  599. package/dist/es/commands/DeleteDestinationCommand.js.map +0 -1
  600. package/dist/es/commands/DeleteLogGroupCommand.js +0 -40
  601. package/dist/es/commands/DeleteLogGroupCommand.js.map +0 -1
  602. package/dist/es/commands/DeleteLogStreamCommand.js +0 -40
  603. package/dist/es/commands/DeleteLogStreamCommand.js.map +0 -1
  604. package/dist/es/commands/DeleteMetricFilterCommand.js +0 -40
  605. package/dist/es/commands/DeleteMetricFilterCommand.js.map +0 -1
  606. package/dist/es/commands/DeleteQueryDefinitionCommand.js +0 -40
  607. package/dist/es/commands/DeleteQueryDefinitionCommand.js.map +0 -1
  608. package/dist/es/commands/DeleteResourcePolicyCommand.js +0 -40
  609. package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  610. package/dist/es/commands/DeleteRetentionPolicyCommand.js +0 -40
  611. package/dist/es/commands/DeleteRetentionPolicyCommand.js.map +0 -1
  612. package/dist/es/commands/DeleteSubscriptionFilterCommand.js +0 -40
  613. package/dist/es/commands/DeleteSubscriptionFilterCommand.js.map +0 -1
  614. package/dist/es/commands/DescribeDestinationsCommand.js +0 -40
  615. package/dist/es/commands/DescribeDestinationsCommand.js.map +0 -1
  616. package/dist/es/commands/DescribeExportTasksCommand.js +0 -40
  617. package/dist/es/commands/DescribeExportTasksCommand.js.map +0 -1
  618. package/dist/es/commands/DescribeLogGroupsCommand.js +0 -40
  619. package/dist/es/commands/DescribeLogGroupsCommand.js.map +0 -1
  620. package/dist/es/commands/DescribeLogStreamsCommand.js +0 -40
  621. package/dist/es/commands/DescribeLogStreamsCommand.js.map +0 -1
  622. package/dist/es/commands/DescribeMetricFiltersCommand.js +0 -40
  623. package/dist/es/commands/DescribeMetricFiltersCommand.js.map +0 -1
  624. package/dist/es/commands/DescribeQueriesCommand.js +0 -40
  625. package/dist/es/commands/DescribeQueriesCommand.js.map +0 -1
  626. package/dist/es/commands/DescribeQueryDefinitionsCommand.js +0 -40
  627. package/dist/es/commands/DescribeQueryDefinitionsCommand.js.map +0 -1
  628. package/dist/es/commands/DescribeResourcePoliciesCommand.js +0 -40
  629. package/dist/es/commands/DescribeResourcePoliciesCommand.js.map +0 -1
  630. package/dist/es/commands/DescribeSubscriptionFiltersCommand.js +0 -40
  631. package/dist/es/commands/DescribeSubscriptionFiltersCommand.js.map +0 -1
  632. package/dist/es/commands/DisassociateKmsKeyCommand.js +0 -40
  633. package/dist/es/commands/DisassociateKmsKeyCommand.js.map +0 -1
  634. package/dist/es/commands/FilterLogEventsCommand.js +0 -40
  635. package/dist/es/commands/FilterLogEventsCommand.js.map +0 -1
  636. package/dist/es/commands/GetLogEventsCommand.js +0 -40
  637. package/dist/es/commands/GetLogEventsCommand.js.map +0 -1
  638. package/dist/es/commands/GetLogGroupFieldsCommand.js +0 -40
  639. package/dist/es/commands/GetLogGroupFieldsCommand.js.map +0 -1
  640. package/dist/es/commands/GetLogRecordCommand.js +0 -40
  641. package/dist/es/commands/GetLogRecordCommand.js.map +0 -1
  642. package/dist/es/commands/GetQueryResultsCommand.js +0 -40
  643. package/dist/es/commands/GetQueryResultsCommand.js.map +0 -1
  644. package/dist/es/commands/ListTagsLogGroupCommand.js +0 -40
  645. package/dist/es/commands/ListTagsLogGroupCommand.js.map +0 -1
  646. package/dist/es/commands/PutDestinationCommand.js +0 -40
  647. package/dist/es/commands/PutDestinationCommand.js.map +0 -1
  648. package/dist/es/commands/PutDestinationPolicyCommand.js +0 -40
  649. package/dist/es/commands/PutDestinationPolicyCommand.js.map +0 -1
  650. package/dist/es/commands/PutLogEventsCommand.js +0 -40
  651. package/dist/es/commands/PutLogEventsCommand.js.map +0 -1
  652. package/dist/es/commands/PutMetricFilterCommand.js +0 -40
  653. package/dist/es/commands/PutMetricFilterCommand.js.map +0 -1
  654. package/dist/es/commands/PutQueryDefinitionCommand.js +0 -40
  655. package/dist/es/commands/PutQueryDefinitionCommand.js.map +0 -1
  656. package/dist/es/commands/PutResourcePolicyCommand.js +0 -40
  657. package/dist/es/commands/PutResourcePolicyCommand.js.map +0 -1
  658. package/dist/es/commands/PutRetentionPolicyCommand.js +0 -40
  659. package/dist/es/commands/PutRetentionPolicyCommand.js.map +0 -1
  660. package/dist/es/commands/PutSubscriptionFilterCommand.js +0 -40
  661. package/dist/es/commands/PutSubscriptionFilterCommand.js.map +0 -1
  662. package/dist/es/commands/StartQueryCommand.js +0 -40
  663. package/dist/es/commands/StartQueryCommand.js.map +0 -1
  664. package/dist/es/commands/StopQueryCommand.js +0 -40
  665. package/dist/es/commands/StopQueryCommand.js.map +0 -1
  666. package/dist/es/commands/TagLogGroupCommand.js +0 -40
  667. package/dist/es/commands/TagLogGroupCommand.js.map +0 -1
  668. package/dist/es/commands/TestMetricFilterCommand.js +0 -40
  669. package/dist/es/commands/TestMetricFilterCommand.js.map +0 -1
  670. package/dist/es/commands/UntagLogGroupCommand.js +0 -40
  671. package/dist/es/commands/UntagLogGroupCommand.js.map +0 -1
  672. package/dist/es/endpoints.js.map +0 -1
  673. package/dist/es/index.js.map +0 -1
  674. package/dist/es/models/index.js.map +0 -1
  675. package/dist/es/models/models_0.js.map +0 -1
  676. package/dist/es/package.json +0 -91
  677. package/dist/es/pagination/DescribeDestinationsPaginator.js.map +0 -1
  678. package/dist/es/pagination/DescribeLogGroupsPaginator.js.map +0 -1
  679. package/dist/es/pagination/DescribeLogStreamsPaginator.js.map +0 -1
  680. package/dist/es/pagination/DescribeMetricFiltersPaginator.js.map +0 -1
  681. package/dist/es/pagination/DescribeSubscriptionFiltersPaginator.js.map +0 -1
  682. package/dist/es/pagination/FilterLogEventsPaginator.js.map +0 -1
  683. package/dist/es/pagination/GetLogEventsPaginator.js.map +0 -1
  684. package/dist/es/pagination/Interfaces.js.map +0 -1
  685. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  686. package/dist/es/runtimeConfig.browser.js +0 -17
  687. package/dist/es/runtimeConfig.browser.js.map +0 -1
  688. package/dist/es/runtimeConfig.js +0 -22
  689. package/dist/es/runtimeConfig.js.map +0 -1
  690. package/dist/es/runtimeConfig.native.js.map +0 -1
  691. package/dist/es/runtimeConfig.shared.js +0 -14
  692. package/dist/es/runtimeConfig.shared.js.map +0 -1
  693. package/dist/types/CloudWatchLogs.d.ts +0 -605
  694. package/dist/types/CloudWatchLogsClient.d.ts +0 -207
  695. package/dist/types/commands/AssociateKmsKeyCommand.d.ts +0 -47
  696. package/dist/types/commands/CancelExportTaskCommand.d.ts +0 -36
  697. package/dist/types/commands/CreateExportTaskCommand.d.ts +0 -48
  698. package/dist/types/commands/CreateLogGroupCommand.d.ts +0 -61
  699. package/dist/types/commands/CreateLogStreamCommand.d.ts +0 -51
  700. package/dist/types/commands/DeleteDestinationCommand.d.ts +0 -37
  701. package/dist/types/commands/DeleteLogGroupCommand.d.ts +0 -36
  702. package/dist/types/commands/DeleteLogStreamCommand.d.ts +0 -36
  703. package/dist/types/commands/DeleteMetricFilterCommand.d.ts +0 -35
  704. package/dist/types/commands/DeleteQueryDefinitionCommand.d.ts +0 -39
  705. package/dist/types/commands/DeleteResourcePolicyCommand.d.ts +0 -36
  706. package/dist/types/commands/DeleteRetentionPolicyCommand.d.ts +0 -36
  707. package/dist/types/commands/DeleteSubscriptionFilterCommand.d.ts +0 -35
  708. package/dist/types/commands/DescribeDestinationsCommand.d.ts +0 -35
  709. package/dist/types/commands/DescribeExportTasksCommand.d.ts +0 -36
  710. package/dist/types/commands/DescribeLogGroupsCommand.d.ts +0 -43
  711. package/dist/types/commands/DescribeLogStreamsCommand.d.ts +0 -38
  712. package/dist/types/commands/DescribeMetricFiltersCommand.d.ts +0 -37
  713. package/dist/types/commands/DescribeQueriesCommand.d.ts +0 -37
  714. package/dist/types/commands/DescribeQueryDefinitionsCommand.d.ts +0 -37
  715. package/dist/types/commands/DescribeResourcePoliciesCommand.d.ts +0 -35
  716. package/dist/types/commands/DescribeSubscriptionFiltersCommand.d.ts +0 -36
  717. package/dist/types/commands/DisassociateKmsKeyCommand.d.ts +0 -38
  718. package/dist/types/commands/FilterLogEventsCommand.d.ts +0 -43
  719. package/dist/types/commands/GetLogEventsCommand.d.ts +0 -40
  720. package/dist/types/commands/GetLogGroupFieldsCommand.d.ts +0 -42
  721. package/dist/types/commands/GetLogRecordCommand.d.ts +0 -38
  722. package/dist/types/commands/GetQueryResultsCommand.d.ts +0 -45
  723. package/dist/types/commands/ListTagsLogGroupCommand.d.ts +0 -35
  724. package/dist/types/commands/PutDestinationCommand.d.ts +0 -44
  725. package/dist/types/commands/PutDestinationPolicyCommand.d.ts +0 -40
  726. package/dist/types/commands/PutLogEventsCommand.d.ts +0 -72
  727. package/dist/types/commands/PutMetricFilterCommand.d.ts +0 -57
  728. package/dist/types/commands/PutQueryDefinitionCommand.d.ts +0 -46
  729. package/dist/types/commands/PutResourcePolicyCommand.d.ts +0 -37
  730. package/dist/types/commands/PutRetentionPolicyCommand.d.ts +0 -37
  731. package/dist/types/commands/PutSubscriptionFilterCommand.d.ts +0 -63
  732. package/dist/types/commands/StartQueryCommand.d.ts +0 -40
  733. package/dist/types/commands/StopQueryCommand.d.ts +0 -36
  734. package/dist/types/commands/TagLogGroupCommand.d.ts +0 -44
  735. package/dist/types/commands/TestMetricFilterCommand.d.ts +0 -36
  736. package/dist/types/commands/UntagLogGroupCommand.d.ts +0 -41
  737. package/dist/types/pagination/DescribeDestinationsPaginator.d.ts +0 -4
  738. package/dist/types/pagination/DescribeLogGroupsPaginator.d.ts +0 -4
  739. package/dist/types/pagination/DescribeLogStreamsPaginator.d.ts +0 -4
  740. package/dist/types/pagination/DescribeMetricFiltersPaginator.d.ts +0 -4
  741. package/dist/types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +0 -4
  742. package/dist/types/pagination/FilterLogEventsPaginator.d.ts +0 -4
  743. package/dist/types/pagination/GetLogEventsPaginator.d.ts +0 -4
  744. package/dist/types/pagination/Interfaces.d.ts +0 -6
  745. package/dist/types/protocols/Aws_json1_1.d.ts +0 -128
  746. package/dist/types/runtimeConfig.d.ts +0 -37
  747. package/dist/types/ts3.4/CloudWatchLogs.d.ts +0 -605
  748. package/dist/types/ts3.4/CloudWatchLogsClient.d.ts +0 -207
  749. package/dist/types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +0 -47
  750. package/dist/types/ts3.4/commands/CancelExportTaskCommand.d.ts +0 -36
  751. package/dist/types/ts3.4/commands/CreateExportTaskCommand.d.ts +0 -48
  752. package/dist/types/ts3.4/commands/CreateLogGroupCommand.d.ts +0 -61
  753. package/dist/types/ts3.4/commands/CreateLogStreamCommand.d.ts +0 -51
  754. package/dist/types/ts3.4/commands/DeleteDestinationCommand.d.ts +0 -37
  755. package/dist/types/ts3.4/commands/DeleteLogGroupCommand.d.ts +0 -36
  756. package/dist/types/ts3.4/commands/DeleteLogStreamCommand.d.ts +0 -36
  757. package/dist/types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +0 -35
  758. package/dist/types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +0 -39
  759. package/dist/types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -36
  760. package/dist/types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +0 -36
  761. package/dist/types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +0 -35
  762. package/dist/types/ts3.4/commands/DescribeDestinationsCommand.d.ts +0 -35
  763. package/dist/types/ts3.4/commands/DescribeExportTasksCommand.d.ts +0 -36
  764. package/dist/types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +0 -43
  765. package/dist/types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +0 -38
  766. package/dist/types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +0 -37
  767. package/dist/types/ts3.4/commands/DescribeQueriesCommand.d.ts +0 -37
  768. package/dist/types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +0 -37
  769. package/dist/types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +0 -35
  770. package/dist/types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +0 -36
  771. package/dist/types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +0 -38
  772. package/dist/types/ts3.4/commands/FilterLogEventsCommand.d.ts +0 -43
  773. package/dist/types/ts3.4/commands/GetLogEventsCommand.d.ts +0 -40
  774. package/dist/types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +0 -42
  775. package/dist/types/ts3.4/commands/GetLogRecordCommand.d.ts +0 -38
  776. package/dist/types/ts3.4/commands/GetQueryResultsCommand.d.ts +0 -45
  777. package/dist/types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +0 -35
  778. package/dist/types/ts3.4/commands/PutDestinationCommand.d.ts +0 -44
  779. package/dist/types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +0 -40
  780. package/dist/types/ts3.4/commands/PutLogEventsCommand.d.ts +0 -72
  781. package/dist/types/ts3.4/commands/PutMetricFilterCommand.d.ts +0 -57
  782. package/dist/types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +0 -46
  783. package/dist/types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -37
  784. package/dist/types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +0 -37
  785. package/dist/types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +0 -63
  786. package/dist/types/ts3.4/commands/StartQueryCommand.d.ts +0 -40
  787. package/dist/types/ts3.4/commands/StopQueryCommand.d.ts +0 -36
  788. package/dist/types/ts3.4/commands/TagLogGroupCommand.d.ts +0 -44
  789. package/dist/types/ts3.4/commands/TestMetricFilterCommand.d.ts +0 -36
  790. package/dist/types/ts3.4/commands/UntagLogGroupCommand.d.ts +0 -41
  791. package/dist/types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +0 -4
  792. package/dist/types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +0 -4
  793. package/dist/types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +0 -4
  794. package/dist/types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +0 -4
  795. package/dist/types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +0 -4
  796. package/dist/types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +0 -4
  797. package/dist/types/ts3.4/pagination/GetLogEventsPaginator.d.ts +0 -4
  798. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  799. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -128
  800. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
  801. package/endpoints.ts +0 -86
  802. package/pagination/DescribeDestinationsPaginator.ts +0 -58
  803. package/pagination/DescribeLogGroupsPaginator.ts +0 -58
  804. package/pagination/DescribeLogStreamsPaginator.ts +0 -58
  805. package/pagination/DescribeMetricFiltersPaginator.ts +0 -58
  806. package/pagination/DescribeSubscriptionFiltersPaginator.ts +0 -58
  807. package/pagination/FilterLogEventsPaginator.ts +0 -58
  808. package/pagination/GetLogEventsPaginator.ts +0 -58
  809. package/pagination/Interfaces.ts +0 -7
  810. package/protocols/Aws_json1_1.ts +0 -5412
  811. package/runtimeConfig.browser.ts +0 -40
  812. package/runtimeConfig.native.ts +0 -16
  813. package/runtimeConfig.shared.ts +0 -16
  814. package/runtimeConfig.ts +0 -45
@@ -1,94 +0,0 @@
1
- import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
2
- import { ListTagsLogGroupRequest, ListTagsLogGroupResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListTagsLogGroupCommand,
5
- serializeAws_json1_1ListTagsLogGroupCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListTagsLogGroupCommandInput extends ListTagsLogGroupRequest {}
21
- export interface ListTagsLogGroupCommandOutput extends ListTagsLogGroupResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists the tags for the specified log group.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CloudWatchLogsClient, ListTagsLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
29
- * // const { CloudWatchLogsClient, ListTagsLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
30
- * const client = new CloudWatchLogsClient(config);
31
- * const command = new ListTagsLogGroupCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListTagsLogGroupCommandInput} for command's `input` shape.
36
- * @see {@link ListTagsLogGroupCommandOutput} for command's `response` shape.
37
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListTagsLogGroupCommand extends $Command<
41
- ListTagsLogGroupCommandInput,
42
- ListTagsLogGroupCommandOutput,
43
- CloudWatchLogsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListTagsLogGroupCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CloudWatchLogsClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CloudWatchLogsClient";
68
- const commandName = "ListTagsLogGroupCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListTagsLogGroupRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListTagsLogGroupResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListTagsLogGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ListTagsLogGroupCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsLogGroupCommandOutput> {
89
- return deserializeAws_json1_1ListTagsLogGroupCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,103 +0,0 @@
1
- import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
2
- import { PutDestinationRequest, PutDestinationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutDestinationCommand,
5
- serializeAws_json1_1PutDestinationCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface PutDestinationCommandInput extends PutDestinationRequest {}
21
- export interface PutDestinationCommandOutput extends PutDestinationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p>
25
- * <p>A destination encapsulates a physical resource (such
26
- * as an Amazon Kinesis stream) and enables you to subscribe to a real-time stream of log events
27
- * for a different account, ingested using <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
28
- * <p>Through an access policy, a destination controls what is written to it.
29
- * By default, <code>PutDestination</code> does not set any access policy with the destination,
30
- * which means a cross-account user cannot call <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutSubscriptionFilter.html">PutSubscriptionFilter</a> against
31
- * this destination. To enable this, the destination owner must call <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html">PutDestinationPolicy</a> after <code>PutDestination</code>.</p>
32
- * <p>To perform a <code>PutDestination</code> operation, you must also have the
33
- * <code>iam:PassRole</code> permission.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { CloudWatchLogsClient, PutDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
38
- * // const { CloudWatchLogsClient, PutDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
39
- * const client = new CloudWatchLogsClient(config);
40
- * const command = new PutDestinationCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link PutDestinationCommandInput} for command's `input` shape.
45
- * @see {@link PutDestinationCommandOutput} for command's `response` shape.
46
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class PutDestinationCommand extends $Command<
50
- PutDestinationCommandInput,
51
- PutDestinationCommandOutput,
52
- CloudWatchLogsClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: PutDestinationCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: CloudWatchLogsClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<PutDestinationCommandInput, PutDestinationCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "CloudWatchLogsClient";
77
- const commandName = "PutDestinationCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: PutDestinationRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: PutDestinationResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: PutDestinationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1PutDestinationCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutDestinationCommandOutput> {
98
- return deserializeAws_json1_1PutDestinationCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,99 +0,0 @@
1
- import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
2
- import { PutDestinationPolicyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutDestinationPolicyCommand,
5
- serializeAws_json1_1PutDestinationPolicyCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface PutDestinationPolicyCommandInput extends PutDestinationPolicyRequest {}
21
- export interface PutDestinationPolicyCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates or updates an access policy associated with an existing
25
- * destination. An access policy is an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html">IAM policy document</a> that is used
26
- * to authorize claims to register a subscription filter against a given destination.</p>
27
- * <p>If multiple Amazon Web Services accounts are sending logs to this destination, each sender account must be
28
- * listed separately in the policy. The policy does not support specifying <code>*</code>
29
- * as the Principal or the use of the <code>aws:PrincipalOrgId</code> global key.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { CloudWatchLogsClient, PutDestinationPolicyCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
34
- * // const { CloudWatchLogsClient, PutDestinationPolicyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
35
- * const client = new CloudWatchLogsClient(config);
36
- * const command = new PutDestinationPolicyCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link PutDestinationPolicyCommandInput} for command's `input` shape.
41
- * @see {@link PutDestinationPolicyCommandOutput} for command's `response` shape.
42
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class PutDestinationPolicyCommand extends $Command<
46
- PutDestinationPolicyCommandInput,
47
- PutDestinationPolicyCommandOutput,
48
- CloudWatchLogsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: PutDestinationPolicyCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: CloudWatchLogsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<PutDestinationPolicyCommandInput, PutDestinationPolicyCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "CloudWatchLogsClient";
73
- const commandName = "PutDestinationPolicyCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: PutDestinationPolicyRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: (output: any) => output,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: PutDestinationPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1PutDestinationPolicyCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutDestinationPolicyCommandOutput> {
94
- return deserializeAws_json1_1PutDestinationPolicyCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,131 +0,0 @@
1
- import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
2
- import { PutLogEventsRequest, PutLogEventsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutLogEventsCommand,
5
- serializeAws_json1_1PutLogEventsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface PutLogEventsCommandInput extends PutLogEventsRequest {}
21
- export interface PutLogEventsCommandOutput extends PutLogEventsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Uploads a batch of log events to the specified log stream.</p>
25
- * <p>You must include the sequence token obtained from the response of the previous call. An
26
- * upload in a newly created log stream does not require a sequence token. You can also get the
27
- * sequence token in the <code>expectedSequenceToken</code> field from
28
- * <code>InvalidSequenceTokenException</code>. If you call <code>PutLogEvents</code> twice
29
- * within a narrow time period using the same value for <code>sequenceToken</code>, both calls
30
- * might be successful or one might be rejected.</p>
31
- * <p>The batch of events must satisfy the following constraints:</p>
32
- * <ul>
33
- * <li>
34
- * <p>The maximum batch size is 1,048,576 bytes. This size is calculated as the sum of
35
- * all event messages in UTF-8, plus 26 bytes for each log event.</p>
36
- * </li>
37
- * <li>
38
- * <p>None of the log events in the batch can be more than 2 hours in the future.</p>
39
- * </li>
40
- * <li>
41
- * <p>None of the log events in the batch can be older than 14 days or older than the retention
42
- * period of the log group.</p>
43
- * </li>
44
- * <li>
45
- * <p>The log events in the batch must be in chronological order by their timestamp. The
46
- * timestamp is the time the event occurred, expressed as the number of milliseconds after
47
- * Jan 1, 1970 00:00:00 UTC. (In Amazon Web Services Tools for PowerShell and the Amazon Web Services SDK for .NET, the
48
- * timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example,
49
- * 2017-09-15T13:45:30.) </p>
50
- * </li>
51
- * <li>
52
- * <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p>
53
- * </li>
54
- * <li>
55
- * <p>The maximum number of log events in a batch is 10,000.</p>
56
- * </li>
57
- * <li>
58
- * <p>There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed.</p>
59
- * </li>
60
- * </ul>
61
- * <p>If a call to <code>PutLogEvents</code> returns "UnrecognizedClientException" the most likely cause is an invalid Amazon Web Services access key ID or secret key. </p>
62
- * @example
63
- * Use a bare-bones client and the command you need to make an API call.
64
- * ```javascript
65
- * import { CloudWatchLogsClient, PutLogEventsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
66
- * // const { CloudWatchLogsClient, PutLogEventsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
67
- * const client = new CloudWatchLogsClient(config);
68
- * const command = new PutLogEventsCommand(input);
69
- * const response = await client.send(command);
70
- * ```
71
- *
72
- * @see {@link PutLogEventsCommandInput} for command's `input` shape.
73
- * @see {@link PutLogEventsCommandOutput} for command's `response` shape.
74
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
75
- *
76
- */
77
- export class PutLogEventsCommand extends $Command<
78
- PutLogEventsCommandInput,
79
- PutLogEventsCommandOutput,
80
- CloudWatchLogsClientResolvedConfig
81
- > {
82
- // Start section: command_properties
83
- // End section: command_properties
84
-
85
- constructor(readonly input: PutLogEventsCommandInput) {
86
- // Start section: command_constructor
87
- super();
88
- // End section: command_constructor
89
- }
90
-
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(
95
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
96
- configuration: CloudWatchLogsClientResolvedConfig,
97
- options?: __HttpHandlerOptions
98
- ): Handler<PutLogEventsCommandInput, PutLogEventsCommandOutput> {
99
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
100
-
101
- const stack = clientStack.concat(this.middlewareStack);
102
-
103
- const { logger } = configuration;
104
- const clientName = "CloudWatchLogsClient";
105
- const commandName = "PutLogEventsCommand";
106
- const handlerExecutionContext: HandlerExecutionContext = {
107
- logger,
108
- clientName,
109
- commandName,
110
- inputFilterSensitiveLog: PutLogEventsRequest.filterSensitiveLog,
111
- outputFilterSensitiveLog: PutLogEventsResponse.filterSensitiveLog,
112
- };
113
- const { requestHandler } = configuration;
114
- return stack.resolve(
115
- (request: FinalizeHandlerArguments<any>) =>
116
- requestHandler.handle(request.request as __HttpRequest, options || {}),
117
- handlerExecutionContext
118
- );
119
- }
120
-
121
- private serialize(input: PutLogEventsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
122
- return serializeAws_json1_1PutLogEventsCommand(input, context);
123
- }
124
-
125
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutLogEventsCommandOutput> {
126
- return deserializeAws_json1_1PutLogEventsCommand(output, context);
127
- }
128
-
129
- // Start section: command_body_extra
130
- // End section: command_body_extra
131
- }
@@ -1,116 +0,0 @@
1
- import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
2
- import { PutMetricFilterRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutMetricFilterCommand,
5
- serializeAws_json1_1PutMetricFilterCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface PutMetricFilterCommandInput extends PutMetricFilterRequest {}
21
- export interface PutMetricFilterCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates or updates a metric filter and associates it with the specified log group.
25
- * Metric filters allow you to configure rules to extract metric data from log events ingested
26
- * through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
27
- * <p>The maximum number of metric filters that can be associated with a log group is
28
- * 100.</p>
29
- * <p>When you create a metric filter, you can also optionally assign a unit and dimensions
30
- * to the metric that is created.</p>
31
- * <important>
32
- * <p>Metrics extracted from log events are charged as custom metrics.
33
- * To prevent unexpected high charges, do not specify high-cardinality fields such as
34
- * <code>IPAddress</code> or <code>requestID</code> as dimensions. Each different value
35
- * found for
36
- * a dimension is treated as a separate metric and accrues charges as a separate custom metric.
37
- * </p>
38
- * <p>To help prevent accidental high charges, Amazon disables a metric filter
39
- * if it generates 1000 different name/value pairs for the dimensions that you
40
- * have specified within a certain amount of time.</p>
41
- * <p>You can also set up a billing alarm to alert you if your charges are higher than
42
- * expected. For more information,
43
- * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html">
44
- * Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges</a>.
45
- * </p>
46
- * </important>
47
- * @example
48
- * Use a bare-bones client and the command you need to make an API call.
49
- * ```javascript
50
- * import { CloudWatchLogsClient, PutMetricFilterCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
51
- * // const { CloudWatchLogsClient, PutMetricFilterCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
52
- * const client = new CloudWatchLogsClient(config);
53
- * const command = new PutMetricFilterCommand(input);
54
- * const response = await client.send(command);
55
- * ```
56
- *
57
- * @see {@link PutMetricFilterCommandInput} for command's `input` shape.
58
- * @see {@link PutMetricFilterCommandOutput} for command's `response` shape.
59
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
60
- *
61
- */
62
- export class PutMetricFilterCommand extends $Command<
63
- PutMetricFilterCommandInput,
64
- PutMetricFilterCommandOutput,
65
- CloudWatchLogsClientResolvedConfig
66
- > {
67
- // Start section: command_properties
68
- // End section: command_properties
69
-
70
- constructor(readonly input: PutMetricFilterCommandInput) {
71
- // Start section: command_constructor
72
- super();
73
- // End section: command_constructor
74
- }
75
-
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(
80
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
81
- configuration: CloudWatchLogsClientResolvedConfig,
82
- options?: __HttpHandlerOptions
83
- ): Handler<PutMetricFilterCommandInput, PutMetricFilterCommandOutput> {
84
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
85
-
86
- const stack = clientStack.concat(this.middlewareStack);
87
-
88
- const { logger } = configuration;
89
- const clientName = "CloudWatchLogsClient";
90
- const commandName = "PutMetricFilterCommand";
91
- const handlerExecutionContext: HandlerExecutionContext = {
92
- logger,
93
- clientName,
94
- commandName,
95
- inputFilterSensitiveLog: PutMetricFilterRequest.filterSensitiveLog,
96
- outputFilterSensitiveLog: (output: any) => output,
97
- };
98
- const { requestHandler } = configuration;
99
- return stack.resolve(
100
- (request: FinalizeHandlerArguments<any>) =>
101
- requestHandler.handle(request.request as __HttpRequest, options || {}),
102
- handlerExecutionContext
103
- );
104
- }
105
-
106
- private serialize(input: PutMetricFilterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
107
- return serializeAws_json1_1PutMetricFilterCommand(input, context);
108
- }
109
-
110
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutMetricFilterCommandOutput> {
111
- return deserializeAws_json1_1PutMetricFilterCommand(output, context);
112
- }
113
-
114
- // Start section: command_body_extra
115
- // End section: command_body_extra
116
- }
@@ -1,105 +0,0 @@
1
- import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
2
- import { PutQueryDefinitionRequest, PutQueryDefinitionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutQueryDefinitionCommand,
5
- serializeAws_json1_1PutQueryDefinitionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface PutQueryDefinitionCommandInput extends PutQueryDefinitionRequest {}
21
- export interface PutQueryDefinitionCommandOutput extends PutQueryDefinitionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates or updates a query definition for CloudWatch Logs Insights. For
25
- * more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html">Analyzing Log Data with CloudWatch Logs Insights</a>.</p>
26
- *
27
- * <p>To update a query definition, specify its
28
- * <code>queryDefinitionId</code> in your request. The values of <code>name</code>, <code>queryString</code>,
29
- * and <code>logGroupNames</code> are changed to the values that you specify in your update
30
- * operation. No current values are retained from the current query definition. For example, if
31
- * you update a current query definition that includes log groups, and you don't specify the
32
- * <code>logGroupNames</code> parameter in your update operation, the query definition changes
33
- * to contain no log groups.</p>
34
- * <p>You must have the <code>logs:PutQueryDefinition</code> permission to be able to perform
35
- * this operation.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { CloudWatchLogsClient, PutQueryDefinitionCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
40
- * // const { CloudWatchLogsClient, PutQueryDefinitionCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
41
- * const client = new CloudWatchLogsClient(config);
42
- * const command = new PutQueryDefinitionCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link PutQueryDefinitionCommandInput} for command's `input` shape.
47
- * @see {@link PutQueryDefinitionCommandOutput} for command's `response` shape.
48
- * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class PutQueryDefinitionCommand extends $Command<
52
- PutQueryDefinitionCommandInput,
53
- PutQueryDefinitionCommandOutput,
54
- CloudWatchLogsClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: PutQueryDefinitionCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: CloudWatchLogsClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "CloudWatchLogsClient";
79
- const commandName = "PutQueryDefinitionCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: PutQueryDefinitionRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: PutQueryDefinitionResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: PutQueryDefinitionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1PutQueryDefinitionCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutQueryDefinitionCommandOutput> {
100
- return deserializeAws_json1_1PutQueryDefinitionCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }