@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 { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DisassociateKmsKeyCommand, se_DisassociateKmsKeyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class DisassociateKmsKeyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_FilterLogEventsCommand, se_FilterLogEventsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class FilterLogEventsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_GetDataProtectionPolicyCommand, se_GetDataProtectionPolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class GetDataProtectionPolicyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_GetLogEventsCommand, se_GetLogEventsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class GetLogEventsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_GetLogGroupFieldsCommand, se_GetLogGroupFieldsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class GetLogGroupFieldsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_GetLogRecordCommand, se_GetLogRecordCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class GetLogRecordCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_GetQueryResultsCommand, se_GetQueryResultsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class GetQueryResultsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ListTagsLogGroupCommand, se_ListTagsLogGroupCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class ListTagsLogGroupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutAccountPolicyCommand, se_PutAccountPolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutAccountPolicyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutDataProtectionPolicyCommand, se_PutDataProtectionPolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutDataProtectionPolicyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutDestinationCommand, se_PutDestinationCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutDestinationCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutDestinationPolicyCommand, se_PutDestinationPolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutDestinationPolicyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutLogEventsCommand, se_PutLogEventsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutLogEventsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutMetricFilterCommand, se_PutMetricFilterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutMetricFilterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutQueryDefinitionCommand, se_PutQueryDefinitionCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutQueryDefinitionCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutRetentionPolicyCommand, se_PutRetentionPolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutRetentionPolicyCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutSubscriptionFilterCommand, se_PutSubscriptionFilterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class PutSubscriptionFilterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_StartQueryCommand, se_StartQueryCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class StartQueryCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_StopQueryCommand, se_StopQueryCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class StopQueryCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_TagLogGroupCommand, se_TagLogGroupCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class TagLogGroupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_TestMetricFilterCommand, se_TestMetricFilterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class TestMetricFilterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_UntagLogGroupCommand, se_UntagLogGroupCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class UntagLogGroupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command {
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
2
  export { __ServiceException };
3
3
  export class CloudWatchLogsServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,5 +1,5 @@
1
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { CloudWatchLogsServiceException as __BaseException } from "../models/CloudWatchLogsServiceException";
4
4
  import { DataAlreadyAcceptedException, InvalidOperationException, InvalidParameterException, InvalidSequenceTokenException, LimitExceededException, MalformedQueryException, OperationAbortedException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceUnavailableException, TooManyTagsException, UnrecognizedClientException, } from "../models/models_0";
5
5
  export const se_AssociateKmsKeyCommand = async (input, context) => {
@@ -2399,6 +2399,7 @@ const de_DescribeMetricFiltersResponse = (output, context) => {
2399
2399
  };
2400
2400
  const de_GetQueryResultsResponse = (output, context) => {
2401
2401
  return take(output, {
2402
+ encryptionKey: __expectString,
2402
2403
  results: _json,
2403
2404
  statistics: (_) => de_QueryStatistics(_, context),
2404
2405
  status: __expectString,
@@ -1,14 +1,14 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
- import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
- import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
3
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -1,18 +1,18 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
- import { Hash } from "@aws-sdk/hash-node";
6
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
- import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
- import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
- import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
11
4
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
13
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
16
  export const getRuntimeConfig = (config) => {
17
17
  emitWarningIfUnsupportedVersion(process.version);
18
18
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -1,7 +1,7 @@
1
- import { NoOpLogger } from "@aws-sdk/smithy-client";
2
- import { parseUrl } from "@aws-sdk/url-parser";
3
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
4
- import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
1
+ import { NoOpLogger } from "@smithy/smithy-client";
2
+ import { parseUrl } from "@smithy/url-parser";
3
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
4
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
6
  export const getRuntimeConfig = (config) => ({
7
7
  apiVersion: "2014-03-28",
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CloudWatchLogsClient } from "./CloudWatchLogsClient";
3
3
  import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
4
4
  import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
@@ -1,13 +1,13 @@
1
- import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
1
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
2
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
3
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
9
8
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
- import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
12
12
  import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
13
13
  import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
@@ -78,7 +78,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
78
78
  */
79
79
  requestHandler?: __HttpHandler;
80
80
  /**
81
- * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
81
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
82
82
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
83
83
  * @internal
84
84
  */
@@ -168,7 +168,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
168
168
  */
169
169
  logger?: __Logger;
170
170
  /**
171
- * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
171
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
172
172
  */
173
173
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
174
174
  }
@@ -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 { AssociateKmsKeyRequest } from "../models/models_0";
6
6
  /**
@@ -23,17 +23,47 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Associates the specified KMS key with the specified log
27
- * group.</p>
28
- * <p>Associating a KMS key with a log group overrides any existing
26
+ * <p>Associates the specified KMS key with either one log group in the account, or with all stored
27
+ * CloudWatch Logs query insights results in the account.</p>
28
+ * <p>When you use <code>AssociateKmsKey</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 cause all log events stored in the log group to
33
+ * be encrypted with that key. Only the log events ingested after the key is associated are encrypted with that key.</p>
34
+ * <p>Associating a KMS key with a log group overrides any existing
29
35
  * associations between the log group and a KMS key. After a KMS key is associated with a log group, all newly ingested data for the log group is encrypted
30
36
  * using the KMS key. This association is stored as long as the data encrypted
31
- * with the KMS keyis still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
37
+ * with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
38
+ * <p>Associating
39
+ * a key with a log group does not cause the results of queries of that log group to be encrypted with that key. To have query
40
+ * results encrypted with a KMS key, you must use an <code>AssociateKmsKey</code> operation with the <code>resourceIdentifier</code>
41
+ * parameter that specifies a <code>query-result</code> resource. </p>
42
+ * </li>
43
+ * <li>
44
+ * <p>Specify the <code>resourceIdentifier</code> parameter with a <code>query-result</code> resource,
45
+ * to use that key to encrypt the stored results of all future
46
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>
47
+ * operations in the account. The response from a
48
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html">GetQueryResults</a>
49
+ * operation will still return
50
+ * the query results in plain text.</p>
51
+ * <p>Even if you have not associated a key with your query results, the query results are encrypted when stored,
52
+ * using the default CloudWatch Logs method.</p>
53
+ * <p>If you run a query from a monitoring account that queries logs in a source account, the
54
+ * query results key from the monitoring account, if any, is used.</p>
55
+ * </li>
56
+ * </ul>
32
57
  * <important>
58
+ * <p>If you delete the key that is used to encrypt log events or log group query results,
59
+ * then all the associated stored log events or query results that were encrypted with that key
60
+ * will be unencryptable and unusable.</p>
61
+ * </important>
62
+ * <note>
33
63
  * <p>CloudWatch Logs supports only symmetric KMS keys. Do not use an associate
34
- * an asymmetric KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
64
+ * an asymmetric KMS key with your log group or query results. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
35
65
  * Symmetric and Asymmetric Keys</a>.</p>
36
- * </important>
66
+ * </note>
37
67
  * <p>It can take up to 5 minutes for this operation to take effect.</p>
38
68
  * <p>If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an
39
69
  * <code>InvalidParameterException</code> error. </p>
@@ -44,8 +74,9 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
44
74
  * // const { CloudWatchLogsClient, AssociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
45
75
  * const client = new CloudWatchLogsClient(config);
46
76
  * const input = { // AssociateKmsKeyRequest
47
- * logGroupName: "STRING_VALUE", // required
77
+ * logGroupName: "STRING_VALUE",
48
78
  * kmsKeyId: "STRING_VALUE", // required
79
+ * resourceIdentifier: "STRING_VALUE",
49
80
  * };
50
81
  * const command = new AssociateKmsKeyCommand(input);
51
82
  * 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 { CancelExportTaskRequest } 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 { CreateExportTaskRequest, CreateExportTaskResponse } 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 { CreateLogGroupRequest } 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 { CreateLogStreamRequest } 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 { DeleteAccountPolicyRequest } 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 { DeleteDataProtectionPolicyRequest } 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 { DeleteDestinationRequest } from "../models/models_0";
6
6
  /**