@aws-sdk/client-glue 3.329.0 → 3.332.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/dist-cjs/protocols/Aws_json1_1.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/BatchGetJobsCommand.d.ts +102 -0
- package/dist-types/commands/CreateJobCommand.d.ts +102 -0
- package/dist-types/commands/CreatePartitionCommand.d.ts +1 -1
- package/dist-types/commands/CreatePartitionIndexCommand.d.ts +1 -1
- package/dist-types/commands/GetJobCommand.d.ts +102 -0
- package/dist-types/commands/GetJobsCommand.d.ts +102 -0
- package/dist-types/commands/GetUserDefinedFunctionsCommand.d.ts +2 -1
- package/dist-types/commands/GetWorkflowCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +102 -0
- package/dist-types/models/models_0.d.ts +178 -68
- package/dist-types/models/models_1.d.ts +69 -63
- package/dist-types/models/models_2.d.ts +72 -2
- package/dist-types/ts3.4/commands/CreatePartitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePartitionIndexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserDefinedFunctionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +47 -18
- package/dist-types/ts3.4/models/models_1.d.ts +19 -22
- package/dist-types/ts3.4/models/models_2.d.ts +25 -0
- package/package.json +5 -5
|
@@ -742,6 +742,7 @@ export interface UpdateJobCommandOutput extends UpdateJobResponse, __MetadataBea
|
|
|
742
742
|
* FunctionName: "STRING_VALUE", // required
|
|
743
743
|
* Path: "STRING_VALUE", // required
|
|
744
744
|
* Version: "STRING_VALUE",
|
|
745
|
+
* OutputSchemas: "<GlueSchemas>",
|
|
745
746
|
* },
|
|
746
747
|
* EvaluateDataQuality: { // EvaluateDataQuality
|
|
747
748
|
* Name: "STRING_VALUE", // required
|
|
@@ -876,6 +877,107 @@ export interface UpdateJobCommandOutput extends UpdateJobResponse, __MetadataBea
|
|
|
876
877
|
* Database: "STRING_VALUE",
|
|
877
878
|
* },
|
|
878
879
|
* },
|
|
880
|
+
* AmazonRedshiftSource: { // AmazonRedshiftSource
|
|
881
|
+
* Name: "STRING_VALUE",
|
|
882
|
+
* Data: { // AmazonRedshiftNodeData
|
|
883
|
+
* AccessType: "STRING_VALUE",
|
|
884
|
+
* SourceType: "STRING_VALUE",
|
|
885
|
+
* Connection: { // Option
|
|
886
|
+
* Value: "STRING_VALUE",
|
|
887
|
+
* Label: "STRING_VALUE",
|
|
888
|
+
* Description: "STRING_VALUE",
|
|
889
|
+
* },
|
|
890
|
+
* Schema: {
|
|
891
|
+
* Value: "STRING_VALUE",
|
|
892
|
+
* Label: "STRING_VALUE",
|
|
893
|
+
* Description: "STRING_VALUE",
|
|
894
|
+
* },
|
|
895
|
+
* Table: {
|
|
896
|
+
* Value: "STRING_VALUE",
|
|
897
|
+
* Label: "STRING_VALUE",
|
|
898
|
+
* Description: "STRING_VALUE",
|
|
899
|
+
* },
|
|
900
|
+
* CatalogDatabase: {
|
|
901
|
+
* Value: "STRING_VALUE",
|
|
902
|
+
* Label: "STRING_VALUE",
|
|
903
|
+
* Description: "STRING_VALUE",
|
|
904
|
+
* },
|
|
905
|
+
* CatalogTable: {
|
|
906
|
+
* Value: "STRING_VALUE",
|
|
907
|
+
* Label: "STRING_VALUE",
|
|
908
|
+
* Description: "STRING_VALUE",
|
|
909
|
+
* },
|
|
910
|
+
* CatalogRedshiftSchema: "STRING_VALUE",
|
|
911
|
+
* CatalogRedshiftTable: "STRING_VALUE",
|
|
912
|
+
* TempDir: "STRING_VALUE",
|
|
913
|
+
* IamRole: "<Option>",
|
|
914
|
+
* AdvancedOptions: [ // AmazonRedshiftAdvancedOptions
|
|
915
|
+
* { // AmazonRedshiftAdvancedOption
|
|
916
|
+
* Key: "STRING_VALUE",
|
|
917
|
+
* Value: "STRING_VALUE",
|
|
918
|
+
* },
|
|
919
|
+
* ],
|
|
920
|
+
* SampleQuery: "STRING_VALUE",
|
|
921
|
+
* PreAction: "STRING_VALUE",
|
|
922
|
+
* PostAction: "STRING_VALUE",
|
|
923
|
+
* Action: "STRING_VALUE",
|
|
924
|
+
* TablePrefix: "STRING_VALUE",
|
|
925
|
+
* Upsert: true || false,
|
|
926
|
+
* MergeAction: "STRING_VALUE",
|
|
927
|
+
* MergeWhenMatched: "STRING_VALUE",
|
|
928
|
+
* MergeWhenNotMatched: "STRING_VALUE",
|
|
929
|
+
* MergeClause: "STRING_VALUE",
|
|
930
|
+
* CrawlerConnection: "STRING_VALUE",
|
|
931
|
+
* TableSchema: [ // OptionList
|
|
932
|
+
* "<Option>",
|
|
933
|
+
* ],
|
|
934
|
+
* StagingTable: "STRING_VALUE",
|
|
935
|
+
* SelectedColumns: [
|
|
936
|
+
* "<Option>",
|
|
937
|
+
* ],
|
|
938
|
+
* },
|
|
939
|
+
* },
|
|
940
|
+
* AmazonRedshiftTarget: { // AmazonRedshiftTarget
|
|
941
|
+
* Name: "STRING_VALUE",
|
|
942
|
+
* Data: {
|
|
943
|
+
* AccessType: "STRING_VALUE",
|
|
944
|
+
* SourceType: "STRING_VALUE",
|
|
945
|
+
* Connection: "<Option>",
|
|
946
|
+
* Schema: "<Option>",
|
|
947
|
+
* Table: "<Option>",
|
|
948
|
+
* CatalogDatabase: "<Option>",
|
|
949
|
+
* CatalogTable: "<Option>",
|
|
950
|
+
* CatalogRedshiftSchema: "STRING_VALUE",
|
|
951
|
+
* CatalogRedshiftTable: "STRING_VALUE",
|
|
952
|
+
* TempDir: "STRING_VALUE",
|
|
953
|
+
* IamRole: "<Option>",
|
|
954
|
+
* AdvancedOptions: [
|
|
955
|
+
* {
|
|
956
|
+
* Key: "STRING_VALUE",
|
|
957
|
+
* Value: "STRING_VALUE",
|
|
958
|
+
* },
|
|
959
|
+
* ],
|
|
960
|
+
* SampleQuery: "STRING_VALUE",
|
|
961
|
+
* PreAction: "STRING_VALUE",
|
|
962
|
+
* PostAction: "STRING_VALUE",
|
|
963
|
+
* Action: "STRING_VALUE",
|
|
964
|
+
* TablePrefix: "STRING_VALUE",
|
|
965
|
+
* Upsert: true || false,
|
|
966
|
+
* MergeAction: "STRING_VALUE",
|
|
967
|
+
* MergeWhenMatched: "STRING_VALUE",
|
|
968
|
+
* MergeWhenNotMatched: "STRING_VALUE",
|
|
969
|
+
* MergeClause: "STRING_VALUE",
|
|
970
|
+
* CrawlerConnection: "STRING_VALUE",
|
|
971
|
+
* TableSchema: [
|
|
972
|
+
* "<Option>",
|
|
973
|
+
* ],
|
|
974
|
+
* StagingTable: "STRING_VALUE",
|
|
975
|
+
* SelectedColumns: [
|
|
976
|
+
* "<Option>",
|
|
977
|
+
* ],
|
|
978
|
+
* },
|
|
979
|
+
* Inputs: "<OneInput>",
|
|
980
|
+
* },
|
|
879
981
|
* },
|
|
880
982
|
* },
|
|
881
983
|
* ExecutionClass: "FLEX" || "STANDARD",
|
|
@@ -143,6 +143,180 @@ export declare class AlreadyExistsException extends __BaseException {
|
|
|
143
143
|
*/
|
|
144
144
|
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
145
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* <p>Specifies an Amazon Redshift data store.</p>
|
|
149
|
+
*/
|
|
150
|
+
export interface AmazonRedshiftAdvancedOption {
|
|
151
|
+
/**
|
|
152
|
+
* <p>The key when specifying a key-value pair.</p>
|
|
153
|
+
*/
|
|
154
|
+
Key?: string;
|
|
155
|
+
/**
|
|
156
|
+
* <p>The value when specifying a key-value pair.</p>
|
|
157
|
+
*/
|
|
158
|
+
Value?: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* <p>Specifies an option value.</p>
|
|
163
|
+
*/
|
|
164
|
+
export interface Option {
|
|
165
|
+
/**
|
|
166
|
+
* <p>Specifies the value of the option.</p>
|
|
167
|
+
*/
|
|
168
|
+
Value?: string;
|
|
169
|
+
/**
|
|
170
|
+
* <p>Specifies the label of the option.</p>
|
|
171
|
+
*/
|
|
172
|
+
Label?: string;
|
|
173
|
+
/**
|
|
174
|
+
* <p>Specifies the description of the option.</p>
|
|
175
|
+
*/
|
|
176
|
+
Description?: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* <p>Specifies an Amazon Redshift node.</p>
|
|
181
|
+
*/
|
|
182
|
+
export interface AmazonRedshiftNodeData {
|
|
183
|
+
/**
|
|
184
|
+
* <p>The access type for the Redshift connection. Can be a direct connection or catalog connections.</p>
|
|
185
|
+
*/
|
|
186
|
+
AccessType?: string;
|
|
187
|
+
/**
|
|
188
|
+
* <p>The source type to specify whether a specific table is the source or a custom query.</p>
|
|
189
|
+
*/
|
|
190
|
+
SourceType?: string;
|
|
191
|
+
/**
|
|
192
|
+
* <p>The Glue connection to the Redshift cluster.</p>
|
|
193
|
+
*/
|
|
194
|
+
Connection?: Option;
|
|
195
|
+
/**
|
|
196
|
+
* <p>The Redshift schema name when working with a direct connection.</p>
|
|
197
|
+
*/
|
|
198
|
+
Schema?: Option;
|
|
199
|
+
/**
|
|
200
|
+
* <p>The Redshift table name when working with a direct connection.</p>
|
|
201
|
+
*/
|
|
202
|
+
Table?: Option;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The name of the Glue Data Catalog database when working with a data catalog.</p>
|
|
205
|
+
*/
|
|
206
|
+
CatalogDatabase?: Option;
|
|
207
|
+
/**
|
|
208
|
+
* <p>The Glue Data Catalog table name when working with a data catalog.</p>
|
|
209
|
+
*/
|
|
210
|
+
CatalogTable?: Option;
|
|
211
|
+
/**
|
|
212
|
+
* <p>The Redshift schema name when working with a data catalog.</p>
|
|
213
|
+
*/
|
|
214
|
+
CatalogRedshiftSchema?: string;
|
|
215
|
+
/**
|
|
216
|
+
* <p>The database table to read from.</p>
|
|
217
|
+
*/
|
|
218
|
+
CatalogRedshiftTable?: string;
|
|
219
|
+
/**
|
|
220
|
+
* <p>The Amazon S3 path where temporary data can be staged when copying out of the database.</p>
|
|
221
|
+
*/
|
|
222
|
+
TempDir?: string;
|
|
223
|
+
/**
|
|
224
|
+
* <p>Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.</p>
|
|
225
|
+
*/
|
|
226
|
+
IamRole?: Option;
|
|
227
|
+
/**
|
|
228
|
+
* <p>Optional values when connecting to the Redshift cluster.</p>
|
|
229
|
+
*/
|
|
230
|
+
AdvancedOptions?: AmazonRedshiftAdvancedOption[];
|
|
231
|
+
/**
|
|
232
|
+
* <p>The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.</p>
|
|
233
|
+
*/
|
|
234
|
+
SampleQuery?: string;
|
|
235
|
+
/**
|
|
236
|
+
* <p>The SQL used before a MERGE or APPEND with upsert is run.</p>
|
|
237
|
+
*/
|
|
238
|
+
PreAction?: string;
|
|
239
|
+
/**
|
|
240
|
+
* <p>The SQL used before a MERGE or APPEND with upsert is run.</p>
|
|
241
|
+
*/
|
|
242
|
+
PostAction?: string;
|
|
243
|
+
/**
|
|
244
|
+
* <p>Specifies how writing to a Redshift cluser will occur.</p>
|
|
245
|
+
*/
|
|
246
|
+
Action?: string;
|
|
247
|
+
/**
|
|
248
|
+
* <p>Specifies the prefix to a table.</p>
|
|
249
|
+
*/
|
|
250
|
+
TablePrefix?: string;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The action used on Redshift sinks when doing an APPEND.</p>
|
|
253
|
+
*/
|
|
254
|
+
Upsert?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* <p>The action used when to detemine how a MERGE in a Redshift sink will be handled.</p>
|
|
257
|
+
*/
|
|
258
|
+
MergeAction?: string;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.</p>
|
|
261
|
+
*/
|
|
262
|
+
MergeWhenMatched?: string;
|
|
263
|
+
/**
|
|
264
|
+
* <p>The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.</p>
|
|
265
|
+
*/
|
|
266
|
+
MergeWhenNotMatched?: string;
|
|
267
|
+
/**
|
|
268
|
+
* <p>The SQL used in a custom merge to deal with matching records.</p>
|
|
269
|
+
*/
|
|
270
|
+
MergeClause?: string;
|
|
271
|
+
/**
|
|
272
|
+
* <p>Specifies the name of the connection that is associated with the catalog table used.</p>
|
|
273
|
+
*/
|
|
274
|
+
CrawlerConnection?: string;
|
|
275
|
+
/**
|
|
276
|
+
* <p>The array of schema output for a given node.</p>
|
|
277
|
+
*/
|
|
278
|
+
TableSchema?: Option[];
|
|
279
|
+
/**
|
|
280
|
+
* <p>The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.</p>
|
|
281
|
+
*/
|
|
282
|
+
StagingTable?: string;
|
|
283
|
+
/**
|
|
284
|
+
* <p>The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.</p>
|
|
285
|
+
*/
|
|
286
|
+
SelectedColumns?: Option[];
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* <p>Specifies an Amazon Redshift source.</p>
|
|
291
|
+
*/
|
|
292
|
+
export interface AmazonRedshiftSource {
|
|
293
|
+
/**
|
|
294
|
+
* <p>The name of the Amazon Redshift source.</p>
|
|
295
|
+
*/
|
|
296
|
+
Name?: string;
|
|
297
|
+
/**
|
|
298
|
+
* <p>Specifies the data of the Amazon Reshift source node.</p>
|
|
299
|
+
*/
|
|
300
|
+
Data?: AmazonRedshiftNodeData;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
* <p>Specifies an Amazon Redshift target.</p>
|
|
305
|
+
*/
|
|
306
|
+
export interface AmazonRedshiftTarget {
|
|
307
|
+
/**
|
|
308
|
+
* <p>The name of the Amazon Redshift target.</p>
|
|
309
|
+
*/
|
|
310
|
+
Name?: string;
|
|
311
|
+
/**
|
|
312
|
+
* <p>Specifies the data of the Amazon Reshift target node.</p>
|
|
313
|
+
*/
|
|
314
|
+
Data?: AmazonRedshiftNodeData;
|
|
315
|
+
/**
|
|
316
|
+
* <p>The nodes that are inputs to the data target.</p>
|
|
317
|
+
*/
|
|
318
|
+
Inputs?: string[];
|
|
319
|
+
}
|
|
146
320
|
/**
|
|
147
321
|
* @public
|
|
148
322
|
* <p>Specifies a single column in a Glue schema definition.</p>
|
|
@@ -2477,6 +2651,10 @@ export interface DynamicTransform {
|
|
|
2477
2651
|
* <p>This field is not used and will be deprecated in future release.</p>
|
|
2478
2652
|
*/
|
|
2479
2653
|
Version?: string;
|
|
2654
|
+
/**
|
|
2655
|
+
* <p>Specifies the data schema for the dynamic transform.</p>
|
|
2656
|
+
*/
|
|
2657
|
+
OutputSchemas?: GlueSchema[];
|
|
2480
2658
|
}
|
|
2481
2659
|
/**
|
|
2482
2660
|
* @public
|
|
@@ -6778,71 +6956,3 @@ export interface CreateMLTransformResponse {
|
|
|
6778
6956
|
*/
|
|
6779
6957
|
TransformId?: string;
|
|
6780
6958
|
}
|
|
6781
|
-
/**
|
|
6782
|
-
* @public
|
|
6783
|
-
*/
|
|
6784
|
-
export interface CreatePartitionRequest {
|
|
6785
|
-
/**
|
|
6786
|
-
* <p>The Amazon Web Services account ID of the catalog in which the partition is to be created.</p>
|
|
6787
|
-
*/
|
|
6788
|
-
CatalogId?: string;
|
|
6789
|
-
/**
|
|
6790
|
-
* <p>The name of the metadata database in which the partition is
|
|
6791
|
-
* to be created.</p>
|
|
6792
|
-
*/
|
|
6793
|
-
DatabaseName: string | undefined;
|
|
6794
|
-
/**
|
|
6795
|
-
* <p>The name of the metadata table in which the partition is to be created.</p>
|
|
6796
|
-
*/
|
|
6797
|
-
TableName: string | undefined;
|
|
6798
|
-
/**
|
|
6799
|
-
* <p>A <code>PartitionInput</code> structure defining the partition
|
|
6800
|
-
* to be created.</p>
|
|
6801
|
-
*/
|
|
6802
|
-
PartitionInput: PartitionInput | undefined;
|
|
6803
|
-
}
|
|
6804
|
-
/**
|
|
6805
|
-
* @public
|
|
6806
|
-
*/
|
|
6807
|
-
export interface CreatePartitionResponse {
|
|
6808
|
-
}
|
|
6809
|
-
/**
|
|
6810
|
-
* @public
|
|
6811
|
-
* <p>A structure for a partition index.</p>
|
|
6812
|
-
*/
|
|
6813
|
-
export interface PartitionIndex {
|
|
6814
|
-
/**
|
|
6815
|
-
* <p>The keys for the partition index.</p>
|
|
6816
|
-
*/
|
|
6817
|
-
Keys: string[] | undefined;
|
|
6818
|
-
/**
|
|
6819
|
-
* <p>The name of the partition index.</p>
|
|
6820
|
-
*/
|
|
6821
|
-
IndexName: string | undefined;
|
|
6822
|
-
}
|
|
6823
|
-
/**
|
|
6824
|
-
* @public
|
|
6825
|
-
*/
|
|
6826
|
-
export interface CreatePartitionIndexRequest {
|
|
6827
|
-
/**
|
|
6828
|
-
* <p>The catalog ID where the table resides.</p>
|
|
6829
|
-
*/
|
|
6830
|
-
CatalogId?: string;
|
|
6831
|
-
/**
|
|
6832
|
-
* <p>Specifies the name of a database in which you want to create a partition index.</p>
|
|
6833
|
-
*/
|
|
6834
|
-
DatabaseName: string | undefined;
|
|
6835
|
-
/**
|
|
6836
|
-
* <p>Specifies the name of a table in which you want to create a partition index.</p>
|
|
6837
|
-
*/
|
|
6838
|
-
TableName: string | undefined;
|
|
6839
|
-
/**
|
|
6840
|
-
* <p>Specifies a <code>PartitionIndex</code> structure to create a partition index in an existing table.</p>
|
|
6841
|
-
*/
|
|
6842
|
-
PartitionIndex: PartitionIndex | undefined;
|
|
6843
|
-
}
|
|
6844
|
-
/**
|
|
6845
|
-
* @public
|
|
6846
|
-
*/
|
|
6847
|
-
export interface CreatePartitionIndexResponse {
|
|
6848
|
-
}
|
|
@@ -1,6 +1,74 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
-
import { Action, AuditContext, Blueprint, Column, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, DatabaseIdentifier, DataFormat, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, FederatedDatabase, GlueTable, JobRun, Partition,
|
|
3
|
+
import { Action, AuditContext, Blueprint, Column, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, DatabaseIdentifier, DataFormat, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, FederatedDatabase, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, PhysicalConnectionRequirements, Predicate, PrincipalPermissions, SchemaId, StorageDescriptor, TaskStatusType, TransformEncryption, TransformParameters, TransformType, Trigger, TriggerType, WorkerType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface CreatePartitionRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The Amazon Web Services account ID of the catalog in which the partition is to be created.</p>
|
|
10
|
+
*/
|
|
11
|
+
CatalogId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The name of the metadata database in which the partition is
|
|
14
|
+
* to be created.</p>
|
|
15
|
+
*/
|
|
16
|
+
DatabaseName: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The name of the metadata table in which the partition is to be created.</p>
|
|
19
|
+
*/
|
|
20
|
+
TableName: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>A <code>PartitionInput</code> structure defining the partition
|
|
23
|
+
* to be created.</p>
|
|
24
|
+
*/
|
|
25
|
+
PartitionInput: PartitionInput | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export interface CreatePartitionResponse {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* <p>A structure for a partition index.</p>
|
|
35
|
+
*/
|
|
36
|
+
export interface PartitionIndex {
|
|
37
|
+
/**
|
|
38
|
+
* <p>The keys for the partition index.</p>
|
|
39
|
+
*/
|
|
40
|
+
Keys: string[] | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The name of the partition index.</p>
|
|
43
|
+
*/
|
|
44
|
+
IndexName: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface CreatePartitionIndexRequest {
|
|
50
|
+
/**
|
|
51
|
+
* <p>The catalog ID where the table resides.</p>
|
|
52
|
+
*/
|
|
53
|
+
CatalogId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* <p>Specifies the name of a database in which you want to create a partition index.</p>
|
|
56
|
+
*/
|
|
57
|
+
DatabaseName: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>Specifies the name of a table in which you want to create a partition index.</p>
|
|
60
|
+
*/
|
|
61
|
+
TableName: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Specifies a <code>PartitionIndex</code> structure to create a partition index in an existing table.</p>
|
|
64
|
+
*/
|
|
65
|
+
PartitionIndex: PartitionIndex | undefined;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export interface CreatePartitionIndexResponse {
|
|
71
|
+
}
|
|
4
72
|
/**
|
|
5
73
|
* @public
|
|
6
74
|
*/
|
|
@@ -6087,65 +6155,3 @@ export interface GetUserDefinedFunctionsRequest {
|
|
|
6087
6155
|
*/
|
|
6088
6156
|
MaxResults?: number;
|
|
6089
6157
|
}
|
|
6090
|
-
/**
|
|
6091
|
-
* @public
|
|
6092
|
-
*/
|
|
6093
|
-
export interface GetUserDefinedFunctionsResponse {
|
|
6094
|
-
/**
|
|
6095
|
-
* <p>A list of requested function definitions.</p>
|
|
6096
|
-
*/
|
|
6097
|
-
UserDefinedFunctions?: UserDefinedFunction[];
|
|
6098
|
-
/**
|
|
6099
|
-
* <p>A continuation token, if the list of functions returned does
|
|
6100
|
-
* not include the last requested function.</p>
|
|
6101
|
-
*/
|
|
6102
|
-
NextToken?: string;
|
|
6103
|
-
}
|
|
6104
|
-
/**
|
|
6105
|
-
* @public
|
|
6106
|
-
*/
|
|
6107
|
-
export interface GetWorkflowRequest {
|
|
6108
|
-
/**
|
|
6109
|
-
* <p>The name of the workflow to retrieve.</p>
|
|
6110
|
-
*/
|
|
6111
|
-
Name: string | undefined;
|
|
6112
|
-
/**
|
|
6113
|
-
* <p>Specifies whether to include a graph when returning the workflow resource metadata.</p>
|
|
6114
|
-
*/
|
|
6115
|
-
IncludeGraph?: boolean;
|
|
6116
|
-
}
|
|
6117
|
-
/**
|
|
6118
|
-
* @public
|
|
6119
|
-
*/
|
|
6120
|
-
export interface GetWorkflowResponse {
|
|
6121
|
-
/**
|
|
6122
|
-
* <p>The resource metadata for the workflow.</p>
|
|
6123
|
-
*/
|
|
6124
|
-
Workflow?: Workflow;
|
|
6125
|
-
}
|
|
6126
|
-
/**
|
|
6127
|
-
* @public
|
|
6128
|
-
*/
|
|
6129
|
-
export interface GetWorkflowRunRequest {
|
|
6130
|
-
/**
|
|
6131
|
-
* <p>Name of the workflow being run.</p>
|
|
6132
|
-
*/
|
|
6133
|
-
Name: string | undefined;
|
|
6134
|
-
/**
|
|
6135
|
-
* <p>The ID of the workflow run.</p>
|
|
6136
|
-
*/
|
|
6137
|
-
RunId: string | undefined;
|
|
6138
|
-
/**
|
|
6139
|
-
* <p>Specifies whether to include the workflow graph in response or not.</p>
|
|
6140
|
-
*/
|
|
6141
|
-
IncludeGraph?: boolean;
|
|
6142
|
-
}
|
|
6143
|
-
/**
|
|
6144
|
-
* @public
|
|
6145
|
-
*/
|
|
6146
|
-
export interface GetWorkflowRunResponse {
|
|
6147
|
-
/**
|
|
6148
|
-
* <p>The requested workflow run metadata.</p>
|
|
6149
|
-
*/
|
|
6150
|
-
Run?: WorkflowRun;
|
|
6151
|
-
}
|
|
@@ -1,7 +1,69 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
-
import { Action, Aggregate, AthenaConnectorSource, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, ConnectionInput, ConnectionsList, CrawlerTargets, CsvHeaderOption, CustomCode, CustomEntityType, DatabaseInput, DataQualityTargetTable, DataSource, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EventBatchingCondition, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, Join, LakeFormationConfiguration, LineageConfiguration, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, RecrawlPolicy, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SchemaChangePolicy, SchemaId, SelectFields, SelectFromCollection, SourceControlAuthStrategy, SourceControlDetails, SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, TaskStatusType, TransformParameters, Trigger, Union, WorkerType, WorkflowRun } from "./models_0";
|
|
4
|
-
import { ColumnStatistics, Compatibility, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, JobBookmarkEntry, RegistryId, RegistryStatus, ResourceShareType, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Session, Statement, Table, TableInput, TransformFilterCriteria, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
|
|
3
|
+
import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, ConnectionInput, ConnectionsList, CrawlerTargets, CsvHeaderOption, CustomCode, CustomEntityType, DatabaseInput, DataQualityTargetTable, DataSource, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EventBatchingCondition, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, Join, LakeFormationConfiguration, LineageConfiguration, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, RecrawlPolicy, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SchemaChangePolicy, SchemaId, SelectFields, SelectFromCollection, SourceControlAuthStrategy, SourceControlDetails, SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, TaskStatusType, TransformParameters, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
4
|
+
import { ColumnStatistics, Compatibility, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, JobBookmarkEntry, RegistryId, RegistryStatus, ResourceShareType, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Session, Statement, Table, TableInput, TransformFilterCriteria, TransformSortCriteria, UserDefinedFunction, UserDefinedFunctionInput } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface GetUserDefinedFunctionsResponse {
|
|
9
|
+
/**
|
|
10
|
+
* <p>A list of requested function definitions.</p>
|
|
11
|
+
*/
|
|
12
|
+
UserDefinedFunctions?: UserDefinedFunction[];
|
|
13
|
+
/**
|
|
14
|
+
* <p>A continuation token, if the list of functions returned does
|
|
15
|
+
* not include the last requested function.</p>
|
|
16
|
+
*/
|
|
17
|
+
NextToken?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkflowRequest {
|
|
23
|
+
/**
|
|
24
|
+
* <p>The name of the workflow to retrieve.</p>
|
|
25
|
+
*/
|
|
26
|
+
Name: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>Specifies whether to include a graph when returning the workflow resource metadata.</p>
|
|
29
|
+
*/
|
|
30
|
+
IncludeGraph?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface GetWorkflowResponse {
|
|
36
|
+
/**
|
|
37
|
+
* <p>The resource metadata for the workflow.</p>
|
|
38
|
+
*/
|
|
39
|
+
Workflow?: Workflow;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export interface GetWorkflowRunRequest {
|
|
45
|
+
/**
|
|
46
|
+
* <p>Name of the workflow being run.</p>
|
|
47
|
+
*/
|
|
48
|
+
Name: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The ID of the workflow run.</p>
|
|
51
|
+
*/
|
|
52
|
+
RunId: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>Specifies whether to include the workflow graph in response or not.</p>
|
|
55
|
+
*/
|
|
56
|
+
IncludeGraph?: boolean;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export interface GetWorkflowRunResponse {
|
|
62
|
+
/**
|
|
63
|
+
* <p>The requested workflow run metadata.</p>
|
|
64
|
+
*/
|
|
65
|
+
Run?: WorkflowRun;
|
|
66
|
+
}
|
|
5
67
|
/**
|
|
6
68
|
* @public
|
|
7
69
|
*/
|
|
@@ -3576,6 +3638,14 @@ export interface CodeGenConfigurationNode {
|
|
|
3576
3638
|
* <p>Specifies a target that writes to a Delta Lake data source in Amazon S3.</p>
|
|
3577
3639
|
*/
|
|
3578
3640
|
S3DeltaDirectTarget?: S3DeltaDirectTarget;
|
|
3641
|
+
/**
|
|
3642
|
+
* <p>Specifies a target that writes to a data source in Amazon Redshift.</p>
|
|
3643
|
+
*/
|
|
3644
|
+
AmazonRedshiftSource?: AmazonRedshiftSource;
|
|
3645
|
+
/**
|
|
3646
|
+
* <p>Specifies a target that writes to a data target in Amazon Redshift.</p>
|
|
3647
|
+
*/
|
|
3648
|
+
AmazonRedshiftTarget?: AmazonRedshiftTarget;
|
|
3579
3649
|
}
|
|
3580
3650
|
/**
|
|
3581
3651
|
* @public
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
CreatePartitionRequest,
|
|
16
16
|
CreatePartitionResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface CreatePartitionCommandInput extends CreatePartitionRequest {}
|
|
19
19
|
export interface CreatePartitionCommandOutput
|
|
20
20
|
extends CreatePartitionResponse,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
CreatePartitionIndexRequest,
|
|
16
16
|
CreatePartitionIndexResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface CreatePartitionIndexCommandInput
|
|
19
19
|
extends CreatePartitionIndexRequest {}
|
|
20
20
|
export interface CreatePartitionIndexCommandOutput
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
GetUserDefinedFunctionsResponse,
|
|
17
|
-
} from "../models/models_1";
|
|
14
|
+
import { GetUserDefinedFunctionsRequest } from "../models/models_1";
|
|
15
|
+
import { GetUserDefinedFunctionsResponse } from "../models/models_2";
|
|
18
16
|
export interface GetUserDefinedFunctionsCommandInput
|
|
19
17
|
extends GetUserDefinedFunctionsRequest {}
|
|
20
18
|
export interface GetUserDefinedFunctionsCommandOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import { GetWorkflowRequest, GetWorkflowResponse } from "../models/
|
|
14
|
+
import { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_2";
|
|
15
15
|
export interface GetWorkflowCommandInput extends GetWorkflowRequest {}
|
|
16
16
|
export interface GetWorkflowCommandOutput
|
|
17
17
|
extends GetWorkflowResponse,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
GetWorkflowRunRequest,
|
|
16
16
|
GetWorkflowRunResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_2";
|
|
18
18
|
export interface GetWorkflowRunCommandInput extends GetWorkflowRunRequest {}
|
|
19
19
|
export interface GetWorkflowRunCommandOutput
|
|
20
20
|
extends GetWorkflowRunResponse,
|