@aws-sdk/client-cloudtrail 3.927.0 → 3.929.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/index.js +2898 -3312
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CloudTrailClient.js +2 -0
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/CancelQueryCommand.js +3 -9
- package/dist-es/commands/CreateChannelCommand.js +3 -9
- package/dist-es/commands/CreateDashboardCommand.js +3 -9
- package/dist-es/commands/CreateEventDataStoreCommand.js +3 -9
- package/dist-es/commands/CreateTrailCommand.js +3 -9
- package/dist-es/commands/DeleteChannelCommand.js +3 -9
- package/dist-es/commands/DeleteDashboardCommand.js +3 -9
- package/dist-es/commands/DeleteEventDataStoreCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteTrailCommand.js +3 -9
- package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +3 -9
- package/dist-es/commands/DescribeQueryCommand.js +3 -9
- package/dist-es/commands/DescribeTrailsCommand.js +3 -9
- package/dist-es/commands/DisableFederationCommand.js +3 -9
- package/dist-es/commands/EnableFederationCommand.js +3 -9
- package/dist-es/commands/GenerateQueryCommand.js +3 -9
- package/dist-es/commands/GetChannelCommand.js +3 -9
- package/dist-es/commands/GetDashboardCommand.js +3 -9
- package/dist-es/commands/GetEventConfigurationCommand.js +3 -9
- package/dist-es/commands/GetEventDataStoreCommand.js +3 -9
- package/dist-es/commands/GetEventSelectorsCommand.js +3 -9
- package/dist-es/commands/GetImportCommand.js +3 -9
- package/dist-es/commands/GetInsightSelectorsCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/GetTrailCommand.js +3 -9
- package/dist-es/commands/GetTrailStatusCommand.js +3 -9
- package/dist-es/commands/ListChannelsCommand.js +3 -9
- package/dist-es/commands/ListDashboardsCommand.js +3 -9
- package/dist-es/commands/ListEventDataStoresCommand.js +3 -9
- package/dist-es/commands/ListImportFailuresCommand.js +3 -9
- package/dist-es/commands/ListImportsCommand.js +3 -9
- package/dist-es/commands/ListInsightsMetricDataCommand.js +3 -9
- package/dist-es/commands/ListPublicKeysCommand.js +3 -9
- package/dist-es/commands/ListQueriesCommand.js +3 -9
- package/dist-es/commands/ListTagsCommand.js +3 -9
- package/dist-es/commands/ListTrailsCommand.js +3 -9
- package/dist-es/commands/LookupEventsCommand.js +3 -9
- package/dist-es/commands/PutEventConfigurationCommand.js +3 -9
- package/dist-es/commands/PutEventSelectorsCommand.js +3 -9
- package/dist-es/commands/PutInsightSelectorsCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RestoreEventDataStoreCommand.js +3 -9
- package/dist-es/commands/SearchSampleQueriesCommand.js +3 -9
- package/dist-es/commands/StartDashboardRefreshCommand.js +3 -9
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +3 -9
- package/dist-es/commands/StartImportCommand.js +3 -9
- package/dist-es/commands/StartLoggingCommand.js +3 -9
- package/dist-es/commands/StartQueryCommand.js +3 -9
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +3 -9
- package/dist-es/commands/StopImportCommand.js +3 -9
- package/dist-es/commands/StopLoggingCommand.js +3 -9
- package/dist-es/commands/UpdateChannelCommand.js +3 -9
- package/dist-es/commands/UpdateDashboardCommand.js +3 -9
- package/dist-es/commands/UpdateEventDataStoreCommand.js +3 -9
- package/dist-es/commands/UpdateTrailCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2537 -0
- package/dist-types/CloudTrailClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +341 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +346 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2645
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -533
- 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 {
|
|
4
|
+
import { SearchSampleQueries } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SearchSampleQueriesCommand 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", "SearchSampleQueries", {})
|
|
17
13
|
.n("CloudTrailClient", "SearchSampleQueriesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SearchSampleQueriesCommand)
|
|
20
|
-
.de(de_SearchSampleQueriesCommand)
|
|
14
|
+
.sc(SearchSampleQueries)
|
|
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 {
|
|
4
|
+
import { StartDashboardRefresh } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartDashboardRefreshCommand 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", "StartDashboardRefresh", {})
|
|
17
13
|
.n("CloudTrailClient", "StartDashboardRefreshCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartDashboardRefreshCommand)
|
|
20
|
-
.de(de_StartDashboardRefreshCommand)
|
|
14
|
+
.sc(StartDashboardRefresh)
|
|
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 {
|
|
4
|
+
import { StartEventDataStoreIngestion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartEventDataStoreIngestionCommand 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", "StartEventDataStoreIngestion", {})
|
|
17
13
|
.n("CloudTrailClient", "StartEventDataStoreIngestionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartEventDataStoreIngestionCommand)
|
|
20
|
-
.de(de_StartEventDataStoreIngestionCommand)
|
|
14
|
+
.sc(StartEventDataStoreIngestion)
|
|
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 {
|
|
4
|
+
import { StartImport } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartImportCommand 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", "StartImport", {})
|
|
17
13
|
.n("CloudTrailClient", "StartImportCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartImportCommand)
|
|
20
|
-
.de(de_StartImportCommand)
|
|
14
|
+
.sc(StartImport)
|
|
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 {
|
|
4
|
+
import { StartLogging } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartLoggingCommand 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", "StartLogging", {})
|
|
17
13
|
.n("CloudTrailClient", "StartLoggingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartLoggingCommand)
|
|
20
|
-
.de(de_StartLoggingCommand)
|
|
14
|
+
.sc(StartLogging)
|
|
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 {
|
|
4
|
+
import { StartQuery } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartQueryCommand 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", "StartQuery", {})
|
|
17
13
|
.n("CloudTrailClient", "StartQueryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartQueryCommand)
|
|
20
|
-
.de(de_StartQueryCommand)
|
|
14
|
+
.sc(StartQuery)
|
|
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 {
|
|
4
|
+
import { StopEventDataStoreIngestion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopEventDataStoreIngestionCommand 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", "StopEventDataStoreIngestion", {})
|
|
17
13
|
.n("CloudTrailClient", "StopEventDataStoreIngestionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopEventDataStoreIngestionCommand)
|
|
20
|
-
.de(de_StopEventDataStoreIngestionCommand)
|
|
14
|
+
.sc(StopEventDataStoreIngestion)
|
|
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 {
|
|
4
|
+
import { StopImport } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopImportCommand 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", "StopImport", {})
|
|
17
13
|
.n("CloudTrailClient", "StopImportCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopImportCommand)
|
|
20
|
-
.de(de_StopImportCommand)
|
|
14
|
+
.sc(StopImport)
|
|
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 {
|
|
4
|
+
import { StopLogging } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopLoggingCommand 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", "StopLogging", {})
|
|
17
13
|
.n("CloudTrailClient", "StopLoggingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopLoggingCommand)
|
|
20
|
-
.de(de_StopLoggingCommand)
|
|
14
|
+
.sc(StopLogging)
|
|
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 {
|
|
4
|
+
import { UpdateChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateChannelCommand 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", "UpdateChannel", {})
|
|
17
13
|
.n("CloudTrailClient", "UpdateChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateChannelCommand)
|
|
20
|
-
.de(de_UpdateChannelCommand)
|
|
14
|
+
.sc(UpdateChannel)
|
|
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 {
|
|
4
|
+
import { UpdateDashboard } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDashboardCommand 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", "UpdateDashboard", {})
|
|
17
13
|
.n("CloudTrailClient", "UpdateDashboardCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDashboardCommand)
|
|
20
|
-
.de(de_UpdateDashboardCommand)
|
|
14
|
+
.sc(UpdateDashboard)
|
|
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 {
|
|
4
|
+
import { UpdateEventDataStore } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateEventDataStoreCommand 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", "UpdateEventDataStore", {})
|
|
17
13
|
.n("CloudTrailClient", "UpdateEventDataStoreCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateEventDataStoreCommand)
|
|
20
|
-
.de(de_UpdateEventDataStoreCommand)
|
|
14
|
+
.sc(UpdateEventDataStore)
|
|
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 {
|
|
4
|
+
import { UpdateTrail } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTrailCommand 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", "UpdateTrail", {})
|
|
17
13
|
.n("CloudTrailClient", "UpdateTrailCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTrailCommand)
|
|
20
|
-
.de(de_UpdateTrailCommand)
|
|
14
|
+
.sc(UpdateTrail)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudtrail",
|
|
29
|
+
serviceTarget: "CloudTrail_20131101",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "CloudTrail",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|