@aws-sdk/client-cloudtrail 3.300.0 → 3.303.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/dist-cjs/models/models_0.js +62 -72
- package/dist-es/models/models_0.js +62 -72
- package/dist-types/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/CancelQueryCommand.d.ts +1 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +5 -5
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +9 -11
- package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrailCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQueryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -2
- package/dist-types/commands/GetChannelCommand.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/GetImportCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailStatusCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +1 -1
- package/dist-types/commands/ListImportFailuresCommand.d.ts +1 -1
- package/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListQueriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +2 -2
- package/dist-types/commands/ListTrailsCommand.d.ts +1 -1
- package/dist-types/commands/LookupEventsCommand.d.ts +3 -3
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +13 -15
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +3 -3
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/StartImportCommand.d.ts +4 -4
- package/dist-types/commands/StartLoggingCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryCommand.d.ts +1 -1
- package/dist-types/commands/StopImportCommand.d.ts +1 -1
- package/dist-types/commands/StopLoggingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +7 -9
- package/dist-types/commands/UpdateTrailCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +112 -62
- package/dist-types/ts3.4/models/models_0.d.ts +77 -62
- package/package.json +34 -34
|
@@ -186,14 +186,15 @@ export interface CancelQueryRequest {
|
|
|
186
186
|
EventDataStore?: string;
|
|
187
187
|
QueryId: string | undefined;
|
|
188
188
|
}
|
|
189
|
-
export declare
|
|
190
|
-
CANCELLED
|
|
191
|
-
FAILED
|
|
192
|
-
FINISHED
|
|
193
|
-
QUEUED
|
|
194
|
-
RUNNING
|
|
195
|
-
TIMED_OUT
|
|
196
|
-
}
|
|
189
|
+
export declare const QueryStatus: {
|
|
190
|
+
readonly CANCELLED: "CANCELLED";
|
|
191
|
+
readonly FAILED: "FAILED";
|
|
192
|
+
readonly FINISHED: "FINISHED";
|
|
193
|
+
readonly QUEUED: "QUEUED";
|
|
194
|
+
readonly RUNNING: "RUNNING";
|
|
195
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
196
|
+
};
|
|
197
|
+
export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
|
|
197
198
|
export interface CancelQueryResponse {
|
|
198
199
|
QueryId: string | undefined;
|
|
199
200
|
QueryStatus: QueryStatus | string | undefined;
|
|
@@ -283,10 +284,12 @@ export declare class ChannelMaxLimitExceededException extends __BaseException {
|
|
|
283
284
|
>
|
|
284
285
|
);
|
|
285
286
|
}
|
|
286
|
-
export declare
|
|
287
|
-
AWS_SERVICE
|
|
288
|
-
EVENT_DATA_STORE
|
|
289
|
-
}
|
|
287
|
+
export declare const DestinationType: {
|
|
288
|
+
readonly AWS_SERVICE: "AWS_SERVICE";
|
|
289
|
+
readonly EVENT_DATA_STORE: "EVENT_DATA_STORE";
|
|
290
|
+
};
|
|
291
|
+
export type DestinationType =
|
|
292
|
+
(typeof DestinationType)[keyof typeof DestinationType];
|
|
290
293
|
export interface Destination {
|
|
291
294
|
Type: DestinationType | string | undefined;
|
|
292
295
|
Location: string | undefined;
|
|
@@ -344,11 +347,13 @@ export interface CreateEventDataStoreRequest {
|
|
|
344
347
|
TagsList?: Tag[];
|
|
345
348
|
KmsKeyId?: string;
|
|
346
349
|
}
|
|
347
|
-
export declare
|
|
348
|
-
CREATED
|
|
349
|
-
ENABLED
|
|
350
|
-
PENDING_DELETION
|
|
351
|
-
}
|
|
350
|
+
export declare const EventDataStoreStatus: {
|
|
351
|
+
readonly CREATED: "CREATED";
|
|
352
|
+
readonly ENABLED: "ENABLED";
|
|
353
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
354
|
+
};
|
|
355
|
+
export type EventDataStoreStatus =
|
|
356
|
+
(typeof EventDataStoreStatus)[keyof typeof EventDataStoreStatus];
|
|
352
357
|
export interface CreateEventDataStoreResponse {
|
|
353
358
|
EventDataStoreArn?: string;
|
|
354
359
|
Name?: string;
|
|
@@ -721,17 +726,19 @@ export interface DescribeQueryRequest {
|
|
|
721
726
|
EventDataStore?: string;
|
|
722
727
|
QueryId: string | undefined;
|
|
723
728
|
}
|
|
724
|
-
export declare
|
|
725
|
-
ACCESS_DENIED
|
|
726
|
-
ACCESS_DENIED_SIGNING_FILE
|
|
727
|
-
CANCELLED
|
|
728
|
-
FAILED
|
|
729
|
-
FAILED_SIGNING_FILE
|
|
730
|
-
PENDING
|
|
731
|
-
RESOURCE_NOT_FOUND
|
|
732
|
-
SUCCESS
|
|
733
|
-
UNKNOWN
|
|
734
|
-
}
|
|
729
|
+
export declare const DeliveryStatus: {
|
|
730
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
731
|
+
readonly ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE";
|
|
732
|
+
readonly CANCELLED: "CANCELLED";
|
|
733
|
+
readonly FAILED: "FAILED";
|
|
734
|
+
readonly FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE";
|
|
735
|
+
readonly PENDING: "PENDING";
|
|
736
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
737
|
+
readonly SUCCESS: "SUCCESS";
|
|
738
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
739
|
+
};
|
|
740
|
+
export type DeliveryStatus =
|
|
741
|
+
(typeof DeliveryStatus)[keyof typeof DeliveryStatus];
|
|
735
742
|
export interface QueryStatisticsForDescribeQuery {
|
|
736
743
|
EventsMatched?: number;
|
|
737
744
|
EventsScanned?: number;
|
|
@@ -818,11 +825,12 @@ export interface DataResource {
|
|
|
818
825
|
Type?: string;
|
|
819
826
|
Values?: string[];
|
|
820
827
|
}
|
|
821
|
-
export declare
|
|
822
|
-
All
|
|
823
|
-
ReadOnly
|
|
824
|
-
WriteOnly
|
|
825
|
-
}
|
|
828
|
+
export declare const ReadWriteType: {
|
|
829
|
+
readonly All: "All";
|
|
830
|
+
readonly ReadOnly: "ReadOnly";
|
|
831
|
+
readonly WriteOnly: "WriteOnly";
|
|
832
|
+
};
|
|
833
|
+
export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
|
|
826
834
|
export interface EventSelector {
|
|
827
835
|
ReadWriteType?: ReadWriteType | string;
|
|
828
836
|
IncludeManagementEvents?: boolean;
|
|
@@ -852,13 +860,14 @@ export interface ImportStatistics {
|
|
|
852
860
|
EventsCompleted?: number;
|
|
853
861
|
FailedEntries?: number;
|
|
854
862
|
}
|
|
855
|
-
export declare
|
|
856
|
-
COMPLETED
|
|
857
|
-
FAILED
|
|
858
|
-
INITIALIZING
|
|
859
|
-
IN_PROGRESS
|
|
860
|
-
STOPPED
|
|
861
|
-
}
|
|
863
|
+
export declare const ImportStatus: {
|
|
864
|
+
readonly COMPLETED: "COMPLETED";
|
|
865
|
+
readonly FAILED: "FAILED";
|
|
866
|
+
readonly INITIALIZING: "INITIALIZING";
|
|
867
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
868
|
+
readonly STOPPED: "STOPPED";
|
|
869
|
+
};
|
|
870
|
+
export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
|
|
862
871
|
export interface GetImportResponse {
|
|
863
872
|
ImportId?: string;
|
|
864
873
|
Destinations?: string[];
|
|
@@ -881,10 +890,11 @@ export declare class ImportNotFoundException extends __BaseException {
|
|
|
881
890
|
export interface GetInsightSelectorsRequest {
|
|
882
891
|
TrailName: string | undefined;
|
|
883
892
|
}
|
|
884
|
-
export declare
|
|
885
|
-
ApiCallRateInsight
|
|
886
|
-
ApiErrorRateInsight
|
|
887
|
-
}
|
|
893
|
+
export declare const InsightType: {
|
|
894
|
+
readonly ApiCallRateInsight: "ApiCallRateInsight";
|
|
895
|
+
readonly ApiErrorRateInsight: "ApiErrorRateInsight";
|
|
896
|
+
};
|
|
897
|
+
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
888
898
|
export interface InsightSelector {
|
|
889
899
|
InsightType?: InsightType | string;
|
|
890
900
|
}
|
|
@@ -1002,11 +1012,13 @@ export interface ListImportFailuresRequest {
|
|
|
1002
1012
|
MaxResults?: number;
|
|
1003
1013
|
NextToken?: string;
|
|
1004
1014
|
}
|
|
1005
|
-
export declare
|
|
1006
|
-
FAILED
|
|
1007
|
-
RETRY
|
|
1008
|
-
SUCCEEDED
|
|
1009
|
-
}
|
|
1015
|
+
export declare const ImportFailureStatus: {
|
|
1016
|
+
readonly FAILED: "FAILED";
|
|
1017
|
+
readonly RETRY: "RETRY";
|
|
1018
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1019
|
+
};
|
|
1020
|
+
export type ImportFailureStatus =
|
|
1021
|
+
(typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
|
|
1010
1022
|
export interface ImportFailureListItem {
|
|
1011
1023
|
Location?: string;
|
|
1012
1024
|
Status?: ImportFailureStatus | string;
|
|
@@ -1142,19 +1154,22 @@ export declare class InvalidLookupAttributesException extends __BaseException {
|
|
|
1142
1154
|
>
|
|
1143
1155
|
);
|
|
1144
1156
|
}
|
|
1145
|
-
export declare
|
|
1146
|
-
Insight
|
|
1147
|
-
}
|
|
1148
|
-
export
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1157
|
+
export declare const EventCategory: {
|
|
1158
|
+
readonly Insight: "insight";
|
|
1159
|
+
};
|
|
1160
|
+
export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
1161
|
+
export declare const LookupAttributeKey: {
|
|
1162
|
+
readonly ACCESS_KEY_ID: "AccessKeyId";
|
|
1163
|
+
readonly EVENT_ID: "EventId";
|
|
1164
|
+
readonly EVENT_NAME: "EventName";
|
|
1165
|
+
readonly EVENT_SOURCE: "EventSource";
|
|
1166
|
+
readonly READ_ONLY: "ReadOnly";
|
|
1167
|
+
readonly RESOURCE_NAME: "ResourceName";
|
|
1168
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
1169
|
+
readonly USERNAME: "Username";
|
|
1170
|
+
};
|
|
1171
|
+
export type LookupAttributeKey =
|
|
1172
|
+
(typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
|
|
1158
1173
|
export interface LookupAttribute {
|
|
1159
1174
|
AttributeKey: LookupAttributeKey | string | undefined;
|
|
1160
1175
|
AttributeValue: string | undefined;
|
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.303.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,42 +21,42 @@
|
|
|
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/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|