@aws-sdk/client-cloudwatch-logs 3.362.0 → 3.368.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 (257) hide show
  1. package/dist-cjs/CloudWatchLogs.js +1 -1
  2. package/dist-cjs/CloudWatchLogsClient.js +5 -5
  3. package/dist-cjs/commands/AssociateKmsKeyCommand.js +3 -3
  4. package/dist-cjs/commands/CancelExportTaskCommand.js +3 -3
  5. package/dist-cjs/commands/CreateExportTaskCommand.js +3 -3
  6. package/dist-cjs/commands/CreateLogGroupCommand.js +3 -3
  7. package/dist-cjs/commands/CreateLogStreamCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteAccountPolicyCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteDestinationCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteLogGroupCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteLogStreamCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteMetricFilterCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeAccountPoliciesCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeDestinationsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeExportTasksCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeLogGroupsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeLogStreamsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeMetricFiltersCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeQueriesCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +3 -3
  28. package/dist-cjs/commands/DisassociateKmsKeyCommand.js +3 -3
  29. package/dist-cjs/commands/FilterLogEventsCommand.js +3 -3
  30. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +3 -3
  31. package/dist-cjs/commands/GetLogEventsCommand.js +3 -3
  32. package/dist-cjs/commands/GetLogGroupFieldsCommand.js +3 -3
  33. package/dist-cjs/commands/GetLogRecordCommand.js +3 -3
  34. package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  36. package/dist-cjs/commands/ListTagsLogGroupCommand.js +3 -3
  37. package/dist-cjs/commands/PutAccountPolicyCommand.js +3 -3
  38. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +3 -3
  39. package/dist-cjs/commands/PutDestinationCommand.js +3 -3
  40. package/dist-cjs/commands/PutDestinationPolicyCommand.js +3 -3
  41. package/dist-cjs/commands/PutLogEventsCommand.js +3 -3
  42. package/dist-cjs/commands/PutMetricFilterCommand.js +3 -3
  43. package/dist-cjs/commands/PutQueryDefinitionCommand.js +3 -3
  44. package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
  45. package/dist-cjs/commands/PutRetentionPolicyCommand.js +3 -3
  46. package/dist-cjs/commands/PutSubscriptionFilterCommand.js +3 -3
  47. package/dist-cjs/commands/StartQueryCommand.js +3 -3
  48. package/dist-cjs/commands/StopQueryCommand.js +3 -3
  49. package/dist-cjs/commands/TagLogGroupCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/TestMetricFilterCommand.js +3 -3
  52. package/dist-cjs/commands/UntagLogGroupCommand.js +3 -3
  53. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  54. package/dist-cjs/models/CloudWatchLogsServiceException.js +1 -1
  55. package/dist-cjs/protocols/Aws_json1_1.js +2 -1
  56. package/dist-cjs/runtimeConfig.browser.js +7 -7
  57. package/dist-cjs/runtimeConfig.js +10 -10
  58. package/dist-cjs/runtimeConfig.shared.js +4 -4
  59. package/dist-es/CloudWatchLogs.js +1 -1
  60. package/dist-es/CloudWatchLogsClient.js +5 -5
  61. package/dist-es/commands/AssociateKmsKeyCommand.js +3 -3
  62. package/dist-es/commands/CancelExportTaskCommand.js +3 -3
  63. package/dist-es/commands/CreateExportTaskCommand.js +3 -3
  64. package/dist-es/commands/CreateLogGroupCommand.js +3 -3
  65. package/dist-es/commands/CreateLogStreamCommand.js +3 -3
  66. package/dist-es/commands/DeleteAccountPolicyCommand.js +3 -3
  67. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +3 -3
  68. package/dist-es/commands/DeleteDestinationCommand.js +3 -3
  69. package/dist-es/commands/DeleteLogGroupCommand.js +3 -3
  70. package/dist-es/commands/DeleteLogStreamCommand.js +3 -3
  71. package/dist-es/commands/DeleteMetricFilterCommand.js +3 -3
  72. package/dist-es/commands/DeleteQueryDefinitionCommand.js +3 -3
  73. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
  74. package/dist-es/commands/DeleteRetentionPolicyCommand.js +3 -3
  75. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +3 -3
  76. package/dist-es/commands/DescribeAccountPoliciesCommand.js +3 -3
  77. package/dist-es/commands/DescribeDestinationsCommand.js +3 -3
  78. package/dist-es/commands/DescribeExportTasksCommand.js +3 -3
  79. package/dist-es/commands/DescribeLogGroupsCommand.js +3 -3
  80. package/dist-es/commands/DescribeLogStreamsCommand.js +3 -3
  81. package/dist-es/commands/DescribeMetricFiltersCommand.js +3 -3
  82. package/dist-es/commands/DescribeQueriesCommand.js +3 -3
  83. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +3 -3
  84. package/dist-es/commands/DescribeResourcePoliciesCommand.js +3 -3
  85. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +3 -3
  86. package/dist-es/commands/DisassociateKmsKeyCommand.js +3 -3
  87. package/dist-es/commands/FilterLogEventsCommand.js +3 -3
  88. package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -3
  89. package/dist-es/commands/GetLogEventsCommand.js +3 -3
  90. package/dist-es/commands/GetLogGroupFieldsCommand.js +3 -3
  91. package/dist-es/commands/GetLogRecordCommand.js +3 -3
  92. package/dist-es/commands/GetQueryResultsCommand.js +3 -3
  93. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  94. package/dist-es/commands/ListTagsLogGroupCommand.js +3 -3
  95. package/dist-es/commands/PutAccountPolicyCommand.js +3 -3
  96. package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -3
  97. package/dist-es/commands/PutDestinationCommand.js +3 -3
  98. package/dist-es/commands/PutDestinationPolicyCommand.js +3 -3
  99. package/dist-es/commands/PutLogEventsCommand.js +3 -3
  100. package/dist-es/commands/PutMetricFilterCommand.js +3 -3
  101. package/dist-es/commands/PutQueryDefinitionCommand.js +3 -3
  102. package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
  103. package/dist-es/commands/PutRetentionPolicyCommand.js +3 -3
  104. package/dist-es/commands/PutSubscriptionFilterCommand.js +3 -3
  105. package/dist-es/commands/StartQueryCommand.js +3 -3
  106. package/dist-es/commands/StopQueryCommand.js +3 -3
  107. package/dist-es/commands/TagLogGroupCommand.js +3 -3
  108. package/dist-es/commands/TagResourceCommand.js +3 -3
  109. package/dist-es/commands/TestMetricFilterCommand.js +3 -3
  110. package/dist-es/commands/UntagLogGroupCommand.js +3 -3
  111. package/dist-es/commands/UntagResourceCommand.js +3 -3
  112. package/dist-es/models/CloudWatchLogsServiceException.js +1 -1
  113. package/dist-es/protocols/Aws_json1_1.js +2 -1
  114. package/dist-es/runtimeConfig.browser.js +7 -7
  115. package/dist-es/runtimeConfig.js +10 -10
  116. package/dist-es/runtimeConfig.shared.js +4 -4
  117. package/dist-types/CloudWatchLogs.d.ts +1 -1
  118. package/dist-types/CloudWatchLogsClient.d.ts +8 -8
  119. package/dist-types/commands/AssociateKmsKeyCommand.d.ts +41 -10
  120. package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -3
  121. package/dist-types/commands/CreateExportTaskCommand.d.ts +3 -3
  122. package/dist-types/commands/CreateLogGroupCommand.d.ts +3 -3
  123. package/dist-types/commands/CreateLogStreamCommand.d.ts +3 -3
  124. package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +3 -3
  125. package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +3 -3
  126. package/dist-types/commands/DeleteDestinationCommand.d.ts +3 -3
  127. package/dist-types/commands/DeleteLogGroupCommand.d.ts +3 -3
  128. package/dist-types/commands/DeleteLogStreamCommand.d.ts +3 -3
  129. package/dist-types/commands/DeleteMetricFilterCommand.d.ts +3 -3
  130. package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +3 -3
  131. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  132. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +3 -3
  133. package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +3 -3
  134. package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +3 -3
  135. package/dist-types/commands/DescribeDestinationsCommand.d.ts +3 -3
  136. package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
  137. package/dist-types/commands/DescribeLogGroupsCommand.d.ts +3 -3
  138. package/dist-types/commands/DescribeLogStreamsCommand.d.ts +3 -3
  139. package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +3 -3
  140. package/dist-types/commands/DescribeQueriesCommand.d.ts +3 -3
  141. package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +3 -3
  142. package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +3 -3
  143. package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +3 -3
  144. package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +28 -10
  145. package/dist-types/commands/FilterLogEventsCommand.d.ts +3 -3
  146. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
  147. package/dist-types/commands/GetLogEventsCommand.d.ts +3 -3
  148. package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +3 -3
  149. package/dist-types/commands/GetLogRecordCommand.d.ts +3 -3
  150. package/dist-types/commands/GetQueryResultsCommand.d.ts +4 -3
  151. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  152. package/dist-types/commands/ListTagsLogGroupCommand.d.ts +3 -3
  153. package/dist-types/commands/PutAccountPolicyCommand.d.ts +3 -3
  154. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
  155. package/dist-types/commands/PutDestinationCommand.d.ts +3 -3
  156. package/dist-types/commands/PutDestinationPolicyCommand.d.ts +3 -3
  157. package/dist-types/commands/PutLogEventsCommand.d.ts +3 -3
  158. package/dist-types/commands/PutMetricFilterCommand.d.ts +3 -3
  159. package/dist-types/commands/PutQueryDefinitionCommand.d.ts +3 -3
  160. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
  161. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +3 -3
  162. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +5 -4
  163. package/dist-types/commands/StartQueryCommand.d.ts +12 -3
  164. package/dist-types/commands/StopQueryCommand.d.ts +3 -3
  165. package/dist-types/commands/TagLogGroupCommand.d.ts +3 -3
  166. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  167. package/dist-types/commands/TestMetricFilterCommand.d.ts +3 -3
  168. package/dist-types/commands/UntagLogGroupCommand.d.ts +3 -3
  169. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  170. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  171. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  172. package/dist-types/endpoint/ruleset.d.ts +1 -1
  173. package/dist-types/models/CloudWatchLogsServiceException.d.ts +1 -1
  174. package/dist-types/models/models_0.d.ts +88 -23
  175. package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
  176. package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
  177. package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
  178. package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
  179. package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
  180. package/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
  181. package/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
  182. package/dist-types/pagination/Interfaces.d.ts +1 -1
  183. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  184. package/dist-types/runtimeConfig.d.ts +20 -20
  185. package/dist-types/runtimeConfig.native.d.ts +19 -19
  186. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  187. package/dist-types/ts3.4/CloudWatchLogs.d.ts +1 -1
  188. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +19 -21
  189. package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +3 -3
  190. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +3 -3
  191. package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +3 -3
  192. package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +3 -3
  193. package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +3 -3
  194. package/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +3 -3
  195. package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +3 -3
  196. package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +3 -3
  197. package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +3 -3
  198. package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +3 -3
  199. package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +3 -3
  200. package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +3 -3
  201. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  202. package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +3 -3
  203. package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +3 -3
  204. package/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +3 -3
  205. package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +3 -3
  206. package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +3 -3
  207. package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +3 -3
  208. package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +3 -3
  209. package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +3 -3
  210. package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +3 -3
  211. package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +3 -3
  212. package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +3 -3
  213. package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +3 -3
  214. package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +3 -3
  215. package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +3 -3
  216. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
  217. package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +3 -3
  218. package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +3 -3
  219. package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +3 -3
  220. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +3 -3
  221. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  222. package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +3 -3
  223. package/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +3 -3
  224. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
  225. package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +3 -3
  226. package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +3 -3
  227. package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +3 -3
  228. package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +3 -3
  229. package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +3 -3
  230. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +3 -3
  231. package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +3 -3
  232. package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +3 -3
  233. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +3 -3
  234. package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +3 -3
  235. package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +3 -3
  236. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  237. package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +3 -3
  238. package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +3 -3
  239. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  240. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  241. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  242. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  243. package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +1 -1
  244. package/dist-types/ts3.4/models/models_0.d.ts +6 -3
  245. package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +1 -1
  246. package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
  247. package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
  248. package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
  249. package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
  250. package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +1 -1
  251. package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +1 -1
  252. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  253. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  254. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  255. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  256. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  257. package/package.json +31 -30
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteLogGroupRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteLogStreamRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteMetricFilterRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteQueryDefinitionRequest, DeleteQueryDefinitionResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteResourcePolicyRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteRetentionPolicyRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DeleteSubscriptionFilterRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeAccountPoliciesRequest, DescribeAccountPoliciesResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeDestinationsRequest, DescribeDestinationsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeExportTasksRequest, DescribeExportTasksResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeLogGroupsRequest, DescribeLogGroupsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeLogStreamsRequest, DescribeLogStreamsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeMetricFiltersRequest, DescribeMetricFiltersResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeQueriesRequest, DescribeQueriesResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeQueryDefinitionsRequest, DescribeQueryDefinitionsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeResourcePoliciesRequest, DescribeResourcePoliciesResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DescribeSubscriptionFiltersRequest, DescribeSubscriptionFiltersResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { DisassociateKmsKeyRequest } from "../models/models_0";
6
6
  /**
@@ -23,12 +23,29 @@ export interface DisassociateKmsKeyCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Disassociates the associated KMS key from the specified log
27
- * group.</p>
28
- * <p>After the KMS key is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data
29
- * remains encrypted, and CloudWatch Logs requires permissions for the KMS key
30
- * whenever the encrypted data is requested.</p>
31
- * <p>Note that it can take up to 5 minutes for this operation to take effect.</p>
26
+ * <p>Disassociates the specified KMS key from the specified log
27
+ * group or from all CloudWatch Logs Insights query results in the account.</p>
28
+ * <p>When you use <code>DisassociateKmsKey</code>, you specify either the <code>logGroupName</code> parameter
29
+ * or the <code>resourceIdentifier</code> parameter. You can't specify both of those parameters in the same operation.</p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>Specify the <code>logGroupName</code> parameter to stop using the KMS key
33
+ * to encrypt future log events ingested and stored in the log group. Instead, they will be
34
+ * encrypted with the default CloudWatch Logs method. The log events that were ingested
35
+ * while the key was associated with the log group are still encrypted with that key.
36
+ * Therefore, CloudWatch Logs will need permissions for the key whenever that data is
37
+ * accessed.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>Specify the <code>resourceIdentifier</code> parameter with the <code>query-result</code>
41
+ * resource to stop using the KMS key to encrypt the results of all
42
+ * future <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>
43
+ * operations in the account. They will instead be encrypted with the default CloudWatch Logs method. The results from queries that ran while the key was associated with
44
+ * the account are still encrypted with that key. Therefore, CloudWatch Logs will need
45
+ * permissions for the key whenever that data is accessed.</p>
46
+ * </li>
47
+ * </ul>
48
+ * <p>It can take up to 5 minutes for this operation to take effect.</p>
32
49
  * @example
33
50
  * Use a bare-bones client and the command you need to make an API call.
34
51
  * ```javascript
@@ -36,7 +53,8 @@ export interface DisassociateKmsKeyCommandOutput extends __MetadataBearer {
36
53
  * // const { CloudWatchLogsClient, DisassociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
37
54
  * const client = new CloudWatchLogsClient(config);
38
55
  * const input = { // DisassociateKmsKeyRequest
39
- * logGroupName: "STRING_VALUE", // required
56
+ * logGroupName: "STRING_VALUE",
57
+ * resourceIdentifier: "STRING_VALUE",
40
58
  * };
41
59
  * const command = new DisassociateKmsKeyCommand(input);
42
60
  * const response = await client.send(command);
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { FilterLogEventsRequest, FilterLogEventsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { GetDataProtectionPolicyRequest, GetDataProtectionPolicyResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { GetLogEventsRequest, GetLogEventsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { GetLogGroupFieldsRequest, GetLogGroupFieldsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { GetLogRecordRequest, GetLogRecordResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { GetQueryResultsRequest, GetQueryResultsResponse } from "../models/models_0";
6
6
  /**
@@ -62,6 +62,7 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, _
62
62
  * // bytesScanned: Number("double"),
63
63
  * // },
64
64
  * // status: "Scheduled" || "Running" || "Complete" || "Failed" || "Cancelled" || "Timeout" || "Unknown",
65
+ * // encryptionKey: "STRING_VALUE",
65
66
  * // };
66
67
  *
67
68
  * ```
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { ListTagsLogGroupRequest, ListTagsLogGroupResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutAccountPolicyRequest, PutAccountPolicyResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutDataProtectionPolicyRequest, PutDataProtectionPolicyResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutDestinationRequest, PutDestinationResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutDestinationPolicyRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutLogEventsRequest, PutLogEventsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutMetricFilterRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutQueryDefinitionRequest, PutQueryDefinitionResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutRetentionPolicyRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { PutSubscriptionFilterRequest } from "../models/models_0";
6
6
  /**
@@ -35,7 +35,8 @@ export interface PutSubscriptionFilterCommandOutput extends __MetadataBearer {
35
35
  * filter, for same-account delivery.</p>
36
36
  * </li>
37
37
  * <li>
38
- * <p>A logical destination that belongs to a different account, for cross-account delivery.</p>
38
+ * <p>A logical destination created with <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html">PutDestination</a> that belongs to a different account, for cross-account delivery.
39
+ * We currently support Kinesis Data Streams and Kinesis Data Firehose as logical destinations.</p>
39
40
  * </li>
40
41
  * <li>
41
42
  * <p>An Amazon Kinesis Data Firehose delivery stream that belongs to the same account as
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { StartQueryRequest, StartQueryResponse } from "../models/models_0";
6
6
  /**
@@ -26,6 +26,15 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
26
26
  * <p>Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group
27
27
  * and time range to query and the query string to use.</p>
28
28
  * <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>
29
+ * <p>After you run a query using <code>StartQuery</code>, the query results are stored by CloudWatch Logs.
30
+ * You can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html">GetQueryResults</a> to retrieve
31
+ * the results of a query, using the <code>queryId</code> that <code>StartQuery</code> returns.
32
+ * </p>
33
+ * <p>If you have associated a KMS key with the query results in this account,
34
+ * then
35
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a> uses that key to
36
+ * encrypt the results when it stores them. If no key is associated with query results, the query results are
37
+ * encrypted with the default CloudWatch Logs encryption method.</p>
29
38
  * <p>Queries time out after 60 minutes of runtime. If your queries are timing out, reduce the
30
39
  * time range being searched or partition your query into a number of queries.</p>
31
40
  * <p>If you are using CloudWatch cross-account observability, you can use this operation in a
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { StopQueryRequest, StopQueryResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { TagLogGroupRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { TagResourceRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { TestMetricFilterRequest, TestMetricFilterResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { UntagLogGroupRequest } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
5
5
  import { UntagResourceRequest } from "../models/models_0";
6
6
  /**
@@ -1,5 +1,4 @@
1
- import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
- import { Endpoint, Provider } from "@smithy/types";
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
3
2
  export interface ClientInputEndpointParameters {
4
3
  region?: string | Provider<string>;
5
4
  useDualstackEndpoint?: boolean | Provider<boolean>;