@aws-sdk/client-cloudtrail 3.261.0 → 3.264.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 (79) hide show
  1. package/README.md +13 -12
  2. package/dist-cjs/CloudTrail.js +90 -0
  3. package/dist-cjs/commands/CreateChannelCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteChannelCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
  6. package/dist-cjs/commands/GetResourcePolicyCommand.js +46 -0
  7. package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
  8. package/dist-cjs/commands/UpdateChannelCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +1 -1
  11. package/dist-cjs/models/models_0.js +181 -30
  12. package/dist-cjs/protocols/Aws_json1_1.js +602 -2
  13. package/dist-es/CloudTrail.js +90 -0
  14. package/dist-es/commands/CreateChannelCommand.js +42 -0
  15. package/dist-es/commands/DeleteChannelCommand.js +42 -0
  16. package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
  17. package/dist-es/commands/GetResourcePolicyCommand.js +42 -0
  18. package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
  19. package/dist-es/commands/UpdateChannelCommand.js +42 -0
  20. package/dist-es/commands/index.js +6 -0
  21. package/dist-es/endpoint/ruleset.js +1 -1
  22. package/dist-es/models/models_0.js +152 -22
  23. package/dist-es/protocols/Aws_json1_1.js +589 -1
  24. package/dist-types/CloudTrail.d.ts +238 -164
  25. package/dist-types/CloudTrailClient.d.ts +21 -14
  26. package/dist-types/commands/AddTagsCommand.d.ts +7 -9
  27. package/dist-types/commands/CancelQueryCommand.d.ts +6 -3
  28. package/dist-types/commands/CreateChannelCommand.d.ts +39 -0
  29. package/dist-types/commands/DeleteChannelCommand.d.ts +37 -0
  30. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +10 -7
  31. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +39 -0
  32. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeQueryCommand.d.ts +3 -2
  34. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -1
  35. package/dist-types/commands/GetChannelCommand.d.ts +1 -3
  36. package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -1
  37. package/dist-types/commands/GetEventSelectorsCommand.d.ts +10 -11
  38. package/dist-types/commands/GetImportCommand.d.ts +1 -3
  39. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +6 -6
  40. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -2
  41. package/dist-types/commands/GetResourcePolicyCommand.d.ts +39 -0
  42. package/dist-types/commands/GetTrailStatusCommand.d.ts +5 -1
  43. package/dist-types/commands/ListChannelsCommand.d.ts +1 -3
  44. package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -1
  45. package/dist-types/commands/ListImportFailuresCommand.d.ts +1 -3
  46. package/dist-types/commands/ListImportsCommand.d.ts +2 -3
  47. package/dist-types/commands/ListPublicKeysCommand.d.ts +7 -4
  48. package/dist-types/commands/ListQueriesCommand.d.ts +7 -5
  49. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  50. package/dist-types/commands/LookupEventsCommand.d.ts +5 -5
  51. package/dist-types/commands/PutEventSelectorsCommand.d.ts +28 -31
  52. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +5 -4
  53. package/dist-types/commands/PutResourcePolicyCommand.d.ts +41 -0
  54. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +2 -1
  55. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  56. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +4 -3
  57. package/dist-types/commands/StartImportCommand.d.ts +17 -13
  58. package/dist-types/commands/StartLoggingCommand.d.ts +4 -1
  59. package/dist-types/commands/StartQueryCommand.d.ts +3 -1
  60. package/dist-types/commands/StopImportCommand.d.ts +1 -3
  61. package/dist-types/commands/StopLoggingCommand.d.ts +7 -7
  62. package/dist-types/commands/UpdateChannelCommand.d.ts +37 -0
  63. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -6
  64. package/dist-types/commands/UpdateTrailCommand.d.ts +6 -6
  65. package/dist-types/commands/index.d.ts +6 -0
  66. package/dist-types/models/models_0.d.ts +1428 -835
  67. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  68. package/dist-types/ts3.4/CloudTrail.d.ts +102 -0
  69. package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
  70. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +37 -0
  71. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +37 -0
  72. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
  73. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
  74. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  75. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +37 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +181 -22
  78. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  79. package/package.json +4 -4
