@aws-sdk/client-cloudtrail 3.45.0 → 3.47.2

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 (93) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/CloudTrail.js +165 -0
  3. package/dist-cjs/commands/CancelQueryCommand.js +36 -0
  4. package/dist-cjs/commands/CreateEventDataStoreCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeQueryCommand.js +36 -0
  7. package/dist-cjs/commands/GetEventDataStoreCommand.js +36 -0
  8. package/dist-cjs/commands/GetQueryResultsCommand.js +36 -0
  9. package/dist-cjs/commands/ListEventDataStoresCommand.js +36 -0
  10. package/dist-cjs/commands/ListQueriesCommand.js +36 -0
  11. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +36 -0
  12. package/dist-cjs/commands/StartQueryCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +36 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/endpoints.js +0 -16
  16. package/dist-cjs/models/models_0.js +158 -252
  17. package/dist-cjs/pagination/GetQueryResultsPaginator.js +34 -0
  18. package/dist-cjs/pagination/ListEventDataStoresPaginator.js +35 -0
  19. package/dist-cjs/pagination/ListQueriesPaginator.js +35 -0
  20. package/dist-cjs/pagination/index.js +3 -0
  21. package/dist-cjs/protocols/Aws_json1_1.js +2319 -389
  22. package/dist-cjs/runtimeConfig.browser.js +7 -2
  23. package/dist-cjs/runtimeConfig.js +9 -3
  24. package/dist-es/CloudTrail.js +165 -0
  25. package/dist-es/commands/CancelQueryCommand.js +39 -0
  26. package/dist-es/commands/CreateEventDataStoreCommand.js +39 -0
  27. package/dist-es/commands/DeleteEventDataStoreCommand.js +39 -0
  28. package/dist-es/commands/DescribeQueryCommand.js +39 -0
  29. package/dist-es/commands/GetEventDataStoreCommand.js +39 -0
  30. package/dist-es/commands/GetQueryResultsCommand.js +39 -0
  31. package/dist-es/commands/ListEventDataStoresCommand.js +39 -0
  32. package/dist-es/commands/ListQueriesCommand.js +39 -0
  33. package/dist-es/commands/RestoreEventDataStoreCommand.js +39 -0
  34. package/dist-es/commands/StartQueryCommand.js +39 -0
  35. package/dist-es/commands/UpdateEventDataStoreCommand.js +39 -0
  36. package/dist-es/commands/index.js +11 -0
  37. package/dist-es/endpoints.js +0 -16
  38. package/dist-es/models/models_0.js +118 -176
  39. package/dist-es/pagination/GetQueryResultsPaginator.js +73 -0
  40. package/dist-es/pagination/ListEventDataStoresPaginator.js +74 -0
  41. package/dist-es/pagination/ListQueriesPaginator.js +74 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_json1_1.js +2669 -704
  44. package/dist-es/runtimeConfig.browser.js +12 -3
  45. package/dist-es/runtimeConfig.js +13 -6
  46. package/dist-types/CloudTrail.d.ts +100 -1
  47. package/dist-types/CloudTrailClient.d.ts +18 -3
  48. package/dist-types/commands/CancelQueryCommand.d.ts +37 -0
  49. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +35 -0
  50. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +41 -0
  51. package/dist-types/commands/DescribeQueryCommand.d.ts +36 -0
  52. package/dist-types/commands/GetEventDataStoreCommand.d.ts +35 -0
  53. package/dist-types/commands/GetQueryResultsCommand.d.ts +36 -0
  54. package/dist-types/commands/ListEventDataStoresCommand.d.ts +35 -0
  55. package/dist-types/commands/ListQueriesCommand.d.ts +39 -0
  56. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +1 -1
  57. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +37 -0
  58. package/dist-types/commands/StartQueryCommand.d.ts +36 -0
  59. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +40 -0
  60. package/dist-types/commands/index.d.ts +11 -0
  61. package/dist-types/models/models_0.d.ts +926 -328
  62. package/dist-types/pagination/GetQueryResultsPaginator.d.ts +4 -0
  63. package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  64. package/dist-types/pagination/ListQueriesPaginator.d.ts +4 -0
  65. package/dist-types/pagination/index.d.ts +3 -0
  66. package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
  67. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  68. package/dist-types/runtimeConfig.d.ts +4 -3
  69. package/dist-types/runtimeConfig.native.d.ts +1 -0
  70. package/dist-types/ts3.4/CloudTrail.d.ts +55 -0
  71. package/dist-types/ts3.4/CloudTrailClient.d.ts +16 -3
  72. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +523 -205
  85. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +33 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  93. package/package.json +39 -46
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "../commands/GetQueryResultsCommand";
3
+ import { CloudTrailPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetQueryResults(config: CloudTrailPaginationConfiguration, input: GetQueryResultsCommandInput, ...additionalArguments: any): Paginator<GetQueryResultsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "../commands/ListEventDataStoresCommand";
3
+ import { CloudTrailPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListEventDataStores(config: CloudTrailPaginationConfiguration, input: ListEventDataStoresCommandInput, ...additionalArguments: any): Paginator<ListEventDataStoresCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "../commands/ListQueriesCommand";
3
+ import { CloudTrailPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListQueries(config: CloudTrailPaginationConfiguration, input: ListQueriesCommandInput, ...additionalArguments: any): Paginator<ListQueriesCommandOutput>;
@@ -1,5 +1,8 @@
1
+ export * from "./GetQueryResultsPaginator";
1
2
  export * from "./Interfaces";
3
+ export * from "./ListEventDataStoresPaginator";
2
4
  export * from "./ListPublicKeysPaginator";
5
+ export * from "./ListQueriesPaginator";
3
6
  export * from "./ListTagsPaginator";
4
7
  export * from "./ListTrailsPaginator";
5
8
  export * from "./LookupEventsPaginator";
@@ -1,56 +1,89 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
4
+ import { CancelQueryCommandInput, CancelQueryCommandOutput } from "../commands/CancelQueryCommand";
5
+ import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "../commands/CreateEventDataStoreCommand";
4
6
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "../commands/CreateTrailCommand";
7
+ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "../commands/DeleteEventDataStoreCommand";
5
8
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "../commands/DeleteTrailCommand";
9
+ import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "../commands/DescribeQueryCommand";
6
10
  import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "../commands/DescribeTrailsCommand";
11
+ import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
7
12
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
8
13
  import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "../commands/GetInsightSelectorsCommand";
14
+ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "../commands/GetQueryResultsCommand";
9
15
  import { GetTrailCommandInput, GetTrailCommandOutput } from "../commands/GetTrailCommand";
10
16
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "../commands/GetTrailStatusCommand";
17
+ import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "../commands/ListEventDataStoresCommand";
11
18
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "../commands/ListPublicKeysCommand";
19
+ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "../commands/ListQueriesCommand";
12
20
  import { ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand";
13
21
  import { ListTrailsCommandInput, ListTrailsCommandOutput } from "../commands/ListTrailsCommand";
14
22
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "../commands/LookupEventsCommand";
15
23
  import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "../commands/PutEventSelectorsCommand";
16
24
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "../commands/PutInsightSelectorsCommand";
17
25
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/RemoveTagsCommand";
26
+ import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "../commands/RestoreEventDataStoreCommand";
18
27
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "../commands/StartLoggingCommand";
28
+ import { StartQueryCommandInput, StartQueryCommandOutput } from "../commands/StartQueryCommand";
19
29
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "../commands/StopLoggingCommand";
30
+ import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "../commands/UpdateEventDataStoreCommand";
20
31
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "../commands/UpdateTrailCommand";
21
32
  export declare const serializeAws_json1_1AddTagsCommand: (input: AddTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const serializeAws_json1_1CancelQueryCommand: (input: CancelQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ export declare const serializeAws_json1_1CreateEventDataStoreCommand: (input: CreateEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
35
  export declare const serializeAws_json1_1CreateTrailCommand: (input: CreateTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ export declare const serializeAws_json1_1DeleteEventDataStoreCommand: (input: DeleteEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
37
  export declare const serializeAws_json1_1DeleteTrailCommand: (input: DeleteTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_json1_1DescribeQueryCommand: (input: DescribeQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
39
  export declare const serializeAws_json1_1DescribeTrailsCommand: (input: DescribeTrailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ export declare const serializeAws_json1_1GetEventDataStoreCommand: (input: GetEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
41
  export declare const serializeAws_json1_1GetEventSelectorsCommand: (input: GetEventSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
42
  export declare const serializeAws_json1_1GetInsightSelectorsCommand: (input: GetInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ export declare const serializeAws_json1_1GetQueryResultsCommand: (input: GetQueryResultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
44
  export declare const serializeAws_json1_1GetTrailCommand: (input: GetTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
45
  export declare const serializeAws_json1_1GetTrailStatusCommand: (input: GetTrailStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
+ export declare const serializeAws_json1_1ListEventDataStoresCommand: (input: ListEventDataStoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
47
  export declare const serializeAws_json1_1ListPublicKeysCommand: (input: ListPublicKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ export declare const serializeAws_json1_1ListQueriesCommand: (input: ListQueriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
49
  export declare const serializeAws_json1_1ListTagsCommand: (input: ListTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
50
  export declare const serializeAws_json1_1ListTrailsCommand: (input: ListTrailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
51
  export declare const serializeAws_json1_1LookupEventsCommand: (input: LookupEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
52
  export declare const serializeAws_json1_1PutEventSelectorsCommand: (input: PutEventSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
53
  export declare const serializeAws_json1_1PutInsightSelectorsCommand: (input: PutInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
54
  export declare const serializeAws_json1_1RemoveTagsCommand: (input: RemoveTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ export declare const serializeAws_json1_1RestoreEventDataStoreCommand: (input: RestoreEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
56
  export declare const serializeAws_json1_1StartLoggingCommand: (input: StartLoggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ export declare const serializeAws_json1_1StartQueryCommand: (input: StartQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
58
  export declare const serializeAws_json1_1StopLoggingCommand: (input: StopLoggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
+ export declare const serializeAws_json1_1UpdateEventDataStoreCommand: (input: UpdateEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
60
  export declare const serializeAws_json1_1UpdateTrailCommand: (input: UpdateTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
61
  export declare const deserializeAws_json1_1AddTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddTagsCommandOutput>;
62
+ export declare const deserializeAws_json1_1CancelQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelQueryCommandOutput>;
63
+ export declare const deserializeAws_json1_1CreateEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEventDataStoreCommandOutput>;
40
64
  export declare const deserializeAws_json1_1CreateTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTrailCommandOutput>;
65
+ export declare const deserializeAws_json1_1DeleteEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEventDataStoreCommandOutput>;
41
66
  export declare const deserializeAws_json1_1DeleteTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTrailCommandOutput>;
67
+ export declare const deserializeAws_json1_1DescribeQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeQueryCommandOutput>;
42
68
  export declare const deserializeAws_json1_1DescribeTrailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTrailsCommandOutput>;
69
+ export declare const deserializeAws_json1_1GetEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventDataStoreCommandOutput>;
43
70
  export declare const deserializeAws_json1_1GetEventSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventSelectorsCommandOutput>;
44
71
  export declare const deserializeAws_json1_1GetInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInsightSelectorsCommandOutput>;
72
+ export declare const deserializeAws_json1_1GetQueryResultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueryResultsCommandOutput>;
45
73
  export declare const deserializeAws_json1_1GetTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailCommandOutput>;
46
74
  export declare const deserializeAws_json1_1GetTrailStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailStatusCommandOutput>;
75
+ export declare const deserializeAws_json1_1ListEventDataStoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventDataStoresCommandOutput>;
47
76
  export declare const deserializeAws_json1_1ListPublicKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPublicKeysCommandOutput>;
77
+ export declare const deserializeAws_json1_1ListQueriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueriesCommandOutput>;
48
78
  export declare const deserializeAws_json1_1ListTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsCommandOutput>;
49
79
  export declare const deserializeAws_json1_1ListTrailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrailsCommandOutput>;
50
80
  export declare const deserializeAws_json1_1LookupEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LookupEventsCommandOutput>;
51
81
  export declare const deserializeAws_json1_1PutEventSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutEventSelectorsCommandOutput>;
52
82
  export declare const deserializeAws_json1_1PutInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInsightSelectorsCommandOutput>;
53
83
  export declare const deserializeAws_json1_1RemoveTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveTagsCommandOutput>;
84
+ export declare const deserializeAws_json1_1RestoreEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreEventDataStoreCommandOutput>;
54
85
  export declare const deserializeAws_json1_1StartLoggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartLoggingCommandOutput>;
86
+ export declare const deserializeAws_json1_1StartQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartQueryCommandOutput>;
55
87
  export declare const deserializeAws_json1_1StopLoggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopLoggingCommandOutput>;
88
+ export declare const deserializeAws_json1_1UpdateEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEventDataStoreCommandOutput>;
56
89
  export declare const deserializeAws_json1_1UpdateTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTrailCommandOutput>;
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CloudTrailClientConfig } from "./CloudTrailClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CloudTrailClientConfig } from "./CloudTrailClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -1,22 +1,33 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CloudTrailClient } from "./CloudTrailClient";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
+ import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
5
+ import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
4
6
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
7
+ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
5
8
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
9
+ import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
6
10
  import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
11
+ import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
7
12
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
8
13
  import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
14
+ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
9
15
  import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
10
16
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
17
+ import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
11
18
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
19
+ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
12
20
  import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
13
21
  import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
14
22
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
15
23
  import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
16
24
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
17
25
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
26
+ import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
18
27
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
28
+ import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
19
29
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
30
+ import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
20
31
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
21
32
 
22
33
  export declare class CloudTrail extends CloudTrailClient {
@@ -25,18 +36,38 @@ export declare class CloudTrail extends CloudTrailClient {
25
36
  addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
26
37
  addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
27
38
 
39
+ cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise<CancelQueryCommandOutput>;
40
+ cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
41
+ cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void;
42
+
43
+ createEventDataStore(args: CreateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventDataStoreCommandOutput>;
44
+ createEventDataStore(args: CreateEventDataStoreCommandInput, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void;
45
+ createEventDataStore(args: CreateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void;
46
+
28
47
  createTrail(args: CreateTrailCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrailCommandOutput>;
29
48
  createTrail(args: CreateTrailCommandInput, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
30
49
  createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
31
50
 
51
+ deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventDataStoreCommandOutput>;
52
+ deleteEventDataStore(args: DeleteEventDataStoreCommandInput, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
53
+ deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
54
+
32
55
  deleteTrail(args: DeleteTrailCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTrailCommandOutput>;
33
56
  deleteTrail(args: DeleteTrailCommandInput, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
34
57
  deleteTrail(args: DeleteTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void;
35
58
 
59
+ describeQuery(args: DescribeQueryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQueryCommandOutput>;
60
+ describeQuery(args: DescribeQueryCommandInput, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void;
61
+ describeQuery(args: DescribeQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void;
62
+
36
63
  describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrailsCommandOutput>;
37
64
  describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
38
65
  describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
39
66
 
67
+ getEventDataStore(args: GetEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<GetEventDataStoreCommandOutput>;
68
+ getEventDataStore(args: GetEventDataStoreCommandInput, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
69
+ getEventDataStore(args: GetEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
70
+
40
71
  getEventSelectors(args: GetEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetEventSelectorsCommandOutput>;
41
72
  getEventSelectors(args: GetEventSelectorsCommandInput, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
42
73
  getEventSelectors(args: GetEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void;
@@ -45,6 +76,10 @@ export declare class CloudTrail extends CloudTrailClient {
45
76
  getInsightSelectors(args: GetInsightSelectorsCommandInput, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
46
77
  getInsightSelectors(args: GetInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void;
47
78
 
79
+ getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryResultsCommandOutput>;
80
+ getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
81
+ getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void;
82
+
48
83
  getTrail(args: GetTrailCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailCommandOutput>;
49
84
  getTrail(args: GetTrailCommandInput, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
50
85
  getTrail(args: GetTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailCommandOutput) => void): void;
@@ -53,10 +88,18 @@ export declare class CloudTrail extends CloudTrailClient {
53
88
  getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
54
89
  getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
55
90
 
91
+ listEventDataStores(args: ListEventDataStoresCommandInput, options?: __HttpHandlerOptions): Promise<ListEventDataStoresCommandOutput>;
92
+ listEventDataStores(args: ListEventDataStoresCommandInput, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
93
+ listEventDataStores(args: ListEventDataStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
94
+
56
95
  listPublicKeys(args: ListPublicKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListPublicKeysCommandOutput>;
57
96
  listPublicKeys(args: ListPublicKeysCommandInput, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
58
97
  listPublicKeys(args: ListPublicKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void;
59
98
 
99
+ listQueries(args: ListQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListQueriesCommandOutput>;
100
+ listQueries(args: ListQueriesCommandInput, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
101
+ listQueries(args: ListQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
102
+
60
103
  listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
61
104
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
62
105
  listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
@@ -81,14 +124,26 @@ export declare class CloudTrail extends CloudTrailClient {
81
124
  removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
82
125
  removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void;
83
126
 
127
+ restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<RestoreEventDataStoreCommandOutput>;
128
+ restoreEventDataStore(args: RestoreEventDataStoreCommandInput, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
129
+ restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void;
130
+
84
131
  startLogging(args: StartLoggingCommandInput, options?: __HttpHandlerOptions): Promise<StartLoggingCommandOutput>;
85
132
  startLogging(args: StartLoggingCommandInput, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
86
133
  startLogging(args: StartLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLoggingCommandOutput) => void): void;
87
134
 
135
+ startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartQueryCommandOutput>;
136
+ startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
137
+ startQuery(args: StartQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryCommandOutput) => void): void;
138
+
88
139
  stopLogging(args: StopLoggingCommandInput, options?: __HttpHandlerOptions): Promise<StopLoggingCommandOutput>;
89
140
  stopLogging(args: StopLoggingCommandInput, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
90
141
  stopLogging(args: StopLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopLoggingCommandOutput) => void): void;
91
142
 
143
+ updateEventDataStore(args: UpdateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventDataStoreCommandOutput>;
144
+ updateEventDataStore(args: UpdateEventDataStoreCommandInput, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void;
145
+ updateEventDataStore(args: UpdateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void;
146
+
92
147
  updateTrail(args: UpdateTrailCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTrailCommandOutput>;
93
148
  updateTrail(args: UpdateTrailCommandInput, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void;
94
149
  updateTrail(args: UpdateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void;
@@ -4,28 +4,39 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { 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
9
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
10
+ import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
11
+ import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
10
12
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
13
+ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
11
14
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
15
+ import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
12
16
  import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
17
+ import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
13
18
  import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
14
19
  import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
20
+ import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
15
21
  import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
16
22
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
23
+ import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
17
24
  import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
25
+ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
18
26
  import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
19
27
  import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
20
28
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
21
29
  import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
22
30
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
23
31
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
32
+ import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
24
33
  import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/StartLoggingCommand";
34
+ import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
25
35
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
36
+ import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
26
37
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
27
- export declare type ServiceInputTypes = AddTagsCommandInput | CreateTrailCommandInput | DeleteTrailCommandInput | DescribeTrailsCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListPublicKeysCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | StartLoggingCommandInput | StopLoggingCommandInput | UpdateTrailCommandInput;
28
- export declare type ServiceOutputTypes = AddTagsCommandOutput | CreateTrailCommandOutput | DeleteTrailCommandOutput | DescribeTrailsCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListPublicKeysCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | StartLoggingCommandOutput | StopLoggingCommandOutput | UpdateTrailCommandOutput;
38
+ export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
39
+ export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
29
40
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
30
41
 
31
42
  requestHandler?: __HttpHandler;
@@ -69,6 +80,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
69
80
  regionInfoProvider?: RegionInfoProvider;
70
81
 
71
82
  defaultUserAgentProvider?: Provider<__UserAgent>;
83
+
84
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
72
85
  }
73
86
  declare type CloudTrailClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
74
87
 
@@ -0,0 +1,17 @@
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
+ }
@@ -0,0 +1,17 @@
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
+ }
@@ -0,0 +1,17 @@
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 { DeleteEventDataStoreRequest, DeleteEventDataStoreResponse } from "../models/models_0";
5
+ export interface DeleteEventDataStoreCommandInput extends DeleteEventDataStoreRequest {
6
+ }
7
+ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteEventDataStoreCommand extends $Command<DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: DeleteEventDataStoreCommandInput;
12
+ constructor(input: DeleteEventDataStoreCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { DescribeQueryRequest, DescribeQueryResponse } from "../models/models_0";
5
+ export interface DescribeQueryCommandInput extends DescribeQueryRequest {
6
+ }
7
+ export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeQueryCommand extends $Command<DescribeQueryCommandInput, DescribeQueryCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: DescribeQueryCommandInput;
12
+ constructor(input: DescribeQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeQueryCommandInput, DescribeQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { GetEventDataStoreRequest, GetEventDataStoreResponse } from "../models/models_0";
5
+ export interface GetEventDataStoreCommandInput extends GetEventDataStoreRequest {
6
+ }
7
+ export interface GetEventDataStoreCommandOutput extends GetEventDataStoreResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetEventDataStoreCommand extends $Command<GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: GetEventDataStoreCommandInput;
12
+ constructor(input: GetEventDataStoreCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { GetQueryResultsRequest, GetQueryResultsResponse } from "../models/models_0";
5
+ export interface GetQueryResultsCommandInput extends GetQueryResultsRequest {
6
+ }
7
+ export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetQueryResultsCommand extends $Command<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: GetQueryResultsCommandInput;
12
+ constructor(input: GetQueryResultsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueryResultsCommandInput, GetQueryResultsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { ListEventDataStoresRequest, ListEventDataStoresResponse } from "../models/models_0";
5
+ export interface ListEventDataStoresCommandInput extends ListEventDataStoresRequest {
6
+ }
7
+ export interface ListEventDataStoresCommandOutput extends ListEventDataStoresResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListEventDataStoresCommand extends $Command<ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: ListEventDataStoresCommandInput;
12
+ constructor(input: ListEventDataStoresCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { ListQueriesRequest, ListQueriesResponse } from "../models/models_0";
5
+ export interface ListQueriesCommandInput extends ListQueriesRequest {
6
+ }
7
+ export interface ListQueriesCommandOutput extends ListQueriesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListQueriesCommand extends $Command<ListQueriesCommandInput, ListQueriesCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: ListQueriesCommandInput;
12
+ constructor(input: ListQueriesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListQueriesCommandInput, ListQueriesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { RestoreEventDataStoreRequest, RestoreEventDataStoreResponse } from "../models/models_0";
5
+ export interface RestoreEventDataStoreCommandInput extends RestoreEventDataStoreRequest {
6
+ }
7
+ export interface RestoreEventDataStoreCommandOutput extends RestoreEventDataStoreResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class RestoreEventDataStoreCommand extends $Command<RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: RestoreEventDataStoreCommandInput;
12
+ constructor(input: RestoreEventDataStoreCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { StartQueryRequest, StartQueryResponse } from "../models/models_0";
5
+ export interface StartQueryCommandInput extends StartQueryRequest {
6
+ }
7
+ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class StartQueryCommand extends $Command<StartQueryCommandInput, StartQueryCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: StartQueryCommandInput;
12
+ constructor(input: StartQueryCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartQueryCommandInput, StartQueryCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { UpdateEventDataStoreRequest, UpdateEventDataStoreResponse } from "../models/models_0";
5
+ export interface UpdateEventDataStoreCommandInput extends UpdateEventDataStoreRequest {
6
+ }
7
+ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateEventDataStoreCommand extends $Command<UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
11
+ readonly input: UpdateEventDataStoreCommandInput;
12
+ constructor(input: UpdateEventDataStoreCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }