@aws-sdk/client-cloudtrail 3.817.0 → 3.820.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.
@@ -3118,6 +3118,93 @@ export interface GetDashboardResponse {
3118
3118
  */
3119
3119
  TerminationProtectionEnabled?: boolean | undefined;
3120
3120
  }
3121
+ /**
3122
+ * @public
3123
+ */
3124
+ export interface GetEventConfigurationRequest {
3125
+ /**
3126
+ * <p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to retrieve event configuration settings.</p>
3127
+ * @public
3128
+ */
3129
+ EventDataStore?: string | undefined;
3130
+ }
3131
+ /**
3132
+ * @public
3133
+ * @enum
3134
+ */
3135
+ export declare const Type: {
3136
+ readonly RequestContext: "RequestContext";
3137
+ readonly TagContext: "TagContext";
3138
+ };
3139
+ /**
3140
+ * @public
3141
+ */
3142
+ export type Type = (typeof Type)[keyof typeof Type];
3143
+ /**
3144
+ * <p>An object that contains information types to be included in CloudTrail enriched events.</p>
3145
+ * @public
3146
+ */
3147
+ export interface ContextKeySelector {
3148
+ /**
3149
+ * <p>Specifies the type of the event record field in ContextKeySelector. Valid values include RequestContext, TagContext.</p>
3150
+ * @public
3151
+ */
3152
+ Type: Type | undefined;
3153
+ /**
3154
+ * <p>A list of keys defined by Type to be included in CloudTrail enriched events. </p>
3155
+ * @public
3156
+ */
3157
+ Equals: string[] | undefined;
3158
+ }
3159
+ /**
3160
+ * @public
3161
+ * @enum
3162
+ */
3163
+ export declare const MaxEventSize: {
3164
+ readonly Large: "Large";
3165
+ readonly Standard: "Standard";
3166
+ };
3167
+ /**
3168
+ * @public
3169
+ */
3170
+ export type MaxEventSize = (typeof MaxEventSize)[keyof typeof MaxEventSize];
3171
+ /**
3172
+ * @public
3173
+ */
3174
+ export interface GetEventConfigurationResponse {
3175
+ /**
3176
+ * <p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which the event configuration settings are returned.</p>
3177
+ * @public
3178
+ */
3179
+ EventDataStoreArn?: string | undefined;
3180
+ /**
3181
+ * <p>The maximum allowed size for events stored in the specified event data store.</p>
3182
+ * @public
3183
+ */
3184
+ MaxEventSize?: MaxEventSize | undefined;
3185
+ /**
3186
+ * <p>The list of context key selectors that are configured for the event data store.</p>
3187
+ * @public
3188
+ */
3189
+ ContextKeySelectors?: ContextKeySelector[] | undefined;
3190
+ }
3191
+ /**
3192
+ * <p>The event data store is not in a status that supports the operation.</p>
3193
+ * @public
3194
+ */
3195
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
3196
+ readonly name: "InvalidEventDataStoreStatusException";
3197
+ readonly $fault: "client";
3198
+ /**
3199
+ * <p>Brief description of the exception returned by the request.</p>
3200
+ * @public
3201
+ */
3202
+ Message?: string | undefined;
3203
+ /**
3204
+ * @internal
3205
+ */
3206
+ constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
3207
+ }
3121
3208
  /**
3122
3209
  * @public
3123
3210
  */
@@ -5201,6 +5288,63 @@ export interface LookupEventsResponse {
5201
5288
  */
5202
5289
  NextToken?: string | undefined;
5203
5290
  }
