@aws-sdk/client-glue 3.582.0 → 3.586.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/index.js CHANGED
@@ -233,6 +233,7 @@ __export(src_exports, {
233
233
  JdbcMetadataEntry: () => JdbcMetadataEntry,
234
234
  JobBookmarksEncryptionMode: () => JobBookmarksEncryptionMode,
235
235
  JobFilterSensitiveLog: () => JobFilterSensitiveLog,
236
+ JobMode: () => JobMode,
236
237
  JobRunState: () => JobRunState,
237
238
  JobUpdateFilterSensitiveLog: () => JobUpdateFilterSensitiveLog,
238
239
  JoinType: () => JoinType,
@@ -999,6 +1000,11 @@ var ExecutionClass = {
999
1000
  FLEX: "FLEX",
1000
1001
  STANDARD: "STANDARD"
1001
1002
  };
1003
+ var JobMode = {
1004
+ NOTEBOOK: "NOTEBOOK",
1005
+ SCRIPT: "SCRIPT",
1006
+ VISUAL: "VISUAL"
1007
+ };
1002
1008
  var SourceControlAuthStrategy = {
1003
1009
  AWS_SECRETS_MANAGER: "AWS_SECRETS_MANAGER",
1004
1010
  PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN"
@@ -6571,6 +6577,7 @@ var se_CreateJobRequest = /* @__PURE__ */ __name((input, context) => {
6571
6577
  ExecutionClass: [],
6572
6578
  ExecutionProperty: import_smithy_client._json,
6573
6579
  GlueVersion: [],
6580
+ JobMode: [],
6574
6581
  LogUri: [],
6575
6582
  MaintenanceWindow: [],
6576
6583
  MaxCapacity: import_smithy_client.serializeFloat,
@@ -6847,6 +6854,7 @@ var se_JobUpdate = /* @__PURE__ */ __name((input, context) => {
6847
6854
  ExecutionClass: [],
6848
6855
  ExecutionProperty: import_smithy_client._json,
6849
6856
  GlueVersion: [],
6857
+ JobMode: [],
6850
6858
  LogUri: [],
6851
6859
  MaintenanceWindow: [],
6852
6860
  MaxCapacity: import_smithy_client.serializeFloat,
@@ -8349,6 +8357,7 @@ var de_Job = /* @__PURE__ */ __name((output, context) => {
8349
8357
  ExecutionClass: import_smithy_client.expectString,
8350
8358
  ExecutionProperty: import_smithy_client._json,
8351
8359
  GlueVersion: import_smithy_client.expectString,
8360
+ JobMode: import_smithy_client.expectString,
8352
8361
  LastModifiedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
8353
8362
  LogUri: import_smithy_client.expectString,
8354
8363
  MaintenanceWindow: import_smithy_client.expectString,
@@ -8388,6 +8397,7 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
8388
8397
  ExecutionTime: import_smithy_client.expectInt32,
8389
8398
  GlueVersion: import_smithy_client.expectString,
8390
8399
  Id: import_smithy_client.expectString,
8400
+ JobMode: import_smithy_client.expectString,
8391
8401
  JobName: import_smithy_client.expectString,
8392
8402
  JobRunState: import_smithy_client.expectString,
8393
8403
  LastModifiedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -13245,6 +13255,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13245
13255
  HudiTargetCompressionType,
13246
13256
  UnionType,
13247
13257
  ExecutionClass,
13258
+ JobMode,
13248
13259
  SourceControlAuthStrategy,
13249
13260
  SourceControlProvider,
13250
13261
  FederationSourceErrorCode,
@@ -365,6 +365,11 @@ export const ExecutionClass = {
365
365
  FLEX: "FLEX",
366
366
  STANDARD: "STANDARD",
367
367
  };
368
+ export const JobMode = {
369
+ NOTEBOOK: "NOTEBOOK",
370
+ SCRIPT: "SCRIPT",
371
+ VISUAL: "VISUAL",
372
+ };
368
373
  export const SourceControlAuthStrategy = {
369
374
  AWS_SECRETS_MANAGER: "AWS_SECRETS_MANAGER",
370
375
  PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN",
@@ -4699,6 +4699,7 @@ const se_CreateJobRequest = (input, context) => {
4699
4699
  ExecutionClass: [],
4700
4700
  ExecutionProperty: _json,
4701
4701
  GlueVersion: [],
4702
+ JobMode: [],
4702
4703
  LogUri: [],
4703
4704
  MaintenanceWindow: [],
4704
4705
  MaxCapacity: __serializeFloat,
@@ -4977,6 +4978,7 @@ const se_JobUpdate = (input, context) => {
4977
4978
  ExecutionClass: [],
4978
4979
  ExecutionProperty: _json,
4979
4980
  GlueVersion: [],
4981
+ JobMode: [],
4980
4982
  LogUri: [],
4981
4983
  MaintenanceWindow: [],
4982
4984
  MaxCapacity: __serializeFloat,
@@ -6537,6 +6539,7 @@ const de_Job = (output, context) => {
6537
6539
  ExecutionClass: __expectString,
6538
6540
  ExecutionProperty: _json,
6539
6541
  GlueVersion: __expectString,
6542
+ JobMode: __expectString,
6540
6543
  LastModifiedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
6541
6544
  LogUri: __expectString,
6542
6545
  MaintenanceWindow: __expectString,
@@ -6578,6 +6581,7 @@ const de_JobRun = (output, context) => {
6578
6581
  ExecutionTime: __expectInt32,
6579
6582
  GlueVersion: __expectString,
6580
6583
  Id: __expectString,
6584
+ JobMode: __expectString,
6581
6585
  JobName: __expectString,
6582
6586
  JobRunState: __expectString,
6583
6587
  LastModifiedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -46,6 +46,7 @@ declare const BatchGetJobsCommand_base: {
46
46
  * // Jobs: [ // JobList
47
47
  * // { // Job
48
48
  * // Name: "STRING_VALUE",
49
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
49
50
  * // Description: "STRING_VALUE",
50
51
  * // LogUri: "STRING_VALUE",
51
52
  * // Role: "STRING_VALUE",
@@ -127,6 +127,7 @@ declare const BatchGetWorkflowsCommand_base: {
127
127
  * // PreviousRunId: "STRING_VALUE",
128
128
  * // TriggerName: "STRING_VALUE",
129
129
  * // JobName: "STRING_VALUE",
130
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
130
131
  * // StartedOn: new Date("TIMESTAMP"),
131
132
  * // LastModifiedOn: new Date("TIMESTAMP"),
132
133
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -240,6 +241,7 @@ declare const BatchGetWorkflowsCommand_base: {
240
241
  * // PreviousRunId: "STRING_VALUE",
241
242
  * // TriggerName: "STRING_VALUE",
242
243
  * // JobName: "STRING_VALUE",
244
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
243
245
  * // StartedOn: new Date("TIMESTAMP"),
244
246
  * // LastModifiedOn: new Date("TIMESTAMP"),
245
247
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import { CreateCustomEntityTypeRequest } from "../models/models_0";
5
- import { CreateCustomEntityTypeResponse } from "../models/models_1";
4
+ import { CreateCustomEntityTypeRequest, CreateCustomEntityTypeResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -36,6 +36,7 @@ declare const CreateJobCommand_base: {
36
36
  * const client = new GlueClient(config);
37
37
  * const input = { // CreateJobRequest
38
38
  * Name: "STRING_VALUE", // required
39
+ * JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
39
40
  * Description: "STRING_VALUE",
40
41
  * LogUri: "STRING_VALUE",
41
42
  * Role: "STRING_VALUE", // required
@@ -42,6 +42,7 @@ declare const GetJobCommand_base: {
42
42
  * // { // GetJobResponse
43
43
  * // Job: { // Job
44
44
  * // Name: "STRING_VALUE",
45
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
45
46
  * // Description: "STRING_VALUE",
46
47
  * // LogUri: "STRING_VALUE",
47
48
  * // Role: "STRING_VALUE",
@@ -47,6 +47,7 @@ declare const GetJobRunCommand_base: {
47
47
  * // PreviousRunId: "STRING_VALUE",
48
48
  * // TriggerName: "STRING_VALUE",
49
49
  * // JobName: "STRING_VALUE",
50
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
50
51
  * // StartedOn: new Date("TIMESTAMP"),
51
52
  * // LastModifiedOn: new Date("TIMESTAMP"),
52
53
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -48,6 +48,7 @@ declare const GetJobRunsCommand_base: {
48
48
  * // PreviousRunId: "STRING_VALUE",
49
49
  * // TriggerName: "STRING_VALUE",
50
50
  * // JobName: "STRING_VALUE",
51
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
51
52
  * // StartedOn: new Date("TIMESTAMP"),
52
53
  * // LastModifiedOn: new Date("TIMESTAMP"),
53
54
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -44,6 +44,7 @@ declare const GetJobsCommand_base: {
44
44
  * // Jobs: [ // JobList
45
45
  * // { // Job
46
46
  * // Name: "STRING_VALUE",
47
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
47
48
  * // Description: "STRING_VALUE",
48
49
  * // LogUri: "STRING_VALUE",
49
50
  * // Role: "STRING_VALUE",
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import { GetSecurityConfigurationsRequest } from "../models/models_1";
5
- import { GetSecurityConfigurationsResponse } from "../models/models_2";
4
+ import { GetSecurityConfigurationsRequest, GetSecurityConfigurationsResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -124,6 +124,7 @@ declare const GetWorkflowCommand_base: {
124
124
  * // PreviousRunId: "STRING_VALUE",
125
125
  * // TriggerName: "STRING_VALUE",
126
126
  * // JobName: "STRING_VALUE",
127
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
127
128
  * // StartedOn: new Date("TIMESTAMP"),
128
129
  * // LastModifiedOn: new Date("TIMESTAMP"),
129
130
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -237,6 +238,7 @@ declare const GetWorkflowCommand_base: {
237
238
  * // PreviousRunId: "STRING_VALUE",
238
239
  * // TriggerName: "STRING_VALUE",
239
240
  * // JobName: "STRING_VALUE",
241
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
240
242
  * // StartedOn: new Date("TIMESTAMP"),
241
243
  * // LastModifiedOn: new Date("TIMESTAMP"),
242
244
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -117,6 +117,7 @@ declare const GetWorkflowRunCommand_base: {
117
117
  * // PreviousRunId: "STRING_VALUE",
118
118
  * // TriggerName: "STRING_VALUE",
119
119
  * // JobName: "STRING_VALUE",
120
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
120
121
  * // StartedOn: new Date("TIMESTAMP"),
121
122
  * // LastModifiedOn: new Date("TIMESTAMP"),
122
123
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -119,6 +119,7 @@ declare const GetWorkflowRunsCommand_base: {
119
119
  * // PreviousRunId: "STRING_VALUE",
120
120
  * // TriggerName: "STRING_VALUE",
121
121
  * // JobName: "STRING_VALUE",
122
+ * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
122
123
  * // StartedOn: new Date("TIMESTAMP"),
123
124
  * // LastModifiedOn: new Date("TIMESTAMP"),
124
125
  * // CompletedOn: new Date("TIMESTAMP"),
@@ -36,6 +36,7 @@ declare const UpdateJobCommand_base: {
36
36
  * const input = { // UpdateJobRequest
37
37
  * JobName: "STRING_VALUE", // required
38
38
  * JobUpdate: { // JobUpdate
39
+ * JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
39
40
  * Description: "STRING_VALUE",
40
41
  * LogUri: "STRING_VALUE",
41
42
  * Role: "STRING_VALUE",
@@ -5848,6 +5848,19 @@ export interface ExecutionProperty {
5848
5848
  */
5849
5849
  MaxConcurrentRuns?: number;
5850
5850
  }
5851
+ /**
5852
+ * @public
5853
+ * @enum
5854
+ */
5855
+ export declare const JobMode: {
5856
+ readonly NOTEBOOK: "NOTEBOOK";
5857
+ readonly SCRIPT: "SCRIPT";
5858
+ readonly VISUAL: "VISUAL";
5859
+ };
5860
+ /**
5861
+ * @public
5862
+ */
5863
+ export type JobMode = (typeof JobMode)[keyof typeof JobMode];
5851
5864
  /**
5852
5865
  * @public
5853
5866
  * @enum
@@ -6698,6 +6711,26 @@ export interface JobRun {
6698
6711
  * @public
6699
6712
  */
6700
6713
  JobName?: string;
6714
+ /**
6715
+ * <p>A mode that describes how a job was created. Valid values are:</p>
6716
+ * <ul>
6717
+ * <li>
6718
+ * <p>
6719
+ * <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p>
6720
+ * </li>
6721
+ * <li>
6722
+ * <p>
6723
+ * <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p>
6724
+ * </li>
6725
+ * <li>
6726
+ * <p>
6727
+ * <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p>
6728
+ * </li>
6729
+ * </ul>
6730
+ * <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>
6731
+ * @public
6732
+ */
6733
+ JobMode?: JobMode;
6701
6734
  /**
6702
6735
  * <p>The date and time at which this job run was started.</p>
6703
6736
  * @public
@@ -8050,29 +8083,3 @@ export interface CreateCrawlerRequest {
8050
8083
  */
8051
8084
  export interface CreateCrawlerResponse {
8052
8085
  }
8053
- /**
8054
- * @public
8055
- */
8056
- export interface CreateCustomEntityTypeRequest {
8057
- /**
8058
- * <p>A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.</p>
8059
- * @public
8060
- */
8061
- Name: string | undefined;
8062
- /**
8063
- * <p>A regular expression string that is used for detecting sensitive data in a custom pattern.</p>
8064
- * @public
8065
- */
8066
- RegexString: string | undefined;
8067
- /**
8068
- * <p>A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.</p>
8069
- * <p>If no context words are passed only a regular expression is checked.</p>
8070
- * @public
8071
- */
8072
- ContextWords?: string[];
8073
- /**
8074
- * <p>A list of tags applied to the custom entity type.</p>
8075
- * @public
8076
- */
8077
- Tags?: Record<string, string>;
8078
- }
@@ -1,6 +1,32 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
3
  import { Action, Blueprint, Column, ConnectionPropertyKey, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, CsvSerdeOption, DataFormat, DataQualityAnalyzerResult, DataQualityObservation, DataQualityRuleResult, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, PhysicalConnectionRequirements, Predicate, SchemaId, StorageDescriptor, TableOptimizerConfiguration, TableOptimizerType, TaskStatusType, TriggerType, WorkerType } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface CreateCustomEntityTypeRequest {
8
+ /**
9
+ * <p>A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.</p>
10
+ * @public
11
+ */
12
+ Name: string | undefined;
13
+ /**
14
+ * <p>A regular expression string that is used for detecting sensitive data in a custom pattern.</p>
15
+ * @public
16
+ */
17
+ RegexString: string | undefined;
18
+ /**
19
+ * <p>A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.</p>
20
+ * <p>If no context words are passed only a regular expression is checked.</p>
21
+ * @public
22
+ */
23
+ ContextWords?: string[];
24
+ /**
25
+ * <p>A list of tags applied to the custom entity type.</p>
26
+ * @public
27
+ */
28
+ Tags?: Record<string, string>;
29
+ }
4
30
  /**
5
31
  * @public
6
32
  */
@@ -7105,18 +7131,3 @@ export interface GetSecurityConfigurationResponse {
7105
7131
  */
7106
7132
  SecurityConfiguration?: SecurityConfiguration;
7107
7133
  }
7108
- /**
7109
- * @public
7110
- */
7111
- export interface GetSecurityConfigurationsRequest {
7112
- /**
7113
- * <p>The maximum number of results to return.</p>
7114
- * @public
7115
- */
7116
- MaxResults?: number;
7117
- /**
7118
- * <p>A continuation token, if this is a continuation call.</p>
7119
- * @public
7120
- */
7121
- NextToken?: string;
7122
- }
@@ -1,7 +1,22 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
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";
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, JobMode, 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
4
  import { ColumnStatistics, Compatibility, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, JobBookmarkEntry, Permission, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, SecurityConfiguration, Segment, Session, TableIdentifier, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface GetSecurityConfigurationsRequest {
9
+ /**
10
+ * <p>The maximum number of results to return.</p>
11
+ * @public
12
+ */
13
+ MaxResults?: number;
14
+ /**
15
+ * <p>A continuation token, if this is a continuation call.</p>
16
+ * @public
17
+ */
18
+ NextToken?: string;
19
+ }
5
20
  /**
6
21
  * @public
7
22
  */
@@ -5899,6 +5914,26 @@ export interface CreateJobRequest {
5899
5914
  * @public
5900
5915
  */
5901
5916
  Name: string | undefined;
5917
+ /**
5918
+ * <p>A mode that describes how a job was created. Valid values are:</p>
5919
+ * <ul>
5920
+ * <li>
5921
+ * <p>
5922
+ * <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p>
5923
+ * </li>
5924
+ * <li>
5925
+ * <p>
5926
+ * <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p>
5927
+ * </li>
5928
+ * <li>
5929
+ * <p>
5930
+ * <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p>
5931
+ * </li>
5932
+ * </ul>
5933
+ * <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>
5934
+ * @public
5935
+ */
5936
+ JobMode?: JobMode;
5902
5937
  /**
5903
5938
  * <p>Description of the job being defined.</p>
5904
5939
  * @public
@@ -6097,6 +6132,26 @@ export interface Job {
6097
6132
  * @public
6098
6133
  */
6099
6134
  Name?: string;
6135
+ /**
6136
+ * <p>A mode that describes how a job was created. Valid values are:</p>
6137
+ * <ul>
6138
+ * <li>
6139
+ * <p>
6140
+ * <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p>
6141
+ * </li>
6142
+ * <li>
6143
+ * <p>
6144
+ * <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p>
6145
+ * </li>
6146
+ * <li>
6147
+ * <p>
6148
+ * <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p>
6149
+ * </li>
6150
+ * </ul>
6151
+ * <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>
6152
+ * @public
6153
+ */
6154
+ JobMode?: JobMode;
6100
6155
  /**
6101
6156
  * <p>A description of the job.</p>
6102
6157
  * @public
@@ -6297,6 +6352,26 @@ export interface Job {
6297
6352
  * @public
6298
6353
  */
6299
6354
  export interface JobUpdate {
6355
+ /**
6356
+ * <p>A mode that describes how a job was created. Valid values are:</p>
6357
+ * <ul>
6358
+ * <li>
6359
+ * <p>
6360
+ * <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p>
6361
+ * </li>
6362
+ * <li>
6363
+ * <p>
6364
+ * <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p>
6365
+ * </li>
6366
+ * <li>
6367
+ * <p>
6368
+ * <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p>
6369
+ * </li>
6370
+ * </ul>
6371
+ * <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>
6372
+ * @public
6373
+ */
6374
+ JobMode?: JobMode;
6300
6375
  /**
6301
6376
  * <p>Description of the job being defined.</p>
6302
6377
  * @public
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GlueClient";
8
- import { CreateCustomEntityTypeRequest } from "../models/models_0";
9
- import { CreateCustomEntityTypeResponse } from "../models/models_1";
8
+ import {
9
+ CreateCustomEntityTypeRequest,
10
+ CreateCustomEntityTypeResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer, $Command };
11
13
  export interface CreateCustomEntityTypeCommandInput
12
14
  extends CreateCustomEntityTypeRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GlueClient";
8
- import { GetSecurityConfigurationsRequest } from "../models/models_1";
9
- import { GetSecurityConfigurationsResponse } from "../models/models_2";
8
+ import {
9
+ GetSecurityConfigurationsRequest,
10
+ GetSecurityConfigurationsResponse,
11
+ } from "../models/models_2";
10
12
  export { __MetadataBearer, $Command };
11
13
  export interface GetSecurityConfigurationsCommandInput
12
14
  extends GetSecurityConfigurationsRequest {}
@@ -1493,6 +1493,12 @@ export type ExecutionClass =
1493
1493
  export interface ExecutionProperty {
1494
1494
  MaxConcurrentRuns?: number;
1495
1495
  }
1496
+ export declare const JobMode: {
1497
+ readonly NOTEBOOK: "NOTEBOOK";
1498
+ readonly SCRIPT: "SCRIPT";
1499
+ readonly VISUAL: "VISUAL";
1500
+ };
1501
+ export type JobMode = (typeof JobMode)[keyof typeof JobMode];
1496
1502
  export declare const SourceControlAuthStrategy: {
1497
1503
  readonly AWS_SECRETS_MANAGER: "AWS_SECRETS_MANAGER";
1498
1504
  readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
@@ -1753,6 +1759,7 @@ export interface JobRun {
1753
1759
  PreviousRunId?: string;
1754
1760
  TriggerName?: string;
1755
1761
  JobName?: string;
1762
+ JobMode?: JobMode;
1756
1763
  StartedOn?: Date;
1757
1764
  LastModifiedOn?: Date;
1758
1765
  CompletedOn?: Date;
@@ -2092,9 +2099,3 @@ export interface CreateCrawlerRequest {
2092
2099
  Tags?: Record<string, string>;
2093
2100
  }
2094
2101
  export interface CreateCrawlerResponse {}
2095
- export interface CreateCustomEntityTypeRequest {
2096
- Name: string | undefined;
2097
- RegexString: string | undefined;
2098
- ContextWords?: string[];
2099
- Tags?: Record<string, string>;
2100
- }
@@ -33,6 +33,12 @@ import {
33
33
  TriggerType,
34
34
  WorkerType,
35
35
  } from "./models_0";
36
+ export interface CreateCustomEntityTypeRequest {
37
+ Name: string | undefined;
38
+ RegexString: string | undefined;
39
+ ContextWords?: string[];
40
+ Tags?: Record<string, string>;
41
+ }
36
42
  export interface CreateCustomEntityTypeResponse {
37
43
  Name?: string;
38
44
  }
@@ -1684,7 +1690,3 @@ export interface SecurityConfiguration {
1684
1690
  export interface GetSecurityConfigurationResponse {
1685
1691
  SecurityConfiguration?: SecurityConfiguration;
1686
1692
  }
1687
- export interface GetSecurityConfigurationsRequest {
1688
- MaxResults?: number;
1689
- NextToken?: string;
1690
- }
@@ -45,6 +45,7 @@ import {
45
45
  JDBCConnectorSource,
46
46
  JDBCConnectorTarget,
47
47
  JobCommand,
48
+ JobMode,
48
49
  Join,
49
50
  LakeFormationConfiguration,
50
51
  LineageConfiguration,
@@ -136,6 +137,10 @@ import {
136
137
  TransformSortCriteria,
137
138
  UserDefinedFunctionInput,
138
139
  } from "./models_1";
140
+ export interface GetSecurityConfigurationsRequest {
141
+ MaxResults?: number;
142
+ NextToken?: string;
143
+ }
139
144
  export interface GetSecurityConfigurationsResponse {
140
145
  SecurityConfigurations?: SecurityConfiguration[];
141
146
  NextToken?: string;
@@ -1546,6 +1551,7 @@ export interface CodeGenConfigurationNode {
1546
1551
  }
1547
1552
  export interface CreateJobRequest {
1548
1553
  Name: string | undefined;
1554
+ JobMode?: JobMode;
1549
1555
  Description?: string;
1550
1556
  LogUri?: string;
1551
1557
  Role: string | undefined;
@@ -1571,6 +1577,7 @@ export interface CreateJobRequest {
1571
1577
  }
1572
1578
  export interface Job {
1573
1579
  Name?: string;
1580
+ JobMode?: JobMode;
1574
1581
  Description?: string;
1575
1582
  LogUri?: string;
1576
1583
  Role?: string;
@@ -1596,6 +1603,7 @@ export interface Job {
1596
1603
  MaintenanceWindow?: string;
1597
1604
  }
1598
1605
  export interface JobUpdate {
1606
+ JobMode?: JobMode;
1599
1607
  Description?: string;
1600
1608
  LogUri?: string;
1601
1609
  Role?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glue",
3
3
  "description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
4
- "version": "3.582.0",
4
+ "version": "3.586.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-glue",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.582.0",
24
- "@aws-sdk/client-sts": "3.582.0",
23
+ "@aws-sdk/client-sso-oidc": "3.583.0",
24
+ "@aws-sdk/client-sts": "3.583.0",
25
25
  "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.582.0",
26
+ "@aws-sdk/credential-provider-node": "3.583.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.583.0",
31
31
  "@aws-sdk/region-config-resolver": "3.577.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.577.0",
33
+ "@aws-sdk/util-endpoints": "3.583.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.577.0",
36
36
  "@smithy/config-resolver": "^3.0.0",