@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
|
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "browser",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
14
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
15
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
|
|
|
28
27
|
...config,
|
|
29
28
|
runtime: "node",
|
|
30
29
|
defaultsMode,
|
|
31
|
-
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
-
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
5
6
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
7
|
const getRuntimeConfig = (config) => ({
|
|
7
8
|
apiVersion: "2013-11-01",
|
|
9
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
10
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
8
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
12
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
13
|
logger: config?.logger ?? {},
|
package/dist-es/CloudTrail.js
CHANGED
|
@@ -5,6 +5,7 @@ import { CreateEventDataStoreCommand, } from "./commands/CreateEventDataStoreCom
|
|
|
5
5
|
import { CreateTrailCommand } from "./commands/CreateTrailCommand";
|
|
6
6
|
import { DeleteEventDataStoreCommand, } from "./commands/DeleteEventDataStoreCommand";
|
|
7
7
|
import { DeleteTrailCommand } from "./commands/DeleteTrailCommand";
|
|
8
|
+
import { DeregisterOrganizationDelegatedAdminCommand, } from "./commands/DeregisterOrganizationDelegatedAdminCommand";
|
|
8
9
|
import { DescribeQueryCommand, } from "./commands/DescribeQueryCommand";
|
|
9
10
|
import { DescribeTrailsCommand, } from "./commands/DescribeTrailsCommand";
|
|
10
11
|
import { GetChannelCommand } from "./commands/GetChannelCommand";
|
|
@@ -26,6 +27,7 @@ import { ListTrailsCommand } from "./commands/ListTrailsCommand";
|
|
|
26
27
|
import { LookupEventsCommand, } from "./commands/LookupEventsCommand";
|
|
27
28
|
import { PutEventSelectorsCommand, } from "./commands/PutEventSelectorsCommand";
|
|
28
29
|
import { PutInsightSelectorsCommand, } from "./commands/PutInsightSelectorsCommand";
|
|
30
|
+
import { RegisterOrganizationDelegatedAdminCommand, } from "./commands/RegisterOrganizationDelegatedAdminCommand";
|
|
29
31
|
import { RemoveTagsCommand } from "./commands/RemoveTagsCommand";
|
|
30
32
|
import { RestoreEventDataStoreCommand, } from "./commands/RestoreEventDataStoreCommand";
|
|
31
33
|
import { StartImportCommand } from "./commands/StartImportCommand";
|
|
@@ -120,6 +122,20 @@ export class CloudTrail extends CloudTrailClient {
|
|
|
120
122
|
return this.send(command, optionsOrCb);
|
|
121
123
|
}
|
|
122
124
|
}
|
|
125
|
+
deregisterOrganizationDelegatedAdmin(args, optionsOrCb, cb) {
|
|
126
|
+
const command = new DeregisterOrganizationDelegatedAdminCommand(args);
|
|
127
|
+
if (typeof optionsOrCb === "function") {
|
|
128
|
+
this.send(command, optionsOrCb);
|
|
129
|
+
}
|
|
130
|
+
else if (typeof cb === "function") {
|
|
131
|
+
if (typeof optionsOrCb !== "object")
|
|
132
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
return this.send(command, optionsOrCb);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
123
139
|
describeQuery(args, optionsOrCb, cb) {
|
|
124
140
|
const command = new DescribeQueryCommand(args);
|
|
125
141
|
if (typeof optionsOrCb === "function") {
|
|
@@ -414,6 +430,20 @@ export class CloudTrail extends CloudTrailClient {
|
|
|
414
430
|
return this.send(command, optionsOrCb);
|
|
415
431
|
}
|
|
416
432
|
}
|
|
433
|
+
registerOrganizationDelegatedAdmin(args, optionsOrCb, cb) {
|
|
434
|
+
const command = new RegisterOrganizationDelegatedAdminCommand(args);
|
|
435
|
+
if (typeof optionsOrCb === "function") {
|
|
436
|
+
this.send(command, optionsOrCb);
|
|
437
|
+
}
|
|
438
|
+
else if (typeof cb === "function") {
|
|
439
|
+
if (typeof optionsOrCb !== "object")
|
|
440
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
441
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
442
|
+
}
|
|
443
|
+
else {
|
|
444
|
+
return this.send(command, optionsOrCb);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
417
447
|
removeTags(args, optionsOrCb, cb) {
|
|
418
448
|
const command = new RemoveTagsCommand(args);
|
|
419
449
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog, DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand, serializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class DeregisterOrganizationDelegatedAdminCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterOrganizationDelegatedAdminCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CloudTrailClient";
|
|
25
|
+
const commandName = "DeregisterOrganizationDelegatedAdminCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog, RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1RegisterOrganizationDelegatedAdminCommand, serializeAws_json1_1RegisterOrganizationDelegatedAdminCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class RegisterOrganizationDelegatedAdminCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RegisterOrganizationDelegatedAdminCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CloudTrailClient";
|
|
25
|
+
const commandName = "RegisterOrganizationDelegatedAdminCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1RegisterOrganizationDelegatedAdminCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1RegisterOrganizationDelegatedAdminCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./CreateEventDataStoreCommand";
|
|
|
4
4
|
export * from "./CreateTrailCommand";
|
|
5
5
|
export * from "./DeleteEventDataStoreCommand";
|
|
6
6
|
export * from "./DeleteTrailCommand";
|
|
7
|
+
export * from "./DeregisterOrganizationDelegatedAdminCommand";
|
|
7
8
|
export * from "./DescribeQueryCommand";
|
|
8
9
|
export * from "./DescribeTrailsCommand";
|
|
9
10
|
export * from "./GetChannelCommand";
|
|
@@ -25,6 +26,7 @@ export * from "./ListTrailsCommand";
|
|
|
25
26
|
export * from "./LookupEventsCommand";
|
|
26
27
|
export * from "./PutEventSelectorsCommand";
|
|
27
28
|
export * from "./PutInsightSelectorsCommand";
|
|
29
|
+
export * from "./RegisterOrganizationDelegatedAdminCommand";
|
|
28
30
|
export * from "./RemoveTagsCommand";
|
|
29
31
|
export * from "./RestoreEventDataStoreCommand";
|
|
30
32
|
export * from "./StartImportCommand";
|
|
@@ -12,6 +12,45 @@ export class AccountHasOngoingImportException extends __BaseException {
|
|
|
12
12
|
this.Message = opts.Message;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export class AccountNotFoundException extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "AccountNotFoundException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts,
|
|
21
|
+
});
|
|
22
|
+
this.name = "AccountNotFoundException";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
25
|
+
this.Message = opts.Message;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export class AccountNotRegisteredException extends __BaseException {
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "AccountNotRegisteredException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
this.name = "AccountNotRegisteredException";
|
|
36
|
+
this.$fault = "client";
|
|
37
|
+
Object.setPrototypeOf(this, AccountNotRegisteredException.prototype);
|
|
38
|
+
this.Message = opts.Message;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class AccountRegisteredException extends __BaseException {
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "AccountRegisteredException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
this.name = "AccountRegisteredException";
|
|
49
|
+
this.$fault = "client";
|
|
50
|
+
Object.setPrototypeOf(this, AccountRegisteredException.prototype);
|
|
51
|
+
this.Message = opts.Message;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
15
54
|
export class CloudTrailARNInvalidException extends __BaseException {
|
|
16
55
|
constructor(opts) {
|
|
17
56
|
super({
|
|
@@ -90,6 +129,19 @@ export class InvalidTrailNameException extends __BaseException {
|
|
|
90
129
|
this.Message = opts.Message;
|
|
91
130
|
}
|
|
92
131
|
}
|
|
132
|
+
export class NoManagementAccountSLRExistsException extends __BaseException {
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "NoManagementAccountSLRExistsException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
this.name = "NoManagementAccountSLRExistsException";
|
|
140
|
+
this.$fault = "client";
|
|
141
|
+
Object.setPrototypeOf(this, NoManagementAccountSLRExistsException.prototype);
|
|
142
|
+
this.Message = opts.Message;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
93
145
|
export class NotOrganizationMasterAccountException extends __BaseException {
|
|
94
146
|
constructor(opts) {
|
|
95
147
|
super({
|
|
@@ -229,6 +281,19 @@ export class QueryIdNotFoundException extends __BaseException {
|
|
|
229
281
|
this.Message = opts.Message;
|
|
230
282
|
}
|
|
231
283
|
}
|
|
284
|
+
export class CannotDelegateManagementAccountException extends __BaseException {
|
|
285
|
+
constructor(opts) {
|
|
286
|
+
super({
|
|
287
|
+
name: "CannotDelegateManagementAccountException",
|
|
288
|
+
$fault: "client",
|
|
289
|
+
...opts,
|
|
290
|
+
});
|
|
291
|
+
this.name = "CannotDelegateManagementAccountException";
|
|
292
|
+
this.$fault = "client";
|
|
293
|
+
Object.setPrototypeOf(this, CannotDelegateManagementAccountException.prototype);
|
|
294
|
+
this.Message = opts.Message;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
232
297
|
export class ChannelARNInvalidException extends __BaseException {
|
|
233
298
|
constructor(opts) {
|
|
234
299
|
super({
|
|
@@ -313,6 +378,58 @@ export class InsufficientDependencyServiceAccessPermissionException extends __Ba
|
|
|
313
378
|
this.Message = opts.Message;
|
|
314
379
|
}
|
|
315
380
|
}
|
|
381
|
+
export class InsufficientEncryptionPolicyException extends __BaseException {
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "InsufficientEncryptionPolicyException",
|
|
385
|
+
$fault: "client",
|
|
386
|
+
...opts,
|
|
387
|
+
});
|
|
388
|
+
this.name = "InsufficientEncryptionPolicyException";
|
|
389
|
+
this.$fault = "client";
|
|
390
|
+
Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
|
|
391
|
+
this.Message = opts.Message;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
export class InvalidKmsKeyIdException extends __BaseException {
|
|
395
|
+
constructor(opts) {
|
|
396
|
+
super({
|
|
397
|
+
name: "InvalidKmsKeyIdException",
|
|
398
|
+
$fault: "client",
|
|
399
|
+
...opts,
|
|
400
|
+
});
|
|
401
|
+
this.name = "InvalidKmsKeyIdException";
|
|
402
|
+
this.$fault = "client";
|
|
403
|
+
Object.setPrototypeOf(this, InvalidKmsKeyIdException.prototype);
|
|
404
|
+
this.Message = opts.Message;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
export class KmsException extends __BaseException {
|
|
408
|
+
constructor(opts) {
|
|
409
|
+
super({
|
|
410
|
+
name: "KmsException",
|
|
411
|
+
$fault: "client",
|
|
412
|
+
...opts,
|
|
413
|
+
});
|
|
414
|
+
this.name = "KmsException";
|
|
415
|
+
this.$fault = "client";
|
|
416
|
+
Object.setPrototypeOf(this, KmsException.prototype);
|
|
417
|
+
this.Message = opts.Message;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
export class KmsKeyNotFoundException extends __BaseException {
|
|
421
|
+
constructor(opts) {
|
|
422
|
+
super({
|
|
423
|
+
name: "KmsKeyNotFoundException",
|
|
424
|
+
$fault: "client",
|
|
425
|
+
...opts,
|
|
426
|
+
});
|
|
427
|
+
this.name = "KmsKeyNotFoundException";
|
|
428
|
+
this.$fault = "client";
|
|
429
|
+
Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
|
|
430
|
+
this.Message = opts.Message;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
316
433
|
export class OrganizationNotInAllFeaturesModeException extends __BaseException {
|
|
317
434
|
constructor(opts) {
|
|
318
435
|
super({
|
|
@@ -365,19 +482,6 @@ export class CloudWatchLogsDeliveryUnavailableException extends __BaseException
|
|
|
365
482
|
this.Message = opts.Message;
|
|
366
483
|
}
|
|
367
484
|
}
|
|
368
|
-
export class InsufficientEncryptionPolicyException extends __BaseException {
|
|
369
|
-
constructor(opts) {
|
|
370
|
-
super({
|
|
371
|
-
name: "InsufficientEncryptionPolicyException",
|
|
372
|
-
$fault: "client",
|
|
373
|
-
...opts,
|
|
374
|
-
});
|
|
375
|
-
this.name = "InsufficientEncryptionPolicyException";
|
|
376
|
-
this.$fault = "client";
|
|
377
|
-
Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
|
|
378
|
-
this.Message = opts.Message;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
485
|
export class InsufficientS3BucketPolicyException extends __BaseException {
|
|
382
486
|
constructor(opts) {
|
|
383
487
|
super({
|
|
@@ -430,19 +534,6 @@ export class InvalidCloudWatchLogsRoleArnException extends __BaseException {
|
|
|
430
534
|
this.Message = opts.Message;
|
|
431
535
|
}
|
|
432
536
|
}
|
|
433
|
-
export class InvalidKmsKeyIdException extends __BaseException {
|
|
434
|
-
constructor(opts) {
|
|
435
|
-
super({
|
|
436
|
-
name: "InvalidKmsKeyIdException",
|
|
437
|
-
$fault: "client",
|
|
438
|
-
...opts,
|
|
439
|
-
});
|
|
440
|
-
this.name = "InvalidKmsKeyIdException";
|
|
441
|
-
this.$fault = "client";
|
|
442
|
-
Object.setPrototypeOf(this, InvalidKmsKeyIdException.prototype);
|
|
443
|
-
this.Message = opts.Message;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
537
|
export class InvalidParameterCombinationException extends __BaseException {
|
|
447
538
|
constructor(opts) {
|
|
448
539
|
super({
|
|
@@ -495,19 +586,6 @@ export class InvalidSnsTopicNameException extends __BaseException {
|
|
|
495
586
|
this.Message = opts.Message;
|
|
496
587
|
}
|
|
497
588
|
}
|
|
498
|
-
export class KmsException extends __BaseException {
|
|
499
|
-
constructor(opts) {
|
|
500
|
-
super({
|
|
501
|
-
name: "KmsException",
|
|
502
|
-
$fault: "client",
|
|
503
|
-
...opts,
|
|
504
|
-
});
|
|
505
|
-
this.name = "KmsException";
|
|
506
|
-
this.$fault = "client";
|
|
507
|
-
Object.setPrototypeOf(this, KmsException.prototype);
|
|
508
|
-
this.Message = opts.Message;
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
589
|
export class KmsKeyDisabledException extends __BaseException {
|
|
512
590
|
constructor(opts) {
|
|
513
591
|
super({
|
|
@@ -521,19 +599,6 @@ export class KmsKeyDisabledException extends __BaseException {
|
|
|
521
599
|
this.Message = opts.Message;
|
|
522
600
|
}
|
|
523
601
|
}
|
|
524
|
-
export class KmsKeyNotFoundException extends __BaseException {
|
|
525
|
-
constructor(opts) {
|
|
526
|
-
super({
|
|
527
|
-
name: "KmsKeyNotFoundException",
|
|
528
|
-
$fault: "client",
|
|
529
|
-
...opts,
|
|
530
|
-
});
|
|
531
|
-
this.name = "KmsKeyNotFoundException";
|
|
532
|
-
this.$fault = "client";
|
|
533
|
-
Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
|
|
534
|
-
this.Message = opts.Message;
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
602
|
export class MaximumNumberOfTrailsExceededException extends __BaseException {
|
|
538
603
|
constructor(opts) {
|
|
539
604
|
super({
|
|
@@ -638,6 +703,19 @@ export class TrailNotFoundException extends __BaseException {
|
|
|
638
703
|
this.Message = opts.Message;
|
|
639
704
|
}
|
|
640
705
|
}
|
|
706
|
+
export class NotOrganizationManagementAccountException extends __BaseException {
|
|
707
|
+
constructor(opts) {
|
|
708
|
+
super({
|
|
709
|
+
name: "NotOrganizationManagementAccountException",
|
|
710
|
+
$fault: "client",
|
|
711
|
+
...opts,
|
|
712
|
+
});
|
|
713
|
+
this.name = "NotOrganizationManagementAccountException";
|
|
714
|
+
this.$fault = "client";
|
|
715
|
+
Object.setPrototypeOf(this, NotOrganizationManagementAccountException.prototype);
|
|
716
|
+
this.Message = opts.Message;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
641
719
|
export var DeliveryStatus;
|
|
642
720
|
(function (DeliveryStatus) {
|
|
643
721
|
DeliveryStatus["ACCESS_DENIED"] = "ACCESS_DENIED";
|
|
@@ -851,6 +929,19 @@ export class InvalidInsightSelectorsException extends __BaseException {
|
|
|
851
929
|
this.Message = opts.Message;
|
|
852
930
|
}
|
|
853
931
|
}
|
|
932
|
+
export class DelegatedAdminAccountLimitExceededException extends __BaseException {
|
|
933
|
+
constructor(opts) {
|
|
934
|
+
super({
|
|
935
|
+
name: "DelegatedAdminAccountLimitExceededException",
|
|
936
|
+
$fault: "client",
|
|
937
|
+
...opts,
|
|
938
|
+
});
|
|
939
|
+
this.name = "DelegatedAdminAccountLimitExceededException";
|
|
940
|
+
this.$fault = "client";
|
|
941
|
+
Object.setPrototypeOf(this, DelegatedAdminAccountLimitExceededException.prototype);
|
|
942
|
+
this.Message = opts.Message;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
854
945
|
export class InvalidEventDataStoreStatusException extends __BaseException {
|
|
855
946
|
constructor(opts) {
|
|
856
947
|
super({
|
|
@@ -964,6 +1055,12 @@ export const DeleteTrailRequestFilterSensitiveLog = (obj) => ({
|
|
|
964
1055
|
export const DeleteTrailResponseFilterSensitiveLog = (obj) => ({
|
|
965
1056
|
...obj,
|
|
966
1057
|
});
|
|
1058
|
+
export const DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
1059
|
+
...obj,
|
|
1060
|
+
});
|
|
1061
|
+
export const DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog = (obj) => ({
|
|
1062
|
+
...obj,
|
|
1063
|
+
});
|
|
967
1064
|
export const DescribeQueryRequestFilterSensitiveLog = (obj) => ({
|
|
968
1065
|
...obj,
|
|
969
1066
|
});
|
|
@@ -1153,6 +1250,12 @@ export const PutInsightSelectorsRequestFilterSensitiveLog = (obj) => ({
|
|
|
1153
1250
|
export const PutInsightSelectorsResponseFilterSensitiveLog = (obj) => ({
|
|
1154
1251
|
...obj,
|
|
1155
1252
|
});
|
|
1253
|
+
export const RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog = (obj) => ({
|
|
1254
|
+
...obj,
|
|
1255
|
+
});
|
|
1256
|
+
export const RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog = (obj) => ({
|
|
1257
|
+
...obj,
|
|
1258
|
+
});
|
|
1156
1259
|
export const RemoveTagsRequestFilterSensitiveLog = (obj) => ({
|
|
1157
1260
|
...obj,
|
|
1158
1261
|
});
|