@aws-sdk/client-glue 3.983.0 → 3.985.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 (62) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +338 -70
  3. package/dist-es/Glue.js +4 -0
  4. package/dist-es/commands/DeleteConnectionTypeCommand.js +16 -0
  5. package/dist-es/commands/RegisterConnectionTypeCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +24 -0
  8. package/dist-es/schemas/schemas_0.js +256 -70
  9. package/dist-types/Glue.d.ts +14 -0
  10. package/dist-types/GlueClient.d.ts +4 -2
  11. package/dist-types/commands/DeleteConnectionTypeCommand.d.ts +91 -0
  12. package/dist-types/commands/DescribeConnectionTypeCommand.d.ts +156 -1
  13. package/dist-types/commands/DescribeEntityCommand.d.ts +1 -1
  14. package/dist-types/commands/GetMLTaskRunCommand.d.ts +2 -1
  15. package/dist-types/commands/GetMLTaskRunsCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMLTransformCommand.d.ts +1 -2
  17. package/dist-types/commands/ListConnectionTypesCommand.d.ts +3 -1
  18. package/dist-types/commands/RegisterConnectionTypeCommand.d.ts +284 -0
  19. package/dist-types/commands/UpdateDevEndpointCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateGlueIdentityCenterConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateIntegrationResourcePropertyCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateIntegrationTablePropertiesCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateJobCommand.d.ts +1 -2
  24. package/dist-types/commands/UpdateJobFromSourceControlCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateMLTransformCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdatePartitionCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateRegistryCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateSourceControlFromJobCommand.d.ts +1 -1
  30. package/dist-types/commands/index.d.ts +2 -0
  31. package/dist-types/models/enums.d.ts +64 -0
  32. package/dist-types/models/models_0.d.ts +11 -1
  33. package/dist-types/models/models_1.d.ts +252 -368
  34. package/dist-types/models/models_2.d.ts +664 -599
  35. package/dist-types/models/models_3.d.ts +585 -4
  36. package/dist-types/schemas/schemas_0.d.ts +25 -0
  37. package/dist-types/ts3.4/Glue.d.ts +34 -0
  38. package/dist-types/ts3.4/GlueClient.d.ts +12 -0
  39. package/dist-types/ts3.4/commands/DeleteConnectionTypeCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +2 -1
  41. package/dist-types/ts3.4/commands/GetMLTaskRunsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetMLTransformCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/RegisterConnectionTypeCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/UpdateDevEndpointCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/UpdateGlueIdentityCenterConfigurationCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/UpdateIntegrationResourcePropertyCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/UpdateIntegrationTablePropertiesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -2
  49. package/dist-types/ts3.4/commands/UpdateJobFromSourceControlCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateMLTransformCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/UpdatePartitionCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UpdateSourceControlFromJobCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  56. package/dist-types/ts3.4/models/enums.d.ts +32 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  58. package/dist-types/ts3.4/models/models_1.d.ts +63 -85
  59. package/dist-types/ts3.4/models/models_2.d.ts +161 -134
  60. package/dist-types/ts3.4/models/models_3.d.ts +141 -1
  61. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  62. package/package.json +13 -13
