@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.
Files changed (45) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/CloudTrail.js +30 -0
  3. package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +46 -0
  4. package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +1 -1
  7. package/dist-cjs/models/models_0.js +174 -60
  8. package/dist-cjs/protocols/Aws_json1_1.js +375 -2
  9. package/dist-cjs/runtimeConfig.browser.js +0 -3
  10. package/dist-cjs/runtimeConfig.js +0 -3
  11. package/dist-cjs/runtimeConfig.shared.js +3 -0
  12. package/dist-es/CloudTrail.js +30 -0
  13. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +42 -0
  14. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +42 -0
  15. package/dist-es/commands/index.js +2 -0
  16. package/dist-es/endpoint/ruleset.js +1 -1
  17. package/dist-es/models/models_0.js +155 -52
  18. package/dist-es/protocols/Aws_json1_1.js +370 -1
  19. package/dist-es/runtimeConfig.browser.js +0 -3
  20. package/dist-es/runtimeConfig.js +0 -3
  21. package/dist-es/runtimeConfig.shared.js +3 -0
  22. package/dist-types/CloudTrail.d.ts +15 -1
  23. package/dist-types/CloudTrailClient.d.ts +4 -2
  24. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +37 -0
  25. package/dist-types/commands/GetChannelCommand.d.ts +1 -1
  26. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +37 -0
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  29. package/dist-types/models/models_0.d.ts +334 -65
  30. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  31. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  32. package/dist-types/runtimeConfig.d.ts +2 -2
  33. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  34. package/dist-types/ts3.4/CloudTrail.d.ts +46 -0
  35. package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
  36. package/dist-types/ts3.4/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +41 -0
  37. package/dist-types/ts3.4/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +41 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  39. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +130 -36
  41. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  45. package/package.json +5 -4
@@ -24,6 +24,10 @@ import {
24
24
  DeleteTrailCommandInput,
25
25
  DeleteTrailCommandOutput,
26
26
  } from "./commands/DeleteTrailCommand";
