@aws-sdk/client-cloudtrail 3.169.0 → 3.170.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 (56) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/CloudTrail.d.ts +562 -160
  3. package/dist-types/ts3.4/CloudTrailClient.d.ts +315 -104
  4. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +41 -17
  7. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +34 -17
  8. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +34 -17
  10. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +37 -17
  11. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +34 -17
  13. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +38 -17
  14. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +38 -17
  15. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +38 -17
  16. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +34 -17
  20. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +38 -17
  21. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +37 -17
  22. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +34 -17
  23. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +34 -17
  24. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +34 -17
  26. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +38 -17
  27. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +38 -17
  28. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +41 -17
  34. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +34 -17
  35. package/dist-types/ts3.4/commands/index.d.ts +31 -31
  36. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  37. package/dist-types/ts3.4/index.d.ts +6 -6
  38. package/dist-types/ts3.4/models/CloudTrailServiceException.d.ts +8 -6
  39. package/dist-types/ts3.4/models/index.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +1798 -1555
  41. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +11 -4
  42. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  43. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -4
  44. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +11 -4
  45. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +11 -4
  46. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +11 -4
  47. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +11 -4
  48. package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +11 -4
  49. package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  51. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +377 -95
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  56. package/package.json +34 -34
@@ -1,104 +1,315 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
10
- import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
11
- import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
12
- import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
13
- import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
14
- import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
15
- import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
16
- import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
17
- import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
18
- import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
19
- import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
20
- import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
21
- import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
22
- import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
23
- import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
24
- import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
25
- import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
26
- import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
27
- import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
28
- import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
29
- import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
30
- import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
31
- import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
32
- import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
33
- import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
34
- import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
35
- import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
36
- import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
37
- import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
38
- import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
39
- import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
40
- export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
41
- export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
42
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
43
-
44
- requestHandler?: __HttpHandler;
45
-
46
- sha256?: __HashConstructor;
47
-
48
- urlParser?: __UrlParser;
49
-
50
- bodyLengthChecker?: __BodyLengthCalculator;
51
-
52
- streamCollector?: __StreamCollector;
53
-
54
- base64Decoder?: __Decoder;
55
-
56
- base64Encoder?: __Encoder;
57
-
58
- utf8Decoder?: __Decoder;
59
-
60
- utf8Encoder?: __Encoder;
61
-
62
- runtime?: string;
63
-
64
- disableHostPrefix?: boolean;
65
-
66
- maxAttempts?: number | __Provider<number>;
67
-
68
- retryMode?: string | __Provider<string>;
69
-
70
- logger?: __Logger;
71
-
72
- useDualstackEndpoint?: boolean | __Provider<boolean>;
73
-
74
- useFipsEndpoint?: boolean | __Provider<boolean>;
75
-
76
- serviceId?: string;
77
-
78
- region?: string | __Provider<string>;
79
-
80
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
81
-
82
- regionInfoProvider?: RegionInfoProvider;
83
-
84
- defaultUserAgentProvider?: Provider<__UserAgent>;
85
-
86
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
87
- }
88
- declare type CloudTrailClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
89
-
90
- export interface CloudTrailClientConfig extends CloudTrailClientConfigType {
91
- }
92
- declare type CloudTrailClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
93
-
94
- export interface CloudTrailClientResolvedConfig extends CloudTrailClientResolvedConfigType {
95
- }
96
-
97
- export declare class CloudTrailClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudTrailClientResolvedConfig> {
98
-
99
- readonly config: CloudTrailClientResolvedConfig;
100
- constructor(configuration: CloudTrailClientConfig);
101
-
102
- destroy(): void;
103
- }
104
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ AddTagsCommandInput,
47
+ AddTagsCommandOutput,
48
+ } from "./commands/AddTagsCommand";
49
+ import {
50
+ CancelQueryCommandInput,
51
+ CancelQueryCommandOutput,
52
+ } from "./commands/CancelQueryCommand";
53
+ import {
54
+ CreateEventDataStoreCommandInput,
55
+ CreateEventDataStoreCommandOutput,
56
+ } from "./commands/CreateEventDataStoreCommand";
57
+ import {
58
+ CreateTrailCommandInput,
59
+ CreateTrailCommandOutput,
60
+ } from "./commands/CreateTrailCommand";
61
+ import {
62
+ DeleteEventDataStoreCommandInput,
63
+ DeleteEventDataStoreCommandOutput,
64
+ } from "./commands/DeleteEventDataStoreCommand";
65
+ import {
66
+ DeleteTrailCommandInput,
67
+ DeleteTrailCommandOutput,
68
+ } from "./commands/DeleteTrailCommand";
69
+ import {
70
+ DescribeQueryCommandInput,
71
+ DescribeQueryCommandOutput,
72
+ } from "./commands/DescribeQueryCommand";
73
+ import {
74
+ DescribeTrailsCommandInput,
75
+ DescribeTrailsCommandOutput,
76
+ } from "./commands/DescribeTrailsCommand";
77
+ import {
78
+ GetChannelCommandInput,
79
+ GetChannelCommandOutput,
80
+ } from "./commands/GetChannelCommand";
81
+ import {
82
+ GetEventDataStoreCommandInput,
83
+ GetEventDataStoreCommandOutput,
84
+ } from "./commands/GetEventDataStoreCommand";
85
+ import {
86
+ GetEventSelectorsCommandInput,
87
+ GetEventSelectorsCommandOutput,
88
+ } from "./commands/GetEventSelectorsCommand";
89
+ import {
90
+ GetInsightSelectorsCommandInput,
91
+ GetInsightSelectorsCommandOutput,
92
+ } from "./commands/GetInsightSelectorsCommand";
93
+ import {
94
+ GetQueryResultsCommandInput,
95
+ GetQueryResultsCommandOutput,
96
+ } from "./commands/GetQueryResultsCommand";
97
+ import {
98
+ GetTrailCommandInput,
99
+ GetTrailCommandOutput,
100
+ } from "./commands/GetTrailCommand";
101
+ import {
102
+ GetTrailStatusCommandInput,
103
+ GetTrailStatusCommandOutput,
104
+ } from "./commands/GetTrailStatusCommand";
105
+ import {
106
+ ListChannelsCommandInput,
107
+ ListChannelsCommandOutput,
108
+ } from "./commands/ListChannelsCommand";
109
+ import {
110
+ ListEventDataStoresCommandInput,
111
+ ListEventDataStoresCommandOutput,
112
+ } from "./commands/ListEventDataStoresCommand";
113
+ import {
114
+ ListPublicKeysCommandInput,
115
+ ListPublicKeysCommandOutput,
116
+ } from "./commands/ListPublicKeysCommand";
117
+ import {
118
+ ListQueriesCommandInput,
119
+ ListQueriesCommandOutput,
120
+ } from "./commands/ListQueriesCommand";
121
+ import {
122
+ ListTagsCommandInput,
123
+ ListTagsCommandOutput,
124
+ } from "./commands/ListTagsCommand";
125
+ import {
126
+ ListTrailsCommandInput,
127
+ ListTrailsCommandOutput,
128
+ } from "./commands/ListTrailsCommand";
129
+ import {
130
+ LookupEventsCommandInput,
131
+ LookupEventsCommandOutput,
132
+ } from "./commands/LookupEventsCommand";
133
+ import {
134
+ PutEventSelectorsCommandInput,
135
+ PutEventSelectorsCommandOutput,
136
+ } from "./commands/PutEventSelectorsCommand";
137
+ import {
138
+ PutInsightSelectorsCommandInput,
139
+ PutInsightSelectorsCommandOutput,
140
+ } from "./commands/PutInsightSelectorsCommand";
141
+ import {
142
+ RemoveTagsCommandInput,
143
+ RemoveTagsCommandOutput,
144
+ } from "./commands/RemoveTagsCommand";
145
+ import {
146
+ RestoreEventDataStoreCommandInput,
147
+ RestoreEventDataStoreCommandOutput,
148
+ } from "./commands/RestoreEventDataStoreCommand";
149
+ import {
150
+ StartLoggingCommandInput,
151
+ StartLoggingCommandOutput,
152
+ } from "./commands/StartLoggingCommand";
153
+ import {
154
+ StartQueryCommandInput,
155
+ StartQueryCommandOutput,
156
+ } from "./commands/StartQueryCommand";
157
+ import {
158
+ StopLoggingCommandInput,
159
+ StopLoggingCommandOutput,
160
+ } from "./commands/StopLoggingCommand";
161
+ import {
162
+ UpdateEventDataStoreCommandInput,
163
+ UpdateEventDataStoreCommandOutput,
164
+ } from "./commands/UpdateEventDataStoreCommand";
165
+ import {
166
+ UpdateTrailCommandInput,
167
+ UpdateTrailCommandOutput,
168
+ } from "./commands/UpdateTrailCommand";
169
+ export declare type ServiceInputTypes =
170
+ | AddTagsCommandInput
171
+ | CancelQueryCommandInput
172
+ | CreateEventDataStoreCommandInput
173
+ | CreateTrailCommandInput
174
+ | DeleteEventDataStoreCommandInput
175
+ | DeleteTrailCommandInput
176
+ | DescribeQueryCommandInput
177
+ | DescribeTrailsCommandInput
178
+ | GetChannelCommandInput
179
+ | GetEventDataStoreCommandInput
180
+ | GetEventSelectorsCommandInput
181
+ | GetInsightSelectorsCommandInput
182
+ | GetQueryResultsCommandInput
183
+ | GetTrailCommandInput
184
+ | GetTrailStatusCommandInput
185
+ | ListChannelsCommandInput
186
+ | ListEventDataStoresCommandInput
187
+ | ListPublicKeysCommandInput
188
+ | ListQueriesCommandInput
189
+ | ListTagsCommandInput
190
+ | ListTrailsCommandInput
191
+ | LookupEventsCommandInput
192
+ | PutEventSelectorsCommandInput
193
+ | PutInsightSelectorsCommandInput
194
+ | RemoveTagsCommandInput
195
+ | RestoreEventDataStoreCommandInput
196
+ | StartLoggingCommandInput
197
+ | StartQueryCommandInput
198
+ | StopLoggingCommandInput
199
+ | UpdateEventDataStoreCommandInput
200
+ | UpdateTrailCommandInput;
201
+ export declare type ServiceOutputTypes =
202
+ | AddTagsCommandOutput
203
+ | CancelQueryCommandOutput
204
+ | CreateEventDataStoreCommandOutput
205
+ | CreateTrailCommandOutput
206
+ | DeleteEventDataStoreCommandOutput
207
+ | DeleteTrailCommandOutput
208
+ | DescribeQueryCommandOutput
209
+ | DescribeTrailsCommandOutput
210
+ | GetChannelCommandOutput
211
+ | GetEventDataStoreCommandOutput
212
+ | GetEventSelectorsCommandOutput
213
+ | GetInsightSelectorsCommandOutput
214
+ | GetQueryResultsCommandOutput
215
+ | GetTrailCommandOutput
216
+ | GetTrailStatusCommandOutput
217
+ | ListChannelsCommandOutput
218
+ | ListEventDataStoresCommandOutput
219
+ | ListPublicKeysCommandOutput
220
+ | ListQueriesCommandOutput
221
+ | ListTagsCommandOutput
222
+ | ListTrailsCommandOutput
223
+ | LookupEventsCommandOutput
224
+ | PutEventSelectorsCommandOutput
225
+ | PutInsightSelectorsCommandOutput
226
+ | RemoveTagsCommandOutput
227
+ | RestoreEventDataStoreCommandOutput
228
+ | StartLoggingCommandOutput
229
+ | StartQueryCommandOutput
230
+ | StopLoggingCommandOutput
231
+ | UpdateEventDataStoreCommandOutput
232
+ | UpdateTrailCommandOutput;
233
+ export interface ClientDefaults
234
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
235
+ requestHandler?: __HttpHandler;
236
+
237
+ sha256?: __HashConstructor;
238
+
239
+ urlParser?: __UrlParser;
240
+
241
+ bodyLengthChecker?: __BodyLengthCalculator;
242
+
243
+ streamCollector?: __StreamCollector;
244
+
245
+ base64Decoder?: __Decoder;
246
+
247
+ base64Encoder?: __Encoder;
248
+
249
+ utf8Decoder?: __Decoder;
250
+
251
+ utf8Encoder?: __Encoder;
252
+
253
+ runtime?: string;
254
+
255
+ disableHostPrefix?: boolean;
256
+
257
+ maxAttempts?: number | __Provider<number>;
258
+
259
+ retryMode?: string | __Provider<string>;
260
+
261
+ logger?: __Logger;
262
+
263
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
264
+
265
+ useFipsEndpoint?: boolean | __Provider<boolean>;
266
+
267
+ serviceId?: string;
268
+
269
+ region?: string | __Provider<string>;
270
+
271
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
272
+
273
+ regionInfoProvider?: RegionInfoProvider;
274
+
275
+ defaultUserAgentProvider?: Provider<__UserAgent>;
276
+
277
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
278
+ }
279
+ declare type CloudTrailClientConfigType = Partial<
280
+ __SmithyConfiguration<__HttpHandlerOptions>
281
+ > &
282
+ ClientDefaults &
283
+ RegionInputConfig &
284
+ EndpointsInputConfig &
285
+ RetryInputConfig &
286
+ HostHeaderInputConfig &
287
+ AwsAuthInputConfig &
288
+ UserAgentInputConfig;
289
+
290
+ export interface CloudTrailClientConfig extends CloudTrailClientConfigType {}
291
+ declare type CloudTrailClientResolvedConfigType =
292
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
293
+ Required<ClientDefaults> &
294
+ RegionResolvedConfig &
295
+ EndpointsResolvedConfig &
296
+ RetryResolvedConfig &
297
+ HostHeaderResolvedConfig &
298
+ AwsAuthResolvedConfig &
299
+ UserAgentResolvedConfig;
300
+
301
+ export interface CloudTrailClientResolvedConfig
302
+ extends CloudTrailClientResolvedConfigType {}
303
+
304
+ export declare class CloudTrailClient extends __Client<
305
+ __HttpHandlerOptions,
306
+ ServiceInputTypes,
307
+ ServiceOutputTypes,
308
+ CloudTrailClientResolvedConfig
309
+ > {
310
+ readonly config: CloudTrailClientResolvedConfig;
311
+ constructor(configuration: CloudTrailClientConfig);
312
+
313
+ destroy(): void;
314
+ }
315
+ export {};
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
4
- import { AddTagsRequest, AddTagsResponse } from "../models/models_0";
5
- export interface AddTagsCommandInput extends AddTagsRequest {
6
- }
7
- export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, CloudTrailClientResolvedConfig> {
11
- readonly input: AddTagsCommandInput;
12
- constructor(input: AddTagsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { AddTagsRequest, AddTagsResponse } from "../models/models_0";
14
+ export interface AddTagsCommandInput extends AddTagsRequest {}
15
+ export interface AddTagsCommandOutput
16
+ extends AddTagsResponse,
17
+ __MetadataBearer {}
18
+
19
+ export declare class AddTagsCommand extends $Command<
20
+ AddTagsCommandInput,
21
+ AddTagsCommandOutput,
22
+ CloudTrailClientResolvedConfig
23
+ > {
24
+ readonly input: AddTagsCommandInput;
25
+ constructor(input: AddTagsCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: CloudTrailClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
4
- import { CancelQueryRequest, CancelQueryResponse } from "../models/models_0";
5
- export interface CancelQueryCommandInput extends CancelQueryRequest {
6
- }
7
- export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CancelQueryCommand extends $Command<CancelQueryCommandInput, CancelQueryCommandOutput, CloudTrailClientResolvedConfig> {
11
- readonly input: CancelQueryCommandInput;
12
- constructor(input: CancelQueryCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelQueryCommandInput, CancelQueryCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { CancelQueryRequest, CancelQueryResponse } from "../models/models_0";
14
+ export interface CancelQueryCommandInput extends CancelQueryRequest {}
15
+ export interface CancelQueryCommandOutput
16
+ extends CancelQueryResponse,
17
+ __MetadataBearer {}
18
+
19
+ export declare class CancelQueryCommand extends $Command<
20
+ CancelQueryCommandInput,
21
+ CancelQueryCommandOutput,
22
+ CloudTrailClientResolvedConfig
23
+ > {
24
+ readonly input: CancelQueryCommandInput;
25
+ constructor(input: CancelQueryCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: CloudTrailClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<CancelQueryCommandInput, CancelQueryCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
4
- import { CreateEventDataStoreRequest, CreateEventDataStoreResponse } from "../models/models_0";
5
- export interface CreateEventDataStoreCommandInput extends CreateEventDataStoreRequest {
6
- }
7
- export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateEventDataStoreCommand extends $Command<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
11
- readonly input: CreateEventDataStoreCommandInput;
12
- constructor(input: CreateEventDataStoreCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import {
14
+ CreateEventDataStoreRequest,
15
+ CreateEventDataStoreResponse,
16
+ } from "../models/models_0";
17
+ export interface CreateEventDataStoreCommandInput
18
+ extends CreateEventDataStoreRequest {}
19
+ export interface CreateEventDataStoreCommandOutput
20
+ extends CreateEventDataStoreResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class CreateEventDataStoreCommand extends $Command<
24
+ CreateEventDataStoreCommandInput,
25
+ CreateEventDataStoreCommandOutput,
26
+ CloudTrailClientResolvedConfig
27
+ > {
28
+ readonly input: CreateEventDataStoreCommandInput;
29
+ constructor(input: CreateEventDataStoreCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CloudTrailClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CreateEventDataStoreCommandInput,
37
+ CreateEventDataStoreCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,34 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
4
- import { CreateTrailRequest, CreateTrailResponse } from "../models/models_0";
5
- export interface CreateTrailCommandInput extends CreateTrailRequest {
6
- }
7
- export interface CreateTrailCommandOutput extends CreateTrailResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateTrailCommand extends $Command<CreateTrailCommandInput, CreateTrailCommandOutput, CloudTrailClientResolvedConfig> {
11
- readonly input: CreateTrailCommandInput;
12
- constructor(input: CreateTrailCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrailCommandInput, CreateTrailCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CloudTrailClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../CloudTrailClient";
13
+ import { CreateTrailRequest, CreateTrailResponse } from "../models/models_0";
14
+ export interface CreateTrailCommandInput extends CreateTrailRequest {}
15
+ export interface CreateTrailCommandOutput
16
+ extends CreateTrailResponse,
17
+ __MetadataBearer {}
18
+
19
+ export declare class CreateTrailCommand extends $Command<
20
+ CreateTrailCommandInput,
21
+ CreateTrailCommandOutput,
22
+ CloudTrailClientResolvedConfig
23
+ > {
24
+ readonly input: CreateTrailCommandInput;
25
+ constructor(input: CreateTrailCommandInput);
26
+
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: CloudTrailClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<CreateTrailCommandInput, CreateTrailCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }