diff --git a/clients/client-glue/src/commands/BatchGetJobsCommand.ts b/clients/client-glue/src/commands/BatchGetJobsCommand.ts index 8469d92415cc..fee8e629e945 100644 --- a/clients/client-glue/src/commands/BatchGetJobsCommand.ts +++ b/clients/client-glue/src/commands/BatchGetJobsCommand.ts @@ -47,6 +47,7 @@ export interface BatchGetJobsCommandOutput extends BatchGetJobsResponse, __Metad * // Jobs: [ // JobList * // { // Job * // Name: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // Description: "STRING_VALUE", * // LogUri: "STRING_VALUE", * // Role: "STRING_VALUE", diff --git a/clients/client-glue/src/commands/BatchGetWorkflowsCommand.ts b/clients/client-glue/src/commands/BatchGetWorkflowsCommand.ts index 6a42eff5a291..d931f49856c3 100644 --- a/clients/client-glue/src/commands/BatchGetWorkflowsCommand.ts +++ b/clients/client-glue/src/commands/BatchGetWorkflowsCommand.ts @@ -128,6 +128,7 @@ export interface BatchGetWorkflowsCommandOutput extends BatchGetWorkflowsRespons * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), @@ -241,6 +242,7 @@ export interface BatchGetWorkflowsCommandOutput extends BatchGetWorkflowsRespons * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/CreateCustomEntityTypeCommand.ts b/clients/client-glue/src/commands/CreateCustomEntityTypeCommand.ts index ea67d80839e8..a2e201ab7d96 100644 --- a/clients/client-glue/src/commands/CreateCustomEntityTypeCommand.ts +++ b/clients/client-glue/src/commands/CreateCustomEntityTypeCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { CreateCustomEntityTypeRequest } from "../models/models_0"; -import { CreateCustomEntityTypeResponse } from "../models/models_1"; +import { CreateCustomEntityTypeRequest, CreateCustomEntityTypeResponse } from "../models/models_1"; import { de_CreateCustomEntityTypeCommand, se_CreateCustomEntityTypeCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/CreateJobCommand.ts b/clients/client-glue/src/commands/CreateJobCommand.ts index 3e902b8a4233..e4e06bfbc000 100644 --- a/clients/client-glue/src/commands/CreateJobCommand.ts +++ b/clients/client-glue/src/commands/CreateJobCommand.ts @@ -37,6 +37,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea * const client = new GlueClient(config); * const input = { // CreateJobRequest * Name: "STRING_VALUE", // required + * JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * Description: "STRING_VALUE", * LogUri: "STRING_VALUE", * Role: "STRING_VALUE", // required diff --git a/clients/client-glue/src/commands/GetJobCommand.ts b/clients/client-glue/src/commands/GetJobCommand.ts index 6d468a91b510..5ac8e1df6d3f 100644 --- a/clients/client-glue/src/commands/GetJobCommand.ts +++ b/clients/client-glue/src/commands/GetJobCommand.ts @@ -43,6 +43,7 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {} * // { // GetJobResponse * // Job: { // Job * // Name: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // Description: "STRING_VALUE", * // LogUri: "STRING_VALUE", * // Role: "STRING_VALUE", diff --git a/clients/client-glue/src/commands/GetJobRunCommand.ts b/clients/client-glue/src/commands/GetJobRunCommand.ts index 5828422299d1..615be1a2a473 100644 --- a/clients/client-glue/src/commands/GetJobRunCommand.ts +++ b/clients/client-glue/src/commands/GetJobRunCommand.ts @@ -48,6 +48,7 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/GetJobRunsCommand.ts b/clients/client-glue/src/commands/GetJobRunsCommand.ts index 214e8ceb292d..f17160c3a98a 100644 --- a/clients/client-glue/src/commands/GetJobRunsCommand.ts +++ b/clients/client-glue/src/commands/GetJobRunsCommand.ts @@ -49,6 +49,7 @@ export interface GetJobRunsCommandOutput extends GetJobRunsResponse, __MetadataB * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/GetJobsCommand.ts b/clients/client-glue/src/commands/GetJobsCommand.ts index 211863a1d592..79659d57964f 100644 --- a/clients/client-glue/src/commands/GetJobsCommand.ts +++ b/clients/client-glue/src/commands/GetJobsCommand.ts @@ -45,6 +45,7 @@ export interface GetJobsCommandOutput extends GetJobsResponse, __MetadataBearer * // Jobs: [ // JobList * // { // Job * // Name: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // Description: "STRING_VALUE", * // LogUri: "STRING_VALUE", * // Role: "STRING_VALUE", diff --git a/clients/client-glue/src/commands/GetSecurityConfigurationsCommand.ts b/clients/client-glue/src/commands/GetSecurityConfigurationsCommand.ts index 8652e00f2789..6cf2370a8323 100644 --- a/clients/client-glue/src/commands/GetSecurityConfigurationsCommand.ts +++ b/clients/client-glue/src/commands/GetSecurityConfigurationsCommand.ts @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; -import { GetSecurityConfigurationsRequest } from "../models/models_1"; -import { GetSecurityConfigurationsResponse } from "../models/models_2"; +import { GetSecurityConfigurationsRequest, GetSecurityConfigurationsResponse } from "../models/models_2"; import { de_GetSecurityConfigurationsCommand, se_GetSecurityConfigurationsCommand } from "../protocols/Aws_json1_1"; /** diff --git a/clients/client-glue/src/commands/GetWorkflowCommand.ts b/clients/client-glue/src/commands/GetWorkflowCommand.ts index 63329ca63218..f2c0b5612fdb 100644 --- a/clients/client-glue/src/commands/GetWorkflowCommand.ts +++ b/clients/client-glue/src/commands/GetWorkflowCommand.ts @@ -125,6 +125,7 @@ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __Metadat * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), @@ -238,6 +239,7 @@ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __Metadat * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/GetWorkflowRunCommand.ts b/clients/client-glue/src/commands/GetWorkflowRunCommand.ts index 94c9704a399a..b5e35a533d3f 100644 --- a/clients/client-glue/src/commands/GetWorkflowRunCommand.ts +++ b/clients/client-glue/src/commands/GetWorkflowRunCommand.ts @@ -118,6 +118,7 @@ export interface GetWorkflowRunCommandOutput extends GetWorkflowRunResponse, __M * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/GetWorkflowRunsCommand.ts b/clients/client-glue/src/commands/GetWorkflowRunsCommand.ts index 751870c5c8d4..0828266408b2 100644 --- a/clients/client-glue/src/commands/GetWorkflowRunsCommand.ts +++ b/clients/client-glue/src/commands/GetWorkflowRunsCommand.ts @@ -120,6 +120,7 @@ export interface GetWorkflowRunsCommandOutput extends GetWorkflowRunsResponse, _ * // PreviousRunId: "STRING_VALUE", * // TriggerName: "STRING_VALUE", * // JobName: "STRING_VALUE", + * // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * // StartedOn: new Date("TIMESTAMP"), * // LastModifiedOn: new Date("TIMESTAMP"), * // CompletedOn: new Date("TIMESTAMP"), diff --git a/clients/client-glue/src/commands/UpdateJobCommand.ts b/clients/client-glue/src/commands/UpdateJobCommand.ts index 3e55830ee18b..08094b5c6450 100644 --- a/clients/client-glue/src/commands/UpdateJobCommand.ts +++ b/clients/client-glue/src/commands/UpdateJobCommand.ts @@ -37,6 +37,7 @@ export interface UpdateJobCommandOutput extends UpdateJobResponse, __MetadataBea * const input = { // UpdateJobRequest * JobName: "STRING_VALUE", // required * JobUpdate: { // JobUpdate + * JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK", * Description: "STRING_VALUE", * LogUri: "STRING_VALUE", * Role: "STRING_VALUE", diff --git a/clients/client-glue/src/models/models_0.ts b/clients/client-glue/src/models/models_0.ts index 35bcd390385a..a913b911688c 100644 --- a/clients/client-glue/src/models/models_0.ts +++ b/clients/client-glue/src/models/models_0.ts @@ -6788,6 +6788,21 @@ export interface ExecutionProperty { MaxConcurrentRuns?: number; } +/** + * @public + * @enum + */ +export const JobMode = { + NOTEBOOK: "NOTEBOOK", + SCRIPT: "SCRIPT", + VISUAL: "VISUAL", +} as const; + +/** + * @public + */ +export type JobMode = (typeof JobMode)[keyof typeof JobMode]; + /** * @public * @enum @@ -7784,6 +7799,27 @@ export interface JobRun { */ JobName?: string; + /** + *
A mode that describes how a job was created. Valid values are:
+ *
+ * SCRIPT
- The job was created using the Glue Studio script editor.
+ * VISUAL
- The job was created using the Glue Studio visual editor.
+ * NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
The date and time at which this job run was started.
* @public @@ -9309,33 +9345,3 @@ export interface CreateCrawlerRequest { * @public */ export interface CreateCrawlerResponse {} - -/** - * @public - */ -export interface CreateCustomEntityTypeRequest { - /** - *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.
- * @public - */ - Name: string | undefined; - - /** - *A regular expression string that is used for detecting sensitive data in a custom pattern.
- * @public - */ - RegexString: string | undefined; - - /** - *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.
- *If no context words are passed only a regular expression is checked.
- * @public - */ - ContextWords?: string[]; - - /** - *A list of tags applied to the custom entity type.
- * @public - */ - Tags?: RecordA name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
+ * @public + */ + Name: string | undefined; + + /** + *A regular expression string that is used for detecting sensitive data in a custom pattern.
+ * @public + */ + RegexString: string | undefined; + + /** + *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.
+ *If no context words are passed only a regular expression is checked.
+ * @public + */ + ContextWords?: string[]; + + /** + *A list of tags applied to the custom entity type.
+ * @public + */ + Tags?: RecordThe maximum number of results to return.
- * @public - */ - MaxResults?: number; - - /** - *A continuation token, if this is a continuation call.
- * @public - */ - NextToken?: string; -} diff --git a/clients/client-glue/src/models/models_2.ts b/clients/client-glue/src/models/models_2.ts index ae1c1011984d..012a7da53163 100644 --- a/clients/client-glue/src/models/models_2.ts +++ b/clients/client-glue/src/models/models_2.ts @@ -48,6 +48,7 @@ import { JDBCConnectorSource, JDBCConnectorTarget, JobCommand, + JobMode, Join, LakeFormationConfiguration, LineageConfiguration, @@ -141,6 +142,23 @@ import { UserDefinedFunctionInput, } from "./models_1"; +/** + * @public + */ +export interface GetSecurityConfigurationsRequest { + /** + *The maximum number of results to return.
+ * @public + */ + MaxResults?: number; + + /** + *A continuation token, if this is a continuation call.
+ * @public + */ + NextToken?: string; +} + /** * @public */ @@ -6953,6 +6971,27 @@ export interface CreateJobRequest { */ Name: string | undefined; + /** + *A mode that describes how a job was created. Valid values are:
+ *
+ * SCRIPT
- The job was created using the Glue Studio script editor.
+ * VISUAL
- The job was created using the Glue Studio visual editor.
+ * NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
Description of the job being defined.
* @public @@ -7174,6 +7213,27 @@ export interface Job { */ Name?: string; + /** + *A mode that describes how a job was created. Valid values are:
+ *
+ * SCRIPT
- The job was created using the Glue Studio script editor.
+ * VISUAL
- The job was created using the Glue Studio visual editor.
+ * NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
A description of the job.
* @public @@ -7397,6 +7457,27 @@ export interface Job { * @public */ export interface JobUpdate { + /** + *A mode that describes how a job was created. Valid values are:
+ *
+ * SCRIPT
- The job was created using the Glue Studio script editor.
+ * VISUAL
- The job was created using the Glue Studio visual editor.
+ * NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
Description of the job being defined.
* @public diff --git a/clients/client-glue/src/protocols/Aws_json1_1.ts b/clients/client-glue/src/protocols/Aws_json1_1.ts index 3c70ef316c65..b1f7ae4fa53d 100644 --- a/clients/client-glue/src/protocols/Aws_json1_1.ts +++ b/clients/client-glue/src/protocols/Aws_json1_1.ts @@ -558,7 +558,6 @@ import { CreateConnectionRequest, CreateCrawlerRequest, CreateCsvClassifierRequest, - CreateCustomEntityTypeRequest, CreateGrokClassifierRequest, CreateJsonClassifierRequest, CreateXMLClassifierRequest, @@ -727,6 +726,7 @@ import { ConnectionPasswordEncryption, CrawlerMetrics, CrawlerRunningException, + CreateCustomEntityTypeRequest, CreateDatabaseRequest, CreateDataQualityRulesetRequest, CreateDevEndpointRequest, @@ -874,7 +874,6 @@ import { GetSchemaVersionsDiffInput, GetSecurityConfigurationRequest, GetSecurityConfigurationResponse, - GetSecurityConfigurationsRequest, GluePolicy, GrokClassifier, IcebergInput, @@ -939,6 +938,7 @@ import { DevEndpointCustomLibraries, GetJobResponse, GetJobsResponse, + GetSecurityConfigurationsRequest, GetSecurityConfigurationsResponse, GetSessionRequest, GetSessionResponse, @@ -9243,6 +9243,7 @@ const se_CreateJobRequest = (input: CreateJobRequest, context: __SerdeContext): ExecutionClass: [], ExecutionProperty: _json, GlueVersion: [], + JobMode: [], LogUri: [], MaintenanceWindow: [], MaxCapacity: __serializeFloat, @@ -9986,6 +9987,7 @@ const se_JobUpdate = (input: JobUpdate, context: __SerdeContext): any => { ExecutionClass: [], ExecutionProperty: _json, GlueVersion: [], + JobMode: [], LogUri: [], MaintenanceWindow: [], MaxCapacity: __serializeFloat, @@ -13169,6 +13171,7 @@ const de_Job = (output: any, context: __SerdeContext): Job => { ExecutionClass: __expectString, ExecutionProperty: _json, GlueVersion: __expectString, + JobMode: __expectString, LastModifiedOn: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), LogUri: __expectString, MaintenanceWindow: __expectString, @@ -13230,6 +13233,7 @@ const de_JobRun = (output: any, context: __SerdeContext): JobRun => { ExecutionTime: __expectInt32, GlueVersion: __expectString, Id: __expectString, + JobMode: __expectString, JobName: __expectString, JobRunState: __expectString, LastModifiedOn: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index e91698c544e0..c0c8ee76f673 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -8643,6 +8643,12 @@ "smithy.api#required": {} } }, + "JobMode": { + "target": "com.amazonaws.glue#JobMode", + "traits": { + "smithy.api#documentation": "A mode that describes how a job was created. Valid values are:
\n\n SCRIPT
- The job was created using the Glue Studio script editor.
\n VISUAL
- The job was created using the Glue Studio visual editor.
\n NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
The name you assign to this job definition.
" } }, + "JobMode": { + "target": "com.amazonaws.glue#JobMode", + "traits": { + "smithy.api#documentation": "A mode that describes how a job was created. Valid values are:
\n\n SCRIPT
- The job was created using the Glue Studio script editor.
\n VISUAL
- The job was created using the Glue Studio visual editor.
\n NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
The name of the job definition being used in this run.
" } }, + "JobMode": { + "target": "com.amazonaws.glue#JobMode", + "traits": { + "smithy.api#documentation": "A mode that describes how a job was created. Valid values are:
\n\n SCRIPT
- The job was created using the Glue Studio script editor.
\n VISUAL
- The job was created using the Glue Studio visual editor.
\n NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.
A mode that describes how a job was created. Valid values are:
\n\n SCRIPT
- The job was created using the Glue Studio script editor.
\n VISUAL
- The job was created using the Glue Studio visual editor.
\n NOTEBOOK
- The job was created using an interactive sessions notebook.
When the JobMode
field is missing or null, SCRIPT
is assigned as the default value.