@aws-sdk/client-glue 3.48.0 → 3.52.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/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-glue
20
+
21
+
22
+
23
+
24
+
25
+ # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** update clients as of 02/04/2022 ([#3280](https://github.com/aws/aws-sdk-js-v3/issues/3280)) ([63d7f8c](https://github.com/aws/aws-sdk-js-v3/commit/63d7f8c539e0fd782fa5bf997bd6ac2730e4bfda))
31
+
32
+
33
+
34
+
35
+
36
+ # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
37
+
38
+ **Note:** Version bump only for package @aws-sdk/client-glue
39
+
40
+
41
+
42
+
43
+
6
44
  # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
45
 
8
46
 
@@ -666,6 +666,7 @@ var DataFormat;
666
666
  (function (DataFormat) {
667
667
  DataFormat["AVRO"] = "AVRO";
668
668
  DataFormat["JSON"] = "JSON";
669
+ DataFormat["PROTOBUF"] = "PROTOBUF";
669
670
  })(DataFormat = exports.DataFormat || (exports.DataFormat = {}));
670
671
  var CheckSchemaVersionValidityInput;
671
672
  (function (CheckSchemaVersionValidityInput) {
@@ -3728,6 +3728,14 @@ const deserializeAws_json1_1CreateRegistryCommandError = async (output, context)
3728
3728
  $metadata: deserializeMetadata(output),
3729
3729
  };
3730
3730
  break;
3731
+ case "ConcurrentModificationException":
3732
+ case "com.amazonaws.glue#ConcurrentModificationException":
3733
+ response = {
3734
+ ...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
3735
+ name: errorCode,
3736
+ $metadata: deserializeMetadata(output),
3737
+ };
3738
+ break;
3731
3739
  case "InternalServiceException":
3732
3740
  case "com.amazonaws.glue#InternalServiceException":
3733
3741
  response = {
@@ -3807,6 +3815,14 @@ const deserializeAws_json1_1CreateSchemaCommandError = async (output, context) =
3807
3815
  $metadata: deserializeMetadata(output),
3808
3816
  };
3809
3817
  break;
3818
+ case "ConcurrentModificationException":
3819
+ case "com.amazonaws.glue#ConcurrentModificationException":
3820
+ response = {
3821
+ ...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
3822
+ name: errorCode,
3823
+ $metadata: deserializeMetadata(output),
3824
+ };
3825
+ break;
3810
3826
  case "EntityNotFoundException":
3811
3827
  case "com.amazonaws.glue#EntityNotFoundException":
3812
3828
  response = {
@@ -17747,6 +17763,7 @@ const serializeAws_json1_1UpdateTableRequest = (input, context) => {
17747
17763
  ...(input.TableInput !== undefined &&
17748
17764
  input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) }),
17749
17765
  ...(input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }),
17766
+ ...(input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }),
17750
17767
  };
17751
17768
  };
17752
17769
  const serializeAws_json1_1UpdateTriggerRequest = (input, context) => {
@@ -21141,6 +21158,7 @@ const deserializeAws_json1_1Table = (output, context) => {
21141
21158
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
21142
21159
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
21143
21160
  : undefined,
21161
+ VersionId: smithy_client_1.expectString(output.VersionId),
21144
21162
  ViewExpandedText: smithy_client_1.expectString(output.ViewExpandedText),
21145
21163
  ViewOriginalText: smithy_client_1.expectString(output.ViewOriginalText),
21146
21164
  };
@@ -479,6 +479,7 @@ export var DataFormat;
479
479
  (function (DataFormat) {
480
480
  DataFormat["AVRO"] = "AVRO";
481
481
  DataFormat["JSON"] = "JSON";
482
+ DataFormat["PROTOBUF"] = "PROTOBUF";
482
483
  })(DataFormat || (DataFormat = {}));
483
484
  export var CheckSchemaVersionValidityInput;
484
485
  (function (CheckSchemaVersionValidityInput) {
@@ -4103,16 +4103,16 @@ export var deserializeAws_json1_1CreateRegistryCommand = function (output, conte
4103
4103
  });
4104
4104
  }); };
