@aws-sdk/client-cloudtrail 3.344.0 → 3.347.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.
- package/README.md +293 -0
- package/dist-cjs/CloudTrail.js +4 -0
- package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +46 -0
- package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +136 -2
- package/dist-es/CloudTrail.js +4 -0
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +42 -0
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +130 -0
- package/dist-types/CloudTrail.d.ts +292 -1
- package/dist-types/CloudTrailClient.d.ts +282 -3
- package/dist-types/commands/AddTagsCommand.d.ts +2 -2
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +4 -3
- package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTrailCommand.d.ts +5 -5
- package/dist-types/commands/DescribeTrailsCommand.d.ts +1 -1
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailStatusCommand.d.ts +3 -3
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -2
- package/dist-types/commands/ListPublicKeysCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsCommand.d.ts +2 -2
- package/dist-types/commands/LookupEventsCommand.d.ts +2 -2
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +4 -4
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +109 -0
- package/dist-types/commands/StartLoggingCommand.d.ts +5 -5
- package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +109 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +6 -6
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTrailCommand.d.ts +7 -7
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +278 -1
- package/dist-types/models/models_0.d.ts +98 -57
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +34 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +28 -28
|
@@ -34,9 +34,11 @@ export * from "./PutResourcePolicyCommand";
|
|
|
34
34
|
export * from "./RegisterOrganizationDelegatedAdminCommand";
|
|
35
35
|
export * from "./RemoveTagsCommand";
|
|
36
36
|
export * from "./RestoreEventDataStoreCommand";
|
|
37
|
+
export * from "./StartEventDataStoreIngestionCommand";
|
|
37
38
|
export * from "./StartImportCommand";
|
|
38
39
|
export * from "./StartLoggingCommand";
|
|
39
40
|
export * from "./StartQueryCommand";
|
|
41
|
+
export * from "./StopEventDataStoreIngestionCommand";
|
|
40
42
|
export * from "./StopImportCommand";
|
|
41
43
|
export * from "./StopLoggingCommand";
|
|
42
44
|
export * from "./UpdateChannelCommand";
|
|
@@ -346,11 +346,15 @@ export interface CreateEventDataStoreRequest {
|
|
|
346
346
|
TerminationProtectionEnabled?: boolean;
|
|
347
347
|
TagsList?: Tag[];
|
|
348
348
|
KmsKeyId?: string;
|
|
349
|
+
StartIngestion?: boolean;
|
|
349
350
|
}
|
|
350
351
|
export declare const EventDataStoreStatus: {
|
|
351
352
|
readonly CREATED: "CREATED";
|
|
352
353
|
readonly ENABLED: "ENABLED";
|
|
353
354
|
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
355
|
+
readonly STARTING_INGESTION: "STARTING_INGESTION";
|
|
356
|
+
readonly STOPPED_INGESTION: "STOPPED_INGESTION";
|
|
357
|
+
readonly STOPPING_INGESTION: "STOPPING_INGESTION";
|
|
354
358
|
};
|
|
355
359
|
export type EventDataStoreStatus =
|
|
356
360
|
(typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
|
|
@@ -1296,6 +1300,10 @@ export interface RestoreEventDataStoreResponse {
|
|
|
1296
1300
|
UpdatedTimestamp?: Date;
|
|
1297
1301
|
KmsKeyId?: string;
|
|
1298
1302
|
}
|
|
1303
|
+
export interface StartEventDataStoreIngestionRequest {
|
|
1304
|
+
EventDataStore: string | undefined;
|
|
1305
|
+
}
|
|
1306
|
+
export interface StartEventDataStoreIngestionResponse {}
|
|
1299
1307
|
export declare class InvalidImportSourceException extends __BaseException {
|
|
1300
1308
|
readonly name: "InvalidImportSourceException";
|
|
1301
1309
|
readonly $fault: "client";
|
|
@@ -1348,6 +1356,10 @@ export interface StartQueryRequest {
|
|
|
1348
1356
|
export interface StartQueryResponse {
|
|
1349
1357
|
QueryId?: string;
|
|
1350
1358
|
}
|
|
1359
|
+
export interface StopEventDataStoreIngestionRequest {
|
|
1360
|
+
EventDataStore: string | undefined;
|
|
1361
|
+
}
|
|
1362
|
+
export interface StopEventDataStoreIngestionResponse {}
|
|
1351
1363
|
export interface StopImportRequest {
|
|
1352
1364
|
ImportId: string | undefined;
|
|
1353
1365
|
}
|
|
@@ -147,6 +147,10 @@ import {
|
|
|
147
147
|
RestoreEventDataStoreCommandInput,
|
|
148
148
|
RestoreEventDataStoreCommandOutput,
|
|
149
149
|
} from "../commands/RestoreEventDataStoreCommand";
|
|
150
|
+
import {
|
|
151
|
+
StartEventDataStoreIngestionCommandInput,
|
|
152
|
+
StartEventDataStoreIngestionCommandOutput,
|
|
153
|
+
} from "../commands/StartEventDataStoreIngestionCommand";
|
|
150
154
|
import {
|
|
151
155
|
StartImportCommandInput,
|
|
152
156
|
StartImportCommandOutput,
|
|
@@ -159,6 +163,10 @@ import {
|
|
|
159
163
|
StartQueryCommandInput,
|
|
160
164
|
StartQueryCommandOutput,
|
|
161
165
|
} from "../commands/StartQueryCommand";
|
|
166
|
+
import {
|
|
167
|
+
StopEventDataStoreIngestionCommandInput,
|
|
168
|
+
StopEventDataStoreIngestionCommandOutput,
|
|
169
|
+
} from "../commands/StopEventDataStoreIngestionCommand";
|
|
162
170
|
import {
|
|
163
171
|
StopImportCommandInput,
|
|
164
172
|
StopImportCommandOutput,
|
|
@@ -323,6 +331,10 @@ export declare const se_RestoreEventDataStoreCommand: (
|
|
|
323
331
|
input: RestoreEventDataStoreCommandInput,
|
|
324
332
|
context: __SerdeContext
|
|
325
333
|
) => Promise<__HttpRequest>;
|
|
334
|
+
export declare const se_StartEventDataStoreIngestionCommand: (
|
|
335
|
+
input: StartEventDataStoreIngestionCommandInput,
|
|
336
|
+
context: __SerdeContext
|
|
337
|
+
) => Promise<__HttpRequest>;
|
|
326
338
|
export declare const se_StartImportCommand: (
|
|
327
339
|
input: StartImportCommandInput,
|
|
328
340
|
context: __SerdeContext
|
|
@@ -335,6 +347,10 @@ export declare const se_StartQueryCommand: (
|
|
|
335
347
|
input: StartQueryCommandInput,
|
|
336
348
|
context: __SerdeContext
|
|
337
349
|
) => Promise<__HttpRequest>;
|
|
350
|
+
export declare const se_StopEventDataStoreIngestionCommand: (
|
|
351
|
+
input: StopEventDataStoreIngestionCommandInput,
|
|
352
|
+
context: __SerdeContext
|
|
353
|
+
) => Promise<__HttpRequest>;
|
|
338
354
|
export declare const se_StopImportCommand: (
|
|
339
355
|
input: StopImportCommandInput,
|
|
340
356
|
context: __SerdeContext
|
|
@@ -499,6 +515,10 @@ export declare const de_RestoreEventDataStoreCommand: (
|
|
|
499
515
|
output: __HttpResponse,
|
|
500
516
|
context: __SerdeContext
|
|
501
517
|
) => Promise<RestoreEventDataStoreCommandOutput>;
|
|
518
|
+
export declare const de_StartEventDataStoreIngestionCommand: (
|
|
519
|
+
output: __HttpResponse,
|
|
520
|
+
context: __SerdeContext
|
|
521
|
+
) => Promise<StartEventDataStoreIngestionCommandOutput>;
|
|
502
522
|
export declare const de_StartImportCommand: (
|
|
503
523
|
output: __HttpResponse,
|
|
504
524
|
context: __SerdeContext
|
|
@@ -511,6 +531,10 @@ export declare const de_StartQueryCommand: (
|
|
|
511
531
|
output: __HttpResponse,
|
|
512
532
|
context: __SerdeContext
|
|
513
533
|
) => Promise<StartQueryCommandOutput>;
|
|
534
|
+
export declare const de_StopEventDataStoreIngestionCommand: (
|
|
535
|
+
output: __HttpResponse,
|
|
536
|
+
context: __SerdeContext
|
|
537
|
+
) => Promise<StopEventDataStoreIngestionCommandOutput>;
|
|
514
538
|
export declare const de_StopImportCommand: (
|
|
515
539
|
output: __HttpResponse,
|
|
516
540
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.347.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.347.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.347.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.347.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.347.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.347.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.347.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.347.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.347.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.347.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.347.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.347.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.347.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.347.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
|
+
"@aws-sdk/types": "3.347.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.347.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.347.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.347.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.347.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.347.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.347.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|