@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
@@ -2,9 +2,12 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
4
4
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "../commands/CancelQueryCommand";
5
+ import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand";
5
6
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "../commands/CreateEventDataStoreCommand";
6
7
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "../commands/CreateTrailCommand";
8
+ import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "../commands/DeleteChannelCommand";
7
9
  import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "../commands/DeleteEventDataStoreCommand";
10
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
8
11
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "../commands/DeleteTrailCommand";
9
12
  import { DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput } from "../commands/DeregisterOrganizationDelegatedAdminCommand";
10
13
  import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "../commands/DescribeQueryCommand";
@@ -15,6 +18,7 @@ import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from ".
15
18
  import { GetImportCommandInput, GetImportCommandOutput } from "../commands/GetImportCommand";
16
19
  import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "../commands/GetInsightSelectorsCommand";
17
20
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "../commands/GetQueryResultsCommand";
21
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
18
22
  import { GetTrailCommandInput, GetTrailCommandOutput } from "../commands/GetTrailCommand";
19
23
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "../commands/GetTrailStatusCommand";
20
24
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
@@ -28,6 +32,7 @@ import { ListTrailsCommandInput, ListTrailsCommandOutput } from "../commands/Lis
28
32
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "../commands/LookupEventsCommand";
29
33
  import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "../commands/PutEventSelectorsCommand";
30
34
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "../commands/PutInsightSelectorsCommand";
35
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
31
36
  import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "../commands/RegisterOrganizationDelegatedAdminCommand";
32
37
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/RemoveTagsCommand";
33
38
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "../commands/RestoreEventDataStoreCommand";
@@ -36,13 +41,17 @@ import { StartLoggingCommandInput, StartLoggingCommandOutput } from "../commands
36
41
  import { StartQueryCommandInput, StartQueryCommandOutput } from "../commands/StartQueryCommand";
37
42
  import { StopImportCommandInput, StopImportCommandOutput } from "../commands/StopImportCommand";
38
43
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "../commands/StopLoggingCommand";
44
+ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "../commands/UpdateChannelCommand";
39
45
  import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "../commands/UpdateEventDataStoreCommand";
