@aws-sdk/client-glue 3.597.0 → 3.599.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.
Files changed (60) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +260 -0
  3. package/dist-es/Glue.js +10 -0
  4. package/dist-es/commands/CreateUsageProfileCommand.js +24 -0
  5. package/dist-es/commands/DeleteUsageProfileCommand.js +24 -0
  6. package/dist-es/commands/GetUsageProfileCommand.js +24 -0
  7. package/dist-es/commands/ListUsageProfilesCommand.js +24 -0
  8. package/dist-es/commands/UpdateUsageProfileCommand.js +24 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_1.js +13 -0
  11. package/dist-es/pagination/ListUsageProfilesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_json1_1.js +142 -1
  14. package/dist-types/Glue.d.ts +36 -0
  15. package/dist-types/GlueClient.d.ts +7 -2
  16. package/dist-types/commands/BatchGetJobsCommand.d.ts +1 -0
  17. package/dist-types/commands/BatchGetWorkflowsCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateSessionCommand.d.ts +1 -0
  19. package/dist-types/commands/CreateUsageProfileCommand.d.ts +104 -0
  20. package/dist-types/commands/DeleteUsageProfileCommand.d.ts +70 -0
  21. package/dist-types/commands/GetJobCommand.d.ts +1 -0
  22. package/dist-types/commands/GetJobRunCommand.d.ts +2 -1
  23. package/dist-types/commands/GetJobRunsCommand.d.ts +1 -0
  24. package/dist-types/commands/GetJobsCommand.d.ts +1 -0
  25. package/dist-types/commands/GetRegistryCommand.d.ts +1 -1
  26. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  28. package/dist-types/commands/GetSessionCommand.d.ts +1 -0
  29. package/dist-types/commands/GetUsageProfileCommand.d.ts +100 -0
  30. package/dist-types/commands/GetWorkflowCommand.d.ts +2 -0
  31. package/dist-types/commands/GetWorkflowRunCommand.d.ts +2 -1
  32. package/dist-types/commands/GetWorkflowRunsCommand.d.ts +1 -0
  33. package/dist-types/commands/ListSessionsCommand.d.ts +1 -0
  34. package/dist-types/commands/ListUsageProfilesCommand.d.ts +81 -0
  35. package/dist-types/commands/UpdateUsageProfileCommand.d.ts +101 -0
  36. package/dist-types/commands/index.d.ts +5 -0
  37. package/dist-types/models/models_0.d.ts +5 -0
  38. package/dist-types/models/models_1.d.ts +114 -139
  39. package/dist-types/models/models_2.d.ts +271 -1
  40. package/dist-types/pagination/ListUsageProfilesPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  43. package/dist-types/ts3.4/Glue.d.ts +86 -0
  44. package/dist-types/ts3.4/GlueClient.d.ts +30 -0
  45. package/dist-types/ts3.4/commands/CreateUsageProfileCommand.d.ts +40 -0
  46. package/dist-types/ts3.4/commands/DeleteUsageProfileCommand.d.ts +40 -0
  47. package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetUsageProfileCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/ListUsageProfilesCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/UpdateUsageProfileCommand.d.ts +40 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  55. package/dist-types/ts3.4/models/models_1.d.ts +32 -34
  56. package/dist-types/ts3.4/models/models_2.d.ts +68 -0
  57. package/dist-types/ts3.4/pagination/ListUsageProfilesPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  60. package/package.json +37 -37
package/README.md CHANGED
@@ -540,6 +540,14 @@ CreateTrigger
540
540
 
541
541
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/CreateTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateTriggerCommandOutput/)
542
542
 
543
+ </details>
544
+ <details>
545
+ <summary>
546
+ CreateUsageProfile
547
+ </summary>
548
+
549
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/CreateUsageProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateUsageProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/CreateUsageProfileCommandOutput/)
550
+
543
551
  </details>
544
552
  <details>
545
553
  <summary>
@@ -748,6 +756,14 @@ DeleteTrigger
748
756
 
749
757
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/DeleteTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteTriggerCommandOutput/)
750
758
 
759
+ </details>
760
+ <details>
761
+ <summary>
762
+ DeleteUsageProfile
763
+ </summary>
764
+
765
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/DeleteUsageProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteUsageProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/DeleteUsageProfileCommandOutput/)
766
+
751
767
  </details>
752
768
  <details>
753
769
  <summary>
@@ -1260,6 +1276,14 @@ GetUnfilteredTableMetadata
1260
1276
 
1261
1277
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/GetUnfilteredTableMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetUnfilteredTableMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetUnfilteredTableMetadataCommandOutput/)
1262
1278
 
1279
+ </details>
1280
+ <details>
1281
+ <summary>
1282
+ GetUsageProfile
1283
+ </summary>
1284
+
1285
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/GetUsageProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetUsageProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetUsageProfileCommandOutput/)
1286
+
1263
1287
  </details>