@@ -1,5 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AllowFullTableExternalDataAccessEnum, AuthenticationType, BlueprintRunState, CatalogEncryptionMode, CloudWatchEncryptionMode, ColumnStatisticsState, ColumnStatisticsType, Compatibility, ComputationType, ComputeEnvironment, ConnectionPropertyKey, ConnectionStatus, ConnectionType, CsvHeaderOption, CsvSerdeOption, DatabaseAttributes, DataFormat, DataOperation, DataQualityEncryptionMode, DataQualityModelStatus, DQCompositeRuleEvaluationMethod, ExecutionStatus, FieldDataType, FieldFilterOperator, FunctionType, IcebergNullOrder, IcebergSortDirection, IcebergStructTypeEnum, InclusionAnnotationValue, IntegrationStatus, JobBookmarksEncryptionMode, Language, LastRefreshType, MaterializedViewRefreshState, MaterializedViewRefreshType, MetadataOperation, MLUserDataEncryptionModeString, PrincipalType, RegistryStatus, ResourceShareType, ResourceType, S3EncryptionMode, ScheduleType, SchemaStatus, SchemaVersionStatus, SessionStatus, SettingSource, SortDirectionType, TableOptimizerType, TaskRunSortColumnType, TaskStatusType, TaskType, TransformType, TriggerType, UnnestSpec, ViewDialect, WorkerType } from "./enums";
2
+ import { AllowFullTableExternalDataAccessEnum, AuthenticationType, BlueprintRunState, CatalogEncryptionMode, CloudWatchEncryptionMode, ColumnStatisticsState, ColumnStatisticsType, Compatibility, ComputationType, ComputeEnvironment, ConnectionPropertyKey, ConnectionStatus, ConnectionType, CsvHeaderOption, CsvSerdeOption, DatabaseAttributes, DataFormat, DataOperation, DataQualityEncryptionMode, DataQualityModelStatus, DQCompositeRuleEvaluationMethod, ExecutionStatus, FieldDataType, FieldFilterOperator, FunctionType, HTTPMethod, IcebergNullOrder, IcebergSortDirection, IcebergStructTypeEnum, InclusionAnnotationValue, IntegrationStatus, JobBookmarksEncryptionMode, Language, LastRefreshType, MaterializedViewRefreshState, MaterializedViewRefreshType, MetadataOperation, MLUserDataEncryptionModeString, PrincipalType, PropertyLocation, PropertyType, RegistryStatus, ResourceShareType, ResourceType, S3EncryptionMode, ScheduleType, SchemaStatus, SchemaVersionStatus, SessionStatus, SettingSource, TableOptimizerType, TaskStatusType, TransformType, TriggerType, UnnestSpec, ViewDialect, WorkerType } from "./enums";
3
3
  import { type AuthConfiguration, type AuthenticationConfiguration, type Blueprint, type ConnectionsList, type DatabaseIdentifier, type DataQualityAggregatedMetrics, type DataQualityTargetTable, type ErrorDetail, type EventBatchingCondition, type FederatedCatalog, type FederatedDatabase, type PartitionInput, type PhysicalConnectionRequirements, type Predicate, type Schedule, type SchemaId, type StorageDescriptor, type TableOptimizerConfiguration, type TargetRedshiftCatalog, Action, Column, Crawler, DataQualityAnalyzerResult, DataQualityObservation, DataQualityRuleResult, DataSource, DevEndpoint, GlueTable, JobRun, PrincipalPermissions, Property } from "./models_0";
4
4
  /**
5
5
  * @public
@@ -2677,6 +2677,21 @@ export interface DeleteConnectionRequest {
2677
2677
  */
2678
2678
  export interface DeleteConnectionResponse {
2679
2679
  }
2680
+ /**
2681
+ * @public
2682
+ */
2683
+ export interface DeleteConnectionTypeRequest {
2684
+ /**
2685
+ * <p>The name of the connection type to delete. Must reference an existing registered connection type.</p>
2686
+ * @public
2687
+ */
2688
+ ConnectionType: string | undefined;
2689
+ }
2690
+ /**
2691
+ * @public
2692
+ */
2693
+ export interface DeleteConnectionTypeResponse {
2694
+ }
2680
2695
  /**
2681
2696
  * @public
2682
2697
  */
@@ -3456,6 +3471,237 @@ export interface ComputeEnvironmentConfiguration {
3456
3471
  */
3457
3472
  PhysicalConnectionPropertiesRequired?: boolean | undefined;
3458
3473
  }
