@aws-sdk/client-cloudtrail 3.1077.0 → 3.1078.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 (188) hide show
  1. package/dist-cjs/index.js +68 -603
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddTagsCommand.js +2 -14
  4. package/dist-es/commands/CancelQueryCommand.js +2 -14
  5. package/dist-es/commands/CreateChannelCommand.js +2 -14
  6. package/dist-es/commands/CreateDashboardCommand.js +2 -14
  7. package/dist-es/commands/CreateEventDataStoreCommand.js +2 -14
  8. package/dist-es/commands/CreateTrailCommand.js +2 -14
  9. package/dist-es/commands/DeleteChannelCommand.js +2 -14
  10. package/dist-es/commands/DeleteDashboardCommand.js +2 -14
  11. package/dist-es/commands/DeleteEventDataStoreCommand.js +2 -14
  12. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  13. package/dist-es/commands/DeleteTrailCommand.js +2 -14
  14. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +2 -14
  15. package/dist-es/commands/DescribeQueryCommand.js +2 -14
  16. package/dist-es/commands/DescribeTrailsCommand.js +2 -14
  17. package/dist-es/commands/DisableFederationCommand.js +2 -14
  18. package/dist-es/commands/EnableFederationCommand.js +2 -14
  19. package/dist-es/commands/GenerateQueryCommand.js +2 -14
  20. package/dist-es/commands/GetChannelCommand.js +2 -14
  21. package/dist-es/commands/GetDashboardCommand.js +2 -14
  22. package/dist-es/commands/GetEventConfigurationCommand.js +2 -14
  23. package/dist-es/commands/GetEventDataStoreCommand.js +2 -14
  24. package/dist-es/commands/GetEventSelectorsCommand.js +2 -14
  25. package/dist-es/commands/GetImportCommand.js +2 -14
  26. package/dist-es/commands/GetInsightSelectorsCommand.js +2 -14
  27. package/dist-es/commands/GetQueryResultsCommand.js +2 -14
  28. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  29. package/dist-es/commands/GetTrailCommand.js +2 -14
  30. package/dist-es/commands/GetTrailStatusCommand.js +2 -14
  31. package/dist-es/commands/ListChannelsCommand.js +2 -14
  32. package/dist-es/commands/ListDashboardsCommand.js +2 -14
  33. package/dist-es/commands/ListEventDataStoresCommand.js +2 -14
  34. package/dist-es/commands/ListImportFailuresCommand.js +2 -14
  35. package/dist-es/commands/ListImportsCommand.js +2 -14
  36. package/dist-es/commands/ListInsightsDataCommand.js +2 -14
  37. package/dist-es/commands/ListInsightsMetricDataCommand.js +2 -14
  38. package/dist-es/commands/ListPublicKeysCommand.js +2 -14
  39. package/dist-es/commands/ListQueriesCommand.js +2 -14
  40. package/dist-es/commands/ListTagsCommand.js +2 -14
  41. package/dist-es/commands/ListTrailsCommand.js +2 -14
  42. package/dist-es/commands/LookupEventsCommand.js +2 -14
  43. package/dist-es/commands/PutEventConfigurationCommand.js +2 -14
  44. package/dist-es/commands/PutEventSelectorsCommand.js +2 -14
  45. package/dist-es/commands/PutInsightSelectorsCommand.js +2 -14
  46. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  47. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +2 -14
  48. package/dist-es/commands/RemoveTagsCommand.js +2 -14
  49. package/dist-es/commands/RestoreEventDataStoreCommand.js +2 -14
  50. package/dist-es/commands/SearchSampleQueriesCommand.js +2 -14
  51. package/dist-es/commands/StartDashboardRefreshCommand.js +2 -14
  52. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +2 -14
  53. package/dist-es/commands/StartImportCommand.js +2 -14
  54. package/dist-es/commands/StartLoggingCommand.js +2 -14
  55. package/dist-es/commands/StartQueryCommand.js +2 -14
  56. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +2 -14
  57. package/dist-es/commands/StopImportCommand.js +2 -14
  58. package/dist-es/commands/StopLoggingCommand.js +2 -14
  59. package/dist-es/commands/UpdateChannelCommand.js +2 -14
  60. package/dist-es/commands/UpdateDashboardCommand.js +2 -14
  61. package/dist-es/commands/UpdateEventDataStoreCommand.js +2 -14
  62. package/dist-es/commands/UpdateTrailCommand.js +2 -14
  63. package/dist-es/index.js +1 -0
  64. package/dist-types/commandBuilder.d.ts +18 -0
  65. package/dist-types/commands/AddTagsCommand.d.ts +3 -8
  66. package/dist-types/commands/CancelQueryCommand.d.ts +3 -8
  67. package/dist-types/commands/CreateChannelCommand.d.ts +3 -8
  68. package/dist-types/commands/CreateDashboardCommand.d.ts +3 -8
  69. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +3 -8
  70. package/dist-types/commands/CreateTrailCommand.d.ts +3 -8
  71. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -8
  72. package/dist-types/commands/DeleteDashboardCommand.d.ts +3 -8
  73. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +3 -8
  74. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  75. package/dist-types/commands/DeleteTrailCommand.d.ts +3 -8
  76. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeQueryCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeTrailsCommand.d.ts +3 -8
  79. package/dist-types/commands/DisableFederationCommand.d.ts +3 -8
  80. package/dist-types/commands/EnableFederationCommand.d.ts +3 -8
  81. package/dist-types/commands/GenerateQueryCommand.d.ts +3 -8
  82. package/dist-types/commands/GetChannelCommand.d.ts +3 -8
  83. package/dist-types/commands/GetDashboardCommand.d.ts +3 -8
  84. package/dist-types/commands/GetEventConfigurationCommand.d.ts +3 -8
  85. package/dist-types/commands/GetEventDataStoreCommand.d.ts +3 -8
  86. package/dist-types/commands/GetEventSelectorsCommand.d.ts +3 -8
  87. package/dist-types/commands/GetImportCommand.d.ts +3 -8
  88. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +3 -8
  89. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -8
  90. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  91. package/dist-types/commands/GetTrailCommand.d.ts +3 -8
  92. package/dist-types/commands/GetTrailStatusCommand.d.ts +3 -8
  93. package/dist-types/commands/ListChannelsCommand.d.ts +3 -8
  94. package/dist-types/commands/ListDashboardsCommand.d.ts +3 -8
  95. package/dist-types/commands/ListEventDataStoresCommand.d.ts +3 -8
  96. package/dist-types/commands/ListImportFailuresCommand.d.ts +3 -8
  97. package/dist-types/commands/ListImportsCommand.d.ts +3 -8
  98. package/dist-types/commands/ListInsightsDataCommand.d.ts +3 -8
  99. package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +3 -8
  100. package/dist-types/commands/ListPublicKeysCommand.d.ts +3 -8
  101. package/dist-types/commands/ListQueriesCommand.d.ts +3 -8
  102. package/dist-types/commands/ListTagsCommand.d.ts +3 -8
  103. package/dist-types/commands/ListTrailsCommand.d.ts +3 -8
  104. package/dist-types/commands/LookupEventsCommand.d.ts +3 -8
  105. package/dist-types/commands/PutEventConfigurationCommand.d.ts +3 -8
  106. package/dist-types/commands/PutEventSelectorsCommand.d.ts +3 -8
  107. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -8
  108. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  109. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +3 -8
  110. package/dist-types/commands/RemoveTagsCommand.d.ts +3 -8
  111. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +3 -8
  112. package/dist-types/commands/SearchSampleQueriesCommand.d.ts +3 -8
  113. package/dist-types/commands/StartDashboardRefreshCommand.d.ts +3 -8
  114. package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +3 -8
  115. package/dist-types/commands/StartImportCommand.d.ts +3 -8
  116. package/dist-types/commands/StartLoggingCommand.d.ts +3 -8
  117. package/dist-types/commands/StartQueryCommand.d.ts +3 -8
  118. package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +3 -8
  119. package/dist-types/commands/StopImportCommand.d.ts +3 -8
  120. package/dist-types/commands/StopLoggingCommand.d.ts +3 -8
  121. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -8
  122. package/dist-types/commands/UpdateDashboardCommand.d.ts +3 -8
  123. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +3 -8
  124. package/dist-types/commands/UpdateTrailCommand.d.ts +3 -8
  125. package/dist-types/index.d.ts +1 -0
  126. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  127. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/DisableFederationCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/EnableFederationCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/GetEventConfigurationCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/ListInsightsDataCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/ListInsightsMetricDataCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/PutEventConfigurationCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/SearchSampleQueriesCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/StartDashboardRefreshCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/StopImportCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/index.d.ts +1 -0
  188. package/package.json +8 -8
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListImportFailures$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListImportFailuresCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListImportFailures", {})
13
- .n("CloudTrailClient", "ListImportFailuresCommand")
14
- .sc(ListImportFailures$)
15
- .build() {
3
+ export class ListImportFailuresCommand extends command(_ep0, _mw0, "ListImportFailures", ListImportFailures$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListImports$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListImportsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListImports", {})
13
- .n("CloudTrailClient", "ListImportsCommand")
14
- .sc(ListImports$)
15
- .build() {
3
+ export class ListImportsCommand extends command(_ep0, _mw0, "ListImports", ListImports$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInsightsData$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInsightsDataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListInsightsData", {})
13
- .n("CloudTrailClient", "ListInsightsDataCommand")
14
- .sc(ListInsightsData$)
15
- .build() {
3
+ export class ListInsightsDataCommand extends command(_ep0, _mw0, "ListInsightsData", ListInsightsData$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInsightsMetricData$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInsightsMetricDataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListInsightsMetricData", {})
13
- .n("CloudTrailClient", "ListInsightsMetricDataCommand")
14
- .sc(ListInsightsMetricData$)
15
- .build() {
3
+ export class ListInsightsMetricDataCommand extends command(_ep0, _mw0, "ListInsightsMetricData", ListInsightsMetricData$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPublicKeys$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPublicKeysCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListPublicKeys", {})
13
- .n("CloudTrailClient", "ListPublicKeysCommand")
14
- .sc(ListPublicKeys$)
15
- .build() {
3
+ export class ListPublicKeysCommand extends command(_ep0, _mw0, "ListPublicKeys", ListPublicKeys$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListQueries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListQueriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListQueries", {})
13
- .n("CloudTrailClient", "ListQueriesCommand")
14
- .sc(ListQueries$)
15
- .build() {
3
+ export class ListQueriesCommand extends command(_ep0, _mw0, "ListQueries", ListQueries$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListTags", {})
13
- .n("CloudTrailClient", "ListTagsCommand")
14
- .sc(ListTags$)
15
- .build() {
3
+ export class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTrails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTrailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "ListTrails", {})
13
- .n("CloudTrailClient", "ListTrailsCommand")
14
- .sc(ListTrails$)
15
- .build() {
3
+ export class ListTrailsCommand extends command(_ep0, _mw0, "ListTrails", ListTrails$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { LookupEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class LookupEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "LookupEvents", {})
13
- .n("CloudTrailClient", "LookupEventsCommand")
14
- .sc(LookupEvents$)
15
- .build() {
3
+ export class LookupEventsCommand extends command(_ep0, _mw0, "LookupEvents", LookupEvents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutEventConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutEventConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "PutEventConfiguration", {})
13
- .n("CloudTrailClient", "PutEventConfigurationCommand")
14
- .sc(PutEventConfiguration$)
15
- .build() {
3
+ export class PutEventConfigurationCommand extends command(_ep0, _mw0, "PutEventConfiguration", PutEventConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutEventSelectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutEventSelectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "PutEventSelectors", {})
13
- .n("CloudTrailClient", "PutEventSelectorsCommand")
14
- .sc(PutEventSelectors$)
15
- .build() {
3
+ export class PutEventSelectorsCommand extends command(_ep0, _mw0, "PutEventSelectors", PutEventSelectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutInsightSelectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutInsightSelectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "PutInsightSelectors", {})
13
- .n("CloudTrailClient", "PutInsightSelectorsCommand")
14
- .sc(PutInsightSelectors$)
15
- .build() {
3
+ export class PutInsightSelectorsCommand extends command(_ep0, _mw0, "PutInsightSelectors", PutInsightSelectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "PutResourcePolicy", {})
13
- .n("CloudTrailClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RegisterOrganizationDelegatedAdmin$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterOrganizationDelegatedAdminCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "RegisterOrganizationDelegatedAdmin", {})
13
- .n("CloudTrailClient", "RegisterOrganizationDelegatedAdminCommand")
14
- .sc(RegisterOrganizationDelegatedAdmin$)
15
- .build() {
3
+ export class RegisterOrganizationDelegatedAdminCommand extends command(_ep0, _mw0, "RegisterOrganizationDelegatedAdmin", RegisterOrganizationDelegatedAdmin$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "RemoveTags", {})
13
- .n("CloudTrailClient", "RemoveTagsCommand")
14
- .sc(RemoveTags$)
15
- .build() {
3
+ export class RemoveTagsCommand extends command(_ep0, _mw0, "RemoveTags", RemoveTags$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RestoreEventDataStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreEventDataStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "RestoreEventDataStore", {})
13
- .n("CloudTrailClient", "RestoreEventDataStoreCommand")
14
- .sc(RestoreEventDataStore$)
15
- .build() {
3
+ export class RestoreEventDataStoreCommand extends command(_ep0, _mw0, "RestoreEventDataStore", RestoreEventDataStore$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchSampleQueries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchSampleQueriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "SearchSampleQueries", {})
13
- .n("CloudTrailClient", "SearchSampleQueriesCommand")
14
- .sc(SearchSampleQueries$)
15
- .build() {
3
+ export class SearchSampleQueriesCommand extends command(_ep0, _mw0, "SearchSampleQueries", SearchSampleQueries$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartDashboardRefresh$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartDashboardRefreshCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StartDashboardRefresh", {})
13
- .n("CloudTrailClient", "StartDashboardRefreshCommand")
14
- .sc(StartDashboardRefresh$)
15
- .build() {
3
+ export class StartDashboardRefreshCommand extends command(_ep0, _mw0, "StartDashboardRefresh", StartDashboardRefresh$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartEventDataStoreIngestion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartEventDataStoreIngestionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StartEventDataStoreIngestion", {})
13
- .n("CloudTrailClient", "StartEventDataStoreIngestionCommand")
14
- .sc(StartEventDataStoreIngestion$)
15
- .build() {
3
+ export class StartEventDataStoreIngestionCommand extends command(_ep0, _mw0, "StartEventDataStoreIngestion", StartEventDataStoreIngestion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartImport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartImportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StartImport", {})
13
- .n("CloudTrailClient", "StartImportCommand")
14
- .sc(StartImport$)
15
- .build() {
3
+ export class StartImportCommand extends command(_ep0, _mw0, "StartImport", StartImport$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartLogging$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartLoggingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StartLogging", {})
13
- .n("CloudTrailClient", "StartLoggingCommand")
14
- .sc(StartLogging$)
15
- .build() {
3
+ export class StartLoggingCommand extends command(_ep0, _mw0, "StartLogging", StartLogging$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartQuery$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartQueryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StartQuery", {})
13
- .n("CloudTrailClient", "StartQueryCommand")
14
- .sc(StartQuery$)
15
- .build() {
3
+ export class StartQueryCommand extends command(_ep0, _mw0, "StartQuery", StartQuery$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopEventDataStoreIngestion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopEventDataStoreIngestionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StopEventDataStoreIngestion", {})
13
- .n("CloudTrailClient", "StopEventDataStoreIngestionCommand")
14
- .sc(StopEventDataStoreIngestion$)
15
- .build() {
3
+ export class StopEventDataStoreIngestionCommand extends command(_ep0, _mw0, "StopEventDataStoreIngestion", StopEventDataStoreIngestion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopImport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopImportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StopImport", {})
13
- .n("CloudTrailClient", "StopImportCommand")
14
- .sc(StopImport$)
15
- .build() {
3
+ export class StopImportCommand extends command(_ep0, _mw0, "StopImport", StopImport$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopLogging$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopLoggingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "StopLogging", {})
13
- .n("CloudTrailClient", "StopLoggingCommand")
14
- .sc(StopLogging$)
15
- .build() {
3
+ export class StopLoggingCommand extends command(_ep0, _mw0, "StopLogging", StopLogging$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "UpdateChannel", {})
13
- .n("CloudTrailClient", "UpdateChannelCommand")
14
- .sc(UpdateChannel$)
15
- .build() {
3
+ export class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDashboard$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDashboardCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "UpdateDashboard", {})
13
- .n("CloudTrailClient", "UpdateDashboardCommand")
14
- .sc(UpdateDashboard$)
15
- .build() {
3
+ export class UpdateDashboardCommand extends command(_ep0, _mw0, "UpdateDashboard", UpdateDashboard$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEventDataStore$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEventDataStoreCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "UpdateEventDataStore", {})
13
- .n("CloudTrailClient", "UpdateEventDataStoreCommand")
14
- .sc(UpdateEventDataStore$)
15
- .build() {
3
+ export class UpdateEventDataStoreCommand extends command(_ep0, _mw0, "UpdateEventDataStore", UpdateEventDataStore$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateTrail$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTrailCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CloudTrail_20131101", "UpdateTrail", {})
13
- .n("CloudTrailClient", "UpdateTrailCommand")
14
- .sc(UpdateTrail$)
15
- .build() {
3
+ export class UpdateTrailCommand extends command(_ep0, _mw0, "UpdateTrail", UpdateTrail$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CloudTrailClient";
2
2
  export * from "./CloudTrail";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CloudTrailClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];