aws-sdk 2.875.0 → 2.879.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +47 -1
  2. package/README.md +1 -1
  3. package/apis/batch-2016-08-10.min.json +74 -53
  4. package/apis/cloud9-2017-09-23.examples.json +1 -1
  5. package/apis/cloud9-2017-09-23.min.json +48 -14
  6. package/apis/cloudformation-2010-05-15.min.json +50 -48
  7. package/apis/cloudhsm-2014-05-30.min.json +18 -51
  8. package/apis/cognito-sync-2014-06-30.examples.json +5 -0
  9. package/apis/cognito-sync-2014-06-30.min.json +2 -3
  10. package/apis/cognito-sync-2014-06-30.paginators.json +4 -0
  11. package/apis/comprehend-2017-11-27.min.json +12 -6
  12. package/apis/config-2014-11-12.min.json +238 -128
  13. package/apis/databrew-2017-07-25.min.json +154 -60
  14. package/apis/datapipeline-2012-10-29.examples.json +5 -0
  15. package/apis/datapipeline-2012-10-29.min.json +1 -1
  16. package/apis/datapipeline-2012-10-29.paginators.json +10 -10
  17. package/apis/detective-2018-10-26.min.json +114 -18
  18. package/apis/directconnect-2012-10-25.min.json +151 -52
  19. package/apis/ec2-2016-11-15.min.json +831 -625
  20. package/apis/ec2-2016-11-15.paginators.json +6 -0
  21. package/apis/ec2-2016-11-15.waiters2.json +1 -1
  22. package/apis/ec2-instance-connect-2018-04-02.min.json +25 -0
  23. package/apis/fms-2018-01-01.min.json +41 -7
  24. package/apis/frauddetector-2019-11-15.min.json +158 -54
  25. package/apis/frauddetector-2019-11-15.paginators.json +5 -0
  26. package/apis/imagebuilder-2019-12-02.min.json +141 -111
  27. package/apis/iot-2015-05-28.min.json +20 -15
  28. package/apis/iotwireless-2020-11-22.min.json +43 -2
  29. package/apis/kendra-2019-02-03.min.json +38 -36
  30. package/apis/lightsail-2016-11-28.min.json +121 -114
  31. package/apis/machinelearning-2014-12-12.examples.json +5 -0
  32. package/apis/machinelearning-2014-12-12.min.json +3 -4
  33. package/apis/machinelearning-2014-12-12.paginators.json +5 -5
  34. package/apis/mediaconvert-2017-08-29.min.json +122 -83
  35. package/apis/mediapackage-2017-10-12.min.json +64 -48
  36. package/apis/monitoring-2010-08-01.min.json +208 -38
  37. package/apis/monitoring-2010-08-01.paginators.json +5 -0
  38. package/apis/pinpoint-2016-12-01.min.json +15 -2
  39. package/apis/pricing-2017-10-15.examples.json +1 -0
  40. package/apis/redshift-2012-12-01.min.json +398 -191
  41. package/apis/route53resolver-2018-04-01.min.json +791 -89
  42. package/apis/route53resolver-2018-04-01.paginators.json +36 -0
  43. package/apis/runtime.lex-2016-11-28.min.json +29 -3
  44. package/apis/sagemaker-2017-07-24.min.json +141 -112
  45. package/apis/wafv2-2019-07-29.min.json +196 -89
  46. package/apis/workmail-2017-10-01.min.json +247 -30
  47. package/clients/batch.d.ts +41 -3
  48. package/clients/cloud9.d.ts +22 -12
  49. package/clients/cloudformation.d.ts +4 -0
  50. package/clients/cloudwatch.d.ts +222 -3
  51. package/clients/cognitosync.d.ts +20 -20
  52. package/clients/cognitosync.js +1 -0
  53. package/clients/comprehend.d.ts +24 -0
  54. package/clients/configservice.d.ts +182 -10
  55. package/clients/databrew.d.ts +145 -25
  56. package/clients/detective.d.ts +74 -0
  57. package/clients/directconnect.d.ts +161 -2
  58. package/clients/ec2.d.ts +239 -14
  59. package/clients/ec2instanceconnect.d.ts +41 -8
  60. package/clients/fms.d.ts +63 -2
  61. package/clients/frauddetector.d.ts +174 -0
  62. package/clients/imagebuilder.d.ts +378 -340
  63. package/clients/iot.d.ts +5 -0
  64. package/clients/iotwireless.d.ts +75 -0
  65. package/clients/kendra.d.ts +27 -17
  66. package/clients/lexmodelbuildingservice.d.ts +1 -1
  67. package/clients/lexruntime.d.ts +17 -3
  68. package/clients/lightsail.d.ts +17 -2
  69. package/clients/machinelearning.d.ts +71 -71
  70. package/clients/mediaconvert.d.ts +70 -11
  71. package/clients/mediapackage.d.ts +13 -0
  72. package/clients/pinpoint.d.ts +23 -3
  73. package/clients/redshift.d.ts +275 -0
  74. package/clients/route53resolver.d.ts +1093 -57
  75. package/clients/sagemaker.d.ts +76 -44
  76. package/clients/transcribeservice.d.ts +1 -1
  77. package/clients/wafv2.d.ts +126 -3
  78. package/clients/workmail.d.ts +294 -0
  79. package/dist/aws-sdk-core-react-native.js +2 -2
  80. package/dist/aws-sdk-react-native.js +1868 -1835
  81. package/dist/aws-sdk.js +2415 -1583
  82. package/dist/aws-sdk.min.js +80 -80
  83. package/lib/core.js +1 -1
  84. package/lib/event_listeners.js +1 -1
  85. package/lib/http/node.js +1 -1
  86. package/lib/services/s3.js +31 -8
  87. package/lib/services/s3control.js +18 -15
  88. package/lib/services/s3util.js +10 -10
  89. package/package.json +1 -1
  90. package/scripts/region-checker/allowlist.js +12 -12
