@aws-sdk/client-frauddetector 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.
@@ -444,12 +444,12 @@ export interface Variable {
444
444
  * @public
445
445
  * <p>The data type of the variable. For more information see <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types">Variable types</a>.</p>
446
446
  */
447
- dataType?: DataType | string;
447
+ dataType?: DataType;
448
448
  /**
449
449
  * @public
450
450
  * <p>The data source of the variable.</p>
451
451
  */
452
- dataSource?: DataSource | string;
452
+ dataSource?: DataSource;
453
453
  /**
454
454
  * @public
455
455
  * <p>The default value of the variable.</p>
@@ -664,7 +664,7 @@ export interface ModelVersion {
664
664
  * @public
665
665
  * <p>The model type.</p>
666
666
  */
667
- modelType: ModelTypeEnum | string | undefined;
667
+ modelType: ModelTypeEnum | undefined;
668
668
  /**
669
669
  * @public
670
670
  * <p>The model version number.</p>
@@ -746,7 +746,7 @@ export interface CreateDetectorVersionRequest {
746
746
  * <p>If you specifiy <code>ALL_MATCHED</code>, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. </p>
747
747
  * <p>The default behavior is <code>FIRST_MATCHED</code>.</p>
748
748
  */
749
- ruleExecutionMode?: RuleExecutionMode | string;
749
+ ruleExecutionMode?: RuleExecutionMode;
750
750
  /**
751
751
  * @public
752
752
  * <p>A collection of key and value pairs.</p>
@@ -784,7 +784,7 @@ export interface CreateDetectorVersionResult {
784
784
  * @public
785
785
  * <p>The status of the detector version.</p>
786
786
  */
787
- status?: DetectorVersionStatus | string;
787
+ status?: DetectorVersionStatus;
788
788
  }
789
789
  /**
790
790
  * @public
@@ -845,7 +845,7 @@ export interface CreateModelRequest {
845
845
  * @public
846
846
  * <p>The model type. </p>
847
847
  */
848
- modelType: ModelTypeEnum | string | undefined;
848
+ modelType: ModelTypeEnum | undefined;
849
849
  /**
850
850
  * @public
851
851
  * <p>The model description. </p>
@@ -954,7 +954,7 @@ export interface LabelSchema {
954
954
  * </ul>
955
955
  * <p>By default, Amazon Fraud Detector ignores the unlabeled data.</p>
956
956
  */
957
- unlabeledEventsTreatment?: UnlabeledEventsTreatment | string;
957
+ unlabeledEventsTreatment?: UnlabeledEventsTreatment;
958
958
  }
959
959
  /**
960
960
  * @public
@@ -997,12 +997,12 @@ export interface CreateModelVersionRequest {
997
997
  * @public
998
998
  * <p>The model type.</p>
999
999
  */
1000
- modelType: ModelTypeEnum | string | undefined;
1000
+ modelType: ModelTypeEnum | undefined;
1001
1001
  /**
1002
1002
  * @public
1003
1003
  * <p>The training data source location in Amazon S3. </p>
1004
1004
  */
1005
- trainingDataSource: TrainingDataSourceEnum | string | undefined;
1005
+ trainingDataSource: TrainingDataSourceEnum | undefined;
1006
1006
  /**
1007
1007
  * @public
1008
1008
  * <p>The training data schema.</p>
@@ -1037,7 +1037,7 @@ export interface CreateModelVersionResult {
1037
1037
  * @public
1038
1038
  * <p>The model type.</p>
1039
1039
  */
1040
- modelType?: ModelTypeEnum | string;
1040
+ modelType?: ModelTypeEnum;
1041
1041
  /**
1042
1042
  * @public
1043
1043
  * <p>The model version number of the model version created.</p>
@@ -1088,7 +1088,7 @@ export interface CreateRuleRequest {
1088
1088
  * @public
1089
1089
  * <p>The language of the rule.</p>
1090
1090
  */
1091
- language: Language | string | undefined;
1091
+ language: Language | undefined;
1092
1092
  /**
1093
1093
  * @public
1094
1094
  * <p>The outcome or outcomes returned when the rule expression matches.</p>
@@ -1123,12 +1123,12 @@ export interface CreateVariableRequest {
1123
1123
  * @public
1124
1124
  * <p>The data type of the variable.</p>
1125
1125
  */
1126
- dataType: DataType | string | undefined;
1126
+ dataType: DataType | undefined;
1127
1127
  /**
1128
1128
  * @public
1129
1129
  * <p>The source of the data.</p>
1130
1130
  */
1131
- dataSource: DataSource | string | undefined;
1131
+ dataSource: DataSource | undefined;
1132
1132
  /**
1133
1133
  * @public
1134
1134
  * <p>The default value for the variable when no value is received.</p>
@@ -1375,7 +1375,7 @@ export interface DeleteModelRequest {
1375
1375
  * @public
1376
1376
  * <p>The model type of the model to delete.</p>
1377
1377
  */
