@aws-sdk/client-glue 3.398.0 → 3.399.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.
@@ -12722,18 +12722,24 @@ const de_SecurityConfigurationList = (output, context) => {
12722
12722
  const de_Session = (output, context) => {
12723
12723
  return (0, smithy_client_1.take)(output, {
12724
12724
  Command: smithy_client_1._json,
12725
+ CompletedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
12725
12726
  Connections: smithy_client_1._json,
12726
12727
  CreatedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
12728
+ DPUSeconds: smithy_client_1.limitedParseDouble,
12727
12729
  DefaultArguments: smithy_client_1._json,
12728
12730
  Description: smithy_client_1.expectString,
12729
12731
  ErrorMessage: smithy_client_1.expectString,
12732
+ ExecutionTime: smithy_client_1.limitedParseDouble,
12730
12733
  GlueVersion: smithy_client_1.expectString,
12731
12734
  Id: smithy_client_1.expectString,
12735
+ IdleTimeout: smithy_client_1.expectInt32,
12732
12736
  MaxCapacity: smithy_client_1.limitedParseDouble,
12737
+ NumberOfWorkers: smithy_client_1.expectInt32,
12733
12738
  Progress: smithy_client_1.limitedParseDouble,
12734
12739
  Role: smithy_client_1.expectString,
12735
12740
  SecurityConfiguration: smithy_client_1.expectString,
12736
12741
  Status: smithy_client_1.expectString,
12742
+ WorkerType: smithy_client_1.expectString,
12737
12743
  });
12738
12744
  };
12739
12745
  const de_SessionList = (output, context) => {
@@ -12307,18 +12307,24 @@ const de_SecurityConfigurationList = (output, context) => {
12307
12307
  const de_Session = (output, context) => {
12308
12308
  return take(output, {
12309
12309
  Command: _json,
12310
+ CompletedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
12310
12311
  Connections: _json,
12311
12312
  CreatedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
12313
+ DPUSeconds: __limitedParseDouble,
12312
12314
  DefaultArguments: _json,
12313
12315
  Description: __expectString,
12314
12316
  ErrorMessage: __expectString,
12317
+ ExecutionTime: __limitedParseDouble,
12315
12318
  GlueVersion: __expectString,
12316
12319
  Id: __expectString,
12320
+ IdleTimeout: __expectInt32,
12317
12321
  MaxCapacity: __limitedParseDouble,
12322
+ NumberOfWorkers: __expectInt32,
12318
12323
  Progress: __limitedParseDouble,
12319
12324
  Role: __expectString,
12320
12325
  SecurityConfiguration: __expectString,
12321
12326
  Status: __expectString,
12327
+ WorkerType: __expectString,
12322
12328
  });
12323
12329
  };
12324
12330
  const de_SessionList = (output, context) => {
@@ -84,6 +84,12 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
84
84
  * // MaxCapacity: Number("double"),
85
85
  * // SecurityConfiguration: "STRING_VALUE",
86
86
  * // GlueVersion: "STRING_VALUE",
87
+ * // NumberOfWorkers: Number("int"),
88
+ * // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
89
+ * // CompletedOn: new Date("TIMESTAMP"),
90
+ * // ExecutionTime: Number("double"),
91
+ * // DPUSeconds: Number("double"),
92
+ * // IdleTimeout: Number("int"),
87
93
  * // },
88
94
  * // };
89
95
  *
@@ -60,6 +60,12 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
60
60
  * // MaxCapacity: Number("double"),
61
61
  * // SecurityConfiguration: "STRING_VALUE",
62
62
  * // GlueVersion: "STRING_VALUE",
63
+ * // NumberOfWorkers: Number("int"),
64
+ * // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
65
+ * // CompletedOn: new Date("TIMESTAMP"),
66
+ * // ExecutionTime: Number("double"),
67
+ * // DPUSeconds: Number("double"),
68
+ * // IdleTimeout: Number("int"),
63
69
  * // },
64
70
  * // };
65
71
  *
@@ -68,6 +68,12 @@ export interface ListSessionsCommandOutput extends ListSessionsResponse, __Metad
68
68
  * // MaxCapacity: Number("double"),
69
69
  * // SecurityConfiguration: "STRING_VALUE",
70
70
  * // GlueVersion: "STRING_VALUE",
71
+ * // NumberOfWorkers: Number("int"),
72
+ * // WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
73
+ * // CompletedOn: new Date("TIMESTAMP"),
74
+ * // ExecutionTime: Number("double"),
75
+ * // DPUSeconds: Number("double"),
76
+ * // IdleTimeout: Number("int"),
71
77
  * // },
72
78
  * // ],
73
79
  * // NextToken: "STRING_VALUE",
@@ -1088,6 +1088,36 @@ export interface Session {
1088
1088
  * The GlueVersion must be greater than 2.0.</p>
1089
1089
  */
1090
1090
  GlueVersion?: string;
1091
+ /**
1092
+ * @public
1093
+ * <p>The number of workers of a defined <code>WorkerType</code> to use for the session.</p>
1094
+ */
1095
+ NumberOfWorkers?: number;
1096
+ /**
1097
+ * @public
1098
+ * <p>The type of predefined worker that is allocated when a session runs. Accepts a value of <code>G.1X</code>, <code>G.2X</code>, <code>G.4X</code>, or <code>G.8X</code> for Spark sessions. Accepts the value <code>Z.2X</code> for Ray sessions.</p>
1099
+ */
1100
+ WorkerType?: WorkerType | string;
1101
+ /**
1102
+ * @public
1103
+ * <p>The date and time that this session is completed.</p>
1104
+ */
1105
+ CompletedOn?: Date;
1106
+ /**
1107
+ * @public
1108
+ * <p>The total time the session ran for.</p>
1109
+ */
1110
+ ExecutionTime?: number;
1111
+ /**
1112
+ * @public
1113
+ * <p>The DPUs consumed by the session (formula: ExecutionTime * MaxCapacity).</p>
1114
+ */
1115
+ DPUSeconds?: number;
1116
+ /**
1117
+ * @public
1118
+ * <p>The number of minutes when idle before the session times out.</p>
1119
+ */
1120
+ IdleTimeout?: number;
1091
1121
  }
1092
1122
  /**
1093
1123
  * @public
@@ -291,6 +291,12 @@ export interface Session {
291
291
  MaxCapacity?: number;
292
292
  SecurityConfiguration?: string;
293
293
  GlueVersion?: string;
294
+ NumberOfWorkers?: number;
295
+ WorkerType?: WorkerType | string;
296
+ CompletedOn?: Date;
297
+ ExecutionTime?: number;
298
+ DPUSeconds?: number;
299
+ IdleTimeout?: number;
294
300
  }
295
301
  export interface CreateSessionResponse {
296
302
  Session?: Session;
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.398.0",
4
+ "version": "3.399.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",