@aws-sdk/client-glue 3.451.0 → 3.454.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/Glue.js +10 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/ListColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/StartColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/StopColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_1.js +8 -9
- package/dist-cjs/models/models_2.js +51 -1
- package/dist-cjs/pagination/GetColumnStatisticsTaskRunsPaginator.js +29 -0
- package/dist-cjs/pagination/ListColumnStatisticsTaskRunsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_json1_1.js +317 -8
- package/dist-es/Glue.js +10 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/ListColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/StartColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/StopColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_1.js +7 -8
- package/dist-es/models/models_2.js +47 -0
- package/dist-es/pagination/GetColumnStatisticsTaskRunsPaginator.js +25 -0
- package/dist-es/pagination/ListColumnStatisticsTaskRunsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_json1_1.js +300 -1
- package/dist-types/Glue.d.ts +35 -0
- package/dist-types/GlueClient.d.ts +7 -2
- package/dist-types/commands/GetColumnStatisticsTaskRunCommand.d.ts +103 -0
- package/dist-types/commands/GetColumnStatisticsTaskRunsCommand.d.ts +103 -0
- package/dist-types/commands/GetStatementCommand.d.ts +2 -1
- package/dist-types/commands/GetTableCommand.d.ts +1 -2
- package/dist-types/commands/ListColumnStatisticsTaskRunsCommand.d.ts +80 -0
- package/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +99 -0
- package/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +171 -147
- package/dist-types/models/models_2.d.ts +299 -1
- package/dist-types/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/Glue.d.ts +85 -0
- package/dist-types/ts3.4/GlueClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetStatementCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_1.d.ts +45 -40
- package/dist-types/ts3.4/models/models_2.d.ts +98 -1
- package/dist-types/ts3.4/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +2 -2
|
@@ -3647,6 +3647,177 @@ export interface GetColumnStatisticsForTableResponse {
|
|
|
3647
3647
|
*/
|
|
3648
3648
|
Errors?: ColumnError[];
|
|
3649
3649
|
}
|
|
3650
|
+
/**
|
|
3651
|
+
* @public
|
|
3652
|
+
*/
|
|
3653
|
+
export interface GetColumnStatisticsTaskRunRequest {
|
|
3654
|
+
/**
|
|
3655
|
+
* @public
|
|
3656
|
+
* <p>The identifier for the particular column statistics task run.</p>
|
|
3657
|
+
*/
|
|
3658
|
+
ColumnStatisticsTaskRunId: string | undefined;
|
|
3659
|
+
}
|
|
3660
|
+
/**
|
|
3661
|
+
* @public
|
|
3662
|
+
* @enum
|
|
3663
|
+
*/
|
|
3664
|
+
export declare const ColumnStatisticsState: {
|
|
3665
|
+
readonly FAILED: "FAILED";
|
|
3666
|
+
readonly RUNNING: "RUNNING";
|
|
3667
|
+
readonly STARTING: "STARTING";
|
|
3668
|
+
readonly STOPPED: "STOPPED";
|
|
3669
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
3670
|
+
};
|
|
3671
|
+
/**
|
|
3672
|
+
* @public
|
|
3673
|
+
*/
|
|
3674
|
+
export type ColumnStatisticsState = (typeof ColumnStatisticsState)[keyof typeof ColumnStatisticsState];
|
|
3675
|
+
/**
|
|
3676
|
+
* @public
|
|
3677
|
+
* <p>The object that shows the details of the column stats run.</p>
|
|
3678
|
+
*/
|
|
3679
|
+
export interface ColumnStatisticsTaskRun {
|
|
3680
|
+
/**
|
|
3681
|
+
* @public
|
|
3682
|
+
* <p>The Amazon Web Services account ID.</p>
|
|
3683
|
+
*/
|
|
3684
|
+
CustomerId?: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* @public
|
|
3687
|
+
* <p>The identifier for the particular column statistics task run.</p>
|
|
3688
|
+
*/
|
|
3689
|
+
ColumnStatisticsTaskRunId?: string;
|
|
3690
|
+
/**
|
|
3691
|
+
* @public
|
|
3692
|
+
* <p>The database where the table resides.</p>
|
|
3693
|
+
*/
|
|
3694
|
+
DatabaseName?: string;
|
|
3695
|
+
/**
|
|
3696
|
+
* @public
|
|
3697
|
+
* <p>The name of the table for which column statistics is generated.</p>
|
|
3698
|
+
*/
|
|
3699
|
+
TableName?: string;
|
|
3700
|
+
/**
|
|
3701
|
+
* @public
|
|
3702
|
+
* <p>A list of the column names. If none is supplied, all column names for the table will be used by default.</p>
|
|
3703
|
+
*/
|
|
3704
|
+
ColumnNameList?: string[];
|
|
3705
|
+
/**
|
|
3706
|
+
* @public
|
|
3707
|
+
* <p>The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.</p>
|
|
3708
|
+
*/
|
|
3709
|
+
CatalogID?: string;
|
|
3710
|
+
/**
|
|
3711
|
+
* @public
|
|
3712
|
+
* <p>The IAM role that the service assumes to generate statistics.</p>
|
|
3713
|
+
*/
|
|
3714
|
+
Role?: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* @public
|
|
3717
|
+
* <p>The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.</p>
|
|
3718
|
+
*/
|
|
3719
|
+
SampleSize?: number;
|
|
3720
|
+
/**
|
|
3721
|
+
* @public
|
|
3722
|
+
* <p>Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.</p>
|
|
3723
|
+
*/
|
|
3724
|
+
SecurityConfiguration?: string;
|
|
3725
|
+
/**
|
|
3726
|
+
* @public
|
|
3727
|
+
* <p>The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.</p>
|
|
3728
|
+
*/
|
|
3729
|
+
NumberOfWorkers?: number;
|
|
3730
|
+
/**
|
|
3731
|
+
* @public
|
|
3732
|
+
* <p>The type of workers being used for generating stats. The default is <code>g.1x</code>.</p>
|
|
3733
|
+
*/
|
|
3734
|
+
WorkerType?: string;
|
|
3735
|
+
/**
|
|
3736
|
+
* @public
|
|
3737
|
+
* <p>The status of the task run.</p>
|
|
3738
|
+
*/
|
|
3739
|
+
Status?: ColumnStatisticsState;
|
|
3740
|
+
/**
|
|
3741
|
+
* @public
|
|
3742
|
+
* <p>The time that this task was created.</p>
|
|
3743
|
+
*/
|
|
3744
|
+
CreationTime?: Date;
|
|
3745
|
+
/**
|
|
3746
|
+
* @public
|
|
3747
|
+
* <p>The last point in time when this task was modified.</p>
|
|
3748
|
+
*/
|
|
3749
|
+
LastUpdated?: Date;
|
|
3750
|
+
/**
|
|
3751
|
+
* @public
|
|
3752
|
+
* <p>The start time of the task.</p>
|
|
3753
|
+
*/
|
|
3754
|
+
StartTime?: Date;
|
|
3755
|
+
/**
|
|
3756
|
+
* @public
|
|
3757
|
+
* <p>The end time of the task.</p>
|
|
3758
|
+
*/
|
|
3759
|
+
EndTime?: Date;
|
|
3760
|
+
/**
|
|
3761
|
+
* @public
|
|
3762
|
+
* <p>The error message for the job.</p>
|
|
3763
|
+
*/
|
|
3764
|
+
ErrorMessage?: string;
|
|
3765
|
+
/**
|
|
3766
|
+
* @public
|
|
3767
|
+
* <p>The calculated DPU usage in seconds for all autoscaled workers.</p>
|
|
3768
|
+
*/
|
|
3769
|
+
DPUSeconds?: number;
|
|
3770
|
+
}
|
|
3771
|
+
/**
|
|
3772
|
+
* @public
|
|
3773
|
+
*/
|
|
3774
|
+
export interface GetColumnStatisticsTaskRunResponse {
|
|
3775
|
+
/**
|
|
3776
|
+
* @public
|
|
3777
|
+
* <p>A <code>ColumnStatisticsTaskRun</code> object representing the details of the column stats run.</p>
|
|
3778
|
+
*/
|
|
3779
|
+
ColumnStatisticsTaskRun?: ColumnStatisticsTaskRun;
|
|
3780
|
+
}
|
|
3781
|
+
/**
|
|
3782
|
+
* @public
|
|
3783
|
+
*/
|
|
3784
|
+
export interface GetColumnStatisticsTaskRunsRequest {
|
|
3785
|
+
/**
|
|
3786
|
+
* @public
|
|
3787
|
+
* <p>The name of the database where the table resides.</p>
|
|
3788
|
+
*/
|
|
3789
|
+
DatabaseName: string | undefined;
|
|
3790
|
+
/**
|
|
3791
|
+
* @public
|
|
3792
|
+
* <p>The name of the table.</p>
|
|
3793
|
+
*/
|
|
3794
|
+
TableName: string | undefined;
|
|
3795
|
+
/**
|
|
3796
|
+
* @public
|
|
3797
|
+
* <p>The maximum size of the response.</p>
|
|
3798
|
+
*/
|
|
3799
|
+
MaxResults?: number;
|
|
3800
|
+
/**
|
|
3801
|
+
* @public
|
|
3802
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
3803
|
+
*/
|
|
3804
|
+
NextToken?: string;
|
|
3805
|
+
}
|
|
3806
|
+
/**
|
|
3807
|
+
* @public
|
|
3808
|
+
*/
|
|
3809
|
+
export interface GetColumnStatisticsTaskRunsResponse {
|
|
3810
|
+
/**
|
|
3811
|
+
* @public
|
|
3812
|
+
* <p>A list of column statistics task runs.</p>
|
|
3813
|
+
*/
|
|
3814
|
+
ColumnStatisticsTaskRuns?: ColumnStatisticsTaskRun[];
|
|
3815
|
+
/**
|
|
3816
|
+
* @public
|
|
3817
|
+
* <p>A continuation token, if not all task runs have yet been returned.</p>
|
|
3818
|
+
*/
|
|
3819
|
+
NextToken?: string;
|
|
3820
|
+
}
|
|
3650
3821
|
/**
|
|
3651
3822
|
* @public
|
|
3652
3823
|
*/
|
|
@@ -6919,150 +7090,3 @@ export interface GetStatementRequest {
|
|
|
6919
7090
|
*/
|
|
6920
7091
|
RequestOrigin?: string;
|
|
6921
7092
|
}
|
|
6922
|
-
/**
|
|
6923
|
-
* @public
|
|
6924
|
-
* <p>The code execution output in JSON format.</p>
|
|
6925
|
-
*/
|
|
6926
|
-
export interface StatementOutputData {
|
|
6927
|
-
/**
|
|
6928
|
-
* @public
|
|
6929
|
-
* <p>The code execution output in text format.</p>
|
|
6930
|
-
*/
|
|
6931
|
-
TextPlain?: string;
|
|
6932
|
-
}
|
|
6933
|
-
/**
|
|
6934
|
-
* @public
|
|
6935
|
-
* @enum
|
|
6936
|
-
*/
|
|
6937
|
-
export declare const StatementState: {
|
|
6938
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
6939
|
-
readonly CANCELLED: "CANCELLED";
|
|
6940
|
-
readonly CANCELLING: "CANCELLING";
|
|
6941
|
-
readonly ERROR: "ERROR";
|
|
6942
|
-
readonly RUNNING: "RUNNING";
|
|
6943
|
-
readonly WAITING: "WAITING";
|
|
6944
|
-
};
|
|
6945
|
-
/**
|
|
6946
|
-
* @public
|
|
6947
|
-
*/
|
|
6948
|
-
export type StatementState = (typeof StatementState)[keyof typeof StatementState];
|
|
6949
|
-
/**
|
|
6950
|
-
* @public
|
|
6951
|
-
* <p>The code execution output in JSON format.</p>
|
|
6952
|
-
*/
|
|
6953
|
-
export interface StatementOutput {
|
|
6954
|
-
/**
|
|
6955
|
-
* @public
|
|
6956
|
-
* <p>The code execution output.</p>
|
|
6957
|
-
*/
|
|
6958
|
-
Data?: StatementOutputData;
|
|
6959
|
-
/**
|
|
6960
|
-
* @public
|
|
6961
|
-
* <p>The execution count of the output.</p>
|
|
6962
|
-
*/
|
|
6963
|
-
ExecutionCount?: number;
|
|
6964
|
-
/**
|
|
6965
|
-
* @public
|
|
6966
|
-
* <p>The status of the code execution output.</p>
|
|
6967
|
-
*/
|
|
6968
|
-
Status?: StatementState;
|
|
6969
|
-
/**
|
|
6970
|
-
* @public
|
|
6971
|
-
* <p>The name of the error in the output.</p>
|
|
6972
|
-
*/
|
|
6973
|
-
ErrorName?: string;
|
|
6974
|
-
/**
|
|
6975
|
-
* @public
|
|
6976
|
-
* <p>The error value of the output.</p>
|
|
6977
|
-
*/
|
|
6978
|
-
ErrorValue?: string;
|
|
6979
|
-
/**
|
|
6980
|
-
* @public
|
|
6981
|
-
* <p>The traceback of the output.</p>
|
|
6982
|
-
*/
|
|
6983
|
-
Traceback?: string[];
|
|
6984
|
-
}
|
|
6985
|
-
/**
|
|
6986
|
-
* @public
|
|
6987
|
-
* <p>The statement or request for a particular action to occur in a session.</p>
|
|
6988
|
-
*/
|
|
6989
|
-
export interface Statement {
|
|
6990
|
-
/**
|
|
6991
|
-
* @public
|
|
6992
|
-
* <p>The ID of the statement.</p>
|
|
6993
|
-
*/
|
|
6994
|
-
Id?: number;
|
|
6995
|
-
/**
|
|
6996
|
-
* @public
|
|
6997
|
-
* <p>The execution code of the statement.</p>
|
|
6998
|
-
*/
|
|
6999
|
-
Code?: string;
|
|
7000
|
-
/**
|
|
7001
|
-
* @public
|
|
7002
|
-
* <p>The state while request is actioned.</p>
|
|
7003
|
-
*/
|
|
7004
|
-
State?: StatementState;
|
|
7005
|
-
/**
|
|
7006
|
-
* @public
|
|
7007
|
-
* <p>The output in JSON.</p>
|
|
7008
|
-
*/
|
|
7009
|
-
Output?: StatementOutput;
|
|
7010
|
-
/**
|
|
7011
|
-
* @public
|
|
7012
|
-
* <p>The code execution progress.</p>
|
|
7013
|
-
*/
|
|
7014
|
-
Progress?: number;
|
|
7015
|
-
/**
|
|
7016
|
-
* @public
|
|
7017
|
-
* <p>The unix time and date that the job definition was started.</p>
|
|
7018
|
-
*/
|
|
7019
|
-
StartedOn?: number;
|
|
7020
|
-
/**
|
|
7021
|
-
* @public
|
|
7022
|
-
* <p>The unix time and date that the job definition was completed.</p>
|
|
7023
|
-
*/
|
|
7024
|
-
CompletedOn?: number;
|
|
7025
|
-
}
|
|
7026
|
-
/**
|
|
7027
|
-
* @public
|
|
7028
|
-
*/
|
|
7029
|
-
export interface GetStatementResponse {
|
|
7030
|
-
/**
|
|
7031
|
-
* @public
|
|
7032
|
-
* <p>Returns the statement.</p>
|
|
7033
|
-
*/
|
|
7034
|
-
Statement?: Statement;
|
|
7035
|
-
}
|
|
7036
|
-
/**
|
|
7037
|
-
* @public
|
|
7038
|
-
*/
|
|
7039
|
-
export interface GetTableRequest {
|
|
7040
|
-
/**
|
|
7041
|
-
* @public
|
|
7042
|
-
* <p>The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account
|
|
7043
|
-
* ID is used by default.</p>
|
|
7044
|
-
*/
|
|
7045
|
-
CatalogId?: string;
|
|
7046
|
-
/**
|
|
7047
|
-
* @public
|
|
7048
|
-
* <p>The name of the database in the catalog in which the table resides.
|
|
7049
|
-
* For Hive compatibility, this name is entirely lowercase.</p>
|
|
7050
|
-
*/
|
|
7051
|
-
DatabaseName: string | undefined;
|
|
7052
|
-
/**
|
|
7053
|
-
* @public
|
|
7054
|
-
* <p>The name of the table for which to retrieve the definition. For Hive
|
|
7055
|
-
* compatibility, this name is entirely lowercase.</p>
|
|
7056
|
-
*/
|
|
7057
|
-
Name: string | undefined;
|
|
7058
|
-
/**
|
|
7059
|
-
* @public
|
|
7060
|
-
* <p>The transaction ID at which to read the table contents. </p>
|
|
7061
|
-
*/
|
|
7062
|
-
TransactionId?: string;
|
|
7063
|
-
/**
|
|
7064
|
-
* @public
|
|
7065
|
-
* <p>The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with <code>TransactionId</code>.</p>
|
|
7066
|
-
*/
|
|
7067
|
-
QueryAsOfTime?: Date;
|
|
7068
|
-
}
|
|
@@ -1,7 +1,154 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
3
|
import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, Column, ConnectionInput, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CrawlerTargets, CsvHeaderOption, CsvSerdeOption, CustomCode, CustomEntityType, DataSource, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EvaluateDataQualityMultiFrame, EventBatchingCondition, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, Join, LakeFormationConfiguration, LineageConfiguration, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, Partition, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, Recipe, RecrawlPolicy, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SchemaChangePolicy, SchemaId, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, SourceControlAuthStrategy, SourceControlDetails, SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, StorageDescriptor, TableOptimizer, TableOptimizerConfiguration, TableOptimizerRun, TableOptimizerType, TaskStatusType, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
4
|
-
import { ColumnStatistics, Compatibility, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, JobBookmarkEntry, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Segment, Session,
|
|
4
|
+
import { ColumnStatistics, Compatibility, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, JobBookmarkEntry, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Segment, Session, TableIdentifier, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>The code execution output in JSON format.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface StatementOutputData {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* <p>The code execution output in text format.</p>
|
|
13
|
+
*/
|
|
14
|
+
TextPlain?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const StatementState: {
|
|
21
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
22
|
+
readonly CANCELLED: "CANCELLED";
|
|
23
|
+
readonly CANCELLING: "CANCELLING";
|
|
24
|
+
readonly ERROR: "ERROR";
|
|
25
|
+
readonly RUNNING: "RUNNING";
|
|
26
|
+
readonly WAITING: "WAITING";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type StatementState = (typeof StatementState)[keyof typeof StatementState];
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* <p>The code execution output in JSON format.</p>
|
|
35
|
+
*/
|
|
36
|
+
export interface StatementOutput {
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* <p>The code execution output.</p>
|
|
40
|
+
*/
|
|
41
|
+
Data?: StatementOutputData;
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* <p>The execution count of the output.</p>
|
|
45
|
+
*/
|
|
46
|
+
ExecutionCount?: number;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* <p>The status of the code execution output.</p>
|
|
50
|
+
*/
|
|
51
|
+
Status?: StatementState;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* <p>The name of the error in the output.</p>
|
|
55
|
+
*/
|
|
56
|
+
ErrorName?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* <p>The error value of the output.</p>
|
|
60
|
+
*/
|
|
61
|
+
ErrorValue?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* <p>The traceback of the output.</p>
|
|
65
|
+
*/
|
|
66
|
+
Traceback?: string[];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* <p>The statement or request for a particular action to occur in a session.</p>
|
|
71
|
+
*/
|
|
72
|
+
export interface Statement {
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* <p>The ID of the statement.</p>
|
|
76
|
+
*/
|
|
77
|
+
Id?: number;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* <p>The execution code of the statement.</p>
|
|
81
|
+
*/
|
|
82
|
+
Code?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* <p>The state while request is actioned.</p>
|
|
86
|
+
*/
|
|
87
|
+
State?: StatementState;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* <p>The output in JSON.</p>
|
|
91
|
+
*/
|
|
92
|
+
Output?: StatementOutput;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* <p>The code execution progress.</p>
|
|
96
|
+
*/
|
|
97
|
+
Progress?: number;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* <p>The unix time and date that the job definition was started.</p>
|
|
101
|
+
*/
|
|
102
|
+
StartedOn?: number;
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* <p>The unix time and date that the job definition was completed.</p>
|
|
106
|
+
*/
|
|
107
|
+
CompletedOn?: number;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export interface GetStatementResponse {
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* <p>Returns the statement.</p>
|
|
116
|
+
*/
|
|
117
|
+
Statement?: Statement;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export interface GetTableRequest {
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* <p>The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account
|
|
126
|
+
* ID is used by default.</p>
|
|
127
|
+
*/
|
|
128
|
+
CatalogId?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* <p>The name of the database in the catalog in which the table resides.
|
|
132
|
+
* For Hive compatibility, this name is entirely lowercase.</p>
|
|
133
|
+
*/
|
|
134
|
+
DatabaseName: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
* <p>The name of the table for which to retrieve the definition. For Hive
|
|
138
|
+
* compatibility, this name is entirely lowercase.</p>
|
|
139
|
+
*/
|
|
140
|
+
Name: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* <p>The transaction ID at which to read the table contents. </p>
|
|
144
|
+
*/
|
|
145
|
+
TransactionId?: string;
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* <p>The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with <code>TransactionId</code>.</p>
|
|
149
|
+
*/
|
|
150
|
+
QueryAsOfTime?: Date;
|
|
151
|
+
}
|
|
5
152
|
/**
|
|
6
153
|
* @public
|
|
7
154
|
* <p>A table that points to an entity outside the Glue Data Catalog.</p>
|
|
@@ -1106,6 +1253,36 @@ export interface ListBlueprintsResponse {
|
|
|
1106
1253
|
*/
|
|
1107
1254
|
NextToken?: string;
|
|
1108
1255
|
}
|
|
1256
|
+
/**
|
|
1257
|
+
* @public
|
|
1258
|
+
*/
|
|
1259
|
+
export interface ListColumnStatisticsTaskRunsRequest {
|
|
1260
|
+
/**
|
|
1261
|
+
* @public
|
|
1262
|
+
* <p>The maximum size of the response.</p>
|
|
1263
|
+
*/
|
|
1264
|
+
MaxResults?: number;
|
|
1265
|
+
/**
|
|
1266
|
+
* @public
|
|
1267
|
+
* <p>A continuation token, if this is a continuation call.</p>
|
|
1268
|
+
*/
|
|
1269
|
+
NextToken?: string;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* @public
|
|
1273
|
+
*/
|
|
1274
|
+
export interface ListColumnStatisticsTaskRunsResponse {
|
|
1275
|
+
/**
|
|
1276
|
+
* @public
|
|
1277
|
+
* <p>A list of column statistics task run IDs.</p>
|
|
1278
|
+
*/
|
|
1279
|
+
ColumnStatisticsTaskRunIds?: string[];
|
|
1280
|
+
/**
|
|
1281
|
+
* @public
|
|
1282
|
+
* <p>A continuation token, if not all task run IDs have yet been returned.</p>
|
|
1283
|
+
*/
|
|
1284
|
+
NextToken?: string;
|
|
1285
|
+
}
|
|
1109
1286
|
/**
|
|
1110
1287
|
* @public
|
|
1111
1288
|
*/
|
|
@@ -3041,6 +3218,73 @@ export interface StartBlueprintRunResponse {
|
|
|
3041
3218
|
*/
|
|
3042
3219
|
RunId?: string;
|
|
3043
3220
|
}
|
|
3221
|
+
/**
|
|
3222
|
+
* @public
|
|
3223
|
+
* <p>An exception thrown when you try to start another job while running a column stats generation job.</p>
|
|
3224
|
+
*/
|
|
3225
|
+
export declare class ColumnStatisticsTaskRunningException extends __BaseException {
|
|
3226
|
+
readonly name: "ColumnStatisticsTaskRunningException";
|
|
3227
|
+
readonly $fault: "client";
|
|
3228
|
+
/**
|
|
3229
|
+
* @public
|
|
3230
|
+
* <p>A message describing the problem.</p>
|
|
3231
|
+
*/
|
|
3232
|
+
Message?: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* @internal
|
|
3235
|
+
*/
|
|
3236
|
+
constructor(opts: __ExceptionOptionType<ColumnStatisticsTaskRunningException, __BaseException>);
|
|
3237
|
+
}
|
|
3238
|
+
/**
|
|
3239
|
+
* @public
|
|
3240
|
+
*/
|
|
3241
|
+
export interface StartColumnStatisticsTaskRunRequest {
|
|
3242
|
+
/**
|
|
3243
|
+
* @public
|
|
3244
|
+
* <p>The name of the database where the table resides.</p>
|
|
3245
|
+
*/
|
|
3246
|
+
DatabaseName: string | undefined;
|
|
3247
|
+
/**
|
|
3248
|
+
* @public
|
|
3249
|
+
* <p>The name of the table to generate statistics.</p>
|
|
3250
|
+
*/
|
|
3251
|
+
TableName: string | undefined;
|
|
3252
|
+
/**
|
|
3253
|
+
* @public
|
|
3254
|
+
* <p>A list of the column names to generate statistics. If none is supplied, all column names for the table will be used by default.</p>
|
|
3255
|
+
*/
|
|
3256
|
+
ColumnNameList?: string[];
|
|
3257
|
+
/**
|
|
3258
|
+
* @public
|
|
3259
|
+
* <p>The IAM role that the service assumes to generate statistics.</p>
|
|
3260
|
+
*/
|
|
3261
|
+
Role: string | undefined;
|
|
3262
|
+
/**
|
|
3263
|
+
* @public
|
|
3264
|
+
* <p>The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.</p>
|
|
3265
|
+
*/
|
|
3266
|
+
SampleSize?: number;
|
|
3267
|
+
/**
|
|
3268
|
+
* @public
|
|
3269
|
+
* <p>The ID of the Data Catalog where the table reside. If none is supplied, the Amazon Web Services account ID is used by default.</p>
|
|
3270
|
+
*/
|
|
3271
|
+
CatalogID?: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* @public
|
|
3274
|
+
* <p>Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.</p>
|
|
3275
|
+
*/
|
|
3276
|
+
SecurityConfiguration?: string;
|
|
3277
|
+
}
|
|
3278
|
+
/**
|
|
3279
|
+
* @public
|
|
3280
|
+
*/
|
|
3281
|
+
export interface StartColumnStatisticsTaskRunResponse {
|
|
3282
|
+
/**
|
|
3283
|
+
* @public
|
|
3284
|
+
* <p>The identifier for the column statistics task run.</p>
|
|
3285
|
+
*/
|
|
3286
|
+
ColumnStatisticsTaskRunId?: string;
|
|
3287
|
+
}
|
|
3044
3288
|
/**
|
|
3045
3289
|
* @public
|
|
3046
3290
|
*/
|
|
@@ -3505,6 +3749,60 @@ export interface StartWorkflowRunResponse {
|
|
|
3505
3749
|
*/
|
|
3506
3750
|
RunId?: string;
|
|
3507
3751
|
}
|
|
3752
|
+
/**
|
|
3753
|
+
* @public
|
|
3754
|
+
* <p>An exception thrown when you try to stop a task run when there is no task running.</p>
|
|
3755
|
+
*/
|
|
3756
|
+
export declare class ColumnStatisticsTaskNotRunningException extends __BaseException {
|
|
3757
|
+
readonly name: "ColumnStatisticsTaskNotRunningException";
|
|
3758
|
+
readonly $fault: "client";
|
|
3759
|
+
/**
|
|
3760
|
+
* @public
|
|
3761
|
+
* <p>A message describing the problem.</p>
|
|
3762
|
+
*/
|
|
3763
|
+
Message?: string;
|
|
3764
|
+
/**
|
|
3765
|
+
* @internal
|
|
3766
|
+
*/
|
|
3767
|
+
constructor(opts: __ExceptionOptionType<ColumnStatisticsTaskNotRunningException, __BaseException>);
|
|
3768
|
+
}
|
|
3769
|
+
/**
|
|
3770
|
+
* @public
|
|
3771
|
+
* <p>An exception thrown when you try to stop a task run.</p>
|
|
3772
|
+
*/
|
|
3773
|
+
export declare class ColumnStatisticsTaskStoppingException extends __BaseException {
|
|
3774
|
+
readonly name: "ColumnStatisticsTaskStoppingException";
|
|
3775
|
+
readonly $fault: "client";
|
|
3776
|
+
/**
|
|
3777
|
+
* @public
|
|
3778
|
+
* <p>A message describing the problem.</p>
|
|
3779
|
+
*/
|
|
3780
|
+
Message?: string;
|
|
3781
|
+
/**
|
|
3782
|
+
* @internal
|
|
3783
|
+
*/
|
|
3784
|
+
constructor(opts: __ExceptionOptionType<ColumnStatisticsTaskStoppingException, __BaseException>);
|
|
3785
|
+
}
|
|
3786
|
+
/**
|
|
3787
|
+
* @public
|
|
3788
|
+
*/
|
|
3789
|
+
export interface StopColumnStatisticsTaskRunRequest {
|
|
3790
|
+
/**
|
|
3791
|
+
* @public
|
|
3792
|
+
* <p>The name of the database where the table resides.</p>
|
|
3793
|
+
*/
|
|
3794
|
+
DatabaseName: string | undefined;
|
|
3795
|
+
/**
|
|
3796
|
+
* @public
|
|
3797
|
+
* <p>The name of the table.</p>
|
|
3798
|
+
*/
|
|
3799
|
+
TableName: string | undefined;
|
|
3800
|
+
}
|
|
3801
|
+
/**
|
|
3802
|
+
* @public
|
|
3803
|
+
*/
|
|
3804
|
+
export interface StopColumnStatisticsTaskRunResponse {
|
|
3805
|
+
}
|
|
3508
3806
|
/**
|
|
3509
3807
|
* @public
|
|
3510
3808
|
* <p>The specified crawler is not running.</p>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetColumnStatisticsTaskRunsCommandInput, GetColumnStatisticsTaskRunsCommandOutput } from "../commands/GetColumnStatisticsTaskRunsCommand";
|
|
3
|
+
import { GluePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateGetColumnStatisticsTaskRuns(config: GluePaginationConfiguration, input: GetColumnStatisticsTaskRunsCommandInput, ...additionalArguments: any): Paginator<GetColumnStatisticsTaskRunsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListColumnStatisticsTaskRunsCommandInput, ListColumnStatisticsTaskRunsCommandOutput } from "../commands/ListColumnStatisticsTaskRunsCommand";
|
|
3
|
+
import { GluePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListColumnStatisticsTaskRuns(config: GluePaginationConfiguration, input: ListColumnStatisticsTaskRunsCommandInput, ...additionalArguments: any): Paginator<ListColumnStatisticsTaskRunsCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./GetBlueprintRunsPaginator";
|
|
2
2
|
export * from "./GetClassifiersPaginator";
|
|
3
|
+
export * from "./GetColumnStatisticsTaskRunsPaginator";
|
|
3
4
|
export * from "./GetConnectionsPaginator";
|
|
4
5
|
export * from "./GetCrawlerMetricsPaginator";
|
|
5
6
|
export * from "./GetCrawlersPaginator";
|
|
@@ -7,8 +8,8 @@ export * from "./GetDatabasesPaginator";
|
|
|
7
8
|
export * from "./GetDevEndpointsPaginator";
|
|
8
9
|
export * from "./GetJobRunsPaginator";
|
|
9
10
|
export * from "./GetJobsPaginator";
|
|
10
|
-
export * from "./GetMLTaskRunsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./GetMLTaskRunsPaginator";
|
|
12
13
|
export * from "./GetMLTransformsPaginator";
|
|
13
14
|
export * from "./GetPartitionIndexesPaginator";
|
|
14
15
|
export * from "./GetPartitionsPaginator";
|
|
@@ -21,6 +22,7 @@ export * from "./GetUnfilteredPartitionsMetadataPaginator";
|
|
|
21
22
|
export * from "./GetUserDefinedFunctionsPaginator";
|
|
22
23
|
export * from "./GetWorkflowRunsPaginator";
|
|
23
24
|
export * from "./ListBlueprintsPaginator";
|
|
25
|
+
export * from "./ListColumnStatisticsTaskRunsPaginator";
|
|
24
26
|
export * from "./ListCrawlersPaginator";
|
|
25
27
|
export * from "./ListCustomEntityTypesPaginator";
|
|
26
28
|
export * from "./ListDataQualityResultsPaginator";
|