1378
- modelType: ModelTypeEnum | string | undefined;
1378
+ modelType: ModelTypeEnum | undefined;
1379
1379
  }
1380
1380
  /**
1381
1381
  * @public
@@ -1395,7 +1395,7 @@ export interface DeleteModelVersionRequest {
1395
1395
  * @public
1396
1396
  * <p>The model type of the model version to delete.</p>
1397
1397
  */
1398
- modelType: ModelTypeEnum | string | undefined;
1398
+ modelType: ModelTypeEnum | undefined;
1399
1399
  /**
1400
1400
  * @public
1401
1401
  * <p>The model version number of the model version to delete.</p>
@@ -1486,7 +1486,7 @@ export interface DetectorVersionSummary {
1486
1486
  * @public
1487
1487
  * <p>The detector version status. </p>
1488
1488
  */
1489
- status?: DetectorVersionStatus | string;
1489
+ status?: DetectorVersionStatus;
1490
1490
  /**
1491
1491
  * @public
1492
1492
  * <p>The detector version description. </p>
@@ -1541,7 +1541,7 @@ export interface DescribeModelVersionsRequest {
1541
1541
  * @public
1542
1542
  * <p>The model type.</p>
1543
1543
  */
1544
- modelType?: ModelTypeEnum | string;
1544
+ modelType?: ModelTypeEnum;
1545
1545
  /**
1546
1546
  * @public
1547
1547
  * <p>The next token from the previous results.</p>
@@ -1978,7 +1978,7 @@ export interface ModelVersionDetail {
1978
1978
  * @public
1979
1979
  * <p>The model type.</p>
1980
1980
  */
1981
- modelType?: ModelTypeEnum | string;
1981
+ modelType?: ModelTypeEnum;
1982
1982
  /**
1983
1983
  * @public
1984
1984
  * <p>The model version number.</p>
@@ -1993,7 +1993,7 @@ export interface ModelVersionDetail {
1993
1993
  * @public
1994
1994
  * <p>The model version training data source.</p>
1995
1995
  */
1996
- trainingDataSource?: TrainingDataSourceEnum | string;
1996
+ trainingDataSource?: TrainingDataSourceEnum;
1997
1997
  /**
1998
1998
  * @public
1999
1999
  * <p>The training data schema.</p>
@@ -2086,7 +2086,7 @@ export interface BatchImport {
2086
2086
  * @public
2087
2087
  * <p>The status of the batch import job.</p>
2088
2088
  */
2089
- status?: AsyncJobStatus | string;
2089
+ status?: AsyncJobStatus;
2090
2090
  /**
2091
2091
  * @public
2092
2092
  * <p>The reason batch import job failed.</p>
@@ -2192,7 +2192,7 @@ export interface BatchPrediction {
2192
2192
  * @public
2193
2193
  * <p>The batch prediction status.</p>
2194
2194
  */
2195
- status?: AsyncJobStatus | string;
2195
+ status?: AsyncJobStatus;
2196
2196
  /**
2197
2197
  * @public
2198
2198
  * <p>The reason a batch prediction job failed.</p>
@@ -2297,7 +2297,7 @@ export interface GetDeleteEventsByEventTypeStatusResult {
2297
2297
  * @public
2298
2298
  * <p>The deletion status.</p>
2299
2299
  */
2300
- eventsDeletionStatus?: AsyncJobStatus | string;
2300
+ eventsDeletionStatus?: AsyncJobStatus;
2301
2301
  }
2302
2302
  /**
2303
2303
  * @public
@@ -2423,7 +2423,7 @@ export interface GetDetectorVersionResult {
2423
2423
  * @public
2424
2424
  * <p>The status of the detector version.</p>
2425
2425
  */
2426
- status?: DetectorVersionStatus | string;
2426
+ status?: DetectorVersionStatus;
2427
2427
  /**
2428
2428
  * @public
2429
2429
  * <p>The timestamp when the detector version was last updated.
@@ -2443,7 +2443,7 @@ export interface GetDetectorVersionResult {
2443
2443
  * <p>
2444
2444
  * <code>ALL_MATCHED</code> indicates that Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.</p>
2445
2445
  */
2446
- ruleExecutionMode?: RuleExecutionMode | string;
2446
+ ruleExecutionMode?: RuleExecutionMode;
2447
2447
  /**
2448
2448
  * @public
2449
2449
  * <p>The detector version ARN.</p>
@@ -2699,7 +2699,7 @@ export interface ExternalModelSummary {
2699
2699
  * @public
2700
2700
  * <p>The source of the model.</p>
2701
2701
  */
2702
- modelSource?: ModelSource | string;
2702
+ modelSource?: ModelSource;
2703
2703
  }
2704
2704
  /**
2705
2705
  * @public
@@ -3151,7 +3151,7 @@ export interface GetEventPredictionMetadataResult {
3151
3151
  * The execution mode of the rule used for evaluating variable values.
3152
3152
  * </p>
3153
3153
  */
3154
- ruleExecutionMode?: RuleExecutionMode | string;
3154
+ ruleExecutionMode?: RuleExecutionMode;
3155
3155
  /**
3156
3156
  * @public
3157
3157
  * <p>
@@ -3290,7 +3290,7 @@ export interface EventType {
3290
3290
  * @public
3291
3291
  * <p>If <code>Enabled</code>, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known as <code>INGESTED_EVENTS</code>, to train your model and improve fraud predictions.</p>
3292
3292
  */
3293
- eventIngestion?: EventIngestion | string;
3293
+ eventIngestion?: EventIngestion;
3294
3294
  /**
3295
3295
  * @public
3296
3296
  * <p>Data about the stored events.</p>
@@ -3379,7 +3379,7 @@ export interface ModelInputConfiguration {
3379
3379
  * <p> The format of the model input configuration. The format differs depending on if it is
3380
3380
  * passed through to SageMaker or constructed by Amazon Fraud Detector.</p>
3381
3381
  */
3382
- format?: ModelInputDataFormat | string;
3382
+ format?: ModelInputDataFormat;
3383
3383
  /**
3384
3384
  * @public
3385
3385
  * <p>The event variables.</p>
@@ -3433,7 +3433,7 @@ export interface ModelOutputConfiguration {
3433
3433
  * @public
3434
3434
  * <p>The format of the model output configuration.</p>
3435
3435
  */
3436
- format: ModelOutputDataFormat | string | undefined;
3436
+ format: ModelOutputDataFormat | undefined;
3437
3437
  /**
3438
3438
  * @public
3439
3439
  * <p>A map of JSON keys in response from SageMaker to the Amazon Fraud Detector variables. </p>
@@ -3459,7 +3459,7 @@ export interface ExternalModel {
3459
3459
  * @public
3460
3460
  * <p>The source of the model.</p>
3461
3461
  */
3462
- modelSource?: ModelSource | string;
3462
+ modelSource?: ModelSource;
3463
3463
  /**
3464
3464
  * @public
3465
3465
  * <p>The role used to invoke the model. </p>
@@ -3479,7 +3479,7 @@ export interface ExternalModel {
3479
3479
  * @public
3480
3480
  * <p>The Amazon Fraud Detector status for the external model endpoint</p>
3481
3481
  */
3482
- modelEndpointStatus?: ModelEndpointStatus | string;
3482
+ modelEndpointStatus?: ModelEndpointStatus;
3483
3483
  /**
3484
3484
  * @public
3485
3485
  * <p>Timestamp of when the model was last updated.</p>
@@ -3701,7 +3701,7 @@ export interface GetModelsRequest {
3701
3701
  * @public
3702
3702
  * <p>The model type.</p>
3703
3703
  */
3704
- modelType?: ModelTypeEnum | string;
3704
+ modelType?: ModelTypeEnum;
3705
3705
  /**
3706
3706
  * @public
3707
3707
  * <p>The next token for the subsequent request.</p>
@@ -3727,7 +3727,7 @@ export interface Model {
3727
3727
  * @public
3728
3728
  * <p>The model type.</p>
3729
3729
  */
3730
- modelType?: ModelTypeEnum | string;
3730
+ modelType?: ModelTypeEnum;
3731
3731
  /**
3732
3732
  * @public
3733
3733
  * <p>The model description.</p>
@@ -3782,7 +3782,7 @@ export interface GetModelVersionRequest {
3782
3782
  * @public
3783
3783
  * <p>The model type.</p>
3784
3784
  */
3785
- modelType: ModelTypeEnum | string | undefined;
3785
+ modelType: ModelTypeEnum | undefined;
3786
3786
  /**
3787
3787
  * @public
3788
3788
  * <p>The model version number.</p>
@@ -3802,7 +3802,7 @@ export interface GetModelVersionResult {
3802
3802
  * @public
3803
3803
  * <p>The model type.</p>
3804
3804
  */
3805
- modelType?: ModelTypeEnum | string;
3805
+ modelType?: ModelTypeEnum;
3806
3806
  /**
3807
3807
  * @public
3808
3808
  * <p>The model version number.</p>
@@ -3812,7 +3812,7 @@ export interface GetModelVersionResult {
3812
3812
  * @public
3813
3813
  * <p>The training data source.</p>
3814
3814
  */
3815
- trainingDataSource?: TrainingDataSourceEnum | string;
3815
+ trainingDataSource?: TrainingDataSourceEnum;
3816
3816
  /**
3817
3817
  * @public
3818
3818
  * <p>The training data schema.</p>
@@ -4020,7 +4020,7 @@ export interface RuleDetail {
4020
4020
  * @public
4021
4021
  * <p>The rule language.</p>
4022
4022
  */
4023
- language?: Language | string;
4023
+ language?: Language;
4024
4024
  /**
4025
4025
  * @public
4026
4026
  * <p>The rule outcomes.</p>
@@ -4375,7 +4375,7 @@ export interface PutEventTypeRequest {
4375
4375
  * @public
4376
4376
  * <p>Specifies if ingestion is enabled or disabled.</p>
4377
4377
  */
4378
- eventIngestion?: EventIngestion | string;
4378
+ eventIngestion?: EventIngestion;
4379
4379
  /**
4380
4380
  * @public
4381
4381
  * <p>A collection of key and value pairs.</p>
@@ -4405,7 +4405,7 @@ export interface PutExternalModelRequest {
4405
4405
  * @public
4406
4406
  * <p>The source of the model.</p>
4407
4407
  */
4408
- modelSource: ModelSource | string | undefined;
4408
+ modelSource: ModelSource | undefined;
4409
4409
  /**
4410
4410
  * @public
4411
4411
  * <p>The IAM role used to invoke the model endpoint.</p>
@@ -4425,7 +4425,7 @@ export interface PutExternalModelRequest {
4425
4425
  * @public
4426
4426
  * <p>The model endpoint’s status in Amazon Fraud Detector.</p>
4427
4427
  */
4428
- modelEndpointStatus: ModelEndpointStatus | string | undefined;
4428
+ modelEndpointStatus: ModelEndpointStatus | undefined;
4429
4429
  /**
4430
4430
  * @public
4431
4431
  * <p>A collection of key and value pairs.</p>
@@ -4629,7 +4629,7 @@ export interface UpdateDetectorVersionRequest {
4629
4629
  * <p>If you specifiy <code>ALL_MATCHED</code>, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.</p>
4630
4630
  * <p>The default behavior is <code>FIRST_MATCHED</code>.</p>
4631
4631
  */
4632
- ruleExecutionMode?: RuleExecutionMode | string;
4632
+ ruleExecutionMode?: RuleExecutionMode;
4633
4633
  }
4634
4634
  /**
4635
4635
  * @public
@@ -4681,7 +4681,7 @@ export interface UpdateDetectorVersionStatusRequest {
4681
4681
  * <p>The only supported values are <code>ACTIVE</code> and <code>INACTIVE</code>
4682
4682
  * </p>
4683
4683
  */
4684
- status: DetectorVersionStatus | string | undefined;
4684
+ status: DetectorVersionStatus | undefined;
4685
4685
  }
4686
4686
  /**
4687
4687
  * @public
@@ -4774,7 +4774,7 @@ export interface UpdateListRequest {
4774
4774
  * </li>
4775
4775
  * </ul>
4776
4776
  */
4777
- updateMode?: ListUpdateMode | string;
4777
+ updateMode?: ListUpdateMode;
4778
4778
  /**
4779
4779
  * @public
4780
4780
  * <p>
@@ -4804,7 +4804,7 @@ export interface UpdateModelRequest {
4804
4804
  * @public
4805
4805
  * <p>The model type.</p>
4806
4806
  */
4807
- modelType: ModelTypeEnum | string | undefined;
4807
+ modelType: ModelTypeEnum | undefined;
4808
4808
  /**
4809
4809
  * @public
4810
4810
  * <p>The new model description.</p>
@@ -4829,7 +4829,7 @@ export interface UpdateModelVersionRequest {
4829
4829
  * @public
4830
4830
  * <p>The model type.</p>
4831
4831
  */
4832
- modelType: ModelTypeEnum | string | undefined;
4832
+ modelType: ModelTypeEnum | undefined;
4833
4833
  /**
4834
4834
  * @public
4835
4835
  * <p>The major version number.</p>
@@ -4864,7 +4864,7 @@ export interface UpdateModelVersionResult {
4864
4864
  * @public
4865
4865
  * <p>The model type.</p>
4866
4866
  */
4867
- modelType?: ModelTypeEnum | string;
4867
+ modelType?: ModelTypeEnum;
4868
4868
  /**
4869
4869
  * @public
4870
4870
  * <p>The model version number of the model version updated.</p>
@@ -4902,7 +4902,7 @@ export interface UpdateModelVersionStatusRequest {
4902
4902
  * @public
4903
4903
  * <p>The model type.</p>
4904
4904
  */
4905
- modelType: ModelTypeEnum | string | undefined;
4905
+ modelType: ModelTypeEnum | undefined;
4906
4906
  /**
4907
4907
  * @public
4908
4908
  * <p>The model version number.</p>
@@ -4912,7 +4912,7 @@ export interface UpdateModelVersionStatusRequest {
4912
4912
  * @public
4913
4913
  * <p>The model version status.</p>
4914
4914
  */
4915
- status: ModelVersionStatus | string | undefined;
4915
+ status: ModelVersionStatus | undefined;
4916
4916
  }
