@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
@@ -0,0 +1,1827 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
3
+ import { CloudWatchLogsClient } from "./CloudWatchLogsClient";
4
+ import {
5
+ AssociateKmsKeyCommand,
6
+ AssociateKmsKeyCommandInput,
7
+ AssociateKmsKeyCommandOutput,
8
+ } from "./commands/AssociateKmsKeyCommand";
9
+ import {
10
+ CancelExportTaskCommand,
11
+ CancelExportTaskCommandInput,
12
+ CancelExportTaskCommandOutput,
13
+ } from "./commands/CancelExportTaskCommand";
14
+ import {
15
+ CreateExportTaskCommand,
16
+ CreateExportTaskCommandInput,
17
+ CreateExportTaskCommandOutput,
18
+ } from "./commands/CreateExportTaskCommand";
19
+ import {
20
+ CreateLogGroupCommand,
21
+ CreateLogGroupCommandInput,
22
+ CreateLogGroupCommandOutput,
23
+ } from "./commands/CreateLogGroupCommand";
24
+ import {
25
+ CreateLogStreamCommand,
26
+ CreateLogStreamCommandInput,
27
+ CreateLogStreamCommandOutput,
28
+ } from "./commands/CreateLogStreamCommand";
29
+ import {
30
+ DeleteDestinationCommand,
31
+ DeleteDestinationCommandInput,
32
+ DeleteDestinationCommandOutput,
33
+ } from "./commands/DeleteDestinationCommand";
34
+ import {
35
+ DeleteLogGroupCommand,
36
+ DeleteLogGroupCommandInput,
37
+ DeleteLogGroupCommandOutput,
38
+ } from "./commands/DeleteLogGroupCommand";
39
+ import {
40
+ DeleteLogStreamCommand,
41
+ DeleteLogStreamCommandInput,
42
+ DeleteLogStreamCommandOutput,
43
+ } from "./commands/DeleteLogStreamCommand";
44
+ import {
45
+ DeleteMetricFilterCommand,
46
+ DeleteMetricFilterCommandInput,
47
+ DeleteMetricFilterCommandOutput,
48
+ } from "./commands/DeleteMetricFilterCommand";
49
+ import {
50
+ DeleteQueryDefinitionCommand,
51
+ DeleteQueryDefinitionCommandInput,
52
+ DeleteQueryDefinitionCommandOutput,
53
+ } from "./commands/DeleteQueryDefinitionCommand";
54
+ import {
55
+ DeleteResourcePolicyCommand,
56
+ DeleteResourcePolicyCommandInput,
57
+ DeleteResourcePolicyCommandOutput,
58
+ } from "./commands/DeleteResourcePolicyCommand";
59
+ import {
60
+ DeleteRetentionPolicyCommand,
61
+ DeleteRetentionPolicyCommandInput,
62
+ DeleteRetentionPolicyCommandOutput,
63
+ } from "./commands/DeleteRetentionPolicyCommand";
64
+ import {
65
+ DeleteSubscriptionFilterCommand,
66
+ DeleteSubscriptionFilterCommandInput,
67
+ DeleteSubscriptionFilterCommandOutput,
68
+ } from "./commands/DeleteSubscriptionFilterCommand";
69
+ import {
70
+ DescribeDestinationsCommand,
71
+ DescribeDestinationsCommandInput,
72
+ DescribeDestinationsCommandOutput,
73
+ } from "./commands/DescribeDestinationsCommand";
74
+ import {
75
+ DescribeExportTasksCommand,
76
+ DescribeExportTasksCommandInput,
77
+ DescribeExportTasksCommandOutput,
78
+ } from "./commands/DescribeExportTasksCommand";
79
+ import {
80
+ DescribeLogGroupsCommand,
81
+ DescribeLogGroupsCommandInput,
82
+ DescribeLogGroupsCommandOutput,
83
+ } from "./commands/DescribeLogGroupsCommand";
84
+ import {
85
+ DescribeLogStreamsCommand,
86
+ DescribeLogStreamsCommandInput,
87
+ DescribeLogStreamsCommandOutput,
88
+ } from "./commands/DescribeLogStreamsCommand";
89
+ import {
90
+ DescribeMetricFiltersCommand,
91
+ DescribeMetricFiltersCommandInput,
92
+ DescribeMetricFiltersCommandOutput,
93
+ } from "./commands/DescribeMetricFiltersCommand";
94
+ import {
95
+ DescribeQueriesCommand,
96
+ DescribeQueriesCommandInput,
97
+ DescribeQueriesCommandOutput,
98
+ } from "./commands/DescribeQueriesCommand";
99
+ import {
100
+ DescribeQueryDefinitionsCommand,
101
+ DescribeQueryDefinitionsCommandInput,
102
+ DescribeQueryDefinitionsCommandOutput,
103
+ } from "./commands/DescribeQueryDefinitionsCommand";
104
+ import {
105
+ DescribeResourcePoliciesCommand,
106
+ DescribeResourcePoliciesCommandInput,
107
+ DescribeResourcePoliciesCommandOutput,
108
+ } from "./commands/DescribeResourcePoliciesCommand";
109
+ import {
110
+ DescribeSubscriptionFiltersCommand,
111
+ DescribeSubscriptionFiltersCommandInput,
112
+ DescribeSubscriptionFiltersCommandOutput,
113
+ } from "./commands/DescribeSubscriptionFiltersCommand";
114
+ import {
115
+ DisassociateKmsKeyCommand,
116
+ DisassociateKmsKeyCommandInput,
117
+ DisassociateKmsKeyCommandOutput,
118
+ } from "./commands/DisassociateKmsKeyCommand";
119
+ import {
120
+ FilterLogEventsCommand,
121
+ FilterLogEventsCommandInput,
122
+ FilterLogEventsCommandOutput,
123
+ } from "./commands/FilterLogEventsCommand";
124
+ import {
125
+ GetLogEventsCommand,
126
+ GetLogEventsCommandInput,
127
+ GetLogEventsCommandOutput,
128
+ } from "./commands/GetLogEventsCommand";
129
+ import {
130
+ GetLogGroupFieldsCommand,
131
+ GetLogGroupFieldsCommandInput,
132
+ GetLogGroupFieldsCommandOutput,
133
+ } from "./commands/GetLogGroupFieldsCommand";
134
+ import {
135
+ GetLogRecordCommand,
136
+ GetLogRecordCommandInput,
137
+ GetLogRecordCommandOutput,
138
+ } from "./commands/GetLogRecordCommand";
139
+ import {
140
+ GetQueryResultsCommand,
141
+ GetQueryResultsCommandInput,
142
+ GetQueryResultsCommandOutput,
143
+ } from "./commands/GetQueryResultsCommand";
144
+ import {
145
+ ListTagsLogGroupCommand,
146
+ ListTagsLogGroupCommandInput,
147
+ ListTagsLogGroupCommandOutput,
148
+ } from "./commands/ListTagsLogGroupCommand";
149
+ import {
150
+ PutDestinationCommand,
151
+ PutDestinationCommandInput,
152
+ PutDestinationCommandOutput,
153
+ } from "./commands/PutDestinationCommand";
154
+ import {
155
+ PutDestinationPolicyCommand,
156
+ PutDestinationPolicyCommandInput,
157
+ PutDestinationPolicyCommandOutput,
158
+ } from "./commands/PutDestinationPolicyCommand";
159
+ import {
160
+ PutLogEventsCommand,
161
+ PutLogEventsCommandInput,
162
+ PutLogEventsCommandOutput,
163
+ } from "./commands/PutLogEventsCommand";
164
+ import {
165
+ PutMetricFilterCommand,
166
+ PutMetricFilterCommandInput,
167
+ PutMetricFilterCommandOutput,
168
+ } from "./commands/PutMetricFilterCommand";
169
+ import {
170
+ PutQueryDefinitionCommand,
171
+ PutQueryDefinitionCommandInput,
172
+ PutQueryDefinitionCommandOutput,
173
+ } from "./commands/PutQueryDefinitionCommand";
174
+ import {
175
+ PutResourcePolicyCommand,
176
+ PutResourcePolicyCommandInput,
177
+ PutResourcePolicyCommandOutput,
178
+ } from "./commands/PutResourcePolicyCommand";
179
+ import {
180
+ PutRetentionPolicyCommand,
181
+ PutRetentionPolicyCommandInput,
182
+ PutRetentionPolicyCommandOutput,
183
+ } from "./commands/PutRetentionPolicyCommand";
184
+ import {
185
+ PutSubscriptionFilterCommand,
186
+ PutSubscriptionFilterCommandInput,
187
+ PutSubscriptionFilterCommandOutput,
188
+ } from "./commands/PutSubscriptionFilterCommand";
189
+ import { StartQueryCommand, StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
190
+ import { StopQueryCommand, StopQueryCommandInput, StopQueryCommandOutput } from "./commands/StopQueryCommand";
191
+ import { TagLogGroupCommand, TagLogGroupCommandInput, TagLogGroupCommandOutput } from "./commands/TagLogGroupCommand";
192
+ import {
193
+ TestMetricFilterCommand,
194
+ TestMetricFilterCommandInput,
195
+ TestMetricFilterCommandOutput,
196
+ } from "./commands/TestMetricFilterCommand";
197
+ import {
198
+ UntagLogGroupCommand,
199
+ UntagLogGroupCommandInput,
200
+ UntagLogGroupCommandOutput,
201
+ } from "./commands/UntagLogGroupCommand";
202
+
203
+ /**
204
+ * <p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from
205
+ * EC2 instances, CloudTrail, and other sources. You can then retrieve the associated
206
+ * log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the
207
+ * Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.</p>
208
+ * <p>You can use CloudWatch Logs to:</p>
209
+ * <ul>
210
+ * <li>
211
+ * <p>
212
+ * <b>Monitor logs from EC2 instances in real-time</b>: You
213
+ * can use CloudWatch Logs to monitor applications and systems using log data. For example,
214
+ * CloudWatch Logs can track the number of errors that occur in your application logs and
215
+ * send you a notification whenever the rate of errors exceeds a threshold that you specify.
216
+ * CloudWatch Logs uses your log data for monitoring so no code changes are required. For
217
+ * example, you can monitor application logs for specific literal terms (such as
218
+ * "NullReferenceException") or count the number of occurrences of a literal term at a
219
+ * particular position in log data (such as "404" status codes in an Apache access log). When
220
+ * the term you are searching for is found, CloudWatch Logs reports the data to a CloudWatch
221
+ * metric that you specify.</p>
222
+ * </li>
223
+ * <li>
224
+ * <p>
225
+ * <b>Monitor CloudTrail logged events</b>: You can
226
+ * create alarms in CloudWatch and receive notifications of particular API activity as
227
+ * captured by CloudTrail. You can use the notification to perform troubleshooting.</p>
228
+ * </li>
229
+ * <li>
230
+ * <p>
231
+ * <b>Archive log data</b>: You can use CloudWatch Logs to
232
+ * store your log data in highly durable storage. You can change the log retention setting so
233
+ * that any log events older than this setting are automatically deleted. The CloudWatch Logs
234
+ * agent makes it easy to quickly send both rotated and non-rotated log data off of a host
235
+ * and into the log service. You can then access the raw log data when you need it.</p>
236
+ * </li>
237
+ * </ul>
238
+ */
239
+ export class CloudWatchLogs extends CloudWatchLogsClient {
240
+ /**
241
+ * <p>Associates the specified Key Management Service customer master key (CMK) with the specified log group.</p>
242
+ * <p>Associating an KMS CMK with a log group overrides any existing associations between the log group and a CMK.
243
+ * After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK.
244
+ * This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs.
245
+ * This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
246
+ * <important>
247
+ * <p>CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK
248
+ * with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
249
+ * Keys</a>.</p>
250
+ * </important>
251
+ * <p>It can take up to 5 minutes for this operation to take effect.</p>
252
+ * <p>If you attempt to associate a CMK with a log group but the CMK does not exist or the
253
+ * CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>
254
+ */
255
+ public associateKmsKey(
256
+ args: AssociateKmsKeyCommandInput,
257
+ options?: __HttpHandlerOptions
258
+ ): Promise<AssociateKmsKeyCommandOutput>;
259
+ public associateKmsKey(
260
+ args: AssociateKmsKeyCommandInput,
261
+ cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void
262
+ ): void;
263
+ public associateKmsKey(
264
+ args: AssociateKmsKeyCommandInput,
265
+ options: __HttpHandlerOptions,
266
+ cb: (err: any, data?: AssociateKmsKeyCommandOutput) => void
267
+ ): void;
268
+ public associateKmsKey(
269
+ args: AssociateKmsKeyCommandInput,
270
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateKmsKeyCommandOutput) => void),
271
+ cb?: (err: any, data?: AssociateKmsKeyCommandOutput) => void
272
+ ): Promise<AssociateKmsKeyCommandOutput> | void {
273
+ const command = new AssociateKmsKeyCommand(args);
274
+ if (typeof optionsOrCb === "function") {
275
+ this.send(command, optionsOrCb);
276
+ } else if (typeof cb === "function") {
277
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
278
+ this.send(command, optionsOrCb || {}, cb);
279
+ } else {
280
+ return this.send(command, optionsOrCb);
281
+ }
282
+ }
283
+
284
+ /**
285
+ * <p>Cancels the specified export task.</p>
286
+ * <p>The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.</p>
287
+ */
288
+ public cancelExportTask(
289
+ args: CancelExportTaskCommandInput,
290
+ options?: __HttpHandlerOptions
291
+ ): Promise<CancelExportTaskCommandOutput>;
292
+ public cancelExportTask(
293
+ args: CancelExportTaskCommandInput,
294
+ cb: (err: any, data?: CancelExportTaskCommandOutput) => void
295
+ ): void;
296
+ public cancelExportTask(
297
+ args: CancelExportTaskCommandInput,
298
+ options: __HttpHandlerOptions,
299
+ cb: (err: any, data?: CancelExportTaskCommandOutput) => void
300
+ ): void;
301
+ public cancelExportTask(
302
+ args: CancelExportTaskCommandInput,
303
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelExportTaskCommandOutput) => void),
304
+ cb?: (err: any, data?: CancelExportTaskCommandOutput) => void
305
+ ): Promise<CancelExportTaskCommandOutput> | void {
306
+ const command = new CancelExportTaskCommand(args);
307
+ if (typeof optionsOrCb === "function") {
308
+ this.send(command, optionsOrCb);
309
+ } else if (typeof cb === "function") {
310
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
311
+ this.send(command, optionsOrCb || {}, cb);
312
+ } else {
313
+ return this.send(command, optionsOrCb);
314
+ }
315
+ }
316
+
317
+ /**
318
+ * <p>Creates an export task, which allows you to efficiently export data from a
319
+ * log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
320
+ * operation, you must use credentials that have permission to write to the S3 bucket
321
+ * that you specify as the destination.</p>
322
+ * <p>This is an asynchronous call. If all the required information is provided, this
323
+ * operation initiates an export task and responds with the ID of the task. After the task has started,
324
+ * you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a> to get the status of the export task. Each account can
325
+ * only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time.
326
+ * To cancel an export task, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html">CancelExportTask</a>.</p>
327
+ * <p>You can export logs from multiple log groups or multiple time ranges to the same S3
328
+ * bucket. To separate out log data for each export task, you can specify a prefix to be used as
329
+ * the Amazon S3 key prefix for all exported objects.</p>
330
+ * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets
331
+ * encrypted with SSE-KMS is not supported. </p>
332
+ */
333
+ public createExportTask(
334
+ args: CreateExportTaskCommandInput,
335
+ options?: __HttpHandlerOptions
336
+ ): Promise<CreateExportTaskCommandOutput>;
337
+ public createExportTask(
338
+ args: CreateExportTaskCommandInput,
339
+ cb: (err: any, data?: CreateExportTaskCommandOutput) => void
340
+ ): void;
341
+ public createExportTask(
342
+ args: CreateExportTaskCommandInput,
343
+ options: __HttpHandlerOptions,
344
+ cb: (err: any, data?: CreateExportTaskCommandOutput) => void
345
+ ): void;
346
+ public createExportTask(
347
+ args: CreateExportTaskCommandInput,
348
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateExportTaskCommandOutput) => void),
349
+ cb?: (err: any, data?: CreateExportTaskCommandOutput) => void
350
+ ): Promise<CreateExportTaskCommandOutput> | void {
351
+ const command = new CreateExportTaskCommand(args);
352
+ if (typeof optionsOrCb === "function") {
353
+ this.send(command, optionsOrCb);
354
+ } else if (typeof cb === "function") {
355
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
356
+ this.send(command, optionsOrCb || {}, cb);
357
+ } else {
358
+ return this.send(command, optionsOrCb);
359
+ }
360
+ }
361
+
362
+ /**
363
+ * <p>Creates a log group with the specified name. You can create up to 20,000 log groups per account.</p>
364
+ * <p>You must use the following guidelines when naming a log group:</p>
365
+ * <ul>
366
+ * <li>
367
+ * <p>Log group names must be unique within a region for an Amazon Web Services account.</p>
368
+ * </li>
369
+ * <li>
370
+ * <p>Log group names can be between 1 and 512 characters long.</p>
371
+ * </li>
372
+ * <li>
373
+ * <p>Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen),
374
+ * '/' (forward slash), '.' (period), and '#' (number sign)</p>
375
+ * </li>
376
+ * </ul>
377
+ * <p>When you create a log group, by default the log events in the log group never expire. To set
378
+ * a retention policy so that events expire and are deleted after a specified time, use
379
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html">PutRetentionPolicy</a>.</p>
380
+ * <p>If you associate a Key Management Service customer master key (CMK) with the log group, ingested data is encrypted using the CMK.
381
+ * This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs.
382
+ * This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
383
+ * <p>If you attempt to associate a CMK with the log group but the CMK does not exist or the
384
+ * CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>
385
+ * <important>
386
+ * <p>CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with
387
+ * your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
388
+ * Keys</a>.</p>
389
+ * </important>
390
+ */
391
+ public createLogGroup(
392
+ args: CreateLogGroupCommandInput,
393
+ options?: __HttpHandlerOptions
394
+ ): Promise<CreateLogGroupCommandOutput>;
395
+ public createLogGroup(
396
+ args: CreateLogGroupCommandInput,
397
+ cb: (err: any, data?: CreateLogGroupCommandOutput) => void
398
+ ): void;
399
+ public createLogGroup(
400
+ args: CreateLogGroupCommandInput,
401
+ options: __HttpHandlerOptions,
402
+ cb: (err: any, data?: CreateLogGroupCommandOutput) => void
403
+ ): void;
404
+ public createLogGroup(
405
+ args: CreateLogGroupCommandInput,
406
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLogGroupCommandOutput) => void),
407
+ cb?: (err: any, data?: CreateLogGroupCommandOutput) => void
408
+ ): Promise<CreateLogGroupCommandOutput> | void {
409
+ const command = new CreateLogGroupCommand(args);
410
+ if (typeof optionsOrCb === "function") {
411
+ this.send(command, optionsOrCb);
412
+ } else if (typeof cb === "function") {
413
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
414
+ this.send(command, optionsOrCb || {}, cb);
415
+ } else {
416
+ return this.send(command, optionsOrCb);
417
+ }
418
+ }
419
+
420
+ /**
421
+ * <p>Creates a log stream for the specified log group. A log stream is a sequence of log events
422
+ * that originate from a single source, such as an application instance or a resource that is
423
+ * being monitored.</p>
424
+ * <p>There is no limit on the number of log streams that you can create for a log group. There is a limit
425
+ * of 50 TPS on <code>CreateLogStream</code> operations, after which transactions are throttled.</p>
426
+ * <p>You must use the following guidelines when naming a log stream:</p>
427
+ * <ul>
428
+ * <li>
429
+ * <p>Log stream names must be unique within the log group.</p>
430
+ * </li>
431
+ * <li>
432
+ * <p>Log stream names can be between 1 and 512 characters long.</p>
433
+ * </li>
434
+ * <li>
435
+ * <p>The ':' (colon) and '*' (asterisk) characters are not allowed.</p>
436
+ * </li>
437
+ * </ul>
438
+ */
439
+ public createLogStream(
440
+ args: CreateLogStreamCommandInput,
441
+ options?: __HttpHandlerOptions
442
+ ): Promise<CreateLogStreamCommandOutput>;
443
+ public createLogStream(
444
+ args: CreateLogStreamCommandInput,
445
+ cb: (err: any, data?: CreateLogStreamCommandOutput) => void
446
+ ): void;
447
+ public createLogStream(
448
+ args: CreateLogStreamCommandInput,
449
+ options: __HttpHandlerOptions,
450
+ cb: (err: any, data?: CreateLogStreamCommandOutput) => void
451
+ ): void;
452
+ public createLogStream(
453
+ args: CreateLogStreamCommandInput,
454
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLogStreamCommandOutput) => void),
455
+ cb?: (err: any, data?: CreateLogStreamCommandOutput) => void
456
+ ): Promise<CreateLogStreamCommandOutput> | void {
457
+ const command = new CreateLogStreamCommand(args);
458
+ if (typeof optionsOrCb === "function") {
459
+ this.send(command, optionsOrCb);
460
+ } else if (typeof cb === "function") {
461
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
462
+ this.send(command, optionsOrCb || {}, cb);
463
+ } else {
464
+ return this.send(command, optionsOrCb);
465
+ }
466
+ }
467
+
468
+ /**
469
+ * <p>Deletes the specified destination, and eventually disables all the
470
+ * subscription filters that publish to it. This operation does not delete the
471
+ * physical resource encapsulated by the destination.</p>
472
+ */
473
+ public deleteDestination(
474
+ args: DeleteDestinationCommandInput,
475
+ options?: __HttpHandlerOptions
476
+ ): Promise<DeleteDestinationCommandOutput>;
477
+ public deleteDestination(
478
+ args: DeleteDestinationCommandInput,
479
+ cb: (err: any, data?: DeleteDestinationCommandOutput) => void
480
+ ): void;
481
+ public deleteDestination(
482
+ args: DeleteDestinationCommandInput,
483
+ options: __HttpHandlerOptions,
484
+ cb: (err: any, data?: DeleteDestinationCommandOutput) => void
485
+ ): void;
486
+ public deleteDestination(
487
+ args: DeleteDestinationCommandInput,
488
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDestinationCommandOutput) => void),
489
+ cb?: (err: any, data?: DeleteDestinationCommandOutput) => void
490
+ ): Promise<DeleteDestinationCommandOutput> | void {
491
+ const command = new DeleteDestinationCommand(args);
492
+ if (typeof optionsOrCb === "function") {
493
+ this.send(command, optionsOrCb);
494
+ } else if (typeof cb === "function") {
495
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
496
+ this.send(command, optionsOrCb || {}, cb);
497
+ } else {
498
+ return this.send(command, optionsOrCb);
499
+ }
500
+ }
501
+
502
+ /**
503
+ * <p>Deletes the specified log group and permanently deletes all the archived
504
+ * log events associated with the log group.</p>
505
+ */
506
+ public deleteLogGroup(
507
+ args: DeleteLogGroupCommandInput,
508
+ options?: __HttpHandlerOptions
509
+ ): Promise<DeleteLogGroupCommandOutput>;
510
+ public deleteLogGroup(
511
+ args: DeleteLogGroupCommandInput,
512
+ cb: (err: any, data?: DeleteLogGroupCommandOutput) => void
513
+ ): void;
514
+ public deleteLogGroup(
515
+ args: DeleteLogGroupCommandInput,
516
+ options: __HttpHandlerOptions,
517
+ cb: (err: any, data?: DeleteLogGroupCommandOutput) => void
518
+ ): void;
519
+ public deleteLogGroup(
520
+ args: DeleteLogGroupCommandInput,
521
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLogGroupCommandOutput) => void),
522
+ cb?: (err: any, data?: DeleteLogGroupCommandOutput) => void
523
+ ): Promise<DeleteLogGroupCommandOutput> | void {
524
+ const command = new DeleteLogGroupCommand(args);
525
+ if (typeof optionsOrCb === "function") {
526
+ this.send(command, optionsOrCb);
527
+ } else if (typeof cb === "function") {
528
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
529
+ this.send(command, optionsOrCb || {}, cb);
530
+ } else {
531
+ return this.send(command, optionsOrCb);
532
+ }
533
+ }
534
+
535
+ /**
536
+ * <p>Deletes the specified log stream and permanently deletes all the archived log events associated
537
+ * with the log stream.</p>
538
+ */
539
+ public deleteLogStream(
540
+ args: DeleteLogStreamCommandInput,
541
+ options?: __HttpHandlerOptions
542
+ ): Promise<DeleteLogStreamCommandOutput>;
543
+ public deleteLogStream(
544
+ args: DeleteLogStreamCommandInput,
545
+ cb: (err: any, data?: DeleteLogStreamCommandOutput) => void
546
+ ): void;
547
+ public deleteLogStream(
548
+ args: DeleteLogStreamCommandInput,
549
+ options: __HttpHandlerOptions,
550
+ cb: (err: any, data?: DeleteLogStreamCommandOutput) => void
551
+ ): void;
552
+ public deleteLogStream(
553
+ args: DeleteLogStreamCommandInput,
554
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLogStreamCommandOutput) => void),
555
+ cb?: (err: any, data?: DeleteLogStreamCommandOutput) => void
556
+ ): Promise<DeleteLogStreamCommandOutput> | void {
557
+ const command = new DeleteLogStreamCommand(args);
558
+ if (typeof optionsOrCb === "function") {
559
+ this.send(command, optionsOrCb);
560
+ } else if (typeof cb === "function") {
561
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
562
+ this.send(command, optionsOrCb || {}, cb);
563
+ } else {
564
+ return this.send(command, optionsOrCb);
565
+ }
566
+ }
567
+
568
+ /**
569
+ * <p>Deletes the specified metric filter.</p>
570
+ */
571
+ public deleteMetricFilter(
572
+ args: DeleteMetricFilterCommandInput,
573
+ options?: __HttpHandlerOptions
574
+ ): Promise<DeleteMetricFilterCommandOutput>;
575
+ public deleteMetricFilter(
576
+ args: DeleteMetricFilterCommandInput,
577
+ cb: (err: any, data?: DeleteMetricFilterCommandOutput) => void
578
+ ): void;
579
+ public deleteMetricFilter(
580
+ args: DeleteMetricFilterCommandInput,
581
+ options: __HttpHandlerOptions,
582
+ cb: (err: any, data?: DeleteMetricFilterCommandOutput) => void
583
+ ): void;
584
+ public deleteMetricFilter(
585
+ args: DeleteMetricFilterCommandInput,
586
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMetricFilterCommandOutput) => void),
587
+ cb?: (err: any, data?: DeleteMetricFilterCommandOutput) => void
588
+ ): Promise<DeleteMetricFilterCommandOutput> | void {
589
+ const command = new DeleteMetricFilterCommand(args);
590
+ if (typeof optionsOrCb === "function") {
591
+ this.send(command, optionsOrCb);
592
+ } else if (typeof cb === "function") {
593
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
594
+ this.send(command, optionsOrCb || {}, cb);
595
+ } else {
596
+ return this.send(command, optionsOrCb);
597
+ }
598
+ }
599
+
600
+ /**
601
+ * <p>Deletes a saved CloudWatch Logs Insights query definition.
602
+ * A query definition contains details about a saved CloudWatch Logs Insights query.</p>
603
+ * <p>Each <code>DeleteQueryDefinition</code> operation can delete one query definition.</p>
604
+ * <p>You must have the <code>logs:DeleteQueryDefinition</code> permission to be able to perform
605
+ * this operation.</p>
606
+ */
607
+ public deleteQueryDefinition(
608
+ args: DeleteQueryDefinitionCommandInput,
609
+ options?: __HttpHandlerOptions
610
+ ): Promise<DeleteQueryDefinitionCommandOutput>;
611
+ public deleteQueryDefinition(
612
+ args: DeleteQueryDefinitionCommandInput,
613
+ cb: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void
614
+ ): void;
615
+ public deleteQueryDefinition(
616
+ args: DeleteQueryDefinitionCommandInput,
617
+ options: __HttpHandlerOptions,
618
+ cb: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void
619
+ ): void;
620
+ public deleteQueryDefinition(
621
+ args: DeleteQueryDefinitionCommandInput,
622
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteQueryDefinitionCommandOutput) => void),
623
+ cb?: (err: any, data?: DeleteQueryDefinitionCommandOutput) => void
624
+ ): Promise<DeleteQueryDefinitionCommandOutput> | void {
625
+ const command = new DeleteQueryDefinitionCommand(args);
626
+ if (typeof optionsOrCb === "function") {
627
+ this.send(command, optionsOrCb);
628
+ } else if (typeof cb === "function") {
629
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
630
+ this.send(command, optionsOrCb || {}, cb);
631
+ } else {
632
+ return this.send(command, optionsOrCb);
633
+ }
634
+ }
635
+
636
+ /**
637
+ * <p>Deletes a resource policy from this account. This revokes
638
+ * the access of the identities in that policy to put log events to this account.</p>
639
+ */
640
+ public deleteResourcePolicy(
641
+ args: DeleteResourcePolicyCommandInput,
642
+ options?: __HttpHandlerOptions
643
+ ): Promise<DeleteResourcePolicyCommandOutput>;
644
+ public deleteResourcePolicy(
645
+ args: DeleteResourcePolicyCommandInput,
646
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
647
+ ): void;
648
+ public deleteResourcePolicy(
649
+ args: DeleteResourcePolicyCommandInput,
650
+ options: __HttpHandlerOptions,
651
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
652
+ ): void;
653
+ public deleteResourcePolicy(
654
+ args: DeleteResourcePolicyCommandInput,
655
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourcePolicyCommandOutput) => void),
656
+ cb?: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
657
+ ): Promise<DeleteResourcePolicyCommandOutput> | void {
658
+ const command = new DeleteResourcePolicyCommand(args);
659
+ if (typeof optionsOrCb === "function") {
660
+ this.send(command, optionsOrCb);
661
+ } else if (typeof cb === "function") {
662
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
+ this.send(command, optionsOrCb || {}, cb);
664
+ } else {
665
+ return this.send(command, optionsOrCb);
666
+ }
667
+ }
668
+
669
+ /**
670
+ * <p>Deletes the specified retention policy.</p>
671
+ * <p>Log events do not expire if they belong to log groups without a retention policy.</p>
672
+ */
673
+ public deleteRetentionPolicy(
674
+ args: DeleteRetentionPolicyCommandInput,
675
+ options?: __HttpHandlerOptions
676
+ ): Promise<DeleteRetentionPolicyCommandOutput>;
677
+ public deleteRetentionPolicy(
678
+ args: DeleteRetentionPolicyCommandInput,
679
+ cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void
680
+ ): void;
681
+ public deleteRetentionPolicy(
682
+ args: DeleteRetentionPolicyCommandInput,
683
+ options: __HttpHandlerOptions,
684
+ cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void
685
+ ): void;
686
+ public deleteRetentionPolicy(
687
+ args: DeleteRetentionPolicyCommandInput,
688
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRetentionPolicyCommandOutput) => void),
689
+ cb?: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void
690
+ ): Promise<DeleteRetentionPolicyCommandOutput> | void {
691
+ const command = new DeleteRetentionPolicyCommand(args);
692
+ if (typeof optionsOrCb === "function") {
693
+ this.send(command, optionsOrCb);
694
+ } else if (typeof cb === "function") {
695
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
696
+ this.send(command, optionsOrCb || {}, cb);
697
+ } else {
698
+ return this.send(command, optionsOrCb);
699
+ }
700
+ }
701
+
702
+ /**
703
+ * <p>Deletes the specified subscription filter.</p>
704
+ */
705
+ public deleteSubscriptionFilter(
706
+ args: DeleteSubscriptionFilterCommandInput,
707
+ options?: __HttpHandlerOptions
708
+ ): Promise<DeleteSubscriptionFilterCommandOutput>;
709
+ public deleteSubscriptionFilter(
710
+ args: DeleteSubscriptionFilterCommandInput,
711
+ cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void
712
+ ): void;
713
+ public deleteSubscriptionFilter(
714
+ args: DeleteSubscriptionFilterCommandInput,
715
+ options: __HttpHandlerOptions,
716
+ cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void
717
+ ): void;
718
+ public deleteSubscriptionFilter(
719
+ args: DeleteSubscriptionFilterCommandInput,
720
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSubscriptionFilterCommandOutput) => void),
721
+ cb?: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void
722
+ ): Promise<DeleteSubscriptionFilterCommandOutput> | void {
723
+ const command = new DeleteSubscriptionFilterCommand(args);
724
+ if (typeof optionsOrCb === "function") {
725
+ this.send(command, optionsOrCb);
726
+ } else if (typeof cb === "function") {
727
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
728
+ this.send(command, optionsOrCb || {}, cb);
729
+ } else {
730
+ return this.send(command, optionsOrCb);
731
+ }
732
+ }
733
+
734
+ /**
735
+ * <p>Lists all your destinations. The results are ASCII-sorted by destination name.</p>
736
+ */
737
+ public describeDestinations(
738
+ args: DescribeDestinationsCommandInput,
739
+ options?: __HttpHandlerOptions
740
+ ): Promise<DescribeDestinationsCommandOutput>;
741
+ public describeDestinations(
742
+ args: DescribeDestinationsCommandInput,
743
+ cb: (err: any, data?: DescribeDestinationsCommandOutput) => void
744
+ ): void;
745
+ public describeDestinations(
746
+ args: DescribeDestinationsCommandInput,
747
+ options: __HttpHandlerOptions,
748
+ cb: (err: any, data?: DescribeDestinationsCommandOutput) => void
749
+ ): void;
750
+ public describeDestinations(
751
+ args: DescribeDestinationsCommandInput,
752
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDestinationsCommandOutput) => void),
753
+ cb?: (err: any, data?: DescribeDestinationsCommandOutput) => void
754
+ ): Promise<DescribeDestinationsCommandOutput> | void {
755
+ const command = new DescribeDestinationsCommand(args);
756
+ if (typeof optionsOrCb === "function") {
757
+ this.send(command, optionsOrCb);
758
+ } else if (typeof cb === "function") {
759
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
760
+ this.send(command, optionsOrCb || {}, cb);
761
+ } else {
762
+ return this.send(command, optionsOrCb);
763
+ }
764
+ }
765
+
766
+ /**
767
+ * <p>Lists the specified export tasks. You can list all your export tasks or filter
768
+ * the results based on task ID or task status.</p>
769
+ */
770
+ public describeExportTasks(
771
+ args: DescribeExportTasksCommandInput,
772
+ options?: __HttpHandlerOptions
773
+ ): Promise<DescribeExportTasksCommandOutput>;
774
+ public describeExportTasks(
775
+ args: DescribeExportTasksCommandInput,
776
+ cb: (err: any, data?: DescribeExportTasksCommandOutput) => void
777
+ ): void;
778
+ public describeExportTasks(
779
+ args: DescribeExportTasksCommandInput,
780
+ options: __HttpHandlerOptions,
781
+ cb: (err: any, data?: DescribeExportTasksCommandOutput) => void
782
+ ): void;
783
+ public describeExportTasks(
784
+ args: DescribeExportTasksCommandInput,
785
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeExportTasksCommandOutput) => void),
786
+ cb?: (err: any, data?: DescribeExportTasksCommandOutput) => void
787
+ ): Promise<DescribeExportTasksCommandOutput> | void {
788
+ const command = new DescribeExportTasksCommand(args);
789
+ if (typeof optionsOrCb === "function") {
790
+ this.send(command, optionsOrCb);
791
+ } else if (typeof cb === "function") {
792
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
793
+ this.send(command, optionsOrCb || {}, cb);
794
+ } else {
795
+ return this.send(command, optionsOrCb);
796
+ }
797
+ }
798
+
799
+ /**
800
+ * <p>Lists the specified log groups. You can list all your log groups or filter the results by prefix.
801
+ * The results are ASCII-sorted by log group name.</p>
802
+ * <p>CloudWatch Logs doesn’t support IAM policies that control access to the <code>DescribeLogGroups</code> action by using the
803
+ * <code>aws:ResourceTag/<i>key-name</i>
804
+ * </code> condition key. Other CloudWatch Logs actions
805
+ * do support the use of the <code>aws:ResourceTag/<i>key-name</i>
806
+ * </code> condition key to control access.
807
+ * For more information about using tags to control access, see
808
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
809
+ */
810
+ public describeLogGroups(
811
+ args: DescribeLogGroupsCommandInput,
812
+ options?: __HttpHandlerOptions
813
+ ): Promise<DescribeLogGroupsCommandOutput>;
814
+ public describeLogGroups(
815
+ args: DescribeLogGroupsCommandInput,
816
+ cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void
817
+ ): void;
818
+ public describeLogGroups(
819
+ args: DescribeLogGroupsCommandInput,
820
+ options: __HttpHandlerOptions,
821
+ cb: (err: any, data?: DescribeLogGroupsCommandOutput) => void
822
+ ): void;
823
+ public describeLogGroups(
824
+ args: DescribeLogGroupsCommandInput,
825
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLogGroupsCommandOutput) => void),
826
+ cb?: (err: any, data?: DescribeLogGroupsCommandOutput) => void
827
+ ): Promise<DescribeLogGroupsCommandOutput> | void {
828
+ const command = new DescribeLogGroupsCommand(args);
829
+ if (typeof optionsOrCb === "function") {
830
+ this.send(command, optionsOrCb);
831
+ } else if (typeof cb === "function") {
832
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
833
+ this.send(command, optionsOrCb || {}, cb);
834
+ } else {
835
+ return this.send(command, optionsOrCb);
836
+ }
837
+ }
838
+
839
+ /**
840
+ * <p>Lists the log streams for the specified log group.
841
+ * You can list all the log streams or filter the results by prefix.
842
+ * You can also control how the results are ordered.</p>
843
+ * <p>This operation has a limit of five transactions per second, after which transactions are throttled.</p>
844
+ */
845
+ public describeLogStreams(
846
+ args: DescribeLogStreamsCommandInput,
847
+ options?: __HttpHandlerOptions
848
+ ): Promise<DescribeLogStreamsCommandOutput>;
849
+ public describeLogStreams(
850
+ args: DescribeLogStreamsCommandInput,
851
+ cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void
852
+ ): void;
853
+ public describeLogStreams(
854
+ args: DescribeLogStreamsCommandInput,
855
+ options: __HttpHandlerOptions,
856
+ cb: (err: any, data?: DescribeLogStreamsCommandOutput) => void
857
+ ): void;
858
+ public describeLogStreams(
859
+ args: DescribeLogStreamsCommandInput,
860
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLogStreamsCommandOutput) => void),
861
+ cb?: (err: any, data?: DescribeLogStreamsCommandOutput) => void
862
+ ): Promise<DescribeLogStreamsCommandOutput> | void {
863
+ const command = new DescribeLogStreamsCommand(args);
864
+ if (typeof optionsOrCb === "function") {
865
+ this.send(command, optionsOrCb);
866
+ } else if (typeof cb === "function") {
867
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
868
+ this.send(command, optionsOrCb || {}, cb);
869
+ } else {
870
+ return this.send(command, optionsOrCb);
871
+ }
872
+ }
873
+
874
+ /**
875
+ * <p>Lists the specified metric filters. You can list all of the metric filters or filter
876
+ * the results by log name, prefix, metric name, or metric namespace. The results are
877
+ * ASCII-sorted by filter name.</p>
878
+ */
879
+ public describeMetricFilters(
880
+ args: DescribeMetricFiltersCommandInput,
881
+ options?: __HttpHandlerOptions
882
+ ): Promise<DescribeMetricFiltersCommandOutput>;
883
+ public describeMetricFilters(
884
+ args: DescribeMetricFiltersCommandInput,
885
+ cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void
886
+ ): void;
887
+ public describeMetricFilters(
888
+ args: DescribeMetricFiltersCommandInput,
889
+ options: __HttpHandlerOptions,
890
+ cb: (err: any, data?: DescribeMetricFiltersCommandOutput) => void
891
+ ): void;
892
+ public describeMetricFilters(
893
+ args: DescribeMetricFiltersCommandInput,
894
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMetricFiltersCommandOutput) => void),
895
+ cb?: (err: any, data?: DescribeMetricFiltersCommandOutput) => void
896
+ ): Promise<DescribeMetricFiltersCommandOutput> | void {
897
+ const command = new DescribeMetricFiltersCommand(args);
898
+ if (typeof optionsOrCb === "function") {
899
+ this.send(command, optionsOrCb);
900
+ } else if (typeof cb === "function") {
901
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
902
+ this.send(command, optionsOrCb || {}, cb);
903
+ } else {
904
+ return this.send(command, optionsOrCb);
905
+ }
906
+ }
907
+
908
+ /**
909
+ * <p>Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have
910
+ * been executed recently in this account. You can request all queries or limit it to queries of
911
+ * a specific log group or queries with a certain status.</p>
912
+ */
913
+ public describeQueries(
914
+ args: DescribeQueriesCommandInput,
915
+ options?: __HttpHandlerOptions
916
+ ): Promise<DescribeQueriesCommandOutput>;
917
+ public describeQueries(
918
+ args: DescribeQueriesCommandInput,
919
+ cb: (err: any, data?: DescribeQueriesCommandOutput) => void
920
+ ): void;
921
+ public describeQueries(
922
+ args: DescribeQueriesCommandInput,
923
+ options: __HttpHandlerOptions,
924
+ cb: (err: any, data?: DescribeQueriesCommandOutput) => void
925
+ ): void;
926
+ public describeQueries(
927
+ args: DescribeQueriesCommandInput,
928
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeQueriesCommandOutput) => void),
929
+ cb?: (err: any, data?: DescribeQueriesCommandOutput) => void
930
+ ): Promise<DescribeQueriesCommandOutput> | void {
931
+ const command = new DescribeQueriesCommand(args);
932
+ if (typeof optionsOrCb === "function") {
933
+ this.send(command, optionsOrCb);
934
+ } else if (typeof cb === "function") {
935
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
936
+ this.send(command, optionsOrCb || {}, cb);
937
+ } else {
938
+ return this.send(command, optionsOrCb);
939
+ }
940
+ }
941
+
942
+ /**
943
+ * <p>This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.</p>
944
+ * <p>You can use the <code>queryDefinitionNamePrefix</code> parameter to limit the results to only the
945
+ * query definitions that have names that start with a certain string.</p>
946
+ */
947
+ public describeQueryDefinitions(
948
+ args: DescribeQueryDefinitionsCommandInput,
949
+ options?: __HttpHandlerOptions
950
+ ): Promise<DescribeQueryDefinitionsCommandOutput>;
951
+ public describeQueryDefinitions(
952
+ args: DescribeQueryDefinitionsCommandInput,
953
+ cb: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void
954
+ ): void;
955
+ public describeQueryDefinitions(
956
+ args: DescribeQueryDefinitionsCommandInput,
957
+ options: __HttpHandlerOptions,
958
+ cb: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void
959
+ ): void;
960
+ public describeQueryDefinitions(
961
+ args: DescribeQueryDefinitionsCommandInput,
962
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeQueryDefinitionsCommandOutput) => void),
963
+ cb?: (err: any, data?: DescribeQueryDefinitionsCommandOutput) => void
964
+ ): Promise<DescribeQueryDefinitionsCommandOutput> | void {
965
+ const command = new DescribeQueryDefinitionsCommand(args);
966
+ if (typeof optionsOrCb === "function") {
967
+ this.send(command, optionsOrCb);
968
+ } else if (typeof cb === "function") {
969
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
970
+ this.send(command, optionsOrCb || {}, cb);
971
+ } else {
972
+ return this.send(command, optionsOrCb);
973
+ }
974
+ }
975
+
976
+ /**
977
+ * <p>Lists the resource policies in this account.</p>
978
+ */
979
+ public describeResourcePolicies(
980
+ args: DescribeResourcePoliciesCommandInput,
981
+ options?: __HttpHandlerOptions
982
+ ): Promise<DescribeResourcePoliciesCommandOutput>;
983
+ public describeResourcePolicies(
984
+ args: DescribeResourcePoliciesCommandInput,
985
+ cb: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void
986
+ ): void;
987
+ public describeResourcePolicies(
988
+ args: DescribeResourcePoliciesCommandInput,
989
+ options: __HttpHandlerOptions,
990
+ cb: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void
991
+ ): void;
992
+ public describeResourcePolicies(
993
+ args: DescribeResourcePoliciesCommandInput,
994
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResourcePoliciesCommandOutput) => void),
995
+ cb?: (err: any, data?: DescribeResourcePoliciesCommandOutput) => void
996
+ ): Promise<DescribeResourcePoliciesCommandOutput> | void {
997
+ const command = new DescribeResourcePoliciesCommand(args);
998
+ if (typeof optionsOrCb === "function") {
999
+ this.send(command, optionsOrCb);
1000
+ } else if (typeof cb === "function") {
1001
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1002
+ this.send(command, optionsOrCb || {}, cb);
1003
+ } else {
1004
+ return this.send(command, optionsOrCb);
1005
+ }
1006
+ }
1007
+
1008
+ /**
1009
+ * <p>Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix.
1010
+ * The results are ASCII-sorted by filter name.</p>
1011
+ */
1012
+ public describeSubscriptionFilters(
1013
+ args: DescribeSubscriptionFiltersCommandInput,
1014
+ options?: __HttpHandlerOptions
1015
+ ): Promise<DescribeSubscriptionFiltersCommandOutput>;
1016
+ public describeSubscriptionFilters(
1017
+ args: DescribeSubscriptionFiltersCommandInput,
1018
+ cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void
1019
+ ): void;
1020
+ public describeSubscriptionFilters(
1021
+ args: DescribeSubscriptionFiltersCommandInput,
1022
+ options: __HttpHandlerOptions,
1023
+ cb: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void
1024
+ ): void;
1025
+ public describeSubscriptionFilters(
1026
+ args: DescribeSubscriptionFiltersCommandInput,
1027
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void),
1028
+ cb?: (err: any, data?: DescribeSubscriptionFiltersCommandOutput) => void
1029
+ ): Promise<DescribeSubscriptionFiltersCommandOutput> | void {
1030
+ const command = new DescribeSubscriptionFiltersCommand(args);
1031
+ if (typeof optionsOrCb === "function") {
1032
+ this.send(command, optionsOrCb);
1033
+ } else if (typeof cb === "function") {
1034
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1035
+ this.send(command, optionsOrCb || {}, cb);
1036
+ } else {
1037
+ return this.send(command, optionsOrCb);
1038
+ }
1039
+ }
1040
+
1041
+ /**
1042
+ * <p>Disassociates the associated Key Management Service customer master key (CMK) from the specified log group.</p>
1043
+ * <p>After the KMS CMK is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group.
1044
+ * All previously ingested data remains encrypted, and CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.</p>
1045
+ * <p>Note that it can take up to 5 minutes for this operation to take effect.</p>
1046
+ */
1047
+ public disassociateKmsKey(
1048
+ args: DisassociateKmsKeyCommandInput,
1049
+ options?: __HttpHandlerOptions
1050
+ ): Promise<DisassociateKmsKeyCommandOutput>;
1051
+ public disassociateKmsKey(
1052
+ args: DisassociateKmsKeyCommandInput,
1053
+ cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void
1054
+ ): void;
1055
+ public disassociateKmsKey(
1056
+ args: DisassociateKmsKeyCommandInput,
1057
+ options: __HttpHandlerOptions,
1058
+ cb: (err: any, data?: DisassociateKmsKeyCommandOutput) => void
1059
+ ): void;
1060
+ public disassociateKmsKey(
1061
+ args: DisassociateKmsKeyCommandInput,
1062
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateKmsKeyCommandOutput) => void),
1063
+ cb?: (err: any, data?: DisassociateKmsKeyCommandOutput) => void
1064
+ ): Promise<DisassociateKmsKeyCommandOutput> | void {
1065
+ const command = new DisassociateKmsKeyCommand(args);
1066
+ if (typeof optionsOrCb === "function") {
1067
+ this.send(command, optionsOrCb);
1068
+ } else if (typeof cb === "function") {
1069
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1070
+ this.send(command, optionsOrCb || {}, cb);
1071
+ } else {
1072
+ return this.send(command, optionsOrCb);
1073
+ }
1074
+ }
1075
+
1076
+ /**
1077
+ * <p>Lists log events from the specified log group. You can list all the log events or filter the results
1078
+ * using a filter pattern, a time range, and the name of the log stream.</p>
1079
+ * <p>By default, this operation returns as many log events as can fit in 1 MB (up to 10,000
1080
+ * log events) or all the events found within the time range that you specify. If the results
1081
+ * include a token, then there are more log events available, and you can get additional results
1082
+ * by specifying the token in a subsequent call. This operation can return empty results
1083
+ * while there are more log events available through the token.</p>
1084
+ * <p>The returned log events are sorted by event timestamp, the timestamp when the event was ingested
1085
+ * by CloudWatch Logs, and the ID of the <code>PutLogEvents</code> request.</p>
1086
+ */
1087
+ public filterLogEvents(
1088
+ args: FilterLogEventsCommandInput,
1089
+ options?: __HttpHandlerOptions
1090
+ ): Promise<FilterLogEventsCommandOutput>;
1091
+ public filterLogEvents(
1092
+ args: FilterLogEventsCommandInput,
1093
+ cb: (err: any, data?: FilterLogEventsCommandOutput) => void
1094
+ ): void;
1095
+ public filterLogEvents(
1096
+ args: FilterLogEventsCommandInput,
1097
+ options: __HttpHandlerOptions,
1098
+ cb: (err: any, data?: FilterLogEventsCommandOutput) => void
1099
+ ): void;
1100
+ public filterLogEvents(
1101
+ args: FilterLogEventsCommandInput,
1102
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: FilterLogEventsCommandOutput) => void),
1103
+ cb?: (err: any, data?: FilterLogEventsCommandOutput) => void
1104
+ ): Promise<FilterLogEventsCommandOutput> | void {
1105
+ const command = new FilterLogEventsCommand(args);
1106
+ if (typeof optionsOrCb === "function") {
1107
+ this.send(command, optionsOrCb);
1108
+ } else if (typeof cb === "function") {
1109
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1110
+ this.send(command, optionsOrCb || {}, cb);
1111
+ } else {
1112
+ return this.send(command, optionsOrCb);
1113
+ }
1114
+ }
1115
+
1116
+ /**
1117
+ * <p>Lists log events from the specified log stream. You can list all of the log events or
1118
+ * filter using a time range.</p>
1119
+ *
1120
+ * <p>By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events).
1121
+ * You can get additional log events by specifying one of the tokens in a subsequent call.
1122
+ * This operation can return empty results while there are more log events available through the token.</p>
1123
+ */
1124
+ public getLogEvents(
1125
+ args: GetLogEventsCommandInput,
1126
+ options?: __HttpHandlerOptions
1127
+ ): Promise<GetLogEventsCommandOutput>;
1128
+ public getLogEvents(args: GetLogEventsCommandInput, cb: (err: any, data?: GetLogEventsCommandOutput) => void): void;
1129
+ public getLogEvents(
1130
+ args: GetLogEventsCommandInput,
1131
+ options: __HttpHandlerOptions,
1132
+ cb: (err: any, data?: GetLogEventsCommandOutput) => void
1133
+ ): void;
1134
+ public getLogEvents(
1135
+ args: GetLogEventsCommandInput,
1136
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLogEventsCommandOutput) => void),
1137
+ cb?: (err: any, data?: GetLogEventsCommandOutput) => void
1138
+ ): Promise<GetLogEventsCommandOutput> | void {
1139
+ const command = new GetLogEventsCommand(args);
1140
+ if (typeof optionsOrCb === "function") {
1141
+ this.send(command, optionsOrCb);
1142
+ } else if (typeof cb === "function") {
1143
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1144
+ this.send(command, optionsOrCb || {}, cb);
1145
+ } else {
1146
+ return this.send(command, optionsOrCb);
1147
+ }
1148
+ }
1149
+
1150
+ /**
1151
+ * <p>Returns a list of the fields that are included in log events in the specified log group, along with the percentage of log events
1152
+ * that contain each field. The search is limited to a time period that you specify.</p>
1153
+ * <p>In the results, fields that start with @ are fields generated by CloudWatch Logs. For
1154
+ * example, <code>@timestamp</code> is the timestamp of each log event. For more information about the fields that are
1155
+ * generated by CloudWatch logs, see
1156
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html">Supported Logs and Discovered Fields</a>.</p>
1157
+ * <p>The response results are sorted by the frequency percentage, starting
1158
+ * with the highest percentage.</p>
1159
+ */
1160
+ public getLogGroupFields(
1161
+ args: GetLogGroupFieldsCommandInput,
1162
+ options?: __HttpHandlerOptions
1163
+ ): Promise<GetLogGroupFieldsCommandOutput>;
1164
+ public getLogGroupFields(
1165
+ args: GetLogGroupFieldsCommandInput,
1166
+ cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void
1167
+ ): void;
1168
+ public getLogGroupFields(
1169
+ args: GetLogGroupFieldsCommandInput,
1170
+ options: __HttpHandlerOptions,
1171
+ cb: (err: any, data?: GetLogGroupFieldsCommandOutput) => void
1172
+ ): void;
1173
+ public getLogGroupFields(
1174
+ args: GetLogGroupFieldsCommandInput,
1175
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLogGroupFieldsCommandOutput) => void),
1176
+ cb?: (err: any, data?: GetLogGroupFieldsCommandOutput) => void
1177
+ ): Promise<GetLogGroupFieldsCommandOutput> | void {
1178
+ const command = new GetLogGroupFieldsCommand(args);
1179
+ if (typeof optionsOrCb === "function") {
1180
+ this.send(command, optionsOrCb);
1181
+ } else if (typeof cb === "function") {
1182
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1183
+ this.send(command, optionsOrCb || {}, cb);
1184
+ } else {
1185
+ return this.send(command, optionsOrCb);
1186
+ }
1187
+ }
1188
+
1189
+ /**
1190
+ * <p>Retrieves all of the fields and values of a single log event. All fields are retrieved,
1191
+ * even if the original query that produced the <code>logRecordPointer</code> retrieved only a
1192
+ * subset of fields. Fields are returned as field name/field value pairs.</p>
1193
+ * <p>The full unparsed log event is returned within <code>@message</code>.</p>
1194
+ */
1195
+ public getLogRecord(
1196
+ args: GetLogRecordCommandInput,
1197
+ options?: __HttpHandlerOptions
1198
+ ): Promise<GetLogRecordCommandOutput>;
1199
+ public getLogRecord(args: GetLogRecordCommandInput, cb: (err: any, data?: GetLogRecordCommandOutput) => void): void;
1200
+ public getLogRecord(
1201
+ args: GetLogRecordCommandInput,
1202
+ options: __HttpHandlerOptions,
1203
+ cb: (err: any, data?: GetLogRecordCommandOutput) => void
1204
+ ): void;
1205
+ public getLogRecord(
1206
+ args: GetLogRecordCommandInput,
1207
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLogRecordCommandOutput) => void),
1208
+ cb?: (err: any, data?: GetLogRecordCommandOutput) => void
1209
+ ): Promise<GetLogRecordCommandOutput> | void {
1210
+ const command = new GetLogRecordCommand(args);
1211
+ if (typeof optionsOrCb === "function") {
1212
+ this.send(command, optionsOrCb);
1213
+ } else if (typeof cb === "function") {
1214
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1215
+ this.send(command, optionsOrCb || {}, cb);
1216
+ } else {
1217
+ return this.send(command, optionsOrCb);
1218
+ }
1219
+ }
1220
+
1221
+ /**
1222
+ * <p>Returns the results from the specified query.</p>
1223
+ * <p>Only the fields requested in the query are returned, along with a <code>@ptr</code>
1224
+ * field, which is the identifier for the log record. You can use the value of <code>@ptr</code>
1225
+ * in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogRecord.html">GetLogRecord</a>
1226
+ * operation to get the full log record.</p>
1227
+ * <p>
1228
+ * <code>GetQueryResults</code>
1229
+ * does not start a query execution. To run a query, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>.</p>
1230
+ * <p>If the value of the <code>Status</code> field in the output is <code>Running</code>, this operation
1231
+ * returns only partial results. If you see a value of <code>Scheduled</code> or <code>Running</code> for the status,
1232
+ * you can retry the operation later to see the final results. </p>
1233
+ */
1234
+ public getQueryResults(
1235
+ args: GetQueryResultsCommandInput,
1236
+ options?: __HttpHandlerOptions
1237
+ ): Promise<GetQueryResultsCommandOutput>;
1238
+ public getQueryResults(
1239
+ args: GetQueryResultsCommandInput,
1240
+ cb: (err: any, data?: GetQueryResultsCommandOutput) => void
1241
+ ): void;
1242
+ public getQueryResults(
1243
+ args: GetQueryResultsCommandInput,
1244
+ options: __HttpHandlerOptions,
1245
+ cb: (err: any, data?: GetQueryResultsCommandOutput) => void
1246
+ ): void;
1247
+ public getQueryResults(
1248
+ args: GetQueryResultsCommandInput,
1249
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetQueryResultsCommandOutput) => void),
1250
+ cb?: (err: any, data?: GetQueryResultsCommandOutput) => void
1251
+ ): Promise<GetQueryResultsCommandOutput> | void {
1252
+ const command = new GetQueryResultsCommand(args);
1253
+ if (typeof optionsOrCb === "function") {
1254
+ this.send(command, optionsOrCb);
1255
+ } else if (typeof cb === "function") {
1256
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1257
+ this.send(command, optionsOrCb || {}, cb);
1258
+ } else {
1259
+ return this.send(command, optionsOrCb);
1260
+ }
1261
+ }
1262
+
1263
+ /**
1264
+ * <p>Lists the tags for the specified log group.</p>
1265
+ */
1266
+ public listTagsLogGroup(
1267
+ args: ListTagsLogGroupCommandInput,
1268
+ options?: __HttpHandlerOptions
1269
+ ): Promise<ListTagsLogGroupCommandOutput>;
1270
+ public listTagsLogGroup(
1271
+ args: ListTagsLogGroupCommandInput,
1272
+ cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void
1273
+ ): void;
1274
+ public listTagsLogGroup(
1275
+ args: ListTagsLogGroupCommandInput,
1276
+ options: __HttpHandlerOptions,
1277
+ cb: (err: any, data?: ListTagsLogGroupCommandOutput) => void
1278
+ ): void;
1279
+ public listTagsLogGroup(
1280
+ args: ListTagsLogGroupCommandInput,
1281
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsLogGroupCommandOutput) => void),
1282
+ cb?: (err: any, data?: ListTagsLogGroupCommandOutput) => void
1283
+ ): Promise<ListTagsLogGroupCommandOutput> | void {
1284
+ const command = new ListTagsLogGroupCommand(args);
1285
+ if (typeof optionsOrCb === "function") {
1286
+ this.send(command, optionsOrCb);
1287
+ } else if (typeof cb === "function") {
1288
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1289
+ this.send(command, optionsOrCb || {}, cb);
1290
+ } else {
1291
+ return this.send(command, optionsOrCb);
1292
+ }
1293
+ }
1294
+
1295
+ /**
1296
+ * <p>Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.</p>
1297
+ * <p>A destination encapsulates a physical resource (such
1298
+ * as an Amazon Kinesis stream) and enables you to subscribe to a real-time stream of log events
1299
+ * for a different account, ingested using <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
1300
+ * <p>Through an access policy, a destination controls what is written to it.
1301
+ * By default, <code>PutDestination</code> does not set any access policy with the destination,
1302
+ * which means a cross-account user cannot call <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutSubscriptionFilter.html">PutSubscriptionFilter</a> against
1303
+ * 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>
1304
+ * <p>To perform a <code>PutDestination</code> operation, you must also have the
1305
+ * <code>iam:PassRole</code> permission.</p>
1306
+ */
1307
+ public putDestination(
1308
+ args: PutDestinationCommandInput,
1309
+ options?: __HttpHandlerOptions
1310
+ ): Promise<PutDestinationCommandOutput>;
1311
+ public putDestination(
1312
+ args: PutDestinationCommandInput,
1313
+ cb: (err: any, data?: PutDestinationCommandOutput) => void
1314
+ ): void;
1315
+ public putDestination(
1316
+ args: PutDestinationCommandInput,
1317
+ options: __HttpHandlerOptions,
1318
+ cb: (err: any, data?: PutDestinationCommandOutput) => void
1319
+ ): void;
1320
+ public putDestination(
1321
+ args: PutDestinationCommandInput,
1322
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutDestinationCommandOutput) => void),
1323
+ cb?: (err: any, data?: PutDestinationCommandOutput) => void
1324
+ ): Promise<PutDestinationCommandOutput> | void {
1325
+ const command = new PutDestinationCommand(args);
1326
+ if (typeof optionsOrCb === "function") {
1327
+ this.send(command, optionsOrCb);
1328
+ } else if (typeof cb === "function") {
1329
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1330
+ this.send(command, optionsOrCb || {}, cb);
1331
+ } else {
1332
+ return this.send(command, optionsOrCb);
1333
+ }
1334
+ }
1335
+
1336
+ /**
1337
+ * <p>Creates or updates an access policy associated with an existing
1338
+ * 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
1339
+ * to authorize claims to register a subscription filter against a given destination.</p>
1340
+ * <p>If multiple Amazon Web Services accounts are sending logs to this destination, each sender account must be
1341
+ * listed separately in the policy. The policy does not support specifying <code>*</code>
1342
+ * as the Principal or the use of the <code>aws:PrincipalOrgId</code> global key.</p>
1343
+ */
1344
+ public putDestinationPolicy(
1345
+ args: PutDestinationPolicyCommandInput,
1346
+ options?: __HttpHandlerOptions
1347
+ ): Promise<PutDestinationPolicyCommandOutput>;
1348
+ public putDestinationPolicy(
1349
+ args: PutDestinationPolicyCommandInput,
1350
+ cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void
1351
+ ): void;
1352
+ public putDestinationPolicy(
1353
+ args: PutDestinationPolicyCommandInput,
1354
+ options: __HttpHandlerOptions,
1355
+ cb: (err: any, data?: PutDestinationPolicyCommandOutput) => void
1356
+ ): void;
1357
+ public putDestinationPolicy(
1358
+ args: PutDestinationPolicyCommandInput,
1359
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutDestinationPolicyCommandOutput) => void),
1360
+ cb?: (err: any, data?: PutDestinationPolicyCommandOutput) => void
1361
+ ): Promise<PutDestinationPolicyCommandOutput> | void {
1362
+ const command = new PutDestinationPolicyCommand(args);
1363
+ if (typeof optionsOrCb === "function") {
1364
+ this.send(command, optionsOrCb);
1365
+ } else if (typeof cb === "function") {
1366
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1367
+ this.send(command, optionsOrCb || {}, cb);
1368
+ } else {
1369
+ return this.send(command, optionsOrCb);
1370
+ }
1371
+ }
1372
+
1373
+ /**
1374
+ * <p>Uploads a batch of log events to the specified log stream.</p>
1375
+ * <p>You must include the sequence token obtained from the response of the previous call. An
1376
+ * upload in a newly created log stream does not require a sequence token. You can also get the
1377
+ * sequence token in the <code>expectedSequenceToken</code> field from
1378
+ * <code>InvalidSequenceTokenException</code>. If you call <code>PutLogEvents</code> twice
1379
+ * within a narrow time period using the same value for <code>sequenceToken</code>, both calls
1380
+ * might be successful or one might be rejected.</p>
1381
+ * <p>The batch of events must satisfy the following constraints:</p>
1382
+ * <ul>
1383
+ * <li>
1384
+ * <p>The maximum batch size is 1,048,576 bytes. This size is calculated as the sum of
1385
+ * all event messages in UTF-8, plus 26 bytes for each log event.</p>
1386
+ * </li>
1387
+ * <li>
1388
+ * <p>None of the log events in the batch can be more than 2 hours in the future.</p>
1389
+ * </li>
1390
+ * <li>
1391
+ * <p>None of the log events in the batch can be older than 14 days or older than the retention
1392
+ * period of the log group.</p>
1393
+ * </li>
1394
+ * <li>
1395
+ * <p>The log events in the batch must be in chronological order by their timestamp. The
1396
+ * timestamp is the time the event occurred, expressed as the number of milliseconds after
1397
+ * Jan 1, 1970 00:00:00 UTC. (In Amazon Web Services Tools for PowerShell and the Amazon Web Services SDK for .NET, the
1398
+ * timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example,
1399
+ * 2017-09-15T13:45:30.) </p>
1400
+ * </li>
1401
+ * <li>
1402
+ * <p>A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails.</p>
1403
+ * </li>
1404
+ * <li>
1405
+ * <p>The maximum number of log events in a batch is 10,000.</p>
1406
+ * </li>
1407
+ * <li>
1408
+ * <p>There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed.</p>
1409
+ * </li>
1410
+ * </ul>
1411
+ * <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>
1412
+ */
1413
+ public putLogEvents(
1414
+ args: PutLogEventsCommandInput,
1415
+ options?: __HttpHandlerOptions
1416
+ ): Promise<PutLogEventsCommandOutput>;
1417
+ public putLogEvents(args: PutLogEventsCommandInput, cb: (err: any, data?: PutLogEventsCommandOutput) => void): void;
1418
+ public putLogEvents(
1419
+ args: PutLogEventsCommandInput,
1420
+ options: __HttpHandlerOptions,
1421
+ cb: (err: any, data?: PutLogEventsCommandOutput) => void
1422
+ ): void;
1423
+ public putLogEvents(
1424
+ args: PutLogEventsCommandInput,
1425
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLogEventsCommandOutput) => void),
1426
+ cb?: (err: any, data?: PutLogEventsCommandOutput) => void
1427
+ ): Promise<PutLogEventsCommandOutput> | void {
1428
+ const command = new PutLogEventsCommand(args);
1429
+ if (typeof optionsOrCb === "function") {
1430
+ this.send(command, optionsOrCb);
1431
+ } else if (typeof cb === "function") {
1432
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1433
+ this.send(command, optionsOrCb || {}, cb);
1434
+ } else {
1435
+ return this.send(command, optionsOrCb);
1436
+ }
1437
+ }
1438
+
1439
+ /**
1440
+ * <p>Creates or updates a metric filter and associates it with the specified log group.
1441
+ * Metric filters allow you to configure rules to extract metric data from log events ingested
1442
+ * through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a>.</p>
1443
+ * <p>The maximum number of metric filters that can be associated with a log group is
1444
+ * 100.</p>
1445
+ * <p>When you create a metric filter, you can also optionally assign a unit and dimensions
1446
+ * to the metric that is created.</p>
1447
+ * <important>
1448
+ * <p>Metrics extracted from log events are charged as custom metrics.
1449
+ * To prevent unexpected high charges, do not specify high-cardinality fields such as
1450
+ * <code>IPAddress</code> or <code>requestID</code> as dimensions. Each different value
1451
+ * found for
1452
+ * a dimension is treated as a separate metric and accrues charges as a separate custom metric.
1453
+ * </p>
1454
+ * <p>To help prevent accidental high charges, Amazon disables a metric filter
1455
+ * if it generates 1000 different name/value pairs for the dimensions that you
1456
+ * have specified within a certain amount of time.</p>
1457
+ * <p>You can also set up a billing alarm to alert you if your charges are higher than
1458
+ * expected. For more information,
1459
+ * see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html">
1460
+ * Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges</a>.
1461
+ * </p>
1462
+ * </important>
1463
+ */
1464
+ public putMetricFilter(
1465
+ args: PutMetricFilterCommandInput,
1466
+ options?: __HttpHandlerOptions
1467
+ ): Promise<PutMetricFilterCommandOutput>;
1468
+ public putMetricFilter(
1469
+ args: PutMetricFilterCommandInput,
1470
+ cb: (err: any, data?: PutMetricFilterCommandOutput) => void
1471
+ ): void;
1472
+ public putMetricFilter(
1473
+ args: PutMetricFilterCommandInput,
1474
+ options: __HttpHandlerOptions,
1475
+ cb: (err: any, data?: PutMetricFilterCommandOutput) => void
1476
+ ): void;
1477
+ public putMetricFilter(
1478
+ args: PutMetricFilterCommandInput,
1479
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutMetricFilterCommandOutput) => void),
1480
+ cb?: (err: any, data?: PutMetricFilterCommandOutput) => void
1481
+ ): Promise<PutMetricFilterCommandOutput> | void {
1482
+ const command = new PutMetricFilterCommand(args);
1483
+ if (typeof optionsOrCb === "function") {
1484
+ this.send(command, optionsOrCb);
1485
+ } else if (typeof cb === "function") {
1486
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1487
+ this.send(command, optionsOrCb || {}, cb);
1488
+ } else {
1489
+ return this.send(command, optionsOrCb);
1490
+ }
1491
+ }
1492
+
1493
+ /**
1494
+ * <p>Creates or updates a query definition for CloudWatch Logs Insights. For
1495
+ * more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html">Analyzing Log Data with CloudWatch Logs Insights</a>.</p>
1496
+ *
1497
+ * <p>To update a query definition, specify its
1498
+ * <code>queryDefinitionId</code> in your request. The values of <code>name</code>, <code>queryString</code>,
1499
+ * and <code>logGroupNames</code> are changed to the values that you specify in your update
1500
+ * operation. No current values are retained from the current query definition. For example, if
1501
+ * you update a current query definition that includes log groups, and you don't specify the
1502
+ * <code>logGroupNames</code> parameter in your update operation, the query definition changes
1503
+ * to contain no log groups.</p>
1504
+ * <p>You must have the <code>logs:PutQueryDefinition</code> permission to be able to perform
1505
+ * this operation.</p>
1506
+ */
1507
+ public putQueryDefinition(
1508
+ args: PutQueryDefinitionCommandInput,
1509
+ options?: __HttpHandlerOptions
1510
+ ): Promise<PutQueryDefinitionCommandOutput>;
1511
+ public putQueryDefinition(
1512
+ args: PutQueryDefinitionCommandInput,
1513
+ cb: (err: any, data?: PutQueryDefinitionCommandOutput) => void
1514
+ ): void;
1515
+ public putQueryDefinition(
1516
+ args: PutQueryDefinitionCommandInput,
1517
+ options: __HttpHandlerOptions,
1518
+ cb: (err: any, data?: PutQueryDefinitionCommandOutput) => void
1519
+ ): void;
1520
+ public putQueryDefinition(
1521
+ args: PutQueryDefinitionCommandInput,
1522
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutQueryDefinitionCommandOutput) => void),
1523
+ cb?: (err: any, data?: PutQueryDefinitionCommandOutput) => void
1524
+ ): Promise<PutQueryDefinitionCommandOutput> | void {
1525
+ const command = new PutQueryDefinitionCommand(args);
1526
+ if (typeof optionsOrCb === "function") {
1527
+ this.send(command, optionsOrCb);
1528
+ } else if (typeof cb === "function") {
1529
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1530
+ this.send(command, optionsOrCb || {}, cb);
1531
+ } else {
1532
+ return this.send(command, optionsOrCb);
1533
+ }
1534
+ }
1535
+
1536
+ /**
1537
+ * <p>Creates or updates a resource policy allowing other Amazon Web Services services to put log events to
1538
+ * this account, such as Amazon Route 53. An account can have up to 10 resource policies per Amazon Web Services
1539
+ * Region.</p>
1540
+ */
1541
+ public putResourcePolicy(
1542
+ args: PutResourcePolicyCommandInput,
1543
+ options?: __HttpHandlerOptions
1544
+ ): Promise<PutResourcePolicyCommandOutput>;
1545
+ public putResourcePolicy(
1546
+ args: PutResourcePolicyCommandInput,
1547
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1548
+ ): void;
1549
+ public putResourcePolicy(
1550
+ args: PutResourcePolicyCommandInput,
1551
+ options: __HttpHandlerOptions,
1552
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1553
+ ): void;
1554
+ public putResourcePolicy(
1555
+ args: PutResourcePolicyCommandInput,
1556
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutResourcePolicyCommandOutput) => void),
1557
+ cb?: (err: any, data?: PutResourcePolicyCommandOutput) => void
1558
+ ): Promise<PutResourcePolicyCommandOutput> | void {
1559
+ const command = new PutResourcePolicyCommand(args);
1560
+ if (typeof optionsOrCb === "function") {
1561
+ this.send(command, optionsOrCb);
1562
+ } else if (typeof cb === "function") {
1563
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1564
+ this.send(command, optionsOrCb || {}, cb);
1565
+ } else {
1566
+ return this.send(command, optionsOrCb);
1567
+ }
1568
+ }
1569
+
1570
+ /**
1571
+ * <p>Sets the retention of the specified log group. A retention policy allows you to
1572
+ * configure the number of days for which to retain log events in the specified log
1573
+ * group.</p>
1574
+ */
1575
+ public putRetentionPolicy(
1576
+ args: PutRetentionPolicyCommandInput,
1577
+ options?: __HttpHandlerOptions
1578
+ ): Promise<PutRetentionPolicyCommandOutput>;
1579
+ public putRetentionPolicy(
1580
+ args: PutRetentionPolicyCommandInput,
1581
+ cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void
1582
+ ): void;
1583
+ public putRetentionPolicy(
1584
+ args: PutRetentionPolicyCommandInput,
1585
+ options: __HttpHandlerOptions,
1586
+ cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void
1587
+ ): void;
1588
+ public putRetentionPolicy(
1589
+ args: PutRetentionPolicyCommandInput,
1590
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutRetentionPolicyCommandOutput) => void),
1591
+ cb?: (err: any, data?: PutRetentionPolicyCommandOutput) => void
1592
+ ): Promise<PutRetentionPolicyCommandOutput> | void {
1593
+ const command = new PutRetentionPolicyCommand(args);
1594
+ if (typeof optionsOrCb === "function") {
1595
+ this.send(command, optionsOrCb);
1596
+ } else if (typeof cb === "function") {
1597
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1598
+ this.send(command, optionsOrCb || {}, cb);
1599
+ } else {
1600
+ return this.send(command, optionsOrCb);
1601
+ }
1602
+ }
1603
+
1604
+ /**
1605
+ * <p>Creates or updates a subscription filter and associates it with the specified log
1606
+ * group. Subscription filters allow you to subscribe to a real-time stream of log events
1607
+ * ingested through <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html">PutLogEvents</a> and have them delivered to a specific
1608
+ * destination. When log events are sent to the
1609
+ * receiving service, they are Base64 encoded
1610
+ * and compressed with the gzip format.</p>
1611
+ * <p>The following destinations are supported for subscription filters:</p>
1612
+ * <ul>
1613
+ * <li>
1614
+ * <p>An Amazon Kinesis stream belonging to the same account as the subscription filter,
1615
+ * for same-account delivery.</p>
1616
+ * </li>
1617
+ * <li>
1618
+ * <p>A logical destination that belongs to a different account, for cross-account delivery.</p>
1619
+ * </li>
1620
+ * <li>
1621
+ * <p>An Amazon Kinesis Firehose delivery stream that belongs to the same account as the
1622
+ * subscription filter, for same-account delivery.</p>
1623
+ * </li>
1624
+ * <li>
1625
+ * <p>An Lambda function that belongs to the same account as the subscription filter,
1626
+ * for same-account delivery.</p>
1627
+ * </li>
1628
+ * </ul>
1629
+ * <p>Each log group can have up to two subscription filters associated with it. If you are
1630
+ * updating an existing filter, you must specify the correct name in <code>filterName</code>.
1631
+ * </p>
1632
+ * <p>To perform a <code>PutSubscriptionFilter</code> operation, you must also have the
1633
+ * <code>iam:PassRole</code> permission.</p>
1634
+ */
1635
+ public putSubscriptionFilter(
1636
+ args: PutSubscriptionFilterCommandInput,
1637
+ options?: __HttpHandlerOptions
1638
+ ): Promise<PutSubscriptionFilterCommandOutput>;
1639
+ public putSubscriptionFilter(
1640
+ args: PutSubscriptionFilterCommandInput,
1641
+ cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void
1642
+ ): void;
1643
+ public putSubscriptionFilter(
1644
+ args: PutSubscriptionFilterCommandInput,
1645
+ options: __HttpHandlerOptions,
1646
+ cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void
1647
+ ): void;
1648
+ public putSubscriptionFilter(
1649
+ args: PutSubscriptionFilterCommandInput,
1650
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutSubscriptionFilterCommandOutput) => void),
1651
+ cb?: (err: any, data?: PutSubscriptionFilterCommandOutput) => void
1652
+ ): Promise<PutSubscriptionFilterCommandOutput> | void {
1653
+ const command = new PutSubscriptionFilterCommand(args);
1654
+ if (typeof optionsOrCb === "function") {
1655
+ this.send(command, optionsOrCb);
1656
+ } else if (typeof cb === "function") {
1657
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1658
+ this.send(command, optionsOrCb || {}, cb);
1659
+ } else {
1660
+ return this.send(command, optionsOrCb);
1661
+ }
1662
+ }
1663
+
1664
+ /**
1665
+ * <p>Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group
1666
+ * and time range to query and the query string to use.</p>
1667
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights Query Syntax</a>.</p>
1668
+ *
1669
+ * <p>Queries time out after 15 minutes of execution. If your queries are timing out, reduce the
1670
+ * time range being searched or partition your query into a number of queries.</p>
1671
+ */
1672
+ public startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryCommandOutput>;
1673
+ public startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
1674
+ public startQuery(
1675
+ args: StartQueryCommandInput,
1676
+ options: __HttpHandlerOptions,
1677
+ cb: (err: any, data?: StartQueryCommandOutput) => void
1678
+ ): void;
1679
+ public startQuery(
1680
+ args: StartQueryCommandInput,
1681
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartQueryCommandOutput) => void),
1682
+ cb?: (err: any, data?: StartQueryCommandOutput) => void
1683
+ ): Promise<StartQueryCommandOutput> | void {
1684
+ const command = new StartQueryCommand(args);
1685
+ if (typeof optionsOrCb === "function") {
1686
+ this.send(command, optionsOrCb);
1687
+ } else if (typeof cb === "function") {
1688
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1689
+ this.send(command, optionsOrCb || {}, cb);
1690
+ } else {
1691
+ return this.send(command, optionsOrCb);
1692
+ }
1693
+ }
1694
+
1695
+ /**
1696
+ * <p>Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation
1697
+ * returns an error indicating that the specified query is not running.</p>
1698
+ */
1699
+ public stopQuery(args: StopQueryCommandInput, options?: __HttpHandlerOptions): Promise<StopQueryCommandOutput>;
1700
+ public stopQuery(args: StopQueryCommandInput, cb: (err: any, data?: StopQueryCommandOutput) => void): void;
1701
+ public stopQuery(
1702
+ args: StopQueryCommandInput,
1703
+ options: __HttpHandlerOptions,
1704
+ cb: (err: any, data?: StopQueryCommandOutput) => void
1705
+ ): void;
1706
+ public stopQuery(
1707
+ args: StopQueryCommandInput,
1708
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopQueryCommandOutput) => void),
1709
+ cb?: (err: any, data?: StopQueryCommandOutput) => void
1710
+ ): Promise<StopQueryCommandOutput> | void {
1711
+ const command = new StopQueryCommand(args);
1712
+ if (typeof optionsOrCb === "function") {
1713
+ this.send(command, optionsOrCb);
1714
+ } else if (typeof cb === "function") {
1715
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1716
+ this.send(command, optionsOrCb || {}, cb);
1717
+ } else {
1718
+ return this.send(command, optionsOrCb);
1719
+ }
1720
+ }
1721
+
1722
+ /**
1723
+ * <p>Adds or updates the specified tags for the specified log group.</p>
1724
+ * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
1725
+ * To remove tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagLogGroup.html">UntagLogGroup</a>.</p>
1726
+ * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html#log-group-tagging">Tag Log Groups in Amazon CloudWatch Logs</a>
1727
+ * in the <i>Amazon CloudWatch Logs User Guide</i>.</p>
1728
+ * <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
1729
+ * log groups using the <code>aws:Resource/<i>key-name</i>
1730
+ * </code> or <code>aws:TagKeys</code> condition keys.
1731
+ * For more information about using tags to control access, see
1732
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
1733
+ */
1734
+ public tagLogGroup(args: TagLogGroupCommandInput, options?: __HttpHandlerOptions): Promise<TagLogGroupCommandOutput>;
1735
+ public tagLogGroup(args: TagLogGroupCommandInput, cb: (err: any, data?: TagLogGroupCommandOutput) => void): void;
1736
+ public tagLogGroup(
1737
+ args: TagLogGroupCommandInput,
1738
+ options: __HttpHandlerOptions,
1739
+ cb: (err: any, data?: TagLogGroupCommandOutput) => void
1740
+ ): void;
1741
+ public tagLogGroup(
1742
+ args: TagLogGroupCommandInput,
1743
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagLogGroupCommandOutput) => void),
1744
+ cb?: (err: any, data?: TagLogGroupCommandOutput) => void
1745
+ ): Promise<TagLogGroupCommandOutput> | void {
1746
+ const command = new TagLogGroupCommand(args);
1747
+ if (typeof optionsOrCb === "function") {
1748
+ this.send(command, optionsOrCb);
1749
+ } else if (typeof cb === "function") {
1750
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1751
+ this.send(command, optionsOrCb || {}, cb);
1752
+ } else {
1753
+ return this.send(command, optionsOrCb);
1754
+ }
1755
+ }
1756
+
1757
+ /**
1758
+ * <p>Tests the filter pattern of a metric filter against a sample of log event messages. You
1759
+ * can use this operation to validate the correctness of a metric filter pattern.</p>
1760
+ */
1761
+ public testMetricFilter(
1762
+ args: TestMetricFilterCommandInput,
1763
+ options?: __HttpHandlerOptions
1764
+ ): Promise<TestMetricFilterCommandOutput>;
1765
+ public testMetricFilter(
1766
+ args: TestMetricFilterCommandInput,
1767
+ cb: (err: any, data?: TestMetricFilterCommandOutput) => void
1768
+ ): void;
1769
+ public testMetricFilter(
1770
+ args: TestMetricFilterCommandInput,
1771
+ options: __HttpHandlerOptions,
1772
+ cb: (err: any, data?: TestMetricFilterCommandOutput) => void
1773
+ ): void;
1774
+ public testMetricFilter(
1775
+ args: TestMetricFilterCommandInput,
1776
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TestMetricFilterCommandOutput) => void),
1777
+ cb?: (err: any, data?: TestMetricFilterCommandOutput) => void
1778
+ ): Promise<TestMetricFilterCommandOutput> | void {
1779
+ const command = new TestMetricFilterCommand(args);
1780
+ if (typeof optionsOrCb === "function") {
1781
+ this.send(command, optionsOrCb);
1782
+ } else if (typeof cb === "function") {
1783
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1784
+ this.send(command, optionsOrCb || {}, cb);
1785
+ } else {
1786
+ return this.send(command, optionsOrCb);
1787
+ }
1788
+ }
1789
+
1790
+ /**
1791
+ * <p>Removes the specified tags from the specified log group.</p>
1792
+ * <p>To list the tags for a log group, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsLogGroup.html">ListTagsLogGroup</a>.
1793
+ * To add tags, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagLogGroup.html">TagLogGroup</a>.</p>
1794
+ * <p>CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
1795
+ * log groups using the <code>aws:Resource/<i>key-name</i>
1796
+ * </code> or <code>aws:TagKeys</code> condition keys.
1797
+ * </p>
1798
+ */
1799
+ public untagLogGroup(
1800
+ args: UntagLogGroupCommandInput,
1801
+ options?: __HttpHandlerOptions
1802
+ ): Promise<UntagLogGroupCommandOutput>;
1803
+ public untagLogGroup(
1804
+ args: UntagLogGroupCommandInput,
1805
+ cb: (err: any, data?: UntagLogGroupCommandOutput) => void
1806
+ ): void;
1807
+ public untagLogGroup(
1808
+ args: UntagLogGroupCommandInput,
1809
+ options: __HttpHandlerOptions,
1810
+ cb: (err: any, data?: UntagLogGroupCommandOutput) => void
1811
+ ): void;
1812
+ public untagLogGroup(
1813
+ args: UntagLogGroupCommandInput,
1814
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagLogGroupCommandOutput) => void),
1815
+ cb?: (err: any, data?: UntagLogGroupCommandOutput) => void
1816
+ ): Promise<UntagLogGroupCommandOutput> | void {
1817
+ const command = new UntagLogGroupCommand(args);
1818
+ if (typeof optionsOrCb === "function") {
1819
+ this.send(command, optionsOrCb);
1820
+ } else if (typeof cb === "function") {
1821
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1822
+ this.send(command, optionsOrCb || {}, cb);
1823
+ } else {
1824
+ return this.send(command, optionsOrCb);
1825
+ }
1826
+ }
1827
+ }