40
46
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "../commands/UpdateTrailCommand";
41
47
  export declare const serializeAws_json1_1AddTagsCommand: (input: AddTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
48
  export declare const serializeAws_json1_1CancelQueryCommand: (input: CancelQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ export declare const serializeAws_json1_1CreateChannelCommand: (input: CreateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
50
  export declare const serializeAws_json1_1CreateEventDataStoreCommand: (input: CreateEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
51
  export declare const serializeAws_json1_1CreateTrailCommand: (input: CreateTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ export declare const serializeAws_json1_1DeleteChannelCommand: (input: DeleteChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
53
  export declare const serializeAws_json1_1DeleteEventDataStoreCommand: (input: DeleteEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
+ export declare const serializeAws_json1_1DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
55
  export declare const serializeAws_json1_1DeleteTrailCommand: (input: DeleteTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
56
  export declare const serializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand: (input: DeregisterOrganizationDelegatedAdminCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
57
  export declare const serializeAws_json1_1DescribeQueryCommand: (input: DescribeQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -53,6 +62,7 @@ export declare const serializeAws_json1_1GetEventSelectorsCommand: (input: GetEv
53
62
  export declare const serializeAws_json1_1GetImportCommand: (input: GetImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
63
  export declare const serializeAws_json1_1GetInsightSelectorsCommand: (input: GetInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
64
  export declare const serializeAws_json1_1GetQueryResultsCommand: (input: GetQueryResultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
+ export declare const serializeAws_json1_1GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
66
  export declare const serializeAws_json1_1GetTrailCommand: (input: GetTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
67
  export declare const serializeAws_json1_1GetTrailStatusCommand: (input: GetTrailStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
68
  export declare const serializeAws_json1_1ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -66,6 +76,7 @@ export declare const serializeAws_json1_1ListTrailsCommand: (input: ListTrailsCo
66
76
  export declare const serializeAws_json1_1LookupEventsCommand: (input: LookupEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
77
  export declare const serializeAws_json1_1PutEventSelectorsCommand: (input: PutEventSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
78
  export declare const serializeAws_json1_1PutInsightSelectorsCommand: (input: PutInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
+ export declare const serializeAws_json1_1PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
80
  export declare const serializeAws_json1_1RegisterOrganizationDelegatedAdminCommand: (input: RegisterOrganizationDelegatedAdminCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
81
  export declare const serializeAws_json1_1RemoveTagsCommand: (input: RemoveTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
82
  export declare const serializeAws_json1_1RestoreEventDataStoreCommand: (input: RestoreEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,13 +85,17 @@ export declare const serializeAws_json1_1StartLoggingCommand: (input: StartLoggi
74
85
  export declare const serializeAws_json1_1StartQueryCommand: (input: StartQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
86
  export declare const serializeAws_json1_1StopImportCommand: (input: StopImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
87
  export declare const serializeAws_json1_1StopLoggingCommand: (input: StopLoggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
88
+ export declare const serializeAws_json1_1UpdateChannelCommand: (input: UpdateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
89
  export declare const serializeAws_json1_1UpdateEventDataStoreCommand: (input: UpdateEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
90
  export declare const serializeAws_json1_1UpdateTrailCommand: (input: UpdateTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
91
  export declare const deserializeAws_json1_1AddTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddTagsCommandOutput>;
80
92
  export declare const deserializeAws_json1_1CancelQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelQueryCommandOutput>;
93
+ export declare const deserializeAws_json1_1CreateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChannelCommandOutput>;
81
94
  export declare const deserializeAws_json1_1CreateEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEventDataStoreCommandOutput>;
82
95
  export declare const deserializeAws_json1_1CreateTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTrailCommandOutput>;
96
+ export declare const deserializeAws_json1_1DeleteChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteChannelCommandOutput>;
83
97
  export declare const deserializeAws_json1_1DeleteEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEventDataStoreCommandOutput>;
98
+ export declare const deserializeAws_json1_1DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
84
99
  export declare const deserializeAws_json1_1DeleteTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTrailCommandOutput>;
85
100
  export declare const deserializeAws_json1_1DeregisterOrganizationDelegatedAdminCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterOrganizationDelegatedAdminCommandOutput>;
86
101
  export declare const deserializeAws_json1_1DescribeQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeQueryCommandOutput>;
@@ -91,6 +106,7 @@ export declare const deserializeAws_json1_1GetEventSelectorsCommand: (output: __
91
106
  export declare const deserializeAws_json1_1GetImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImportCommandOutput>;
92
107
  export declare const deserializeAws_json1_1GetInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInsightSelectorsCommandOutput>;
93
108
  export declare const deserializeAws_json1_1GetQueryResultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueryResultsCommandOutput>;
109
+ export declare const deserializeAws_json1_1GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
94
110
  export declare const deserializeAws_json1_1GetTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailCommandOutput>;
95
111
  export declare const deserializeAws_json1_1GetTrailStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailStatusCommandOutput>;
96
112
  export declare const deserializeAws_json1_1ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
@@ -104,6 +120,7 @@ export declare const deserializeAws_json1_1ListTrailsCommand: (output: __HttpRes
104
120
  export declare const deserializeAws_json1_1LookupEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LookupEventsCommandOutput>;
105
121
  export declare const deserializeAws_json1_1PutEventSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutEventSelectorsCommandOutput>;
106
122
  export declare const deserializeAws_json1_1PutInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInsightSelectorsCommandOutput>;
123
+ export declare const deserializeAws_json1_1PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
107
124
  export declare const deserializeAws_json1_1RegisterOrganizationDelegatedAdminCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterOrganizationDelegatedAdminCommandOutput>;
108
125
  export declare const deserializeAws_json1_1RemoveTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveTagsCommandOutput>;
109
126
  export declare const deserializeAws_json1_1RestoreEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreEventDataStoreCommandOutput>;
@@ -112,5 +129,6 @@ export declare const deserializeAws_json1_1StartLoggingCommand: (output: __HttpR
112
129
  export declare const deserializeAws_json1_1StartQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartQueryCommandOutput>;
113
130
  export declare const deserializeAws_json1_1StopImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopImportCommandOutput>;
114
131
  export declare const deserializeAws_json1_1StopLoggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopLoggingCommandOutput>;
132
+ export declare const deserializeAws_json1_1UpdateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateChannelCommandOutput>;
115
133
  export declare const deserializeAws_json1_1UpdateEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEventDataStoreCommandOutput>;
116
134
  export declare const deserializeAws_json1_1UpdateTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTrailCommandOutput>;
@@ -8,6 +8,10 @@ import {
8
8
  CancelQueryCommandInput,
9
9
  CancelQueryCommandOutput,
10
10
  } from "./commands/CancelQueryCommand";
11
+ import {
12
+ CreateChannelCommandInput,
13
+ CreateChannelCommandOutput,
14
+ } from "./commands/CreateChannelCommand";
11
15
  import {
12
16
  CreateEventDataStoreCommandInput,
13
17
  CreateEventDataStoreCommandOutput,
@@ -16,10 +20,18 @@ import {
16
20
  CreateTrailCommandInput,
17
21
  CreateTrailCommandOutput,
18
22
  } from "./commands/CreateTrailCommand";
23
+ import {
24
+ DeleteChannelCommandInput,
25
+ DeleteChannelCommandOutput,
26
+ } from "./commands/DeleteChannelCommand";
19
27
  import {
20
28
  DeleteEventDataStoreCommandInput,
21
29
  DeleteEventDataStoreCommandOutput,
22
30
  } from "./commands/DeleteEventDataStoreCommand";
31
+ import {
32
+ DeleteResourcePolicyCommandInput,
33
+ DeleteResourcePolicyCommandOutput,
34
+ } from "./commands/DeleteResourcePolicyCommand";
23
35
  import {
24
36
  DeleteTrailCommandInput,
25
37
  DeleteTrailCommandOutput,
@@ -60,6 +72,10 @@ import {
60
72
  GetQueryResultsCommandInput,
61
73
  GetQueryResultsCommandOutput,
62
74
  } from "./commands/GetQueryResultsCommand";
75
+ import {
76
+ GetResourcePolicyCommandInput,
77
+ GetResourcePolicyCommandOutput,
78
+ } from "./commands/GetResourcePolicyCommand";
63
79
  import {
64
80
  GetTrailCommandInput,
65
81
  GetTrailCommandOutput,
@@ -112,6 +128,10 @@ import {
112
128
  PutInsightSelectorsCommandInput,
113
129
  PutInsightSelectorsCommandOutput,
114
130
  } from "./commands/PutInsightSelectorsCommand";
131
+ import {
132
+ PutResourcePolicyCommandInput,
133
+ PutResourcePolicyCommandOutput,
134
+ } from "./commands/PutResourcePolicyCommand";
115
135
  import {
116
136
  RegisterOrganizationDelegatedAdminCommandInput,
117
137
  RegisterOrganizationDelegatedAdminCommandOutput,
@@ -144,6 +164,10 @@ import {
144
164
  StopLoggingCommandInput,
145
165
  StopLoggingCommandOutput,
146
166
  } from "./commands/StopLoggingCommand";
167
+ import {
168
+ UpdateChannelCommandInput,
169
+ UpdateChannelCommandOutput,
170
+ } from "./commands/UpdateChannelCommand";
147
171
  import {
148
172
  UpdateEventDataStoreCommandInput,
149
173
  UpdateEventDataStoreCommandOutput,
@@ -179,6 +203,19 @@ export declare class CloudTrail extends CloudTrailClient {
179
203
  options: __HttpHandlerOptions,
180
204
  cb: (err: any, data?: CancelQueryCommandOutput) => void
181
205
  ): void;
206
+ createChannel(
207
+ args: CreateChannelCommandInput,
208
+ options?: __HttpHandlerOptions
209
+ ): Promise<CreateChannelCommandOutput>;
210
+ createChannel(
211
+ args: CreateChannelCommandInput,
212
+ cb: (err: any, data?: CreateChannelCommandOutput) => void
213
+ ): void;
214
+ createChannel(
215
+ args: CreateChannelCommandInput,
216
+ options: __HttpHandlerOptions,
217
+ cb: (err: any, data?: CreateChannelCommandOutput) => void
218
+ ): void;
182
219
  createEventDataStore(
183
220
  args: CreateEventDataStoreCommandInput,
184
221
  options?: __HttpHandlerOptions
@@ -205,6 +242,19 @@ export declare class CloudTrail extends CloudTrailClient {
205
242
  options: __HttpHandlerOptions,
206
243
  cb: (err: any, data?: CreateTrailCommandOutput) => void
207
244
  ): void;
245
+ deleteChannel(
246
+ args: DeleteChannelCommandInput,
247
+ options?: __HttpHandlerOptions
248
+ ): Promise<DeleteChannelCommandOutput>;
249
+ deleteChannel(
250
+ args: DeleteChannelCommandInput,
251
+ cb: (err: any, data?: DeleteChannelCommandOutput) => void
252
+ ): void;
253
+ deleteChannel(
254
+ args: DeleteChannelCommandInput,
255
+ options: __HttpHandlerOptions,
256
+ cb: (err: any, data?: DeleteChannelCommandOutput) => void
257
+ ): void;
208
258
  deleteEventDataStore(
209
259
  args: DeleteEventDataStoreCommandInput,
210
260
  options?: __HttpHandlerOptions
@@ -218,6 +268,19 @@ export declare class CloudTrail extends CloudTrailClient {
218
268
  options: __HttpHandlerOptions,
219
269
  cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void
220
270
  ): void;
271
+ deleteResourcePolicy(
272
+ args: DeleteResourcePolicyCommandInput,
273
+ options?: __HttpHandlerOptions
274
+ ): Promise<DeleteResourcePolicyCommandOutput>;
275
+ deleteResourcePolicy(
276
+ args: DeleteResourcePolicyCommandInput,
277
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
278
+ ): void;
279
+ deleteResourcePolicy(
280
+ args: DeleteResourcePolicyCommandInput,
281
+ options: __HttpHandlerOptions,
282
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
283
+ ): void;
221
284
  deleteTrail(
222
285
  args: DeleteTrailCommandInput,
223
286
  options?: __HttpHandlerOptions
@@ -354,6 +417,19 @@ export declare class CloudTrail extends CloudTrailClient {
354
417
  options: __HttpHandlerOptions,
355
418
  cb: (err: any, data?: GetQueryResultsCommandOutput) => void
356
419
  ): void;
420
+ getResourcePolicy(
421
+ args: GetResourcePolicyCommandInput,
422
+ options?: __HttpHandlerOptions
423
+ ): Promise<GetResourcePolicyCommandOutput>;
424
+ getResourcePolicy(
425
+ args: GetResourcePolicyCommandInput,
426
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
427
+ ): void;
428
+ getResourcePolicy(
429
+ args: GetResourcePolicyCommandInput,
430
+ options: __HttpHandlerOptions,
431
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
432
+ ): void;
357
433
  getTrail(
358
434
  args: GetTrailCommandInput,
359
435
  options?: __HttpHandlerOptions
@@ -523,6 +599,19 @@ export declare class CloudTrail extends CloudTrailClient {
523
599
  options: __HttpHandlerOptions,
524
600
  cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void
525
601
  ): void;
602
+ putResourcePolicy(
603
+ args: PutResourcePolicyCommandInput,
604
+ options?: __HttpHandlerOptions
605
+ ): Promise<PutResourcePolicyCommandOutput>;
606
+ putResourcePolicy(
607
+ args: PutResourcePolicyCommandInput,
608
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
609
+ ): void;
610
+ putResourcePolicy(
611
+ args: PutResourcePolicyCommandInput,
612
+ options: __HttpHandlerOptions,
613
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
614
+ ): void;
526
615
  registerOrganizationDelegatedAdmin(
527
616
  args: RegisterOrganizationDelegatedAdminCommandInput,
528
617
  options?: __HttpHandlerOptions
@@ -633,6 +722,19 @@ export declare class CloudTrail extends CloudTrailClient {
633
722
  options: __HttpHandlerOptions,
634
723
  cb: (err: any, data?: StopLoggingCommandOutput) => void
635
724
  ): void;
725
+ updateChannel(
726
+ args: UpdateChannelCommandInput,
727
+ options?: __HttpHandlerOptions
728
+ ): Promise<UpdateChannelCommandOutput>;
729
+ updateChannel(
730
+ args: UpdateChannelCommandInput,
731
+ cb: (err: any, data?: UpdateChannelCommandOutput) => void
732
+ ): void;
733
+ updateChannel(
734
+ args: UpdateChannelCommandInput,
735
+ options: __HttpHandlerOptions,
736
+ cb: (err: any, data?: UpdateChannelCommandOutput) => void
737
+ ): void;
636
738
  updateEventDataStore(
637
739
  args: UpdateEventDataStoreCommandInput,
638
740
  options?: __HttpHandlerOptions
@@ -52,6 +52,10 @@ import {
52
52
  CancelQueryCommandInput,
53
53
  CancelQueryCommandOutput,
54
54
  } from "./commands/CancelQueryCommand";
55
+ import {
56
+ CreateChannelCommandInput,
57
+ CreateChannelCommandOutput,
58
+ } from "./commands/CreateChannelCommand";
55
59
  import {
56
60
  CreateEventDataStoreCommandInput,
57
61
  CreateEventDataStoreCommandOutput,
@@ -60,10 +64,18 @@ import {
60
64
  CreateTrailCommandInput,
61
65
  CreateTrailCommandOutput,
62
66
  } from "./commands/CreateTrailCommand";
67
+ import {
68
+ DeleteChannelCommandInput,
69
+ DeleteChannelCommandOutput,
70
+ } from "./commands/DeleteChannelCommand";
63
71
  import {
64
72
  DeleteEventDataStoreCommandInput,
65
73
  DeleteEventDataStoreCommandOutput,
66
74
  } from "./commands/DeleteEventDataStoreCommand";
75
+ import {
76
+ DeleteResourcePolicyCommandInput,
77
+ DeleteResourcePolicyCommandOutput,
78
+ } from "./commands/DeleteResourcePolicyCommand";
67
79
  import {
68
80
  DeleteTrailCommandInput,
69
81
  DeleteTrailCommandOutput,
@@ -104,6 +116,10 @@ import {
104
116
  GetQueryResultsCommandInput,
105
117
  GetQueryResultsCommandOutput,
106
118
  } from "./commands/GetQueryResultsCommand";
119
+ import {
120
+ GetResourcePolicyCommandInput,
121
+ GetResourcePolicyCommandOutput,
122
+ } from "./commands/GetResourcePolicyCommand";
107
123
  import {
108
124
  GetTrailCommandInput,
109
125
  GetTrailCommandOutput,
@@ -156,6 +172,10 @@ import {
156
172
  PutInsightSelectorsCommandInput,
157
173
  PutInsightSelectorsCommandOutput,
158
174
  } from "./commands/PutInsightSelectorsCommand";
175
+ import {
176
+ PutResourcePolicyCommandInput,
177
+ PutResourcePolicyCommandOutput,
178
+ } from "./commands/PutResourcePolicyCommand";
159
179
  import {
160
180
  RegisterOrganizationDelegatedAdminCommandInput,
161
181
  RegisterOrganizationDelegatedAdminCommandOutput,
@@ -188,6 +208,10 @@ import {
188
208
  StopLoggingCommandInput,
189
209
  StopLoggingCommandOutput,
190
210
  } from "./commands/StopLoggingCommand";
211
+ import {
212
+ UpdateChannelCommandInput,
213
+ UpdateChannelCommandOutput,
214
+ } from "./commands/UpdateChannelCommand";
191
215
  import {
192
216
  UpdateEventDataStoreCommandInput,
193
217
  UpdateEventDataStoreCommandOutput,
@@ -204,9 +228,12 @@ import {
204
228
  export declare type ServiceInputTypes =
205
229
  | AddTagsCommandInput
206
230
  | CancelQueryCommandInput
231
+ | CreateChannelCommandInput
207
232
  | CreateEventDataStoreCommandInput
208
233
  | CreateTrailCommandInput
234
+ | DeleteChannelCommandInput
209
235
  | DeleteEventDataStoreCommandInput
236
+ | DeleteResourcePolicyCommandInput
210
237
  | DeleteTrailCommandInput
211
238
  | DeregisterOrganizationDelegatedAdminCommandInput
212
239
  | DescribeQueryCommandInput
@@ -217,6 +244,7 @@ export declare type ServiceInputTypes =
217
244
  | GetImportCommandInput
218
245
  | GetInsightSelectorsCommandInput
219
246
  | GetQueryResultsCommandInput
247
+ | GetResourcePolicyCommandInput
220
248
  | GetTrailCommandInput
221
249
  | GetTrailStatusCommandInput
222
250
  | ListChannelsCommandInput
@@ -230,6 +258,7 @@ export declare type ServiceInputTypes =
230
258
  | LookupEventsCommandInput
231
259
  | PutEventSelectorsCommandInput
232
260
  | PutInsightSelectorsCommandInput
261
+ | PutResourcePolicyCommandInput
233
262
  | RegisterOrganizationDelegatedAdminCommandInput
234
263
  | RemoveTagsCommandInput
235
264
  | RestoreEventDataStoreCommandInput
@@ -238,14 +267,18 @@ export declare type ServiceInputTypes =
238
267
  | StartQueryCommandInput
239
268
  | StopImportCommandInput
240
269
  | StopLoggingCommandInput
270
+ | UpdateChannelCommandInput
241
271
  | UpdateEventDataStoreCommandInput
242
272
  | UpdateTrailCommandInput;
243
273
  export declare type ServiceOutputTypes =
244
274
  | AddTagsCommandOutput
245
275
  | CancelQueryCommandOutput
276
+ | CreateChannelCommandOutput
246
277
  | CreateEventDataStoreCommandOutput
247
278
  | CreateTrailCommandOutput
279
+ | DeleteChannelCommandOutput
248
280
  | DeleteEventDataStoreCommandOutput
281
+ | DeleteResourcePolicyCommandOutput
249
282
  | DeleteTrailCommandOutput
250
283
  | DeregisterOrganizationDelegatedAdminCommandOutput
251
284
  | DescribeQueryCommandOutput
@@ -256,6 +289,7 @@ export declare type ServiceOutputTypes =
256
289
  | GetImportCommandOutput
257
290
  | GetInsightSelectorsCommandOutput
258
291
  | GetQueryResultsCommandOutput
292
+ | GetResourcePolicyCommandOutput
259
293
  | GetTrailCommandOutput
260
294
  | GetTrailStatusCommandOutput
261
295
  | ListChannelsCommandOutput
@@ -269,6 +303,7 @@ export declare type ServiceOutputTypes =
269
303
  | LookupEventsCommandOutput
270
304
  | PutEventSelectorsCommandOutput
271
305
  | PutInsightSelectorsCommandOutput
306
+ | PutResourcePolicyCommandOutput
272
307
  | RegisterOrganizationDelegatedAdminCommandOutput
273
308
  | RemoveTagsCommandOutput
274
309
  | RestoreEventDataStoreCommandOutput
@@ -277,6 +312,7 @@ export declare type ServiceOutputTypes =
277
312
  | StartQueryCommandOutput
278
313
  | StopImportCommandOutput
279
314
  | StopLoggingCommandOutput
315
+ | UpdateChannelCommandOutput
280
316
  | UpdateEventDataStoreCommandOutput
281
317
  | UpdateTrailCommandOutput;
282
318
  export interface ClientDefaults
@@ -0,0 +1,37 @@
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
+ CreateChannelRequest,
16
+ CreateChannelResponse,
17
+ } from "../models/models_0";
18
+ export interface CreateChannelCommandInput extends CreateChannelRequest {}
19
+ export interface CreateChannelCommandOutput
20
+ extends CreateChannelResponse,
21
+ __MetadataBearer {}
22
+ export declare class CreateChannelCommand extends $Command<
23
+ CreateChannelCommandInput,
24
+ CreateChannelCommandOutput,
25
+ CloudTrailClientResolvedConfig
26
+ > {
27
+ readonly input: CreateChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: CreateChannelCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: CloudTrailClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
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
+ DeleteChannelRequest,
16
+ DeleteChannelResponse,
17
+ } from "../models/models_0";
18
+ export interface DeleteChannelCommandInput extends DeleteChannelRequest {}
19
+ export interface DeleteChannelCommandOutput
20
+ extends DeleteChannelResponse,
21
+ __MetadataBearer {}
22
+ export declare class DeleteChannelCommand extends $Command<
23
+ DeleteChannelCommandInput,
24
+ DeleteChannelCommandOutput,
25
+ CloudTrailClientResolvedConfig
26
+ > {
27
+ readonly input: DeleteChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: DeleteChannelCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: CloudTrailClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<DeleteChannelCommandInput, DeleteChannelCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -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
+ DeleteResourcePolicyRequest,
16
+ DeleteResourcePolicyResponse,
17
+ } from "../models/models_0";
18
+ export interface DeleteResourcePolicyCommandInput
19
+ extends DeleteResourcePolicyRequest {}
20
+ export interface DeleteResourcePolicyCommandOutput
21
+ extends DeleteResourcePolicyResponse,
22
+ __MetadataBearer {}
23
+ export declare class DeleteResourcePolicyCommand extends $Command<
24
+ DeleteResourcePolicyCommandInput,
25
+ DeleteResourcePolicyCommandOutput,
26
+ CloudTrailClientResolvedConfig
27
+ > {
28
+ readonly input: DeleteResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteResourcePolicyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudTrailClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DeleteResourcePolicyCommandInput,
37
+ DeleteResourcePolicyCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,38 @@
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
+ GetResourcePolicyRequest,
16
+ GetResourcePolicyResponse,
17
+ } from "../models/models_0";
18
+ export interface GetResourcePolicyCommandInput
19
+ extends GetResourcePolicyRequest {}
20
+ export interface GetResourcePolicyCommandOutput
21
+ extends GetResourcePolicyResponse,
22
+ __MetadataBearer {}
23
+ export declare class GetResourcePolicyCommand extends $Command<
24
+ GetResourcePolicyCommandInput,
25
+ GetResourcePolicyCommandOutput,
26
+ CloudTrailClientResolvedConfig
27
+ > {
28
+ readonly input: GetResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetResourcePolicyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudTrailClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
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
+ PutResourcePolicyRequest,
16
+ PutResourcePolicyResponse,
17
+ } from "../models/models_0";
18
+ export interface PutResourcePolicyCommandInput
19
+ extends PutResourcePolicyRequest {}
20
+ export interface PutResourcePolicyCommandOutput
21
+ extends PutResourcePolicyResponse,
22
+ __MetadataBearer {}
23
+ export declare class PutResourcePolicyCommand extends $Command<
24
+ PutResourcePolicyCommandInput,
25
+ PutResourcePolicyCommandOutput,
26
+ CloudTrailClientResolvedConfig
27
+ > {
28
+ readonly input: PutResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: PutResourcePolicyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudTrailClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
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
+ UpdateChannelRequest,
16
+ UpdateChannelResponse,
17
+ } from "../models/models_0";
18
+ export interface UpdateChannelCommandInput extends UpdateChannelRequest {}
19
+ export interface UpdateChannelCommandOutput
20
+ extends UpdateChannelResponse,
21
+ __MetadataBearer {}
22
+ export declare class UpdateChannelCommand extends $Command<
23
+ UpdateChannelCommandInput,
24
+ UpdateChannelCommandOutput,
25
+ CloudTrailClientResolvedConfig
26
+ > {
27
+ readonly input: UpdateChannelCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: UpdateChannelCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: CloudTrailClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<UpdateChannelCommandInput, UpdateChannelCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }