@aws-sdk/client-cloudtrail 3.33.0 → 3.36.1

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 (275) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CloudTrail.js +0 -19
  3. package/dist-cjs/CloudTrailClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -30
  5. package/{dist/cjs → dist-cjs}/commands/CreateTrailCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/DeleteTrailCommand.js +2 -29
  7. package/{dist/cjs → dist-cjs}/commands/DescribeTrailsCommand.js +2 -27
  8. package/dist-cjs/commands/GetEventSelectorsCommand.js +36 -0
  9. package/dist-cjs/commands/GetInsightSelectorsCommand.js +36 -0
  10. package/{dist/cjs → dist-cjs}/commands/GetTrailCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/GetTrailStatusCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListPublicKeysCommand.js +2 -32
  13. package/{dist/cjs → dist-cjs}/commands/ListTagsCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/ListTrailsCommand.js +2 -27
  15. package/dist-cjs/commands/LookupEventsCommand.js +36 -0
  16. package/dist-cjs/commands/PutEventSelectorsCommand.js +36 -0
  17. package/{dist/cjs → dist-cjs}/commands/PutInsightSelectorsCommand.js +2 -30
  18. package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/StartLoggingCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/StopLoggingCommand.js +2 -33
  21. package/{dist/cjs → dist-cjs}/commands/UpdateTrailCommand.js +2 -32
  22. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  23. package/{dist/cjs → dist-cjs}/index.js +0 -1
  24. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  25. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -280
  26. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  27. package/{dist/cjs → dist-cjs}/pagination/ListPublicKeysPaginator.js +0 -11
  28. package/{dist/cjs → dist-cjs}/pagination/ListTagsPaginator.js +0 -11
  29. package/{dist/cjs → dist-cjs}/pagination/ListTrailsPaginator.js +0 -11
  30. package/{dist/cjs → dist-cjs}/pagination/LookupEventsPaginator.js +0 -11
  31. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  33. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  35. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  36. package/{dist/es → dist-es}/CloudTrail.js +1 -20
  37. package/dist-es/CloudTrailClient.js +37 -0
  38. package/{dist/es → dist-es}/commands/AddTagsCommand.js +4 -33
  39. package/{dist/es → dist-es}/commands/CreateTrailCommand.js +4 -31
  40. package/{dist/es → dist-es}/commands/DeleteTrailCommand.js +4 -32
  41. package/{dist/es → dist-es}/commands/DescribeTrailsCommand.js +4 -30
  42. package/dist-es/commands/GetEventSelectorsCommand.js +39 -0
  43. package/{dist/es → dist-es}/commands/GetInsightSelectorsCommand.js +4 -36
  44. package/{dist/es → dist-es}/commands/GetTrailCommand.js +4 -30
  45. package/{dist/es → dist-es}/commands/GetTrailStatusCommand.js +4 -30
  46. package/{dist/es → dist-es}/commands/ListPublicKeysCommand.js +4 -35
  47. package/{dist/es → dist-es}/commands/ListTagsCommand.js +4 -30
  48. package/{dist/es → dist-es}/commands/ListTrailsCommand.js +4 -30
  49. package/dist-es/commands/LookupEventsCommand.js +39 -0
  50. package/dist-es/commands/PutEventSelectorsCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/PutInsightSelectorsCommand.js +4 -33
  52. package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/StartLoggingCommand.js +4 -30
  54. package/{dist/es → dist-es}/commands/StopLoggingCommand.js +4 -36
  55. package/{dist/es → dist-es}/commands/UpdateTrailCommand.js +4 -35
  56. package/{dist/es → dist-es}/endpoints.js +1 -2
  57. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  58. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  59. package/{dist/es → dist-es}/models/models_0.js +0 -280
  60. package/dist-es/pagination/Interfaces.js +1 -0
  61. package/{dist/es → dist-es}/pagination/ListPublicKeysPaginator.js +16 -29
  62. package/{dist/es → dist-es}/pagination/ListTagsPaginator.js +16 -29
  63. package/{dist/es → dist-es}/pagination/ListTrailsPaginator.js +16 -29
  64. package/{dist/es → dist-es}/pagination/LookupEventsPaginator.js +16 -29
  65. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +788 -794
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  67. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  68. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  69. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  70. package/{dist/types → dist-types}/CloudTrail.d.ts +1 -1
  71. package/{dist/types → dist-types}/CloudTrailClient.d.ts +8 -8
  72. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/CreateTrailCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/DeleteTrailCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/DescribeTrailsCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/GetEventSelectorsCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/GetInsightSelectorsCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/commands/GetTrailCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/commands/GetTrailStatusCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/commands/ListPublicKeysCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/ListTagsCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/ListTrailsCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/LookupEventsCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/PutEventSelectorsCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/PutInsightSelectorsCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/StartLoggingCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/StopLoggingCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/UpdateTrailCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  91. package/{index.ts → dist-types/index.d.ts} +0 -0
  92. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  93. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  94. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  95. package/{dist/types → dist-types}/pagination/ListPublicKeysPaginator.d.ts +1 -1
  96. package/{dist/types → dist-types}/pagination/ListTagsPaginator.d.ts +1 -1
  97. package/{dist/types → dist-types}/pagination/ListTrailsPaginator.d.ts +1 -1
  98. package/{dist/types → dist-types}/pagination/LookupEventsPaginator.d.ts +1 -1
  99. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  100. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  101. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  102. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  103. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  104. package/dist-types/ts3.4/CloudTrail.d.ts +95 -0
  105. package/{dist/types → dist-types}/ts3.4/CloudTrailClient.d.ts +32 -112
  106. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +17 -0
  124. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  125. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  126. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +1181 -0
  128. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  129. package/{dist/types → dist-types}/ts3.4/pagination/ListPublicKeysPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/ts3.4/pagination/ListTrailsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/ts3.4/pagination/LookupEventsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  135. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  136. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  137. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  138. package/package.json +52 -49
  139. package/CloudTrail.ts +0 -730
  140. package/CloudTrailClient.ts +0 -310
  141. package/commands/AddTagsCommand.ts +0 -94
  142. package/commands/CreateTrailCommand.ts +0 -95
  143. package/commands/DeleteTrailCommand.ts +0 -96
  144. package/commands/DescribeTrailsCommand.ts +0 -94
  145. package/commands/GetEventSelectorsCommand.ts +0 -110
  146. package/commands/GetInsightSelectorsCommand.ts +0 -100
  147. package/commands/GetTrailCommand.ts +0 -91
  148. package/commands/GetTrailStatusCommand.ts +0 -94
  149. package/commands/ListPublicKeysCommand.ts +0 -99
  150. package/commands/ListTagsCommand.ts +0 -91
  151. package/commands/ListTrailsCommand.ts +0 -94
  152. package/commands/LookupEventsCommand.ts +0 -141
  153. package/commands/PutEventSelectorsCommand.ts +0 -138
  154. package/commands/PutInsightSelectorsCommand.ts +0 -97
  155. package/commands/RemoveTagsCommand.ts +0 -94
  156. package/commands/StartLoggingCommand.ts +0 -94
  157. package/commands/StopLoggingCommand.ts +0 -100
  158. package/commands/UpdateTrailCommand.ts +0 -99
  159. package/dist/cjs/CloudTrail.js.map +0 -1
  160. package/dist/cjs/CloudTrailClient.js +0 -59
  161. package/dist/cjs/CloudTrailClient.js.map +0 -1
  162. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  163. package/dist/cjs/commands/CreateTrailCommand.js.map +0 -1
  164. package/dist/cjs/commands/DeleteTrailCommand.js.map +0 -1
  165. package/dist/cjs/commands/DescribeTrailsCommand.js.map +0 -1
  166. package/dist/cjs/commands/GetEventSelectorsCommand.js +0 -77
  167. package/dist/cjs/commands/GetEventSelectorsCommand.js.map +0 -1
  168. package/dist/cjs/commands/GetInsightSelectorsCommand.js +0 -67
  169. package/dist/cjs/commands/GetInsightSelectorsCommand.js.map +0 -1
  170. package/dist/cjs/commands/GetTrailCommand.js.map +0 -1
  171. package/dist/cjs/commands/GetTrailStatusCommand.js.map +0 -1
  172. package/dist/cjs/commands/ListPublicKeysCommand.js.map +0 -1
  173. package/dist/cjs/commands/ListTagsCommand.js.map +0 -1
  174. package/dist/cjs/commands/ListTrailsCommand.js.map +0 -1
  175. package/dist/cjs/commands/LookupEventsCommand.js +0 -108
  176. package/dist/cjs/commands/LookupEventsCommand.js.map +0 -1
  177. package/dist/cjs/commands/PutEventSelectorsCommand.js +0 -105
  178. package/dist/cjs/commands/PutEventSelectorsCommand.js.map +0 -1
  179. package/dist/cjs/commands/PutInsightSelectorsCommand.js.map +0 -1
  180. package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
  181. package/dist/cjs/commands/StartLoggingCommand.js.map +0 -1
  182. package/dist/cjs/commands/StopLoggingCommand.js.map +0 -1
  183. package/dist/cjs/commands/UpdateTrailCommand.js.map +0 -1
  184. package/dist/cjs/endpoints.js.map +0 -1
  185. package/dist/cjs/index.js.map +0 -1
  186. package/dist/cjs/models/index.js.map +0 -1
  187. package/dist/cjs/models/models_0.js.map +0 -1
  188. package/dist/cjs/package.json +0 -91
  189. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  190. package/dist/cjs/pagination/ListPublicKeysPaginator.js.map +0 -1
  191. package/dist/cjs/pagination/ListTagsPaginator.js.map +0 -1
  192. package/dist/cjs/pagination/ListTrailsPaginator.js.map +0 -1
  193. package/dist/cjs/pagination/LookupEventsPaginator.js.map +0 -1
  194. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  195. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  196. package/dist/cjs/runtimeConfig.js.map +0 -1
  197. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  198. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  199. package/dist/es/CloudTrail.js.map +0 -1
  200. package/dist/es/CloudTrailClient.js +0 -61
  201. package/dist/es/CloudTrailClient.js.map +0 -1
  202. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  203. package/dist/es/commands/CreateTrailCommand.js.map +0 -1
  204. package/dist/es/commands/DeleteTrailCommand.js.map +0 -1
  205. package/dist/es/commands/DescribeTrailsCommand.js.map +0 -1
  206. package/dist/es/commands/GetEventSelectorsCommand.js +0 -81
  207. package/dist/es/commands/GetEventSelectorsCommand.js.map +0 -1
  208. package/dist/es/commands/GetInsightSelectorsCommand.js.map +0 -1
  209. package/dist/es/commands/GetTrailCommand.js.map +0 -1
  210. package/dist/es/commands/GetTrailStatusCommand.js.map +0 -1
  211. package/dist/es/commands/ListPublicKeysCommand.js.map +0 -1
  212. package/dist/es/commands/ListTagsCommand.js.map +0 -1
  213. package/dist/es/commands/ListTrailsCommand.js.map +0 -1
  214. package/dist/es/commands/LookupEventsCommand.js +0 -112
  215. package/dist/es/commands/LookupEventsCommand.js.map +0 -1
  216. package/dist/es/commands/PutEventSelectorsCommand.js +0 -109
  217. package/dist/es/commands/PutEventSelectorsCommand.js.map +0 -1
  218. package/dist/es/commands/PutInsightSelectorsCommand.js.map +0 -1
  219. package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
  220. package/dist/es/commands/StartLoggingCommand.js.map +0 -1
  221. package/dist/es/commands/StopLoggingCommand.js.map +0 -1
  222. package/dist/es/commands/UpdateTrailCommand.js.map +0 -1
  223. package/dist/es/endpoints.js.map +0 -1
  224. package/dist/es/index.js +0 -27
  225. package/dist/es/index.js.map +0 -1
  226. package/dist/es/models/index.js +0 -2
  227. package/dist/es/models/index.js.map +0 -1
  228. package/dist/es/models/models_0.js.map +0 -1
  229. package/dist/es/package.json +0 -91
  230. package/dist/es/pagination/Interfaces.js +0 -2
  231. package/dist/es/pagination/Interfaces.js.map +0 -1
  232. package/dist/es/pagination/ListPublicKeysPaginator.js.map +0 -1
  233. package/dist/es/pagination/ListTagsPaginator.js.map +0 -1
  234. package/dist/es/pagination/ListTrailsPaginator.js.map +0 -1
  235. package/dist/es/pagination/LookupEventsPaginator.js.map +0 -1
  236. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  237. package/dist/es/runtimeConfig.browser.js.map +0 -1
  238. package/dist/es/runtimeConfig.js.map +0 -1
  239. package/dist/es/runtimeConfig.native.js.map +0 -1
  240. package/dist/es/runtimeConfig.shared.js.map +0 -1
  241. package/dist/types/ts3.4/CloudTrail.d.ts +0 -286
  242. package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -38
  243. package/dist/types/ts3.4/commands/CreateTrailCommand.d.ts +0 -36
  244. package/dist/types/ts3.4/commands/DeleteTrailCommand.d.ts +0 -37
  245. package/dist/types/ts3.4/commands/DescribeTrailsCommand.d.ts +0 -35
  246. package/dist/types/ts3.4/commands/GetEventSelectorsCommand.d.ts +0 -51
  247. package/dist/types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +0 -41
  248. package/dist/types/ts3.4/commands/GetTrailCommand.d.ts +0 -35
  249. package/dist/types/ts3.4/commands/GetTrailStatusCommand.d.ts +0 -35
  250. package/dist/types/ts3.4/commands/ListPublicKeysCommand.d.ts +0 -40
  251. package/dist/types/ts3.4/commands/ListTagsCommand.d.ts +0 -35
  252. package/dist/types/ts3.4/commands/ListTrailsCommand.d.ts +0 -35
  253. package/dist/types/ts3.4/commands/LookupEventsCommand.d.ts +0 -82
  254. package/dist/types/ts3.4/commands/PutEventSelectorsCommand.d.ts +0 -79
  255. package/dist/types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +0 -38
  256. package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
  257. package/dist/types/ts3.4/commands/StartLoggingCommand.d.ts +0 -35
  258. package/dist/types/ts3.4/commands/StopLoggingCommand.d.ts +0 -41
  259. package/dist/types/ts3.4/commands/UpdateTrailCommand.d.ts +0 -40
  260. package/dist/types/ts3.4/models/models_0.d.ts +0 -2668
  261. package/endpoints.ts +0 -86
  262. package/jest.config.js +0 -4
  263. package/models/models_0.ts +0 -3167
  264. package/pagination/Interfaces.ts +0 -7
  265. package/pagination/ListPublicKeysPaginator.ts +0 -57
  266. package/pagination/ListTagsPaginator.ts +0 -53
  267. package/pagination/ListTrailsPaginator.ts +0 -53
  268. package/pagination/LookupEventsPaginator.ts +0 -58
  269. package/protocols/Aws_json1_1.ts +0 -4521
  270. package/runtimeConfig.browser.ts +0 -40
  271. package/runtimeConfig.native.ts +0 -16
  272. package/runtimeConfig.shared.ts +0 -16
  273. package/runtimeConfig.ts +0 -45
  274. package/tsconfig.es.json +0 -12
  275. package/tsconfig.json +0 -32
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
- /**
13
- * @internal
14
- */
15
12
  export var getRuntimeConfig = function (config) {
16
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
14
  var clientSharedValues = getSharedRuntimeConfig(config);
18
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
19
16
  };