27
+ import {
28
+ DeregisterOrganizationDelegatedAdminCommandInput,
29
+ DeregisterOrganizationDelegatedAdminCommandOutput,
30
+ } from "./commands/DeregisterOrganizationDelegatedAdminCommand";
27
31
  import {
28
32
  DescribeQueryCommandInput,
29
33
  DescribeQueryCommandOutput,
@@ -108,6 +112,10 @@ import {
108
112
  PutInsightSelectorsCommandInput,
109
113
  PutInsightSelectorsCommandOutput,
110
114
  } from "./commands/PutInsightSelectorsCommand";
115
+ import {
116
+ RegisterOrganizationDelegatedAdminCommandInput,
117
+ RegisterOrganizationDelegatedAdminCommandOutput,
118
+ } from "./commands/RegisterOrganizationDelegatedAdminCommand";
111
119
  import {
112
120
  RemoveTagsCommandInput,
113
121
  RemoveTagsCommandOutput,
@@ -223,6 +231,25 @@ export declare class CloudTrail extends CloudTrailClient {
223
231
  options: __HttpHandlerOptions,
224
232
  cb: (err: any, data?: DeleteTrailCommandOutput) => void
225
233
  ): void;
234
+ deregisterOrganizationDelegatedAdmin(
235
+ args: DeregisterOrganizationDelegatedAdminCommandInput,
236
+ options?: __HttpHandlerOptions
237
+ ): Promise<DeregisterOrganizationDelegatedAdminCommandOutput>;
238
+ deregisterOrganizationDelegatedAdmin(
239
+ args: DeregisterOrganizationDelegatedAdminCommandInput,
240
+ cb: (
241
+ err: any,
242
+ data?: DeregisterOrganizationDelegatedAdminCommandOutput
243
+ ) => void
244
+ ): void;
245
+ deregisterOrganizationDelegatedAdmin(
246
+ args: DeregisterOrganizationDelegatedAdminCommandInput,
247
+ options: __HttpHandlerOptions,
248
+ cb: (
249
+ err: any,
250
+ data?: DeregisterOrganizationDelegatedAdminCommandOutput
251
+ ) => void
252
+ ): void;
226
253
  describeQuery(
227
254
  args: DescribeQueryCommandInput,
228
255
  options?: __HttpHandlerOptions
@@ -496,6 +523,25 @@ export declare class CloudTrail extends CloudTrailClient {
496
523
  options: __HttpHandlerOptions,
497
524
  cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void
498
525
  ): void;
526
+ registerOrganizationDelegatedAdmin(
527
+ args: RegisterOrganizationDelegatedAdminCommandInput,
528
+ options?: __HttpHandlerOptions
529
+ ): Promise<RegisterOrganizationDelegatedAdminCommandOutput>;
530
+ registerOrganizationDelegatedAdmin(
531
+ args: RegisterOrganizationDelegatedAdminCommandInput,
532
+ cb: (
533
+ err: any,
534
+ data?: RegisterOrganizationDelegatedAdminCommandOutput
535
+ ) => void
536
+ ): void;
537
+ registerOrganizationDelegatedAdmin(
538
+ args: RegisterOrganizationDelegatedAdminCommandInput,
539
+ options: __HttpHandlerOptions,
540
+ cb: (
541
+ err: any,
542
+ data?: RegisterOrganizationDelegatedAdminCommandOutput
543
+ ) => void
544
+ ): void;
499
545
  removeTags(
500
546
  args: RemoveTagsCommandInput,
501
547
  options?: __HttpHandlerOptions
@@ -67,6 +67,10 @@ import {
67
67
  DeleteTrailCommandInput,
68
68
  DeleteTrailCommandOutput,
69
69
  } from "./commands/DeleteTrailCommand";
70
+ import {
71
+ DeregisterOrganizationDelegatedAdminCommandInput,
72
+ DeregisterOrganizationDelegatedAdminCommandOutput,
73
+ } from "./commands/DeregisterOrganizationDelegatedAdminCommand";
70
74
  import {
71
75
  DescribeQueryCommandInput,
72
76
  DescribeQueryCommandOutput,
@@ -151,6 +155,10 @@ import {
151
155
  PutInsightSelectorsCommandInput,
152
156
  PutInsightSelectorsCommandOutput,
153
157
  } from "./commands/PutInsightSelectorsCommand";
158
+ import {
159
+ RegisterOrganizationDelegatedAdminCommandInput,
160
+ RegisterOrganizationDelegatedAdminCommandOutput,
161
+ } from "./commands/RegisterOrganizationDelegatedAdminCommand";
154
162
  import {
155
163
  RemoveTagsCommandInput,
156
164
  RemoveTagsCommandOutput,
@@ -199,6 +207,7 @@ export declare type ServiceInputTypes =
199
207
  | CreateTrailCommandInput
200
208
  | DeleteEventDataStoreCommandInput
201
209
  | DeleteTrailCommandInput
210
+ | DeregisterOrganizationDelegatedAdminCommandInput
202
211
  | DescribeQueryCommandInput
203
212
  | DescribeTrailsCommandInput
204
213
  | GetChannelCommandInput
@@ -220,6 +229,7 @@ export declare type ServiceInputTypes =
220
229
  | LookupEventsCommandInput
221
230
  | PutEventSelectorsCommandInput
222
231
  | PutInsightSelectorsCommandInput
232
+ | RegisterOrganizationDelegatedAdminCommandInput
223
233
  | RemoveTagsCommandInput
224
234
  | RestoreEventDataStoreCommandInput
225
235
  | StartImportCommandInput
@@ -236,6 +246,7 @@ export declare type ServiceOutputTypes =
236
246
  | CreateTrailCommandOutput
237
247
  | DeleteEventDataStoreCommandOutput
238
248
  | DeleteTrailCommandOutput
249
+ | DeregisterOrganizationDelegatedAdminCommandOutput
239
250
  | DescribeQueryCommandOutput
240
251
  | DescribeTrailsCommandOutput
241
252
  | GetChannelCommandOutput
@@ -257,6 +268,7 @@ export declare type ServiceOutputTypes =
257
268
  | LookupEventsCommandOutput
258
269
  | PutEventSelectorsCommandOutput
259
270
  | PutInsightSelectorsCommandOutput
271
+ | RegisterOrganizationDelegatedAdminCommandOutput
260
272
  | RemoveTagsCommandOutput
261
273
  | RestoreEventDataStoreCommandOutput
262
274
  | StartImportCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CloudTrailClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudTrailClient";
14
+ import {
15
+ DeregisterOrganizationDelegatedAdminRequest,
16
+ DeregisterOrganizationDelegatedAdminResponse,
17
+ } from "../models/models_0";
18
+ export interface DeregisterOrganizationDelegatedAdminCommandInput
19
+ extends DeregisterOrganizationDelegatedAdminRequest {}
20
+ export interface DeregisterOrganizationDelegatedAdminCommandOutput
21
+ extends DeregisterOrganizationDelegatedAdminResponse,
22
+ __MetadataBearer {}
23
+ export declare class DeregisterOrganizationDelegatedAdminCommand extends $Command<
24
+ DeregisterOrganizationDelegatedAdminCommandInput,
25
+ DeregisterOrganizationDelegatedAdminCommandOutput,
26
+ CloudTrailClientResolvedConfig
27
+ > {
28
+ readonly input: DeregisterOrganizationDelegatedAdminCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeregisterOrganizationDelegatedAdminCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudTrailClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DeregisterOrganizationDelegatedAdminCommandInput,
37
+ DeregisterOrganizationDelegatedAdminCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CloudTrailClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CloudTrailClient";
14
+ import {
15
+ RegisterOrganizationDelegatedAdminRequest,
16
+ RegisterOrganizationDelegatedAdminResponse,
17
+ } from "../models/models_0";
18
+ export interface RegisterOrganizationDelegatedAdminCommandInput
19
+ extends RegisterOrganizationDelegatedAdminRequest {}
20
+ export interface RegisterOrganizationDelegatedAdminCommandOutput
21
+ extends RegisterOrganizationDelegatedAdminResponse,
22
+ __MetadataBearer {}
23
+ export declare class RegisterOrganizationDelegatedAdminCommand extends $Command<
24
+ RegisterOrganizationDelegatedAdminCommandInput,
25
+ RegisterOrganizationDelegatedAdminCommandOutput,
26
+ CloudTrailClientResolvedConfig
27
+ > {
28
+ readonly input: RegisterOrganizationDelegatedAdminCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: RegisterOrganizationDelegatedAdminCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudTrailClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ RegisterOrganizationDelegatedAdminCommandInput,
37
+ RegisterOrganizationDelegatedAdminCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -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";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -11,6 +11,30 @@ export declare class AccountHasOngoingImportException extends __BaseException {
11
11
  >
12
12
  );
13
13
  }
14
+ export declare class AccountNotFoundException extends __BaseException {
15
+ readonly name: "AccountNotFoundException";
16
+ readonly $fault: "client";
17
+ Message?: string;
18
+ constructor(
19
+ opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>
20
+ );
21
+ }
22
+ export declare class AccountNotRegisteredException extends __BaseException {
23
+ readonly name: "AccountNotRegisteredException";
24
+ readonly $fault: "client";
25
+ Message?: string;
26
+ constructor(
27
+ opts: __ExceptionOptionType<AccountNotRegisteredException, __BaseException>
28
+ );
29
+ }
30
+ export declare class AccountRegisteredException extends __BaseException {
31
+ readonly name: "AccountRegisteredException";
32
+ readonly $fault: "client";
33
+ Message?: string;
34
+ constructor(
35
+ opts: __ExceptionOptionType<AccountRegisteredException, __BaseException>
36
+ );
37
+ }
14
38
  export interface Tag {
15
39
  Key: string | undefined;
16
40
  Value?: string;
@@ -72,6 +96,17 @@ export declare class InvalidTrailNameException extends __BaseException {
72
96
  opts: __ExceptionOptionType<InvalidTrailNameException, __BaseException>
73
97
  );
74
98
  }
99
+ export declare class NoManagementAccountSLRExistsException extends __BaseException {
100
+ readonly name: "NoManagementAccountSLRExistsException";
101
+ readonly $fault: "client";
102
+ Message?: string;
103
+ constructor(
104
+ opts: __ExceptionOptionType<
105
+ NoManagementAccountSLRExistsException,
106
+ __BaseException
107
+ >
108
+ );
109
+ }
75
110
  export declare class NotOrganizationMasterAccountException extends __BaseException {
76
111
  readonly name: "NotOrganizationMasterAccountException";
77
112
  readonly $fault: "client";
@@ -140,7 +175,7 @@ export interface AdvancedEventSelector {
140
175
  FieldSelectors: AdvancedFieldSelector[] | undefined;
141
176
  }
142
177
  export interface CancelQueryRequest {
143
- EventDataStore: string | undefined;
178
+ EventDataStore?: string;
144
179
  QueryId: string | undefined;
145
180
  }
146
181
  export declare enum QueryStatus {
@@ -190,6 +225,17 @@ export declare class QueryIdNotFoundException extends __BaseException {
190
225
  opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>
191
226
  );
192
227
  }
228
+ export declare class CannotDelegateManagementAccountException extends __BaseException {
229
+ readonly name: "CannotDelegateManagementAccountException";
230
+ readonly $fault: "client";
231
+ Message?: string;
232
+ constructor(
233
+ opts: __ExceptionOptionType<
234
+ CannotDelegateManagementAccountException,
235
+ __BaseException
236
+ >
237
+ );
238
+ }
193
239
  export interface Channel {
194
240
  ChannelArn?: string;
195
241
  Name?: string;
@@ -229,6 +275,7 @@ export interface CreateEventDataStoreRequest {
229
275
  RetentionPeriod?: number;
230
276
  TerminationProtectionEnabled?: boolean;
231
277
  TagsList?: Tag[];
278
+ KmsKeyId?: string;
232
279
  }
233
280
  export declare enum EventDataStoreStatus {
234
281
  CREATED = "CREATED",
@@ -247,6 +294,7 @@ export interface CreateEventDataStoreResponse {
247
294
  TagsList?: Tag[];
248
295
  CreatedTimestamp?: Date;
249
296
  UpdatedTimestamp?: Date;
297
+ KmsKeyId?: string;
250
298
  }
251
299
  export declare class EventDataStoreAlreadyExistsException extends __BaseException {
252
300
  readonly name: "EventDataStoreAlreadyExistsException";
@@ -281,6 +329,39 @@ export declare class InsufficientDependencyServiceAccessPermissionException exte
281
329
  >
282
330
  );
283
331
  }
332
+ export declare class InsufficientEncryptionPolicyException extends __BaseException {
333
+ readonly name: "InsufficientEncryptionPolicyException";
334
+ readonly $fault: "client";
335
+ Message?: string;
336
+ constructor(
337
+ opts: __ExceptionOptionType<
338
+ InsufficientEncryptionPolicyException,
339
+ __BaseException
340
+ >
341
+ );
342
+ }
343
+ export declare class InvalidKmsKeyIdException extends __BaseException {
344
+ readonly name: "InvalidKmsKeyIdException";
345
+ readonly $fault: "client";
346
+ Message?: string;
347
+ constructor(
348
+ opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>
349
+ );
350
+ }
351
+ export declare class KmsException extends __BaseException {
352
+ readonly name: "KmsException";
353
+ readonly $fault: "client";
354
+ Message?: string;
355
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
356
+ }
357
+ export declare class KmsKeyNotFoundException extends __BaseException {
358
+ readonly name: "KmsKeyNotFoundException";
359
+ readonly $fault: "client";
360
+ Message?: string;
361
+ constructor(
362
+ opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>
363
+ );
364
+ }
284
365
  export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
285
366
  readonly name: "OrganizationNotInAllFeaturesModeException";
286
367
  readonly $fault: "client";
@@ -351,17 +432,6 @@ export interface CreateTrailResponse {
351
432
  KmsKeyId?: string;
352
433
  IsOrganizationTrail?: boolean;
353
434
  }
354
- export declare class InsufficientEncryptionPolicyException extends __BaseException {
355
- readonly name: "InsufficientEncryptionPolicyException";
356
- readonly $fault: "client";
357
- Message?: string;
358
- constructor(
359
- opts: __ExceptionOptionType<
360
- InsufficientEncryptionPolicyException,
361
- __BaseException
362
- >
363
- );
364
- }
365
435
  export declare class InsufficientS3BucketPolicyException extends __BaseException {
366
436
  readonly name: "InsufficientS3BucketPolicyException";
367
437
  readonly $fault: "client";
@@ -406,14 +476,6 @@ export declare class InvalidCloudWatchLogsRoleArnException extends __BaseExcepti
406
476
  >
407
477
  );
408
478
  }
409
- export declare class InvalidKmsKeyIdException extends __BaseException {
410
- readonly name: "InvalidKmsKeyIdException";
411
- readonly $fault: "client";
412
- Message?: string;
413
- constructor(
414
- opts: __ExceptionOptionType<InvalidKmsKeyIdException, __BaseException>
415
- );
416
- }
417
479
  export declare class InvalidParameterCombinationException extends __BaseException {
418
480
  readonly name: "InvalidParameterCombinationException";
419
481
  readonly $fault: "client";
@@ -449,12 +511,6 @@ export declare class InvalidSnsTopicNameException extends __BaseException {
449
511
  opts: __ExceptionOptionType<InvalidSnsTopicNameException, __BaseException>
450
512
  );
451
513
  }
452
- export declare class KmsException extends __BaseException {
453
- readonly name: "KmsException";
454
- readonly $fault: "client";
455
- Message?: string;
456
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
457
- }
458
514
  export declare class KmsKeyDisabledException extends __BaseException {
459
515
  readonly name: "KmsKeyDisabledException";
460
516
  readonly $fault: "client";
@@ -463,14 +519,6 @@ export declare class KmsKeyDisabledException extends __BaseException {
463
519
  opts: __ExceptionOptionType<KmsKeyDisabledException, __BaseException>
464
520
  );
465
521
  }
466
- export declare class KmsKeyNotFoundException extends __BaseException {
467
- readonly name: "KmsKeyNotFoundException";
468
- readonly $fault: "client";
469
- Message?: string;
470
- constructor(
471
- opts: __ExceptionOptionType<KmsKeyNotFoundException, __BaseException>
472
- );
473
- }
474
522
  export declare class MaximumNumberOfTrailsExceededException extends __BaseException {
475
523
  readonly name: "MaximumNumberOfTrailsExceededException";
476
524
  readonly $fault: "client";
@@ -552,8 +600,23 @@ export declare class TrailNotFoundException extends __BaseException {
552
600
  opts: __ExceptionOptionType<TrailNotFoundException, __BaseException>
553
601
  );
554
602
  }
603
+ export interface DeregisterOrganizationDelegatedAdminRequest {
604
+ DelegatedAdminAccountId: string | undefined;
605
+ }
606
+ export interface DeregisterOrganizationDelegatedAdminResponse {}
607
+ export declare class NotOrganizationManagementAccountException extends __BaseException {
608
+ readonly name: "NotOrganizationManagementAccountException";
609
+ readonly $fault: "client";
610
+ Message?: string;
611
+ constructor(
612
+ opts: __ExceptionOptionType<
613
+ NotOrganizationManagementAccountException,
614
+ __BaseException
615
+ >
616
+ );
617
+ }
555
618
  export interface DescribeQueryRequest {
556
- EventDataStore: string | undefined;
619
+ EventDataStore?: string;
557
620
  QueryId: string | undefined;
558
621
  }
559
622
  export declare enum DeliveryStatus {
@@ -644,6 +707,7 @@ export interface GetEventDataStoreResponse {
644
707
  TerminationProtectionEnabled?: boolean;
645
708
  CreatedTimestamp?: Date;
646
709
  UpdatedTimestamp?: Date;
710
+ KmsKeyId?: string;
647
711
  }
648
712
  export interface GetEventSelectorsRequest {
649
713
  TrailName: string | undefined;
@@ -735,7 +799,7 @@ export declare class InsightNotEnabledException extends __BaseException {
735
799
  );
736
800
  }
737
801
  export interface GetQueryResultsRequest {
738
- EventDataStore: string | undefined;
802
+ EventDataStore?: string;
739
803
  QueryId: string | undefined;
740
804
  NextToken?: string;
741
805
  MaxQueryResults?: number;
@@ -1050,6 +1114,21 @@ export interface PutInsightSelectorsResponse {
1050
1114
  TrailARN?: string;
1051
1115
  InsightSelectors?: InsightSelector[];
1052
1116
  }
1117
+ export declare class DelegatedAdminAccountLimitExceededException extends __BaseException {
1118
+ readonly name: "DelegatedAdminAccountLimitExceededException";
1119
+ readonly $fault: "client";
1120
+ Message?: string;
1121
+ constructor(
1122
+ opts: __ExceptionOptionType<
1123
+ DelegatedAdminAccountLimitExceededException,
1124
+ __BaseException
1125
+ >
1126
+ );
1127
+ }
1128
+ export interface RegisterOrganizationDelegatedAdminRequest {
1129
+ MemberAccountId: string | undefined;
1130
+ }
1131
+ export interface RegisterOrganizationDelegatedAdminResponse {}
1053
1132
  export interface RemoveTagsRequest {
1054
1133
  ResourceId: string | undefined;
1055
1134
  TagsList: Tag[] | undefined;
@@ -1080,6 +1159,7 @@ export interface RestoreEventDataStoreResponse {
1080
1159
  TerminationProtectionEnabled?: boolean;
1081
1160
  CreatedTimestamp?: Date;
1082
1161
  UpdatedTimestamp?: Date;
1162
+ KmsKeyId?: string;
1083
1163
  }
1084
1164
  export declare class InvalidEventDataStoreCategoryException extends __BaseException {
1085
1165
  readonly name: "InvalidEventDataStoreCategoryException";
@@ -1170,6 +1250,7 @@ export interface UpdateEventDataStoreRequest {
1170
1250
  OrganizationEnabled?: boolean;
1171
1251
  RetentionPeriod?: number;
1172
1252
  TerminationProtectionEnabled?: boolean;
1253
+ KmsKeyId?: string;
1173
1254
  }
1174
1255
  export interface UpdateEventDataStoreResponse {
1175
1256
  EventDataStoreArn?: string;
@@ -1182,6 +1263,7 @@ export interface UpdateEventDataStoreResponse {
1182
1263
  TerminationProtectionEnabled?: boolean;
1183
1264
  CreatedTimestamp?: Date;
1184
1265
  UpdatedTimestamp?: Date;
1266
+ KmsKeyId?: string;
1185
1267
  }
1186
1268
  export interface UpdateTrailRequest {
1187
1269
  Name: string | undefined;
@@ -1255,6 +1337,12 @@ export declare const DeleteTrailRequestFilterSensitiveLog: (
1255
1337
  export declare const DeleteTrailResponseFilterSensitiveLog: (
1256
1338
  obj: DeleteTrailResponse
1257
1339
  ) => any;
1340
+ export declare const DeregisterOrganizationDelegatedAdminRequestFilterSensitiveLog: (
1341
+ obj: DeregisterOrganizationDelegatedAdminRequest
1342
+ ) => any;
1343
+ export declare const DeregisterOrganizationDelegatedAdminResponseFilterSensitiveLog: (
1344
+ obj: DeregisterOrganizationDelegatedAdminResponse
1345
+ ) => any;
1258
1346
  export declare const DescribeQueryRequestFilterSensitiveLog: (
1259
1347
  obj: DescribeQueryRequest
1260
1348
  ) => any;
@@ -1422,6 +1510,12 @@ export declare const PutInsightSelectorsRequestFilterSensitiveLog: (
1422
1510
  export declare const PutInsightSelectorsResponseFilterSensitiveLog: (
1423
1511
  obj: PutInsightSelectorsResponse
1424
1512
  ) => any;
1513
+ export declare const RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog: (
1514
+ obj: RegisterOrganizationDelegatedAdminRequest
1515
+ ) => any;
1516
+ export declare const RegisterOrganizationDelegatedAdminResponseFilterSensitiveLog: (
1517
+ obj: RegisterOrganizationDelegatedAdminResponse
1518
+ ) => any;
1425
1519
  export declare const RemoveTagsRequestFilterSensitiveLog: (
1426
1520
  obj: RemoveTagsRequest
1427
1521
  ) => any;
@@ -27,6 +27,10 @@ import {
27
27
  DeleteTrailCommandInput,
28
28
  DeleteTrailCommandOutput,
29
29
  } from "../commands/DeleteTrailCommand";
30
+ import {
31
+ DeregisterOrganizationDelegatedAdminCommandInput,
32
+ DeregisterOrganizationDelegatedAdminCommandOutput,
33
+ } from "../commands/DeregisterOrganizationDelegatedAdminCommand";
30
34
  import {
31
35
  DescribeQueryCommandInput,
32
36
  DescribeQueryCommandOutput,
@@ -111,6 +115,10 @@ import {
111
115
  PutInsightSelectorsCommandInput,
112
116
  PutInsightSelectorsCommandOutput,
113
117
  } from "../commands/PutInsightSelectorsCommand";
118
+ import {
119
+ RegisterOrganizationDelegatedAdminCommandInput,
120
+ RegisterOrganizationDelegatedAdminCommandOutput,
121
+ } from "../commands/RegisterOrganizationDelegatedAdminCommand";
114
122
  import {
115
123
  RemoveTagsCommandInput,
116
124
  RemoveTagsCommandOutput,
@@ -171,6 +179,10 @@ export declare const serializeAws_json1_1DeleteTrailCommand: (
171
179
  input: DeleteTrailCommandInput,
172
180
  context: __SerdeContext
173
181
  ) => Promise<__HttpRequest>;
182
+ export declare const serializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand: (
183
+ input: DeregisterOrganizationDelegatedAdminCommandInput,
184
+ context: __SerdeContext
185
+ ) => Promise<__HttpRequest>;
174
186
  export declare const serializeAws_json1_1DescribeQueryCommand: (
175
187
  input: DescribeQueryCommandInput,
176
188
  context: __SerdeContext
@@ -255,6 +267,10 @@ export declare const serializeAws_json1_1PutInsightSelectorsCommand: (
255
267
  input: PutInsightSelectorsCommandInput,
256
268
  context: __SerdeContext
257
269
  ) => Promise<__HttpRequest>;
270
+ export declare const serializeAws_json1_1RegisterOrganizationDelegatedAdminCommand: (
271
+ input: RegisterOrganizationDelegatedAdminCommandInput,
272
+ context: __SerdeContext
273
+ ) => Promise<__HttpRequest>;
258
274
  export declare const serializeAws_json1_1RemoveTagsCommand: (
259
275
  input: RemoveTagsCommandInput,
260
276
  context: __SerdeContext
@@ -315,6 +331,10 @@ export declare const deserializeAws_json1_1DeleteTrailCommand: (
315
331
  output: __HttpResponse,
316
332
  context: __SerdeContext
317
333
  ) => Promise<DeleteTrailCommandOutput>;
334
+ export declare const deserializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand: (
335
+ output: __HttpResponse,
336
+ context: __SerdeContext
337
+ ) => Promise<DeregisterOrganizationDelegatedAdminCommandOutput>;
318
338
  export declare const deserializeAws_json1_1DescribeQueryCommand: (
319
339
  output: __HttpResponse,
320
340
  context: __SerdeContext
@@ -399,6 +419,10 @@ export declare const deserializeAws_json1_1PutInsightSelectorsCommand: (
399
419
  output: __HttpResponse,
400
420
  context: __SerdeContext
401
421
  ) => Promise<PutInsightSelectorsCommandOutput>;
422
+ export declare const deserializeAws_json1_1RegisterOrganizationDelegatedAdminCommand: (
423
+ output: __HttpResponse,
424
+ context: __SerdeContext
425
+ ) => Promise<RegisterOrganizationDelegatedAdminCommandOutput>;
402
426
  export declare const deserializeAws_json1_1RemoveTagsCommand: (
403
427
  output: __HttpResponse,
404
428
  context: __SerdeContext
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
5
5
  defaultsMode: import("@aws-sdk/types").Provider<
6
6
  import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider: (
12
10
  input: any
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
33
31
  utf8Encoder: import("@aws-sdk/types").Encoder;
34
32
  apiVersion: string;
35
33
  urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
5
5
  defaultsMode: import("@aws-sdk/types").Provider<
6
6
  import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider: (
12
10
  input: any
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
33
31
  utf8Encoder: import("@aws-sdk/types").Encoder;
34
32
  apiVersion: string;
35
33
  urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
@@ -2,6 +2,8 @@ import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { CloudTrailClientConfig } from "./CloudTrailClient";
3
3
  export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
4
4
  apiVersion: string;
5
+ base64Decoder: import("@aws-sdk/types").Decoder;
6
+ base64Encoder: import("@aws-sdk/types").Encoder;
5
7
  disableHostPrefix: boolean;
6
8
  endpointProvider: (
7
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudtrail",
3
3
  "description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
4
- "version": "3.202.0",
4
+ "version": "3.205.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,10 +19,10 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.202.0",
22
+ "@aws-sdk/client-sts": "3.204.0",
23
23
  "@aws-sdk/config-resolver": "3.201.0",
24
- "@aws-sdk/credential-provider-node": "3.202.0",
25
- "@aws-sdk/fetch-http-handler": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.204.0",
25
+ "@aws-sdk/fetch-http-handler": "3.204.0",
26
26
  "@aws-sdk/hash-node": "3.201.0",
27
27
  "@aws-sdk/invalid-dependency": "3.201.0",
28
28
  "@aws-sdk/middleware-content-length": "3.201.0",
@@ -41,6 +41,7 @@
41
41
  "@aws-sdk/smithy-client": "3.201.0",
42
42
  "@aws-sdk/types": "3.201.0",
43
43
  "@aws-sdk/url-parser": "3.201.0",
44
+ "@aws-sdk/util-base64": "3.202.0",
44
45
  "@aws-sdk/util-base64-browser": "3.188.0",
45
46
  "@aws-sdk/util-base64-node": "3.201.0",
46
47
  "@aws-sdk/util-body-length-browser": "3.188.0",