@aws-sdk/client-cloudtrail 3.478.0 → 3.481.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.
- package/dist-cjs/commands/AddTagsCommand.js +18 -41
- package/dist-cjs/commands/CancelQueryCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/CreateTrailCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteTrailCommand.js +18 -41
- package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-cjs/commands/DescribeQueryCommand.js +18 -41
- package/dist-cjs/commands/DescribeTrailsCommand.js +18 -41
- package/dist-cjs/commands/DisableFederationCommand.js +18 -41
- package/dist-cjs/commands/EnableFederationCommand.js +18 -41
- package/dist-cjs/commands/GetChannelCommand.js +18 -41
- package/dist-cjs/commands/GetEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/GetEventSelectorsCommand.js +18 -41
- package/dist-cjs/commands/GetImportCommand.js +18 -41
- package/dist-cjs/commands/GetInsightSelectorsCommand.js +18 -41
- package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetTrailCommand.js +18 -41
- package/dist-cjs/commands/GetTrailStatusCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListEventDataStoresCommand.js +18 -41
- package/dist-cjs/commands/ListImportFailuresCommand.js +18 -41
- package/dist-cjs/commands/ListImportsCommand.js +18 -41
- package/dist-cjs/commands/ListPublicKeysCommand.js +18 -41
- package/dist-cjs/commands/ListQueriesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsCommand.js +18 -41
- package/dist-cjs/commands/ListTrailsCommand.js +18 -41
- package/dist-cjs/commands/LookupEventsCommand.js +18 -41
- package/dist-cjs/commands/PutEventSelectorsCommand.js +18 -41
- package/dist-cjs/commands/PutInsightSelectorsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
- package/dist-cjs/commands/RestoreEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +18 -41
- package/dist-cjs/commands/StartImportCommand.js +18 -41
- package/dist-cjs/commands/StartLoggingCommand.js +18 -41
- package/dist-cjs/commands/StartQueryCommand.js +18 -41
- package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +18 -41
- package/dist-cjs/commands/StopImportCommand.js +18 -41
- package/dist-cjs/commands/StopLoggingCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
- package/dist-cjs/commands/UpdateEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/UpdateTrailCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AddTagsCommand.js +18 -41
- package/dist-es/commands/CancelQueryCommand.js +18 -41
- package/dist-es/commands/CreateChannelCommand.js +18 -41
- package/dist-es/commands/CreateEventDataStoreCommand.js +18 -41
- package/dist-es/commands/CreateTrailCommand.js +18 -41
- package/dist-es/commands/DeleteChannelCommand.js +18 -41
- package/dist-es/commands/DeleteEventDataStoreCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteTrailCommand.js +18 -41
- package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-es/commands/DescribeQueryCommand.js +18 -41
- package/dist-es/commands/DescribeTrailsCommand.js +18 -41
- package/dist-es/commands/DisableFederationCommand.js +18 -41
- package/dist-es/commands/EnableFederationCommand.js +18 -41
- package/dist-es/commands/GetChannelCommand.js +18 -41
- package/dist-es/commands/GetEventDataStoreCommand.js +18 -41
- package/dist-es/commands/GetEventSelectorsCommand.js +18 -41
- package/dist-es/commands/GetImportCommand.js +18 -41
- package/dist-es/commands/GetInsightSelectorsCommand.js +18 -41
- package/dist-es/commands/GetQueryResultsCommand.js +18 -41
- package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-es/commands/GetTrailCommand.js +18 -41
- package/dist-es/commands/GetTrailStatusCommand.js +18 -41
- package/dist-es/commands/ListChannelsCommand.js +18 -41
- package/dist-es/commands/ListEventDataStoresCommand.js +18 -41
- package/dist-es/commands/ListImportFailuresCommand.js +18 -41
- package/dist-es/commands/ListImportsCommand.js +18 -41
- package/dist-es/commands/ListPublicKeysCommand.js +18 -41
- package/dist-es/commands/ListQueriesCommand.js +18 -41
- package/dist-es/commands/ListTagsCommand.js +18 -41
- package/dist-es/commands/ListTrailsCommand.js +18 -41
- package/dist-es/commands/LookupEventsCommand.js +18 -41
- package/dist-es/commands/PutEventSelectorsCommand.js +18 -41
- package/dist-es/commands/PutInsightSelectorsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-es/commands/RemoveTagsCommand.js +18 -41
- package/dist-es/commands/RestoreEventDataStoreCommand.js +18 -41
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +18 -41
- package/dist-es/commands/StartImportCommand.js +18 -41
- package/dist-es/commands/StartLoggingCommand.js +18 -41
- package/dist-es/commands/StartQueryCommand.js +18 -41
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +18 -41
- package/dist-es/commands/StopImportCommand.js +18 -41
- package/dist-es/commands/StopLoggingCommand.js +18 -41
- package/dist-es/commands/UpdateChannelCommand.js +18 -41
- package/dist-es/commands/UpdateEventDataStoreCommand.js +18 -41
- package/dist-es/commands/UpdateTrailCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AddTagsCommand.d.ts +6 -21
- package/dist-types/commands/CancelQueryCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/CreateTrailCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTrailCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQueryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTrailsCommand.d.ts +6 -21
- package/dist-types/commands/DisableFederationCommand.d.ts +6 -21
- package/dist-types/commands/EnableFederationCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelCommand.d.ts +6 -21
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/GetImportCommand.d.ts +6 -21
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetTrailCommand.d.ts +6 -21
- package/dist-types/commands/GetTrailStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +6 -21
- package/dist-types/commands/ListImportFailuresCommand.d.ts +6 -21
- package/dist-types/commands/ListImportsCommand.d.ts +6 -21
- package/dist-types/commands/ListPublicKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListQueriesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsCommand.d.ts +6 -21
- package/dist-types/commands/ListTrailsCommand.d.ts +6 -21
- package/dist-types/commands/LookupEventsCommand.d.ts +6 -21
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +6 -21
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +6 -21
- package/dist-types/commands/StartImportCommand.d.ts +6 -21
- package/dist-types/commands/StartLoggingCommand.d.ts +6 -21
- package/dist-types/commands/StartQueryCommand.d.ts +6 -21
- package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +6 -21
- package/dist-types/commands/StopImportCommand.d.ts +6 -21
- package/dist-types/commands/StopLoggingCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTrailCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableFederationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableFederationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateChannelCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudTrailClient";
|
|
29
|
-
const commandName = "UpdateChannelCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "CloudTrail_20131101",
|
|
38
|
-
operation: "UpdateChannel",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateChannelCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateChannelCommand)(output, context);
|
|
49
|
-
}
|
|
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() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateEventDataStoreCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudTrailClient";
|
|
29
|
-
const commandName = "UpdateEventDataStoreCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "CloudTrail_20131101",
|
|
38
|
-
operation: "UpdateEventDataStore",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateEventDataStoreCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateEventDataStoreCommand)(output, context);
|
|
49
|
-
}
|
|
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() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEventDataStoreCommand = UpdateEventDataStoreCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateTrailCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CloudTrailClient";
|
|
29
|
-
const commandName = "UpdateTrailCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "CloudTrail_20131101",
|
|
38
|
-
operation: "UpdateTrail",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateTrailCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateTrailCommand)(output, context);
|
|
49
|
-
}
|
|
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() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateTrailCommand = UpdateTrailCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
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,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AddTagsCommand, se_AddTagsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AddTagsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "AddTagsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "AddTags",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AddTagsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AddTagsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AddTagsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "AddTags", {})
|
|
19
|
+
.n("CloudTrailClient", "AddTagsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AddTagsCommand)
|
|
22
|
+
.de(de_AddTagsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CancelQueryCommand, se_CancelQueryCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CancelQueryCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "CancelQueryCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "CancelQuery",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CancelQueryCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CancelQueryCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CancelQueryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "CancelQuery", {})
|
|
19
|
+
.n("CloudTrailClient", "CancelQueryCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CancelQueryCommand)
|
|
22
|
+
.de(de_CancelQueryCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateChannelCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "CreateChannelCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "CreateChannel",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateChannelCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateChannelCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateChannelCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "CreateChannel", {})
|
|
19
|
+
.n("CloudTrailClient", "CreateChannelCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateChannelCommand)
|
|
22
|
+
.de(de_CreateChannelCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateEventDataStoreCommand, se_CreateEventDataStoreCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateEventDataStoreCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "CreateEventDataStoreCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "CreateEventDataStore",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateEventDataStoreCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateEventDataStoreCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateEventDataStoreCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "CreateEventDataStore", {})
|
|
19
|
+
.n("CloudTrailClient", "CreateEventDataStoreCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateEventDataStoreCommand)
|
|
22
|
+
.de(de_CreateEventDataStoreCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateTrailCommand, se_CreateTrailCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateTrailCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "CreateTrailCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "CreateTrail",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateTrailCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateTrailCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateTrailCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "CreateTrail", {})
|
|
19
|
+
.n("CloudTrailClient", "CreateTrailCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateTrailCommand)
|
|
22
|
+
.de(de_CreateTrailCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteChannelCommand, se_DeleteChannelCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteChannelCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "DeleteChannelCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "DeleteChannel",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteChannelCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteChannelCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteChannelCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "DeleteChannel", {})
|
|
19
|
+
.n("CloudTrailClient", "DeleteChannelCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteChannelCommand)
|
|
22
|
+
.de(de_DeleteChannelCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|