1264
1288
  <details>
1265
1289
  <summary>
@@ -1468,6 +1492,14 @@ ListTriggers
1468
1492
 
1469
1493
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/ListTriggersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/ListTriggersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/ListTriggersCommandOutput/)
1470
1494
 
1495
+ </details>
1496
+ <details>
1497
+ <summary>
1498
+ ListUsageProfiles
1499
+ </summary>
1500
+
1501
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/ListUsageProfilesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/ListUsageProfilesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/ListUsageProfilesCommandOutput/)
1502
+
1471
1503
  </details>
1472
1504
  <details>
1473
1505
  <summary>
@@ -1892,6 +1924,14 @@ UpdateTrigger
1892
1924
 
1893
1925
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/UpdateTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateTriggerCommandOutput/)
1894
1926
 
1927
+ </details>
1928
+ <details>
1929
+ <summary>
1930
+ UpdateUsageProfile
1931
+ </summary>
1932
+
1933
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/UpdateUsageProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateUsageProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/UpdateUsageProfileCommandOutput/)
1934
+
1895
1935
  </details>
1896
1936
  <details>
1897
1937
  <summary>
package/dist-cjs/index.js CHANGED
@@ -97,6 +97,7 @@ __export(src_exports, {
97
97
  CreateTableCommand: () => CreateTableCommand,
98
98
  CreateTableOptimizerCommand: () => CreateTableOptimizerCommand,
99
99
  CreateTriggerCommand: () => CreateTriggerCommand,
100
+ CreateUsageProfileCommand: () => CreateUsageProfileCommand,
100
101
  CreateUserDefinedFunctionCommand: () => CreateUserDefinedFunctionCommand,
101
102
  CreateWorkflowCommand: () => CreateWorkflowCommand,
102
103
  CsvHeaderOption: () => CsvHeaderOption,
@@ -131,6 +132,7 @@ __export(src_exports, {
131
132
  DeleteTableOptimizerCommand: () => DeleteTableOptimizerCommand,
132
133
  DeleteTableVersionCommand: () => DeleteTableVersionCommand,
133
134
  DeleteTriggerCommand: () => DeleteTriggerCommand,
135
+ DeleteUsageProfileCommand: () => DeleteUsageProfileCommand,
134
136
  DeleteUserDefinedFunctionCommand: () => DeleteUserDefinedFunctionCommand,
135
137
  DeleteWorkflowCommand: () => DeleteWorkflowCommand,
136
138
  DeltaTargetCompressionType: () => DeltaTargetCompressionType,
@@ -211,6 +213,7 @@ __export(src_exports, {
211
213
  GetUnfilteredPartitionMetadataCommand: () => GetUnfilteredPartitionMetadataCommand,
212
214
  GetUnfilteredPartitionsMetadataCommand: () => GetUnfilteredPartitionsMetadataCommand,
213
215
  GetUnfilteredTableMetadataCommand: () => GetUnfilteredTableMetadataCommand,
216
+ GetUsageProfileCommand: () => GetUsageProfileCommand,
214
217
  GetUserDefinedFunctionCommand: () => GetUserDefinedFunctionCommand,
215
218
  GetUserDefinedFunctionsCommand: () => GetUserDefinedFunctionsCommand,
216
219
  GetWorkflowCommand: () => GetWorkflowCommand,
@@ -261,6 +264,7 @@ __export(src_exports, {
261
264
  ListStatementsCommand: () => ListStatementsCommand,
262
265
  ListTableOptimizerRunsCommand: () => ListTableOptimizerRunsCommand,
263
266
  ListTriggersCommand: () => ListTriggersCommand,
267
+ ListUsageProfilesCommand: () => ListUsageProfilesCommand,
264
268
  ListWorkflowsCommand: () => ListWorkflowsCommand,
265
269
  Logical: () => Logical,
266
270
  LogicalOperator: () => LogicalOperator,
@@ -270,6 +274,7 @@ __export(src_exports, {
270
274
  NoScheduleException: () => NoScheduleException,
271
275
  NodeType: () => NodeType,
272
276
  OAuth2GrantType: () => OAuth2GrantType,
277
+ OperationNotSupportedException: () => OperationNotSupportedException,
273
278
  OperationTimeoutException: () => OperationTimeoutException,
274
279
  ParamType: () => ParamType,
275
280
  ParquetCompressionType: () => ParquetCompressionType,
@@ -369,6 +374,7 @@ __export(src_exports, {
369
374
  UpdateTableCommand: () => UpdateTableCommand,
370
375
  UpdateTableOptimizerCommand: () => UpdateTableOptimizerCommand,
371
376
  UpdateTriggerCommand: () => UpdateTriggerCommand,
377
+ UpdateUsageProfileCommand: () => UpdateUsageProfileCommand,
372
378
  UpdateUserDefinedFunctionCommand: () => UpdateUserDefinedFunctionCommand,
373
379
  UpdateWorkflowCommand: () => UpdateWorkflowCommand,
374
380
  ValidationException: () => ValidationException,
@@ -417,6 +423,7 @@ __export(src_exports, {
417
423
  paginateListSessions: () => paginateListSessions,
418
424
  paginateListTableOptimizerRuns: () => paginateListTableOptimizerRuns,
419
425
  paginateListTriggers: () => paginateListTriggers,
426
+ paginateListUsageProfiles: () => paginateListUsageProfiles,
420
427
  paginateListWorkflows: () => paginateListWorkflows,
421
428
  paginateSearchTables: () => paginateSearchTables
422
429
  });
@@ -1409,6 +1416,24 @@ var ViewDialect = {
1409
1416
  REDSHIFT: "REDSHIFT",
1410
1417
  SPARK: "SPARK"
1411
1418
  };
1419
+ var _OperationNotSupportedException = class _OperationNotSupportedException extends GlueServiceException {
1420
+ /**
1421
+ * @internal
1422
+ */
1423
+ constructor(opts) {
1424
+ super({
1425
+ name: "OperationNotSupportedException",
1426
+ $fault: "client",
1427
+ ...opts
1428
+ });
1429
+ this.name = "OperationNotSupportedException";
1430
+ this.$fault = "client";
1431
+ Object.setPrototypeOf(this, _OperationNotSupportedException.prototype);
1432
+ this.Message = opts.Message;
1433
+ }
1434
+ };
1435
+ __name(_OperationNotSupportedException, "OperationNotSupportedException");
1436
+ var OperationNotSupportedException = _OperationNotSupportedException;
1412
1437
  var PrincipalType = {
1413
1438
  GROUP: "GROUP",
1414
1439
  ROLE: "ROLE",
@@ -2173,6 +2198,12 @@ var se_CreateTriggerCommand = /* @__PURE__ */ __name(async (input, context) => {
2173
2198
  body = JSON.stringify((0, import_smithy_client._json)(input));
2174
2199
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2175
2200
  }, "se_CreateTriggerCommand");
2201
+ var se_CreateUsageProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
2202
+ const headers = sharedHeaders("CreateUsageProfile");
2203
+ let body;
2204
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2205
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2206
+ }, "se_CreateUsageProfileCommand");
2176
2207
  var se_CreateUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
2177
2208
  const headers = sharedHeaders("CreateUserDefinedFunction");
2178
2209
  let body;
@@ -2329,6 +2360,12 @@ var se_DeleteTriggerCommand = /* @__PURE__ */ __name(async (input, context) => {
2329
2360
  body = JSON.stringify((0, import_smithy_client._json)(input));
2330
2361
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2331
2362
  }, "se_DeleteTriggerCommand");
2363
+ var se_DeleteUsageProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
2364
+ const headers = sharedHeaders("DeleteUsageProfile");
2365
+ let body;
2366
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2367
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2368
+ }, "se_DeleteUsageProfileCommand");
2332
2369
  var se_DeleteUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
2333
2370
  const headers = sharedHeaders("DeleteUserDefinedFunction");
2334
2371
  let body;
@@ -2713,6 +2750,12 @@ var se_GetUnfilteredTableMetadataCommand = /* @__PURE__ */ __name(async (input,
2713
2750
  body = JSON.stringify(se_GetUnfilteredTableMetadataRequest(input, context));
2714
2751
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2715
2752
  }, "se_GetUnfilteredTableMetadataCommand");
2753
+ var se_GetUsageProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
2754
+ const headers = sharedHeaders("GetUsageProfile");
2755
+ let body;
2756
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2757
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2758
+ }, "se_GetUsageProfileCommand");
2716
2759
  var se_GetUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
2717
2760
  const headers = sharedHeaders("GetUserDefinedFunction");
2718
2761
  let body;
@@ -2869,6 +2912,12 @@ var se_ListTriggersCommand = /* @__PURE__ */ __name(async (input, context) => {
2869
2912
  body = JSON.stringify((0, import_smithy_client._json)(input));
2870
2913
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
2871
2914
  }, "se_ListTriggersCommand");
2915
+ var se_ListUsageProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
2916
+ const headers = sharedHeaders("ListUsageProfiles");
2917
+ let body;
2918
+ body = JSON.stringify((0, import_smithy_client._json)(input));
2919
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2920
+ }, "se_ListUsageProfilesCommand");
2872
2921
  var se_ListWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {
2873
2922
  const headers = sharedHeaders("ListWorkflows");
2874
2923
  let body;
@@ -3187,6 +3236,12 @@ var se_UpdateTriggerCommand = /* @__PURE__ */ __name(async (input, context) => {
3187
3236
  body = JSON.stringify((0, import_smithy_client._json)(input));
3188
3237
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3189
3238
  }, "se_UpdateTriggerCommand");
3239
+ var se_UpdateUsageProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
3240
+ const headers = sharedHeaders("UpdateUsageProfile");
3241
+ let body;
3242
+ body = JSON.stringify((0, import_smithy_client._json)(input));
3243
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3244
+ }, "se_UpdateUsageProfileCommand");
3190
3245
  var se_UpdateUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {
3191
3246
  const headers = sharedHeaders("UpdateUserDefinedFunction");
3192
3247
  let body;
@@ -3745,6 +3800,19 @@ var de_CreateTriggerCommand = /* @__PURE__ */ __name(async (output, context) =>
3745
3800
  };
3746
3801
  return response;
3747
3802
  }, "de_CreateTriggerCommand");
3803
+ var de_CreateUsageProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
3804
+ if (output.statusCode >= 300) {
3805
+ return de_CommandError(output, context);
3806
+ }
3807
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
3808
+ let contents = {};
3809
+ contents = (0, import_smithy_client._json)(data);
3810
+ const response = {
3811
+ $metadata: deserializeMetadata(output),
3812
+ ...contents
3813
+ };
3814
+ return response;
3815
+ }, "de_CreateUsageProfileCommand");
3748
3816
  var de_CreateUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {
3749
3817
  if (output.statusCode >= 300) {
3750
3818
  return de_CommandError(output, context);
@@ -4083,6 +4151,19 @@ var de_DeleteTriggerCommand = /* @__PURE__ */ __name(async (output, context) =>
4083
4151
  };
4084
4152
  return response;
4085
4153
  }, "de_DeleteTriggerCommand");
4154
+ var de_DeleteUsageProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
4155
+ if (output.statusCode >= 300) {
4156
+ return de_CommandError(output, context);
4157
+ }
4158
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
4159
+ let contents = {};
4160
+ contents = (0, import_smithy_client._json)(data);
4161
+ const response = {
4162
+ $metadata: deserializeMetadata(output),
4163
+ ...contents
4164
+ };
4165
+ return response;
4166
+ }, "de_DeleteUsageProfileCommand");
4086
4167
  var de_DeleteUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {
4087
4168
  if (output.statusCode >= 300) {
4088
4169
  return de_CommandError(output, context);
@@ -4915,6 +4996,19 @@ var de_GetUnfilteredTableMetadataCommand = /* @__PURE__ */ __name(async (output,
4915
4996
  };
4916
4997
  return response;
4917
4998
  }, "de_GetUnfilteredTableMetadataCommand");
4999
+ var de_GetUsageProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
5000
+ if (output.statusCode >= 300) {
5001
+ return de_CommandError(output, context);
5002
+ }
5003
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
5004
+ let contents = {};
5005
+ contents = de_GetUsageProfileResponse(data, context);
5006
+ const response = {
5007
+ $metadata: deserializeMetadata(output),
5008
+ ...contents
5009
+ };
5010
+ return response;
5011
+ }, "de_GetUsageProfileCommand");
4918
5012
  var de_GetUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {
4919
5013
  if (output.statusCode >= 300) {
4920
5014
  return de_CommandError(output, context);
@@ -5253,6 +5347,19 @@ var de_ListTriggersCommand = /* @__PURE__ */ __name(async (output, context) => {
5253
5347
  };
5254
5348
  return response;
5255
5349
  }, "de_ListTriggersCommand");
5350
+ var de_ListUsageProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
5351
+ if (output.statusCode >= 300) {
5352
+ return de_CommandError(output, context);
5353
+ }
5354
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
5355
+ let contents = {};
5356
+ contents = de_ListUsageProfilesResponse(data, context);
5357
+ const response = {
5358
+ $metadata: deserializeMetadata(output),
5359
+ ...contents
5360
+ };
5361
+ return response;
5362
+ }, "de_ListUsageProfilesCommand");
5256
5363
  var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
