@aws-sdk/client-cloudtrail 3.45.0 → 3.47.2
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/CHANGELOG.md +45 -0
- package/dist-cjs/CloudTrail.js +165 -0
- package/dist-cjs/commands/CancelQueryCommand.js +36 -0
- package/dist-cjs/commands/CreateEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/DeleteEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/DescribeQueryCommand.js +36 -0
- package/dist-cjs/commands/GetEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/GetQueryResultsCommand.js +36 -0
- package/dist-cjs/commands/ListEventDataStoresCommand.js +36 -0
- package/dist-cjs/commands/ListQueriesCommand.js +36 -0
- package/dist-cjs/commands/RestoreEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/StartQueryCommand.js +36 -0
- package/dist-cjs/commands/UpdateEventDataStoreCommand.js +36 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoints.js +0 -16
- package/dist-cjs/models/models_0.js +158 -252
- package/dist-cjs/pagination/GetQueryResultsPaginator.js +34 -0
- package/dist-cjs/pagination/ListEventDataStoresPaginator.js +35 -0
- package/dist-cjs/pagination/ListQueriesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2319 -389
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/CloudTrail.js +165 -0
- package/dist-es/commands/CancelQueryCommand.js +39 -0
- package/dist-es/commands/CreateEventDataStoreCommand.js +39 -0
- package/dist-es/commands/DeleteEventDataStoreCommand.js +39 -0
- package/dist-es/commands/DescribeQueryCommand.js +39 -0
- package/dist-es/commands/GetEventDataStoreCommand.js +39 -0
- package/dist-es/commands/GetQueryResultsCommand.js +39 -0
- package/dist-es/commands/ListEventDataStoresCommand.js +39 -0
- package/dist-es/commands/ListQueriesCommand.js +39 -0
- package/dist-es/commands/RestoreEventDataStoreCommand.js +39 -0
- package/dist-es/commands/StartQueryCommand.js +39 -0
- package/dist-es/commands/UpdateEventDataStoreCommand.js +39 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoints.js +0 -16
- package/dist-es/models/models_0.js +118 -176
- package/dist-es/pagination/GetQueryResultsPaginator.js +73 -0
- package/dist-es/pagination/ListEventDataStoresPaginator.js +74 -0
- package/dist-es/pagination/ListQueriesPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +2669 -704
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/CloudTrail.d.ts +100 -1
- package/dist-types/CloudTrailClient.d.ts +18 -3
- package/dist-types/commands/CancelQueryCommand.d.ts +37 -0
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +35 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +41 -0
- package/dist-types/commands/DescribeQueryCommand.d.ts +36 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +35 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +36 -0
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +35 -0
- package/dist-types/commands/ListQueriesCommand.d.ts +39 -0
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +37 -0
- package/dist-types/commands/StartQueryCommand.d.ts +36 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +926 -328
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +4 -0
- package/dist-types/pagination/ListQueriesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +55 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +16 -3
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +523 -205
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +33 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,51 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudtrail
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudtrail
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
44
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
45
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
6
51
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
52
|
|
|
8
53
|
|
package/dist-cjs/CloudTrail.js
CHANGED
|
@@ -3,22 +3,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CloudTrail = void 0;
|
|
4
4
|
const CloudTrailClient_1 = require("./CloudTrailClient");
|
|
5
5
|
const AddTagsCommand_1 = require("./commands/AddTagsCommand");
|
|
6
|
+
const CancelQueryCommand_1 = require("./commands/CancelQueryCommand");
|
|
7
|
+
const CreateEventDataStoreCommand_1 = require("./commands/CreateEventDataStoreCommand");
|
|
6
8
|
const CreateTrailCommand_1 = require("./commands/CreateTrailCommand");
|
|
9
|
+
const DeleteEventDataStoreCommand_1 = require("./commands/DeleteEventDataStoreCommand");
|
|
7
10
|
const DeleteTrailCommand_1 = require("./commands/DeleteTrailCommand");
|
|
11
|
+
const DescribeQueryCommand_1 = require("./commands/DescribeQueryCommand");
|
|
8
12
|
const DescribeTrailsCommand_1 = require("./commands/DescribeTrailsCommand");
|
|
13
|
+
const GetEventDataStoreCommand_1 = require("./commands/GetEventDataStoreCommand");
|
|
9
14
|
const GetEventSelectorsCommand_1 = require("./commands/GetEventSelectorsCommand");
|
|
10
15
|
const GetInsightSelectorsCommand_1 = require("./commands/GetInsightSelectorsCommand");
|
|
16
|
+
const GetQueryResultsCommand_1 = require("./commands/GetQueryResultsCommand");
|
|
11
17
|
const GetTrailCommand_1 = require("./commands/GetTrailCommand");
|
|
12
18
|
const GetTrailStatusCommand_1 = require("./commands/GetTrailStatusCommand");
|
|
19
|
+
const ListEventDataStoresCommand_1 = require("./commands/ListEventDataStoresCommand");
|
|
13
20
|
const ListPublicKeysCommand_1 = require("./commands/ListPublicKeysCommand");
|
|
21
|
+
const ListQueriesCommand_1 = require("./commands/ListQueriesCommand");
|
|
14
22
|
const ListTagsCommand_1 = require("./commands/ListTagsCommand");
|
|
15
23
|
const ListTrailsCommand_1 = require("./commands/ListTrailsCommand");
|
|
16
24
|
const LookupEventsCommand_1 = require("./commands/LookupEventsCommand");
|
|
17
25
|
const PutEventSelectorsCommand_1 = require("./commands/PutEventSelectorsCommand");
|
|
18
26
|
const PutInsightSelectorsCommand_1 = require("./commands/PutInsightSelectorsCommand");
|
|
19
27
|
const RemoveTagsCommand_1 = require("./commands/RemoveTagsCommand");
|
|
28
|
+
const RestoreEventDataStoreCommand_1 = require("./commands/RestoreEventDataStoreCommand");
|
|
20
29
|
const StartLoggingCommand_1 = require("./commands/StartLoggingCommand");
|
|
30
|
+
const StartQueryCommand_1 = require("./commands/StartQueryCommand");
|
|
21
31
|
const StopLoggingCommand_1 = require("./commands/StopLoggingCommand");
|
|
32
|
+
const UpdateEventDataStoreCommand_1 = require("./commands/UpdateEventDataStoreCommand");
|
|
22
33
|
const UpdateTrailCommand_1 = require("./commands/UpdateTrailCommand");
|
|
23
34
|
class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
24
35
|
addTags(args, optionsOrCb, cb) {
|
|
@@ -35,6 +46,34 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
35
46
|
return this.send(command, optionsOrCb);
|
|
36
47
|
}
|
|
37
48
|
}
|
|
49
|
+
cancelQuery(args, optionsOrCb, cb) {
|
|
50
|
+
const command = new CancelQueryCommand_1.CancelQueryCommand(args);
|
|
51
|
+
if (typeof optionsOrCb === "function") {
|
|
52
|
+
this.send(command, optionsOrCb);
|
|
53
|
+
}
|
|
54
|
+
else if (typeof cb === "function") {
|
|
55
|
+
if (typeof optionsOrCb !== "object")
|
|
56
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
return this.send(command, optionsOrCb);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
createEventDataStore(args, optionsOrCb, cb) {
|
|
64
|
+
const command = new CreateEventDataStoreCommand_1.CreateEventDataStoreCommand(args);
|
|
65
|
+
if (typeof optionsOrCb === "function") {
|
|
66
|
+
this.send(command, optionsOrCb);
|
|
67
|
+
}
|
|
68
|
+
else if (typeof cb === "function") {
|
|
69
|
+
if (typeof optionsOrCb !== "object")
|
|
70
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
return this.send(command, optionsOrCb);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
38
77
|
createTrail(args, optionsOrCb, cb) {
|
|
39
78
|
const command = new CreateTrailCommand_1.CreateTrailCommand(args);
|
|
40
79
|
if (typeof optionsOrCb === "function") {
|
|
@@ -49,6 +88,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
49
88
|
return this.send(command, optionsOrCb);
|
|
50
89
|
}
|
|
51
90
|
}
|
|
91
|
+
deleteEventDataStore(args, optionsOrCb, cb) {
|
|
92
|
+
const command = new DeleteEventDataStoreCommand_1.DeleteEventDataStoreCommand(args);
|
|
93
|
+
if (typeof optionsOrCb === "function") {
|
|
94
|
+
this.send(command, optionsOrCb);
|
|
95
|
+
}
|
|
96
|
+
else if (typeof cb === "function") {
|
|
97
|
+
if (typeof optionsOrCb !== "object")
|
|
98
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
return this.send(command, optionsOrCb);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
52
105
|
deleteTrail(args, optionsOrCb, cb) {
|
|
53
106
|
const command = new DeleteTrailCommand_1.DeleteTrailCommand(args);
|
|
54
107
|
if (typeof optionsOrCb === "function") {
|
|
@@ -63,6 +116,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
63
116
|
return this.send(command, optionsOrCb);
|
|
64
117
|
}
|
|
65
118
|
}
|
|
119
|
+
describeQuery(args, optionsOrCb, cb) {
|
|
120
|
+
const command = new DescribeQueryCommand_1.DescribeQueryCommand(args);
|
|
121
|
+
if (typeof optionsOrCb === "function") {
|
|
122
|
+
this.send(command, optionsOrCb);
|
|
123
|
+
}
|
|
124
|
+
else if (typeof cb === "function") {
|
|
125
|
+
if (typeof optionsOrCb !== "object")
|
|
126
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
return this.send(command, optionsOrCb);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
66
133
|
describeTrails(args, optionsOrCb, cb) {
|
|
67
134
|
const command = new DescribeTrailsCommand_1.DescribeTrailsCommand(args);
|
|
68
135
|
if (typeof optionsOrCb === "function") {
|
|
@@ -77,6 +144,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
77
144
|
return this.send(command, optionsOrCb);
|
|
78
145
|
}
|
|
79
146
|
}
|
|
147
|
+
getEventDataStore(args, optionsOrCb, cb) {
|
|
148
|
+
const command = new GetEventDataStoreCommand_1.GetEventDataStoreCommand(args);
|
|
149
|
+
if (typeof optionsOrCb === "function") {
|
|
150
|
+
this.send(command, optionsOrCb);
|
|
151
|
+
}
|
|
152
|
+
else if (typeof cb === "function") {
|
|
153
|
+
if (typeof optionsOrCb !== "object")
|
|
154
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
return this.send(command, optionsOrCb);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
80
161
|
getEventSelectors(args, optionsOrCb, cb) {
|
|
81
162
|
const command = new GetEventSelectorsCommand_1.GetEventSelectorsCommand(args);
|
|
82
163
|
if (typeof optionsOrCb === "function") {
|
|
@@ -105,6 +186,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
105
186
|
return this.send(command, optionsOrCb);
|
|
106
187
|
}
|
|
107
188
|
}
|
|
189
|
+
getQueryResults(args, optionsOrCb, cb) {
|
|
190
|
+
const command = new GetQueryResultsCommand_1.GetQueryResultsCommand(args);
|
|
191
|
+
if (typeof optionsOrCb === "function") {
|
|
192
|
+
this.send(command, optionsOrCb);
|
|
193
|
+
}
|
|
194
|
+
else if (typeof cb === "function") {
|
|
195
|
+
if (typeof optionsOrCb !== "object")
|
|
196
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
return this.send(command, optionsOrCb);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
108
203
|
getTrail(args, optionsOrCb, cb) {
|
|
109
204
|
const command = new GetTrailCommand_1.GetTrailCommand(args);
|
|
110
205
|
if (typeof optionsOrCb === "function") {
|
|
@@ -133,6 +228,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
133
228
|
return this.send(command, optionsOrCb);
|
|
134
229
|
}
|
|
135
230
|
}
|
|
231
|
+
listEventDataStores(args, optionsOrCb, cb) {
|
|
232
|
+
const command = new ListEventDataStoresCommand_1.ListEventDataStoresCommand(args);
|
|
233
|
+
if (typeof optionsOrCb === "function") {
|
|
234
|
+
this.send(command, optionsOrCb);
|
|
235
|
+
}
|
|
236
|
+
else if (typeof cb === "function") {
|
|
237
|
+
if (typeof optionsOrCb !== "object")
|
|
238
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
239
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
return this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
136
245
|
listPublicKeys(args, optionsOrCb, cb) {
|
|
137
246
|
const command = new ListPublicKeysCommand_1.ListPublicKeysCommand(args);
|
|
138
247
|
if (typeof optionsOrCb === "function") {
|
|
@@ -147,6 +256,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
147
256
|
return this.send(command, optionsOrCb);
|
|
148
257
|
}
|
|
149
258
|
}
|
|
259
|
+
listQueries(args, optionsOrCb, cb) {
|
|
260
|
+
const command = new ListQueriesCommand_1.ListQueriesCommand(args);
|
|
261
|
+
if (typeof optionsOrCb === "function") {
|
|
262
|
+
this.send(command, optionsOrCb);
|
|
263
|
+
}
|
|
264
|
+
else if (typeof cb === "function") {
|
|
265
|
+
if (typeof optionsOrCb !== "object")
|
|
266
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
return this.send(command, optionsOrCb);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
150
273
|
listTags(args, optionsOrCb, cb) {
|
|
151
274
|
const command = new ListTagsCommand_1.ListTagsCommand(args);
|
|
152
275
|
if (typeof optionsOrCb === "function") {
|
|
@@ -231,6 +354,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
231
354
|
return this.send(command, optionsOrCb);
|
|
232
355
|
}
|
|
233
356
|
}
|
|
357
|
+
restoreEventDataStore(args, optionsOrCb, cb) {
|
|
358
|
+
const command = new RestoreEventDataStoreCommand_1.RestoreEventDataStoreCommand(args);
|
|
359
|
+
if (typeof optionsOrCb === "function") {
|
|
360
|
+
this.send(command, optionsOrCb);
|
|
361
|
+
}
|
|
362
|
+
else if (typeof cb === "function") {
|
|
363
|
+
if (typeof optionsOrCb !== "object")
|
|
364
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
365
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
366
|
+
}
|
|
367
|
+
else {
|
|
368
|
+
return this.send(command, optionsOrCb);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
234
371
|
startLogging(args, optionsOrCb, cb) {
|
|
235
372
|
const command = new StartLoggingCommand_1.StartLoggingCommand(args);
|
|
236
373
|
if (typeof optionsOrCb === "function") {
|
|
@@ -245,6 +382,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
245
382
|
return this.send(command, optionsOrCb);
|
|
246
383
|
}
|
|
247
384
|
}
|
|
385
|
+
startQuery(args, optionsOrCb, cb) {
|
|
386
|
+
const command = new StartQueryCommand_1.StartQueryCommand(args);
|
|
387
|
+
if (typeof optionsOrCb === "function") {
|
|
388
|
+
this.send(command, optionsOrCb);
|
|
389
|
+
}
|
|
390
|
+
else if (typeof cb === "function") {
|
|
391
|
+
if (typeof optionsOrCb !== "object")
|
|
392
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
393
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
return this.send(command, optionsOrCb);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
248
399
|
stopLogging(args, optionsOrCb, cb) {
|
|
249
400
|
const command = new StopLoggingCommand_1.StopLoggingCommand(args);
|
|
250
401
|
if (typeof optionsOrCb === "function") {
|
|
@@ -259,6 +410,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
259
410
|
return this.send(command, optionsOrCb);
|
|
260
411
|
}
|
|
261
412
|
}
|
|
413
|
+
updateEventDataStore(args, optionsOrCb, cb) {
|
|
414
|
+
const command = new UpdateEventDataStoreCommand_1.UpdateEventDataStoreCommand(args);
|
|
415
|
+
if (typeof optionsOrCb === "function") {
|
|
416
|
+
this.send(command, optionsOrCb);
|
|
417
|
+
}
|
|
418
|
+
else if (typeof cb === "function") {
|
|
419
|
+
if (typeof optionsOrCb !== "object")
|
|
420
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
return this.send(command, optionsOrCb);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
262
427
|
updateTrail(args, optionsOrCb, cb) {
|
|
263
428
|
const command = new UpdateTrailCommand_1.UpdateTrailCommand(args);
|
|
264
429
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelQueryCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CancelQueryCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "CancelQueryCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CancelQueryRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CancelQueryResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CancelQueryCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CancelQueryCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CancelQueryCommand = CancelQueryCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateEventDataStoreCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateEventDataStoreCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "CreateEventDataStoreCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateEventDataStoreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateEventDataStoreCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateEventDataStoreCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateEventDataStoreCommand = CreateEventDataStoreCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteEventDataStoreCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteEventDataStoreCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "DeleteEventDataStoreCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteEventDataStoreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DeleteEventDataStoreCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteEventDataStoreCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteEventDataStoreCommand = DeleteEventDataStoreCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeQueryCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DescribeQueryCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "DescribeQueryCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeQueryRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeQueryResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeQueryCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeQueryCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeQueryCommand = DescribeQueryCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetEventDataStoreCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetEventDataStoreCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "GetEventDataStoreCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetEventDataStoreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1GetEventDataStoreCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1GetEventDataStoreCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetEventDataStoreCommand = GetEventDataStoreCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetQueryResultsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetQueryResultsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "GetQueryResultsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetQueryResultsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetQueryResultsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetQueryResultsCommand = GetQueryResultsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListEventDataStoresCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListEventDataStoresCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "ListEventDataStoresCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListEventDataStoresRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListEventDataStoresResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1ListEventDataStoresCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1ListEventDataStoresCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListEventDataStoresCommand = ListEventDataStoresCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListQueriesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListQueriesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "ListQueriesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListQueriesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListQueriesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1ListQueriesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1ListQueriesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListQueriesCommand = ListQueriesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RestoreEventDataStoreCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class RestoreEventDataStoreCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CloudTrailClient";
|
|
18
|
+
const commandName = "RestoreEventDataStoreCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.RestoreEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.RestoreEventDataStoreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1RestoreEventDataStoreCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1RestoreEventDataStoreCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.RestoreEventDataStoreCommand = RestoreEventDataStoreCommand;
|