4105
4105
  var deserializeAws_json1_1CreateRegistryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4106
- var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
4107
- var _h;
4108
- return __generator(this, function (_j) {
4109
- switch (_j.label) {
4106
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
4107
+ var _j;
4108
+ return __generator(this, function (_k) {
4109
+ switch (_k.label) {
4110
4110
  case 0:
4111
4111
  _a = [__assign({}, output)];
4112
- _h = {};
4112
+ _j = {};
4113
4113
  return [4, parseBody(output.body, context)];
4114
4114
  case 1:
4115
- parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
4115
+ parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
4116
4116
  errorCode = "UnknownError";
4117
4117
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4118
4118
  _b = errorCode;
@@ -4121,50 +4121,58 @@ var deserializeAws_json1_1CreateRegistryCommandError = function (output, context
4121
4121
  case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
4122
4122
  case "AlreadyExistsException": return [3, 4];
4123
4123
  case "com.amazonaws.glue#AlreadyExistsException": return [3, 4];
4124
- case "InternalServiceException": return [3, 6];
4125
- case "com.amazonaws.glue#InternalServiceException": return [3, 6];
4126
- case "InvalidInputException": return [3, 8];
4127
- case "com.amazonaws.glue#InvalidInputException": return [3, 8];
4128
- case "ResourceNumberLimitExceededException": return [3, 10];
4129
- case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 10];
4124
+ case "ConcurrentModificationException": return [3, 6];
4125
+ case "com.amazonaws.glue#ConcurrentModificationException": return [3, 6];
4126
+ case "InternalServiceException": return [3, 8];
4127
+ case "com.amazonaws.glue#InternalServiceException": return [3, 8];
4128
+ case "InvalidInputException": return [3, 10];
4129
+ case "com.amazonaws.glue#InvalidInputException": return [3, 10];
4130
+ case "ResourceNumberLimitExceededException": return [3, 12];
4131
+ case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 12];
4130
4132
  }
4131
- return [3, 12];
4133
+ return [3, 14];
4132
4134
  case 2:
4133
4135
  _c = [{}];
4134
4136
  return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
4135
4137
  case 3:
4136
- response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4137
- return [3, 13];
4138
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4139
+ return [3, 15];
4138
4140
  case 4:
4139
4141
  _d = [{}];
4140
4142
  return [4, deserializeAws_json1_1AlreadyExistsExceptionResponse(parsedOutput, context)];
4141
4143
  case 5:
4142
- response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4143
- return [3, 13];
4144
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4145
+ return [3, 15];
4144
4146
  case 6:
4145
4147
  _e = [{}];
4146
- return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
4148
+ return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
4147
4149
  case 7:
4148
- response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4149
- return [3, 13];
4150
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4151
+ return [3, 15];
4150
4152
  case 8:
4151
4153
  _f = [{}];
4152
- return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
4154
+ return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
4153
4155
  case 9:
4154
- response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4155
- return [3, 13];
4156
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4157
+ return [3, 15];
4156
4158
  case 10:
4157
4159
  _g = [{}];
4158
- return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
4160
+ return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
4159
4161
  case 11:
4160
- response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4161
- return [3, 13];
4162
+ response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4163
+ return [3, 15];
4162
4164
  case 12:
4165
+ _h = [{}];
4166
+ return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
4167
+ case 13:
4168
+ response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4169
+ return [3, 15];
4170
+ case 14:
4163
4171
  parsedBody = parsedOutput.body;
4164
4172
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
4165
4173
  response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
4166
- _j.label = 13;
4167
- case 13:
4174
+ _k.label = 15;
4175
+ case 15:
4168
4176
  message = response.message || response.Message || errorCode;
4169
4177
  response.message = message;
4170
4178
  delete response.Message;
@@ -4191,16 +4199,16 @@ export var deserializeAws_json1_1CreateSchemaCommand = function (output, context
4191
4199
  });
4192
4200
  }); };
