@aws-sdk/client-cloudtrail 3.162.0 → 3.168.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 +27 -0
- package/dist-cjs/CloudTrail.js +30 -0
- package/dist-cjs/commands/GetChannelCommand.js +36 -0
- package/dist-cjs/commands/ListChannelsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +64 -3
- package/dist-cjs/pagination/ListChannelsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +204 -2
- package/dist-es/CloudTrail.js +30 -0
- package/dist-es/commands/GetChannelCommand.js +39 -0
- package/dist-es/commands/ListChannelsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/pagination/ListChannelsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +239 -1
- package/dist-types/CloudTrail.d.ts +19 -1
- package/dist-types/CloudTrailClient.d.ts +4 -2
- package/dist-types/commands/GetChannelCommand.d.ts +37 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +199 -5
- package/dist-types/pagination/ListChannelsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +10 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +85 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +34 -33
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { CloudTrailServiceException as __BaseException } from "../models/CloudTrailServiceException";
|
|
5
|
-
import { CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConflictException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceNotFoundException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, TagsLimitExceededException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
|
+
import { ChannelARNInvalidException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConflictException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceNotFoundException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, TagsLimitExceededException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1AddTagsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7
7
|
var headers, body;
|
|
8
8
|
return __generator(this, function (_a) {
|
|
@@ -91,6 +91,17 @@ export var serializeAws_json1_1DescribeTrailsCommand = function (input, context)
|
|
|
91
91
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
92
92
|
});
|
|
93
93
|
}); };
|
|
94
|
+
export var serializeAws_json1_1GetChannelCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
95
|
+
var headers, body;
|
|
96
|
+
return __generator(this, function (_a) {
|
|
97
|
+
headers = {
|
|
98
|
+
"content-type": "application/x-amz-json-1.1",
|
|
99
|
+
"x-amz-target": "CloudTrail_20131101.GetChannel",
|
|
100
|
+
};
|
|
101
|
+
body = JSON.stringify(serializeAws_json1_1GetChannelRequest(input, context));
|
|
102
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
103
|
+
});
|
|
104
|
+
}); };
|
|
94
105
|
export var serializeAws_json1_1GetEventDataStoreCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
95
106
|
var headers, body;
|
|
96
107
|
return __generator(this, function (_a) {
|
|
@@ -157,6 +168,17 @@ export var serializeAws_json1_1GetTrailStatusCommand = function (input, context)
|
|
|
157
168
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
158
169
|
});
|
|
159
170
|
}); };
|
|
171
|
+
export var serializeAws_json1_1ListChannelsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
172
|
+
var headers, body;
|
|
173
|
+
return __generator(this, function (_a) {
|
|
174
|
+
headers = {
|
|
175
|
+
"content-type": "application/x-amz-json-1.1",
|
|
176
|
+
"x-amz-target": "CloudTrail_20131101.ListChannels",
|
|
177
|
+
};
|
|
178
|
+
body = JSON.stringify(serializeAws_json1_1ListChannelsRequest(input, context));
|
|
179
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
180
|
+
});
|
|
181
|
+
}); };
|
|
160
182
|
export var serializeAws_json1_1ListEventDataStoresCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
161
183
|
var headers, body;
|
|
162
184
|
return __generator(this, function (_a) {
|
|
@@ -1050,6 +1072,69 @@ var deserializeAws_json1_1DescribeTrailsCommandError = function (output, context
|
|
|
1050
1072
|
}
|
|
1051
1073
|
});
|
|
1052
1074
|
}); };
|
|
1075
|
+
export var deserializeAws_json1_1GetChannelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1076
|
+
var data, contents, response;
|
|
1077
|
+
return __generator(this, function (_a) {
|
|
1078
|
+
switch (_a.label) {
|
|
1079
|
+
case 0:
|
|
1080
|
+
if (output.statusCode >= 300) {
|
|
1081
|
+
return [2, deserializeAws_json1_1GetChannelCommandError(output, context)];
|
|
1082
|
+
}
|
|
1083
|
+
return [4, parseBody(output.body, context)];
|
|
1084
|
+
case 1:
|
|
1085
|
+
data = _a.sent();
|
|
1086
|
+
contents = {};
|
|
1087
|
+
contents = deserializeAws_json1_1GetChannelResponse(data, context);
|
|
1088
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1089
|
+
return [2, Promise.resolve(response)];
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
}); };
|
|
1093
|
+
var deserializeAws_json1_1GetChannelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1094
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1095
|
+
var _c;
|
|
1096
|
+
return __generator(this, function (_d) {
|
|
1097
|
+
switch (_d.label) {
|
|
1098
|
+
case 0:
|
|
1099
|
+
_a = [__assign({}, output)];
|
|
1100
|
+
_c = {};
|
|
1101
|
+
return [4, parseBody(output.body, context)];
|
|
1102
|
+
case 1:
|
|
1103
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1104
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1105
|
+
_b = errorCode;
|
|
1106
|
+
switch (_b) {
|
|
1107
|
+
case "ChannelARNInvalidException": return [3, 2];
|
|
1108
|
+
case "com.amazonaws.cloudtrail#ChannelARNInvalidException": return [3, 2];
|
|
1109
|
+
case "ChannelNotFoundException": return [3, 4];
|
|
1110
|
+
case "com.amazonaws.cloudtrail#ChannelNotFoundException": return [3, 4];
|
|
1111
|
+
case "OperationNotPermittedException": return [3, 6];
|
|
1112
|
+
case "com.amazonaws.cloudtrail#OperationNotPermittedException": return [3, 6];
|
|
1113
|
+
case "UnsupportedOperationException": return [3, 8];
|
|
1114
|
+
case "com.amazonaws.cloudtrail#UnsupportedOperationException": return [3, 8];
|
|
1115
|
+
}
|
|
1116
|
+
return [3, 10];
|
|
1117
|
+
case 2: return [4, deserializeAws_json1_1ChannelARNInvalidExceptionResponse(parsedOutput, context)];
|
|
1118
|
+
case 3: throw _d.sent();
|
|
1119
|
+
case 4: return [4, deserializeAws_json1_1ChannelNotFoundExceptionResponse(parsedOutput, context)];
|
|
1120
|
+
case 5: throw _d.sent();
|
|
1121
|
+
case 6: return [4, deserializeAws_json1_1OperationNotPermittedExceptionResponse(parsedOutput, context)];
|
|
1122
|
+
case 7: throw _d.sent();
|
|
1123
|
+
case 8: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
1124
|
+
case 9: throw _d.sent();
|
|
1125
|
+
case 10:
|
|
1126
|
+
parsedBody = parsedOutput.body;
|
|
1127
|
+
throwDefaultError({
|
|
1128
|
+
output: output,
|
|
1129
|
+
parsedBody: parsedBody,
|
|
1130
|
+
exceptionCtor: __BaseException,
|
|
1131
|
+
errorCode: errorCode,
|
|
1132
|
+
});
|
|
1133
|
+
_d.label = 11;
|
|
1134
|
+
case 11: return [2];
|
|
1135
|
+
}
|
|
1136
|
+
});
|
|
1137
|
+
}); };
|
|
1053
1138
|
export var deserializeAws_json1_1GetEventDataStoreCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1054
1139
|
var data, contents, response;
|
|
1055
1140
|
return __generator(this, function (_a) {
|
|
@@ -1456,6 +1541,65 @@ var deserializeAws_json1_1GetTrailStatusCommandError = function (output, context
|
|
|
1456
1541
|
}
|
|
1457
1542
|
});
|
|
1458
1543
|
}); };
|
|
1544
|
+
export var deserializeAws_json1_1ListChannelsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1545
|
+
var data, contents, response;
|
|
1546
|
+
return __generator(this, function (_a) {
|
|
1547
|
+
switch (_a.label) {
|
|
1548
|
+
case 0:
|
|
1549
|
+
if (output.statusCode >= 300) {
|
|
1550
|
+
return [2, deserializeAws_json1_1ListChannelsCommandError(output, context)];
|
|
1551
|
+
}
|
|
1552
|
+
return [4, parseBody(output.body, context)];
|
|
1553
|
+
case 1:
|
|
1554
|
+
data = _a.sent();
|
|
1555
|
+
contents = {};
|
|
1556
|
+
contents = deserializeAws_json1_1ListChannelsResponse(data, context);
|
|
1557
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1558
|
+
return [2, Promise.resolve(response)];
|
|
1559
|
+
}
|
|
1560
|
+
});
|
|
1561
|
+
}); };
|
|
1562
|
+
var deserializeAws_json1_1ListChannelsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1563
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1564
|
+
var _c;
|
|
1565
|
+
return __generator(this, function (_d) {
|
|
1566
|
+
switch (_d.label) {
|
|
1567
|
+
case 0:
|
|
1568
|
+
_a = [__assign({}, output)];
|
|
1569
|
+
_c = {};
|
|
1570
|
+
return [4, parseBody(output.body, context)];
|
|
1571
|
+
case 1:
|
|
1572
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1573
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1574
|
+
_b = errorCode;
|
|
1575
|
+
switch (_b) {
|
|
1576
|
+
case "InvalidNextTokenException": return [3, 2];
|
|
1577
|
+
case "com.amazonaws.cloudtrail#InvalidNextTokenException": return [3, 2];
|
|
1578
|
+
case "OperationNotPermittedException": return [3, 4];
|
|
1579
|
+
case "com.amazonaws.cloudtrail#OperationNotPermittedException": return [3, 4];
|
|
1580
|
+
case "UnsupportedOperationException": return [3, 6];
|
|
1581
|
+
case "com.amazonaws.cloudtrail#UnsupportedOperationException": return [3, 6];
|
|
1582
|
+
}
|
|
1583
|
+
return [3, 8];
|
|
1584
|
+
case 2: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1585
|
+
case 3: throw _d.sent();
|
|
1586
|
+
case 4: return [4, deserializeAws_json1_1OperationNotPermittedExceptionResponse(parsedOutput, context)];
|
|
1587
|
+
case 5: throw _d.sent();
|
|
1588
|
+
case 6: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
1589
|
+
case 7: throw _d.sent();
|
|
1590
|
+
case 8:
|
|
1591
|
+
parsedBody = parsedOutput.body;
|
|
1592
|
+
throwDefaultError({
|
|
1593
|
+
output: output,
|
|
1594
|
+
parsedBody: parsedBody,
|
|
1595
|
+
exceptionCtor: __BaseException,
|
|
1596
|
+
errorCode: errorCode,
|
|
1597
|
+
});
|
|
1598
|
+
_d.label = 9;
|
|
1599
|
+
case 9: return [2];
|
|
1600
|
+
}
|
|
1601
|
+
});
|
|
1602
|
+
}); };
|
|
1459
1603
|
export var deserializeAws_json1_1ListEventDataStoresCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1460
1604
|
var data, contents, response;
|
|
1461
1605
|
return __generator(this, function (_a) {
|
|
@@ -2713,6 +2857,24 @@ var deserializeAws_json1_1UpdateTrailCommandError = function (output, context) {
|
|
|
2713
2857
|
}
|
|
2714
2858
|
});
|
|
2715
2859
|
}); };
|
|
2860
|
+
var deserializeAws_json1_1ChannelARNInvalidExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2861
|
+
var body, deserialized, exception;
|
|
2862
|
+
return __generator(this, function (_a) {
|
|
2863
|
+
body = parsedOutput.body;
|
|
2864
|
+
deserialized = deserializeAws_json1_1ChannelARNInvalidException(body, context);
|
|
2865
|
+
exception = new ChannelARNInvalidException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2866
|
+
return [2, __decorateServiceException(exception, body)];
|
|
2867
|
+
});
|
|
2868
|
+
}); };
|
|
2869
|
+
var deserializeAws_json1_1ChannelNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2870
|
+
var body, deserialized, exception;
|
|
2871
|
+
return __generator(this, function (_a) {
|
|
2872
|
+
body = parsedOutput.body;
|
|
2873
|
+
deserialized = deserializeAws_json1_1ChannelNotFoundException(body, context);
|
|
2874
|
+
exception = new ChannelNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2875
|
+
return [2, __decorateServiceException(exception, body)];
|
|
2876
|
+
});
|
|
2877
|
+
}); };
|
|
2716
2878
|
var deserializeAws_json1_1CloudTrailAccessNotEnabledExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2717
2879
|
var body, deserialized, exception;
|
|
2718
2880
|
return __generator(this, function (_a) {
|
|
@@ -3325,6 +3487,9 @@ var serializeAws_json1_1ExcludeManagementEventSources = function (input, context
|
|
|
3325
3487
|
return entry;
|
|
3326
3488
|
});
|
|
3327
3489
|
};
|
|
3490
|
+
var serializeAws_json1_1GetChannelRequest = function (input, context) {
|
|
3491
|
+
return __assign({}, (input.Channel != null && { Channel: input.Channel }));
|
|
3492
|
+
};
|
|
3328
3493
|
var serializeAws_json1_1GetEventDataStoreRequest = function (input, context) {
|
|
3329
3494
|
return __assign({}, (input.EventDataStore != null && { EventDataStore: input.EventDataStore }));
|
|
3330
3495
|
};
|
|
@@ -3353,6 +3518,9 @@ var serializeAws_json1_1InsightSelectors = function (input, context) {
|
|
|
3353
3518
|
return serializeAws_json1_1InsightSelector(entry, context);
|
|
3354
3519
|
});
|
|
3355
3520
|
};
|
|
3521
|
+
var serializeAws_json1_1ListChannelsRequest = function (input, context) {
|
|
3522
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3523
|
+
};
|
|
3356
3524
|
var serializeAws_json1_1ListEventDataStoresRequest = function (input, context) {
|
|
3357
3525
|
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3358
3526
|
};
|
|
@@ -3503,6 +3671,33 @@ var deserializeAws_json1_1CancelQueryResponse = function (output, context) {
|
|
|
3503
3671
|
QueryStatus: __expectString(output.QueryStatus),
|
|
3504
3672
|
};
|
|
3505
3673
|
};
|
|
3674
|
+
var deserializeAws_json1_1Channel = function (output, context) {
|
|
3675
|
+
return {
|
|
3676
|
+
ChannelArn: __expectString(output.ChannelArn),
|
|
3677
|
+
Name: __expectString(output.Name),
|
|
3678
|
+
};
|
|
3679
|
+
};
|
|
3680
|
+
var deserializeAws_json1_1ChannelARNInvalidException = function (output, context) {
|
|
3681
|
+
return {
|
|
3682
|
+
Message: __expectString(output.Message),
|
|
3683
|
+
};
|
|
3684
|
+
};
|
|
3685
|
+
var deserializeAws_json1_1ChannelNotFoundException = function (output, context) {
|
|
3686
|
+
return {
|
|
3687
|
+
Message: __expectString(output.Message),
|
|
3688
|
+
};
|
|
3689
|
+
};
|
|
3690
|
+
var deserializeAws_json1_1Channels = function (output, context) {
|
|
3691
|
+
var retVal = (output || [])
|
|
3692
|
+
.filter(function (e) { return e != null; })
|
|
3693
|
+
.map(function (entry) {
|
|
3694
|
+
if (entry === null) {
|
|
3695
|
+
return null;
|
|
3696
|
+
}
|
|
3697
|
+
return deserializeAws_json1_1Channel(entry, context);
|
|
3698
|
+
});
|
|
3699
|
+
return retVal;
|
|
3700
|
+
};
|
|
3506
3701
|
var deserializeAws_json1_1CloudTrailAccessNotEnabledException = function (output, context) {
|
|
3507
3702
|
return {
|
|
3508
3703
|
Message: __expectString(output.Message),
|
|
@@ -3616,6 +3811,23 @@ var deserializeAws_json1_1DescribeTrailsResponse = function (output, context) {
|
|
|
3616
3811
|
trailList: output.trailList != null ? deserializeAws_json1_1TrailList(output.trailList, context) : undefined,
|
|
3617
3812
|
};
|
|
3618
3813
|
};
|
|
3814
|
+
var deserializeAws_json1_1Destination = function (output, context) {
|
|
3815
|
+
return {
|
|
3816
|
+
Location: __expectString(output.Location),
|
|
3817
|
+
Type: __expectString(output.Type),
|
|
3818
|
+
};
|
|
3819
|
+
};
|
|
3820
|
+
var deserializeAws_json1_1Destinations = function (output, context) {
|
|
3821
|
+
var retVal = (output || [])
|
|
3822
|
+
.filter(function (e) { return e != null; })
|
|
3823
|
+
.map(function (entry) {
|
|
3824
|
+
if (entry === null) {
|
|
3825
|
+
return null;
|
|
3826
|
+
}
|
|
3827
|
+
return deserializeAws_json1_1Destination(entry, context);
|
|
3828
|
+
});
|
|
3829
|
+
return retVal;
|
|
3830
|
+
};
|
|
3619
3831
|
var deserializeAws_json1_1Event = function (output, context) {
|
|
3620
3832
|
return {
|
|
3621
3833
|
AccessKeyId: __expectString(output.AccessKeyId),
|
|
@@ -3728,6 +3940,15 @@ var deserializeAws_json1_1ExcludeManagementEventSources = function (output, cont
|
|
|
3728
3940
|
});
|
|
3729
3941
|
return retVal;
|
|
3730
3942
|
};
|
|
3943
|
+
var deserializeAws_json1_1GetChannelResponse = function (output, context) {
|
|
3944
|
+
return {
|
|
3945
|
+
ChannelArn: __expectString(output.ChannelArn),
|
|
3946
|
+
Destinations: output.Destinations != null ? deserializeAws_json1_1Destinations(output.Destinations, context) : undefined,
|
|
3947
|
+
Name: __expectString(output.Name),
|
|
3948
|
+
Source: __expectString(output.Source),
|
|
3949
|
+
SourceConfig: output.SourceConfig != null ? deserializeAws_json1_1SourceConfig(output.SourceConfig, context) : undefined,
|
|
3950
|
+
};
|
|
3951
|
+
};
|
|
3731
3952
|
var deserializeAws_json1_1GetEventDataStoreResponse = function (output, context) {
|
|
3732
3953
|
return {
|
|
3733
3954
|
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
@@ -3997,6 +4218,12 @@ var deserializeAws_json1_1KmsKeyNotFoundException = function (output, context) {
|
|
|
3997
4218
|
Message: __expectString(output.Message),
|
|
3998
4219
|
};
|
|
3999
4220
|
};
|
|
4221
|
+
var deserializeAws_json1_1ListChannelsResponse = function (output, context) {
|
|
4222
|
+
return {
|
|
4223
|
+
Channels: output.Channels != null ? deserializeAws_json1_1Channels(output.Channels, context) : undefined,
|
|
4224
|
+
NextToken: __expectString(output.NextToken),
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
4000
4227
|
var deserializeAws_json1_1ListEventDataStoresResponse = function (output, context) {
|
|
4001
4228
|
return {
|
|
4002
4229
|
EventDataStores: output.EventDataStores != null
|
|
@@ -4265,6 +4492,14 @@ var deserializeAws_json1_1S3BucketDoesNotExistException = function (output, cont
|
|
|
4265
4492
|
Message: __expectString(output.Message),
|
|
4266
4493
|
};
|
|
4267
4494
|
};
|
|
4495
|
+
var deserializeAws_json1_1SourceConfig = function (output, context) {
|
|
4496
|
+
return {
|
|
4497
|
+
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
4498
|
+
? deserializeAws_json1_1AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
4499
|
+
: undefined,
|
|
4500
|
+
ApplyToAllRegions: __expectBoolean(output.ApplyToAllRegions),
|
|
4501
|
+
};
|
|
4502
|
+
};
|
|
4268
4503
|
var deserializeAws_json1_1StartLoggingResponse = function (output, context) {
|
|
4269
4504
|
return {};
|
|
4270
4505
|
};
|
|
@@ -4463,6 +4698,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4463
4698
|
if (typeof cleanValue === "number") {
|
|
4464
4699
|
cleanValue = cleanValue.toString();
|
|
4465
4700
|
}
|
|
4701
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
4702
|
+
cleanValue = cleanValue.split(",")[0];
|
|
4703
|
+
}
|
|
4466
4704
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4467
4705
|
cleanValue = cleanValue.split(":")[0];
|
|
4468
4706
|
}
|
|
@@ -8,12 +8,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
8
8
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
|
|
9
9
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
10
10
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
11
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
11
12
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
12
13
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
13
14
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
|
|
14
15
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
15
16
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
|
|
16
17
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
|
|
18
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
17
19
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
|
|
18
20
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
19
21
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
|
|
@@ -116,6 +118,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
116
118
|
describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrailsCommandOutput>;
|
|
117
119
|
describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
118
120
|
describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* <p>
|
|
123
|
+
* Returns the specified CloudTrail service-linked channel. Amazon Web Services services create service-linked channels to view CloudTrail events.
|
|
124
|
+
* </p>
|
|
125
|
+
*/
|
|
126
|
+
getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
|
|
127
|
+
getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
128
|
+
getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
119
129
|
/**
|
|
120
130
|
* <p>Returns information about an event data store specified as either an ARN or the ID portion of the ARN.</p>
|
|
121
131
|
*/
|
|
@@ -175,6 +185,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
175
185
|
getTrailStatus(args: GetTrailStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailStatusCommandOutput>;
|
|
176
186
|
getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
177
187
|
getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
188
|
+
/**
|
|
189
|
+
* <p>
|
|
190
|
+
* Returns all CloudTrail channels.
|
|
191
|
+
* </p>
|
|
192
|
+
*/
|
|
193
|
+
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
194
|
+
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
195
|
+
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
178
196
|
/**
|
|
179
197
|
* <p>Returns information about all event data stores in the account, in the current region.</p>
|
|
180
198
|
*/
|
|
@@ -368,7 +386,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
368
386
|
/**
|
|
369
387
|
* <p>Updates an event data store. The required <code>EventDataStore</code> value is an ARN or the ID portion of the ARN.
|
|
370
388
|
* Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error.
|
|
371
|
-
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and
|
|
389
|
+
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and 2557.
|
|
372
390
|
* By default, <code>TerminationProtection</code> is enabled. <code>AdvancedEventSelectors</code> includes or excludes management
|
|
373
391
|
* and data events in your event data store; for more information about <code>AdvancedEventSelectors</code>, see
|
|
374
392
|
* <a>PutEventSelectorsRequest$AdvancedEventSelectors</a>.</p>
|
|
@@ -14,12 +14,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
14
14
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
|
|
15
15
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
16
16
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
17
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
17
18
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
18
19
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
19
20
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
|
|
20
21
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
21
22
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
|
|
22
23
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
|
|
24
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
23
25
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
|
|
24
26
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
25
27
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
|
|
@@ -35,8 +37,8 @@ import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/Star
|
|
|
35
37
|
import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
|
|
36
38
|
import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
|
|
37
39
|
import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
|
|
38
|
-
export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
39
|
-
export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
40
|
+
export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
40
42
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
41
43
|
/**
|
|
42
44
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
|
|
5
|
+
export interface GetChannelCommandInput extends GetChannelRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Returns the specified CloudTrail service-linked channel. Amazon Web Services services create service-linked channels to view CloudTrail events.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CloudTrailClient, GetChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
17
|
+
* // const { CloudTrailClient, GetChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
18
|
+
* const client = new CloudTrailClient(config);
|
|
19
|
+
* const command = new GetChannelCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetChannelCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetChannelCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
29
|
+
readonly input: GetChannelCommandInput;
|
|
30
|
+
constructor(input: GetChannelCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelCommandInput, GetChannelCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListChannelsCommandInput extends ListChannelsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Returns all CloudTrail channels.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CloudTrailClient, ListChannelsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
17
|
+
* // const { CloudTrailClient, ListChannelsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
18
|
+
* const client = new CloudTrailClient(config);
|
|
19
|
+
* const command = new ListChannelsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListChannelsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListChannelsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
29
|
+
readonly input: ListChannelsCommandInput;
|
|
30
|
+
constructor(input: ListChannelsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsCommandInput, ListChannelsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -9,7 +9,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Updates an event data store. The required <code>EventDataStore</code> value is an ARN or the ID portion of the ARN.
|
|
11
11
|
* Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error.
|
|
12
|
-
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and
|
|
12
|
+
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and 2557.
|
|
13
13
|
* By default, <code>TerminationProtection</code> is enabled. <code>AdvancedEventSelectors</code> includes or excludes management
|
|
14
14
|
* and data events in your event data store; for more information about <code>AdvancedEventSelectors</code>, see
|
|
15
15
|
* <a>PutEventSelectorsRequest$AdvancedEventSelectors</a>.</p>
|
|
@@ -6,12 +6,14 @@ export * from "./DeleteEventDataStoreCommand";
|
|
|
6
6
|
export * from "./DeleteTrailCommand";
|
|
7
7
|
export * from "./DescribeQueryCommand";
|
|
8
8
|
export * from "./DescribeTrailsCommand";
|
|
9
|
+
export * from "./GetChannelCommand";
|
|
9
10
|
export * from "./GetEventDataStoreCommand";
|
|
10
11
|
export * from "./GetEventSelectorsCommand";
|
|
11
12
|
export * from "./GetInsightSelectorsCommand";
|
|
12
13
|
export * from "./GetQueryResultsCommand";
|
|
13
14
|
export * from "./GetTrailCommand";
|
|
14
15
|
export * from "./GetTrailStatusCommand";
|
|
16
|
+
export * from "./ListChannelsCommand";
|
|
15
17
|
export * from "./ListEventDataStoresCommand";
|
|
16
18
|
export * from "./ListPublicKeysCommand";
|
|
17
19
|
export * from "./ListQueriesCommand";
|