@aws-sdk/client-cloudtrail 3.428.0 → 3.430.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.
@@ -1035,7 +1035,7 @@ export interface CancelQueryResponse {
1035
1035
  * <p>Shows the status of a query after a <code>CancelQuery</code> request. Typically, the
1036
1036
  * values shown are either <code>RUNNING</code> or <code>CANCELLED</code>.</p>
1037
1037
  */
1038
- QueryStatus: QueryStatus | string | undefined;
1038
+ QueryStatus: QueryStatus | undefined;
1039
1039
  }
1040
1040
  /**
1041
1041
  * @public
@@ -1205,7 +1205,7 @@ export interface Destination {
1205
1205
  * <p>The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is <code>EventDataStore</code>. For service-linked channels,
1206
1206
  * the value is <code>AWS_SERVICE</code>. </p>
1207
1207
  */
1208
- Type: DestinationType | string | undefined;
1208
+ Type: DestinationType | undefined;
1209
1209
  /**
1210
1210
  * @public
1211
1211
  * <p> For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel.
@@ -1467,7 +1467,7 @@ export interface CreateEventDataStoreResponse {
1467
1467
  * @public
1468
1468
  * <p>The status of event data store creation.</p>
1469
1469
  */
1470
- Status?: EventDataStoreStatus | string;
1470
+ Status?: EventDataStoreStatus;
1471
1471
  /**
1472
1472
  * @public
1473
1473
  * <p>The advanced event selectors that were used to select the events for the data
@@ -2555,7 +2555,7 @@ export interface DescribeQueryResponse {
2555
2555
  * <code>TIMED_OUT</code>, or <code>CANCELLED</code>
2556
2556
  * </p>
2557
2557
  */
2558
- QueryStatus?: QueryStatus | string;
2558
+ QueryStatus?: QueryStatus;
2559
2559
  /**
2560
2560
  * @public
2561
2561
  * <p>Metadata about a query, including the number of events that were matched, the total
@@ -2578,7 +2578,7 @@ export interface DescribeQueryResponse {
2578
2578
  * @public
2579
2579
  * <p>The delivery status.</p>
2580
2580
  */
2581
- DeliveryStatus?: DeliveryStatus | string;
2581
+ DeliveryStatus?: DeliveryStatus;
2582
2582
  }
2583
2583
  /**
2584
2584
  * @public
@@ -2879,7 +2879,7 @@ export interface GetEventDataStoreResponse {
2879
2879
  * @public
2880
2880
  * <p>The status of an event data store.</p>
2881
2881
  */
2882
- Status?: EventDataStoreStatus | string;
2882
+ Status?: EventDataStoreStatus;
2883
2883
  /**
2884
2884
  * @public
2885
2885
  * <p>The advanced event selectors used to select events for the data store.</p>
@@ -3238,7 +3238,7 @@ export interface EventSelector {
3238
3238
  * <code>RunInstances</code> is a write-only API operation.</p>
3239
3239
  * <p> By default, the value is <code>All</code>.</p>
3240
3240
  */
3241
- ReadWriteType?: ReadWriteType | string;
3241
+ ReadWriteType?: ReadWriteType;
3242
3242
  /**
3243
3243
  * @public
3244
3244
  * <p>Specify if you want your event selector to include management events for your
@@ -3421,7 +3421,7 @@ export interface GetImportResponse {
3421
3421
  * @public
3422
3422
  * <p> The status of the import. </p>
3423
3423
  */
3424
- ImportStatus?: ImportStatus | string;
3424
+ ImportStatus?: ImportStatus;
3425
3425
  /**
3426
3426
  * @public
3427
3427
  * <p> The timestamp of the import's creation. </p>
@@ -3519,7 +3519,7 @@ export interface InsightSelector {
3519
3519
  * API calls that result in error codes. The error is shown if the API call is
3520
3520
  * unsuccessful.</p>
3521
3521
  */