4193
4201
  var deserializeAws_json1_1CreateSchemaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4194
- var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
4195
- var _j;
4196
- return __generator(this, function (_k) {
4197
- switch (_k.label) {
4202
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, parsedBody, message;
4203
+ var _k;
4204
+ return __generator(this, function (_l) {
4205
+ switch (_l.label) {
4198
4206
  case 0:
4199
4207
  _a = [__assign({}, output)];
4200
- _j = {};
4208
+ _k = {};
4201
4209
  return [4, parseBody(output.body, context)];
4202
4210
  case 1:
4203
- parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
4211
+ parsedOutput = __assign.apply(void 0, _a.concat([(_k.body = _l.sent(), _k)]));
4204
4212
  errorCode = "UnknownError";
4205
4213
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4206
4214
  _b = errorCode;
@@ -4209,58 +4217,66 @@ var deserializeAws_json1_1CreateSchemaCommandError = function (output, context)
4209
4217
  case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
4210
4218
  case "AlreadyExistsException": return [3, 4];
4211
4219
  case "com.amazonaws.glue#AlreadyExistsException": return [3, 4];
4212
- case "EntityNotFoundException": return [3, 6];
4213
- case "com.amazonaws.glue#EntityNotFoundException": return [3, 6];
4214
- case "InternalServiceException": return [3, 8];
4215
- case "com.amazonaws.glue#InternalServiceException": return [3, 8];
4216
- case "InvalidInputException": return [3, 10];
4217
- case "com.amazonaws.glue#InvalidInputException": return [3, 10];
4218
- case "ResourceNumberLimitExceededException": return [3, 12];
4219
- case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 12];
4220
+ case "ConcurrentModificationException": return [3, 6];
4221
+ case "com.amazonaws.glue#ConcurrentModificationException": return [3, 6];
4222
+ case "EntityNotFoundException": return [3, 8];
4223
+ case "com.amazonaws.glue#EntityNotFoundException": return [3, 8];
4224
+ case "InternalServiceException": return [3, 10];
4225
+ case "com.amazonaws.glue#InternalServiceException": return [3, 10];
4226
+ case "InvalidInputException": return [3, 12];
4227
+ case "com.amazonaws.glue#InvalidInputException": return [3, 12];
4228
+ case "ResourceNumberLimitExceededException": return [3, 14];
4229
+ case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 14];
4220
4230
  }
4221
- return [3, 14];
4231
+ return [3, 16];
4222
4232
  case 2:
4223
4233
  _c = [{}];
4224
4234
  return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
4225
4235
  case 3:
4226
- response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4227
- return [3, 15];
4236
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4237
+ return [3, 17];
4228
4238
  case 4:
4229
4239
  _d = [{}];
4230
4240
  return [4, deserializeAws_json1_1AlreadyExistsExceptionResponse(parsedOutput, context)];
4231
4241
  case 5:
4232
- response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4233
- return [3, 15];
4242
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4243
+ return [3, 17];
4234
4244
  case 6:
4235
4245
  _e = [{}];
4236
- return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
4246
+ return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
4237
4247
  case 7:
4238
- response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4239
- return [3, 15];
4248
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4249
+ return [3, 17];
4240
4250
  case 8:
4241
4251
  _f = [{}];
4242
- return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
4252
+ return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
4243
4253
  case 9:
4244
- response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4245
- return [3, 15];
4254
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4255
+ return [3, 17];
4246
4256
  case 10:
4247
4257
  _g = [{}];
4248
- return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
4258
+ return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
4249
4259
  case 11:
4250
- response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4251
- return [3, 15];
4260
+ response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4261
+ return [3, 17];
4252
4262
  case 12:
4253
4263
  _h = [{}];
4254
- return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
4264
+ return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
4255
4265
  case 13:
4256
- response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4257
- return [3, 15];
4266
+ response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4267
+ return [3, 17];
4258
4268
  case 14:
4269
+ _j = [{}];
4270
+ return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
4271
+ case 15:
4272
+ response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4273
+ return [3, 17];
4274
+ case 16:
4259
4275
  parsedBody = parsedOutput.body;
4260
4276
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
4261
4277
  response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
4262
- _k.label = 15;
4263
- case 15:
4278
+ _l.label = 17;
4279
+ case 17:
4264
4280
  message = response.message || response.Message || errorCode;
4265
4281
  response.message = message;
4266
4282
  delete response.Message;
@@ -18229,8 +18245,8 @@ var serializeAws_json1_1UpdateSchemaInput = function (input, context) {
18229
18245
  }));
18230
18246
  };