4917
4917
  /**
4918
4918
  * @public
@@ -4962,7 +4962,7 @@ export interface UpdateRuleVersionRequest {
4962
4962
  * @public
4963
4963
  * <p>The language.</p>
4964
4964
  */
4965
- language: Language | string | undefined;
4965
+ language: Language | undefined;
4966
4966
  /**
4967
4967
  * @public
4968
4968
  * <p>The outcomes.</p>
@@ -119,8 +119,8 @@ export declare const DataType: {
119
119
  export type DataType = (typeof DataType)[keyof typeof DataType];
120
120
  export interface Variable {
121
121
  name?: string;
122
- dataType?: DataType | string;
123
- dataSource?: DataSource | string;
122
+ dataType?: DataType;
123
+ dataSource?: DataSource;
124
124
  defaultValue?: string;
125
125
  description?: string;
126
126
  variableType?: string;
@@ -175,7 +175,7 @@ export declare const ModelTypeEnum: {
175
175
  export type ModelTypeEnum = (typeof ModelTypeEnum)[keyof typeof ModelTypeEnum];
176
176
  export interface ModelVersion {
177
177
  modelId: string | undefined;
178
- modelType: ModelTypeEnum | string | undefined;
178
+ modelType: ModelTypeEnum | undefined;
179
179
  modelVersionNumber: string | undefined;
180
180
  arn?: string;
181
181
  }
@@ -196,7 +196,7 @@ export interface CreateDetectorVersionRequest {
196
196
  externalModelEndpoints?: string[];
197
197
  rules: Rule[] | undefined;
198
198
  modelVersions?: ModelVersion[];
199
- ruleExecutionMode?: RuleExecutionMode | string;
199
+ ruleExecutionMode?: RuleExecutionMode;
200
200
  tags?: Tag[];
201
201
  }
202
202
  export declare const DetectorVersionStatus: {
@@ -209,7 +209,7 @@ export type DetectorVersionStatus =
209
209
  export interface CreateDetectorVersionResult {
210
210
  detectorId?: string;
211
211
  detectorVersionId?: string;
212
- status?: DetectorVersionStatus | string;
212
+ status?: DetectorVersionStatus;
213
213
  }
214
214
  export interface CreateListRequest {
215
215
  name: string | undefined;
@@ -221,7 +221,7 @@ export interface CreateListRequest {
221
221
  export interface CreateListResult {}
222
222
  export interface CreateModelRequest {
223
223
  modelId: string | undefined;
224
- modelType: ModelTypeEnum | string | undefined;
224
+ modelType: ModelTypeEnum | undefined;
225
225
  description?: string;
226
226
  eventTypeName: string | undefined;
227
227
  tags?: Tag[];
@@ -248,7 +248,7 @@ export type UnlabeledEventsTreatment =
248
248
  (typeof UnlabeledEventsTreatment)[keyof typeof UnlabeledEventsTreatment];
249
249
  export interface LabelSchema {
250
250
  labelMapper?: Record<string, string[]>;
251
- unlabeledEventsTreatment?: UnlabeledEventsTreatment | string;
251
+ unlabeledEventsTreatment?: UnlabeledEventsTreatment;
252
252
  }
253
253
  export interface TrainingDataSchema {
254
254
  modelVariables: string[] | undefined;
@@ -262,8 +262,8 @@ export type TrainingDataSourceEnum =
262
262
  (typeof TrainingDataSourceEnum)[keyof typeof TrainingDataSourceEnum];
263
263
  export interface CreateModelVersionRequest {
264
264
  modelId: string | undefined;
265
- modelType: ModelTypeEnum | string | undefined;
266
- trainingDataSource: TrainingDataSourceEnum | string | undefined;
265
+ modelType: ModelTypeEnum | undefined;
266
+ trainingDataSource: TrainingDataSourceEnum | undefined;
267
267
  trainingDataSchema: TrainingDataSchema | undefined;
268
268
  externalEventsDetail?: ExternalEventsDetail;
269
269
  ingestedEventsDetail?: IngestedEventsDetail;
@@ -271,7 +271,7 @@ export interface CreateModelVersionRequest {
271
271
  }
272
272
  export interface CreateModelVersionResult {
273
273
  modelId?: string;
274
- modelType?: ModelTypeEnum | string;
274
+ modelType?: ModelTypeEnum;
275
275
  modelVersionNumber?: string;
276
276
  status?: string;
277
277
  }
@@ -284,7 +284,7 @@ export interface CreateRuleRequest {
284
284
  detectorId: string | undefined;
285
285
  description?: string;
286
286
  expression: string | undefined;
287
- language: Language | string | undefined;
287
+ language: Language | undefined;
288
288
  outcomes: string[] | undefined;
289
289
  tags?: Tag[];
290
290
  }
@@ -293,8 +293,8 @@ export interface CreateRuleResult {
293
293
  }
294
294
  export interface CreateVariableRequest {
295
295
  name: string | undefined;
296
- dataType: DataType | string | undefined;
297
- dataSource: DataSource | string | undefined;
296
+ dataType: DataType | undefined;
297
+ dataSource: DataSource | undefined;
298
298
  defaultValue: string | undefined;
299
299
  description?: string;
300
300
  variableType?: string;
@@ -358,12 +358,12 @@ export interface DeleteListRequest {
358
358
  export interface DeleteListResult {}
359
359
  export interface DeleteModelRequest {
360
360
  modelId: string | undefined;
361
- modelType: ModelTypeEnum | string | undefined;
361
+ modelType: ModelTypeEnum | undefined;
362
362
  }
363
363
  export interface DeleteModelResult {}
364
364
  export interface DeleteModelVersionRequest {
365
365
  modelId: string | undefined;
366
- modelType: ModelTypeEnum | string | undefined;
366
+ modelType: ModelTypeEnum | undefined;
367
367
  modelVersionNumber: string | undefined;
368
368
  }
369
369
  export interface DeleteModelVersionResult {}
@@ -386,7 +386,7 @@ export interface DescribeDetectorRequest {
386
386
  }
387
387
  export interface DetectorVersionSummary {
388
388
  detectorVersionId?: string;
389
- status?: DetectorVersionStatus | string;
389
+ status?: DetectorVersionStatus;
390
390
  description?: string;
391
391
  lastUpdatedTime?: string;
392
392
  }
@@ -399,7 +399,7 @@ export interface DescribeDetectorResult {
399
399
  export interface DescribeModelVersionsRequest {
400
400
  modelId?: string;
401
401
  modelVersionNumber?: string;
402
- modelType?: ModelTypeEnum | string;
402
+ modelType?: ModelTypeEnum;
403
403
  nextToken?: string;
404
404
  maxResults?: number;
405
405
  }
@@ -487,10 +487,10 @@ export interface TrainingResultV2 {
487
487
  }
488
488
  export interface ModelVersionDetail {
489
489
  modelId?: string;
490
- modelType?: ModelTypeEnum | string;
490
+ modelType?: ModelTypeEnum;
491
491
  modelVersionNumber?: string;
492
492
  status?: string;
493
- trainingDataSource?: TrainingDataSourceEnum | string;
493
+ trainingDataSource?: TrainingDataSourceEnum;
494
494
  trainingDataSchema?: TrainingDataSchema;
495
495
  externalEventsDetail?: ExternalEventsDetail;
496
496
  ingestedEventsDetail?: IngestedEventsDetail;
@@ -511,7 +511,7 @@ export interface GetBatchImportJobsRequest {
511
511
  }
512
512
  export interface BatchImport {
513
513
  jobId?: string;
514
- status?: AsyncJobStatus | string;
514
+ status?: AsyncJobStatus;
515
515
  failureReason?: string;
516
516
  startTime?: string;
517
517
  completionTime?: string;
@@ -535,7 +535,7 @@ export interface GetBatchPredictionJobsRequest {
535
535
  }
536
536
  export interface BatchPrediction {
537
537
  jobId?: string;
538
- status?: AsyncJobStatus | string;
538
+ status?: AsyncJobStatus;
539
539
  failureReason?: string;
540
540
  startTime?: string;
541
541
  completionTime?: string;
@@ -559,7 +559,7 @@ export interface GetDeleteEventsByEventTypeStatusRequest {
559
559
  }
560
560
  export interface GetDeleteEventsByEventTypeStatusResult {
561
561
  eventTypeName?: string;
562
- eventsDeletionStatus?: AsyncJobStatus | string;
562
+ eventsDeletionStatus?: AsyncJobStatus;
563
563
  }
564
564
  export interface GetDetectorsRequest {
565
565
  detectorId?: string;
@@ -589,10 +589,10 @@ export interface GetDetectorVersionResult {
589
589
  externalModelEndpoints?: string[];
590
590
  modelVersions?: ModelVersion[];
591
591
  rules?: Rule[];
592
- status?: DetectorVersionStatus | string;
592
+ status?: DetectorVersionStatus;
593
593
  lastUpdatedTime?: string;
594
594
  createdTime?: string;
595
- ruleExecutionMode?: RuleExecutionMode | string;
595
+ ruleExecutionMode?: RuleExecutionMode;
596
596
  arn?: string;
597
597
  }
598
598
  export interface GetEntityTypesRequest {
@@ -651,7 +651,7 @@ export declare const ModelSource: {
651
651
  export type ModelSource = (typeof ModelSource)[keyof typeof ModelSource];
652
652
  export interface ExternalModelSummary {
653
653
  modelEndpoint?: string;
654
- modelSource?: ModelSource | string;
654
+ modelSource?: ModelSource;
655
655
  }
656
656
  export interface ExternalModelOutputs {
657
657
  externalModel?: ExternalModelSummary;
@@ -735,7 +735,7 @@ export interface GetEventPredictionMetadataResult {
735
735
  detectorVersionStatus?: string;
736
736
  eventVariables?: EventVariableSummary[];
737
737
  rules?: EvaluatedRule[];
738
- ruleExecutionMode?: RuleExecutionMode | string;
738
+ ruleExecutionMode?: RuleExecutionMode;
739
739
  outcomes?: string[];
740
740
  evaluatedModelVersions?: EvaluatedModelVersion[];
741
741
  evaluatedExternalModels?: EvaluatedExternalModel[];
@@ -768,7 +768,7 @@ export interface EventType {
768
768
  eventVariables?: string[];
769
769
  labels?: string[];
770
770
  entityTypes?: string[];
771
- eventIngestion?: EventIngestion | string;
771
+ eventIngestion?: EventIngestion;
772
772
  ingestedEventStatistics?: IngestedEventStatistics;
773
773
  lastUpdatedTime?: string;
774
774
  createdTime?: string;
@@ -792,7 +792,7 @@ export type ModelInputDataFormat =
792
792
  (typeof ModelInputDataFormat)[keyof typeof ModelInputDataFormat];
793
793
  export interface ModelInputConfiguration {
794
794
  eventTypeName?: string;
795
- format?: ModelInputDataFormat | string;
795
+ format?: ModelInputDataFormat;
796
796
  useEventVariables: boolean | undefined;
797
797
  jsonInputTemplate?: string;
798
798
  csvInputTemplate?: string;
@@ -810,17 +810,17 @@ export declare const ModelOutputDataFormat: {
810
810
  export type ModelOutputDataFormat =
811
811
  (typeof ModelOutputDataFormat)[keyof typeof ModelOutputDataFormat];
812
812
  export interface ModelOutputConfiguration {
813
- format: ModelOutputDataFormat | string | undefined;
813
+ format: ModelOutputDataFormat | undefined;
814
814
  jsonKeyToVariableMap?: Record<string, string>;
815
815
  csvIndexToVariableMap?: Record<string, string>;
816
816
  }
817
817
  export interface ExternalModel {
818
818
  modelEndpoint?: string;
819
- modelSource?: ModelSource | string;
819
+ modelSource?: ModelSource;
820
820
  invokeModelEndpointRoleArn?: string;
821
821
  inputConfiguration?: ModelInputConfiguration;
822
822
  outputConfiguration?: ModelOutputConfiguration;
823
- modelEndpointStatus?: ModelEndpointStatus | string;
823
+ modelEndpointStatus?: ModelEndpointStatus;
824
824
  lastUpdatedTime?: string;
825
825
  createdTime?: string;
826
826
  arn?: string;
@@ -871,13 +871,13 @@ export interface GetListsMetadataResult {
871
871
  }
872
872
  export interface GetModelsRequest {
873
873
  modelId?: string;
874
- modelType?: ModelTypeEnum | string;
874
+ modelType?: ModelTypeEnum;
875
875
  nextToken?: string;
876
876
  maxResults?: number;
877
877
  }
878
878
  export interface Model {
879
879
  modelId?: string;
880
- modelType?: ModelTypeEnum | string;
880
+ modelType?: ModelTypeEnum;
881
881
  description?: string;
882
882
  eventTypeName?: string;
883
883
  createdTime?: string;
@@ -890,14 +890,14 @@ export interface GetModelsResult {
890
890
  }
891
891
  export interface GetModelVersionRequest {
892
892
  modelId: string | undefined;
893
- modelType: ModelTypeEnum | string | undefined;
893
+ modelType: ModelTypeEnum | undefined;
894
894
  modelVersionNumber: string | undefined;
895
895
  }
896
896
  export interface GetModelVersionResult {
897
897
  modelId?: string;
898
- modelType?: ModelTypeEnum | string;
898
+ modelType?: ModelTypeEnum;
899
899
  modelVersionNumber?: string;
900
- trainingDataSource?: TrainingDataSourceEnum | string;
900
+ trainingDataSource?: TrainingDataSourceEnum;
901
901
  trainingDataSchema?: TrainingDataSchema;
902
902
  externalEventsDetail?: ExternalEventsDetail;
903
903
  ingestedEventsDetail?: IngestedEventsDetail;
@@ -933,7 +933,7 @@ export interface RuleDetail {
933
933
  detectorId?: string;
934
934
  ruleVersion?: string;
935
935
  expression?: string;
936
- language?: Language | string;
936
+ language?: Language;
937
937
  outcomes?: string[];
938
938
  lastUpdatedTime?: string;
939
939
  createdTime?: string;
@@ -1008,18 +1008,18 @@ export interface PutEventTypeRequest {
1008
1008
  eventVariables: string[] | undefined;
1009
1009
  labels?: string[];
1010
1010
  entityTypes: string[] | undefined;
1011
- eventIngestion?: EventIngestion | string;
1011
+ eventIngestion?: EventIngestion;
1012
1012
  tags?: Tag[];
1013
1013
  eventOrchestration?: EventOrchestration;
1014
1014
  }
1015
1015
  export interface PutEventTypeResult {}
1016
1016
  export interface PutExternalModelRequest {
1017
1017
  modelEndpoint: string | undefined;
1018
- modelSource: ModelSource | string | undefined;
1018
+ modelSource: ModelSource | undefined;
1019
1019
  invokeModelEndpointRoleArn: string | undefined;
1020
1020
  inputConfiguration: ModelInputConfiguration | undefined;
1021
1021
  outputConfiguration: ModelOutputConfiguration | undefined;
1022
- modelEndpointStatus: ModelEndpointStatus | string | undefined;
1022
+ modelEndpointStatus: ModelEndpointStatus | undefined;
1023
1023
  tags?: Tag[];
1024
1024
  }
1025
1025
  export interface PutExternalModelResult {}
@@ -1066,7 +1066,7 @@ export interface UpdateDetectorVersionRequest {
1066
1066
  rules: Rule[] | undefined;
1067
1067
  description?: string;
1068
1068
  modelVersions?: ModelVersion[];
1069
- ruleExecutionMode?: RuleExecutionMode | string;
1069
+ ruleExecutionMode?: RuleExecutionMode;
1070
1070
  }
1071
1071
  export interface UpdateDetectorVersionResult {}
1072
1072
  export interface UpdateDetectorVersionMetadataRequest {
@@ -1078,7 +1078,7 @@ export interface UpdateDetectorVersionMetadataResult {}
1078
1078
  export interface UpdateDetectorVersionStatusRequest {
1079
1079
  detectorId: string | undefined;
1080
1080
  detectorVersionId: string | undefined;
1081
- status: DetectorVersionStatus | string | undefined;
1081
+ status: DetectorVersionStatus | undefined;
1082
1082
  }
1083
1083
  export interface UpdateDetectorVersionStatusResult {}
1084
1084
  export interface UpdateEventLabelRequest {
@@ -1099,19 +1099,19 @@ export interface UpdateListRequest {
1099
1099
  name: string | undefined;
1100
1100
  elements?: string[];
1101
1101
  description?: string;
1102
- updateMode?: ListUpdateMode | string;
1102
+ updateMode?: ListUpdateMode;
1103
1103
  variableType?: string;
1104
1104
  }
1105
1105
  export interface UpdateListResult {}
1106
1106
  export interface UpdateModelRequest {
1107
1107
  modelId: string | undefined;
1108
- modelType: ModelTypeEnum | string | undefined;
1108
+ modelType: ModelTypeEnum | undefined;
1109
1109
  description?: string;
1110
1110
  }
1111
1111
  export interface UpdateModelResult {}
1112
1112
  export interface UpdateModelVersionRequest {
1113
1113
  modelId: string | undefined;
1114
- modelType: ModelTypeEnum | string | undefined;
1114
+ modelType: ModelTypeEnum | undefined;
1115
1115
  majorVersionNumber: string | undefined;
1116
1116
  externalEventsDetail?: ExternalEventsDetail;
1117
1117
  ingestedEventsDetail?: IngestedEventsDetail;
@@ -1119,7 +1119,7 @@ export interface UpdateModelVersionRequest {
1119
1119
  }
1120
1120
  export interface UpdateModelVersionResult {
1121
1121
  modelId?: string;
1122
- modelType?: ModelTypeEnum | string;
1122
+ modelType?: ModelTypeEnum;
1123
1123
  modelVersionNumber?: string;
1124
1124
  status?: string;
1125
1125
  }
@@ -1132,9 +1132,9 @@ export type ModelVersionStatus =
1132
1132
  (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus];
1133
1133
  export interface UpdateModelVersionStatusRequest {
1134
1134
  modelId: string | undefined;
1135
- modelType: ModelTypeEnum | string | undefined;
1135
+ modelType: ModelTypeEnum | undefined;
1136
1136
  modelVersionNumber: string | undefined;
1137
- status: ModelVersionStatus | string | undefined;
1137
+ status: ModelVersionStatus | undefined;
1138
1138
  }
1139
1139
  export interface UpdateModelVersionStatusResult {}
1140
1140
  export interface UpdateRuleMetadataRequest {
@@ -1146,7 +1146,7 @@ export interface UpdateRuleVersionRequest {
1146
1146
  rule: Rule | undefined;
1147
1147
  description?: string;
1148
1148
  expression: string | undefined;
1149
- language: Language | string | undefined;
1149
+ language: Language | undefined;
1150
1150
  outcomes: string[] | undefined;
1151
1151
  tags?: Tag[];
1152
1152
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-frauddetector",
3
3
  "description": "AWS SDK for JavaScript Frauddetector 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"