@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,108 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
15
+ import { CreateExportTaskRequest, CreateExportTaskResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateExportTaskCommand,
18
+ serializeAws_json1_1CreateExportTaskCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
21
+ export interface CreateExportTaskCommandInput extends CreateExportTaskRequest {}
22
+ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse, __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>Creates an export task, which allows you to efficiently export data from a
26
+ * log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
27
+ * operation, you must use credentials that have permission to write to the S3 bucket
28
+ * that you specify as the destination.</p>
29
+ * <p>This is an asynchronous call. If all the required information is provided, this
30
+ * operation initiates an export task and responds with the ID of the task. After the task has started,
31
+ * 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
32
+ * only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time.
33
+ * To cancel an export task, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html">CancelExportTask</a>.</p>
34
+ * <p>You can export logs from multiple log groups or multiple time ranges to the same S3
35
+ * bucket. To separate out log data for each export task, you can specify a prefix to be used as
36
+ * the Amazon S3 key prefix for all exported objects.</p>
37
+ * <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets
38
+ * encrypted with SSE-KMS is not supported. </p>
39
+ * @example
40
+ * Use a bare-bones client and the command you need to make an API call.
41
+ * ```javascript
42
+ * import { CloudWatchLogsClient, CreateExportTaskCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
43
+ * // const { CloudWatchLogsClient, CreateExportTaskCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
44
+ * const client = new CloudWatchLogsClient(config);
45
+ * const command = new CreateExportTaskCommand(input);
46
+ * const response = await client.send(command);
47
+ * ```
48
+ *
49
+ * @see {@link CreateExportTaskCommandInput} for command's `input` shape.
50
+ * @see {@link CreateExportTaskCommandOutput} for command's `response` shape.
51
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
52
+ *
53
+ */
54
+ export class CreateExportTaskCommand extends $Command<
55
+ CreateExportTaskCommandInput,
56
+ CreateExportTaskCommandOutput,
57
+ CloudWatchLogsClientResolvedConfig
58
+ > {
59
+ // Start section: command_properties
60
+ // End section: command_properties
61
+
62
+ constructor(readonly input: CreateExportTaskCommandInput) {
63
+ // Start section: command_constructor
64
+ super();
65
+ // End section: command_constructor
66
+ }
67
+
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(
72
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
+ configuration: CloudWatchLogsClientResolvedConfig,
74
+ options?: __HttpHandlerOptions
75
+ ): Handler<CreateExportTaskCommandInput, CreateExportTaskCommandOutput> {
76
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
+
78
+ const stack = clientStack.concat(this.middlewareStack);
79
+
80
+ const { logger } = configuration;
81
+ const clientName = "CloudWatchLogsClient";
82
+ const commandName = "CreateExportTaskCommand";
83
+ const handlerExecutionContext: HandlerExecutionContext = {
84
+ logger,
85
+ clientName,
86
+ commandName,
87
+ inputFilterSensitiveLog: CreateExportTaskRequest.filterSensitiveLog,
88
+ outputFilterSensitiveLog: CreateExportTaskResponse.filterSensitiveLog,
89
+ };
90
+ const { requestHandler } = configuration;
91
+ return stack.resolve(
92
+ (request: FinalizeHandlerArguments<any>) =>
93
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
94
+ handlerExecutionContext
95
+ );
96
+ }
97
+
98
+ private serialize(input: CreateExportTaskCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
+ return serializeAws_json1_1CreateExportTaskCommand(input, context);
100
+ }
101
+
102
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateExportTaskCommandOutput> {
103
+ return deserializeAws_json1_1CreateExportTaskCommand(output, context);
104
+ }
105
+
106
+ // Start section: command_body_extra
107
+ // End section: command_body_extra
108
+ }
@@ -0,0 +1,121 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
15
+ import { CreateLogGroupRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLogGroupCommand,
18
+ serializeAws_json1_1CreateLogGroupCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
21
+ export interface CreateLogGroupCommandInput extends CreateLogGroupRequest {}
22
+ export interface CreateLogGroupCommandOutput extends __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>Creates a log group with the specified name. You can create up to 20,000 log groups per account.</p>
26
+ * <p>You must use the following guidelines when naming a log group:</p>
27
+ * <ul>
28
+ * <li>
29
+ * <p>Log group names must be unique within a region for an Amazon Web Services account.</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>Log group names can be between 1 and 512 characters long.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen),
36
+ * '/' (forward slash), '.' (period), and '#' (number sign)</p>
37
+ * </li>
38
+ * </ul>
39
+ * <p>When you create a log group, by default the log events in the log group never expire. To set
40
+ * a retention policy so that events expire and are deleted after a specified time, use
41
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html">PutRetentionPolicy</a>.</p>
42
+ * <p>If you associate a Key Management Service customer master key (CMK) with the log group, ingested data is encrypted using the CMK.
43
+ * This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs.
44
+ * This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
45
+ * <p>If you attempt to associate a CMK with the log group but the CMK does not exist or the
46
+ * CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>
47
+ * <important>
48
+ * <p>CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with
49
+ * your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
50
+ * Keys</a>.</p>
51
+ * </important>
52
+ * @example
53
+ * Use a bare-bones client and the command you need to make an API call.
54
+ * ```javascript
55
+ * import { CloudWatchLogsClient, CreateLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
56
+ * // const { CloudWatchLogsClient, CreateLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
57
+ * const client = new CloudWatchLogsClient(config);
58
+ * const command = new CreateLogGroupCommand(input);
59
+ * const response = await client.send(command);
60
+ * ```
61
+ *
62
+ * @see {@link CreateLogGroupCommandInput} for command's `input` shape.
63
+ * @see {@link CreateLogGroupCommandOutput} for command's `response` shape.
64
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
65
+ *
66
+ */
67
+ export class CreateLogGroupCommand extends $Command<
68
+ CreateLogGroupCommandInput,
69
+ CreateLogGroupCommandOutput,
70
+ CloudWatchLogsClientResolvedConfig
71
+ > {
72
+ // Start section: command_properties
73
+ // End section: command_properties
74
+
75
+ constructor(readonly input: CreateLogGroupCommandInput) {
76
+ // Start section: command_constructor
77
+ super();
78
+ // End section: command_constructor
79
+ }
80
+
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(
85
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
86
+ configuration: CloudWatchLogsClientResolvedConfig,
87
+ options?: __HttpHandlerOptions
88
+ ): Handler<CreateLogGroupCommandInput, CreateLogGroupCommandOutput> {
89
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
90
+
91
+ const stack = clientStack.concat(this.middlewareStack);
92
+
93
+ const { logger } = configuration;
94
+ const clientName = "CloudWatchLogsClient";
95
+ const commandName = "CreateLogGroupCommand";
96
+ const handlerExecutionContext: HandlerExecutionContext = {
97
+ logger,
98
+ clientName,
99
+ commandName,
100
+ inputFilterSensitiveLog: CreateLogGroupRequest.filterSensitiveLog,
101
+ outputFilterSensitiveLog: (output: any) => output,
102
+ };
103
+ const { requestHandler } = configuration;
104
+ return stack.resolve(
105
+ (request: FinalizeHandlerArguments<any>) =>
106
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
107
+ handlerExecutionContext
108
+ );
109
+ }
110
+
111
+ private serialize(input: CreateLogGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
112
+ return serializeAws_json1_1CreateLogGroupCommand(input, context);
113
+ }
114
+
115
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLogGroupCommandOutput> {
116
+ return deserializeAws_json1_1CreateLogGroupCommand(output, context);
117
+ }
118
+
119
+ // Start section: command_body_extra
120
+ // End section: command_body_extra
121
+ }
@@ -0,0 +1,111 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
15
+ import { CreateLogStreamRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLogStreamCommand,
18
+ serializeAws_json1_1CreateLogStreamCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
21
+ export interface CreateLogStreamCommandInput extends CreateLogStreamRequest {}
22
+ export interface CreateLogStreamCommandOutput extends __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>Creates a log stream for the specified log group. A log stream is a sequence of log events
26
+ * that originate from a single source, such as an application instance or a resource that is
27
+ * being monitored.</p>
28
+ * <p>There is no limit on the number of log streams that you can create for a log group. There is a limit
29
+ * of 50 TPS on <code>CreateLogStream</code> operations, after which transactions are throttled.</p>
30
+ * <p>You must use the following guidelines when naming a log stream:</p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>Log stream names must be unique within the log group.</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>Log stream names can be between 1 and 512 characters long.</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>The ':' (colon) and '*' (asterisk) characters are not allowed.</p>
40
+ * </li>
41
+ * </ul>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { CloudWatchLogsClient, CreateLogStreamCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
46
+ * // const { CloudWatchLogsClient, CreateLogStreamCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
47
+ * const client = new CloudWatchLogsClient(config);
48
+ * const command = new CreateLogStreamCommand(input);
49
+ * const response = await client.send(command);
50
+ * ```
51
+ *
52
+ * @see {@link CreateLogStreamCommandInput} for command's `input` shape.
53
+ * @see {@link CreateLogStreamCommandOutput} for command's `response` shape.
54
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
55
+ *
56
+ */
57
+ export class CreateLogStreamCommand extends $Command<
58
+ CreateLogStreamCommandInput,
59
+ CreateLogStreamCommandOutput,
60
+ CloudWatchLogsClientResolvedConfig
61
+ > {
62
+ // Start section: command_properties
63
+ // End section: command_properties
64
+
65
+ constructor(readonly input: CreateLogStreamCommandInput) {
66
+ // Start section: command_constructor
67
+ super();
68
+ // End section: command_constructor
69
+ }
70
+
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(
75
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
+ configuration: CloudWatchLogsClientResolvedConfig,
77
+ options?: __HttpHandlerOptions
78
+ ): Handler<CreateLogStreamCommandInput, CreateLogStreamCommandOutput> {
79
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
+
81
+ const stack = clientStack.concat(this.middlewareStack);
82
+
83
+ const { logger } = configuration;
84
+ const clientName = "CloudWatchLogsClient";
85
+ const commandName = "CreateLogStreamCommand";
86
+ const handlerExecutionContext: HandlerExecutionContext = {
87
+ logger,
88
+ clientName,
89
+ commandName,
90
+ inputFilterSensitiveLog: CreateLogStreamRequest.filterSensitiveLog,
91
+ outputFilterSensitiveLog: (output: any) => output,
92
+ };
93
+ const { requestHandler } = configuration;
94
+ return stack.resolve(
95
+ (request: FinalizeHandlerArguments<any>) =>
96
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
97
+ handlerExecutionContext
98
+ );
99
+ }
100
+
101
+ private serialize(input: CreateLogStreamCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
102
+ return serializeAws_json1_1CreateLogStreamCommand(input, context);
103
+ }
104
+
105
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLogStreamCommandOutput> {
106
+ return deserializeAws_json1_1CreateLogStreamCommand(output, context);
107
+ }
108
+
109
+ // Start section: command_body_extra
110
+ // End section: command_body_extra
111
+ }
@@ -0,0 +1,97 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
15
+ import { DeleteDestinationRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1DeleteDestinationCommand,
18
+ serializeAws_json1_1DeleteDestinationCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
21
+ export interface DeleteDestinationCommandInput extends DeleteDestinationRequest {}
22
+ export interface DeleteDestinationCommandOutput extends __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>Deletes the specified destination, and eventually disables all the
26
+ * subscription filters that publish to it. This operation does not delete the
27
+ * physical resource encapsulated by the destination.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { CloudWatchLogsClient, DeleteDestinationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
32
+ * // const { CloudWatchLogsClient, DeleteDestinationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
33
+ * const client = new CloudWatchLogsClient(config);
34
+ * const command = new DeleteDestinationCommand(input);
35
+ * const response = await client.send(command);
36
+ * ```
37
+ *
38
+ * @see {@link DeleteDestinationCommandInput} for command's `input` shape.
39
+ * @see {@link DeleteDestinationCommandOutput} for command's `response` shape.
40
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
41
+ *
42
+ */
43
+ export class DeleteDestinationCommand extends $Command<
44
+ DeleteDestinationCommandInput,
45
+ DeleteDestinationCommandOutput,
46
+ CloudWatchLogsClientResolvedConfig
47
+ > {
48
+ // Start section: command_properties
49
+ // End section: command_properties
50
+
51
+ constructor(readonly input: DeleteDestinationCommandInput) {
52
+ // Start section: command_constructor
53
+ super();
54
+ // End section: command_constructor
55
+ }
56
+
57
+ /**
58
+ * @internal
59
+ */
60
+ resolveMiddleware(
61
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
+ configuration: CloudWatchLogsClientResolvedConfig,
63
+ options?: __HttpHandlerOptions
64
+ ): Handler<DeleteDestinationCommandInput, DeleteDestinationCommandOutput> {
65
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
+
67
+ const stack = clientStack.concat(this.middlewareStack);
68
+
69
+ const { logger } = configuration;
70
+ const clientName = "CloudWatchLogsClient";
71
+ const commandName = "DeleteDestinationCommand";
72
+ const handlerExecutionContext: HandlerExecutionContext = {
73
+ logger,
74
+ clientName,
75
+ commandName,
76
+ inputFilterSensitiveLog: DeleteDestinationRequest.filterSensitiveLog,
77
+ outputFilterSensitiveLog: (output: any) => output,
78
+ };
79
+ const { requestHandler } = configuration;
80
+ return stack.resolve(
81
+ (request: FinalizeHandlerArguments<any>) =>
82
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
83
+ handlerExecutionContext
84
+ );
85
+ }
86
+
87
+ private serialize(input: DeleteDestinationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
+ return serializeAws_json1_1DeleteDestinationCommand(input, context);
89
+ }
90
+
91
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDestinationCommandOutput> {
92
+ return deserializeAws_json1_1DeleteDestinationCommand(output, context);
93
+ }
94
+
95
+ // Start section: command_body_extra
96
+ // End section: command_body_extra
97
+ }
@@ -0,0 +1,96 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
15
+ import { DeleteLogGroupRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1DeleteLogGroupCommand,
18
+ serializeAws_json1_1DeleteLogGroupCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
21
+ export interface DeleteLogGroupCommandInput extends DeleteLogGroupRequest {}
22
+ export interface DeleteLogGroupCommandOutput extends __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>Deletes the specified log group and permanently deletes all the archived
26
+ * log events associated with the log group.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudWatchLogsClient, DeleteLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
31
+ * // const { CloudWatchLogsClient, DeleteLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
32
+ * const client = new CloudWatchLogsClient(config);
33
+ * const command = new DeleteLogGroupCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @see {@link DeleteLogGroupCommandInput} for command's `input` shape.
38
+ * @see {@link DeleteLogGroupCommandOutput} for command's `response` shape.
39
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
40
+ *
41
+ */
42
+ export class DeleteLogGroupCommand extends $Command<
43
+ DeleteLogGroupCommandInput,
44
+ DeleteLogGroupCommandOutput,
45
+ CloudWatchLogsClientResolvedConfig
46
+ > {
47
+ // Start section: command_properties
48
+ // End section: command_properties
49
+
50
+ constructor(readonly input: DeleteLogGroupCommandInput) {
51
+ // Start section: command_constructor
52
+ super();
53
+ // End section: command_constructor
54
+ }
55
+
56
+ /**
57
+ * @internal
58
+ */
59
+ resolveMiddleware(
60
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
+ configuration: CloudWatchLogsClientResolvedConfig,
62
+ options?: __HttpHandlerOptions
63
+ ): Handler<DeleteLogGroupCommandInput, DeleteLogGroupCommandOutput> {
64
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
+
66
+ const stack = clientStack.concat(this.middlewareStack);
67
+
68
+ const { logger } = configuration;
69
+ const clientName = "CloudWatchLogsClient";
70
+ const commandName = "DeleteLogGroupCommand";
71
+ const handlerExecutionContext: HandlerExecutionContext = {
72
+ logger,
73
+ clientName,
74
+ commandName,
75
+ inputFilterSensitiveLog: DeleteLogGroupRequest.filterSensitiveLog,
76
+ outputFilterSensitiveLog: (output: any) => output,
77
+ };
78
+ const { requestHandler } = configuration;
79
+ return stack.resolve(
80
+ (request: FinalizeHandlerArguments<any>) =>
81
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
82
+ handlerExecutionContext
83
+ );
84
+ }
85
+
86
+ private serialize(input: DeleteLogGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
+ return serializeAws_json1_1DeleteLogGroupCommand(input, context);
88
+ }
89
+
90
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLogGroupCommandOutput> {
91
+ return deserializeAws_json1_1DeleteLogGroupCommand(output, context);
92
+ }
93
+
94
+ // Start section: command_body_extra
95
+ // End section: command_body_extra
96
+ }
@@ -0,0 +1,96 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
15
+ import { DeleteLogStreamRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1DeleteLogStreamCommand,
18
+ serializeAws_json1_1DeleteLogStreamCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
21
+ export interface DeleteLogStreamCommandInput extends DeleteLogStreamRequest {}
22
+ export interface DeleteLogStreamCommandOutput extends __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>Deletes the specified log stream and permanently deletes all the archived log events associated
26
+ * with the log stream.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CloudWatchLogsClient, DeleteLogStreamCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
31
+ * // const { CloudWatchLogsClient, DeleteLogStreamCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
32
+ * const client = new CloudWatchLogsClient(config);
33
+ * const command = new DeleteLogStreamCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @see {@link DeleteLogStreamCommandInput} for command's `input` shape.
38
+ * @see {@link DeleteLogStreamCommandOutput} for command's `response` shape.
39
+ * @see {@link CloudWatchLogsClientResolvedConfig | config} for command's `input` shape.
40
+ *
41
+ */
42
+ export class DeleteLogStreamCommand extends $Command<
43
+ DeleteLogStreamCommandInput,
44
+ DeleteLogStreamCommandOutput,
45
+ CloudWatchLogsClientResolvedConfig
46
+ > {
47
+ // Start section: command_properties
48
+ // End section: command_properties
49
+
50
+ constructor(readonly input: DeleteLogStreamCommandInput) {
51
+ // Start section: command_constructor
52
+ super();
53
+ // End section: command_constructor
54
+ }
55
+
56
+ /**
57
+ * @internal
58
+ */
59
+ resolveMiddleware(
60
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
+ configuration: CloudWatchLogsClientResolvedConfig,
62
+ options?: __HttpHandlerOptions
63
+ ): Handler<DeleteLogStreamCommandInput, DeleteLogStreamCommandOutput> {
64
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
+
66
+ const stack = clientStack.concat(this.middlewareStack);
67
+
68
+ const { logger } = configuration;
69
+ const clientName = "CloudWatchLogsClient";
70
+ const commandName = "DeleteLogStreamCommand";
71
+ const handlerExecutionContext: HandlerExecutionContext = {
72
+ logger,
73
+ clientName,
74
+ commandName,
75
+ inputFilterSensitiveLog: DeleteLogStreamRequest.filterSensitiveLog,
76
+ outputFilterSensitiveLog: (output: any) => output,
77
+ };
78
+ const { requestHandler } = configuration;
79
+ return stack.resolve(
80
+ (request: FinalizeHandlerArguments<any>) =>
81
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
82
+ handlerExecutionContext
83
+ );
84
+ }
85
+
86
+ private serialize(input: DeleteLogStreamCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
+ return serializeAws_json1_1DeleteLogStreamCommand(input, context);
88
+ }
89
+
90
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLogStreamCommandOutput> {
91
+ return deserializeAws_json1_1DeleteLogStreamCommand(output, context);
92
+ }
93
+
94
+ // Start section: command_body_extra
95
+ // End section: command_body_extra
96
+ }