3474
+ /**
3475
+ * <p>Defines a field in an entity schema for REST connector data sources, specifying the field name and data type.</p>
3476
+ * @public
3477
+ */
3478
+ export interface FieldDefinition {
3479
+ /**
3480
+ * <p>The name of the field in the entity schema.</p>
3481
+ * @public
3482
+ */
3483
+ Name: string | undefined;
3484
+ /**
3485
+ * <p>The data type of the field.</p>
3486
+ * @public
3487
+ */
3488
+ FieldDataType: FieldDataType | undefined;
3489
+ }
3490
+ /**
3491
+ * <p>Configuration that defines how to extract values from HTTP response content or headers for use in subsequent requests or parameter mapping.</p>
3492
+ * @public
3493
+ */
3494
+ export interface ResponseExtractionMapping {
3495
+ /**
3496
+ * <p>A JSON path expression that specifies how to extract a value from the response body content.</p>
3497
+ * @public
3498
+ */
3499
+ ContentPath?: string | undefined;
3500
+ /**
3501
+ * <p>The name of an HTTP response header from which to extract the value.</p>
3502
+ * @public
3503
+ */
3504
+ HeaderKey?: string | undefined;
3505
+ }
3506
+ /**
3507
+ * <p>Parameter extraction configuration that defines how to extract and map values from API responses to request parameters.</p>
3508
+ * @public
3509
+ */
3510
+ export interface ExtractedParameter {
3511
+ /**
3512
+ * <p>The parameter key name that will be used in subsequent requests.</p>
3513
+ * @public
3514
+ */
3515
+ Key?: string | undefined;
3516
+ /**
3517
+ * <p>The default value to use if the parameter cannot be extracted from the response.</p>
3518
+ * @public
3519
+ */
3520
+ DefaultValue?: string | undefined;
3521
+ /**
3522
+ * <p>Specifies where this extracted parameter should be placed in subsequent requests, such as in headers, query parameters, or request body.</p>
3523
+ * @public
3524
+ */
3525
+ PropertyLocation?: PropertyLocation | undefined;
3526
+ /**
3527
+ * <p>The JSON path or extraction mapping that defines how to extract the parameter value from API responses.</p>
3528
+ * @public
3529
+ */
3530
+ Value?: ResponseExtractionMapping | undefined;
3531
+ }
3532
+ /**
3533
+ * <p>Cursor-based pagination configuration that defines how to handle pagination using cursor tokens or next page identifiers.</p>
3534
+ * @public
3535
+ */
3536
+ export interface CursorConfiguration {
3537
+ /**
3538
+ * <p>The parameter name or JSON path that contains the cursor or token for retrieving the next page of results.</p>
3539
+ * @public
3540
+ */
3541
+ NextPage: ExtractedParameter | undefined;
3542
+ /**
3543
+ * <p>The parameter name used to specify the maximum number of results to return per page.</p>
3544
+ * @public
3545
+ */
3546
+ LimitParameter?: ExtractedParameter | undefined;
3547
+ }
3548
+ /**
3549
+ * <p>Offset-based pagination configuration that defines how to handle pagination using numeric offsets and limits.</p>
3550
+ * @public
3551
+ */
3552
+ export interface OffsetConfiguration {
3553
+ /**
3554
+ * <p>The parameter name used to specify the starting position or offset for retrieving results.</p>
3555
+ * @public
3556
+ */
3557
+ OffsetParameter: ExtractedParameter | undefined;
3558
+ /**
3559
+ * <p>The parameter name used to specify the maximum number of results to return per page.</p>
3560
+ * @public
3561
+ */
3562
+ LimitParameter: ExtractedParameter | undefined;
3563
+ }
3564
+ /**
3565
+ * <p>Configuration that defines how to handle paginated responses from REST APIs, supporting different pagination strategies used by various services.</p>
3566
+ * @public
3567
+ */
3568
+ export interface PaginationConfiguration {
3569
+ /**
3570
+ * <p>Configuration for cursor-based pagination, where the API provides a cursor or token to retrieve the next page of results.</p>
3571
+ * @public
3572
+ */
3573
+ CursorConfiguration?: CursorConfiguration | undefined;
3574
+ /**
3575
+ * <p>Configuration for offset-based pagination, where the API uses numeric offsets and limits to control which results are returned.</p>
3576
+ * @public
3577
+ */
3578
+ OffsetConfiguration?: OffsetConfiguration | undefined;
3579
+ }
3580
+ /**
3581
+ * <p>Defines a property configuration for connection types, default values, and where the property should be used in requests.</p>
3582
+ * @public
3583
+ */
3584
+ export interface ConnectorProperty {
3585
+ /**
3586
+ * <p>The name of the property.</p>
3587
+ * @public
3588
+ */
3589
+ Name: string | undefined;
3590
+ /**
3591
+ * <p>A key name to use when sending this property in API requests, if different from the display name.</p>
3592
+ * @public
3593
+ */
3594
+ KeyOverride?: string | undefined;
3595
+ /**
3596
+ * <p>Indicates whether the property is required.</p>
3597
+ * @public
3598
+ */
3599
+ Required: boolean | undefined;
3600
+ /**
3601
+ * <p>The default value for the property.</p>
3602
+ * @public
3603
+ */
3604
+ DefaultValue?: string | undefined;
3605
+ /**
3606
+ * <p>A list of <code>AllowedValue</code> objects representing the values allowed for the property.</p>
3607
+ * @public
3608
+ */
3609
+ AllowedValues?: string[] | undefined;
3610
+ /**
3611
+ * <p>Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.</p>
3612
+ * @public
3613
+ */
3614
+ PropertyLocation?: PropertyLocation | undefined;
3615
+ /**
3616
+ * <p>The data type of this property</p>
3617
+ * @public
3618
+ */
3619
+ PropertyType: PropertyType | undefined;
3620
+ }
3621
+ /**
3622
+ * <p>Configuration that defines how to parse JSON responses from REST API calls, including paths to result data and error information.</p>
3623
+ * @public
3624
+ */
3625
+ export interface ResponseConfiguration {
3626
+ /**
3627
+ * <p>The JSON path expression that identifies where the actual result data is located within the API response.</p>
3628
+ * @public
3629
+ */
3630
+ ResultPath: string | undefined;
3631
+ /**
3632
+ * <p>The JSON path expression that identifies where error information is located within API responses when requests fail.</p>
3633
+ * @public
3634
+ */
3635
+ ErrorPath?: string | undefined;
3636
+ }
3637
+ /**
3638
+ * <p>Configuration that defines how to make requests to endpoints, including request methods, paths, parameters, and response handling.</p>
3639
+ * @public
3640
+ */
3641
+ export interface SourceConfiguration {
3642
+ /**
3643
+ * <p>The HTTP method to use for requests to this endpoint, such as GET, POST.</p>
3644
+ * @public
3645
+ */
3646
+ RequestMethod?: HTTPMethod | undefined;
3647
+ /**
3648
+ * <p>The URL path for the REST endpoint, which may include parameter placeholders that will be replaced with actual values during requests.</p>
3649
+ * @public
3650
+ */
3651
+ RequestPath?: string | undefined;
3652
+ /**
3653
+ * <p>Configuration for request parameters that should be included in API calls, such as query parameters, headers, or body content.</p>
3654
+ * @public
3655
+ */
3656
+ RequestParameters?: ConnectorProperty[] | undefined;
3657
+ /**
3658
+ * <p>Configuration that defines how to parse and extract data from API responses, including success and error handling.</p>
3659
+ * @public
3660
+ */
3661
+ ResponseConfiguration?: ResponseConfiguration | undefined;
3662
+ /**
3663
+ * <p>Configuration for handling paginated responses from the REST API, supporting both cursor-based and offset-based pagination strategies.</p>
3664
+ * @public
3665
+ */
3666
+ PaginationConfiguration?: PaginationConfiguration | undefined;
3667
+ }
3668
+ /**
3669
+ * <p>Configuration that defines how to interact with a specific data entity through the REST API, including its access patterns and schema definition.</p>
3670
+ * @public
3671
+ */
3672
+ export interface EntityConfiguration {
3673
+ /**
3674
+ * <p>The source configuration that defines how to make requests to access this entity's data through the REST API.</p>
3675
+ * @public
3676
+ */
3677
+ SourceConfiguration?: SourceConfiguration | undefined;
3678
+ /**
3679
+ * <p>The schema definition for this entity, including field names, types, and other metadata that describes the structure of the data.</p>
3680
+ * @public
3681
+ */
3682
+ Schema?: Record<string, FieldDefinition> | undefined;
3683
+ }
3684
+ /**
3685
+ * <p>Configuration that defines HTTP request and response handling, validation endpoints, and entity configurations for REST API interactions.</p>
3686
+ * @public
3687
+ */
3688
+ export interface RestConfiguration {
3689
+ /**
3690
+ * <p>Global configuration settings that apply to all REST API requests for this connection type, including common request methods, paths, and parameters.</p>
3691
+ * @public
3692
+ */
3693
+ GlobalSourceConfiguration?: SourceConfiguration | undefined;
3694
+ /**
3695
+ * <p>Configuration for the endpoint used to validate connection credentials and test connectivity during connection creation.</p>
3696
+ * @public
3697
+ */
3698
+ ValidationEndpointConfiguration?: SourceConfiguration | undefined;
3699
+ /**
3700
+ * <p>A map of entity configurations that define how to interact with different data entities available through the REST API, including their schemas and access patterns.</p>
3701
+ * @public
3702
+ */
3703
+ EntityConfigurations?: Record<string, EntityConfiguration> | undefined;
3704
+ }
3459
3705
  /**
3460
3706
  * @public
3461
3707
  */