18231
18247
  var serializeAws_json1_1UpdateTableRequest = function (input, context) {
18232
- return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.SkipArchive !== undefined && input.SkipArchive !== null && { SkipArchive: input.SkipArchive })), (input.TableInput !== undefined &&
18233
- input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
18248
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.SkipArchive !== undefined && input.SkipArchive !== null && { SkipArchive: input.SkipArchive })), (input.TableInput !== undefined &&
18249
+ input.TableInput !== null && { TableInput: serializeAws_json1_1TableInput(input.TableInput, context) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId })), (input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }));
18234
18250
  };
18235
18251
  var serializeAws_json1_1UpdateTriggerRequest = function (input, context) {
18236
18252
  return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.TriggerUpdate !== undefined &&
@@ -21593,6 +21609,7 @@ var deserializeAws_json1_1Table = function (output, context) {
21593
21609
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
21594
21610
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateTime)))
21595
21611
  : undefined,
21612
+ VersionId: __expectString(output.VersionId),
21596
21613
  ViewExpandedText: __expectString(output.ViewExpandedText),
21597
21614
  ViewOriginalText: __expectString(output.ViewOriginalText),
21598
21615
  };
@@ -2841,11 +2841,12 @@ export declare namespace CancelMLTaskRunResponse {
2841
2841
  }
2842
2842
  export declare enum DataFormat {
2843
2843
  AVRO = "AVRO",
2844
- JSON = "JSON"
2844
+ JSON = "JSON",
2845
+ PROTOBUF = "PROTOBUF"
2845
2846
  }
2846
2847
  export interface CheckSchemaVersionValidityInput {
2847
2848
  /**
2848
- * <p>The data format of the schema definition. Currently <code>AVRO</code> and <code>JSON</code> are supported.</p>
2849
+ * <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
2849
2850
  */
2850
2851
  DataFormat: DataFormat | string | undefined;
2851
2852
  /**
@@ -4316,7 +4317,7 @@ export interface CreateSchemaInput {
4316
4317
  */
4317
4318
  SchemaName: string | undefined;
4318
4319
  /**
4319
- * <p>The data format of the schema definition. Currently <code>AVRO</code> and <code>JSON</code> are supported.</p>
4320
+ * <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
4320
4321
  */
4321
4322
  DataFormat: DataFormat | string | undefined;
4322
4323
  /**
@@ -4412,7 +4413,7 @@ export interface CreateSchemaResponse {
4412
4413
  */
4413
4414
  Description?: string;
4414
4415
  /**
4415
- * <p>The data format of the schema definition. Currently <code>AVRO</code> and <code>JSON</code> are supported.</p>
4416
+ * <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
4416
4417
  */
4417
4418
  DataFormat?: DataFormat | string;
4418
4419
  /**
@@ -2172,7 +2172,7 @@ export interface GetSchemaResponse {
2172
2172
  */
2173
2173
  Description?: string;
2174
2174
  /**
2175
- * <p>The data format of the schema definition. Currently <code>AVRO</code> and <code>JSON</code> are supported.</p>
2175
+ * <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
2176
2176
  */
2177
2177
  DataFormat?: DataFormat | string;
2178
2178
  /**
@@ -2244,7 +2244,7 @@ export interface GetSchemaByDefinitionResponse {
2244
2244
  */
2245
2245
  SchemaArn?: string;
2246
2246
  /**
2247
- * <p>The data format of the schema definition. Currently only <code>AVRO</code> and <code>JSON</code> are supported.</p>
2247
+ * <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
2248
2248
  */
2249
2249
  DataFormat?: DataFormat | string;
2250
2250
  /**
@@ -2319,7 +2319,7 @@ export interface GetSchemaVersionResponse {
2319
2319
  */
2320
2320
  SchemaDefinition?: string;
2321
2321
  /**
2322
- * <p>The data format of the schema definition. Currently <code>AVRO</code> and <code>JSON</code> are supported.</p>
2322
+ * <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
2323
2323
  */
2324
2324
  DataFormat?: DataFormat | string;
2325
2325
  /**
@@ -2596,6 +2596,7 @@ export interface Table {
2596
2596
  * <p>The ID of the Data Catalog in which the table resides.</p>
2597
2597
  */
2598
2598
  CatalogId?: string;
2599
+ VersionId?: string;
2599
2600
  }
