@aws-sdk/client-cloudtrail 3.202.0 → 3.205.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 +22 -0
- package/dist-cjs/CloudTrail.js +30 -0
- package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +46 -0
- package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +174 -60
- package/dist-cjs/protocols/Aws_json1_1.js +375 -2
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/CloudTrail.js +30 -0
- package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +42 -0
- package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +155 -52
- package/dist-es/protocols/Aws_json1_1.js +370 -1
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/CloudTrail.d.ts +15 -1
- package/dist-types/CloudTrailClient.d.ts +4 -2
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +37 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +334 -65
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +46 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +130 -36
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.205.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.204.0...v3.205.0) (2022-11-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-cloudtrail:** This release includes support for configuring a delegated administrator to manage an AWS Organizations organization CloudTrail trails and event data stores, and AWS Key Management Service encryption of CloudTrail Lake event data stores. ([ed0a489](https://github.com/aws/aws-sdk-js-v3/commit/ed0a4895a057ccb296f97b389eeb5e6b863dbdcb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.204.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.203.0...v3.204.0) (2022-11-04)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update client endpoints as of 2022-11-04 ([7471107](https://github.com/aws/aws-sdk-js-v3/commit/7471107c0881b5d9e474447a660dd3354a50b195))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @aws-sdk/client-cloudtrail
|
package/dist-cjs/CloudTrail.js
CHANGED
|
@@ -8,6 +8,7 @@ const CreateEventDataStoreCommand_1 = require("./commands/CreateEventDataStoreCo
|
|
|
8
8
|
const CreateTrailCommand_1 = require("./commands/CreateTrailCommand");
|
|
9
9
|
const DeleteEventDataStoreCommand_1 = require("./commands/DeleteEventDataStoreCommand");
|
|
10
10
|
const DeleteTrailCommand_1 = require("./commands/DeleteTrailCommand");
|
|
11
|
+
const DeregisterOrganizationDelegatedAdminCommand_1 = require("./commands/DeregisterOrganizationDelegatedAdminCommand");
|
|
11
12
|
const DescribeQueryCommand_1 = require("./commands/DescribeQueryCommand");
|
|
12
13
|
const DescribeTrailsCommand_1 = require("./commands/DescribeTrailsCommand");
|
|
13
14
|
const GetChannelCommand_1 = require("./commands/GetChannelCommand");
|
|
@@ -29,6 +30,7 @@ const ListTrailsCommand_1 = require("./commands/ListTrailsCommand");
|
|
|
29
30
|
const LookupEventsCommand_1 = require("./commands/LookupEventsCommand");
|
|
30
31
|
const PutEventSelectorsCommand_1 = require("./commands/PutEventSelectorsCommand");
|
|
31
32
|
const PutInsightSelectorsCommand_1 = require("./commands/PutInsightSelectorsCommand");
|
|
33
|
+
const RegisterOrganizationDelegatedAdminCommand_1 = require("./commands/RegisterOrganizationDelegatedAdminCommand");
|
|
32
34
|
const RemoveTagsCommand_1 = require("./commands/RemoveTagsCommand");
|
|
33
35
|
const RestoreEventDataStoreCommand_1 = require("./commands/RestoreEventDataStoreCommand");
|
|
34
36
|
const StartImportCommand_1 = require("./commands/StartImportCommand");
|
|
@@ -123,6 +125,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
123
125
|
return this.send(command, optionsOrCb);
|
|
124
126
|
}
|
|
125
127
|
}
|
|
128
|
+
deregisterOrganizationDelegatedAdmin(args, optionsOrCb, cb) {
|
|
129
|
+
const command = new DeregisterOrganizationDelegatedAdminCommand_1.DeregisterOrganizationDelegatedAdminCommand(args);
|
|
130
|
+
if (typeof optionsOrCb === "function") {
|
|
131
|
+
this.send(command, optionsOrCb);
|
|
132
|
+
}
|
|
133
|
+
else if (typeof cb === "function") {
|
|
134
|
+
if (typeof optionsOrCb !== "object")
|
|
135
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
return this.send(command, optionsOrCb);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
126
142
|
describeQuery(args, optionsOrCb, cb) {
|
|
127
143
|
const command = new DescribeQueryCommand_1.DescribeQueryCommand(args);
|
|
128
144
|
if (typeof optionsOrCb === "function") {
|
|
@@ -417,6 +433,20 @@ class CloudTrail extends CloudTrailClient_1.CloudTrailClient {
|
|
|
417
433
|
return this.send(command, optionsOrCb);
|
|
418
434
|
}
|
|
419
435
|
}
|
|
436
|
+
registerOrganizationDelegatedAdmin(args, optionsOrCb, cb) {
|
|
437
|
+
const command = new RegisterOrganizationDelegatedAdminCommand_1.RegisterOrganizationDelegatedAdminCommand(args);
|
|
438
|
+
if (typeof optionsOrCb === "function") {
|
|
439
|
+
this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
else if (typeof cb === "function") {
|
|
442
|
+
if (typeof optionsOrCb !== "object")
|
|
443
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
return this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
420
450
|
removeTags(args, optionsOrCb, cb) {
|
|
421
451
|
const command = new RemoveTagsCommand_1.RemoveTagsCommand(args);
|
|
422
452
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeregisterOrganizationDelegatedAdminCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DeregisterOrganizationDelegatedAdminCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterOrganizationDelegatedAdminCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudTrailClient";
|
|
28
|
+
const commandName = "DeregisterOrganizationDelegatedAdminCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeregisterOrganizationDelegatedAdminCommand = DeregisterOrganizationDelegatedAdminCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterOrganizationDelegatedAdminCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class RegisterOrganizationDelegatedAdminCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterOrganizationDelegatedAdminCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CloudTrailClient";
|
|
28
|
+
const commandName = "RegisterOrganizationDelegatedAdminCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1RegisterOrganizationDelegatedAdminCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1RegisterOrganizationDelegatedAdminCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.RegisterOrganizationDelegatedAdminCommand = RegisterOrganizationDelegatedAdminCommand;
|
|
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./CreateEventDataStoreCommand"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./CreateTrailCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./DeleteEventDataStoreCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./DeleteTrailCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeregisterOrganizationDelegatedAdminCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DescribeQueryCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DescribeTrailsCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
@@ -28,6 +29,7 @@ tslib_1.__exportStar(require("./ListTrailsCommand"), exports);
|
|
|
28
29
|
tslib_1.__exportStar(require("./LookupEventsCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./PutEventSelectorsCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./PutInsightSelectorsCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./RegisterOrganizationDelegatedAdminCommand"), exports);
|
|
31
33
|
tslib_1.__exportStar(require("./RemoveTagsCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./RestoreEventDataStoreCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./StartImportCommand"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateTrailResponseFilterSensitiveLog = exports.UpdateTrailRequestFilterSensitiveLog = exports.UpdateEventDataStoreResponseFilterSensitiveLog = exports.UpdateEventDataStoreRequestFilterSensitiveLog = exports.StopLoggingResponseFilterSensitiveLog = exports.StopLoggingRequestFilterSensitiveLog = exports.StopImportResponseFilterSensitiveLog = exports.StopImportRequestFilterSensitiveLog = exports.StartQueryResponseFilterSensitiveLog = exports.StartQueryRequestFilterSensitiveLog = exports.StartLoggingResponseFilterSensitiveLog = exports.StartLoggingRequestFilterSensitiveLog = exports.StartImportResponseFilterSensitiveLog = exports.StartImportRequestFilterSensitiveLog = exports.RestoreEventDataStoreResponseFilterSensitiveLog = exports.RestoreEventDataStoreRequestFilterSensitiveLog = exports.RemoveTagsResponseFilterSensitiveLog = exports.RemoveTagsRequestFilterSensitiveLog = exports.PutInsightSelectorsResponseFilterSensitiveLog = exports.PutInsightSelectorsRequestFilterSensitiveLog = exports.PutEventSelectorsResponseFilterSensitiveLog = exports.PutEventSelectorsRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.TrailAlreadyExistsException = exports.S3BucketDoesNotExistException = exports.MaximumNumberOfTrailsExceededException = exports.KmsKeyDisabledException = exports.InvalidSnsTopicNameException = exports.InvalidS3PrefixException = exports.InvalidS3BucketNameException = exports.InvalidParameterCombinationException = exports.InvalidCloudWatchLogsRoleArnException = exports.InvalidCloudWatchLogsLogGroupArnException = exports.InsufficientSnsTopicPolicyException = exports.InsufficientS3BucketPolicyException = exports.CloudWatchLogsDeliveryUnavailableException = exports.CloudTrailInvalidClientTokenIdException = exports.OrganizationsNotInUseException = exports.OrganizationNotInAllFeaturesModeException = exports.KmsKeyNotFoundException = exports.KmsException = exports.InvalidKmsKeyIdException = exports.InsufficientEncryptionPolicyException = exports.InsufficientDependencyServiceAccessPermissionException = exports.EventDataStoreMaxLimitExceededException = exports.EventDataStoreAlreadyExistsException = exports.EventDataStoreStatus = exports.CloudTrailAccessNotEnabledException = exports.ChannelNotFoundException = exports.ChannelARNInvalidException = exports.CannotDelegateManagementAccountException = exports.QueryIdNotFoundException = exports.InvalidParameterException = exports.InactiveQueryException = exports.EventDataStoreARNInvalidException = exports.QueryStatus = exports.UnsupportedOperationException = exports.TagsLimitExceededException = exports.ResourceTypeNotSupportedException = exports.ResourceNotFoundException = exports.OperationNotPermittedException = exports.NotOrganizationMasterAccountException = exports.NoManagementAccountSLRExistsException = exports.InvalidTrailNameException = exports.InvalidTagParameterException = exports.InactiveEventDataStoreException = exports.EventDataStoreNotFoundException = exports.ConflictException = exports.CloudTrailARNInvalidException = exports.AccountRegisteredException = exports.AccountNotRegisteredException = exports.AccountNotFoundException = exports.AccountHasOngoingImportException = void 0;
|
|
4
|
+
exports.DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog = exports.DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog = exports.DeleteTrailResponseFilterSensitiveLog = exports.DeleteTrailRequestFilterSensitiveLog = exports.DeleteEventDataStoreResponseFilterSensitiveLog = exports.DeleteEventDataStoreRequestFilterSensitiveLog = exports.CreateTrailResponseFilterSensitiveLog = exports.CreateTrailRequestFilterSensitiveLog = exports.CreateEventDataStoreResponseFilterSensitiveLog = exports.CreateEventDataStoreRequestFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.CancelQueryResponseFilterSensitiveLog = exports.CancelQueryRequestFilterSensitiveLog = exports.AdvancedEventSelectorFilterSensitiveLog = exports.AdvancedFieldSelectorFilterSensitiveLog = exports.AddTagsResponseFilterSensitiveLog = exports.AddTagsRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.MaxConcurrentQueriesException = exports.InvalidQueryStatementException = exports.InvalidImportSourceException = exports.InvalidEventDataStoreCategoryException = exports.InvalidEventDataStoreStatusException = exports.DelegatedAdminAccountLimitExceededException = exports.InvalidInsightSelectorsException = exports.InvalidEventSelectorsException = exports.LookupAttributeKey = exports.EventCategory = exports.InvalidLookupAttributesException = exports.InvalidEventCategoryException = exports.InvalidQueryStatusException = exports.InvalidDateRangeException = exports.InvalidTokenException = exports.InvalidTimeRangeException = exports.ImportFailureStatus = exports.InvalidNextTokenException = exports.InvalidMaxResultsException = exports.InsightNotEnabledException = exports.InsightType = exports.ImportNotFoundException = exports.ImportStatus = exports.ReadWriteType = exports.DestinationType = exports.DeliveryStatus = exports.NotOrganizationManagementAccountException = exports.TrailNotFoundException = exports.InvalidHomeRegionException = exports.EventDataStoreTerminationProtectedException = exports.EventDataStoreHasOngoingImportException = exports.TrailNotProvidedException = void 0;
|
|
5
|
+
exports.ResourceTagFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListQueriesResponseFilterSensitiveLog = exports.QueryFilterSensitiveLog = exports.ListQueriesRequestFilterSensitiveLog = exports.ListPublicKeysResponseFilterSensitiveLog = exports.PublicKeyFilterSensitiveLog = exports.ListPublicKeysRequestFilterSensitiveLog = exports.ListImportsResponseFilterSensitiveLog = exports.ImportsListItemFilterSensitiveLog = exports.ListImportsRequestFilterSensitiveLog = exports.ListImportFailuresResponseFilterSensitiveLog = exports.ImportFailureListItemFilterSensitiveLog = exports.ListImportFailuresRequestFilterSensitiveLog = exports.ListEventDataStoresResponseFilterSensitiveLog = exports.EventDataStoreFilterSensitiveLog = exports.ListEventDataStoresRequestFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.GetTrailStatusResponseFilterSensitiveLog = exports.GetTrailStatusRequestFilterSensitiveLog = exports.GetTrailResponseFilterSensitiveLog = exports.GetTrailRequestFilterSensitiveLog = exports.GetQueryResultsResponseFilterSensitiveLog = exports.QueryStatisticsFilterSensitiveLog = exports.GetQueryResultsRequestFilterSensitiveLog = exports.GetInsightSelectorsResponseFilterSensitiveLog = exports.InsightSelectorFilterSensitiveLog = exports.GetInsightSelectorsRequestFilterSensitiveLog = exports.GetImportResponseFilterSensitiveLog = exports.ImportStatisticsFilterSensitiveLog = exports.ImportSourceFilterSensitiveLog = exports.S3ImportSourceFilterSensitiveLog = exports.GetImportRequestFilterSensitiveLog = exports.GetEventSelectorsResponseFilterSensitiveLog = exports.EventSelectorFilterSensitiveLog = exports.DataResourceFilterSensitiveLog = exports.GetEventSelectorsRequestFilterSensitiveLog = exports.GetEventDataStoreResponseFilterSensitiveLog = exports.GetEventDataStoreRequestFilterSensitiveLog = exports.GetChannelResponseFilterSensitiveLog = exports.SourceConfigFilterSensitiveLog = exports.DestinationFilterSensitiveLog = exports.GetChannelRequestFilterSensitiveLog = exports.DescribeTrailsResponseFilterSensitiveLog = exports.TrailFilterSensitiveLog = exports.DescribeTrailsRequestFilterSensitiveLog = exports.DescribeQueryResponseFilterSensitiveLog = exports.QueryStatisticsForDescribeQueryFilterSensitiveLog = exports.DescribeQueryRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.UpdateTrailResponseFilterSensitiveLog = exports.UpdateTrailRequestFilterSensitiveLog = exports.UpdateEventDataStoreResponseFilterSensitiveLog = exports.UpdateEventDataStoreRequestFilterSensitiveLog = exports.StopLoggingResponseFilterSensitiveLog = exports.StopLoggingRequestFilterSensitiveLog = exports.StopImportResponseFilterSensitiveLog = exports.StopImportRequestFilterSensitiveLog = exports.StartQueryResponseFilterSensitiveLog = exports.StartQueryRequestFilterSensitiveLog = exports.StartLoggingResponseFilterSensitiveLog = exports.StartLoggingRequestFilterSensitiveLog = exports.StartImportResponseFilterSensitiveLog = exports.StartImportRequestFilterSensitiveLog = exports.RestoreEventDataStoreResponseFilterSensitiveLog = exports.RestoreEventDataStoreRequestFilterSensitiveLog = exports.RemoveTagsResponseFilterSensitiveLog = exports.RemoveTagsRequestFilterSensitiveLog = exports.RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog = exports.RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog = exports.PutInsightSelectorsResponseFilterSensitiveLog = exports.PutInsightSelectorsRequestFilterSensitiveLog = exports.PutEventSelectorsResponseFilterSensitiveLog = exports.PutEventSelectorsRequestFilterSensitiveLog = exports.LookupEventsResponseFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.ResourceFilterSensitiveLog = exports.LookupEventsRequestFilterSensitiveLog = exports.LookupAttributeFilterSensitiveLog = exports.ListTrailsResponseFilterSensitiveLog = exports.TrailInfoFilterSensitiveLog = exports.ListTrailsRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = void 0;
|
|
7
7
|
const CloudTrailServiceException_1 = require("./CloudTrailServiceException");
|
|
8
8
|
class AccountHasOngoingImportException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
9
9
|
constructor(opts) {
|
|
@@ -19,6 +19,48 @@ class AccountHasOngoingImportException extends CloudTrailServiceException_1.Clou
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
exports.AccountHasOngoingImportException = AccountHasOngoingImportException;
|
|
22
|
+
class AccountNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "AccountNotFoundException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
this.name = "AccountNotFoundException";
|
|
30
|
+
this.$fault = "client";
|
|
31
|
+
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
32
|
+
this.Message = opts.Message;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.AccountNotFoundException = AccountNotFoundException;
|
|
36
|
+
class AccountNotRegisteredException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "AccountNotRegisteredException",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
this.name = "AccountNotRegisteredException";
|
|
44
|
+
this.$fault = "client";
|
|
45
|
+
Object.setPrototypeOf(this, AccountNotRegisteredException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.AccountNotRegisteredException = AccountNotRegisteredException;
|
|
50
|
+
class AccountRegisteredException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "AccountRegisteredException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "AccountRegisteredException";
|
|
58
|
+
this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(this, AccountRegisteredException.prototype);
|
|
60
|
+
this.Message = opts.Message;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.AccountRegisteredException = AccountRegisteredException;
|
|
22
64
|
class CloudTrailARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
23
65
|
constructor(opts) {
|
|
24
66
|
super({
|
|
@@ -103,6 +145,20 @@ class InvalidTrailNameException extends CloudTrailServiceException_1.CloudTrailS
|
|
|
103
145
|
}
|
|
104
146
|
}
|
|
105
147
|
exports.InvalidTrailNameException = InvalidTrailNameException;
|
|
148
|
+
class NoManagementAccountSLRExistsException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "NoManagementAccountSLRExistsException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
this.name = "NoManagementAccountSLRExistsException";
|
|
156
|
+
this.$fault = "client";
|
|
157
|
+
Object.setPrototypeOf(this, NoManagementAccountSLRExistsException.prototype);
|
|
158
|
+
this.Message = opts.Message;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.NoManagementAccountSLRExistsException = NoManagementAccountSLRExistsException;
|
|
106
162
|
class NotOrganizationMasterAccountException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
107
163
|
constructor(opts) {
|
|
108
164
|
super({
|
|
@@ -252,6 +308,20 @@ class QueryIdNotFoundException extends CloudTrailServiceException_1.CloudTrailSe
|
|
|
252
308
|
}
|
|
253
309
|
}
|
|
254
310
|
exports.QueryIdNotFoundException = QueryIdNotFoundException;
|
|
311
|
+
class CannotDelegateManagementAccountException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
312
|
+
constructor(opts) {
|
|
313
|
+
super({
|
|
314
|
+
name: "CannotDelegateManagementAccountException",
|
|
315
|
+
$fault: "client",
|
|
316
|
+
...opts,
|
|
317
|
+
});
|
|
318
|
+
this.name = "CannotDelegateManagementAccountException";
|
|
319
|
+
this.$fault = "client";
|
|
320
|
+
Object.setPrototypeOf(this, CannotDelegateManagementAccountException.prototype);
|
|
321
|
+
this.Message = opts.Message;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
exports.CannotDelegateManagementAccountException = CannotDelegateManagementAccountException;
|
|
255
325
|
class ChannelARNInvalidException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
256
326
|
constructor(opts) {
|
|
257
327
|
super({
|
|
@@ -342,6 +412,62 @@ class InsufficientDependencyServiceAccessPermissionException extends CloudTrailS
|
|
|
342
412
|
}
|
|
343
413
|
}
|
|
344
414
|
exports.InsufficientDependencyServiceAccessPermissionException = InsufficientDependencyServiceAccessPermissionException;
|
|
415
|
+
class InsufficientEncryptionPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
416
|
+
constructor(opts) {
|
|
417
|
+
super({
|
|
418
|
+
name: "InsufficientEncryptionPolicyException",
|
|
419
|
+
$fault: "client",
|
|
420
|
+
...opts,
|
|
421
|
+
});
|
|
422
|
+
this.name = "InsufficientEncryptionPolicyException";
|
|
423
|
+
this.$fault = "client";
|
|
424
|
+
Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
|
|
425
|
+
this.Message = opts.Message;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
exports.InsufficientEncryptionPolicyException = InsufficientEncryptionPolicyException;
|
|
429
|
+
class InvalidKmsKeyIdException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
430
|
+
constructor(opts) {
|
|
431
|
+
super({
|
|
432
|
+
name: "InvalidKmsKeyIdException",
|
|
433
|
+
$fault: "client",
|
|
434
|
+
...opts,
|
|
435
|
+
});
|
|
436
|
+
this.name = "InvalidKmsKeyIdException";
|
|
437
|
+
this.$fault = "client";
|
|
438
|
+
Object.setPrototypeOf(this, InvalidKmsKeyIdException.prototype);
|
|
439
|
+
this.Message = opts.Message;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
exports.InvalidKmsKeyIdException = InvalidKmsKeyIdException;
|
|
443
|
+
class KmsException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
444
|
+
constructor(opts) {
|
|
445
|
+
super({
|
|
446
|
+
name: "KmsException",
|
|
447
|
+
$fault: "client",
|
|
448
|
+
...opts,
|
|
449
|
+
});
|
|
450
|
+
this.name = "KmsException";
|
|
451
|
+
this.$fault = "client";
|
|
452
|
+
Object.setPrototypeOf(this, KmsException.prototype);
|
|
453
|
+
this.Message = opts.Message;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
exports.KmsException = KmsException;
|
|
457
|
+
class KmsKeyNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
458
|
+
constructor(opts) {
|
|
459
|
+
super({
|
|
460
|
+
name: "KmsKeyNotFoundException",
|
|
461
|
+
$fault: "client",
|
|
462
|
+
...opts,
|
|
463
|
+
});
|
|
464
|
+
this.name = "KmsKeyNotFoundException";
|
|
465
|
+
this.$fault = "client";
|
|
466
|
+
Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
|
|
467
|
+
this.Message = opts.Message;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
exports.KmsKeyNotFoundException = KmsKeyNotFoundException;
|
|
345
471
|
class OrganizationNotInAllFeaturesModeException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
346
472
|
constructor(opts) {
|
|
347
473
|
super({
|
|
@@ -398,20 +524,6 @@ class CloudWatchLogsDeliveryUnavailableException extends CloudTrailServiceExcept
|
|
|
398
524
|
}
|
|
399
525
|
}
|
|
400
526
|
exports.CloudWatchLogsDeliveryUnavailableException = CloudWatchLogsDeliveryUnavailableException;
|
|
401
|
-
class InsufficientEncryptionPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
402
|
-
constructor(opts) {
|
|
403
|
-
super({
|
|
404
|
-
name: "InsufficientEncryptionPolicyException",
|
|
405
|
-
$fault: "client",
|
|
406
|
-
...opts,
|
|
407
|
-
});
|
|
408
|
-
this.name = "InsufficientEncryptionPolicyException";
|
|
409
|
-
this.$fault = "client";
|
|
410
|
-
Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
|
|
411
|
-
this.Message = opts.Message;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
exports.InsufficientEncryptionPolicyException = InsufficientEncryptionPolicyException;
|
|
415
527
|
class InsufficientS3BucketPolicyException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
416
528
|
constructor(opts) {
|
|
417
529
|
super({
|
|
@@ -468,20 +580,6 @@ class InvalidCloudWatchLogsRoleArnException extends CloudTrailServiceException_1
|
|
|
468
580
|
}
|
|
469
581
|
}
|
|
470
582
|
exports.InvalidCloudWatchLogsRoleArnException = InvalidCloudWatchLogsRoleArnException;
|
|
471
|
-
class InvalidKmsKeyIdException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
472
|
-
constructor(opts) {
|
|
473
|
-
super({
|
|
474
|
-
name: "InvalidKmsKeyIdException",
|
|
475
|
-
$fault: "client",
|
|
476
|
-
...opts,
|
|
477
|
-
});
|
|
478
|
-
this.name = "InvalidKmsKeyIdException";
|
|
479
|
-
this.$fault = "client";
|
|
480
|
-
Object.setPrototypeOf(this, InvalidKmsKeyIdException.prototype);
|
|
481
|
-
this.Message = opts.Message;
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
exports.InvalidKmsKeyIdException = InvalidKmsKeyIdException;
|
|
485
583
|
class InvalidParameterCombinationException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
486
584
|
constructor(opts) {
|
|
487
585
|
super({
|
|
@@ -538,20 +636,6 @@ class InvalidSnsTopicNameException extends CloudTrailServiceException_1.CloudTra
|
|
|
538
636
|
}
|
|
539
637
|
}
|
|
540
638
|
exports.InvalidSnsTopicNameException = InvalidSnsTopicNameException;
|
|
541
|
-
class KmsException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
542
|
-
constructor(opts) {
|
|
543
|
-
super({
|
|
544
|
-
name: "KmsException",
|
|
545
|
-
$fault: "client",
|
|
546
|
-
...opts,
|
|
547
|
-
});
|
|
548
|
-
this.name = "KmsException";
|
|
549
|
-
this.$fault = "client";
|
|
550
|
-
Object.setPrototypeOf(this, KmsException.prototype);
|
|
551
|
-
this.Message = opts.Message;
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
exports.KmsException = KmsException;
|
|
555
639
|
class KmsKeyDisabledException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
556
640
|
constructor(opts) {
|
|
557
641
|
super({
|
|
@@ -566,20 +650,6 @@ class KmsKeyDisabledException extends CloudTrailServiceException_1.CloudTrailSer
|
|
|
566
650
|
}
|
|
567
651
|
}
|
|
568
652
|
exports.KmsKeyDisabledException = KmsKeyDisabledException;
|
|
569
|
-
class KmsKeyNotFoundException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
570
|
-
constructor(opts) {
|
|
571
|
-
super({
|
|
572
|
-
name: "KmsKeyNotFoundException",
|
|
573
|
-
$fault: "client",
|
|
574
|
-
...opts,
|
|
575
|
-
});
|
|
576
|
-
this.name = "KmsKeyNotFoundException";
|
|
577
|
-
this.$fault = "client";
|
|
578
|
-
Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
|
|
579
|
-
this.Message = opts.Message;
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
exports.KmsKeyNotFoundException = KmsKeyNotFoundException;
|
|
583
653
|
class MaximumNumberOfTrailsExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
584
654
|
constructor(opts) {
|
|
585
655
|
super({
|
|
@@ -692,6 +762,20 @@ class TrailNotFoundException extends CloudTrailServiceException_1.CloudTrailServ
|
|
|
692
762
|
}
|
|
693
763
|
}
|
|
694
764
|
exports.TrailNotFoundException = TrailNotFoundException;
|
|
765
|
+
class NotOrganizationManagementAccountException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
766
|
+
constructor(opts) {
|
|
767
|
+
super({
|
|
768
|
+
name: "NotOrganizationManagementAccountException",
|
|
769
|
+
$fault: "client",
|
|
770
|
+
...opts,
|
|
771
|
+
});
|
|
772
|
+
this.name = "NotOrganizationManagementAccountException";
|
|
773
|
+
this.$fault = "client";
|
|
774
|
+
Object.setPrototypeOf(this, NotOrganizationManagementAccountException.prototype);
|
|
775
|
+
this.Message = opts.Message;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
exports.NotOrganizationManagementAccountException = NotOrganizationManagementAccountException;
|
|
695
779
|
var DeliveryStatus;
|
|
696
780
|
(function (DeliveryStatus) {
|
|
697
781
|
DeliveryStatus["ACCESS_DENIED"] = "ACCESS_DENIED";
|
|
@@ -917,6 +1001,20 @@ class InvalidInsightSelectorsException extends CloudTrailServiceException_1.Clou
|
|
|
917
1001
|
}
|
|
918
1002
|
}
|
|
919
1003
|
exports.InvalidInsightSelectorsException = InvalidInsightSelectorsException;
|
|
1004
|
+
class DelegatedAdminAccountLimitExceededException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
1005
|
+
constructor(opts) {
|
|
1006
|
+
super({
|
|
1007
|
+
name: "DelegatedAdminAccountLimitExceededException",
|
|
1008
|
+
$fault: "client",
|
|
1009
|
+
...opts,
|
|
1010
|
+
});
|
|
1011
|
+
this.name = "DelegatedAdminAccountLimitExceededException";
|
|
1012
|
+
this.$fault = "client";
|
|
1013
|
+
Object.setPrototypeOf(this, DelegatedAdminAccountLimitExceededException.prototype);
|
|
1014
|
+
this.Message = opts.Message;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
exports.DelegatedAdminAccountLimitExceededException = DelegatedAdminAccountLimitExceededException;
|
|
920
1018
|
class InvalidEventDataStoreStatusException extends CloudTrailServiceException_1.CloudTrailServiceException {
|
|
921
1019
|
constructor(opts) {
|
|
922
1020
|
super({
|
|
@@ -1051,6 +1149,14 @@ const DeleteTrailResponseFilterSensitiveLog = (obj) => ({
|
|
|
1051
1149
|
...obj,
|
|
1052
1150
|
});
|
|
1053
1151
|
exports.DeleteTrailResponseFilterSensitiveLog = DeleteTrailResponseFilterSensitiveLog;
|
|
1152
|
+
const DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
1153
|
+
...obj,
|
|
1154
|
+
});
|
|
1155
|
+
exports.DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog = DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog;
|
|
1156
|
+
const DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog = (obj) => ({
|
|
1157
|
+
...obj,
|
|
1158
|
+
});
|
|
1159
|
+
exports.DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog = DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog;
|
|
1054
1160
|
const DescribeQueryRequestFilterSensitiveLog = (obj) => ({
|
|
1055
1161
|
...obj,
|
|
1056
1162
|
});
|
|
@@ -1303,6 +1409,14 @@ const PutInsightSelectorsResponseFilterSensitiveLog = (obj) => ({
|
|
|
1303
1409
|
...obj,
|
|
1304
1410
|
});
|
|
1305
1411
|
exports.PutInsightSelectorsResponseFilterSensitiveLog = PutInsightSelectorsResponseFilterSensitiveLog;
|
|
1412
|
+
const RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
1413
|
+
...obj,
|
|
1414
|
+
});
|
|
1415
|
+
exports.RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog = RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog;
|
|
1416
|
+
const RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog = (obj) => ({
|
|
1417
|
+
...obj,
|
|
1418
|
+
});
|
|
1419
|
+
exports.RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog = RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog;
|
|
1306
1420
|
const RemoveTagsRequestFilterSensitiveLog = (obj) => ({
|
|
1307
1421
|
...obj,
|
|
1308
1422
|
});
|