3522
- InsightType?: InsightType | string;
3522
+ InsightType?: InsightType;
3523
3523
  }
3524
3524
  /**
3525
3525
  * @public
@@ -3619,7 +3619,7 @@ export interface GetQueryResultsResponse {
3619
3619
  * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
3620
3620
  * <code>CANCELLED</code>.</p>
3621
3621
  */
3622
- QueryStatus?: QueryStatus | string;
3622
+ QueryStatus?: QueryStatus;
3623
3623
  /**
3624
3624
  * @public
3625
3625
  * <p>Shows the count of query results.</p>
@@ -3946,7 +3946,7 @@ export interface EventDataStore {
3946
3946
  *
3947
3947
  * <p>The status of an event data store.</p>
3948
3948
  */
3949
- Status?: EventDataStoreStatus | string;
3949
+ Status?: EventDataStoreStatus;
3950
3950
  /**
3951
3951
  * @public
3952
3952
  * @deprecated
@@ -4058,7 +4058,7 @@ export interface ImportFailureListItem {
4058
4058
  * @public
4059
4059
  * <p> The status of the import. </p>
4060
4060
  */
4061
- Status?: ImportFailureStatus | string;
4061
+ Status?: ImportFailureStatus;
4062
4062
  /**
4063
4063
  * @public
4064
4064
  * <p> The type of import error. </p>
@@ -4108,7 +4108,7 @@ export interface ListImportsRequest {
4108
4108
  * @public
4109
4109
  * <p> The status of the import. </p>
4110
4110
  */
4111
- ImportStatus?: ImportStatus | string;
4111
+ ImportStatus?: ImportStatus;
4112
4112
  /**
4113
4113
  * @public
4114
4114
  * <p> A token you can use to get the next page of import results. </p>
@@ -4129,7 +4129,7 @@ export interface ImportsListItem {
4129
4129
  * @public
4130
4130
  * <p> The status of the import. </p>
4131
4131
  */
4132
- ImportStatus?: ImportStatus | string;
4132
+ ImportStatus?: ImportStatus;
4133
4133
  /**
4134
4134
  * @public
4135
4135
  * <p> The ARN of the destination event data store. </p>
@@ -4341,7 +4341,7 @@ export interface ListQueriesRequest {
4341
4341
  * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
4342
4342
  * <code>CANCELLED</code>.</p>
4343
4343
  */
4344
- QueryStatus?: QueryStatus | string;
4344
+ QueryStatus?: QueryStatus;
4345
4345
  }
4346
4346
  /**
4347
4347
  * @public
@@ -4360,7 +4360,7 @@ export interface Query {
4360
4360
  * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
4361
4361
  * <code>CANCELLED</code>.</p>
4362
4362
  */
4363
- QueryStatus?: QueryStatus | string;
4363
+ QueryStatus?: QueryStatus;
4364
4364
  /**
4365
4365
  * @public
4366
4366
  * <p>The creation time of a query.</p>
@@ -4569,7 +4569,7 @@ export interface LookupAttribute {
4569
4569
  * @public
4570
4570
  * <p>Specifies an attribute on which to filter the events returned.</p>
4571
4571
  */
4572
- AttributeKey: LookupAttributeKey | string | undefined;
4572
+ AttributeKey: LookupAttributeKey | undefined;
4573
4573
  /**
4574
4574
  * @public
4575
4575
  * <p>Specifies a value for the specified AttributeKey.</p>
@@ -4606,7 +4606,7 @@ export interface LookupEventsRequest {
4606
4606
  * <code>insight</code> as the value of <code>EventCategory</code>, no Insights events are
4607
4607
  * returned.</p>
4608
4608
  */
4609
- EventCategory?: EventCategory | string;
4609
+ EventCategory?: EventCategory;
4610
4610
  /**
4611
4611
  * @public
4612
4612
  * <p>The number of events to return. Possible values are 1 through 50. The default is
@@ -5069,7 +5069,7 @@ export interface RestoreEventDataStoreResponse {
5069
5069
  * @public
5070
5070
  * <p>The status of the event data store.</p>
5071
5071
  */