@@ -1,8 +1,11 @@
1
1
  export * from "./AddTagsCommand";
2
2
  export * from "./CancelQueryCommand";
3
+ export * from "./CreateChannelCommand";
3
4
  export * from "./CreateEventDataStoreCommand";
4
5
  export * from "./CreateTrailCommand";
6
+ export * from "./DeleteChannelCommand";
5
7
  export * from "./DeleteEventDataStoreCommand";
8
+ export * from "./DeleteResourcePolicyCommand";
6
9
  export * from "./DeleteTrailCommand";
7
10
  export * from "./DeregisterOrganizationDelegatedAdminCommand";
8
11
  export * from "./DescribeQueryCommand";
@@ -13,6 +16,7 @@ export * from "./GetEventSelectorsCommand";
13
16
  export * from "./GetImportCommand";
14
17
  export * from "./GetInsightSelectorsCommand";
15
18
  export * from "./GetQueryResultsCommand";
19
+ export * from "./GetResourcePolicyCommand";
16
20
  export * from "./GetTrailCommand";
17
21
  export * from "./GetTrailStatusCommand";
18
22
  export * from "./ListChannelsCommand";
@@ -26,6 +30,7 @@ export * from "./ListTrailsCommand";
26
30
  export * from "./LookupEventsCommand";
27
31
  export * from "./PutEventSelectorsCommand";
28
32
  export * from "./PutInsightSelectorsCommand";
33
+ export * from "./PutResourcePolicyCommand";
29
34
  export * from "./RegisterOrganizationDelegatedAdminCommand";
30
35
  export * from "./RemoveTagsCommand";
31
36
  export * from "./RestoreEventDataStoreCommand";
@@ -34,5 +39,6 @@ export * from "./StartLoggingCommand";
34
39
  export * from "./StartQueryCommand";
35
40
  export * from "./StopImportCommand";
36
41
  export * from "./StopLoggingCommand";
42
+ export * from "./UpdateChannelCommand";
37
43
  export * from "./UpdateEventDataStoreCommand";
38
44
  export * from "./UpdateTrailCommand";
@@ -44,6 +44,14 @@ export interface AddTagsRequest {
44
44
  TagsList: Tag[] | undefined;
45
45
  }
46
46
  export interface AddTagsResponse {}
