@aws-sdk/client-cloudtrail 3.926.0 → 3.928.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 (80) hide show
  1. package/dist-cjs/index.js +2898 -3312
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CloudTrailClient.js +2 -0
  4. package/dist-es/commands/AddTagsCommand.js +3 -9
  5. package/dist-es/commands/CancelQueryCommand.js +3 -9
  6. package/dist-es/commands/CreateChannelCommand.js +3 -9
  7. package/dist-es/commands/CreateDashboardCommand.js +3 -9
  8. package/dist-es/commands/CreateEventDataStoreCommand.js +3 -9
  9. package/dist-es/commands/CreateTrailCommand.js +3 -9
  10. package/dist-es/commands/DeleteChannelCommand.js +3 -9
  11. package/dist-es/commands/DeleteDashboardCommand.js +3 -9
  12. package/dist-es/commands/DeleteEventDataStoreCommand.js +3 -9
  13. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  14. package/dist-es/commands/DeleteTrailCommand.js +3 -9
  15. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +3 -9
  16. package/dist-es/commands/DescribeQueryCommand.js +3 -9
  17. package/dist-es/commands/DescribeTrailsCommand.js +3 -9
  18. package/dist-es/commands/DisableFederationCommand.js +3 -9
  19. package/dist-es/commands/EnableFederationCommand.js +3 -9
  20. package/dist-es/commands/GenerateQueryCommand.js +3 -9
  21. package/dist-es/commands/GetChannelCommand.js +3 -9
  22. package/dist-es/commands/GetDashboardCommand.js +3 -9
  23. package/dist-es/commands/GetEventConfigurationCommand.js +3 -9
  24. package/dist-es/commands/GetEventDataStoreCommand.js +3 -9
  25. package/dist-es/commands/GetEventSelectorsCommand.js +3 -9
  26. package/dist-es/commands/GetImportCommand.js +3 -9
  27. package/dist-es/commands/GetInsightSelectorsCommand.js +3 -9
  28. package/dist-es/commands/GetQueryResultsCommand.js +3 -9
  29. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  30. package/dist-es/commands/GetTrailCommand.js +3 -9
  31. package/dist-es/commands/GetTrailStatusCommand.js +3 -9
  32. package/dist-es/commands/ListChannelsCommand.js +3 -9
  33. package/dist-es/commands/ListDashboardsCommand.js +3 -9
  34. package/dist-es/commands/ListEventDataStoresCommand.js +3 -9
  35. package/dist-es/commands/ListImportFailuresCommand.js +3 -9
  36. package/dist-es/commands/ListImportsCommand.js +3 -9
  37. package/dist-es/commands/ListInsightsMetricDataCommand.js +3 -9
  38. package/dist-es/commands/ListPublicKeysCommand.js +3 -9
  39. package/dist-es/commands/ListQueriesCommand.js +3 -9
  40. package/dist-es/commands/ListTagsCommand.js +3 -9
  41. package/dist-es/commands/ListTrailsCommand.js +3 -9
  42. package/dist-es/commands/LookupEventsCommand.js +3 -9
  43. package/dist-es/commands/PutEventConfigurationCommand.js +3 -9
  44. package/dist-es/commands/PutEventSelectorsCommand.js +3 -9
  45. package/dist-es/commands/PutInsightSelectorsCommand.js +3 -9
  46. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  47. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +3 -9
  48. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  49. package/dist-es/commands/RestoreEventDataStoreCommand.js +3 -9
  50. package/dist-es/commands/SearchSampleQueriesCommand.js +3 -9
  51. package/dist-es/commands/StartDashboardRefreshCommand.js +3 -9
  52. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +3 -9
  53. package/dist-es/commands/StartImportCommand.js +3 -9
  54. package/dist-es/commands/StartLoggingCommand.js +3 -9
  55. package/dist-es/commands/StartQueryCommand.js +3 -9
  56. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +3 -9
  57. package/dist-es/commands/StopImportCommand.js +3 -9
  58. package/dist-es/commands/StopLoggingCommand.js +3 -9
  59. package/dist-es/commands/UpdateChannelCommand.js +3 -9
  60. package/dist-es/commands/UpdateDashboardCommand.js +3 -9
  61. package/dist-es/commands/UpdateEventDataStoreCommand.js +3 -9
  62. package/dist-es/commands/UpdateTrailCommand.js +3 -9
  63. package/dist-es/runtimeConfig.shared.js +7 -0
  64. package/dist-es/schemas/schemas_0.js +2537 -0
  65. package/dist-types/CloudTrailClient.d.ts +10 -1
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  67. package/dist-types/runtimeConfig.d.ts +1 -0
  68. package/dist-types/runtimeConfig.native.d.ts +1 -0
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/schemas/schemas_0.d.ts +341 -0
  71. package/dist-types/ts3.4/CloudTrailClient.d.ts +4 -0
  72. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  73. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  74. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  75. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  76. package/dist-types/ts3.4/schemas/schemas_0.d.ts +346 -0
  77. package/package.json +5 -5
  78. package/dist-es/protocols/Aws_json1_1.js +0 -2645
  79. package/dist-types/protocols/Aws_json1_1.d.ts +0 -533
  80. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -713
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetImportCommand, se_GetImportCommand } from "../protocols/Aws_json1_1";
4
+ import { GetImport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetImportCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "GetImport", {})
17
13
  .n("CloudTrailClient", "GetImportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetImportCommand)
20
- .de(de_GetImportCommand)
14
+ .sc(GetImport)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightSelectorsCommand, se_GetInsightSelectorsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetInsightSelectors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightSelectorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "GetInsightSelectors", {})
17
13
  .n("CloudTrailClient", "GetInsightSelectorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightSelectorsCommand)
20
- .de(de_GetInsightSelectorsCommand)
14
+ .sc(GetInsightSelectors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetQueryResultsCommand, se_GetQueryResultsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetQueryResults } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetQueryResultsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "GetQueryResults", {})
17
13
  .n("CloudTrailClient", "GetQueryResultsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetQueryResultsCommand)
20
- .de(de_GetQueryResultsCommand)
14
+ .sc(GetQueryResults)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { GetResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "GetResourcePolicy", {})
17
13
  .n("CloudTrailClient", "GetResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetResourcePolicyCommand)
20
- .de(de_GetResourcePolicyCommand)
14
+ .sc(GetResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTrailCommand, se_GetTrailCommand } from "../protocols/Aws_json1_1";
4
+ import { GetTrail } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTrailCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "GetTrail", {})
17
13
  .n("CloudTrailClient", "GetTrailCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTrailCommand)
20
- .de(de_GetTrailCommand)
14
+ .sc(GetTrail)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTrailStatusCommand, se_GetTrailStatusCommand } from "../protocols/Aws_json1_1";
4
+ import { GetTrailStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTrailStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "GetTrailStatus", {})
17
13
  .n("CloudTrailClient", "GetTrailStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTrailStatusCommand)
20
- .de(de_GetTrailStatusCommand)
14
+ .sc(GetTrailStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListChannels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListChannelsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListChannels", {})
17
13
  .n("CloudTrailClient", "ListChannelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListChannelsCommand)
20
- .de(de_ListChannelsCommand)
14
+ .sc(ListChannels)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDashboardsCommand, se_ListDashboardsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDashboards } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDashboardsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListDashboards", {})
17
13
  .n("CloudTrailClient", "ListDashboardsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDashboardsCommand)
20
- .de(de_ListDashboardsCommand)
14
+ .sc(ListDashboards)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListEventDataStoresCommand, se_ListEventDataStoresCommand } from "../protocols/Aws_json1_1";
4
+ import { ListEventDataStores } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEventDataStoresCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListEventDataStores", {})
17
13
  .n("CloudTrailClient", "ListEventDataStoresCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEventDataStoresCommand)
20
- .de(de_ListEventDataStoresCommand)
14
+ .sc(ListEventDataStores)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListImportFailuresCommand, se_ListImportFailuresCommand } from "../protocols/Aws_json1_1";
4
+ import { ListImportFailures } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListImportFailuresCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListImportFailures", {})
17
13
  .n("CloudTrailClient", "ListImportFailuresCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListImportFailuresCommand)
20
- .de(de_ListImportFailuresCommand)
14
+ .sc(ListImportFailures)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListImportsCommand, se_ListImportsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListImports } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListImportsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListImports", {})
17
13
  .n("CloudTrailClient", "ListImportsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListImportsCommand)
20
- .de(de_ListImportsCommand)
14
+ .sc(ListImports)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListInsightsMetricDataCommand, se_ListInsightsMetricDataCommand } from "../protocols/Aws_json1_1";
4
+ import { ListInsightsMetricData } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListInsightsMetricDataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListInsightsMetricData", {})
17
13
  .n("CloudTrailClient", "ListInsightsMetricDataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListInsightsMetricDataCommand)
20
- .de(de_ListInsightsMetricDataCommand)
14
+ .sc(ListInsightsMetricData)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPublicKeysCommand, se_ListPublicKeysCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPublicKeys } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPublicKeysCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListPublicKeys", {})
17
13
  .n("CloudTrailClient", "ListPublicKeysCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPublicKeysCommand)
20
- .de(de_ListPublicKeysCommand)
14
+ .sc(ListPublicKeys)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListQueriesCommand, se_ListQueriesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListQueries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListQueriesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListQueries", {})
17
13
  .n("CloudTrailClient", "ListQueriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListQueriesCommand)
20
- .de(de_ListQueriesCommand)
14
+ .sc(ListQueries)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListTags", {})
17
13
  .n("CloudTrailClient", "ListTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsCommand)
20
- .de(de_ListTagsCommand)
14
+ .sc(ListTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTrailsCommand, se_ListTrailsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTrails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTrailsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "ListTrails", {})
17
13
  .n("CloudTrailClient", "ListTrailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTrailsCommand)
20
- .de(de_ListTrailsCommand)
14
+ .sc(ListTrails)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_LookupEventsCommand, se_LookupEventsCommand } from "../protocols/Aws_json1_1";
4
+ import { LookupEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class LookupEventsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "LookupEvents", {})
17
13
  .n("CloudTrailClient", "LookupEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_LookupEventsCommand)
20
- .de(de_LookupEventsCommand)
14
+ .sc(LookupEvents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutEventConfigurationCommand, se_PutEventConfigurationCommand } from "../protocols/Aws_json1_1";
4
+ import { PutEventConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEventConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "PutEventConfiguration", {})
17
13
  .n("CloudTrailClient", "PutEventConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEventConfigurationCommand)
20
- .de(de_PutEventConfigurationCommand)
14
+ .sc(PutEventConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutEventSelectorsCommand, se_PutEventSelectorsCommand } from "../protocols/Aws_json1_1";
4
+ import { PutEventSelectors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEventSelectorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "PutEventSelectors", {})
17
13
  .n("CloudTrailClient", "PutEventSelectorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEventSelectorsCommand)
20
- .de(de_PutEventSelectorsCommand)
14
+ .sc(PutEventSelectors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutInsightSelectorsCommand, se_PutInsightSelectorsCommand } from "../protocols/Aws_json1_1";
4
+ import { PutInsightSelectors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutInsightSelectorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "PutInsightSelectors", {})
17
13
  .n("CloudTrailClient", "PutInsightSelectorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutInsightSelectorsCommand)
20
- .de(de_PutInsightSelectorsCommand)
14
+ .sc(PutInsightSelectors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "PutResourcePolicy", {})
17
13
  .n("CloudTrailClient", "PutResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutResourcePolicyCommand)
20
- .de(de_PutResourcePolicyCommand)
14
+ .sc(PutResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RegisterOrganizationDelegatedAdminCommand, se_RegisterOrganizationDelegatedAdminCommand, } from "../protocols/Aws_json1_1";
4
+ import { RegisterOrganizationDelegatedAdmin } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterOrganizationDelegatedAdminCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "RegisterOrganizationDelegatedAdmin", {})
17
13
  .n("CloudTrailClient", "RegisterOrganizationDelegatedAdminCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterOrganizationDelegatedAdminCommand)
20
- .de(de_RegisterOrganizationDelegatedAdminCommand)
14
+ .sc(RegisterOrganizationDelegatedAdmin)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { RemoveTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "RemoveTags", {})
17
13
  .n("CloudTrailClient", "RemoveTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveTagsCommand)
20
- .de(de_RemoveTagsCommand)
14
+ .sc(RemoveTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreEventDataStoreCommand, se_RestoreEventDataStoreCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreEventDataStore } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreEventDataStoreCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CloudTrail_20131101", "RestoreEventDataStore", {})
17
13
  .n("CloudTrailClient", "RestoreEventDataStoreCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreEventDataStoreCommand)
20
- .de(de_RestoreEventDataStoreCommand)
14
+ .sc(RestoreEventDataStore)
21
15
  .build() {
22
16
  }