@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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RestoreEventDataStoreRequest, RestoreEventDataStoreResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1RestoreEventDataStoreCommand, serializeAws_json1_1RestoreEventDataStoreCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var RestoreEventDataStoreCommand = (function (_super) {
|
|
7
|
+
__extends(RestoreEventDataStoreCommand, _super);
|
|
8
|
+
function RestoreEventDataStoreCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
RestoreEventDataStoreCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "RestoreEventDataStoreCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: RestoreEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: RestoreEventDataStoreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RestoreEventDataStoreCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1RestoreEventDataStoreCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
RestoreEventDataStoreCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1RestoreEventDataStoreCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return RestoreEventDataStoreCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RestoreEventDataStoreCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartQueryRequest, StartQueryResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StartQueryCommand, serializeAws_json1_1StartQueryCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StartQueryCommand = (function (_super) {
|
|
7
|
+
__extends(StartQueryCommand, _super);
|
|
8
|
+
function StartQueryCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "StartQueryCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartQueryRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartQueryResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartQueryCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StartQueryCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartQueryCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StartQueryCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartQueryCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartQueryCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateEventDataStoreRequest, UpdateEventDataStoreResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateEventDataStoreCommand, serializeAws_json1_1UpdateEventDataStoreCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateEventDataStoreCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateEventDataStoreCommand, _super);
|
|
8
|
+
function UpdateEventDataStoreCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateEventDataStoreCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudTrailClient";
|
|
18
|
+
var commandName = "UpdateEventDataStoreCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateEventDataStoreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateEventDataStoreCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateEventDataStoreCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateEventDataStoreCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateEventDataStoreCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateEventDataStoreCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateEventDataStoreCommand };
|
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
export * from "./AddTagsCommand";
|
|
2
|
+
export * from "./CancelQueryCommand";
|
|
3
|
+
export * from "./CreateEventDataStoreCommand";
|
|
2
4
|
export * from "./CreateTrailCommand";
|
|
5
|
+
export * from "./DeleteEventDataStoreCommand";
|
|
3
6
|
export * from "./DeleteTrailCommand";
|
|
7
|
+
export * from "./DescribeQueryCommand";
|
|
4
8
|
export * from "./DescribeTrailsCommand";
|
|
9
|
+
export * from "./GetEventDataStoreCommand";
|
|
5
10
|
export * from "./GetEventSelectorsCommand";
|
|
6
11
|
export * from "./GetInsightSelectorsCommand";
|
|
12
|
+
export * from "./GetQueryResultsCommand";
|
|
7
13
|
export * from "./GetTrailCommand";
|
|
8
14
|
export * from "./GetTrailStatusCommand";
|
|
15
|
+
export * from "./ListEventDataStoresCommand";
|
|
9
16
|
export * from "./ListPublicKeysCommand";
|
|
17
|
+
export * from "./ListQueriesCommand";
|
|
10
18
|
export * from "./ListTagsCommand";
|
|
11
19
|
export * from "./ListTrailsCommand";
|
|
12
20
|
export * from "./LookupEventsCommand";
|
|
13
21
|
export * from "./PutEventSelectorsCommand";
|
|
14
22
|
export * from "./PutInsightSelectorsCommand";
|
|
15
23
|
export * from "./RemoveTagsCommand";
|
|
24
|
+
export * from "./RestoreEventDataStoreCommand";
|
|
16
25
|
export * from "./StartLoggingCommand";
|
|
26
|
+
export * from "./StartQueryCommand";
|
|
17
27
|
export * from "./StopLoggingCommand";
|
|
28
|
+
export * from "./UpdateEventDataStoreCommand";
|
|
18
29
|
export * from "./UpdateTrailCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "cloudtrail.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "cloudtrail-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "cloudtrail.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "cloudtrail-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -45,10 +37,6 @@ var regionHash = {
|
|
|
45
37
|
},
|
|
46
38
|
"us-west-1": {
|
|
47
39
|
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "cloudtrail.us-west-1.amazonaws.com",
|
|
50
|
-
tags: [],
|
|
51
|
-
},
|
|
52
40
|
{
|
|
53
41
|
hostname: "cloudtrail-fips.us-west-1.amazonaws.com",
|
|
54
42
|
tags: ["fips"],
|
|
@@ -57,10 +45,6 @@ var regionHash = {
|
|
|
57
45
|
},
|
|
58
46
|
"us-west-2": {
|
|
59
47
|
variants: [
|
|
60
|
-
{
|
|
61
|
-
hostname: "cloudtrail.us-west-2.amazonaws.com",
|
|
62
|
-
tags: [],
|
|
63
|
-
},
|
|
64
48
|
{
|
|
65
49
|
hostname: "cloudtrail-fips.us-west-2.amazonaws.com",
|
|
66
50
|
tags: ["fips"],
|
|
@@ -11,42 +11,6 @@ export var AddTagsResponse;
|
|
|
11
11
|
(function (AddTagsResponse) {
|
|
12
12
|
AddTagsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
13
|
})(AddTagsResponse || (AddTagsResponse = {}));
|
|
14
|
-
export var CloudTrailARNInvalidException;
|
|
15
|
-
(function (CloudTrailARNInvalidException) {
|
|
16
|
-
CloudTrailARNInvalidException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(CloudTrailARNInvalidException || (CloudTrailARNInvalidException = {}));
|
|
18
|
-
export var InvalidTagParameterException;
|
|
19
|
-
(function (InvalidTagParameterException) {
|
|
20
|
-
InvalidTagParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(InvalidTagParameterException || (InvalidTagParameterException = {}));
|
|
22
|
-
export var InvalidTrailNameException;
|
|
23
|
-
(function (InvalidTrailNameException) {
|
|
24
|
-
InvalidTrailNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
-
})(InvalidTrailNameException || (InvalidTrailNameException = {}));
|
|
26
|
-
export var NotOrganizationMasterAccountException;
|
|
27
|
-
(function (NotOrganizationMasterAccountException) {
|
|
28
|
-
NotOrganizationMasterAccountException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(NotOrganizationMasterAccountException || (NotOrganizationMasterAccountException = {}));
|
|
30
|
-
export var OperationNotPermittedException;
|
|
31
|
-
(function (OperationNotPermittedException) {
|
|
32
|
-
OperationNotPermittedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(OperationNotPermittedException || (OperationNotPermittedException = {}));
|
|
34
|
-
export var ResourceNotFoundException;
|
|
35
|
-
(function (ResourceNotFoundException) {
|
|
36
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
38
|
-
export var ResourceTypeNotSupportedException;
|
|
39
|
-
(function (ResourceTypeNotSupportedException) {
|
|
40
|
-
ResourceTypeNotSupportedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(ResourceTypeNotSupportedException || (ResourceTypeNotSupportedException = {}));
|
|
42
|
-
export var TagsLimitExceededException;
|
|
43
|
-
(function (TagsLimitExceededException) {
|
|
44
|
-
TagsLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
-
})(TagsLimitExceededException || (TagsLimitExceededException = {}));
|
|
46
|
-
export var UnsupportedOperationException;
|
|
47
|
-
(function (UnsupportedOperationException) {
|
|
48
|
-
UnsupportedOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(UnsupportedOperationException || (UnsupportedOperationException = {}));
|
|
50
14
|
export var AdvancedFieldSelector;
|
|
51
15
|
(function (AdvancedFieldSelector) {
|
|
52
16
|
AdvancedFieldSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -55,18 +19,36 @@ export var AdvancedEventSelector;
|
|
|
55
19
|
(function (AdvancedEventSelector) {
|
|
56
20
|
AdvancedEventSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
21
|
})(AdvancedEventSelector || (AdvancedEventSelector = {}));
|
|
58
|
-
export var
|
|
59
|
-
(function (
|
|
60
|
-
|
|
61
|
-
})(
|
|
62
|
-
export var
|
|
63
|
-
(function (
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
})(
|
|
22
|
+
export var CancelQueryRequest;
|
|
23
|
+
(function (CancelQueryRequest) {
|
|
24
|
+
CancelQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
+
})(CancelQueryRequest || (CancelQueryRequest = {}));
|
|
26
|
+
export var QueryStatus;
|
|
27
|
+
(function (QueryStatus) {
|
|
28
|
+
QueryStatus["CANCELLED"] = "CANCELLED";
|
|
29
|
+
QueryStatus["FAILED"] = "FAILED";
|
|
30
|
+
QueryStatus["FINISHED"] = "FINISHED";
|
|
31
|
+
QueryStatus["QUEUED"] = "QUEUED";
|
|
32
|
+
QueryStatus["RUNNING"] = "RUNNING";
|
|
33
|
+
})(QueryStatus || (QueryStatus = {}));
|
|
34
|
+
export var CancelQueryResponse;
|
|
35
|
+
(function (CancelQueryResponse) {
|
|
36
|
+
CancelQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
+
})(CancelQueryResponse || (CancelQueryResponse = {}));
|
|
38
|
+
export var CreateEventDataStoreRequest;
|
|
39
|
+
(function (CreateEventDataStoreRequest) {
|
|
40
|
+
CreateEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
+
})(CreateEventDataStoreRequest || (CreateEventDataStoreRequest = {}));
|
|
42
|
+
export var EventDataStoreStatus;
|
|
43
|
+
(function (EventDataStoreStatus) {
|
|
44
|
+
EventDataStoreStatus["CREATED"] = "CREATED";
|
|
45
|
+
EventDataStoreStatus["ENABLED"] = "ENABLED";
|
|
46
|
+
EventDataStoreStatus["PENDING_DELETION"] = "PENDING_DELETION";
|
|
47
|
+
})(EventDataStoreStatus || (EventDataStoreStatus = {}));
|
|
48
|
+
export var CreateEventDataStoreResponse;
|
|
49
|
+
(function (CreateEventDataStoreResponse) {
|
|
50
|
+
CreateEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
|
+
})(CreateEventDataStoreResponse || (CreateEventDataStoreResponse = {}));
|
|
70
52
|
export var CreateTrailRequest;
|
|
71
53
|
(function (CreateTrailRequest) {
|
|
72
54
|
CreateTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -75,90 +57,14 @@ export var CreateTrailResponse;
|
|
|
75
57
|
(function (CreateTrailResponse) {
|
|
76
58
|
CreateTrailResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
59
|
})(CreateTrailResponse || (CreateTrailResponse = {}));
|
|
78
|
-
export var
|
|
79
|
-
(function (
|
|
80
|
-
|
|
81
|
-
})(
|
|
82
|
-
export var
|
|
83
|
-
(function (
|
|
84
|
-
|
|
85
|
-
})(
|
|
86
|
-
export var InsufficientS3BucketPolicyException;
|
|
87
|
-
(function (InsufficientS3BucketPolicyException) {
|
|
88
|
-
InsufficientS3BucketPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
-
})(InsufficientS3BucketPolicyException || (InsufficientS3BucketPolicyException = {}));
|
|
90
|
-
export var InsufficientSnsTopicPolicyException;
|
|
91
|
-
(function (InsufficientSnsTopicPolicyException) {
|
|
92
|
-
InsufficientSnsTopicPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
-
})(InsufficientSnsTopicPolicyException || (InsufficientSnsTopicPolicyException = {}));
|
|
94
|
-
export var InvalidCloudWatchLogsLogGroupArnException;
|
|
95
|
-
(function (InvalidCloudWatchLogsLogGroupArnException) {
|
|
96
|
-
InvalidCloudWatchLogsLogGroupArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
-
})(InvalidCloudWatchLogsLogGroupArnException || (InvalidCloudWatchLogsLogGroupArnException = {}));
|
|
98
|
-
export var InvalidCloudWatchLogsRoleArnException;
|
|
99
|
-
(function (InvalidCloudWatchLogsRoleArnException) {
|
|
100
|
-
InvalidCloudWatchLogsRoleArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
-
})(InvalidCloudWatchLogsRoleArnException || (InvalidCloudWatchLogsRoleArnException = {}));
|
|
102
|
-
export var InvalidKmsKeyIdException;
|
|
103
|
-
(function (InvalidKmsKeyIdException) {
|
|
104
|
-
InvalidKmsKeyIdException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
|
-
})(InvalidKmsKeyIdException || (InvalidKmsKeyIdException = {}));
|
|
106
|
-
export var InvalidParameterCombinationException;
|
|
107
|
-
(function (InvalidParameterCombinationException) {
|
|
108
|
-
InvalidParameterCombinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
-
})(InvalidParameterCombinationException || (InvalidParameterCombinationException = {}));
|
|
110
|
-
export var InvalidS3BucketNameException;
|
|
111
|
-
(function (InvalidS3BucketNameException) {
|
|
112
|
-
InvalidS3BucketNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
-
})(InvalidS3BucketNameException || (InvalidS3BucketNameException = {}));
|
|
114
|
-
export var InvalidS3PrefixException;
|
|
115
|
-
(function (InvalidS3PrefixException) {
|
|
116
|
-
InvalidS3PrefixException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
-
})(InvalidS3PrefixException || (InvalidS3PrefixException = {}));
|
|
118
|
-
export var InvalidSnsTopicNameException;
|
|
119
|
-
(function (InvalidSnsTopicNameException) {
|
|
120
|
-
InvalidSnsTopicNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
-
})(InvalidSnsTopicNameException || (InvalidSnsTopicNameException = {}));
|
|
122
|
-
export var KmsException;
|
|
123
|
-
(function (KmsException) {
|
|
124
|
-
KmsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(KmsException || (KmsException = {}));
|
|
126
|
-
export var KmsKeyDisabledException;
|
|
127
|
-
(function (KmsKeyDisabledException) {
|
|
128
|
-
KmsKeyDisabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
-
})(KmsKeyDisabledException || (KmsKeyDisabledException = {}));
|
|
130
|
-
export var KmsKeyNotFoundException;
|
|
131
|
-
(function (KmsKeyNotFoundException) {
|
|
132
|
-
KmsKeyNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(KmsKeyNotFoundException || (KmsKeyNotFoundException = {}));
|
|
134
|
-
export var MaximumNumberOfTrailsExceededException;
|
|
135
|
-
(function (MaximumNumberOfTrailsExceededException) {
|
|
136
|
-
MaximumNumberOfTrailsExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(MaximumNumberOfTrailsExceededException || (MaximumNumberOfTrailsExceededException = {}));
|
|
138
|
-
export var OrganizationNotInAllFeaturesModeException;
|
|
139
|
-
(function (OrganizationNotInAllFeaturesModeException) {
|
|
140
|
-
OrganizationNotInAllFeaturesModeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
-
})(OrganizationNotInAllFeaturesModeException || (OrganizationNotInAllFeaturesModeException = {}));
|
|
142
|
-
export var OrganizationsNotInUseException;
|
|
143
|
-
(function (OrganizationsNotInUseException) {
|
|
144
|
-
OrganizationsNotInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
-
})(OrganizationsNotInUseException || (OrganizationsNotInUseException = {}));
|
|
146
|
-
export var S3BucketDoesNotExistException;
|
|
147
|
-
(function (S3BucketDoesNotExistException) {
|
|
148
|
-
S3BucketDoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
-
})(S3BucketDoesNotExistException || (S3BucketDoesNotExistException = {}));
|
|
150
|
-
export var TrailAlreadyExistsException;
|
|
151
|
-
(function (TrailAlreadyExistsException) {
|
|
152
|
-
TrailAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
-
})(TrailAlreadyExistsException || (TrailAlreadyExistsException = {}));
|
|
154
|
-
export var TrailNotProvidedException;
|
|
155
|
-
(function (TrailNotProvidedException) {
|
|
156
|
-
TrailNotProvidedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
-
})(TrailNotProvidedException || (TrailNotProvidedException = {}));
|
|
158
|
-
export var ConflictException;
|
|
159
|
-
(function (ConflictException) {
|
|
160
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(ConflictException || (ConflictException = {}));
|
|
60
|
+
export var DeleteEventDataStoreRequest;
|
|
61
|
+
(function (DeleteEventDataStoreRequest) {
|
|
62
|
+
DeleteEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
63
|
+
})(DeleteEventDataStoreRequest || (DeleteEventDataStoreRequest = {}));
|
|
64
|
+
export var DeleteEventDataStoreResponse;
|
|
65
|
+
(function (DeleteEventDataStoreResponse) {
|
|
66
|
+
DeleteEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
67
|
+
})(DeleteEventDataStoreResponse || (DeleteEventDataStoreResponse = {}));
|
|
162
68
|
export var DeleteTrailRequest;
|
|
163
69
|
(function (DeleteTrailRequest) {
|
|
164
70
|
DeleteTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -167,14 +73,18 @@ export var DeleteTrailResponse;
|
|
|
167
73
|
(function (DeleteTrailResponse) {
|
|
168
74
|
DeleteTrailResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
75
|
})(DeleteTrailResponse || (DeleteTrailResponse = {}));
|
|
170
|
-
export var
|
|
171
|
-
(function (
|
|
172
|
-
|
|
173
|
-
})(
|
|
174
|
-
export var
|
|
175
|
-
(function (
|
|
176
|
-
|
|
177
|
-
})(
|
|
76
|
+
export var DescribeQueryRequest;
|
|
77
|
+
(function (DescribeQueryRequest) {
|
|
78
|
+
DescribeQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
|
+
})(DescribeQueryRequest || (DescribeQueryRequest = {}));
|
|
80
|
+
export var QueryStatisticsForDescribeQuery;
|
|
81
|
+
(function (QueryStatisticsForDescribeQuery) {
|
|
82
|
+
QueryStatisticsForDescribeQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
+
})(QueryStatisticsForDescribeQuery || (QueryStatisticsForDescribeQuery = {}));
|
|
84
|
+
export var DescribeQueryResponse;
|
|
85
|
+
(function (DescribeQueryResponse) {
|
|
86
|
+
DescribeQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
})(DescribeQueryResponse || (DescribeQueryResponse = {}));
|
|
178
88
|
export var DescribeTrailsRequest;
|
|
179
89
|
(function (DescribeTrailsRequest) {
|
|
180
90
|
DescribeTrailsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -187,6 +97,14 @@ export var DescribeTrailsResponse;
|
|
|
187
97
|
(function (DescribeTrailsResponse) {
|
|
188
98
|
DescribeTrailsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
99
|
})(DescribeTrailsResponse || (DescribeTrailsResponse = {}));
|
|
100
|
+
export var GetEventDataStoreRequest;
|
|
101
|
+
(function (GetEventDataStoreRequest) {
|
|
102
|
+
GetEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
+
})(GetEventDataStoreRequest || (GetEventDataStoreRequest = {}));
|
|
104
|
+
export var GetEventDataStoreResponse;
|
|
105
|
+
(function (GetEventDataStoreResponse) {
|
|
106
|
+
GetEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
|
+
})(GetEventDataStoreResponse || (GetEventDataStoreResponse = {}));
|
|
190
108
|
export var GetEventSelectorsRequest;
|
|
191
109
|
(function (GetEventSelectorsRequest) {
|
|
192
110
|
GetEventSelectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -226,10 +144,18 @@ export var GetInsightSelectorsResponse;
|
|
|
226
144
|
(function (GetInsightSelectorsResponse) {
|
|
227
145
|
GetInsightSelectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
146
|
})(GetInsightSelectorsResponse || (GetInsightSelectorsResponse = {}));
|
|
229
|
-
export var
|
|
230
|
-
(function (
|
|
231
|
-
|
|
232
|
-
})(
|
|
147
|
+
export var GetQueryResultsRequest;
|
|
148
|
+
(function (GetQueryResultsRequest) {
|
|
149
|
+
GetQueryResultsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
})(GetQueryResultsRequest || (GetQueryResultsRequest = {}));
|
|
151
|
+
export var QueryStatistics;
|
|
152
|
+
(function (QueryStatistics) {
|
|
153
|
+
QueryStatistics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
})(QueryStatistics || (QueryStatistics = {}));
|
|
155
|
+
export var GetQueryResultsResponse;
|
|
156
|
+
(function (GetQueryResultsResponse) {
|
|
157
|
+
GetQueryResultsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
158
|
+
})(GetQueryResultsResponse || (GetQueryResultsResponse = {}));
|
|
233
159
|
export var GetTrailRequest;
|
|
234
160
|
(function (GetTrailRequest) {
|
|
235
161
|
GetTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -246,14 +172,18 @@ export var GetTrailStatusResponse;
|
|
|
246
172
|
(function (GetTrailStatusResponse) {
|
|
247
173
|
GetTrailStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
174
|
})(GetTrailStatusResponse || (GetTrailStatusResponse = {}));
|
|
249
|
-
export var
|
|
250
|
-
(function (
|
|
251
|
-
|
|
252
|
-
})(
|
|
253
|
-
export var
|
|
254
|
-
(function (
|
|
255
|
-
|
|
256
|
-
})(
|
|
175
|
+
export var ListEventDataStoresRequest;
|
|
176
|
+
(function (ListEventDataStoresRequest) {
|
|
177
|
+
ListEventDataStoresRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
})(ListEventDataStoresRequest || (ListEventDataStoresRequest = {}));
|
|
179
|
+
export var EventDataStore;
|
|
180
|
+
(function (EventDataStore) {
|
|
181
|
+
EventDataStore.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
})(EventDataStore || (EventDataStore = {}));
|
|
183
|
+
export var ListEventDataStoresResponse;
|
|
184
|
+
(function (ListEventDataStoresResponse) {
|
|
185
|
+
ListEventDataStoresResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
})(ListEventDataStoresResponse || (ListEventDataStoresResponse = {}));
|
|
257
187
|
export var ListPublicKeysRequest;
|
|
258
188
|
(function (ListPublicKeysRequest) {
|
|
259
189
|
ListPublicKeysRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -266,6 +196,18 @@ export var ListPublicKeysResponse;
|
|
|
266
196
|
(function (ListPublicKeysResponse) {
|
|
267
197
|
ListPublicKeysResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
268
198
|
})(ListPublicKeysResponse || (ListPublicKeysResponse = {}));
|
|
199
|
+
export var ListQueriesRequest;
|
|
200
|
+
(function (ListQueriesRequest) {
|
|
201
|
+
ListQueriesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
})(ListQueriesRequest || (ListQueriesRequest = {}));
|
|
203
|
+
export var Query;
|
|
204
|
+
(function (Query) {
|
|
205
|
+
Query.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
})(Query || (Query = {}));
|
|
207
|
+
export var ListQueriesResponse;
|
|
208
|
+
(function (ListQueriesResponse) {
|
|
209
|
+
ListQueriesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
})(ListQueriesResponse || (ListQueriesResponse = {}));
|
|
269
211
|
export var ListTagsRequest;
|
|
270
212
|
(function (ListTagsRequest) {
|
|
271
213
|
ListTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -290,22 +232,6 @@ export var ListTrailsResponse;
|
|
|
290
232
|
(function (ListTrailsResponse) {
|
|
291
233
|
ListTrailsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
234
|
})(ListTrailsResponse || (ListTrailsResponse = {}));
|
|
293
|
-
export var InvalidEventCategoryException;
|
|
294
|
-
(function (InvalidEventCategoryException) {
|
|
295
|
-
InvalidEventCategoryException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
-
})(InvalidEventCategoryException || (InvalidEventCategoryException = {}));
|
|
297
|
-
export var InvalidLookupAttributesException;
|
|
298
|
-
(function (InvalidLookupAttributesException) {
|
|
299
|
-
InvalidLookupAttributesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
|
-
})(InvalidLookupAttributesException || (InvalidLookupAttributesException = {}));
|
|
301
|
-
export var InvalidMaxResultsException;
|
|
302
|
-
(function (InvalidMaxResultsException) {
|
|
303
|
-
InvalidMaxResultsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
304
|
-
})(InvalidMaxResultsException || (InvalidMaxResultsException = {}));
|
|
305
|
-
export var InvalidNextTokenException;
|
|
306
|
-
(function (InvalidNextTokenException) {
|
|
307
|
-
InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
308
|
-
})(InvalidNextTokenException || (InvalidNextTokenException = {}));
|
|
309
235
|
export var EventCategory;
|
|
310
236
|
(function (EventCategory) {
|
|
311
237
|
EventCategory["Insight"] = "insight";
|
|
@@ -341,10 +267,6 @@ export var LookupEventsResponse;
|
|
|
341
267
|
(function (LookupEventsResponse) {
|
|
342
268
|
LookupEventsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
269
|
})(LookupEventsResponse || (LookupEventsResponse = {}));
|
|
344
|
-
export var InvalidEventSelectorsException;
|
|
345
|
-
(function (InvalidEventSelectorsException) {
|
|
346
|
-
InvalidEventSelectorsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
347
|
-
})(InvalidEventSelectorsException || (InvalidEventSelectorsException = {}));
|
|
348
270
|
export var PutEventSelectorsRequest;
|
|
349
271
|
(function (PutEventSelectorsRequest) {
|
|
350
272
|
PutEventSelectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -353,10 +275,6 @@ export var PutEventSelectorsResponse;
|
|
|
353
275
|
(function (PutEventSelectorsResponse) {
|
|
354
276
|
PutEventSelectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
277
|
})(PutEventSelectorsResponse || (PutEventSelectorsResponse = {}));
|
|
356
|
-
export var InvalidInsightSelectorsException;
|
|
357
|
-
(function (InvalidInsightSelectorsException) {
|
|
358
|
-
InvalidInsightSelectorsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
359
|
-
})(InvalidInsightSelectorsException || (InvalidInsightSelectorsException = {}));
|
|
360
278
|
export var PutInsightSelectorsRequest;
|
|
361
279
|
(function (PutInsightSelectorsRequest) {
|
|
362
280
|
PutInsightSelectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -373,6 +291,14 @@ export var RemoveTagsResponse;
|
|
|
373
291
|
(function (RemoveTagsResponse) {
|
|
374
292
|
RemoveTagsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
375
293
|
})(RemoveTagsResponse || (RemoveTagsResponse = {}));
|
|
294
|
+
export var RestoreEventDataStoreRequest;
|
|
295
|
+
(function (RestoreEventDataStoreRequest) {
|
|
296
|
+
RestoreEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(RestoreEventDataStoreRequest || (RestoreEventDataStoreRequest = {}));
|
|
298
|
+
export var RestoreEventDataStoreResponse;
|
|
299
|
+
(function (RestoreEventDataStoreResponse) {
|
|
300
|
+
RestoreEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
})(RestoreEventDataStoreResponse || (RestoreEventDataStoreResponse = {}));
|
|
376
302
|
export var StartLoggingRequest;
|
|
377
303
|
(function (StartLoggingRequest) {
|
|
378
304
|
StartLoggingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -381,6 +307,14 @@ export var StartLoggingResponse;
|
|
|
381
307
|
(function (StartLoggingResponse) {
|
|
382
308
|
StartLoggingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
383
309
|
})(StartLoggingResponse || (StartLoggingResponse = {}));
|
|
310
|
+
export var StartQueryRequest;
|
|
311
|
+
(function (StartQueryRequest) {
|
|
312
|
+
StartQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
+
})(StartQueryRequest || (StartQueryRequest = {}));
|
|
314
|
+
export var StartQueryResponse;
|
|
315
|
+
(function (StartQueryResponse) {
|
|
316
|
+
StartQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
+
})(StartQueryResponse || (StartQueryResponse = {}));
|
|
384
318
|
export var StopLoggingRequest;
|
|
385
319
|
(function (StopLoggingRequest) {
|
|
386
320
|
StopLoggingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -389,6 +323,14 @@ export var StopLoggingResponse;
|
|
|
389
323
|
(function (StopLoggingResponse) {
|
|
390
324
|
StopLoggingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
391
325
|
})(StopLoggingResponse || (StopLoggingResponse = {}));
|
|
326
|
+
export var UpdateEventDataStoreRequest;
|
|
327
|
+
(function (UpdateEventDataStoreRequest) {
|
|
328
|
+
UpdateEventDataStoreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
329
|
+
})(UpdateEventDataStoreRequest || (UpdateEventDataStoreRequest = {}));
|
|
330
|
+
export var UpdateEventDataStoreResponse;
|
|
331
|
+
(function (UpdateEventDataStoreResponse) {
|
|
332
|
+
UpdateEventDataStoreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
333
|
+
})(UpdateEventDataStoreResponse || (UpdateEventDataStoreResponse = {}));
|
|
392
334
|
export var UpdateTrailRequest;
|
|
393
335
|
(function (UpdateTrailRequest) {
|
|
394
336
|
UpdateTrailRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { CloudTrail } from "../CloudTrail";
|
|
3
|
+
import { CloudTrailClient } from "../CloudTrailClient";
|
|
4
|
+
import { GetQueryResultsCommand, } from "../commands/GetQueryResultsCommand";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetQueryResultsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.getQueryResults.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateGetQueryResults(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateGetQueryResults_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
if (!(config.client instanceof CloudTrail)) return [3, 3];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
case 2:
|
|
52
|
+
page = _a.sent();
|
|
53
|
+
return [3, 6];
|
|
54
|
+
case 3:
|
|
55
|
+
if (!(config.client instanceof CloudTrailClient)) return [3, 5];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
case 4:
|
|
58
|
+
page = _a.sent();
|
|
59
|
+
return [3, 6];
|
|
60
|
+
case 5: throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
61
|
+
case 6: return [4, __await(page)];
|
|
62
|
+
case 7: return [4, _a.sent()];
|
|
63
|
+
case 8:
|
|
64
|
+
_a.sent();
|
|
65
|
+
token = page.NextToken;
|
|
66
|
+
hasNext = !!token;
|
|
67
|
+
return [3, 1];
|
|
68
|
+
case 9: return [4, __await(undefined)];
|
|
69
|
+
case 10: return [2, _a.sent()];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}
|