@@ -3515,6 +3761,11 @@ export interface DescribeConnectionTypeResponse {
3515
3761
  * @public
3516
3762
  */
3517
3763
  SparkConnectionProperties?: Record<string, Property> | undefined;
3764
+ /**
3765
+ * <p>HTTP request and response configuration, validation endpoint, and entity configurations for REST based data source.</p>
3766
+ * @public
3767
+ */
3768
+ RestConfiguration?: RestConfiguration | undefined;
3518
3769
  }
3519
3770
  /**
3520
3771
  * @public
@@ -7191,370 +7442,3 @@ export interface FindMatchesTaskRunProperties {
7191
7442
  */
7192
7443
  JobRunId?: string | undefined;
7193
7444
  }
7194
- /**
7195
- * <p>Specifies configuration properties for an importing labels task run.</p>
7196
- * @public
7197
- */
7198
- export interface ImportLabelsTaskRunProperties {
7199
- /**
7200
- * <p>The Amazon Simple Storage Service (Amazon S3) path from where you will import the
7201
- * labels.</p>
7202
- * @public
7203
- */
7204
- InputS3Path?: string | undefined;
7205
- /**
7206
- * <p>Indicates whether to overwrite your existing labels.</p>
7207
- * @public
7208
- */
7209
- Replace?: boolean | undefined;
7210
- }
7211
- /**
7212
- * <p>Specifies configuration properties for a labeling set generation task run.</p>
7213
- * @public
7214
- */
7215
- export interface LabelingSetGenerationTaskRunProperties {
7216
- /**
7217
- * <p>The Amazon Simple Storage Service (Amazon S3) path where you will generate the labeling
7218
- * set.</p>
7219
- * @public
7220
- */
7221
- OutputS3Path?: string | undefined;
7222
- }
7223
- /**
7224
- * <p>The configuration properties for the task run.</p>
7225
- * @public
7226
- */
7227
- export interface TaskRunProperties {
7228
- /**
7229
- * <p>The type of task run.</p>
7230
- * @public
7231
- */
7232
- TaskType?: TaskType | undefined;
7233
- /**
7234
- * <p>The configuration properties for an importing labels task run.</p>
7235
- * @public
7236
- */
7237
- ImportLabelsTaskRunProperties?: ImportLabelsTaskRunProperties | undefined;
7238
- /**
7239
- * <p>The configuration properties for an exporting labels task run.</p>
7240
- * @public
7241
- */
7242
- ExportLabelsTaskRunProperties?: ExportLabelsTaskRunProperties | undefined;
7243
- /**
7244
- * <p>The configuration properties for a labeling set generation task run.</p>
7245
- * @public
7246
- */
7247
- LabelingSetGenerationTaskRunProperties?: LabelingSetGenerationTaskRunProperties | undefined;
7248
- /**
7249
- * <p>The configuration properties for a find matches task run.</p>
7250
- * @public
7251
- */
7252
- FindMatchesTaskRunProperties?: FindMatchesTaskRunProperties | undefined;
7253
- }
7254
- /**
7255
- * @public
7256
- */
7257
- export interface GetMLTaskRunResponse {
7258
- /**
7259
- * <p>The unique identifier of the task run.</p>
7260
- * @public
7261
- */
7262
- TransformId?: string | undefined;
7263
- /**
7264
- * <p>The unique run identifier associated with this run.</p>
7265
- * @public
7266
- */
7267
- TaskRunId?: string | undefined;
7268
- /**
7269
- * <p>The status for this task run.</p>
7270
- * @public
7271
- */
7272
- Status?: TaskStatusType | undefined;
7273
- /**
7274
- * <p>The names of the log groups that are associated with the task run.</p>
7275
- * @public
7276
- */
7277
- LogGroupName?: string | undefined;
7278
- /**
7279
- * <p>The list of properties that are associated with the task run.</p>
7280
- * @public
7281
- */
7282
- Properties?: TaskRunProperties | undefined;
7283
- /**
7284
- * <p>The error strings that are associated with the task run.</p>
7285
- * @public
7286
- */
7287
- ErrorString?: string | undefined;
7288
- /**
7289
- * <p>The date and time when this task run started.</p>
7290
- * @public
7291
- */
7292
- StartedOn?: Date | undefined;
7293
- /**
7294
- * <p>The date and time when this task run was last modified.</p>
7295
- * @public
7296
- */
7297
- LastModifiedOn?: Date | undefined;
7298
- /**
7299
- * <p>The date and time when this task run was completed.</p>
7300
- * @public
7301
- */
7302
- CompletedOn?: Date | undefined;
7303
- /**
7304
- * <p>The amount of time (in seconds) that the task run consumed resources.</p>
7305
- * @public
7306
- */
7307
- ExecutionTime?: number | undefined;
7308
- }
7309
- /**
7310
- * <p>The criteria that are used to filter the task runs for the machine learning
7311
- * transform.</p>
7312
- * @public
7313
- */
7314
- export interface TaskRunFilterCriteria {
7315
- /**
7316
- * <p>The type of task run.</p>
7317
- * @public
7318
- */
7319
- TaskRunType?: TaskType | undefined;
7320
- /**
7321
- * <p>The current status of the task run.</p>
7322
- * @public
7323
- */
7324
- Status?: TaskStatusType | undefined;
7325
- /**
7326
- * <p>Filter on task runs started before this date.</p>
7327
- * @public
7328
- */
7329
- StartedBefore?: Date | undefined;
7330
- /**
7331
- * <p>Filter on task runs started after this date.</p>
7332
- * @public
7333
- */
7334
- StartedAfter?: Date | undefined;
7335
- }
7336
- /**
7337
- * <p>The sorting criteria that are used to sort the list of task runs for the machine learning
7338
- * transform.</p>
7339
- * @public
7340
- */
7341
- export interface TaskRunSortCriteria {
7342
- /**
7343
- * <p>The column to be used to sort the list of task runs for the machine learning
7344
- * transform.</p>
7345
- * @public
7346
- */
7347
- Column: TaskRunSortColumnType | undefined;
7348
- /**
7349
- * <p>The sort direction to be used to sort the list of task runs for the machine learning
7350
- * transform.</p>
7351
- * @public
7352
- */
7353
- SortDirection: SortDirectionType | undefined;
7354
- }
7355
- /**
7356
- * @public
7357
- */
7358
- export interface GetMLTaskRunsRequest {
7359
- /**
7360
- * <p>The unique identifier of the machine learning transform.</p>
7361
- * @public
7362
- */
7363
- TransformId: string | undefined;
7364
- /**
7365
- * <p>A token for pagination of the results. The default is empty.</p>
7366
- * @public
7367
- */
7368
- NextToken?: string | undefined;
7369
- /**
7370
- * <p>The maximum number of results to return. </p>
7371
- * @public
7372
- */
7373
- MaxResults?: number | undefined;
7374
- /**
7375
- * <p>The filter criteria, in the <code>TaskRunFilterCriteria</code> structure, for the task run.</p>
7376
- * @public
7377
- */
7378
- Filter?: TaskRunFilterCriteria | undefined;
7379
- /**
7380
- * <p>The sorting criteria, in the <code>TaskRunSortCriteria</code> structure, for the task run.</p>
7381
- * @public
7382
- */
7383
- Sort?: TaskRunSortCriteria | undefined;
7384
- }
7385
- /**
7386
- * <p>The sampling parameters that are associated with the machine learning transform.</p>
7387
- * @public
7388
- */
7389
- export interface TaskRun {
7390
- /**
7391
- * <p>The unique identifier for the transform.</p>
7392
- * @public
7393
- */
7394
- TransformId?: string | undefined;
7395
- /**
7396
- * <p>The unique identifier for this task run.</p>
7397
- * @public
7398
- */
7399
- TaskRunId?: string | undefined;
7400
- /**
7401
- * <p>The current status of the requested task run.</p>
7402
- * @public
7403
- */
7404
- Status?: TaskStatusType | undefined;
7405
- /**
7406
- * <p>The names of the log group for secure logging, associated with this task run.</p>
7407
- * @public
7408
- */
7409
- LogGroupName?: string | undefined;
7410
- /**
7411
- * <p>Specifies configuration properties associated with this task run.</p>
7412
- * @public
7413
- */
7414
- Properties?: TaskRunProperties | undefined;
7415
- /**
7416
- * <p>The list of error strings associated with this task run.</p>
7417
- * @public
7418
- */
7419
- ErrorString?: string | undefined;
7420
- /**
7421
- * <p>The date and time that this task run started.</p>
7422
- * @public
7423
- */
7424
- StartedOn?: Date | undefined;
7425
- /**
7426
- * <p>The last point in time that the requested task run was updated.</p>
7427
- * @public
7428
- */
7429
- LastModifiedOn?: Date | undefined;
7430
- /**
7431
- * <p>The last point in time that the requested task run was completed.</p>
7432
- * @public
7433
- */
7434
- CompletedOn?: Date | undefined;
7435
- /**
7436
- * <p>The amount of time (in seconds) that the task run consumed resources.</p>
7437
- * @public
7438
- */
7439
- ExecutionTime?: number | undefined;
7440
- }
7441
- /**
7442
- * @public
7443
- */
7444
- export interface GetMLTaskRunsResponse {
7445
- /**
7446
- * <p>A list of task runs that are associated with the transform.</p>
7447
- * @public
7448
- */
7449
- TaskRuns?: TaskRun[] | undefined;
7450
- /**
7451
- * <p>A pagination token, if more results are available.</p>
7452
- * @public
7453
- */
7454
- NextToken?: string | undefined;
7455
- }
7456
- /**
7457
- * @public
7458
- */
7459
- export interface GetMLTransformRequest {
7460
- /**
7461
- * <p>The unique identifier of the transform, generated at the time that the transform was
7462
- * created.</p>
7463
- * @public
7464
- */
7465
- TransformId: string | undefined;
7466
- }
7467
- /**
7468
- * <p>A structure containing the column name and column importance score for a column. </p>
7469
- * <p>Column importance helps you understand how columns contribute to your model, by identifying which columns in your records are more important than others.</p>
7470
- * @public
7471
- */
7472
- export interface ColumnImportance {
7473
- /**
7474
- * <p>The name of a column.</p>
7475
- * @public
7476
- */
7477
- ColumnName?: string | undefined;
7478
- /**
7479
- * <p>The column importance score for the column, as a decimal.</p>
7480
- * @public
7481
- */
7482
- Importance?: number | undefined;
7483
- }
7484
- /**
7485
- * <p>The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.</p>
7486
- * <p>For more information, see <a href="https://en.wikipedia.org/wiki/Confusion_matrix">Confusion matrix</a> in Wikipedia.</p>
7487
- * @public
7488
- */
7489
- export interface ConfusionMatrix {
7490
- /**
7491
- * <p>The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.</p>
7492
- * @public
7493
- */
7494
- NumTruePositives?: number | undefined;
7495
- /**
7496
- * <p>The number of nonmatches in the data that the transform incorrectly classified as a match,
7497
- * in the confusion matrix for your transform.</p>
7498
- * @public
7499
- */
7500
- NumFalsePositives?: number | undefined;
7501
- /**
7502
- * <p>The number of nonmatches in the data that the transform correctly rejected, in the
7503
- * confusion matrix for your transform.</p>
7504
- * @public
7505
- */
7506
- NumTrueNegatives?: number | undefined;
7507
- /**
7508
- * <p>The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.</p>
7509
- * @public
7510
- */
7511
- NumFalseNegatives?: number | undefined;
7512
- }
7513
- /**
7514
- * <p>The evaluation metrics for the find matches algorithm. The quality of your machine
7515
- * learning transform is measured by getting your transform to predict some matches and comparing
7516
- * the results to known matches from the same dataset. The quality metrics are based on a subset
7517
- * of your data, so they are not precise.</p>
7518
- * @public
7519
- */
7520
- export interface FindMatchesMetrics {
7521
- /**
7522
- * <p>The area under the precision/recall curve (AUPRC) is a single number measuring the overall
7523
- * quality of the transform, that is independent of the choice made for precision vs. recall.
7524
- * Higher values indicate that you have a more attractive precision vs. recall tradeoff.</p>
7525
- * <p>For more information, see <a href="https://en.wikipedia.org/wiki/Precision_and_recall">Precision and recall</a> in Wikipedia.</p>
7526
- * @public
7527
- */
7528
- AreaUnderPRCurve?: number | undefined;
7529
- /**
7530
- * <p>The precision metric indicates when often your transform is correct when it predicts a match. Specifically, it measures how well the transform finds true positives from the total true positives possible.</p>
7531
- * <p>For more information, see <a href="https://en.wikipedia.org/wiki/Precision_and_recall">Precision and recall</a> in Wikipedia.</p>
7532
- * @public
7533
- */
7534
- Precision?: number | undefined;
7535
- /**
7536
- * <p>The recall metric indicates that for an actual match, how often your transform predicts
7537
- * the match. Specifically, it measures how well the transform finds true positives from the
7538
- * total records in the source data.</p>
7539
- * <p>For more information, see <a href="https://en.wikipedia.org/wiki/Precision_and_recall">Precision and recall</a> in Wikipedia.</p>
7540
- * @public
7541
- */
7542
- Recall?: number | undefined;
7543
- /**
7544
- * <p>The maximum F1 metric indicates the transform's accuracy between 0 and 1, where 1 is the best accuracy.</p>
7545
- * <p>For more information, see <a href="https://en.wikipedia.org/wiki/F1_score">F1 score</a> in Wikipedia.</p>
7546
- * @public
7547
- */
7548
- F1?: number | undefined;
7549
- /**
7550
- * <p>The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.</p>
7551
- * <p>For more information, see <a href="https://en.wikipedia.org/wiki/Confusion_matrix">Confusion matrix</a> in Wikipedia.</p>
7552
- * @public
7553
- */
7554
- ConfusionMatrix?: ConfusionMatrix | undefined;
7555
- /**
7556
- * <p>A list of <code>ColumnImportance</code> structures containing column importance metrics, sorted in order of descending importance.</p>
7557
- * @public
7558
- */
7559
- ColumnImportances?: ColumnImportance[] | undefined;
7560
- }