5291
+ /**
5292
+ * <p>The task can't be completed because you are signed in with an account that lacks permissions to view or create a service-linked role. Sign in with an account that has the required permissions and then try again.</p>
5293
+ * @public
5294
+ */
5295
+ export declare class InsufficientIAMAccessPermissionException extends __BaseException {
5296
+ readonly name: "InsufficientIAMAccessPermissionException";
5297
+ readonly $fault: "client";
5298
+ /**
5299
+ * <p>Brief description of the exception returned by the request.</p>
5300
+ * @public
5301
+ */
5302
+ Message?: string | undefined;
5303
+ /**
5304
+ * @internal
5305
+ */
5306
+ constructor(opts: __ExceptionOptionType<InsufficientIAMAccessPermissionException, __BaseException>);
5307
+ }
5308
+ /**
5309
+ * @public
5310
+ */
5311
+ export interface PutEventConfigurationRequest {
5312
+ /**
5313
+ * <p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to update event configuration settings.</p>
5314
+ * @public
5315
+ */
5316
+ EventDataStore?: string | undefined;
5317
+ /**
5318
+ * <p>The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.</p>
5319
+ * @public
5320
+ */
5321
+ MaxEventSize: MaxEventSize | undefined;
5322
+ /**
5323
+ * <p>A list of context key selectors that will be included to provide enriched event data.</p>
5324
+ * @public
5325
+ */
5326
+ ContextKeySelectors: ContextKeySelector[] | undefined;
5327
+ }
5328
+ /**
5329
+ * @public
5330
+ */
5331
+ export interface PutEventConfigurationResponse {
5332
+ /**
5333
+ * <p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which the event configuration settings were updated.</p>
5334
+ * @public
5335
+ */
5336
+ EventDataStoreArn?: string | undefined;
5337
+ /**
5338
+ * <p>The maximum allowed size for events stored in the specified event data store.</p>
5339
+ * @public
5340
+ */
5341
+ MaxEventSize?: MaxEventSize | undefined;
5342
+ /**
5343
+ * <p>The list of context key selectors that are configured for the event data store.</p>
5344
+ * @public
5345
+ */
5346
+ ContextKeySelectors?: ContextKeySelector[] | undefined;
5347
+ }
5204
5348
  /**
5205
5349
  * @public
5206
5350
  */
