@aws-sdk/client-cloudtrail 3.41.0 → 3.46.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 +48 -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 +1 -0
- package/dist-cjs/models/models_0.js +292 -36
- 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.js +0 -2
- 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 +1 -0
- package/dist-es/models/models_0.js +199 -24
- 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.js +0 -2
- package/dist-types/CloudTrail.d.ts +100 -1
- package/dist-types/CloudTrailClient.d.ts +13 -2
- 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 +1184 -136
- 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/ts3.4/CloudTrail.d.ts +55 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +13 -2
- 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 +613 -62
- 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/package.json +36 -43
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartQueryCommand = 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 StartQueryCommand 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 = "StartQueryCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StartQueryRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StartQueryResponse.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_1StartQueryCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1StartQueryCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StartQueryCommand = StartQueryCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateEventDataStoreCommand = 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 UpdateEventDataStoreCommand 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 = "UpdateEventDataStoreCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateEventDataStoreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateEventDataStoreResponse.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_1UpdateEventDataStoreCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1UpdateEventDataStoreCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateEventDataStoreCommand = UpdateEventDataStoreCommand;
|
|
@@ -2,20 +2,31 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AddTagsCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelQueryCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateEventDataStoreCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./CreateTrailCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteEventDataStoreCommand"), exports);
|
|
6
9
|
tslib_1.__exportStar(require("./DeleteTrailCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DescribeQueryCommand"), exports);
|
|
7
11
|
tslib_1.__exportStar(require("./DescribeTrailsCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetEventDataStoreCommand"), exports);
|
|
8
13
|
tslib_1.__exportStar(require("./GetEventSelectorsCommand"), exports);
|
|
9
14
|
tslib_1.__exportStar(require("./GetInsightSelectorsCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetQueryResultsCommand"), exports);
|
|
10
16
|
tslib_1.__exportStar(require("./GetTrailCommand"), exports);
|
|
11
17
|
tslib_1.__exportStar(require("./GetTrailStatusCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListEventDataStoresCommand"), exports);
|
|
12
19
|
tslib_1.__exportStar(require("./ListPublicKeysCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListQueriesCommand"), exports);
|
|
13
21
|
tslib_1.__exportStar(require("./ListTagsCommand"), exports);
|
|
14
22
|
tslib_1.__exportStar(require("./ListTrailsCommand"), exports);
|
|
15
23
|
tslib_1.__exportStar(require("./LookupEventsCommand"), exports);
|
|
16
24
|
tslib_1.__exportStar(require("./PutEventSelectorsCommand"), exports);
|
|
17
25
|
tslib_1.__exportStar(require("./PutInsightSelectorsCommand"), exports);
|
|
18
26
|
tslib_1.__exportStar(require("./RemoveTagsCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./RestoreEventDataStoreCommand"), exports);
|
|
19
28
|
tslib_1.__exportStar(require("./StartLoggingCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./StartQueryCommand"), exports);
|
|
20
30
|
tslib_1.__exportStar(require("./StopLoggingCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./UpdateEventDataStoreCommand"), exports);
|
|
21
32
|
tslib_1.__exportStar(require("./UpdateTrailCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.KmsKeyNotFoundException = exports.KmsKeyDisabledException = exports.KmsException = exports.InvalidSnsTopicNameException = exports.InvalidS3PrefixException = exports.InvalidS3BucketNameException = exports.InvalidParameterCombinationException = exports.InvalidKmsKeyIdException = exports.InvalidCloudWatchLogsRoleArnException = exports.InvalidCloudWatchLogsLogGroupArnException = exports.InsufficientSnsTopicPolicyException = exports.InsufficientS3BucketPolicyException = exports.InsufficientEncryptionPolicyException = exports.CreateTrailResponse = exports.CreateTrailRequest = exports.CloudWatchLogsDeliveryUnavailableException = exports.CloudTrailInvalidClientTokenIdException = exports.OrganizationsNotInUseException = exports.OrganizationNotInAllFeaturesModeException = exports.InsufficientDependencyServiceAccessPermissionException = exports.EventDataStoreMaxLimitExceededException = exports.EventDataStoreAlreadyExistsException = exports.CreateEventDataStoreResponse = exports.EventDataStoreStatus = exports.CreateEventDataStoreRequest = exports.CloudTrailAccessNotEnabledException = exports.QueryIdNotFoundException = exports.InvalidParameterException = exports.InactiveQueryException = exports.EventDataStoreARNInvalidException = exports.CancelQueryResponse = exports.QueryStatus = exports.CancelQueryRequest = exports.AdvancedEventSelector = exports.AdvancedFieldSelector = exports.UnsupportedOperationException = exports.TagsLimitExceededException = exports.ResourceTypeNotSupportedException = exports.ResourceNotFoundException = exports.OperationNotPermittedException = exports.NotOrganizationMasterAccountException = exports.InvalidTrailNameException = exports.InvalidTagParameterException = exports.InactiveEventDataStoreException = exports.EventDataStoreNotFoundException = exports.ConflictException = exports.CloudTrailARNInvalidException = exports.AddTagsResponse = exports.AddTagsRequest = exports.Tag = void 0;
|
|
4
|
+
exports.Query = exports.ListQueriesRequest = exports.InvalidQueryStatusException = exports.InvalidDateRangeException = exports.ListPublicKeysResponse = exports.PublicKey = exports.ListPublicKeysRequest = exports.InvalidTokenException = exports.InvalidTimeRangeException = exports.ListEventDataStoresResponse = exports.EventDataStore = exports.ListEventDataStoresRequest = exports.GetTrailStatusResponse = exports.GetTrailStatusRequest = exports.GetTrailResponse = exports.GetTrailRequest = exports.InvalidNextTokenException = exports.InvalidMaxResultsException = exports.GetQueryResultsResponse = exports.QueryStatistics = exports.GetQueryResultsRequest = exports.InsightNotEnabledException = exports.GetInsightSelectorsResponse = exports.InsightSelector = exports.InsightType = exports.GetInsightSelectorsRequest = exports.GetEventSelectorsResponse = exports.EventSelector = exports.ReadWriteType = exports.DataResource = exports.GetEventSelectorsRequest = exports.GetEventDataStoreResponse = exports.GetEventDataStoreRequest = exports.DescribeTrailsResponse = exports.Trail = exports.DescribeTrailsRequest = exports.DescribeQueryResponse = exports.QueryStatisticsForDescribeQuery = exports.DescribeQueryRequest = exports.TrailNotFoundException = exports.InvalidHomeRegionException = exports.DeleteTrailResponse = exports.DeleteTrailRequest = exports.EventDataStoreTerminationProtectedException = exports.DeleteEventDataStoreResponse = exports.DeleteEventDataStoreRequest = exports.TrailNotProvidedException = exports.TrailAlreadyExistsException = exports.S3BucketDoesNotExistException = exports.MaximumNumberOfTrailsExceededException = void 0;
|
|
5
|
+
exports.UpdateTrailResponse = exports.UpdateTrailRequest = exports.UpdateEventDataStoreResponse = exports.UpdateEventDataStoreRequest = exports.StopLoggingResponse = exports.StopLoggingRequest = exports.StartQueryResponse = exports.StartQueryRequest = exports.MaxConcurrentQueriesException = exports.InvalidQueryStatementException = exports.StartLoggingResponse = exports.StartLoggingRequest = exports.RestoreEventDataStoreResponse = exports.RestoreEventDataStoreRequest = exports.InvalidEventDataStoreStatusException = exports.RemoveTagsResponse = exports.RemoveTagsRequest = exports.PutInsightSelectorsResponse = exports.PutInsightSelectorsRequest = exports.InvalidInsightSelectorsException = exports.PutEventSelectorsResponse = exports.PutEventSelectorsRequest = exports.InvalidEventSelectorsException = exports.LookupEventsResponse = exports.Event = exports.Resource = exports.LookupEventsRequest = exports.LookupAttribute = exports.LookupAttributeKey = exports.EventCategory = exports.InvalidLookupAttributesException = exports.InvalidEventCategoryException = exports.ListTrailsResponse = exports.TrailInfo = exports.ListTrailsRequest = exports.ListTagsResponse = exports.ResourceTag = exports.ListTagsRequest = exports.ListQueriesResponse = void 0;
|
|
5
6
|
var Tag;
|
|
6
7
|
(function (Tag) {
|
|
7
8
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -26,6 +27,24 @@ var CloudTrailARNInvalidException;
|
|
|
26
27
|
...obj,
|
|
27
28
|
});
|
|
28
29
|
})(CloudTrailARNInvalidException = exports.CloudTrailARNInvalidException || (exports.CloudTrailARNInvalidException = {}));
|
|
30
|
+
var ConflictException;
|
|
31
|
+
(function (ConflictException) {
|
|
32
|
+
ConflictException.filterSensitiveLog = (obj) => ({
|
|
33
|
+
...obj,
|
|
34
|
+
});
|
|
35
|
+
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
36
|
+
var EventDataStoreNotFoundException;
|
|
37
|
+
(function (EventDataStoreNotFoundException) {
|
|
38
|
+
EventDataStoreNotFoundException.filterSensitiveLog = (obj) => ({
|
|
39
|
+
...obj,
|
|
40
|
+
});
|
|
41
|
+
})(EventDataStoreNotFoundException = exports.EventDataStoreNotFoundException || (exports.EventDataStoreNotFoundException = {}));
|
|
42
|
+
var InactiveEventDataStoreException;
|
|
43
|
+
(function (InactiveEventDataStoreException) {
|
|
44
|
+
InactiveEventDataStoreException.filterSensitiveLog = (obj) => ({
|
|
45
|
+
...obj,
|
|
46
|
+
});
|
|
47
|
+
})(InactiveEventDataStoreException = exports.InactiveEventDataStoreException || (exports.InactiveEventDataStoreException = {}));
|
|
29
48
|
var InvalidTagParameterException;
|
|
30
49
|
(function (InvalidTagParameterException) {
|
|
31
50
|
InvalidTagParameterException.filterSensitiveLog = (obj) => ({
|
|
@@ -86,12 +105,104 @@ var AdvancedEventSelector;
|
|
|
86
105
|
...obj,
|
|
87
106
|
});
|
|
88
107
|
})(AdvancedEventSelector = exports.AdvancedEventSelector || (exports.AdvancedEventSelector = {}));
|
|
108
|
+
var CancelQueryRequest;
|
|
109
|
+
(function (CancelQueryRequest) {
|
|
110
|
+
CancelQueryRequest.filterSensitiveLog = (obj) => ({
|
|
111
|
+
...obj,
|
|
112
|
+
});
|
|
113
|
+
})(CancelQueryRequest = exports.CancelQueryRequest || (exports.CancelQueryRequest = {}));
|
|
114
|
+
var QueryStatus;
|
|
115
|
+
(function (QueryStatus) {
|
|
116
|
+
QueryStatus["CANCELLED"] = "CANCELLED";
|
|
117
|
+
QueryStatus["FAILED"] = "FAILED";
|
|
118
|
+
QueryStatus["FINISHED"] = "FINISHED";
|
|
119
|
+
QueryStatus["QUEUED"] = "QUEUED";
|
|
120
|
+
QueryStatus["RUNNING"] = "RUNNING";
|
|
121
|
+
})(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
|
|
122
|
+
var CancelQueryResponse;
|
|
123
|
+
(function (CancelQueryResponse) {
|
|
124
|
+
CancelQueryResponse.filterSensitiveLog = (obj) => ({
|
|
125
|
+
...obj,
|
|
126
|
+
});
|
|
127
|
+
})(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
|
|
128
|
+
var EventDataStoreARNInvalidException;
|
|
129
|
+
(function (EventDataStoreARNInvalidException) {
|
|
130
|
+
EventDataStoreARNInvalidException.filterSensitiveLog = (obj) => ({
|
|
131
|
+
...obj,
|
|
132
|
+
});
|
|
133
|
+
})(EventDataStoreARNInvalidException = exports.EventDataStoreARNInvalidException || (exports.EventDataStoreARNInvalidException = {}));
|
|
134
|
+
var InactiveQueryException;
|
|
135
|
+
(function (InactiveQueryException) {
|
|
136
|
+
InactiveQueryException.filterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
});
|
|
139
|
+
})(InactiveQueryException = exports.InactiveQueryException || (exports.InactiveQueryException = {}));
|
|
140
|
+
var InvalidParameterException;
|
|
141
|
+
(function (InvalidParameterException) {
|
|
142
|
+
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
});
|
|
145
|
+
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
146
|
+
var QueryIdNotFoundException;
|
|
147
|
+
(function (QueryIdNotFoundException) {
|
|
148
|
+
QueryIdNotFoundException.filterSensitiveLog = (obj) => ({
|
|
149
|
+
...obj,
|
|
150
|
+
});
|
|
151
|
+
})(QueryIdNotFoundException = exports.QueryIdNotFoundException || (exports.QueryIdNotFoundException = {}));
|
|
89
152
|
var CloudTrailAccessNotEnabledException;
|
|
90
153
|
(function (CloudTrailAccessNotEnabledException) {
|
|
91
154
|
CloudTrailAccessNotEnabledException.filterSensitiveLog = (obj) => ({
|
|
92
155
|
...obj,
|
|
93
156
|
});
|
|
94
157
|
})(CloudTrailAccessNotEnabledException = exports.CloudTrailAccessNotEnabledException || (exports.CloudTrailAccessNotEnabledException = {}));
|
|
158
|
+
var CreateEventDataStoreRequest;
|
|
159
|
+
(function (CreateEventDataStoreRequest) {
|
|
160
|
+
CreateEventDataStoreRequest.filterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
});
|
|
163
|
+
})(CreateEventDataStoreRequest = exports.CreateEventDataStoreRequest || (exports.CreateEventDataStoreRequest = {}));
|
|
164
|
+
var EventDataStoreStatus;
|
|
165
|
+
(function (EventDataStoreStatus) {
|
|
166
|
+
EventDataStoreStatus["CREATED"] = "CREATED";
|
|
167
|
+
EventDataStoreStatus["ENABLED"] = "ENABLED";
|
|
168
|
+
EventDataStoreStatus["PENDING_DELETION"] = "PENDING_DELETION";
|
|
169
|
+
})(EventDataStoreStatus = exports.EventDataStoreStatus || (exports.EventDataStoreStatus = {}));
|
|
170
|
+
var CreateEventDataStoreResponse;
|
|
171
|
+
(function (CreateEventDataStoreResponse) {
|
|
172
|
+
CreateEventDataStoreResponse.filterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
});
|
|
175
|
+
})(CreateEventDataStoreResponse = exports.CreateEventDataStoreResponse || (exports.CreateEventDataStoreResponse = {}));
|
|
176
|
+
var EventDataStoreAlreadyExistsException;
|
|
177
|
+
(function (EventDataStoreAlreadyExistsException) {
|
|
178
|
+
EventDataStoreAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
});
|
|
181
|
+
})(EventDataStoreAlreadyExistsException = exports.EventDataStoreAlreadyExistsException || (exports.EventDataStoreAlreadyExistsException = {}));
|
|
182
|
+
var EventDataStoreMaxLimitExceededException;
|
|
183
|
+
(function (EventDataStoreMaxLimitExceededException) {
|
|
184
|
+
EventDataStoreMaxLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
});
|
|
187
|
+
})(EventDataStoreMaxLimitExceededException = exports.EventDataStoreMaxLimitExceededException || (exports.EventDataStoreMaxLimitExceededException = {}));
|
|
188
|
+
var InsufficientDependencyServiceAccessPermissionException;
|
|
189
|
+
(function (InsufficientDependencyServiceAccessPermissionException) {
|
|
190
|
+
InsufficientDependencyServiceAccessPermissionException.filterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
})(InsufficientDependencyServiceAccessPermissionException = exports.InsufficientDependencyServiceAccessPermissionException || (exports.InsufficientDependencyServiceAccessPermissionException = {}));
|
|
194
|
+
var OrganizationNotInAllFeaturesModeException;
|
|
195
|
+
(function (OrganizationNotInAllFeaturesModeException) {
|
|
196
|
+
OrganizationNotInAllFeaturesModeException.filterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
});
|
|
199
|
+
})(OrganizationNotInAllFeaturesModeException = exports.OrganizationNotInAllFeaturesModeException || (exports.OrganizationNotInAllFeaturesModeException = {}));
|
|
200
|
+
var OrganizationsNotInUseException;
|
|
201
|
+
(function (OrganizationsNotInUseException) {
|
|
202
|
+
OrganizationsNotInUseException.filterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
})(OrganizationsNotInUseException = exports.OrganizationsNotInUseException || (exports.OrganizationsNotInUseException = {}));
|
|
95
206
|
var CloudTrailInvalidClientTokenIdException;
|
|
96
207
|
(function (CloudTrailInvalidClientTokenIdException) {
|
|
97
208
|
CloudTrailInvalidClientTokenIdException.filterSensitiveLog = (obj) => ({
|
|
@@ -116,12 +227,6 @@ var CreateTrailResponse;
|
|
|
116
227
|
...obj,
|
|
117
228
|
});
|
|
118
229
|
})(CreateTrailResponse = exports.CreateTrailResponse || (exports.CreateTrailResponse = {}));
|
|
119
|
-
var InsufficientDependencyServiceAccessPermissionException;
|
|
120
|
-
(function (InsufficientDependencyServiceAccessPermissionException) {
|
|
121
|
-
InsufficientDependencyServiceAccessPermissionException.filterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
});
|
|
124
|
-
})(InsufficientDependencyServiceAccessPermissionException = exports.InsufficientDependencyServiceAccessPermissionException || (exports.InsufficientDependencyServiceAccessPermissionException = {}));
|
|
125
230
|
var InsufficientEncryptionPolicyException;
|
|
126
231
|
(function (InsufficientEncryptionPolicyException) {
|
|
127
232
|
InsufficientEncryptionPolicyException.filterSensitiveLog = (obj) => ({
|
|
@@ -206,18 +311,6 @@ var MaximumNumberOfTrailsExceededException;
|
|
|
206
311
|
...obj,
|
|
207
312
|
});
|
|
208
313
|
})(MaximumNumberOfTrailsExceededException = exports.MaximumNumberOfTrailsExceededException || (exports.MaximumNumberOfTrailsExceededException = {}));
|
|
209
|
-
var OrganizationNotInAllFeaturesModeException;
|
|
210
|
-
(function (OrganizationNotInAllFeaturesModeException) {
|
|
211
|
-
OrganizationNotInAllFeaturesModeException.filterSensitiveLog = (obj) => ({
|
|
212
|
-
...obj,
|
|
213
|
-
});
|
|
214
|
-
})(OrganizationNotInAllFeaturesModeException = exports.OrganizationNotInAllFeaturesModeException || (exports.OrganizationNotInAllFeaturesModeException = {}));
|
|
215
|
-
var OrganizationsNotInUseException;
|
|
216
|
-
(function (OrganizationsNotInUseException) {
|
|
217
|
-
OrganizationsNotInUseException.filterSensitiveLog = (obj) => ({
|
|
218
|
-
...obj,
|
|
219
|
-
});
|
|
220
|
-
})(OrganizationsNotInUseException = exports.OrganizationsNotInUseException || (exports.OrganizationsNotInUseException = {}));
|
|
221
314
|
var S3BucketDoesNotExistException;
|
|
222
315
|
(function (S3BucketDoesNotExistException) {
|
|
223
316
|
S3BucketDoesNotExistException.filterSensitiveLog = (obj) => ({
|
|
@@ -236,12 +329,24 @@ var TrailNotProvidedException;
|
|
|
236
329
|
...obj,
|
|
237
330
|
});
|
|
238
331
|
})(TrailNotProvidedException = exports.TrailNotProvidedException || (exports.TrailNotProvidedException = {}));
|
|
239
|
-
var
|
|
240
|
-
(function (
|
|
241
|
-
|
|
332
|
+
var DeleteEventDataStoreRequest;
|
|
333
|
+
(function (DeleteEventDataStoreRequest) {
|
|
334
|
+
DeleteEventDataStoreRequest.filterSensitiveLog = (obj) => ({
|
|
242
335
|
...obj,
|
|
243
336
|
});
|
|
244
|
-
})(
|
|
337
|
+
})(DeleteEventDataStoreRequest = exports.DeleteEventDataStoreRequest || (exports.DeleteEventDataStoreRequest = {}));
|
|
338
|
+
var DeleteEventDataStoreResponse;
|
|
339
|
+
(function (DeleteEventDataStoreResponse) {
|
|
340
|
+
DeleteEventDataStoreResponse.filterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
});
|
|
343
|
+
})(DeleteEventDataStoreResponse = exports.DeleteEventDataStoreResponse || (exports.DeleteEventDataStoreResponse = {}));
|
|
344
|
+
var EventDataStoreTerminationProtectedException;
|
|
345
|
+
(function (EventDataStoreTerminationProtectedException) {
|
|
346
|
+
EventDataStoreTerminationProtectedException.filterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
});
|
|
349
|
+
})(EventDataStoreTerminationProtectedException = exports.EventDataStoreTerminationProtectedException || (exports.EventDataStoreTerminationProtectedException = {}));
|
|
245
350
|
var DeleteTrailRequest;
|
|
246
351
|
(function (DeleteTrailRequest) {
|
|
247
352
|
DeleteTrailRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -266,6 +371,24 @@ var TrailNotFoundException;
|
|
|
266
371
|
...obj,
|
|
267
372
|
});
|
|
268
373
|
})(TrailNotFoundException = exports.TrailNotFoundException || (exports.TrailNotFoundException = {}));
|
|
374
|
+
var DescribeQueryRequest;
|
|
375
|
+
(function (DescribeQueryRequest) {
|
|
376
|
+
DescribeQueryRequest.filterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
});
|
|
379
|
+
})(DescribeQueryRequest = exports.DescribeQueryRequest || (exports.DescribeQueryRequest = {}));
|
|
380
|
+
var QueryStatisticsForDescribeQuery;
|
|
381
|
+
(function (QueryStatisticsForDescribeQuery) {
|
|
382
|
+
QueryStatisticsForDescribeQuery.filterSensitiveLog = (obj) => ({
|
|
383
|
+
...obj,
|
|
384
|
+
});
|
|
385
|
+
})(QueryStatisticsForDescribeQuery = exports.QueryStatisticsForDescribeQuery || (exports.QueryStatisticsForDescribeQuery = {}));
|
|
386
|
+
var DescribeQueryResponse;
|
|
387
|
+
(function (DescribeQueryResponse) {
|
|
388
|
+
DescribeQueryResponse.filterSensitiveLog = (obj) => ({
|
|
389
|
+
...obj,
|
|
390
|
+
});
|
|
391
|
+
})(DescribeQueryResponse = exports.DescribeQueryResponse || (exports.DescribeQueryResponse = {}));
|
|
269
392
|
var DescribeTrailsRequest;
|
|
270
393
|
(function (DescribeTrailsRequest) {
|
|
271
394
|
DescribeTrailsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -284,6 +407,18 @@ var DescribeTrailsResponse;
|
|
|
284
407
|
...obj,
|
|
285
408
|
});
|
|
286
409
|
})(DescribeTrailsResponse = exports.DescribeTrailsResponse || (exports.DescribeTrailsResponse = {}));
|
|
410
|
+
var GetEventDataStoreRequest;
|
|
411
|
+
(function (GetEventDataStoreRequest) {
|
|
412
|
+
GetEventDataStoreRequest.filterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
});
|
|
415
|
+
})(GetEventDataStoreRequest = exports.GetEventDataStoreRequest || (exports.GetEventDataStoreRequest = {}));
|
|
416
|
+
var GetEventDataStoreResponse;
|
|
417
|
+
(function (GetEventDataStoreResponse) {
|
|
418
|
+
GetEventDataStoreResponse.filterSensitiveLog = (obj) => ({
|
|
419
|
+
...obj,
|
|
420
|
+
});
|
|
421
|
+
})(GetEventDataStoreResponse = exports.GetEventDataStoreResponse || (exports.GetEventDataStoreResponse = {}));
|
|
287
422
|
var GetEventSelectorsRequest;
|
|
288
423
|
(function (GetEventSelectorsRequest) {
|
|
289
424
|
GetEventSelectorsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -323,6 +458,7 @@ var GetInsightSelectorsRequest;
|
|
|
323
458
|
var InsightType;
|
|
324
459
|
(function (InsightType) {
|
|
325
460
|
InsightType["ApiCallRateInsight"] = "ApiCallRateInsight";
|
|
461
|
+
InsightType["ApiErrorRateInsight"] = "ApiErrorRateInsight";
|
|
326
462
|
})(InsightType = exports.InsightType || (exports.InsightType = {}));
|
|
327
463
|
var InsightSelector;
|
|
328
464
|
(function (InsightSelector) {
|
|
@@ -342,6 +478,36 @@ var InsightNotEnabledException;
|
|
|
342
478
|
...obj,
|
|
343
479
|
});
|
|
344
480
|
})(InsightNotEnabledException = exports.InsightNotEnabledException || (exports.InsightNotEnabledException = {}));
|
|
481
|
+
var GetQueryResultsRequest;
|
|
482
|
+
(function (GetQueryResultsRequest) {
|
|
483
|
+
GetQueryResultsRequest.filterSensitiveLog = (obj) => ({
|
|
484
|
+
...obj,
|
|
485
|
+
});
|
|
486
|
+
})(GetQueryResultsRequest = exports.GetQueryResultsRequest || (exports.GetQueryResultsRequest = {}));
|
|
487
|
+
var QueryStatistics;
|
|
488
|
+
(function (QueryStatistics) {
|
|
489
|
+
QueryStatistics.filterSensitiveLog = (obj) => ({
|
|
490
|
+
...obj,
|
|
491
|
+
});
|
|
492
|
+
})(QueryStatistics = exports.QueryStatistics || (exports.QueryStatistics = {}));
|
|
493
|
+
var GetQueryResultsResponse;
|
|
494
|
+
(function (GetQueryResultsResponse) {
|
|
495
|
+
GetQueryResultsResponse.filterSensitiveLog = (obj) => ({
|
|
496
|
+
...obj,
|
|
497
|
+
});
|
|
498
|
+
})(GetQueryResultsResponse = exports.GetQueryResultsResponse || (exports.GetQueryResultsResponse = {}));
|
|
499
|
+
var InvalidMaxResultsException;
|
|
500
|
+
(function (InvalidMaxResultsException) {
|
|
501
|
+
InvalidMaxResultsException.filterSensitiveLog = (obj) => ({
|
|
502
|
+
...obj,
|
|
503
|
+
});
|
|
504
|
+
})(InvalidMaxResultsException = exports.InvalidMaxResultsException || (exports.InvalidMaxResultsException = {}));
|
|
505
|
+
var InvalidNextTokenException;
|
|
506
|
+
(function (InvalidNextTokenException) {
|
|
507
|
+
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
508
|
+
...obj,
|
|
509
|
+
});
|
|
510
|
+
})(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
|
|
345
511
|
var GetTrailRequest;
|
|
346
512
|
(function (GetTrailRequest) {
|
|
347
513
|
GetTrailRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -366,6 +532,24 @@ var GetTrailStatusResponse;
|
|
|
366
532
|
...obj,
|
|
367
533
|
});
|
|
368
534
|
})(GetTrailStatusResponse = exports.GetTrailStatusResponse || (exports.GetTrailStatusResponse = {}));
|
|
535
|
+
var ListEventDataStoresRequest;
|
|
536
|
+
(function (ListEventDataStoresRequest) {
|
|
537
|
+
ListEventDataStoresRequest.filterSensitiveLog = (obj) => ({
|
|
538
|
+
...obj,
|
|
539
|
+
});
|
|
540
|
+
})(ListEventDataStoresRequest = exports.ListEventDataStoresRequest || (exports.ListEventDataStoresRequest = {}));
|
|
541
|
+
var EventDataStore;
|
|
542
|
+
(function (EventDataStore) {
|
|
543
|
+
EventDataStore.filterSensitiveLog = (obj) => ({
|
|
544
|
+
...obj,
|
|
545
|
+
});
|
|
546
|
+
})(EventDataStore = exports.EventDataStore || (exports.EventDataStore = {}));
|
|
547
|
+
var ListEventDataStoresResponse;
|
|
548
|
+
(function (ListEventDataStoresResponse) {
|
|
549
|
+
ListEventDataStoresResponse.filterSensitiveLog = (obj) => ({
|
|
550
|
+
...obj,
|
|
551
|
+
});
|
|
552
|
+
})(ListEventDataStoresResponse = exports.ListEventDataStoresResponse || (exports.ListEventDataStoresResponse = {}));
|
|
369
553
|
var InvalidTimeRangeException;
|
|
370
554
|
(function (InvalidTimeRangeException) {
|
|
371
555
|
InvalidTimeRangeException.filterSensitiveLog = (obj) => ({
|
|
@@ -396,6 +580,36 @@ var ListPublicKeysResponse;
|
|
|
396
580
|
...obj,
|
|
397
581
|
});
|
|
398
582
|
})(ListPublicKeysResponse = exports.ListPublicKeysResponse || (exports.ListPublicKeysResponse = {}));
|
|
583
|
+
var InvalidDateRangeException;
|
|
584
|
+
(function (InvalidDateRangeException) {
|
|
585
|
+
InvalidDateRangeException.filterSensitiveLog = (obj) => ({
|
|
586
|
+
...obj,
|
|
587
|
+
});
|
|
588
|
+
})(InvalidDateRangeException = exports.InvalidDateRangeException || (exports.InvalidDateRangeException = {}));
|
|
589
|
+
var InvalidQueryStatusException;
|
|
590
|
+
(function (InvalidQueryStatusException) {
|
|
591
|
+
InvalidQueryStatusException.filterSensitiveLog = (obj) => ({
|
|
592
|
+
...obj,
|
|
593
|
+
});
|
|
594
|
+
})(InvalidQueryStatusException = exports.InvalidQueryStatusException || (exports.InvalidQueryStatusException = {}));
|
|
595
|
+
var ListQueriesRequest;
|
|
596
|
+
(function (ListQueriesRequest) {
|
|
597
|
+
ListQueriesRequest.filterSensitiveLog = (obj) => ({
|
|
598
|
+
...obj,
|
|
599
|
+
});
|
|
600
|
+
})(ListQueriesRequest = exports.ListQueriesRequest || (exports.ListQueriesRequest = {}));
|
|
601
|
+
var Query;
|
|
602
|
+
(function (Query) {
|
|
603
|
+
Query.filterSensitiveLog = (obj) => ({
|
|
604
|
+
...obj,
|
|
605
|
+
});
|
|
606
|
+
})(Query = exports.Query || (exports.Query = {}));
|
|
607
|
+
var ListQueriesResponse;
|
|
608
|
+
(function (ListQueriesResponse) {
|
|
609
|
+
ListQueriesResponse.filterSensitiveLog = (obj) => ({
|
|
610
|
+
...obj,
|
|
611
|
+
});
|
|
612
|
+
})(ListQueriesResponse = exports.ListQueriesResponse || (exports.ListQueriesResponse = {}));
|
|
399
613
|
var ListTagsRequest;
|
|
400
614
|
(function (ListTagsRequest) {
|
|
401
615
|
ListTagsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -444,18 +658,6 @@ var InvalidLookupAttributesException;
|
|
|
444
658
|
...obj,
|
|
445
659
|
});
|
|
446
660
|
})(InvalidLookupAttributesException = exports.InvalidLookupAttributesException || (exports.InvalidLookupAttributesException = {}));
|
|
447
|
-
var InvalidMaxResultsException;
|
|
448
|
-
(function (InvalidMaxResultsException) {
|
|
449
|
-
InvalidMaxResultsException.filterSensitiveLog = (obj) => ({
|
|
450
|
-
...obj,
|
|
451
|
-
});
|
|
452
|
-
})(InvalidMaxResultsException = exports.InvalidMaxResultsException || (exports.InvalidMaxResultsException = {}));
|
|
453
|
-
var InvalidNextTokenException;
|
|
454
|
-
(function (InvalidNextTokenException) {
|
|
455
|
-
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
456
|
-
...obj,
|
|
457
|
-
});
|
|
458
|
-
})(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
|
|
459
661
|
var EventCategory;
|
|
460
662
|
(function (EventCategory) {
|
|
461
663
|
EventCategory["Insight"] = "insight";
|
|
@@ -549,6 +751,24 @@ var RemoveTagsResponse;
|
|
|
549
751
|
...obj,
|
|
550
752
|
});
|
|
551
753
|
})(RemoveTagsResponse = exports.RemoveTagsResponse || (exports.RemoveTagsResponse = {}));
|
|
754
|
+
var InvalidEventDataStoreStatusException;
|
|
755
|
+
(function (InvalidEventDataStoreStatusException) {
|
|
756
|
+
InvalidEventDataStoreStatusException.filterSensitiveLog = (obj) => ({
|
|
757
|
+
...obj,
|
|
758
|
+
});
|
|
759
|
+
})(InvalidEventDataStoreStatusException = exports.InvalidEventDataStoreStatusException || (exports.InvalidEventDataStoreStatusException = {}));
|
|
760
|
+
var RestoreEventDataStoreRequest;
|
|
761
|
+
(function (RestoreEventDataStoreRequest) {
|
|
762
|
+
RestoreEventDataStoreRequest.filterSensitiveLog = (obj) => ({
|
|
763
|
+
...obj,
|
|
764
|
+
});
|
|
765
|
+
})(RestoreEventDataStoreRequest = exports.RestoreEventDataStoreRequest || (exports.RestoreEventDataStoreRequest = {}));
|
|
766
|
+
var RestoreEventDataStoreResponse;
|
|
767
|
+
(function (RestoreEventDataStoreResponse) {
|
|
768
|
+
RestoreEventDataStoreResponse.filterSensitiveLog = (obj) => ({
|
|
769
|
+
...obj,
|
|
770
|
+
});
|
|
771
|
+
})(RestoreEventDataStoreResponse = exports.RestoreEventDataStoreResponse || (exports.RestoreEventDataStoreResponse = {}));
|
|
552
772
|
var StartLoggingRequest;
|
|
553
773
|
(function (StartLoggingRequest) {
|
|
554
774
|
StartLoggingRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -561,6 +781,30 @@ var StartLoggingResponse;
|
|
|
561
781
|
...obj,
|
|
562
782
|
});
|
|
563
783
|
})(StartLoggingResponse = exports.StartLoggingResponse || (exports.StartLoggingResponse = {}));
|
|
784
|
+
var InvalidQueryStatementException;
|
|
785
|
+
(function (InvalidQueryStatementException) {
|
|
786
|
+
InvalidQueryStatementException.filterSensitiveLog = (obj) => ({
|
|
787
|
+
...obj,
|
|
788
|
+
});
|
|
789
|
+
})(InvalidQueryStatementException = exports.InvalidQueryStatementException || (exports.InvalidQueryStatementException = {}));
|
|
790
|
+
var MaxConcurrentQueriesException;
|
|
791
|
+
(function (MaxConcurrentQueriesException) {
|
|
792
|
+
MaxConcurrentQueriesException.filterSensitiveLog = (obj) => ({
|
|
793
|
+
...obj,
|
|
794
|
+
});
|
|
795
|
+
})(MaxConcurrentQueriesException = exports.MaxConcurrentQueriesException || (exports.MaxConcurrentQueriesException = {}));
|
|
796
|
+
var StartQueryRequest;
|
|
797
|
+
(function (StartQueryRequest) {
|
|
798
|
+
StartQueryRequest.filterSensitiveLog = (obj) => ({
|
|
799
|
+
...obj,
|
|
800
|
+
});
|
|
801
|
+
})(StartQueryRequest = exports.StartQueryRequest || (exports.StartQueryRequest = {}));
|
|
802
|
+
var StartQueryResponse;
|
|
803
|
+
(function (StartQueryResponse) {
|
|
804
|
+
StartQueryResponse.filterSensitiveLog = (obj) => ({
|
|
805
|
+
...obj,
|
|
806
|
+
});
|
|
807
|
+
})(StartQueryResponse = exports.StartQueryResponse || (exports.StartQueryResponse = {}));
|
|
564
808
|
var StopLoggingRequest;
|
|
565
809
|
(function (StopLoggingRequest) {
|
|
566
810
|
StopLoggingRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -573,6 +817,18 @@ var StopLoggingResponse;
|
|
|
573
817
|
...obj,
|
|
574
818
|
});
|
|
575
819
|
})(StopLoggingResponse = exports.StopLoggingResponse || (exports.StopLoggingResponse = {}));
|
|
820
|
+
var UpdateEventDataStoreRequest;
|
|
821
|
+
(function (UpdateEventDataStoreRequest) {
|
|
822
|
+
UpdateEventDataStoreRequest.filterSensitiveLog = (obj) => ({
|
|
823
|
+
...obj,
|
|
824
|
+
});
|
|
825
|
+
})(UpdateEventDataStoreRequest = exports.UpdateEventDataStoreRequest || (exports.UpdateEventDataStoreRequest = {}));
|
|
826
|
+
var UpdateEventDataStoreResponse;
|
|
827
|
+
(function (UpdateEventDataStoreResponse) {
|
|
828
|
+
UpdateEventDataStoreResponse.filterSensitiveLog = (obj) => ({
|
|
829
|
+
...obj,
|
|
830
|
+
});
|
|
831
|
+
})(UpdateEventDataStoreResponse = exports.UpdateEventDataStoreResponse || (exports.UpdateEventDataStoreResponse = {}));
|
|
576
832
|
var UpdateTrailRequest;
|
|
577
833
|
(function (UpdateTrailRequest) {
|
|
578
834
|
UpdateTrailRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateGetQueryResults = void 0;
|
|
4
|
+
const CloudTrail_1 = require("../CloudTrail");
|
|
5
|
+
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
6
|
+
const GetQueryResultsCommand_1 = require("../commands/GetQueryResultsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new GetQueryResultsCommand_1.GetQueryResultsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.getQueryResults(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateGetQueryResults(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
if (config.client instanceof CloudTrail_1.CloudTrail) {
|
|
20
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
23
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
27
|
+
}
|
|
28
|
+
yield page;
|
|
29
|
+
token = page.NextToken;
|
|
30
|
+
hasNext = !!token;
|
|
31
|
+
}
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
exports.paginateGetQueryResults = paginateGetQueryResults;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventDataStores = void 0;
|
|
4
|
+
const CloudTrail_1 = require("../CloudTrail");
|
|
5
|
+
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
6
|
+
const ListEventDataStoresCommand_1 = require("../commands/ListEventDataStoresCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListEventDataStoresCommand_1.ListEventDataStoresCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listEventDataStores(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListEventDataStores(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof CloudTrail_1.CloudTrail) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListEventDataStores = paginateListEventDataStores;
|