5072
- Status?: EventDataStoreStatus | string;
5072
+ Status?: EventDataStoreStatus;
5073
5073
  /**
5074
5074
  * @public
5075
5075
  * <p>The advanced event selectors that were used to select events.</p>
@@ -5231,7 +5231,7 @@ export interface StartImportResponse {
5231
5231
  * finishes with a status of <code>COMPLETED</code> if there were no failures, or
5232
5232
  * <code>FAILED</code> if there were failures. </p>
5233
5233
  */
5234
- ImportStatus?: ImportStatus | string;
5234
+ ImportStatus?: ImportStatus;
5235
5235
  /**
5236
5236
  * @public
5237
5237
  * <p> The timestamp for the import's creation. </p>
@@ -5390,7 +5390,7 @@ export interface StopImportResponse {
5390
5390
  * @public
5391
5391
  * <p> The status of the import. </p>
5392
5392
  */
5393
- ImportStatus?: ImportStatus | string;
5393
+ ImportStatus?: ImportStatus;
5394
5394
  /**
5395
5395
  * @public
5396
5396
  * <p> The timestamp of the import's creation. </p>
@@ -5604,7 +5604,7 @@ export interface UpdateEventDataStoreResponse {
5604
5604
  * @public
5605
5605
  * <p>The status of an event data store.</p>
5606
5606
  */
