@aws-sdk/client-cloudtrail 3.489.0 → 3.495.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 (101) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/CloudTrail.js +1 -107
  3. package/dist-cjs/CloudTrailClient.js +1 -43
  4. package/dist-cjs/commands/AddTagsCommand.js +1 -28
  5. package/dist-cjs/commands/CancelQueryCommand.js +1 -28
  6. package/dist-cjs/commands/CreateChannelCommand.js +1 -28
  7. package/dist-cjs/commands/CreateEventDataStoreCommand.js +1 -28
  8. package/dist-cjs/commands/CreateTrailCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteChannelCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteTrailCommand.js +1 -28
  13. package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeQueryCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeTrailsCommand.js +1 -28
  16. package/dist-cjs/commands/DisableFederationCommand.js +1 -28
  17. package/dist-cjs/commands/EnableFederationCommand.js +1 -28
  18. package/dist-cjs/commands/GetChannelCommand.js +1 -28
  19. package/dist-cjs/commands/GetEventDataStoreCommand.js +1 -28
  20. package/dist-cjs/commands/GetEventSelectorsCommand.js +1 -28
  21. package/dist-cjs/commands/GetImportCommand.js +1 -28
  22. package/dist-cjs/commands/GetInsightSelectorsCommand.js +1 -28
  23. package/dist-cjs/commands/GetQueryResultsCommand.js +1 -28
  24. package/dist-cjs/commands/GetResourcePolicyCommand.js +1 -28
  25. package/dist-cjs/commands/GetTrailCommand.js +1 -28
  26. package/dist-cjs/commands/GetTrailStatusCommand.js +1 -28
  27. package/dist-cjs/commands/ListChannelsCommand.js +1 -28
  28. package/dist-cjs/commands/ListEventDataStoresCommand.js +1 -28
  29. package/dist-cjs/commands/ListImportFailuresCommand.js +1 -28
  30. package/dist-cjs/commands/ListImportsCommand.js +1 -28
  31. package/dist-cjs/commands/ListInsightsMetricDataCommand.js +1 -0
  32. package/dist-cjs/commands/ListPublicKeysCommand.js +1 -28
  33. package/dist-cjs/commands/ListQueriesCommand.js +1 -28
  34. package/dist-cjs/commands/ListTagsCommand.js +1 -28
  35. package/dist-cjs/commands/ListTrailsCommand.js +1 -28
  36. package/dist-cjs/commands/LookupEventsCommand.js +1 -28
  37. package/dist-cjs/commands/PutEventSelectorsCommand.js +1 -28
  38. package/dist-cjs/commands/PutInsightSelectorsCommand.js +1 -28
  39. package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
  40. package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +1 -28
  41. package/dist-cjs/commands/RemoveTagsCommand.js +1 -28
  42. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +1 -28
  43. package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +1 -28
  44. package/dist-cjs/commands/StartImportCommand.js +1 -28
  45. package/dist-cjs/commands/StartLoggingCommand.js +1 -28
  46. package/dist-cjs/commands/StartQueryCommand.js +1 -28
  47. package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +1 -28
  48. package/dist-cjs/commands/StopImportCommand.js +1 -28
  49. package/dist-cjs/commands/StopLoggingCommand.js +1 -28
  50. package/dist-cjs/commands/UpdateChannelCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateTrailCommand.js +1 -28
  53. package/dist-cjs/commands/index.js +1 -51
  54. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  55. package/dist-cjs/extensionConfiguration.js +1 -2
  56. package/dist-cjs/index.js +7365 -11
  57. package/dist-cjs/models/CloudTrailServiceException.js +1 -12
  58. package/dist-cjs/models/index.js +1 -4
  59. package/dist-cjs/models/models_0.js +1 -1242
  60. package/dist-cjs/pagination/GetQueryResultsPaginator.js +1 -7
  61. package/dist-cjs/pagination/Interfaces.js +1 -2
  62. package/dist-cjs/pagination/ListChannelsPaginator.js +1 -7
  63. package/dist-cjs/pagination/ListEventDataStoresPaginator.js +1 -7
  64. package/dist-cjs/pagination/ListImportFailuresPaginator.js +1 -7
  65. package/dist-cjs/pagination/ListImportsPaginator.js +1 -7
  66. package/dist-cjs/pagination/ListInsightsMetricDataPaginator.js +1 -0
  67. package/dist-cjs/pagination/ListPublicKeysPaginator.js +1 -7
  68. package/dist-cjs/pagination/ListQueriesPaginator.js +1 -7
  69. package/dist-cjs/pagination/ListTagsPaginator.js +1 -7
  70. package/dist-cjs/pagination/ListTrailsPaginator.js +1 -7
  71. package/dist-cjs/pagination/LookupEventsPaginator.js +1 -7
  72. package/dist-cjs/pagination/index.js +1 -14
  73. package/dist-cjs/protocols/Aws_json1_1.js +1 -4429
  74. package/dist-cjs/runtimeExtensions.js +1 -22
  75. package/dist-es/CloudTrail.js +2 -0
  76. package/dist-es/commands/ListInsightsMetricDataCommand.js +24 -0
  77. package/dist-es/commands/index.js +1 -0
  78. package/dist-es/models/models_0.js +4 -0
  79. package/dist-es/pagination/ListInsightsMetricDataPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +1 -0
  81. package/dist-es/protocols/Aws_json1_1.js +86 -1
  82. package/dist-types/CloudTrail.d.ts +7 -0
  83. package/dist-types/CloudTrailClient.d.ts +3 -2
  84. package/dist-types/commands/DisableFederationCommand.d.ts +4 -5
  85. package/dist-types/commands/EnableFederationCommand.d.ts +3 -4
  86. package/dist-types/commands/ListInsightsMetricDataCommand.d.ts +102 -0
  87. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -2
  88. package/dist-types/commands/index.d.ts +1 -0
  89. package/dist-types/models/models_0.d.ts +428 -164
  90. package/dist-types/pagination/ListInsightsMetricDataPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +1 -0
  92. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  93. package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
  94. package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
  95. package/dist-types/ts3.4/commands/ListInsightsMetricDataCommand.d.ts +30 -0
  96. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  97. package/dist-types/ts3.4/models/models_0.d.ts +27 -0
  98. package/dist-types/ts3.4/pagination/ListInsightsMetricDataPaginator.d.ts +11 -0
  99. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  100. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  101. package/package.json +40 -40
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoveTagsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class RemoveTagsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "RemoveTags", {})
22
- .n("CloudTrailClient", "RemoveTagsCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_RemoveTagsCommand)
25
- .de(Aws_json1_1_1.de_RemoveTagsCommand)
26
- .build() {
27
- }
28
- exports.RemoveTagsCommand = RemoveTagsCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RestoreEventDataStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class RestoreEventDataStoreCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "RestoreEventDataStore", {})
22
- .n("CloudTrailClient", "RestoreEventDataStoreCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_RestoreEventDataStoreCommand)
25
- .de(Aws_json1_1_1.de_RestoreEventDataStoreCommand)
26
- .build() {
27
- }
28
- exports.RestoreEventDataStoreCommand = RestoreEventDataStoreCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartEventDataStoreIngestionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartEventDataStoreIngestionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StartEventDataStoreIngestion", {})
22
- .n("CloudTrailClient", "StartEventDataStoreIngestionCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StartEventDataStoreIngestionCommand)
25
- .de(Aws_json1_1_1.de_StartEventDataStoreIngestionCommand)
26
- .build() {
27
- }
28
- exports.StartEventDataStoreIngestionCommand = StartEventDataStoreIngestionCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartImportCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartImportCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StartImport", {})
22
- .n("CloudTrailClient", "StartImportCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StartImportCommand)
25
- .de(Aws_json1_1_1.de_StartImportCommand)
26
- .build() {
27
- }
28
- exports.StartImportCommand = StartImportCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartLoggingCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartLoggingCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StartLogging", {})
22
- .n("CloudTrailClient", "StartLoggingCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StartLoggingCommand)
25
- .de(Aws_json1_1_1.de_StartLoggingCommand)
26
- .build() {
27
- }
28
- exports.StartLoggingCommand = StartLoggingCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartQueryCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartQueryCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StartQuery", {})
22
- .n("CloudTrailClient", "StartQueryCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StartQueryCommand)
25
- .de(Aws_json1_1_1.de_StartQueryCommand)
26
- .build() {
27
- }
28
- exports.StartQueryCommand = StartQueryCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopEventDataStoreIngestionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StopEventDataStoreIngestionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StopEventDataStoreIngestion", {})
22
- .n("CloudTrailClient", "StopEventDataStoreIngestionCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StopEventDataStoreIngestionCommand)
25
- .de(Aws_json1_1_1.de_StopEventDataStoreIngestionCommand)
26
- .build() {
27
- }
28
- exports.StopEventDataStoreIngestionCommand = StopEventDataStoreIngestionCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopImportCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StopImportCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StopImport", {})
22
- .n("CloudTrailClient", "StopImportCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StopImportCommand)
25
- .de(Aws_json1_1_1.de_StopImportCommand)
26
- .build() {
27
- }
28
- exports.StopImportCommand = StopImportCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopLoggingCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StopLoggingCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "StopLogging", {})
22
- .n("CloudTrailClient", "StopLoggingCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_StopLoggingCommand)
25
- .de(Aws_json1_1_1.de_StopLoggingCommand)
26
- .build() {
27
- }
28
- exports.StopLoggingCommand = StopLoggingCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateChannelCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateChannelCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "UpdateChannel", {})
22
- .n("CloudTrailClient", "UpdateChannelCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UpdateChannelCommand)
25
- .de(Aws_json1_1_1.de_UpdateChannelCommand)
26
- .build() {
27
- }
28
- exports.UpdateChannelCommand = UpdateChannelCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateEventDataStoreCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateEventDataStoreCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "UpdateEventDataStore", {})
22
- .n("CloudTrailClient", "UpdateEventDataStoreCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UpdateEventDataStoreCommand)
25
- .de(Aws_json1_1_1.de_UpdateEventDataStoreCommand)
26
- .build() {
27
- }
28
- exports.UpdateEventDataStoreCommand = UpdateEventDataStoreCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateTrailCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateTrailCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("CloudTrail_20131101", "UpdateTrail", {})
22
- .n("CloudTrailClient", "UpdateTrailCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UpdateTrailCommand)
25
- .de(Aws_json1_1_1.de_UpdateTrailCommand)
26
- .build() {
27
- }
28
- exports.UpdateTrailCommand = UpdateTrailCommand;
1
+ module.exports = require("../index.js");
@@ -1,51 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./AddTagsCommand"), exports);
5
- tslib_1.__exportStar(require("./CancelQueryCommand"), exports);
6
- tslib_1.__exportStar(require("./CreateChannelCommand"), exports);
7
- tslib_1.__exportStar(require("./CreateEventDataStoreCommand"), exports);
8
- tslib_1.__exportStar(require("./CreateTrailCommand"), exports);
9
- tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
10
- tslib_1.__exportStar(require("./DeleteEventDataStoreCommand"), exports);
11
- tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
12
- tslib_1.__exportStar(require("./DeleteTrailCommand"), exports);
13
- tslib_1.__exportStar(require("./DeregisterOrganizationDelegatedAdminCommand"), exports);
14
- tslib_1.__exportStar(require("./DescribeQueryCommand"), exports);
15
- tslib_1.__exportStar(require("./DescribeTrailsCommand"), exports);
16
- tslib_1.__exportStar(require("./DisableFederationCommand"), exports);
17
- tslib_1.__exportStar(require("./EnableFederationCommand"), exports);
18
- tslib_1.__exportStar(require("./GetChannelCommand"), exports);
19
- tslib_1.__exportStar(require("./GetEventDataStoreCommand"), exports);
20
- tslib_1.__exportStar(require("./GetEventSelectorsCommand"), exports);
21
- tslib_1.__exportStar(require("./GetImportCommand"), exports);
22
- tslib_1.__exportStar(require("./GetInsightSelectorsCommand"), exports);
23
- tslib_1.__exportStar(require("./GetQueryResultsCommand"), exports);
24
- tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
25
- tslib_1.__exportStar(require("./GetTrailCommand"), exports);
26
- tslib_1.__exportStar(require("./GetTrailStatusCommand"), exports);
27
- tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
28
- tslib_1.__exportStar(require("./ListEventDataStoresCommand"), exports);
29
- tslib_1.__exportStar(require("./ListImportFailuresCommand"), exports);
30
- tslib_1.__exportStar(require("./ListImportsCommand"), exports);
31
- tslib_1.__exportStar(require("./ListPublicKeysCommand"), exports);
32
- tslib_1.__exportStar(require("./ListQueriesCommand"), exports);
33
- tslib_1.__exportStar(require("./ListTagsCommand"), exports);
34
- tslib_1.__exportStar(require("./ListTrailsCommand"), exports);
35
- tslib_1.__exportStar(require("./LookupEventsCommand"), exports);
36
- tslib_1.__exportStar(require("./PutEventSelectorsCommand"), exports);
37
- tslib_1.__exportStar(require("./PutInsightSelectorsCommand"), exports);
38
- tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
39
- tslib_1.__exportStar(require("./RegisterOrganizationDelegatedAdminCommand"), exports);
40
- tslib_1.__exportStar(require("./RemoveTagsCommand"), exports);
41
- tslib_1.__exportStar(require("./RestoreEventDataStoreCommand"), exports);
42
- tslib_1.__exportStar(require("./StartEventDataStoreIngestionCommand"), exports);
43
- tslib_1.__exportStar(require("./StartImportCommand"), exports);
44
- tslib_1.__exportStar(require("./StartLoggingCommand"), exports);
45
- tslib_1.__exportStar(require("./StartQueryCommand"), exports);
46
- tslib_1.__exportStar(require("./StopEventDataStoreIngestionCommand"), exports);
47
- tslib_1.__exportStar(require("./StopImportCommand"), exports);
48
- tslib_1.__exportStar(require("./StopLoggingCommand"), exports);
49
- tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
50
- tslib_1.__exportStar(require("./UpdateEventDataStoreCommand"), exports);
51
- tslib_1.__exportStar(require("./UpdateTrailCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "cloudtrail",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");