5257
5364
  if (output.statusCode >= 300) {
5258
5365
  return de_CommandError(output, context);
@@ -5942,6 +6049,19 @@ var de_UpdateTriggerCommand = /* @__PURE__ */ __name(async (output, context) =>
5942
6049
  };
5943
6050
  return response;
5944
6051
  }, "de_UpdateTriggerCommand");
6052
+ var de_UpdateUsageProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
6053
+ if (output.statusCode >= 300) {
6054
+ return de_CommandError(output, context);
6055
+ }
6056
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
6057
+ let contents = {};
6058
+ contents = (0, import_smithy_client._json)(data);
6059
+ const response = {
6060
+ $metadata: deserializeMetadata(output),
6061
+ ...contents
6062
+ };
6063
+ return response;
6064
+ }, "de_UpdateUsageProfileCommand");
5945
6065
  var de_UpdateUserDefinedFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {
5946
6066
  if (output.statusCode >= 300) {
5947
6067
  return de_CommandError(output, context);
@@ -6026,6 +6146,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
6026
6146
  case "ValidationException":
6027
6147
  case "com.amazonaws.glue#ValidationException":
6028
6148
  throw await de_ValidationExceptionRes(parsedOutput, context);
6149
+ case "OperationNotSupportedException":
6150
+ case "com.amazonaws.glue#OperationNotSupportedException":
6151
+ throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
6029
6152
  case "CrawlerRunningException":
6030
6153
  case "com.amazonaws.glue#CrawlerRunningException":
6031
6154
  throw await de_CrawlerRunningExceptionRes(parsedOutput, context);
@@ -6323,6 +6446,15 @@ var de_NoScheduleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
6323
6446
  });