5607
- Status?: EventDataStoreStatus | string;
5607
+ Status?: EventDataStoreStatus;
5608
5608
  /**
5609
5609
  * @public
5610
5610
  * <p>The advanced event selectors that are applied to the event data store.</p>
@@ -216,7 +216,7 @@ export declare const QueryStatus: {
216
216
  export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
217
217
  export interface CancelQueryResponse {
218
218
  QueryId: string | undefined;
219
- QueryStatus: QueryStatus | string | undefined;
219
+ QueryStatus: QueryStatus | undefined;
220
220
  }
221
221
  export declare class InactiveQueryException extends __BaseException {
222
222
  readonly name: "InactiveQueryException";
@@ -291,7 +291,7 @@ export declare const DestinationType: {
291
291
  export type DestinationType =
292
292
  (typeof DestinationType)[keyof typeof DestinationType];
293
293
  export interface Destination {
294
- Type: DestinationType | string | undefined;
294
+ Type: DestinationType | undefined;
295
295
  Location: string | undefined;
296
296
  }
297
297
  export interface CreateChannelRequest {
@@ -361,7 +361,7 @@ export type EventDataStoreStatus =
361
361
  export interface CreateEventDataStoreResponse {
362
362
  EventDataStoreArn?: string;
363
363
  Name?: string;
364
- Status?: EventDataStoreStatus | string;
364
+ Status?: EventDataStoreStatus;
365
365
  AdvancedEventSelectors?: AdvancedEventSelector[];
366
366
  MultiRegionEnabled?: boolean;
367
367
  OrganizationEnabled?: boolean;
@@ -762,11 +762,11 @@ export interface QueryStatisticsForDescribeQuery {
762
762
  export interface DescribeQueryResponse {
763
763
  QueryId?: string;
764
764
  QueryString?: string;
765
- QueryStatus?: QueryStatus | string;
765
+ QueryStatus?: QueryStatus;
766
766
  QueryStatistics?: QueryStatisticsForDescribeQuery;
767
767
  ErrorMessage?: string;
768
768
  DeliveryS3Uri?: string;
769
- DeliveryStatus?: DeliveryStatus | string;
769
+ DeliveryStatus?: DeliveryStatus;
770
770
  }
771
771
  export interface DescribeTrailsRequest {
772
772
  trailNameList?: string[];
@@ -821,7 +821,7 @@ export interface GetEventDataStoreRequest {
821
821
  export interface GetEventDataStoreResponse {
822
822
  EventDataStoreArn?: string;
823
823
  Name?: string;
824
- Status?: EventDataStoreStatus | string;
824
+ Status?: EventDataStoreStatus;
825
825
  AdvancedEventSelectors?: AdvancedEventSelector[];
826
826
  MultiRegionEnabled?: boolean;
827
827
  OrganizationEnabled?: boolean;
@@ -845,7 +845,7 @@ export declare const ReadWriteType: {
845
845
  };
846
846
  export type ReadWriteType = (typeof ReadWriteType)[keyof typeof ReadWriteType];
847
847
  export interface EventSelector {
848
- ReadWriteType?: ReadWriteType | string;
848
+ ReadWriteType?: ReadWriteType;
849
849
  IncludeManagementEvents?: boolean;
850
850
  DataResources?: DataResource[];
851
851
  ExcludeManagementEventSources?: string[];
@@ -887,7 +887,7 @@ export interface GetImportResponse {
887
887
  ImportSource?: ImportSource;
888
888
  StartEventTime?: Date;
889
889
  EndEventTime?: Date;
890
- ImportStatus?: ImportStatus | string;
890
+ ImportStatus?: ImportStatus;
891
891
  CreatedTimestamp?: Date;
892
892
  UpdatedTimestamp?: Date;
893
893
  ImportStatistics?: ImportStatistics;
@@ -909,7 +909,7 @@ export declare const InsightType: {
909
909
  };
910
910
  export type InsightType = (typeof InsightType)[keyof typeof InsightType];
911
911
  export interface InsightSelector {
912
- InsightType?: InsightType | string;
912
+ InsightType?: InsightType;
913
913
  }
914
914
  export interface GetInsightSelectorsResponse {
915
915
  TrailARN?: string;
@@ -935,7 +935,7 @@ export interface QueryStatistics {
935
935
  BytesScanned?: number;
936
936
  }
937
937
  export interface GetQueryResultsResponse {
938
- QueryStatus?: QueryStatus | string;
938
+ QueryStatus?: QueryStatus;
939
939
  QueryStatistics?: QueryStatistics;
940
940
  QueryResultRows?: Record<string, string>[][];
941
941
  NextToken?: string;
@@ -1008,7 +1008,7 @@ export interface EventDataStore {
1008
1008
  EventDataStoreArn?: string;
1009
1009
  Name?: string;
1010
1010
  TerminationProtectionEnabled?: boolean;
1011
- Status?: EventDataStoreStatus | string;
1011
+ Status?: EventDataStoreStatus;
1012
1012
  AdvancedEventSelectors?: AdvancedEventSelector[];
1013
1013
  MultiRegionEnabled?: boolean;
1014
1014
  OrganizationEnabled?: boolean;
@@ -1034,7 +1034,7 @@ export type ImportFailureStatus =
1034
1034
  (typeof ImportFailureStatus)[keyof typeof ImportFailureStatus];
1035
1035
  export interface ImportFailureListItem {
1036
1036
  Location?: string;
1037
- Status?: ImportFailureStatus | string;
1037
+ Status?: ImportFailureStatus;
1038
1038
  ErrorType?: string;
1039
1039
  ErrorMessage?: string;
1040
1040
  LastUpdatedTime?: Date;
@@ -1046,12 +1046,12 @@ export interface ListImportFailuresResponse {
1046
1046
  export interface ListImportsRequest {
1047
1047
  MaxResults?: number;
1048
1048
  Destination?: string;
1049
- ImportStatus?: ImportStatus | string;
1049
+ ImportStatus?: ImportStatus;
1050
1050
  NextToken?: string;
1051
1051
  }
1052
1052
  export interface ImportsListItem {
1053
1053
  ImportId?: string;
1054
- ImportStatus?: ImportStatus | string;
1054
+ ImportStatus?: ImportStatus;
1055
1055
  Destinations?: string[];
1056
1056
  CreatedTimestamp?: Date;
1057
1057
  UpdatedTimestamp?: Date;
@@ -1113,11 +1113,11 @@ export interface ListQueriesRequest {
1113
1113
  MaxResults?: number;
1114
1114
  StartTime?: Date;
1115
1115
  EndTime?: Date;
1116
- QueryStatus?: QueryStatus | string;
1116
+ QueryStatus?: QueryStatus;
1117
1117
  }
1118
1118
  export interface Query {
1119
1119
  QueryId?: string;
1120
- QueryStatus?: QueryStatus | string;
1120
+ QueryStatus?: QueryStatus;
1121
1121
  CreationTime?: Date;
1122
1122
  }
1123
1123
  export interface ListQueriesResponse {
@@ -1184,14 +1184,14 @@ export declare const LookupAttributeKey: {
1184
1184
  export type LookupAttributeKey =
1185
1185
  (typeof LookupAttributeKey)[keyof typeof LookupAttributeKey];
1186
1186
  export interface LookupAttribute {
1187
- AttributeKey: LookupAttributeKey | string | undefined;
1187
+ AttributeKey: LookupAttributeKey | undefined;
1188
1188
  AttributeValue: string | undefined;
1189
1189
  }
1190
1190
  export interface LookupEventsRequest {
1191
1191
  LookupAttributes?: LookupAttribute[];
1192
1192
  StartTime?: Date;
1193
1193
  EndTime?: Date;
1194
- EventCategory?: EventCategory | string;
1194
+ EventCategory?: EventCategory;
1195
1195
  MaxResults?: number;
1196
1196
  NextToken?: string;
1197
1197
  }
@@ -1299,7 +1299,7 @@ export interface RestoreEventDataStoreRequest {
1299
1299
  export interface RestoreEventDataStoreResponse {
1300
1300
  EventDataStoreArn?: string;
1301
1301
  Name?: string;
1302
- Status?: EventDataStoreStatus | string;
1302
+ Status?: EventDataStoreStatus;
1303
1303
  AdvancedEventSelectors?: AdvancedEventSelector[];
1304
1304
  MultiRegionEnabled?: boolean;
1305
1305
  OrganizationEnabled?: boolean;
@@ -1334,7 +1334,7 @@ export interface StartImportResponse {
1334
1334
  ImportSource?: ImportSource;
1335
1335
  StartEventTime?: Date;
1336
1336
  EndEventTime?: Date;
1337
- ImportStatus?: ImportStatus | string;
1337
+ ImportStatus?: ImportStatus;
1338
1338
  CreatedTimestamp?: Date;
1339
1339
  UpdatedTimestamp?: Date;
1340
1340
  }
@@ -1378,7 +1378,7 @@ export interface StopImportResponse {
1378
1378
  ImportId?: string;
1379
1379
  ImportSource?: ImportSource;
1380
1380
  Destinations?: string[];
1381
- ImportStatus?: ImportStatus | string;
1381
+ ImportStatus?: ImportStatus;
1382
1382
  CreatedTimestamp?: Date;
1383
1383
  UpdatedTimestamp?: Date;
1384
1384
  StartEventTime?: Date;
@@ -1413,7 +1413,7 @@ export interface UpdateEventDataStoreRequest {
1413
1413
  export interface UpdateEventDataStoreResponse {
1414
1414
  EventDataStoreArn?: string;
1415
1415
  Name?: string;
1416
- Status?: EventDataStoreStatus | string;
1416
+ Status?: EventDataStoreStatus;
1417
1417
  AdvancedEventSelectors?: AdvancedEventSelector[];
1418
1418
  MultiRegionEnabled?: boolean;
1419
1419
  OrganizationEnabled?: boolean;
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.428.0",
4
+ "version": "3.430.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,28 +21,28 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"