20
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -13,13 +13,9 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
- /**
17
- * @internal
18
- */
19
16
  export var getRuntimeConfig = function (config) {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
18
  emitWarningIfUnsupportedVersion(process.version);
22
19
  var clientSharedValues = getSharedRuntimeConfig(config);
23
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
24
21
  };
25
- //# sourceMappingURL=runtimeConfig.js.map
@@ -1,12 +1,8 @@
1
1
  import { __assign } from "tslib";
2
2
  import { Sha256 } from "@aws-crypto/sha256-js";
3
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
- /**
5
- * @internal
6
- */
7
4
  export var getRuntimeConfig = function (config) {
8
5
  var _a;
9
6
  var browserDefaults = getBrowserRuntimeConfig(config);
10
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
11
8
  };
12
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
3
- /**
4
- * @internal
5
- */
2
+ import { defaultRegionInfoProvider } from "./endpoints";
6
3
  export var getRuntimeConfig = function (config) {
7
4
  var _a, _b, _c, _d, _e;
8
5
  return ({
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
14
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
15
12
  });
16
13
  };
17
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,3 +1,4 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
2
  import { CloudTrailClient } from "./CloudTrailClient";
2
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
3
4
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
@@ -17,7 +18,6 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
17
18
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
18
19
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
19
20
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
20
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
21
21
  /**
22
22
  * <fullname>CloudTrail</fullname>
23
23
  * <p>This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.</p>
@@ -1,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
2
10
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
3
11
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
@@ -16,14 +24,6 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
16
24
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
17
25
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
18
26
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
19
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
20
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
21
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
22
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
23
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
24
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
25
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
26
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
27
27
  export declare type ServiceInputTypes = AddTagsCommandInput | CreateTrailCommandInput | DeleteTrailCommandInput | DescribeTrailsCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListPublicKeysCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | StartLoggingCommandInput | StopLoggingCommandInput | UpdateTrailCommandInput;
28
28
  export declare type ServiceOutputTypes = AddTagsCommandOutput | CreateTrailCommandOutput | DeleteTrailCommandOutput | DescribeTrailsCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListPublicKeysCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | StartLoggingCommandOutput | StopLoggingCommandOutput | UpdateTrailCommandOutput;
29
29
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { AddTagsRequest, AddTagsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface AddTagsCommandInput extends AddTagsRequest {
6
6
  }
7
7
  export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { CreateTrailRequest, CreateTrailResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateTrailCommandInput extends CreateTrailRequest {
6
6
  }
7
7
  export interface CreateTrailCommandOutput extends CreateTrailResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { DeleteTrailRequest, DeleteTrailResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteTrailCommandInput extends DeleteTrailRequest {
6
6
  }
7
7
  export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { DescribeTrailsRequest, DescribeTrailsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeTrailsCommandInput extends DescribeTrailsRequest {
6
6
  }
7
7
  export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { GetEventSelectorsRequest, GetEventSelectorsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetEventSelectorsCommandInput extends GetEventSelectorsRequest {
6
6
  }
7
7
  export interface GetEventSelectorsCommandOutput extends GetEventSelectorsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { GetInsightSelectorsRequest, GetInsightSelectorsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetInsightSelectorsCommandInput extends GetInsightSelectorsRequest {
6
6
  }
7
7
  export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { GetTrailRequest, GetTrailResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetTrailCommandInput extends GetTrailRequest {
6
6
  }
7
7
  export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { GetTrailStatusRequest, GetTrailStatusResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetTrailStatusCommandInput extends GetTrailStatusRequest {
6
6
  }
7
7
  export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { ListPublicKeysRequest, ListPublicKeysResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListPublicKeysCommandInput extends ListPublicKeysRequest {
6
6
  }
7
7
  export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { ListTagsRequest, ListTagsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListTagsCommandInput extends ListTagsRequest {
6
6
  }
7
7
  export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { ListTrailsRequest, ListTrailsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListTrailsCommandInput extends ListTrailsRequest {
6
6
  }
7
7
  export interface ListTrailsCommandOutput extends ListTrailsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { LookupEventsRequest, LookupEventsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface LookupEventsCommandInput extends LookupEventsRequest {
6
6
  }
7
7
  export interface LookupEventsCommandOutput extends LookupEventsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { PutEventSelectorsRequest, PutEventSelectorsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface PutEventSelectorsCommandInput extends PutEventSelectorsRequest {
6
6
  }
7
7
  export interface PutEventSelectorsCommandOutput extends PutEventSelectorsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { PutInsightSelectorsRequest, PutInsightSelectorsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface PutInsightSelectorsCommandInput extends PutInsightSelectorsRequest {
6
6
  }
7
7
  export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { RemoveTagsRequest, RemoveTagsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface RemoveTagsCommandInput extends RemoveTagsRequest {
6
6
  }
7
7
  export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { StartLoggingRequest, StartLoggingResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface StartLoggingCommandInput extends StartLoggingRequest {
6
6
  }
7
7
  export interface StartLoggingCommandOutput extends StartLoggingResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { StopLoggingRequest, StopLoggingResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface StopLoggingCommandInput extends StopLoggingRequest {
6
6
  }
7
7
  export interface StopLoggingCommandOutput extends StopLoggingResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
2
4
  import { UpdateTrailRequest, UpdateTrailResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UpdateTrailCommandInput extends UpdateTrailRequest {
6
6
  }
7
7
  export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { CloudTrail } from "../CloudTrail";
2
3
  import { CloudTrailClient } from "../CloudTrailClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface CloudTrailPaginationConfiguration extends PaginationConfiguration {
5
5
  client: CloudTrail | CloudTrailClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "../commands/ListPublicKeysCommand";
2
3
  import { CloudTrailPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListPublicKeys(config: CloudTrailPaginationConfiguration, input: ListPublicKeysCommandInput, ...additionalArguments: any): Paginator<ListPublicKeysCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand";
2
3
  import { CloudTrailPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListTags(config: CloudTrailPaginationConfiguration, input: ListTagsCommandInput, ...additionalArguments: any): Paginator<ListTagsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListTrailsCommandInput, ListTrailsCommandOutput } from "../commands/ListTrailsCommand";
2
3
  import { CloudTrailPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListTrails(config: CloudTrailPaginationConfiguration, input: ListTrailsCommandInput, ...additionalArguments: any): Paginator<ListTrailsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "../commands/LookupEventsCommand";
2
3
  import { CloudTrailPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateLookupEvents(config: CloudTrailPaginationConfiguration, input: LookupEventsCommandInput, ...additionalArguments: any): Paginator<LookupEventsCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
2
4
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "../commands/CreateTrailCommand";
3
5
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "../commands/DeleteTrailCommand";
@@ -16,8 +18,6 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/Rem
16
18
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "../commands/StartLoggingCommand";
17
19
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "../commands/StopLoggingCommand";
18
20
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "../commands/UpdateTrailCommand";
19
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
20
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
21
21
  export declare const serializeAws_json1_1AddTagsCommand: (input: AddTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
22
  export declare const serializeAws_json1_1CreateTrailCommand: (input: CreateTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
23
  export declare const serializeAws_json1_1DeleteTrailCommand: (input: DeleteTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -0,0 +1,95 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CloudTrailClient } from "./CloudTrailClient";
3
+ import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
+ import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
5
+ import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
6
+ import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
7
+ import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
8
+ import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
9
+ import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
10
+ import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
11
+ import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
12
+ import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
13
+ import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
14
+ import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
15
+ import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
16
+ import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
17
+ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
18
+ import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
19
+ import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
20
+ import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
21
+
22
+ export declare class CloudTrail extends CloudTrailClient {
23
+
24
+ addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsCommandOutput>;
25
+ addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
26
+ addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
27
+
28
+ createTrail(args: CreateTrailCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrailCommandOutput>;
29
+ createTrail(args: CreateTrailCommandInput, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
30
+ createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
31
+
32
+ deleteTrail(args: DeleteTrailCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTrailCommandOutput>;
33
+ deleteTrail(args: DeleteTrailCommandInput, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
34
+ deleteTrail(args: DeleteTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
35
+
36
+ describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrailsCommandOutput>;
37
+ describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
38
+ describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
39
+
40
+ getEventSelectors(args: GetEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetEventSelectorsCommandOutput>;
41
+ getEventSelectors(args: GetEventSelectorsCommandInput, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
42
+ getEventSelectors(args: GetEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
43
+
44
+ getInsightSelectors(args: GetInsightSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetInsightSelectorsCommandOutput>;
45
+ getInsightSelectors(args: GetInsightSelectorsCommandInput, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
46
+ getInsightSelectors(args: GetInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
47
+
48
+ getTrail(args: GetTrailCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailCommandOutput>;
49
+ getTrail(args: GetTrailCommandInput, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
50
+ getTrail(args: GetTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
51
+
52
+ getTrailStatus(args: GetTrailStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailStatusCommandOutput>;
53
+ getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
54
+ getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
55
+
56
+ listPublicKeys(args: ListPublicKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListPublicKeysCommandOutput>;
57
+ listPublicKeys(args: ListPublicKeysCommandInput, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
58
+ listPublicKeys(args: ListPublicKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
59
+
60
+ listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
61
+ listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
62
+ listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
63
+
64
+ listTrails(args: ListTrailsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrailsCommandOutput>;
65
+ listTrails(args: ListTrailsCommandInput, cb: (err: any, data?: ListTrailsCommandOutput) => void): void;
66
+ listTrails(args: ListTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrailsCommandOutput) => void): void;
67
+
68
+ lookupEvents(args: LookupEventsCommandInput, options?: __HttpHandlerOptions): Promise<LookupEventsCommandOutput>;
69
+ lookupEvents(args: LookupEventsCommandInput, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
70
+ lookupEvents(args: LookupEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
71
+
72
+ putEventSelectors(args: PutEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<PutEventSelectorsCommandOutput>;
73
+ putEventSelectors(args: PutEventSelectorsCommandInput, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void;
74
+ putEventSelectors(args: PutEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void;
75
+
76
+ putInsightSelectors(args: PutInsightSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<PutInsightSelectorsCommandOutput>;
77
+ putInsightSelectors(args: PutInsightSelectorsCommandInput, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void;
78
+ putInsightSelectors(args: PutInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void;
79
+
80
+ removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsCommandOutput>;
81
+ removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
82
+ removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
83
+
84
+ startLogging(args: StartLoggingCommandInput, options?: __HttpHandlerOptions): Promise<StartLoggingCommandOutput>;
85
+ startLogging(args: StartLoggingCommandInput, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
86
+ startLogging(args: StartLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
87
+
88
+ stopLogging(args: StopLoggingCommandInput, options?: __HttpHandlerOptions): Promise<StopLoggingCommandOutput>;
89
+ stopLogging(args: StopLoggingCommandInput, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
90
+ stopLogging(args: StopLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
91
+
92
+ updateTrail(args: UpdateTrailCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTrailCommandOutput>;
93
+ updateTrail(args: UpdateTrailCommandInput, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void;
94
+ updateTrail(args: UpdateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void;
95
+ }