@aws-sdk/client-cloudtrail 3.686.0 → 3.691.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.
@@ -14,6 +14,7 @@ import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "../comman
14
14
  import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "../commands/DescribeTrailsCommand";
15
15
  import { DisableFederationCommandInput, DisableFederationCommandOutput } from "../commands/DisableFederationCommand";
16
16
  import { EnableFederationCommandInput, EnableFederationCommandOutput } from "../commands/EnableFederationCommand";
17
+ import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "../commands/GenerateQueryCommand";
17
18
  import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
18
19
  import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
19
20
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
@@ -105,6 +106,10 @@ export declare const se_DisableFederationCommand: (input: DisableFederationComma
105
106
  * serializeAws_json1_1EnableFederationCommand
106
107
  */
107
108
  export declare const se_EnableFederationCommand: (input: EnableFederationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
+ /**
110
+ * serializeAws_json1_1GenerateQueryCommand
111
+ */
112
+ export declare const se_GenerateQueryCommand: (input: GenerateQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
113
  /**
109
114
  * serializeAws_json1_1GetChannelCommand
110
115
  */
@@ -301,6 +306,10 @@ export declare const de_DisableFederationCommand: (output: __HttpResponse, conte
301
306
  * deserializeAws_json1_1EnableFederationCommand
302
307
  */
303
308
  export declare const de_EnableFederationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableFederationCommandOutput>;
309
+ /**
310
+ * deserializeAws_json1_1GenerateQueryCommand
311
+ */
312
+ export declare const de_GenerateQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateQueryCommandOutput>;
304
313
  /**
305
314
  * deserializeAws_json1_1GetChannelCommand
306
315
  */
@@ -56,6 +56,10 @@ import {
56
56
  EnableFederationCommandInput,
57
57
  EnableFederationCommandOutput,
58
58
  } from "./commands/EnableFederationCommand";
59
+ import {
60
+ GenerateQueryCommandInput,
61
+ GenerateQueryCommandOutput,
62
+ } from "./commands/GenerateQueryCommand";
59
63
  import {
60
64
  GetChannelCommandInput,
61
65
  GetChannelCommandOutput,
@@ -387,6 +391,19 @@ export interface CloudTrail {
387
391
  options: __HttpHandlerOptions,
388
392
  cb: (err: any, data?: EnableFederationCommandOutput) => void
389
393
  ): void;
394
+ generateQuery(
395
+ args: GenerateQueryCommandInput,
396
+ options?: __HttpHandlerOptions
397
+ ): Promise<GenerateQueryCommandOutput>;
398
+ generateQuery(
399
+ args: GenerateQueryCommandInput,
400
+ cb: (err: any, data?: GenerateQueryCommandOutput) => void
401
+ ): void;
402
+ generateQuery(
403
+ args: GenerateQueryCommandInput,
404
+ options: __HttpHandlerOptions,
405
+ cb: (err: any, data?: GenerateQueryCommandOutput) => void
406
+ ): void;
390
407
  getChannel(
391
408
  args: GetChannelCommandInput,
392
409
  options?: __HttpHandlerOptions
@@ -101,6 +101,10 @@ import {
101
101
  EnableFederationCommandInput,
102
102
  EnableFederationCommandOutput,
103
103
  } from "./commands/EnableFederationCommand";
104
+ import {
105
+ GenerateQueryCommandInput,
106
+ GenerateQueryCommandOutput,
107
+ } from "./commands/GenerateQueryCommand";
104
108
  import {
105
109
  GetChannelCommandInput,
106
110
  GetChannelCommandOutput,
@@ -263,6 +267,7 @@ export type ServiceInputTypes =
263
267
  | DescribeTrailsCommandInput
264
268
  | DisableFederationCommandInput
265
269
  | EnableFederationCommandInput
270
+ | GenerateQueryCommandInput
266
271
  | GetChannelCommandInput
267
272
  | GetEventDataStoreCommandInput
268
273
  | GetEventSelectorsCommandInput
@@ -313,6 +318,7 @@ export type ServiceOutputTypes =
313
318
  | DescribeTrailsCommandOutput
314
319
  | DisableFederationCommandOutput
315
320
  | EnableFederationCommandOutput
321
+ | GenerateQueryCommandOutput
316
322
  | GetChannelCommandOutput
317
323
  | GetEventDataStoreCommandOutput
318
324
  | GetEventSelectorsCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudTrailClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudTrailClient";
8
+ import {
9
+ GenerateQueryRequest,
10
+ GenerateQueryResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GenerateQueryCommandInput extends GenerateQueryRequest {}
15
+ export interface GenerateQueryCommandOutput
16
+ extends GenerateQueryResponse,
17
+ __MetadataBearer {}
18
+ declare const GenerateQueryCommand_base: {
19
+ new (
20
+ input: GenerateQueryCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GenerateQueryCommandInput,
23
+ GenerateQueryCommandOutput,
24
+ CloudTrailClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GenerateQueryCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GenerateQueryCommandInput,
32
+ GenerateQueryCommandOutput,
33
+ CloudTrailClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GenerateQueryCommand extends GenerateQueryCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GenerateQueryRequest;
43
+ output: GenerateQueryResponse;
44
+ };
45
+ sdk: {
46
+ input: GenerateQueryCommandInput;
47
+ output: GenerateQueryCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -12,6 +12,7 @@ export * from "./DescribeQueryCommand";
12
12
  export * from "./DescribeTrailsCommand";
13
13
  export * from "./DisableFederationCommand";
14
14
  export * from "./EnableFederationCommand";
15
+ export * from "./GenerateQueryCommand";
15
16
  export * from "./GetChannelCommand";
16
17
  export * from "./GetEventDataStoreCommand";
17
18
  export * from "./GetEventSelectorsCommand";