47
+ export declare class ChannelNotFoundException extends __BaseException {
48
+ readonly name: "ChannelNotFoundException";
49
+ readonly $fault: "client";
50
+ Message?: string;
51
+ constructor(
52
+ opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>
53
+ );
54
+ }
47
55
  export declare class CloudTrailARNInvalidException extends __BaseException {
48
56
  readonly name: "CloudTrailARNInvalidException";
49
57
  readonly $fault: "client";
@@ -240,6 +248,14 @@ export interface Channel {
240
248
  ChannelArn?: string;
241
249
  Name?: string;
242
250
  }
251
+ export declare class ChannelAlreadyExistsException extends __BaseException {
252
+ readonly name: "ChannelAlreadyExistsException";
253
+ readonly $fault: "client";
254
+ Message?: string;
255
+ constructor(
256
+ opts: __ExceptionOptionType<ChannelAlreadyExistsException, __BaseException>
257
+ );
258
+ }
243
259
  export declare class ChannelARNInvalidException extends __BaseException {
244
260
  readonly name: "ChannelARNInvalidException";
245
261
  readonly $fault: "client";
@@ -248,12 +264,63 @@ export declare class ChannelARNInvalidException extends __BaseException {
248
264
  opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>
249
265
  );
250
266
  }
251
- export declare class ChannelNotFoundException extends __BaseException {
252
- readonly name: "ChannelNotFoundException";
267
+ export declare class ChannelExistsForEDSException extends __BaseException {
268
+ readonly name: "ChannelExistsForEDSException";
253
269
  readonly $fault: "client";
254
270
  Message?: string;
255
271
  constructor(
256
- opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>
272
+ opts: __ExceptionOptionType<ChannelExistsForEDSException, __BaseException>
273
+ );
274
+ }
275
+ export declare class ChannelMaxLimitExceededException extends __BaseException {
276
+ readonly name: "ChannelMaxLimitExceededException";
277
+ readonly $fault: "client";
278
+ Message?: string;
279
+ constructor(
280
+ opts: __ExceptionOptionType<
281
+ ChannelMaxLimitExceededException,
282
+ __BaseException
283
+ >
284
+ );
285
+ }
286
+ export declare enum DestinationType {
287
+ AWS_SERVICE = "AWS_SERVICE",
288
+ EVENT_DATA_STORE = "EVENT_DATA_STORE",
289
+ }
290
+ export interface Destination {
291
+ Type: DestinationType | string | undefined;
292
+ Location: string | undefined;
293
+ }
294
+ export interface CreateChannelRequest {
295
+ Name: string | undefined;
296
+ Source: string | undefined;
297
+ Destinations: Destination[] | undefined;
298
+ Tags?: Tag[];
299
+ }
300
+ export interface CreateChannelResponse {
301
+ ChannelArn?: string;
302
+ Name?: string;
303
+ Source?: string;
304
+ Destinations?: Destination[];
305
+ Tags?: Tag[];
306
+ }
307
+ export declare class InvalidEventDataStoreCategoryException extends __BaseException {
308
+ readonly name: "InvalidEventDataStoreCategoryException";
309
+ readonly $fault: "client";
310
+ Message?: string;
311
+ constructor(
312
+ opts: __ExceptionOptionType<
313
+ InvalidEventDataStoreCategoryException,
314
+ __BaseException
315
+ >
316
+ );
317
+ }
318
+ export declare class InvalidSourceException extends __BaseException {
319
+ readonly name: "InvalidSourceException";
320
+ readonly $fault: "client";
321
+ Message?: string;
322
+ constructor(
323
+ opts: __ExceptionOptionType<InvalidSourceException, __BaseException>
257
324
  );
258
325
  }
259
326
  export declare class CloudTrailAccessNotEnabledException extends __BaseException {
@@ -562,6 +629,10 @@ export declare class TrailNotProvidedException extends __BaseException {
562
629
  opts: __ExceptionOptionType<TrailNotProvidedException, __BaseException>
563
630
  );
564
631
  }
632
+ export interface DeleteChannelRequest {
633
+ Channel: string | undefined;
634
+ }
635
+ export interface DeleteChannelResponse {}
565
636
  export interface DeleteEventDataStoreRequest {
566
637
  EventDataStore: string | undefined;
567
638
  }
@@ -588,6 +659,29 @@ export declare class EventDataStoreTerminationProtectedException extends __BaseE
588
659
  >
589
660
  );
590
661
  }
662
+ export interface DeleteResourcePolicyRequest {
663
+ ResourceArn: string | undefined;
664
+ }
665
+ export interface DeleteResourcePolicyResponse {}
666
+ export declare class ResourceARNNotValidException extends __BaseException {
667
+ readonly name: "ResourceARNNotValidException";
668
+ readonly $fault: "client";
669
+ Message?: string;
670
+ constructor(
671
+ opts: __ExceptionOptionType<ResourceARNNotValidException, __BaseException>
672
+ );
673
+ }
674
+ export declare class ResourcePolicyNotFoundException extends __BaseException {
675
+ readonly name: "ResourcePolicyNotFoundException";
676
+ readonly $fault: "client";
677
+ Message?: string;
678
+ constructor(
679
+ opts: __ExceptionOptionType<
680
+ ResourcePolicyNotFoundException,
681
+ __BaseException
682
+ >
683
+ );
684
+ }
591
685
  export interface DeleteTrailRequest {
592
686
  Name: string | undefined;
593
687
  }