2600
2601
  export declare namespace Table {
2601
2602
  /**
@@ -5873,6 +5874,7 @@ export interface UpdateTableRequest {
5873
5874
  * <p>The transaction ID at which to update the table contents. </p>
5874
5875
  */
5875
5876
  TransactionId?: string;
5877
+ VersionId?: string;
5876
5878
  }
5877
5879
  export declare namespace UpdateTableRequest {
5878
5880
  /**
@@ -1504,7 +1504,8 @@ export declare namespace CancelMLTaskRunResponse {
1504
1504
  }
1505
1505
  export declare enum DataFormat {
1506
1506
  AVRO = "AVRO",
1507
- JSON = "JSON"
1507
+ JSON = "JSON",
1508
+ PROTOBUF = "PROTOBUF"
1508
1509
  }
1509
1510
  export interface CheckSchemaVersionValidityInput {
1510
1511
 
@@ -1311,6 +1311,7 @@ export interface Table {
1311
1311
  TargetTable?: TableIdentifier;
1312
1312
 
1313
1313
  CatalogId?: string;
1314
+ VersionId?: string;
1314
1315
  }
1315
1316
  export declare namespace Table {
1316
1317
 
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.48.0",
4
+ "version": "3.52.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.48.0",
22
- "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.48.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.2",
25
- "@aws-sdk/hash-node": "3.47.2",
26
- "@aws-sdk/invalid-dependency": "3.47.2",
27
- "@aws-sdk/middleware-content-length": "3.47.2",
28
- "@aws-sdk/middleware-host-header": "3.47.2",
29
- "@aws-sdk/middleware-logger": "3.47.2",
30
- "@aws-sdk/middleware-retry": "3.47.2",
31
- "@aws-sdk/middleware-serde": "3.47.2",
32
- "@aws-sdk/middleware-signing": "3.47.2",
33
- "@aws-sdk/middleware-stack": "3.47.2",
34
- "@aws-sdk/middleware-user-agent": "3.47.2",
35
- "@aws-sdk/node-config-provider": "3.47.2",
36
- "@aws-sdk/node-http-handler": "3.47.2",
37
- "@aws-sdk/protocol-http": "3.47.2",
38
- "@aws-sdk/smithy-client": "3.47.2",
39
- "@aws-sdk/types": "3.47.1",
40
- "@aws-sdk/url-parser": "3.47.2",
41
- "@aws-sdk/util-base64-browser": "3.47.1",
42
- "@aws-sdk/util-base64-node": "3.47.2",
43
- "@aws-sdk/util-body-length-browser": "3.47.1",
44
- "@aws-sdk/util-body-length-node": "3.47.1",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
- "@aws-sdk/util-user-agent-browser": "3.47.2",
48
- "@aws-sdk/util-user-agent-node": "3.47.2",
49
- "@aws-sdk/util-utf8-browser": "3.47.1",
50
- "@aws-sdk/util-utf8-node": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"