@aws-sdk/client-glue 3.1061.0 → 3.1062.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 (44) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +38 -0
  3. package/dist-cjs/models/errors.js +16 -1
  4. package/dist-cjs/schemas/schemas_0.js +91 -36
  5. package/dist-es/Glue.js +4 -0
  6. package/dist-es/commands/GetDashboardUrlCommand.js +16 -0
  7. package/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  8. package/dist-es/commands/index.js +2 -0
  9. package/dist-es/models/enums.js +8 -0
  10. package/dist-es/models/errors.js +14 -0
  11. package/dist-es/schemas/schemas_0.js +66 -11
  12. package/dist-types/Glue.d.ts +14 -0
  13. package/dist-types/GlueClient.d.ts +4 -2
  14. package/dist-types/commands/CreateSessionCommand.d.ts +5 -0
  15. package/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
  16. package/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
  17. package/dist-types/commands/GetSessionCommand.d.ts +1 -0
  18. package/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
  19. package/dist-types/commands/ListSessionsCommand.d.ts +1 -0
  20. package/dist-types/commands/RunStatementCommand.d.ts +6 -0
  21. package/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/enums.d.ts +24 -0
  25. package/dist-types/models/errors.d.ts +17 -0
  26. package/dist-types/models/models_1.d.ts +41 -28
  27. package/dist-types/models/models_2.d.ts +70 -97
  28. package/dist-types/models/models_3.d.ts +97 -2
  29. package/dist-types/schemas/schemas_0.d.ts +8 -0
  30. package/dist-types/ts3.4/Glue.d.ts +34 -0
  31. package/dist-types/ts3.4/GlueClient.d.ts +12 -0
  32. package/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
  33. package/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
  34. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
  35. package/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  38. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  39. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  40. package/dist-types/ts3.4/models/models_1.d.ts +12 -7
  41. package/dist-types/ts3.4/models/models_2.d.ts +18 -22
  42. package/dist-types/ts3.4/models/models_3.d.ts +21 -1
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  44. package/package.json +2 -2
package/README.md CHANGED
@@ -945,6 +945,13 @@ GetCustomEntityType
945
945
  </details>
946
946
  <details>
947
947
  <summary>
948
+ GetDashboardUrl
949
+ </summary>
950
+
951
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/GetDashboardUrlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetDashboardUrlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetDashboardUrlCommandOutput/)
952
+ </details>
953
+ <details>
954
+ <summary>
948
955
  GetDatabase
949
956
  </summary>
950
957
 
@@ -1232,6 +1239,13 @@ GetSession
1232
1239
  </details>
1233
1240
  <details>
1234
1241
  <summary>
1242
+ GetSessionEndpoint
1243
+ </summary>
1244
+
1245
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/glue/command/GetSessionEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetSessionEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-glue/Interface/GetSessionEndpointCommandOutput/)
1246
+ </details>
1247
+ <details>
1248
+ <summary>
1235
1249
  GetStatement
1236
1250
  </summary>
1237
1251
 
package/dist-cjs/index.js CHANGED
@@ -1416,6 +1416,18 @@ class GetCustomEntityTypeCommand extends client.Command
1416
1416
  .build() {
1417
1417
  }
1418
1418
 
1419
+ class GetDashboardUrlCommand extends client.Command
1420
+ .classBuilder()
1421
+ .ep(commonParams)
1422
+ .m(function (Command, cs, config, o) {
1423
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1424
+ })
1425
+ .s("AWSGlue", "GetDashboardUrl", {})
1426
+ .n("GlueClient", "GetDashboardUrlCommand")
1427
+ .sc(schemas_0.GetDashboardUrl$)
1428
+ .build() {
1429
+ }
1430
+
1419
1431
  class GetDatabaseCommand extends client.Command
1420
1432
  .classBuilder()
1421
1433
  .ep(commonParams)
@@ -1908,6 +1920,18 @@ class GetSessionCommand extends client.Command
1908
1920
  .build() {
1909
1921
  }
1910
1922
 
1923
+ class GetSessionEndpointCommand extends client.Command
1924
+ .classBuilder()
1925
+ .ep(commonParams)
1926
+ .m(function (Command, cs, config, o) {
1927
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1928
+ })
1929
+ .s("AWSGlue", "GetSessionEndpoint", {})
1930
+ .n("GlueClient", "GetSessionEndpointCommand")
1931
+ .sc(schemas_0.GetSessionEndpoint$)
1932
+ .build() {
1933
+ }
1934
+
1911
1935
  class GetStatementCommand extends client.Command
1912
1936
  .classBuilder()
1913
1937
  .ep(commonParams)