@@ -682,13 +776,12 @@ export interface DescribeTrailsResponse {
682
776
  export interface GetChannelRequest {
683
777
  Channel: string | undefined;
684
778
  }
685
- export declare enum DestinationType {
686
- AWS_SERVICE = "AWS_SERVICE",
687
- EVENT_DATA_STORE = "EVENT_DATA_STORE",
688
- }
689
- export interface Destination {
690
- Type: DestinationType | string | undefined;
691
- Location: string | undefined;
779
+ export interface IngestionStatus {
780
+ LatestIngestionSuccessTime?: Date;
781
+ LatestIngestionSuccessEventID?: string;
782
+ LatestIngestionErrorCode?: string;
783
+ LatestIngestionAttemptTime?: Date;
784
+ LatestIngestionAttemptEventID?: string;
692
785
  }
693
786
  export interface SourceConfig {
694
787
  ApplyToAllRegions?: boolean;
@@ -700,6 +793,7 @@ export interface GetChannelResponse {
700
793
  Source?: string;
701
794
  SourceConfig?: SourceConfig;
702
795
  Destinations?: Destination[];
796
+ IngestionStatus?: IngestionStatus;
703
797
  }
704
798
  export interface GetEventDataStoreRequest {
705
799
  EventDataStore: string | undefined;
@@ -840,6 +934,13 @@ export declare class InvalidNextTokenException extends __BaseException {
840
934
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
841
935
  );
842
936
  }
937
+ export interface GetResourcePolicyRequest {
938
+ ResourceArn: string | undefined;
939
+ }
940
+ export interface GetResourcePolicyResponse {
941
+ ResourceArn?: string;
942
+ ResourcePolicy?: string;
943
+ }
843
944
  export interface GetTrailRequest {
844
945
  Name: string | undefined;
845
946
  }
@@ -1114,6 +1215,25 @@ export interface PutInsightSelectorsResponse {
1114
1215
  TrailARN?: string;
1115
1216
  InsightSelectors?: InsightSelector[];
1116
1217
  }
1218
+ export interface PutResourcePolicyRequest {
1219
+ ResourceArn: string | undefined;
1220
+ ResourcePolicy: string | undefined;
1221
+ }
1222
+ export interface PutResourcePolicyResponse {
1223
+ ResourceArn?: string;
1224
+ ResourcePolicy?: string;
1225
+ }
1226
+ export declare class ResourcePolicyNotValidException extends __BaseException {
1227
+ readonly name: "ResourcePolicyNotValidException";
1228
+ readonly $fault: "client";
1229
+ Message?: string;
1230
+ constructor(
1231
+ opts: __ExceptionOptionType<
1232
+ ResourcePolicyNotValidException,
1233
+ __BaseException
1234
+ >
1235
+ );
1236
+ }
1117
1237
  export declare class DelegatedAdminAccountLimitExceededException extends __BaseException {
1118
1238
  readonly name: "DelegatedAdminAccountLimitExceededException";
1119
1239
  readonly $fault: "client";
@@ -1161,17 +1281,6 @@ export interface RestoreEventDataStoreResponse {
1161
1281
  UpdatedTimestamp?: Date;
1162
1282
  KmsKeyId?: string;
1163
1283
  }
1164
- export declare class InvalidEventDataStoreCategoryException extends __BaseException {
1165
- readonly name: "InvalidEventDataStoreCategoryException";
1166
- readonly $fault: "client";
1167
- Message?: string;
1168
- constructor(
1169
- opts: __ExceptionOptionType<
1170
- InvalidEventDataStoreCategoryException,
1171
- __BaseException
1172
- >
1173
- );
1174
- }
1175
1284
  export declare class InvalidImportSourceException extends __BaseException {
1176
1285
  readonly name: "InvalidImportSourceException";
1177
1286
  readonly $fault: "client";
@@ -1242,6 +1351,17 @@ export interface StopLoggingRequest {
1242
1351
  Name: string | undefined;
1243
1352
  }
1244
1353
  export interface StopLoggingResponse {}
1354
+ export interface UpdateChannelRequest {
1355
+ Channel: string | undefined;
1356
+ Destinations?: Destination[];
1357
+ Name?: string;
1358
+ }
1359
+ export interface UpdateChannelResponse {
1360
+ ChannelArn?: string;
1361
+ Name?: string;
1362
+ Source?: string;
1363
+ Destinations?: Destination[];
1364
+ }
1245
1365
  export interface UpdateEventDataStoreRequest {
1246
1366
  EventDataStore: string | undefined;
1247
1367
  Name?: string;
@@ -1313,6 +1433,13 @@ export declare const CancelQueryResponseFilterSensitiveLog: (
1313
1433
  obj: CancelQueryResponse
1314
1434
  ) => any;
1315
1435
  export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
1436
+ export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
1437
+ export declare const CreateChannelRequestFilterSensitiveLog: (
1438
+ obj: CreateChannelRequest
1439
+ ) => any;
1440
+ export declare const CreateChannelResponseFilterSensitiveLog: (
1441
+ obj: CreateChannelResponse
1442
+ ) => any;
1316
1443
  export declare const CreateEventDataStoreRequestFilterSensitiveLog: (
1317
1444
  obj: CreateEventDataStoreRequest
1318
1445
  ) => any;
@@ -1325,12 +1452,24 @@ export declare const CreateTrailRequestFilterSensitiveLog: (
1325
1452
  export declare const CreateTrailResponseFilterSensitiveLog: (
1326
1453
  obj: CreateTrailResponse
1327
1454
  ) => any;
1455
+ export declare const DeleteChannelRequestFilterSensitiveLog: (
1456
+ obj: DeleteChannelRequest
1457
+ ) => any;
1458
+ export declare const DeleteChannelResponseFilterSensitiveLog: (
1459
+ obj: DeleteChannelResponse
1460
+ ) => any;
1328
1461
  export declare const DeleteEventDataStoreRequestFilterSensitiveLog: (
1329
1462
  obj: DeleteEventDataStoreRequest
1330
1463
  ) => any;
1331
1464
  export declare const DeleteEventDataStoreResponseFilterSensitiveLog: (
1332
1465
  obj: DeleteEventDataStoreResponse
1333
1466
  ) => any;
1467
+ export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (
1468
+ obj: DeleteResourcePolicyRequest
1469
+ ) => any;
1470
+ export declare const DeleteResourcePolicyResponseFilterSensitiveLog: (
1471
+ obj: DeleteResourcePolicyResponse
1472
+ ) => any;
1334
1473
  export declare const DeleteTrailRequestFilterSensitiveLog: (
1335
1474
  obj: DeleteTrailRequest
1336
1475
  ) => any;
@@ -1362,7 +1501,9 @@ export declare const DescribeTrailsResponseFilterSensitiveLog: (
1362
1501
  export declare const GetChannelRequestFilterSensitiveLog: (
1363
1502
  obj: GetChannelRequest
1364
1503
  ) => any;
1365
- export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
1504
+ export declare const IngestionStatusFilterSensitiveLog: (
1505
+ obj: IngestionStatus
1506
+ ) => any;
1366
1507
  export declare const SourceConfigFilterSensitiveLog: (obj: SourceConfig) => any;
1367
1508
  export declare const GetChannelResponseFilterSensitiveLog: (
1368
1509
  obj: GetChannelResponse
@@ -1414,6 +1555,12 @@ export declare const QueryStatisticsFilterSensitiveLog: (
1414
1555
  export declare const GetQueryResultsResponseFilterSensitiveLog: (
1415
1556
  obj: GetQueryResultsResponse
1416
1557
  ) => any;
1558
+ export declare const GetResourcePolicyRequestFilterSensitiveLog: (
1559
+ obj: GetResourcePolicyRequest
1560
+ ) => any;
1561
+ export declare const GetResourcePolicyResponseFilterSensitiveLog: (
1562
+ obj: GetResourcePolicyResponse
1563
+ ) => any;
1417
1564
  export declare const GetTrailRequestFilterSensitiveLog: (
1418
1565
  obj: GetTrailRequest
1419
1566
  ) => any;
@@ -1510,6 +1657,12 @@ export declare const PutInsightSelectorsRequestFilterSensitiveLog: (
1510
1657
  export declare const PutInsightSelectorsResponseFilterSensitiveLog: (
1511
1658
  obj: PutInsightSelectorsResponse
1512
1659
  ) => any;
1660
+ export declare const PutResourcePolicyRequestFilterSensitiveLog: (
1661
+ obj: PutResourcePolicyRequest
1662
+ ) => any;
1663
+ export declare const PutResourcePolicyResponseFilterSensitiveLog: (
1664
+ obj: PutResourcePolicyResponse
1665
+ ) => any;
1513
1666
  export declare const RegisterOrganizationDelegatedAdminRequestFilterSensitiveLog: (
1514
1667
  obj: RegisterOrganizationDelegatedAdminRequest
1515
1668
  ) => any;
@@ -1558,6 +1711,12 @@ export declare const StopLoggingRequestFilterSensitiveLog: (
1558
1711
  export declare const StopLoggingResponseFilterSensitiveLog: (
1559
1712
  obj: StopLoggingResponse
1560
1713
  ) => any;
1714
+ export declare const UpdateChannelRequestFilterSensitiveLog: (
1715
+ obj: UpdateChannelRequest
1716
+ ) => any;
1717
+ export declare const UpdateChannelResponseFilterSensitiveLog: (
1718
+ obj: UpdateChannelResponse
1719
+ ) => any;
1561
1720
  export declare const UpdateEventDataStoreRequestFilterSensitiveLog: (
1562
1721
  obj: UpdateEventDataStoreRequest
1563
1722
  ) => any;
@@ -11,6 +11,10 @@ import {
11
11
  CancelQueryCommandInput,
12
12
  CancelQueryCommandOutput,
13
13
  } from "../commands/CancelQueryCommand";
14
+ import {
15
+ CreateChannelCommandInput,
16
+ CreateChannelCommandOutput,
17
+ } from "../commands/CreateChannelCommand";
14
18
  import {
15
19
  CreateEventDataStoreCommandInput,
16
20
  CreateEventDataStoreCommandOutput,
@@ -19,10 +23,18 @@ import {
19
23
  CreateTrailCommandInput,
20
24
  CreateTrailCommandOutput,
21
25
  } from "../commands/CreateTrailCommand";
26
+ import {
27
+ DeleteChannelCommandInput,
28
+ DeleteChannelCommandOutput,
29
+ } from "../commands/DeleteChannelCommand";
22
30
  import {
23
31
  DeleteEventDataStoreCommandInput,
24
32
  DeleteEventDataStoreCommandOutput,
25
33
  } from "../commands/DeleteEventDataStoreCommand";
34
+ import {
35
+ DeleteResourcePolicyCommandInput,
36
+ DeleteResourcePolicyCommandOutput,
37
+ } from "../commands/DeleteResourcePolicyCommand";
26
38
  import {
27
39
  DeleteTrailCommandInput,
28
40
  DeleteTrailCommandOutput,
@@ -63,6 +75,10 @@ import {
63
75
  GetQueryResultsCommandInput,
64
76
  GetQueryResultsCommandOutput,
65
77
  } from "../commands/GetQueryResultsCommand";
78
+ import {
79
+ GetResourcePolicyCommandInput,
80
+ GetResourcePolicyCommandOutput,
81
+ } from "../commands/GetResourcePolicyCommand";
66
82
  import {
67
83
  GetTrailCommandInput,
68
84
  GetTrailCommandOutput,
@@ -115,6 +131,10 @@ import {
115
131
  PutInsightSelectorsCommandInput,
116
132
  PutInsightSelectorsCommandOutput,
117
133
  } from "../commands/PutInsightSelectorsCommand";
134
+ import {
135
+ PutResourcePolicyCommandInput,
136
+ PutResourcePolicyCommandOutput,
137
+ } from "../commands/PutResourcePolicyCommand";
118
138
  import {
119
139
  RegisterOrganizationDelegatedAdminCommandInput,
120
140
  RegisterOrganizationDelegatedAdminCommandOutput,
@@ -147,6 +167,10 @@ import {
147
167
  StopLoggingCommandInput,
148
168
  StopLoggingCommandOutput,
149
169
  } from "../commands/StopLoggingCommand";
170
+ import {
171
+ UpdateChannelCommandInput,
172
+ UpdateChannelCommandOutput,
173
+ } from "../commands/UpdateChannelCommand";
150
174
  import {
151
175
  UpdateEventDataStoreCommandInput,
152
176
  UpdateEventDataStoreCommandOutput,
@@ -163,6 +187,10 @@ export declare const serializeAws_json1_1CancelQueryCommand: (
163
187
  input: CancelQueryCommandInput,
164
188
  context: __SerdeContext
165
189
  ) => Promise<__HttpRequest>;
190
+ export declare const serializeAws_json1_1CreateChannelCommand: (
191
+ input: CreateChannelCommandInput,
192
+ context: __SerdeContext
193
+ ) => Promise<__HttpRequest>;
166
194
  export declare const serializeAws_json1_1CreateEventDataStoreCommand: (
167
195
  input: CreateEventDataStoreCommandInput,
168
196
  context: __SerdeContext
@@ -171,10 +199,18 @@ export declare const serializeAws_json1_1CreateTrailCommand: (
171
199
  input: CreateTrailCommandInput,
172
200
  context: __SerdeContext
173
201
  ) => Promise<__HttpRequest>;
202
+ export declare const serializeAws_json1_1DeleteChannelCommand: (
203
+ input: DeleteChannelCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
174
206
  export declare const serializeAws_json1_1DeleteEventDataStoreCommand: (
175
207
  input: DeleteEventDataStoreCommandInput,
176
208
  context: __SerdeContext
177
209
  ) => Promise<__HttpRequest>;
210
+ export declare const serializeAws_json1_1DeleteResourcePolicyCommand: (
211
+ input: DeleteResourcePolicyCommandInput,
212
+ context: __SerdeContext
213
+ ) => Promise<__HttpRequest>;
178
214
  export declare const serializeAws_json1_1DeleteTrailCommand: (
179
215
  input: DeleteTrailCommandInput,
180
216
  context: __SerdeContext
@@ -215,6 +251,10 @@ export declare const serializeAws_json1_1GetQueryResultsCommand: (
215
251
  input: GetQueryResultsCommandInput,
216
252
  context: __SerdeContext
217
253
  ) => Promise<__HttpRequest>;
254
+ export declare const serializeAws_json1_1GetResourcePolicyCommand: (
255
+ input: GetResourcePolicyCommandInput,
256
+ context: __SerdeContext
257
+ ) => Promise<__HttpRequest>;
218
258
  export declare const serializeAws_json1_1GetTrailCommand: (
219
259
  input: GetTrailCommandInput,
220
260
  context: __SerdeContext
@@ -267,6 +307,10 @@ export declare const serializeAws_json1_1PutInsightSelectorsCommand: (
267
307
  input: PutInsightSelectorsCommandInput,
268
308
  context: __SerdeContext
269
309
  ) => Promise<__HttpRequest>;
310
+ export declare const serializeAws_json1_1PutResourcePolicyCommand: (
311
+ input: PutResourcePolicyCommandInput,
312
+ context: __SerdeContext
313
+ ) => Promise<__HttpRequest>;
270
314
  export declare const serializeAws_json1_1RegisterOrganizationDelegatedAdminCommand: (
271
315
  input: RegisterOrganizationDelegatedAdminCommandInput,
272
316
  context: __SerdeContext
@@ -299,6 +343,10 @@ export declare const serializeAws_json1_1StopLoggingCommand: (
299
343
  input: StopLoggingCommandInput,
300
344
  context: __SerdeContext
301
345
  ) => Promise<__HttpRequest>;
346
+ export declare const serializeAws_json1_1UpdateChannelCommand: (
347
+ input: UpdateChannelCommandInput,
348
+ context: __SerdeContext
349
+ ) => Promise<__HttpRequest>;
302
350
  export declare const serializeAws_json1_1UpdateEventDataStoreCommand: (
303
351
  input: UpdateEventDataStoreCommandInput,
304
352
  context: __SerdeContext
@@ -315,6 +363,10 @@ export declare const deserializeAws_json1_1CancelQueryCommand: (
315
363
  output: __HttpResponse,
316
364
  context: __SerdeContext
317
365
  ) => Promise<CancelQueryCommandOutput>;
366
+ export declare const deserializeAws_json1_1CreateChannelCommand: (
367
+ output: __HttpResponse,
368
+ context: __SerdeContext
369
+ ) => Promise<CreateChannelCommandOutput>;
318
370
  export declare const deserializeAws_json1_1CreateEventDataStoreCommand: (
319
371
  output: __HttpResponse,
320
372
  context: __SerdeContext
@@ -323,10 +375,18 @@ export declare const deserializeAws_json1_1CreateTrailCommand: (
323
375
  output: __HttpResponse,
324
376
  context: __SerdeContext
325
377
  ) => Promise<CreateTrailCommandOutput>;
378
+ export declare const deserializeAws_json1_1DeleteChannelCommand: (
379
+ output: __HttpResponse,
380
+ context: __SerdeContext
381
+ ) => Promise<DeleteChannelCommandOutput>;
326
382
  export declare const deserializeAws_json1_1DeleteEventDataStoreCommand: (
327
383
  output: __HttpResponse,
328
384
  context: __SerdeContext
329
385
  ) => Promise<DeleteEventDataStoreCommandOutput>;
386
+ export declare const deserializeAws_json1_1DeleteResourcePolicyCommand: (
387
+ output: __HttpResponse,
388
+ context: __SerdeContext
389
+ ) => Promise<DeleteResourcePolicyCommandOutput>;
330
390
  export declare const deserializeAws_json1_1DeleteTrailCommand: (
331
391
  output: __HttpResponse,
332
392
  context: __SerdeContext
@@ -367,6 +427,10 @@ export declare const deserializeAws_json1_1GetQueryResultsCommand: (
367
427
  output: __HttpResponse,
368
428
  context: __SerdeContext
369
429
  ) => Promise<GetQueryResultsCommandOutput>;
430
+ export declare const deserializeAws_json1_1GetResourcePolicyCommand: (
431
+ output: __HttpResponse,
432
+ context: __SerdeContext
433
+ ) => Promise<GetResourcePolicyCommandOutput>;
370
434
  export declare const deserializeAws_json1_1GetTrailCommand: (
371
435
  output: __HttpResponse,
372
436
  context: __SerdeContext
@@ -419,6 +483,10 @@ export declare const deserializeAws_json1_1PutInsightSelectorsCommand: (
419
483
  output: __HttpResponse,
420
484
  context: __SerdeContext
421
485
  ) => Promise<PutInsightSelectorsCommandOutput>;
486
+ export declare const deserializeAws_json1_1PutResourcePolicyCommand: (
487
+ output: __HttpResponse,
488
+ context: __SerdeContext
489
+ ) => Promise<PutResourcePolicyCommandOutput>;
422
490
  export declare const deserializeAws_json1_1RegisterOrganizationDelegatedAdminCommand: (
423
491
  output: __HttpResponse,
424
492
  context: __SerdeContext
@@ -451,6 +519,10 @@ export declare const deserializeAws_json1_1StopLoggingCommand: (
451
519
  output: __HttpResponse,
452
520
  context: __SerdeContext
453
521
  ) => Promise<StopLoggingCommandOutput>;
522
+ export declare const deserializeAws_json1_1UpdateChannelCommand: (
523
+ output: __HttpResponse,
524
+ context: __SerdeContext
525
+ ) => Promise<UpdateChannelCommandOutput>;
454
526
  export declare const deserializeAws_json1_1UpdateEventDataStoreCommand: (
455
527
  output: __HttpResponse,
456
528
  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.261.0",
4
+ "version": "3.264.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",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.261.0",
23
+ "@aws-sdk/client-sts": "3.264.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.261.0",
25
+ "@aws-sdk/credential-provider-node": "3.264.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
29
29
  "@aws-sdk/middleware-content-length": "3.257.0",
30
- "@aws-sdk/middleware-endpoint": "3.257.0",
30
+ "@aws-sdk/middleware-endpoint": "3.264.0",
31
31
  "@aws-sdk/middleware-host-header": "3.257.0",
32
32
  "@aws-sdk/middleware-logger": "3.257.0",
33
33
  "@aws-sdk/middleware-recursion-detection": "3.257.0",