@@ -27,6 +27,22 @@ declare class FraudDetector extends Service {
27
27
  * Gets a batch of variables.
28
28
  */
29
29
  batchGetVariable(callback?: (err: AWSError, data: FraudDetector.Types.BatchGetVariableResult) => void): Request<FraudDetector.Types.BatchGetVariableResult, AWSError>;
30
+ /**
31
+ * Cancels the specified batch prediction job.
32
+ */
33
+ cancelBatchPredictionJob(params: FraudDetector.Types.CancelBatchPredictionJobRequest, callback?: (err: AWSError, data: FraudDetector.Types.CancelBatchPredictionJobResult) => void): Request<FraudDetector.Types.CancelBatchPredictionJobResult, AWSError>;
34
+ /**
35
+ * Cancels the specified batch prediction job.
36
+ */
37
+ cancelBatchPredictionJob(callback?: (err: AWSError, data: FraudDetector.Types.CancelBatchPredictionJobResult) => void): Request<FraudDetector.Types.CancelBatchPredictionJobResult, AWSError>;
38
+ /**
39
+ * Creates a batch prediction job.
40
+ */
41
+ createBatchPredictionJob(params: FraudDetector.Types.CreateBatchPredictionJobRequest, callback?: (err: AWSError, data: FraudDetector.Types.CreateBatchPredictionJobResult) => void): Request<FraudDetector.Types.CreateBatchPredictionJobResult, AWSError>;
42
+ /**
43
+ * Creates a batch prediction job.
44
+ */
45
+ createBatchPredictionJob(callback?: (err: AWSError, data: FraudDetector.Types.CreateBatchPredictionJobResult) => void): Request<FraudDetector.Types.CreateBatchPredictionJobResult, AWSError>;
30
46
  /**
31
47
  * Creates a detector version. The detector version starts in a DRAFT status.
32
48
  */
@@ -67,6 +83,14 @@ declare class FraudDetector extends Service {
67
83
  * Creates a variable.
68
84
  */
69
85
  createVariable(callback?: (err: AWSError, data: FraudDetector.Types.CreateVariableResult) => void): Request<FraudDetector.Types.CreateVariableResult, AWSError>;
86
+ /**
87
+ * Deletes a batch prediction job.
88
+ */
89
+ deleteBatchPredictionJob(params: FraudDetector.Types.DeleteBatchPredictionJobRequest, callback?: (err: AWSError, data: FraudDetector.Types.DeleteBatchPredictionJobResult) => void): Request<FraudDetector.Types.DeleteBatchPredictionJobResult, AWSError>;
90
+ /**
91
+ * Deletes a batch prediction job.
92
+ */
93
+ deleteBatchPredictionJob(callback?: (err: AWSError, data: FraudDetector.Types.DeleteBatchPredictionJobResult) => void): Request<FraudDetector.Types.DeleteBatchPredictionJobResult, AWSError>;
70
94
  /**
71
95
  * Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector. When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
72
96
  */
@@ -179,6 +203,14 @@ declare class FraudDetector extends Service {
179
203
  * Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.
180
204
  */
181
205
  describeModelVersions(callback?: (err: AWSError, data: FraudDetector.Types.DescribeModelVersionsResult) => void): Request<FraudDetector.Types.DescribeModelVersionsResult, AWSError>;
206
+ /**
207
+ * Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
208
+ */
209
+ getBatchPredictionJobs(params: FraudDetector.Types.GetBatchPredictionJobsRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetBatchPredictionJobsResult) => void): Request<FraudDetector.Types.GetBatchPredictionJobsResult, AWSError>;
210
+ /**
211
+ * Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
212
+ */
213
+ getBatchPredictionJobs(callback?: (err: AWSError, data: FraudDetector.Types.GetBatchPredictionJobsResult) => void): Request<FraudDetector.Types.GetBatchPredictionJobsResult, AWSError>;
182
214
  /**
183
215
  * Gets a particular detector version.
184
216
  */
@@ -433,6 +465,7 @@ declare class FraudDetector extends Service {
433
465
  updateVariable(callback?: (err: AWSError, data: FraudDetector.Types.UpdateVariableResult) => void): Request<FraudDetector.Types.UpdateVariableResult, AWSError>;
434
466
  }
435
467
  declare namespace FraudDetector {
468
+ export type AsyncJobStatus = "IN_PROGRESS_INITIALIZING"|"IN_PROGRESS"|"CANCEL_IN_PROGRESS"|"CANCELED"|"COMPLETE"|"FAILED"|string;
436
469
  export interface BatchCreateVariableError {
437
470
  /**
438
471
  * The name.
@@ -495,6 +528,113 @@ declare namespace FraudDetector {
495
528
  */
496
529
  errors?: BatchGetVariableErrorList;
497
530
  }
531
+ export interface BatchPrediction {
532
+ /**
533
+ * The job ID for the batch prediction.
534
+ */
535
+ jobId?: identifier;
536
+ /**
537
+ * The batch prediction status.
538
+ */
539
+ status?: AsyncJobStatus;
540
+ /**
541
+ * The reason a batch prediction job failed.
542
+ */
543
+ failureReason?: string;
544
+ /**
545
+ * Timestamp of when the batch prediction job started.
546
+ */
547
+ startTime?: time;
548
+ /**
549
+ * Timestamp of when the batch prediction job comleted.
550
+ */
551
+ completionTime?: time;
552
+ /**
553
+ * Timestamp of most recent heartbeat indicating the batch prediction job was making progress.
554
+ */
555
+ lastHeartbeatTime?: time;
556
+ /**
557
+ * The Amazon S3 location of your training file.
558
+ */
559
+ inputPath?: s3BucketLocation;
560
+ /**
561
+ * The Amazon S3 location of your output file.
562
+ */
563
+ outputPath?: s3BucketLocation;
564
+ /**
565
+ * The name of the event type.
566
+ */
567
+ eventTypeName?: identifier;
568
+ /**
569
+ * The name of the detector.
570
+ */
571
+ detectorName?: identifier;
572
+ /**
573
+ * The detector version.
574
+ */
575
+ detectorVersion?: floatVersionString;
576
+ /**
577
+ * The ARN of the IAM role to use for this job request.
578
+ */
579
+ iamRoleArn?: iamRoleArn;
580
+ /**
581
+ * The ARN of batch prediction job.
582
+ */
583
+ arn?: fraudDetectorArn;
584
+ /**
585
+ * The number of records processed by the batch prediction job.
586
+ */
587
+ processedRecordsCount?: Integer;
588
+ /**
589
+ * The total number of records in the batch prediction job.
590
+ */
591
+ totalRecordsCount?: Integer;
592
+ }
593
+ export type BatchPredictionList = BatchPrediction[];
594
+ export interface CancelBatchPredictionJobRequest {
595
+ /**
596
+ * The ID of the batch prediction job to cancel.
597
+ */
598
+ jobId: identifier;
599
+ }
600
+ export interface CancelBatchPredictionJobResult {
601
+ }
602
+ export interface CreateBatchPredictionJobRequest {
603
+ /**
604
+ * The ID of the batch prediction job.
605
+ */
606
+ jobId: identifier;
607
+ /**
608
+ * The Amazon S3 location of your training file.
609
+ */
610
+ inputPath: s3BucketLocation;
611
+ /**
612
+ * The Amazon S3 location of your output file.
613
+ */
614
+ outputPath: s3BucketLocation;
615
+ /**
616
+ * The name of the event type.
617
+ */
618
+ eventTypeName: identifier;
619
+ /**
620
+ * The name of the detector.
621
+ */
622
+ detectorName: identifier;
623
+ /**
624
+ * The detector version.
625
+ */
626
+ detectorVersion?: wholeNumberVersionString;
627
+ /**
628
+ * The ARN of the IAM role to use for this job request.
629
+ */
630
+ iamRoleArn: iamRoleArn;
631
+ /**
632
+ * A collection of key and value pairs.
633
+ */
634
+ tags?: tagList;
635
+ }
636
+ export interface CreateBatchPredictionJobResult {
637
+ }
498
638
  export interface CreateDetectorVersionRequest {
499
639
  /**
500
640
  * The ID of the detector under which you want to create a new version.
@@ -688,6 +828,14 @@ declare namespace FraudDetector {
688
828
  */
689
829
  fieldLevelMessages?: fieldValidationMessageList;
690
830
  }
831
+ export interface DeleteBatchPredictionJobRequest {
832
+ /**
833
+ * The ID of the batch prediction job to delete.
834
+ */
835
+ jobId: identifier;
836
+ }
837
+ export interface DeleteBatchPredictionJobResult {
838
+ }
691
839
  export interface DeleteDetectorRequest {
692
840
  /**
693
841
  * The ID of the detector to delete.
@@ -1068,6 +1216,30 @@ declare namespace FraudDetector {
1068
1216
  */
1069
1217
  type?: string;
1070
1218
  }
1219
+ export interface GetBatchPredictionJobsRequest {
1220
+ /**
1221
+ * The batch prediction job for which to get the details.
1222
+ */
1223
+ jobId?: identifier;
1224
+ /**
1225
+ * The maximum number of objects to return for the request.
1226
+ */
1227
+ maxResults?: batchPredictionsMaxPageSize;
1228
+ /**
1229
+ * The next token from the previous request.
1230
+ */
1231
+ nextToken?: string;
1232
+ }
1233
+ export interface GetBatchPredictionJobsResult {
1234
+ /**
1235
+ * An array containing the details of each batch prediction job.
1236
+ */
1237
+ batchPredictions?: BatchPredictionList;
1238
+ /**
1239
+ * The next token for the subsequent request.
1240
+ */
1241
+ nextToken?: string;
1242
+ }
1071
1243
  export interface GetDetectorVersionRequest {
1072
1244
  /**
1073
1245
  * The detector ID.
@@ -1450,6 +1622,7 @@ declare namespace FraudDetector {
1450
1622
  */
1451
1623
  nextToken?: string;
1452
1624
  }
1625
+ export type Integer = number;
1453
1626
  export type JsonKeyToVariableMap = {[key: string]: string};
1454
1627
  export interface KMSKey {
1455
1628
  /**
@@ -2257,6 +2430,7 @@ declare namespace FraudDetector {
2257
2430
  export type VariableEntryList = VariableEntry[];
2258
2431
  export type VariableList = Variable[];
2259
2432
  export type VariablesMaxResults = number;
2433
+ export type batchPredictionsMaxPageSize = number;
2260
2434
  export type blob = Buffer|Uint8Array|Blob|string;
2261
2435
  export type contentType = string;
2262
2436
  export type description = string;