@@ -3490,6 +3514,7 @@ const commands = {
3490
3514
  GetCrawlerMetricsCommand,
3491
3515
  GetCrawlersCommand,
3492
3516
  GetCustomEntityTypeCommand,
3517
+ GetDashboardUrlCommand,
3493
3518
  GetDatabaseCommand,
3494
3519
  GetDatabasesCommand,
3495
3520
  GetDataCatalogEncryptionSettingsCommand,
@@ -3531,6 +3556,7 @@ const commands = {
3531
3556
  GetSecurityConfigurationCommand,
3532
3557
  GetSecurityConfigurationsCommand,
3533
3558
  GetSessionCommand,
3559
+ GetSessionEndpointCommand,
3534
3560
  GetStatementCommand,
3535
3561
  GetTableCommand,
3536
3562
  GetTableOptimizerCommand,
@@ -4363,6 +4389,10 @@ const S3EncryptionMode = {
4363
4389
  SSEKMS: "SSE-KMS",
4364
4390
  SSES3: "SSE-S3",
4365
4391
  };
4392
+ const SessionType = {
4393
+ LIVY: "LIVY",
4394
+ SPARK_CONNECT: "SPARK_CONNECT",
4395
+ };
4366
4396
  const SessionStatus = {
4367
4397
  FAILED: "FAILED",
4368
4398
  PROVISIONING: "PROVISIONING",
@@ -4486,6 +4516,10 @@ const SettingSource = {
4486
4516
  CATALOG: "CATALOG",
4487
4517
  TABLE: "TABLE",
4488
4518
  };
4519
+ const GlueResourceType = {
4520
+ JOB: "JOB",
4521
+ SESSION: "SESSION",
4522
+ };
4489
4523
  const DatabaseAttributes = {
4490
4524
  NAME: "NAME",
4491
4525
  TARGET_DATABASE: "TARGET_DATABASE",
@@ -4837,6 +4871,7 @@ exports.GetCrawlerCommand = GetCrawlerCommand;
4837
4871
  exports.GetCrawlerMetricsCommand = GetCrawlerMetricsCommand;
4838
4872
  exports.GetCrawlersCommand = GetCrawlersCommand;
4839
4873
  exports.GetCustomEntityTypeCommand = GetCustomEntityTypeCommand;
4874
+ exports.GetDashboardUrlCommand = GetDashboardUrlCommand;
4840
4875
  exports.GetDataCatalogEncryptionSettingsCommand = GetDataCatalogEncryptionSettingsCommand;
4841
4876
  exports.GetDataQualityModelCommand = GetDataQualityModelCommand;
4842
4877
  exports.GetDataQualityModelResultCommand = GetDataQualityModelResultCommand;
@@ -4878,6 +4913,7 @@ exports.GetSchemaVersionsDiffCommand = GetSchemaVersionsDiffCommand;
4878
4913
  exports.GetSecurityConfigurationCommand = GetSecurityConfigurationCommand;
4879
4914
  exports.GetSecurityConfigurationsCommand = GetSecurityConfigurationsCommand;
4880
4915
  exports.GetSessionCommand = GetSessionCommand;
4916
+ exports.GetSessionEndpointCommand = GetSessionEndpointCommand;
4881
4917
  exports.GetStatementCommand = GetStatementCommand;
4882
4918
  exports.GetTableCommand = GetTableCommand;
4883
4919
  exports.GetTableOptimizerCommand = GetTableOptimizerCommand;
@@ -4900,6 +4936,7 @@ exports.GetWorkflowRunsCommand = GetWorkflowRunsCommand;
4900
4936
  exports.Glue = Glue;
4901
4937
  exports.GlueClient = GlueClient;
4902
4938
  exports.GlueRecordType = GlueRecordType;
4939
+ exports.GlueResourceType = GlueResourceType;
4903
4940
  exports.HTTPMethod = HTTPMethod;
4904
4941
  exports.HudiTargetCompressionType = HudiTargetCompressionType;
4905
4942
  exports.HyperTargetCompressionType = HyperTargetCompressionType;
@@ -4996,6 +5033,7 @@ exports.SchemaVersionStatus = SchemaVersionStatus;
4996
5033
  exports.SearchTablesCommand = SearchTablesCommand;
4997
5034
  exports.Separator = Separator;
4998
5035
  exports.SessionStatus = SessionStatus;
5036
+ exports.SessionType = SessionType;
4999
5037
  exports.SettingSource = SettingSource;
5000
5038
  exports.Sort = Sort;
5001
5039
  exports.SortDirectionType = SortDirectionType;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VersionMismatchException = exports.MaterializedViewRefreshTaskStoppingException = exports.MaterializedViewRefreshTaskNotRunningException = exports.SchedulerNotRunningException = exports.CrawlerStoppingException = exports.CrawlerNotRunningException = exports.ColumnStatisticsTaskStoppingException = exports.ColumnStatisticsTaskNotRunningException = exports.MLTransformNotReadyException = exports.MaterializedViewRefreshTaskRunningException = exports.SchedulerRunningException = exports.NoScheduleException = exports.IllegalBlueprintStateException = exports.IllegalWorkflowStateException = exports.ConcurrentRunsExceededException = exports.PermissionTypeMismatchException = exports.TargetResourceNotFound = exports.ConditionCheckFailureException = exports.InvalidIntegrationStateFault = exports.IntegrationNotFoundFault = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.OperationNotSupportedException = exports.ResourceNotFoundException = exports.KMSKeyNotAccessibleFault = exports.InternalServerException = exports.IntegrationQuotaExceededFault = exports.IntegrationConflictOperationFault = exports.ConflictException = exports.ValidationException = exports.IdempotentParameterMismatchException = exports.ColumnStatisticsTaskRunningException = exports.FederatedResourceAlreadyExistsException = exports.ConcurrentModificationException = exports.IllegalSessionStateException = exports.ThrottlingException = exports.InvalidStateException = exports.FederationSourceRetryableException = exports.FederationSourceException = exports.ResourceNotReadyException = exports.ResourceNumberLimitExceededException = exports.OperationTimeoutException = exports.InvalidInputException = exports.InternalServiceException = exports.GlueEncryptionException = exports.EntityNotFoundException = exports.AlreadyExistsException = exports.AccessDeniedException = void 0;
3
+ exports.VersionMismatchException = exports.MaterializedViewRefreshTaskStoppingException = exports.MaterializedViewRefreshTaskNotRunningException = exports.SchedulerNotRunningException = exports.CrawlerStoppingException = exports.CrawlerNotRunningException = exports.ColumnStatisticsTaskStoppingException = exports.ColumnStatisticsTaskNotRunningException = exports.MLTransformNotReadyException = exports.MaterializedViewRefreshTaskRunningException = exports.SchedulerRunningException = exports.NoScheduleException = exports.IllegalBlueprintStateException = exports.SessionBusyException = exports.IllegalWorkflowStateException = exports.ConcurrentRunsExceededException = exports.PermissionTypeMismatchException = exports.TargetResourceNotFound = exports.ConditionCheckFailureException = exports.InvalidIntegrationStateFault = exports.IntegrationNotFoundFault = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.OperationNotSupportedException = exports.ResourceNotFoundException = exports.KMSKeyNotAccessibleFault = exports.InternalServerException = exports.IntegrationQuotaExceededFault = exports.IntegrationConflictOperationFault = exports.ConflictException = exports.ValidationException = exports.IdempotentParameterMismatchException = exports.ColumnStatisticsTaskRunningException = exports.FederatedResourceAlreadyExistsException = exports.ConcurrentModificationException = exports.IllegalSessionStateException = exports.ThrottlingException = exports.InvalidStateException = exports.FederationSourceRetryableException = exports.FederationSourceException = exports.ResourceNotReadyException = exports.ResourceNumberLimitExceededException = exports.OperationTimeoutException = exports.InvalidInputException = exports.InternalServiceException = exports.GlueEncryptionException = exports.EntityNotFoundException = exports.AlreadyExistsException = exports.AccessDeniedException = void 0;
4
4
  const GlueServiceException_1 = require("./GlueServiceException");
5
5
  class AccessDeniedException extends GlueServiceException_1.GlueServiceException {
6
6
  name = "AccessDeniedException";
@@ -535,6 +535,21 @@ class IllegalWorkflowStateException extends GlueServiceException_1.GlueServiceEx
535
535
  }
536
536
  }
537
537
  exports.IllegalWorkflowStateException = IllegalWorkflowStateException;
538
+ class SessionBusyException extends GlueServiceException_1.GlueServiceException {
539
+ name = "SessionBusyException";
540
+ $fault = "client";
541
+ Message;
542
+ constructor(opts) {
543
+ super({
544
+ name: "SessionBusyException",
545
+ $fault: "client",
546
+ ...opts,
547
+ });
548
+ Object.setPrototypeOf(this, SessionBusyException.prototype);
549
+ this.Message = opts.Message;
550
+ }
551
+ }
552
+ exports.SessionBusyException = SessionBusyException;
538
553
  class IllegalBlueprintStateException extends GlueServiceException_1.GlueServiceException {
539
554
  name = "IllegalBlueprintStateException";
540
555
  $fault = "client";