@aws-sdk/client-cloudtrail 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/CloudTrail.js +153 -146
- package/dist-es/CloudTrailClient.js +28 -22
- package/dist-es/commands/AddTagsCommand.js +28 -21
- package/dist-es/commands/CancelQueryCommand.js +28 -21
- package/dist-es/commands/CreateEventDataStoreCommand.js +28 -21
- package/dist-es/commands/CreateTrailCommand.js +28 -21
- package/dist-es/commands/DeleteEventDataStoreCommand.js +28 -21
- package/dist-es/commands/DeleteTrailCommand.js +28 -21
- package/dist-es/commands/DescribeQueryCommand.js +28 -21
- package/dist-es/commands/DescribeTrailsCommand.js +28 -21
- package/dist-es/commands/GetChannelCommand.js +28 -21
- package/dist-es/commands/GetEventDataStoreCommand.js +28 -21
- package/dist-es/commands/GetEventSelectorsCommand.js +28 -21
- package/dist-es/commands/GetImportCommand.js +28 -21
- package/dist-es/commands/GetInsightSelectorsCommand.js +28 -21
- package/dist-es/commands/GetQueryResultsCommand.js +28 -21
- package/dist-es/commands/GetTrailCommand.js +28 -21
- package/dist-es/commands/GetTrailStatusCommand.js +28 -21
- package/dist-es/commands/ListChannelsCommand.js +28 -21
- package/dist-es/commands/ListEventDataStoresCommand.js +28 -21
- package/dist-es/commands/ListImportFailuresCommand.js +28 -21
- package/dist-es/commands/ListImportsCommand.js +28 -21
- package/dist-es/commands/ListPublicKeysCommand.js +28 -21
- package/dist-es/commands/ListQueriesCommand.js +28 -21
- package/dist-es/commands/ListTagsCommand.js +28 -21
- package/dist-es/commands/ListTrailsCommand.js +28 -21
- package/dist-es/commands/LookupEventsCommand.js +28 -21
- package/dist-es/commands/PutEventSelectorsCommand.js +28 -21
- package/dist-es/commands/PutInsightSelectorsCommand.js +28 -21
- package/dist-es/commands/RemoveTagsCommand.js +28 -21
- package/dist-es/commands/RestoreEventDataStoreCommand.js +28 -21
- package/dist-es/commands/StartImportCommand.js +28 -21
- package/dist-es/commands/StartLoggingCommand.js +28 -21
- package/dist-es/commands/StartQueryCommand.js +28 -21
- package/dist-es/commands/StopImportCommand.js +28 -21
- package/dist-es/commands/StopLoggingCommand.js +28 -21
- package/dist-es/commands/UpdateEventDataStoreCommand.js +28 -21
- package/dist-es/commands/UpdateTrailCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CloudTrailServiceException.js +10 -5
- package/dist-es/models/models_0.js +943 -1136
- package/dist-es/pagination/GetQueryResultsPaginator.js +67 -24
- package/dist-es/pagination/ListChannelsPaginator.js +68 -25
- package/dist-es/pagination/ListEventDataStoresPaginator.js +68 -25
- package/dist-es/pagination/ListImportFailuresPaginator.js +68 -25
- package/dist-es/pagination/ListImportsPaginator.js +68 -25
- package/dist-es/pagination/ListPublicKeysPaginator.js +67 -24
- package/dist-es/pagination/ListQueriesPaginator.js +68 -25
- package/dist-es/pagination/ListTagsPaginator.js +67 -24
- package/dist-es/pagination/ListTrailsPaginator.js +67 -24
- package/dist-es/pagination/LookupEventsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +4293 -3466
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetEventDataStoreRequestFilterSensitiveLog, GetEventDataStoreResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetEventDataStoreCommand, serializeAws_json1_1GetEventDataStoreCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEventDataStoreCommand = (function (_super) {
|
|
7
|
+
__extends(GetEventDataStoreCommand, _super);
|
|
8
|
+
function GetEventDataStoreCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEventDataStoreCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetEventDataStoreCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEventDataStoreRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEventDataStoreResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetEventDataStoreCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetEventDataStoreCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEventDataStoreCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetEventDataStoreCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEventDataStoreCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEventDataStoreCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetEventSelectorsRequestFilterSensitiveLog, GetEventSelectorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetEventSelectorsCommand, serializeAws_json1_1GetEventSelectorsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEventSelectorsCommand = (function (_super) {
|
|
7
|
+
__extends(GetEventSelectorsCommand, _super);
|
|
8
|
+
function GetEventSelectorsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEventSelectorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetEventSelectorsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEventSelectorsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEventSelectorsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetEventSelectorsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetEventSelectorsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEventSelectorsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetEventSelectorsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEventSelectorsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEventSelectorsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetImportRequestFilterSensitiveLog, GetImportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetImportCommand, serializeAws_json1_1GetImportCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetImportCommand = (function (_super) {
|
|
7
|
+
__extends(GetImportCommand, _super);
|
|
8
|
+
function GetImportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetImportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetImportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetImportRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetImportResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetImportCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetImportCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetImportCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetImportCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetImportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetImportCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetInsightSelectorsRequestFilterSensitiveLog, GetInsightSelectorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetInsightSelectorsCommand, serializeAws_json1_1GetInsightSelectorsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInsightSelectorsCommand = (function (_super) {
|
|
7
|
+
__extends(GetInsightSelectorsCommand, _super);
|
|
8
|
+
function GetInsightSelectorsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInsightSelectorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetInsightSelectorsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInsightSelectorsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInsightSelectorsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetInsightSelectorsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInsightSelectorsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInsightSelectorsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInsightSelectorsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInsightSelectorsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInsightSelectorsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetQueryResultsRequestFilterSensitiveLog, GetQueryResultsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetQueryResultsCommand, serializeAws_json1_1GetQueryResultsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetQueryResultsCommand = (function (_super) {
|
|
7
|
+
__extends(GetQueryResultsCommand, _super);
|
|
8
|
+
function GetQueryResultsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetQueryResultsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetQueryResultsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetQueryResultsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetQueryResultsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetQueryResultsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetQueryResultsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetQueryResultsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetQueryResultsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetQueryResultsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetQueryResultsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetTrailRequestFilterSensitiveLog, GetTrailResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetTrailCommand, serializeAws_json1_1GetTrailCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetTrailCommand = (function (_super) {
|
|
7
|
+
__extends(GetTrailCommand, _super);
|
|
8
|
+
function GetTrailCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTrailCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetTrailCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTrailRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetTrailResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTrailCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetTrailCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTrailCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetTrailCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTrailCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTrailCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetTrailStatusRequestFilterSensitiveLog, GetTrailStatusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetTrailStatusCommand, serializeAws_json1_1GetTrailStatusCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetTrailStatusCommand = (function (_super) {
|
|
7
|
+
__extends(GetTrailStatusCommand, _super);
|
|
8
|
+
function GetTrailStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTrailStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "GetTrailStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTrailStatusRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetTrailStatusResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTrailStatusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetTrailStatusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTrailStatusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetTrailStatusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTrailStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTrailStatusCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListChannelsCommand, serializeAws_json1_1ListChannelsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListChannelsCommand = (function (_super) {
|
|
7
|
+
__extends(ListChannelsCommand, _super);
|
|
8
|
+
function ListChannelsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListChannelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "ListChannelsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListChannelsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListChannelsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListChannelsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListChannelsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListChannelsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListChannelsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListChannelsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListEventDataStoresRequestFilterSensitiveLog, ListEventDataStoresResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListEventDataStoresCommand, serializeAws_json1_1ListEventDataStoresCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListEventDataStoresCommand = (function (_super) {
|
|
7
|
+
__extends(ListEventDataStoresCommand, _super);
|
|
8
|
+
function ListEventDataStoresCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListEventDataStoresCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "ListEventDataStoresCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListEventDataStoresRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListEventDataStoresResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListEventDataStoresCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListEventDataStoresCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListEventDataStoresCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListEventDataStoresCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListEventDataStoresCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListEventDataStoresCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListImportFailuresRequestFilterSensitiveLog, ListImportFailuresResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListImportFailuresCommand, serializeAws_json1_1ListImportFailuresCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListImportFailuresCommand = (function (_super) {
|
|
7
|
+
__extends(ListImportFailuresCommand, _super);
|
|
8
|
+
function ListImportFailuresCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListImportFailuresCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "ListImportFailuresCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListImportFailuresRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListImportFailuresResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListImportFailuresCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListImportFailuresCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListImportFailuresCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListImportFailuresCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListImportFailuresCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListImportFailuresCommand };
|