6324
6447
  return (0, import_smithy_client.decorateServiceException)(exception, body);
6325
6448
  }, "de_NoScheduleExceptionRes");
6449
+ var de_OperationNotSupportedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
6450
+ const body = parsedOutput.body;
6451
+ const deserialized = (0, import_smithy_client._json)(body);
6452
+ const exception = new OperationNotSupportedException({
6453
+ $metadata: deserializeMetadata(parsedOutput),
6454
+ ...deserialized
6455
+ });
6456
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
6457
+ }, "de_OperationNotSupportedExceptionRes");
6326
6458
  var de_OperationTimeoutExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
6327
6459
  const body = parsedOutput.body;
6328
6460
  const deserialized = (0, import_smithy_client._json)(body);
@@ -8342,6 +8474,15 @@ var de_GetUnfilteredTableMetadataResponse = /* @__PURE__ */ __name((output, cont
8342
8474
  Table: (_) => de_Table(_, context)
8343
8475
  });
8344
8476
  }, "de_GetUnfilteredTableMetadataResponse");
8477
+ var de_GetUsageProfileResponse = /* @__PURE__ */ __name((output, context) => {
8478
+ return (0, import_smithy_client.take)(output, {
8479
+ Configuration: import_smithy_client._json,
8480
+ CreatedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
8481
+ Description: import_smithy_client.expectString,
8482
+ LastModifiedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
8483
+ Name: import_smithy_client.expectString
8484
+ });
8485
+ }, "de_GetUsageProfileResponse");
8345
8486
  var de_GetUserDefinedFunctionResponse = /* @__PURE__ */ __name((output, context) => {
8346
8487
  return (0, import_smithy_client.take)(output, {
8347
8488
  UserDefinedFunction: (_) => de_UserDefinedFunction(_, context)
@@ -8410,6 +8551,7 @@ var de_Job = /* @__PURE__ */ __name((output, context) => {
8410
8551
  NonOverridableArguments: import_smithy_client._json,
8411
8552
  NotificationProperty: import_smithy_client._json,
8412
8553
  NumberOfWorkers: import_smithy_client.expectInt32,
8554
+ ProfileName: import_smithy_client.expectString,
8413
8555
  Role: import_smithy_client.expectString,
8414
8556
  SecurityConfiguration: import_smithy_client.expectString,
8415
8557
  SourceControlDetails: import_smithy_client._json,
@@ -8451,6 +8593,7 @@ var de_JobRun = /* @__PURE__ */ __name((output, context) => {
8451
8593
  NumberOfWorkers: import_smithy_client.expectInt32,
8452
8594
  PredecessorRuns: import_smithy_client._json,
8453
8595
  PreviousRunId: import_smithy_client.expectString,
8596
+ ProfileName: import_smithy_client.expectString,
8454
8597
  SecurityConfiguration: import_smithy_client.expectString,
8455
8598
  StartedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
8456
8599
  Timeout: import_smithy_client.expectInt32,
@@ -8592,6 +8735,12 @@ var de_ListTableOptimizerRunsResponse = /* @__PURE__ */ __name((output, context)
8592
8735
  TableOptimizerRuns: (_) => de_TableOptimizerRuns(_, context)
8593
8736
  });
8594
8737
  }, "de_ListTableOptimizerRunsResponse");
8738
+ var de_ListUsageProfilesResponse = /* @__PURE__ */ __name((output, context) => {
8739
+ return (0, import_smithy_client.take)(output, {
8740
+ NextToken: import_smithy_client.expectString,
8741
+ Profiles: (_) => de_UsageProfileDefinitionList(_, context)
8742
+ });
8743
+ }, "de_ListUsageProfilesResponse");
8595
8744
  var de_Mapping = /* @__PURE__ */ __name((output, context) => {
8596
8745
  return (0, import_smithy_client.take)(output, {
8597
8746
  Children: (_) => de_Mappings(_, context),
@@ -8720,6 +8869,7 @@ var de_Session = /* @__PURE__ */ __name((output, context) => {
8720
8869
  IdleTimeout: import_smithy_client.expectInt32,
8721
8870
  MaxCapacity: import_smithy_client.limitedParseDouble,
8722
8871
  NumberOfWorkers: import_smithy_client.expectInt32,
8872
+ ProfileName: import_smithy_client.expectString,
8723
8873
  Progress: import_smithy_client.limitedParseDouble,
8724
8874
  Role: import_smithy_client.expectString,
8725
8875
  SecurityConfiguration: import_smithy_client.expectString,
@@ -8883,6 +9033,20 @@ var de_UpdateColumnStatisticsForTableResponse = /* @__PURE__ */ __name((output,
8883
9033
  Errors: (_) => de_ColumnStatisticsErrors(_, context)
8884
9034
  });
8885
9035
  }, "de_UpdateColumnStatisticsForTableResponse");
9036
+ var de_UsageProfileDefinition = /* @__PURE__ */ __name((output, context) => {
9037
+ return (0, import_smithy_client.take)(output, {
9038
+ CreatedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
9039
+ Description: import_smithy_client.expectString,
9040
+ LastModifiedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
9041
+ Name: import_smithy_client.expectString
9042
+ });
9043
+ }, "de_UsageProfileDefinition");
9044
+ var de_UsageProfileDefinitionList = /* @__PURE__ */ __name((output, context) => {
9045
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
9046
+ return de_UsageProfileDefinition(entry, context);
9047
+ });
9048
+ return retVal;
9049
+ }, "de_UsageProfileDefinitionList");
8886
9050
  var de_UserDefinedFunction = /* @__PURE__ */ __name((output, context) => {
8887
9051
  return (0, import_smithy_client.take)(output, {
8888
9052
  CatalogId: import_smithy_client.expectString,
@@ -9659,6 +9823,22 @@ var _CreateTriggerCommand = class _CreateTriggerCommand extends import_smithy_cl
9659
9823
  __name(_CreateTriggerCommand, "CreateTriggerCommand");
9660
9824
  var CreateTriggerCommand = _CreateTriggerCommand;
9661
9825
 
9826
+ // src/commands/CreateUsageProfileCommand.ts
9827
+
9828
+
9829
+
9830
+ var _CreateUsageProfileCommand = class _CreateUsageProfileCommand extends import_smithy_client.Command.classBuilder().ep({
9831
+ ...commonParams
9832
+ }).m(function(Command, cs, config, o) {
9833
+ return [
9834
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9835
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
9836
+ ];
9837
+ }).s("AWSGlue", "CreateUsageProfile", {}).n("GlueClient", "CreateUsageProfileCommand").f(void 0, void 0).ser(se_CreateUsageProfileCommand).de(de_CreateUsageProfileCommand).build() {
9838
+ };
9839
+ __name(_CreateUsageProfileCommand, "CreateUsageProfileCommand");
9840
+ var CreateUsageProfileCommand = _CreateUsageProfileCommand;
9841
+
9662
9842
  // src/commands/CreateUserDefinedFunctionCommand.ts
9663
9843
 
9664
9844
 
@@ -10075,6 +10255,22 @@ var _DeleteTriggerCommand = class _DeleteTriggerCommand extends import_smithy_cl
10075
10255
  __name(_DeleteTriggerCommand, "DeleteTriggerCommand");
10076
10256
  var DeleteTriggerCommand = _DeleteTriggerCommand;
10077
10257
 
10258
+ // src/commands/DeleteUsageProfileCommand.ts
10259
+
10260
+
10261
+
10262
+ var _DeleteUsageProfileCommand = class _DeleteUsageProfileCommand extends import_smithy_client.Command.classBuilder().ep({
10263
+ ...commonParams
10264
+ }).m(function(Command, cs, config, o) {
10265
+ return [
10266
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10267
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10268
+ ];
10269
+ }).s("AWSGlue", "DeleteUsageProfile", {}).n("GlueClient", "DeleteUsageProfileCommand").f(void 0, void 0).ser(se_DeleteUsageProfileCommand).de(de_DeleteUsageProfileCommand).build() {
10270
+ };
10271
+ __name(_DeleteUsageProfileCommand, "DeleteUsageProfileCommand");
10272
+ var DeleteUsageProfileCommand = _DeleteUsageProfileCommand;
10273
+
10078
10274
  // src/commands/DeleteUserDefinedFunctionCommand.ts
10079
10275
 
10080
10276
 
@@ -11099,6 +11295,22 @@ var _GetUnfilteredTableMetadataCommand = class _GetUnfilteredTableMetadataComman
11099
11295
  __name(_GetUnfilteredTableMetadataCommand, "GetUnfilteredTableMetadataCommand");
11100
11296
  var GetUnfilteredTableMetadataCommand = _GetUnfilteredTableMetadataCommand;
11101
11297
 
11298
+ // src/commands/GetUsageProfileCommand.ts
11299
+
11300
+
11301
+
11302
+ var _GetUsageProfileCommand = class _GetUsageProfileCommand extends import_smithy_client.Command.classBuilder().ep({
11303
+ ...commonParams
11304
+ }).m(function(Command, cs, config, o) {
11305
+ return [
11306
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11307
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11308
+ ];
11309
+ }).s("AWSGlue", "GetUsageProfile", {}).n("GlueClient", "GetUsageProfileCommand").f(void 0, void 0).ser(se_GetUsageProfileCommand).de(de_GetUsageProfileCommand).build() {
11310
+ };
11311
+ __name(_GetUsageProfileCommand, "GetUsageProfileCommand");
11312
+ var GetUsageProfileCommand = _GetUsageProfileCommand;
11313
+
11102
11314
  // src/commands/GetUserDefinedFunctionCommand.ts
11103
11315
 
11104
11316
 
@@ -11515,6 +11727,22 @@ var _ListTriggersCommand = class _ListTriggersCommand extends import_smithy_clie
11515
11727
  __name(_ListTriggersCommand, "ListTriggersCommand");
11516
11728
  var ListTriggersCommand = _ListTriggersCommand;
11517
11729
 
11730
+ // src/commands/ListUsageProfilesCommand.ts
11731
+
11732
+
11733
+
11734
+ var _ListUsageProfilesCommand = class _ListUsageProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
11735
+ ...commonParams
11736
+ }).m(function(Command, cs, config, o) {
11737
+ return [
11738
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
11739
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
11740
+ ];
11741
+ }).s("AWSGlue", "ListUsageProfiles", {}).n("GlueClient", "ListUsageProfilesCommand").f(void 0, void 0).ser(se_ListUsageProfilesCommand).de(de_ListUsageProfilesCommand).build() {
11742
+ };
11743
+ __name(_ListUsageProfilesCommand, "ListUsageProfilesCommand");
11744
+ var ListUsageProfilesCommand = _ListUsageProfilesCommand;
11745
+
11518
11746
  // src/commands/ListWorkflowsCommand.ts
11519
11747
 
11520
11748
 
@@ -12363,6 +12591,22 @@ var _UpdateTriggerCommand = class _UpdateTriggerCommand extends import_smithy_cl
12363
12591
  __name(_UpdateTriggerCommand, "UpdateTriggerCommand");
12364
12592
  var UpdateTriggerCommand = _UpdateTriggerCommand;
12365
12593
 
12594
+ // src/commands/UpdateUsageProfileCommand.ts
12595
+
12596
+
12597
+
12598
+ var _UpdateUsageProfileCommand = class _UpdateUsageProfileCommand extends import_smithy_client.Command.classBuilder().ep({
12599
+ ...commonParams
12600
+ }).m(function(Command, cs, config, o) {
12601
+ return [
12602
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
12603
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
12604
+ ];
12605
+ }).s("AWSGlue", "UpdateUsageProfile", {}).n("GlueClient", "UpdateUsageProfileCommand").f(void 0, void 0).ser(se_UpdateUsageProfileCommand).de(de_UpdateUsageProfileCommand).build() {
12606
+ };
12607
+ __name(_UpdateUsageProfileCommand, "UpdateUsageProfileCommand");
12608
+ var UpdateUsageProfileCommand = _UpdateUsageProfileCommand;
12609
+
12366
12610
  // src/commands/UpdateUserDefinedFunctionCommand.ts
12367
12611
 
12368
12612
 
@@ -12439,6 +12683,7 @@ var commands = {
12439
12683
  CreateTableCommand,
12440
12684
  CreateTableOptimizerCommand,
12441
12685
  CreateTriggerCommand,
12686
+ CreateUsageProfileCommand,
12442
12687
  CreateUserDefinedFunctionCommand,
12443
12688
  CreateWorkflowCommand,
12444
12689
  DeleteBlueprintCommand,
@@ -12465,6 +12710,7 @@ var commands = {
12465
12710
  DeleteTableOptimizerCommand,
12466
12711
  DeleteTableVersionCommand,
12467
12712
  DeleteTriggerCommand,
12713
+ DeleteUsageProfileCommand,
12468
12714
  DeleteUserDefinedFunctionCommand,
12469
12715
  DeleteWorkflowCommand,
12470
12716
  GetBlueprintCommand,
@@ -12529,6 +12775,7 @@ var commands = {
12529
12775
  GetUnfilteredPartitionMetadataCommand,
12530
12776
  GetUnfilteredPartitionsMetadataCommand,
12531
12777
  GetUnfilteredTableMetadataCommand,
12778
+ GetUsageProfileCommand,
12532
12779
  GetUserDefinedFunctionCommand,
12533
12780
  GetUserDefinedFunctionsCommand,
12534
12781
  GetWorkflowCommand,
@@ -12555,6 +12802,7 @@ var commands = {
12555
12802
  ListStatementsCommand,
12556
12803
  ListTableOptimizerRunsCommand,
12557
12804
  ListTriggersCommand,
12805
+ ListUsageProfilesCommand,
12558
12806
  ListWorkflowsCommand,
12559
12807
  PutDataCatalogEncryptionSettingsCommand,
12560
12808
  PutResourcePolicyCommand,
@@ -12608,6 +12856,7 @@ var commands = {
12608
12856
  UpdateTableCommand,
12609
12857
  UpdateTableOptimizerCommand,
12610
12858
  UpdateTriggerCommand,
12859
+ UpdateUsageProfileCommand,
12611
12860
  UpdateUserDefinedFunctionCommand,
12612
12861
  UpdateWorkflowCommand
12613
12862
  };
@@ -12773,6 +13022,10 @@ var paginateListTableOptimizerRuns = (0, import_core.createPaginator)(GlueClient
12773
13022
 
12774
13023
  var paginateListTriggers = (0, import_core.createPaginator)(GlueClient, ListTriggersCommand, "NextToken", "NextToken", "MaxResults");
12775
13024
 
13025
+ // src/pagination/ListUsageProfilesPaginator.ts
13026
+
13027
+ var paginateListUsageProfiles = (0, import_core.createPaginator)(GlueClient, ListUsageProfilesCommand, "NextToken", "NextToken", "MaxResults");
13028
+
12776
13029
  // src/pagination/ListWorkflowsPaginator.ts
12777
13030
 
12778
13031
  var paginateListWorkflows = (0, import_core.createPaginator)(GlueClient, ListWorkflowsCommand, "NextToken", "NextToken", "MaxResults");
@@ -12830,6 +13083,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
12830
13083
  CreateTableCommand,
12831
13084
  CreateTableOptimizerCommand,
12832
13085
  CreateTriggerCommand,
13086
+ CreateUsageProfileCommand,
12833
13087
  CreateUserDefinedFunctionCommand,
12834
13088
  CreateWorkflowCommand,
12835
13089
  DeleteBlueprintCommand,
@@ -12856,6 +13110,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
12856
13110
  DeleteTableOptimizerCommand,
12857
13111
  DeleteTableVersionCommand,
12858
13112
  DeleteTriggerCommand,
13113
+ DeleteUsageProfileCommand,
12859
13114
  DeleteUserDefinedFunctionCommand,
12860
13115
  DeleteWorkflowCommand,
12861
13116
  GetBlueprintCommand,
@@ -12920,6 +13175,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
12920
13175
  GetUnfilteredPartitionMetadataCommand,
12921
13176
  GetUnfilteredPartitionsMetadataCommand,
12922
13177
  GetUnfilteredTableMetadataCommand,
13178
+ GetUsageProfileCommand,
12923
13179
  GetUserDefinedFunctionCommand,
12924
13180
  GetUserDefinedFunctionsCommand,
12925
13181
  GetWorkflowCommand,
@@ -12946,6 +13202,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
12946
13202
  ListStatementsCommand,
12947
13203
  ListTableOptimizerRunsCommand,
12948
13204
  ListTriggersCommand,
13205
+ ListUsageProfilesCommand,
12949
13206
  ListWorkflowsCommand,
12950
13207
  PutDataCatalogEncryptionSettingsCommand,
12951
13208
  PutResourcePolicyCommand,
@@ -12999,6 +13256,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
12999
13256
  UpdateTableCommand,
13000
13257
  UpdateTableOptimizerCommand,
13001
13258
  UpdateTriggerCommand,
13259
+ UpdateUsageProfileCommand,
13002
13260
  UpdateUserDefinedFunctionCommand,
13003
13261
  UpdateWorkflowCommand,
13004
13262
  paginateGetBlueprintRuns,
@@ -13040,6 +13298,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13040
13298
  paginateListSessions,
13041
13299
  paginateListTableOptimizerRuns,
13042
13300
  paginateListTriggers,
13301
+ paginateListUsageProfiles,
13043
13302
  paginateListWorkflows,
13044
13303
  paginateSearchTables,
13045
13304
  AccessDeniedException,
@@ -13130,6 +13389,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13130
13389
  SessionStatus,
13131
13390
  MetadataOperation,
13132
13391
  ViewDialect,
13392
+ OperationNotSupportedException,
13133
13393
  PrincipalType,
13134
13394
  ResourceType,
13135
13395
  CrawlerRunningException,