@@ -5555,23 +5699,6 @@ export interface RemoveTagsRequest {
5555
5699
  */
5556
5700
  export interface RemoveTagsResponse {
5557
5701
  }
5558
- /**
5559
- * <p>The event data store is not in a status that supports the operation.</p>
5560
- * @public
5561
- */
5562
- export declare class InvalidEventDataStoreStatusException extends __BaseException {
5563
- readonly name: "InvalidEventDataStoreStatusException";
5564
- readonly $fault: "client";
5565
- /**
5566
- * <p>Brief description of the exception returned by the request.</p>
5567
- * @public
5568
- */
5569
- Message?: string | undefined;
5570
- /**
5571
- * @internal
5572
- */
5573
- constructor(opts: __ExceptionOptionType<InvalidEventDataStoreStatusException, __BaseException>);
5574
- }
5575
5702
  /**
5576
5703
  * @public
5577
5704
  */
@@ -19,6 +19,7 @@ import { EnableFederationCommandInput, EnableFederationCommandOutput } from "../
19
19
  import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "../commands/GenerateQueryCommand";
20
20
  import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
21
21
  import { GetDashboardCommandInput, GetDashboardCommandOutput } from "../commands/GetDashboardCommand";
22
+ import { GetEventConfigurationCommandInput, GetEventConfigurationCommandOutput } from "../commands/GetEventConfigurationCommand";
22
23
  import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
23
24
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
24
25
  import { GetImportCommandInput, GetImportCommandOutput } from "../commands/GetImportCommand";
@@ -38,6 +39,7 @@ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "../commands/L
38
39
  import { ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand";
39
40
  import { ListTrailsCommandInput, ListTrailsCommandOutput } from "../commands/ListTrailsCommand";
40
41
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "../commands/LookupEventsCommand";
42
+ import { PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput } from "../commands/PutEventConfigurationCommand";
41
43
  import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "../commands/PutEventSelectorsCommand";
42
44
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "../commands/PutInsightSelectorsCommand";
43
45
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
@@ -133,6 +135,10 @@ export declare const se_GetChannelCommand: (input: GetChannelCommandInput, conte
133
135
  * serializeAws_json1_1GetDashboardCommand
134
136
  */
135
137
  export declare const se_GetDashboardCommand: (input: GetDashboardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
+ /**
139
+ * serializeAws_json1_1GetEventConfigurationCommand
140
+ */
141
+ export declare const se_GetEventConfigurationCommand: (input: GetEventConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
136
142
  /**
137
143
  * serializeAws_json1_1GetEventDataStoreCommand
138
144
  */
@@ -209,6 +215,10 @@ export declare const se_ListTrailsCommand: (input: ListTrailsCommandInput, conte
209
215
  * serializeAws_json1_1LookupEventsCommand
210
216
  */
211
217
  export declare const se_LookupEventsCommand: (input: LookupEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
+ /**
219
+ * serializeAws_json1_1PutEventConfigurationCommand
220
+ */
221
+ export declare const se_PutEventConfigurationCommand: (input: PutEventConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
212
222
  /**
213
223
  * serializeAws_json1_1PutEventSelectorsCommand
214
224
  */
@@ -361,6 +371,10 @@ export declare const de_GetChannelCommand: (output: __HttpResponse, context: __S
361
371
  * deserializeAws_json1_1GetDashboardCommand
362
372
  */
363
373
  export declare const de_GetDashboardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDashboardCommandOutput>;
374
+ /**
375
+ * deserializeAws_json1_1GetEventConfigurationCommand
376
+ */
377
+ export declare const de_GetEventConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventConfigurationCommandOutput>;
364
378
  /**
365
379
  * deserializeAws_json1_1GetEventDataStoreCommand
366
380
  */
@@ -437,6 +451,10 @@ export declare const de_ListTrailsCommand: (output: __HttpResponse, context: __S
437
451
  * deserializeAws_json1_1LookupEventsCommand
438
452
  */
439
453
  export declare const de_LookupEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LookupEventsCommandOutput>;
454
+ /**
455
+ * deserializeAws_json1_1PutEventConfigurationCommand
456
+ */
457
+ export declare const de_PutEventConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutEventConfigurationCommandOutput>;
440
458
  /**
441
459
  * deserializeAws_json1_1PutEventSelectorsCommand
442
460
  */
@@ -76,6 +76,10 @@ import {
76
76
  GetDashboardCommandInput,
77
77
  GetDashboardCommandOutput,
78
78
  } from "./commands/GetDashboardCommand";
79
+ import {
80
+ GetEventConfigurationCommandInput,
81
+ GetEventConfigurationCommandOutput,
82
+ } from "./commands/GetEventConfigurationCommand";
79
83
  import {
80
84
  GetEventDataStoreCommandInput,
81
85
  GetEventDataStoreCommandOutput,
@@ -152,6 +156,10 @@ import {
152
156
  LookupEventsCommandInput,
153
157
  LookupEventsCommandOutput,
154
158
  } from "./commands/LookupEventsCommand";
159
+ import {
160
+ PutEventConfigurationCommandInput,
161
+ PutEventConfigurationCommandOutput,
162
+ } from "./commands/PutEventConfigurationCommand";
155
163
  import {
156
164
  PutEventSelectorsCommandInput,
157
165
  PutEventSelectorsCommandOutput,
@@ -484,6 +492,20 @@ export interface CloudTrail {
484
492
  options: __HttpHandlerOptions,
485
493
  cb: (err: any, data?: GetDashboardCommandOutput) => void
486
494
  ): void;
495
+ getEventConfiguration(): Promise<GetEventConfigurationCommandOutput>;
496
+ getEventConfiguration(
497
+ args: GetEventConfigurationCommandInput,
498
+ options?: __HttpHandlerOptions
499
+ ): Promise<GetEventConfigurationCommandOutput>;
500
+ getEventConfiguration(
501
+ args: GetEventConfigurationCommandInput,
502
+ cb: (err: any, data?: GetEventConfigurationCommandOutput) => void
503
+ ): void;
504
+ getEventConfiguration(
505
+ args: GetEventConfigurationCommandInput,
506
+ options: __HttpHandlerOptions,
507
+ cb: (err: any, data?: GetEventConfigurationCommandOutput) => void
508
+ ): void;
487
509
  getEventDataStore(
488
510
  args: GetEventDataStoreCommandInput,
489
511
  options?: __HttpHandlerOptions
@@ -739,6 +761,19 @@ export interface CloudTrail {
739
761
  options: __HttpHandlerOptions,
740
762
  cb: (err: any, data?: LookupEventsCommandOutput) => void
741
763
  ): void;
764
+ putEventConfiguration(
765
+ args: PutEventConfigurationCommandInput,
766
+ options?: __HttpHandlerOptions
767
+ ): Promise<PutEventConfigurationCommandOutput>;
768
+ putEventConfiguration(
769
+ args: PutEventConfigurationCommandInput,
770
+ cb: (err: any, data?: PutEventConfigurationCommandOutput) => void
771
+ ): void;
772
+ putEventConfiguration(
773
+ args: PutEventConfigurationCommandInput,
774
+ options: __HttpHandlerOptions,
775
+ cb: (err: any, data?: PutEventConfigurationCommandOutput) => void
776
+ ): void;
742
777
  putEventSelectors(
743
778
  args: PutEventSelectorsCommandInput,
744
779
  options?: __HttpHandlerOptions
@@ -121,6 +121,10 @@ import {
121
121
  GetDashboardCommandInput,
122
122
  GetDashboardCommandOutput,
123
123
  } from "./commands/GetDashboardCommand";
124
+ import {
125
+ GetEventConfigurationCommandInput,
126
+ GetEventConfigurationCommandOutput,
127
+ } from "./commands/GetEventConfigurationCommand";
124
128
  import {
125
129
  GetEventDataStoreCommandInput,
126
130
  GetEventDataStoreCommandOutput,
@@ -197,6 +201,10 @@ import {
197
201
  LookupEventsCommandInput,
198
202
  LookupEventsCommandOutput,
199
203
  } from "./commands/LookupEventsCommand";
204
+ import {
205
+ PutEventConfigurationCommandInput,
206
+ PutEventConfigurationCommandOutput,
207
+ } from "./commands/PutEventConfigurationCommand";
200
208
  import {
201
209
  PutEventSelectorsCommandInput,
202
210
  PutEventSelectorsCommandOutput,
@@ -300,6 +308,7 @@ export type ServiceInputTypes =
300
308
  | GenerateQueryCommandInput
301
309
  | GetChannelCommandInput
302
310
  | GetDashboardCommandInput
311
+ | GetEventConfigurationCommandInput
303
312
  | GetEventDataStoreCommandInput
304
313
  | GetEventSelectorsCommandInput
305
314
  | GetImportCommandInput
@@ -319,6 +328,7 @@ export type ServiceInputTypes =
319
328
  | ListTagsCommandInput
320
329
  | ListTrailsCommandInput
321
330
  | LookupEventsCommandInput
331
+ | PutEventConfigurationCommandInput
322
332
  | PutEventSelectorsCommandInput
323
333
  | PutInsightSelectorsCommandInput
324
334
  | PutResourcePolicyCommandInput
@@ -358,6 +368,7 @@ export type ServiceOutputTypes =
358
368
  | GenerateQueryCommandOutput
359
369
  | GetChannelCommandOutput
360
370
  | GetDashboardCommandOutput
371
+ | GetEventConfigurationCommandOutput
361
372
  | GetEventDataStoreCommandOutput
362
373
  | GetEventSelectorsCommandOutput
363
374
  | GetImportCommandOutput
@@ -377,6 +388,7 @@ export type ServiceOutputTypes =
377
388
  | ListTagsCommandOutput
378
389
  | ListTrailsCommandOutput
379
390
  | LookupEventsCommandOutput
391
+ | PutEventConfigurationCommandOutput
380
392
  | PutEventSelectorsCommandOutput
381
393
  | PutInsightSelectorsCommandOutput
382
394
  | PutResourcePolicyCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudTrailClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudTrailClient";
8
+ import {
9
+ GetEventConfigurationRequest,
10
+ GetEventConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetEventConfigurationCommandInput
15
+ extends GetEventConfigurationRequest {}
16
+ export interface GetEventConfigurationCommandOutput
17
+ extends GetEventConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const GetEventConfigurationCommand_base: {
20
+ new (
21
+ input: GetEventConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetEventConfigurationCommandInput,
24
+ GetEventConfigurationCommandOutput,
25
+ CloudTrailClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [GetEventConfigurationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetEventConfigurationCommandInput,
33
+ GetEventConfigurationCommandOutput,
34
+ CloudTrailClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetEventConfigurationCommand extends GetEventConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetEventConfigurationRequest;
44
+ output: GetEventConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: GetEventConfigurationCommandInput;
48
+ output: GetEventConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudTrailClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudTrailClient";
8
+ import {
9
+ PutEventConfigurationRequest,
10
+ PutEventConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface PutEventConfigurationCommandInput
15
+ extends PutEventConfigurationRequest {}
16
+ export interface PutEventConfigurationCommandOutput
17
+ extends PutEventConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const PutEventConfigurationCommand_base: {
20
+ new (
21
+ input: PutEventConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ PutEventConfigurationCommandInput,
24
+ PutEventConfigurationCommandOutput,
25
+ CloudTrailClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: PutEventConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ PutEventConfigurationCommandInput,
33
+ PutEventConfigurationCommandOutput,
34
+ CloudTrailClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class PutEventConfigurationCommand extends PutEventConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: PutEventConfigurationRequest;
44
+ output: PutEventConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: PutEventConfigurationCommandInput;
48
+ output: PutEventConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -17,6 +17,7 @@ export * from "./EnableFederationCommand";
17
17
  export * from "./GenerateQueryCommand";
18
18
  export * from "./GetChannelCommand";
19
19
  export * from "./GetDashboardCommand";
20
+ export * from "./GetEventConfigurationCommand";
20
21
  export * from "./GetEventDataStoreCommand";
21
22
  export * from "./GetEventSelectorsCommand";
22
23
  export * from "./GetImportCommand";
@@ -36,6 +37,7 @@ export * from "./ListQueriesCommand";
36
37
  export * from "./ListTagsCommand";
37
38
  export * from "./ListTrailsCommand";
38
39
  export * from "./LookupEventsCommand";
40
+ export * from "./PutEventConfigurationCommand";
39
41
  export * from "./PutEventSelectorsCommand";
40
42
  export * from "./PutInsightSelectorsCommand";
41
43
  export * from "./PutResourcePolicyCommand";
@@ -996,6 +996,39 @@ export interface GetDashboardResponse {
996
996
  LastRefreshFailureReason?: string | undefined;
997
997
  TerminationProtectionEnabled?: boolean | undefined;
998
998
  }
999
+ export interface GetEventConfigurationRequest {
1000
+ EventDataStore?: string | undefined;
1001
+ }
1002
+ export declare const Type: {
1003
+ readonly RequestContext: "RequestContext";
1004
+ readonly TagContext: "TagContext";
1005
+ };
1006
+ export type Type = (typeof Type)[keyof typeof Type];
1007
+ export interface ContextKeySelector {
1008
+ Type: Type | undefined;
1009
+ Equals: string[] | undefined;
1010
+ }
1011
+ export declare const MaxEventSize: {
1012
+ readonly Large: "Large";
1013
+ readonly Standard: "Standard";
1014
+ };
1015
+ export type MaxEventSize = (typeof MaxEventSize)[keyof typeof MaxEventSize];
1016
+ export interface GetEventConfigurationResponse {
1017
+ EventDataStoreArn?: string | undefined;
1018
+ MaxEventSize?: MaxEventSize | undefined;
1019
+ ContextKeySelectors?: ContextKeySelector[] | undefined;
1020
+ }
1021
+ export declare class InvalidEventDataStoreStatusException extends __BaseException {
1022
+ readonly name: "InvalidEventDataStoreStatusException";
1023
+ readonly $fault: "client";
1024
+ Message?: string | undefined;
1025
+ constructor(
1026
+ opts: __ExceptionOptionType<
1027
+ InvalidEventDataStoreStatusException,
1028
+ __BaseException
1029
+ >
1030
+ );
1031
+ }
999
1032
  export interface GetEventDataStoreRequest {
1000
1033
  EventDataStore: string | undefined;
1001
1034
  }
@@ -1449,6 +1482,27 @@ export interface LookupEventsResponse {
1449
1482
  Events?: Event[] | undefined;
1450
1483
  NextToken?: string | undefined;
1451
1484
  }
1485
+ export declare class InsufficientIAMAccessPermissionException extends __BaseException {
1486
+ readonly name: "InsufficientIAMAccessPermissionException";
1487
+ readonly $fault: "client";
1488
+ Message?: string | undefined;
1489
+ constructor(
1490
+ opts: __ExceptionOptionType<
1491
+ InsufficientIAMAccessPermissionException,
1492
+ __BaseException
1493
+ >
1494
+ );
1495
+ }
1496
+ export interface PutEventConfigurationRequest {
1497
+ EventDataStore?: string | undefined;
1498
+ MaxEventSize: MaxEventSize | undefined;
1499
+ ContextKeySelectors: ContextKeySelector[] | undefined;
1500
+ }
1501
+ export interface PutEventConfigurationResponse {
1502
+ EventDataStoreArn?: string | undefined;
1503
+ MaxEventSize?: MaxEventSize | undefined;
1504
+ ContextKeySelectors?: ContextKeySelector[] | undefined;
1505
+ }
1452
1506
  export interface PutEventSelectorsRequest {
1453
1507
  TrailName: string | undefined;
1454
1508
  EventSelectors?: EventSelector[] | undefined;
@@ -1522,17 +1576,6 @@ export interface RemoveTagsRequest {
1522
1576
  TagsList: Tag[] | undefined;
1523
1577
  }
1524
1578
  export interface RemoveTagsResponse {}
1525
- export declare class InvalidEventDataStoreStatusException extends __BaseException {
1526
- readonly name: "InvalidEventDataStoreStatusException";
1527
- readonly $fault: "client";
1528
- Message?: string | undefined;
1529
- constructor(
1530
- opts: __ExceptionOptionType<
1531
- InvalidEventDataStoreStatusException,
1532
- __BaseException
1533
- >
1534
- );
1535
- }
1536
1579
  export interface RestoreEventDataStoreRequest {
1537
1580
  EventDataStore: string | undefined;
1538
1581
  }
@@ -79,6 +79,10 @@ import {
79
79
  GetDashboardCommandInput,
80
80
  GetDashboardCommandOutput,
81
81
  } from "../commands/GetDashboardCommand";
82
+ import {
83
+ GetEventConfigurationCommandInput,
84
+ GetEventConfigurationCommandOutput,
85
+ } from "../commands/GetEventConfigurationCommand";
82
86
  import {
83
87
  GetEventDataStoreCommandInput,
84
88
  GetEventDataStoreCommandOutput,
@@ -155,6 +159,10 @@ import {
155
159
  LookupEventsCommandInput,
156
160
  LookupEventsCommandOutput,
157
161
  } from "../commands/LookupEventsCommand";
162
+ import {
163
+ PutEventConfigurationCommandInput,
164
+ PutEventConfigurationCommandOutput,
165
+ } from "../commands/PutEventConfigurationCommand";
158
166
  import {
159
167
  PutEventSelectorsCommandInput,
160
168
  PutEventSelectorsCommandOutput,
@@ -307,6 +315,10 @@ export declare const se_GetDashboardCommand: (
307
315
  input: GetDashboardCommandInput,
308
316
  context: __SerdeContext
309
317
  ) => Promise<__HttpRequest>;
318
+ export declare const se_GetEventConfigurationCommand: (
319
+ input: GetEventConfigurationCommandInput,
320
+ context: __SerdeContext
321
+ ) => Promise<__HttpRequest>;
310
322
  export declare const se_GetEventDataStoreCommand: (
311
323
  input: GetEventDataStoreCommandInput,
312
324
  context: __SerdeContext
@@ -383,6 +395,10 @@ export declare const se_LookupEventsCommand: (
383
395
  input: LookupEventsCommandInput,
384
396
  context: __SerdeContext
385
397
  ) => Promise<__HttpRequest>;
398
+ export declare const se_PutEventConfigurationCommand: (
399
+ input: PutEventConfigurationCommandInput,
400
+ context: __SerdeContext
401
+ ) => Promise<__HttpRequest>;
386
402
  export declare const se_PutEventSelectorsCommand: (
387
403
  input: PutEventSelectorsCommandInput,
388
404
  context: __SerdeContext
@@ -535,6 +551,10 @@ export declare const de_GetDashboardCommand: (
535
551
  output: __HttpResponse,
536
552
  context: __SerdeContext
537
553
  ) => Promise<GetDashboardCommandOutput>;
554
+ export declare const de_GetEventConfigurationCommand: (
555
+ output: __HttpResponse,
556
+ context: __SerdeContext
557
+ ) => Promise<GetEventConfigurationCommandOutput>;
538
558
  export declare const de_GetEventDataStoreCommand: (
539
559
  output: __HttpResponse,
540
560
  context: __SerdeContext
@@ -611,6 +631,10 @@ export declare const de_LookupEventsCommand: (
611
631
  output: __HttpResponse,
612
632
  context: __SerdeContext
613
633
  ) => Promise<LookupEventsCommandOutput>;
634
+ export declare const de_PutEventConfigurationCommand: (
635
+ output: __HttpResponse,
636
+ context: __SerdeContext
637
+ ) => Promise<PutEventConfigurationCommandOutput>;
614
638
  export declare const de_PutEventSelectorsCommand: (
615
639
  output: __HttpResponse,
616
640
  context: __SerdeContext
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.817.0",
4
+ "version": "3.820.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudtrail",