Skip to content

Commit 52dd4ea

Browse files
author
awstools
committed
feat(client-glue): Add optional field JobMode to CreateJob and UpdateJob APIs.
1 parent 3ac165f commit 52dd4ea

18 files changed

+215
-53
lines changed

clients/client-glue/src/commands/BatchGetJobsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export interface BatchGetJobsCommandOutput extends BatchGetJobsResponse, __Metad
4747
* // Jobs: [ // JobList
4848
* // { // Job
4949
* // Name: "STRING_VALUE",
50+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
5051
* // Description: "STRING_VALUE",
5152
* // LogUri: "STRING_VALUE",
5253
* // Role: "STRING_VALUE",

clients/client-glue/src/commands/BatchGetWorkflowsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export interface BatchGetWorkflowsCommandOutput extends BatchGetWorkflowsRespons
128128
* // PreviousRunId: "STRING_VALUE",
129129
* // TriggerName: "STRING_VALUE",
130130
* // JobName: "STRING_VALUE",
131+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
131132
* // StartedOn: new Date("TIMESTAMP"),
132133
* // LastModifiedOn: new Date("TIMESTAMP"),
133134
* // CompletedOn: new Date("TIMESTAMP"),
@@ -241,6 +242,7 @@ export interface BatchGetWorkflowsCommandOutput extends BatchGetWorkflowsRespons
241242
* // PreviousRunId: "STRING_VALUE",
242243
* // TriggerName: "STRING_VALUE",
243244
* // JobName: "STRING_VALUE",
245+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
244246
* // StartedOn: new Date("TIMESTAMP"),
245247
* // LastModifiedOn: new Date("TIMESTAMP"),
246248
* // CompletedOn: new Date("TIMESTAMP"),

clients/client-glue/src/commands/CreateCustomEntityTypeCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { CreateCustomEntityTypeRequest } from "../models/models_0";
10-
import { CreateCustomEntityTypeResponse } from "../models/models_1";
9+
import { CreateCustomEntityTypeRequest, CreateCustomEntityTypeResponse } from "../models/models_1";
1110
import { de_CreateCustomEntityTypeCommand, se_CreateCustomEntityTypeCommand } from "../protocols/Aws_json1_1";
1211

1312
/**

clients/client-glue/src/commands/CreateJobCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
3737
* const client = new GlueClient(config);
3838
* const input = { // CreateJobRequest
3939
* Name: "STRING_VALUE", // required
40+
* JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
4041
* Description: "STRING_VALUE",
4142
* LogUri: "STRING_VALUE",
4243
* Role: "STRING_VALUE", // required

clients/client-glue/src/commands/GetJobCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
4343
* // { // GetJobResponse
4444
* // Job: { // Job
4545
* // Name: "STRING_VALUE",
46+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
4647
* // Description: "STRING_VALUE",
4748
* // LogUri: "STRING_VALUE",
4849
* // Role: "STRING_VALUE",

clients/client-glue/src/commands/GetJobRunCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea
4848
* // PreviousRunId: "STRING_VALUE",
4949
* // TriggerName: "STRING_VALUE",
5050
* // JobName: "STRING_VALUE",
51+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
5152
* // StartedOn: new Date("TIMESTAMP"),
5253
* // LastModifiedOn: new Date("TIMESTAMP"),
5354
* // CompletedOn: new Date("TIMESTAMP"),

clients/client-glue/src/commands/GetJobRunsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export interface GetJobRunsCommandOutput extends GetJobRunsResponse, __MetadataB
4949
* // PreviousRunId: "STRING_VALUE",
5050
* // TriggerName: "STRING_VALUE",
5151
* // JobName: "STRING_VALUE",
52+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
5253
* // StartedOn: new Date("TIMESTAMP"),
5354
* // LastModifiedOn: new Date("TIMESTAMP"),
5455
* // CompletedOn: new Date("TIMESTAMP"),

clients/client-glue/src/commands/GetJobsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface GetJobsCommandOutput extends GetJobsResponse, __MetadataBearer
4545
* // Jobs: [ // JobList
4646
* // { // Job
4747
* // Name: "STRING_VALUE",
48+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
4849
* // Description: "STRING_VALUE",
4950
* // LogUri: "STRING_VALUE",
5051
* // Role: "STRING_VALUE",

clients/client-glue/src/commands/GetSecurityConfigurationsCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { GetSecurityConfigurationsRequest } from "../models/models_1";
10-
import { GetSecurityConfigurationsResponse } from "../models/models_2";
9+
import { GetSecurityConfigurationsRequest, GetSecurityConfigurationsResponse } from "../models/models_2";
1110
import { de_GetSecurityConfigurationsCommand, se_GetSecurityConfigurationsCommand } from "../protocols/Aws_json1_1";
1211

1312
/**

clients/client-glue/src/commands/GetWorkflowCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __Metadat
125125
* // PreviousRunId: "STRING_VALUE",
126126
* // TriggerName: "STRING_VALUE",
127127
* // JobName: "STRING_VALUE",
128+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
128129
* // StartedOn: new Date("TIMESTAMP"),
129130
* // LastModifiedOn: new Date("TIMESTAMP"),
130131
* // CompletedOn: new Date("TIMESTAMP"),
@@ -238,6 +239,7 @@ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __Metadat
238239
* // PreviousRunId: "STRING_VALUE",
239240
* // TriggerName: "STRING_VALUE",
240241
* // JobName: "STRING_VALUE",
242+
* // JobMode: "SCRIPT" || "VISUAL" || "NOTEBOOK",
241243
* // StartedOn: new Date("TIMESTAMP"),
242244
* // LastModifiedOn: new Date("TIMESTAMP"),
243245
* // CompletedOn: new Date("TIMESTAMP"),

0 commit comments

Comments
 (0)