@aws-sdk/client-glue 3.462.0 → 3.464.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InvalidStateException = exports.FederationSourceRetryableException = exports.FederationSourceException = exports.FederationSourceErrorCode = exports.SourceControlProvider = exports.SourceControlAuthStrategy = exports.ExecutionClass = exports.UnionType = exports.HudiTargetCompressionType = exports.ParquetCompressionType = exports.TargetFormat = exports.DeltaTargetCompressionType = exports.Separator = exports.QuoteChar = exports.CompressionType = exports.PiiType = exports.JoinType = exports.GlueRecordType = exports.JDBCDataType = exports.UpdateCatalogBehavior = exports.FilterLogicalOperator = exports.FilterValueType = exports.FilterOperation = exports.DQStopJobOnFailureTiming = exports.DQTransformOutput = exports.ParamType = exports.JDBCConnectionType = exports.StartingPosition = exports.WorkerType = exports.DataQualityRuleResultStatus = exports.JdbcMetadataEntry = exports.CrawlerState = exports.UpdateBehavior = exports.DeleteBehavior = exports.ScheduleState = exports.RecrawlBehavior = exports.CrawlerLineageSettings = exports.LastCrawlStatus = exports.BlueprintStatus = exports.ResourceNotReadyException = exports.ResourceNumberLimitExceededException = exports.OperationTimeoutException = exports.InvalidInputException = exports.InternalServiceException = exports.GlueEncryptionException = exports.EntityNotFoundException = exports.AlreadyExistsException = exports.AggFunction = exports.AdditionalOptionKeys = exports.AccessDeniedException = void 0;
4
- exports.Permission = exports.ConcurrentModificationException = exports.IdempotentParameterMismatchException = exports.ConnectionType = exports.ConnectionPropertyKey = exports.CsvSerdeOption = exports.CsvHeaderOption = exports.DataFormat = exports.IllegalSessionStateException = exports.TaskStatusType = exports.WorkflowRunStatus = exports.NodeType = exports.TriggerType = exports.TriggerState = exports.Logical = exports.JobRunState = exports.LogicalOperator = exports.CrawlState = exports.TableOptimizerEventType = exports.TableOptimizerType = void 0;
4
+ exports.ConnectionType = exports.ConnectionPropertyKey = exports.CsvSerdeOption = exports.CsvHeaderOption = exports.DataFormat = exports.IllegalSessionStateException = exports.TaskStatusType = exports.WorkflowRunStatus = exports.NodeType = exports.TriggerType = exports.TriggerState = exports.Logical = exports.JobRunState = exports.LogicalOperator = exports.CrawlState = exports.TableOptimizerEventType = exports.TableOptimizerType = void 0;
5
5
  const GlueServiceException_1 = require("./GlueServiceException");
6
6
  class AccessDeniedException extends GlueServiceException_1.GlueServiceException {
7
7
  constructor(opts) {
@@ -589,42 +589,3 @@ exports.ConnectionType = {
589
589
  NETWORK: "NETWORK",
590
590
  SFTP: "SFTP",
591
591
  };
592
- class IdempotentParameterMismatchException extends GlueServiceException_1.GlueServiceException {
593
- constructor(opts) {
594
- super({
595
- name: "IdempotentParameterMismatchException",
596
- $fault: "client",
597
- ...opts,
598
- });
599
- this.name = "IdempotentParameterMismatchException";
600
- this.$fault = "client";
601
- Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
602
- this.Message = opts.Message;
603
- }
604
- }
605
- exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
606
- class ConcurrentModificationException extends GlueServiceException_1.GlueServiceException {
607
- constructor(opts) {
608
- super({
609
- name: "ConcurrentModificationException",
610
- $fault: "client",
611
- ...opts,
612
- });
613
- this.name = "ConcurrentModificationException";
614
- this.$fault = "client";
615
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
616
- this.Message = opts.Message;
617
- }
618
- }
619
- exports.ConcurrentModificationException = ConcurrentModificationException;
620
- exports.Permission = {
621
- ALL: "ALL",
622
- ALTER: "ALTER",
623
- CREATE_DATABASE: "CREATE_DATABASE",
624
- CREATE_TABLE: "CREATE_TABLE",
625
- DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS",
626
- DELETE: "DELETE",
627
- DROP: "DROP",
628
- INSERT: "INSERT",
629
- SELECT: "SELECT",
630
- };
@@ -1,7 +1,46 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SchemaDiffType = exports.PartitionIndexStatus = exports.BackfillErrorCode = exports.TransformSortColumnType = exports.TransformStatusType = exports.SortDirectionType = exports.TaskRunSortColumnType = exports.TaskType = exports.CatalogEncryptionMode = exports.ResourceShareType = exports.ColumnStatisticsState = exports.ColumnStatisticsType = exports.BlueprintRunState = exports.ConditionCheckFailureException = exports.RegistryStatus = exports.ConflictException = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.ResourceType = exports.PrincipalType = exports.MetadataOperation = exports.SessionStatus = exports.S3EncryptionMode = exports.JobBookmarksEncryptionMode = exports.CloudWatchEncryptionMode = exports.Language = exports.SchemaVersionStatus = exports.SchemaStatus = exports.Compatibility = exports.MLUserDataEncryptionModeString = exports.TransformType = exports.ValidationException = exports.FederatedResourceAlreadyExistsException = void 0;
3
+ exports.SchemaDiffType = exports.PartitionIndexStatus = exports.BackfillErrorCode = exports.TransformSortColumnType = exports.TransformStatusType = exports.SortDirectionType = exports.TaskRunSortColumnType = exports.TaskType = exports.CatalogEncryptionMode = exports.ResourceShareType = exports.ColumnStatisticsState = exports.ColumnStatisticsType = exports.BlueprintRunState = exports.ConditionCheckFailureException = exports.RegistryStatus = exports.ConflictException = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.ResourceType = exports.PrincipalType = exports.MetadataOperation = exports.SessionStatus = exports.S3EncryptionMode = exports.JobBookmarksEncryptionMode = exports.CloudWatchEncryptionMode = exports.Language = exports.SchemaVersionStatus = exports.SchemaStatus = exports.Compatibility = exports.MLUserDataEncryptionModeString = exports.TransformType = exports.ValidationException = exports.FederatedResourceAlreadyExistsException = exports.Permission = exports.ConcurrentModificationException = exports.IdempotentParameterMismatchException = void 0;
4
4
  const GlueServiceException_1 = require("./GlueServiceException");
5
+ class IdempotentParameterMismatchException extends GlueServiceException_1.GlueServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "IdempotentParameterMismatchException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "IdempotentParameterMismatchException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
19
+ class ConcurrentModificationException extends GlueServiceException_1.GlueServiceException {
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConcurrentModificationException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ this.name = "ConcurrentModificationException";
27
+ this.$fault = "client";
28
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
29
+ this.Message = opts.Message;
30
+ }
31
+ }
32
+ exports.ConcurrentModificationException = ConcurrentModificationException;
33
+ exports.Permission = {
34
+ ALL: "ALL",
35
+ ALTER: "ALTER",
36
+ CREATE_DATABASE: "CREATE_DATABASE",
37
+ CREATE_TABLE: "CREATE_TABLE",
38
+ DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS",
39
+ DELETE: "DELETE",
40
+ DROP: "DROP",
41
+ INSERT: "INSERT",
42
+ SELECT: "SELECT",
43
+ };
5
44
  class FederatedResourceAlreadyExistsException extends GlueServiceException_1.GlueServiceException {
6
45
  constructor(opts) {
7
46
  super({
@@ -10839,7 +10839,7 @@ const de_ColumnStatisticsTaskStoppingExceptionRes = async (parsedOutput, context
10839
10839
  const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
10840
10840
  const body = parsedOutput.body;
10841
10841
  const deserialized = (0, smithy_client_1._json)(body);
10842
- const exception = new models_0_1.ConcurrentModificationException({
10842
+ const exception = new models_1_1.ConcurrentModificationException({
10843
10843
  $metadata: deserializeMetadata(parsedOutput),
10844
10844
  ...deserialized,
10845
10845
  });
@@ -10947,7 +10947,7 @@ const de_GlueEncryptionExceptionRes = async (parsedOutput, context) => {
10947
10947
  const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
10948
10948
  const body = parsedOutput.body;
10949
10949
  const deserialized = (0, smithy_client_1._json)(body);
10950
- const exception = new models_0_1.IdempotentParameterMismatchException({
10950
+ const exception = new models_1_1.IdempotentParameterMismatchException({
10951
10951
  $metadata: deserializeMetadata(parsedOutput),
10952
10952
  ...deserialized,
10953
10953
  });
@@ -12404,13 +12404,53 @@ const de_DatabaseList = (output, context) => {
12404
12404
  });
12405
12405
  return retVal;
12406
12406
  };
12407
+ const de_DataQualityAnalyzerResult = (output, context) => {
12408
+ return (0, smithy_client_1.take)(output, {
12409
+ Description: smithy_client_1.expectString,
12410
+ EvaluatedMetrics: (_) => de_EvaluatedMetricsMap(_, context),
12411
+ EvaluationMessage: smithy_client_1.expectString,
12412
+ Name: smithy_client_1.expectString,
12413
+ });
12414
+ };
12415
+ const de_DataQualityAnalyzerResults = (output, context) => {
12416
+ const retVal = (output || [])
12417
+ .filter((e) => e != null)
12418
+ .map((entry) => {
12419
+ return de_DataQualityAnalyzerResult(entry, context);
12420
+ });
12421
+ return retVal;
12422
+ };
12423
+ const de_DataQualityMetricValues = (output, context) => {
12424
+ return (0, smithy_client_1.take)(output, {
12425
+ ActualValue: smithy_client_1.limitedParseDouble,
12426
+ ExpectedValue: smithy_client_1.limitedParseDouble,
12427
+ LowerLimit: smithy_client_1.limitedParseDouble,
12428
+ UpperLimit: smithy_client_1.limitedParseDouble,
12429
+ });
12430
+ };
12431
+ const de_DataQualityObservation = (output, context) => {
12432
+ return (0, smithy_client_1.take)(output, {
12433
+ Description: smithy_client_1.expectString,
12434
+ MetricBasedObservation: (_) => de_MetricBasedObservation(_, context),
12435
+ });
12436
+ };
12437
+ const de_DataQualityObservations = (output, context) => {
12438
+ const retVal = (output || [])
12439
+ .filter((e) => e != null)
12440
+ .map((entry) => {
12441
+ return de_DataQualityObservation(entry, context);
12442
+ });
12443
+ return retVal;
12444
+ };
12407
12445
  const de_DataQualityResult = (output, context) => {
12408
12446
  return (0, smithy_client_1.take)(output, {
12447
+ AnalyzerResults: (_) => de_DataQualityAnalyzerResults(_, context),
12409
12448
  CompletedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
12410
12449
  DataSource: smithy_client_1._json,
12411
12450
  EvaluationContext: smithy_client_1.expectString,
12412
12451
  JobName: smithy_client_1.expectString,
12413
12452
  JobRunId: smithy_client_1.expectString,
12453
+ Observations: (_) => de_DataQualityObservations(_, context),
12414
12454
  ResultId: smithy_client_1.expectString,
12415
12455
  RuleResults: (_) => de_DataQualityRuleResults(_, context),
12416
12456
  RulesetEvaluationRunId: smithy_client_1.expectString,
@@ -12741,11 +12781,13 @@ const de_GetDatabasesResponse = (output, context) => {
12741
12781
  };
12742
12782
  const de_GetDataQualityResultResponse = (output, context) => {
12743
12783
  return (0, smithy_client_1.take)(output, {
12784
+ AnalyzerResults: (_) => de_DataQualityAnalyzerResults(_, context),
12744
12785
  CompletedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
12745
12786
  DataSource: smithy_client_1._json,
12746
12787
  EvaluationContext: smithy_client_1.expectString,
12747
12788
  JobName: smithy_client_1.expectString,
12748
12789
  JobRunId: smithy_client_1.expectString,
12790
+ Observations: (_) => de_DataQualityObservations(_, context),
12749
12791
  ResultId: smithy_client_1.expectString,
12750
12792
  RuleResults: (_) => de_DataQualityRuleResults(_, context),
12751
12793
  RulesetEvaluationRunId: smithy_client_1.expectString,
@@ -13264,6 +13306,13 @@ const de_Mappings = (output, context) => {
13264
13306
  });
13265
13307
  return retVal;
13266
13308
  };
13309
+ const de_MetricBasedObservation = (output, context) => {
13310
+ return (0, smithy_client_1.take)(output, {
13311
+ MetricName: smithy_client_1.expectString,
13312
+ MetricValues: (_) => de_DataQualityMetricValues(_, context),
13313
+ NewRules: smithy_client_1._json,
13314
+ });
13315
+ };
13267
13316
  const de_MLTransform = (output, context) => {
13268
13317
  return (0, smithy_client_1.take)(output, {
13269
13318
  CreatedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -572,40 +572,3 @@ export const ConnectionType = {
572
572
  NETWORK: "NETWORK",
573
573
  SFTP: "SFTP",
574
574
  };
575
- export class IdempotentParameterMismatchException extends __BaseException {
576
- constructor(opts) {
577
- super({
578
- name: "IdempotentParameterMismatchException",
579
- $fault: "client",
580
- ...opts,
581
- });
582
- this.name = "IdempotentParameterMismatchException";
583
- this.$fault = "client";
584
- Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
585
- this.Message = opts.Message;
586
- }
587
- }
588
- export class ConcurrentModificationException extends __BaseException {
589
- constructor(opts) {
590
- super({
591
- name: "ConcurrentModificationException",
592
- $fault: "client",
593
- ...opts,
594
- });
595
- this.name = "ConcurrentModificationException";
596
- this.$fault = "client";
597
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
598
- this.Message = opts.Message;
599
- }
600
- }
601
- export const Permission = {
602
- ALL: "ALL",
603
- ALTER: "ALTER",
604
- CREATE_DATABASE: "CREATE_DATABASE",
605
- CREATE_TABLE: "CREATE_TABLE",
606
- DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS",
607
- DELETE: "DELETE",
608
- DROP: "DROP",
609
- INSERT: "INSERT",
610
- SELECT: "SELECT",
611
- };
@@ -1,4 +1,41 @@
1
1
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
2
+ export class IdempotentParameterMismatchException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "IdempotentParameterMismatchException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "IdempotentParameterMismatchException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
12
+ this.Message = opts.Message;
13
+ }
14
+ }
15
+ export class ConcurrentModificationException extends __BaseException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "ConcurrentModificationException",
19
+ $fault: "client",
20
+ ...opts,
21
+ });
22
+ this.name = "ConcurrentModificationException";
23
+ this.$fault = "client";
24
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
25
+ this.Message = opts.Message;
26
+ }
27
+ }
28
+ export const Permission = {
29
+ ALL: "ALL",
30
+ ALTER: "ALTER",
31
+ CREATE_DATABASE: "CREATE_DATABASE",
32
+ CREATE_TABLE: "CREATE_TABLE",
33
+ DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS",
34
+ DELETE: "DELETE",
35
+ DROP: "DROP",
36
+ INSERT: "INSERT",
37
+ SELECT: "SELECT",
38
+ };
2
39
  export class FederatedResourceAlreadyExistsException extends __BaseException {
3
40
  constructor(opts) {
4
41
  super({
@@ -1,8 +1,8 @@
1
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
2
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { GlueServiceException as __BaseException } from "../models/GlueServiceException";
4
- import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, EntityNotFoundException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, IdempotentParameterMismatchException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, } from "../models/models_0";
5
- import { ConditionCheckFailureException, ConflictException, CrawlerRunningException, FederatedResourceAlreadyExistsException, SchedulerTransitioningException, ValidationException, } from "../models/models_1";
4
+ import { AccessDeniedException, AlreadyExistsException, EntityNotFoundException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, } from "../models/models_0";
5
+ import { ConcurrentModificationException, ConditionCheckFailureException, ConflictException, CrawlerRunningException, FederatedResourceAlreadyExistsException, IdempotentParameterMismatchException, SchedulerTransitioningException, ValidationException, } from "../models/models_1";
6
6
  import { ColumnStatisticsTaskNotRunningException, ColumnStatisticsTaskRunningException, ColumnStatisticsTaskStoppingException, ConcurrentRunsExceededException, CrawlerNotRunningException, CrawlerStoppingException, IllegalBlueprintStateException, IllegalWorkflowStateException, MLTransformNotReadyException, NoScheduleException, PermissionTypeMismatchException, SchedulerNotRunningException, SchedulerRunningException, VersionMismatchException, } from "../models/models_2";
7
7
  export const se_BatchCreatePartitionCommand = async (input, context) => {
8
8
  const headers = sharedHeaders("BatchCreatePartition");
@@ -11967,13 +11967,53 @@ const de_DatabaseList = (output, context) => {
11967
11967
  });
11968
11968
  return retVal;
11969
11969
  };
11970
+ const de_DataQualityAnalyzerResult = (output, context) => {
11971
+ return take(output, {
11972
+ Description: __expectString,
11973
+ EvaluatedMetrics: (_) => de_EvaluatedMetricsMap(_, context),
11974
+ EvaluationMessage: __expectString,
11975
+ Name: __expectString,
11976
+ });
11977
+ };
11978
+ const de_DataQualityAnalyzerResults = (output, context) => {
11979
+ const retVal = (output || [])
11980
+ .filter((e) => e != null)
11981
+ .map((entry) => {
11982
+ return de_DataQualityAnalyzerResult(entry, context);
11983
+ });
11984
+ return retVal;
11985
+ };
11986
+ const de_DataQualityMetricValues = (output, context) => {
11987
+ return take(output, {
11988
+ ActualValue: __limitedParseDouble,
11989
+ ExpectedValue: __limitedParseDouble,
11990
+ LowerLimit: __limitedParseDouble,
11991
+ UpperLimit: __limitedParseDouble,
11992
+ });
11993
+ };
11994
+ const de_DataQualityObservation = (output, context) => {
11995
+ return take(output, {
11996
+ Description: __expectString,
11997
+ MetricBasedObservation: (_) => de_MetricBasedObservation(_, context),
11998
+ });
11999
+ };
12000
+ const de_DataQualityObservations = (output, context) => {
12001
+ const retVal = (output || [])
12002
+ .filter((e) => e != null)
12003
+ .map((entry) => {
12004
+ return de_DataQualityObservation(entry, context);
12005
+ });
12006
+ return retVal;
12007
+ };
11970
12008
  const de_DataQualityResult = (output, context) => {
11971
12009
  return take(output, {
12010
+ AnalyzerResults: (_) => de_DataQualityAnalyzerResults(_, context),
11972
12011
  CompletedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11973
12012
  DataSource: _json,
11974
12013
  EvaluationContext: __expectString,
11975
12014
  JobName: __expectString,
11976
12015
  JobRunId: __expectString,
12016
+ Observations: (_) => de_DataQualityObservations(_, context),
11977
12017
  ResultId: __expectString,
11978
12018
  RuleResults: (_) => de_DataQualityRuleResults(_, context),
11979
12019
  RulesetEvaluationRunId: __expectString,
@@ -12304,11 +12344,13 @@ const de_GetDatabasesResponse = (output, context) => {
12304
12344
  };
12305
12345
  const de_GetDataQualityResultResponse = (output, context) => {
12306
12346
  return take(output, {
12347
+ AnalyzerResults: (_) => de_DataQualityAnalyzerResults(_, context),
12307
12348
  CompletedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
12308
12349
  DataSource: _json,
12309
12350
  EvaluationContext: __expectString,
12310
12351
  JobName: __expectString,
12311
12352
  JobRunId: __expectString,
12353
+ Observations: (_) => de_DataQualityObservations(_, context),
12312
12354
  ResultId: __expectString,
12313
12355
  RuleResults: (_) => de_DataQualityRuleResults(_, context),
12314
12356
  RulesetEvaluationRunId: __expectString,
@@ -12827,6 +12869,13 @@ const de_Mappings = (output, context) => {
12827
12869
  });
12828
12870
  return retVal;
12829
12871
  };
12872
+ const de_MetricBasedObservation = (output, context) => {
12873
+ return take(output, {
12874
+ MetricName: __expectString,
12875
+ MetricValues: (_) => de_DataQualityMetricValues(_, context),
12876
+ NewRules: _json,
12877
+ });
12878
+ };
12830
12879
  const de_MLTransform = (output, context) => {
12831
12880
  return take(output, {
12832
12881
  CreatedOn: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -71,6 +71,33 @@ export interface BatchGetDataQualityResultCommandOutput extends BatchGetDataQual
71
71
  * // },
72
72
  * // },
73
73
  * // ],
74
+ * // AnalyzerResults: [ // DataQualityAnalyzerResults
75
+ * // { // DataQualityAnalyzerResult
76
+ * // Name: "STRING_VALUE",
77
+ * // Description: "STRING_VALUE",
78
+ * // EvaluationMessage: "STRING_VALUE",
79
+ * // EvaluatedMetrics: {
80
+ * // "<keys>": Number("double"),
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // Observations: [ // DataQualityObservations
85
+ * // { // DataQualityObservation
86
+ * // Description: "STRING_VALUE",
87
+ * // MetricBasedObservation: { // MetricBasedObservation
88
+ * // MetricName: "STRING_VALUE",
89
+ * // MetricValues: { // DataQualityMetricValues
90
+ * // ActualValue: Number("double"),
91
+ * // ExpectedValue: Number("double"),
92
+ * // LowerLimit: Number("double"),
93
+ * // UpperLimit: Number("double"),
94
+ * // },
95
+ * // NewRules: [ // NewRules
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // },
99
+ * // },
100
+ * // ],
74
101
  * // },
75
102
  * // ],
76
103
  * // ResultsNotFound: [ // DataQualityResultIds
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
5
- import { CreateCustomEntityTypeRequest, CreateCustomEntityTypeResponse } from "../models/models_0";
5
+ import { CreateCustomEntityTypeRequest } from "../models/models_0";
6
+ import { CreateCustomEntityTypeResponse } from "../models/models_1";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -67,6 +67,33 @@ export interface GetDataQualityResultCommandOutput extends GetDataQualityResultR
67
67
  * // },
68
68
  * // },
69
69
  * // ],
70
+ * // AnalyzerResults: [ // DataQualityAnalyzerResults
71
+ * // { // DataQualityAnalyzerResult
72
+ * // Name: "STRING_VALUE",
73
+ * // Description: "STRING_VALUE",
74
+ * // EvaluationMessage: "STRING_VALUE",
75
+ * // EvaluatedMetrics: {
76
+ * // "<keys>": Number("double"),
77
+ * // },
78
+ * // },
79
+ * // ],
80
+ * // Observations: [ // DataQualityObservations
81
+ * // { // DataQualityObservation
82
+ * // Description: "STRING_VALUE",
83
+ * // MetricBasedObservation: { // MetricBasedObservation
84
+ * // MetricName: "STRING_VALUE",
85
+ * // MetricValues: { // DataQualityMetricValues
86
+ * // ActualValue: Number("double"),
87
+ * // ExpectedValue: Number("double"),
88
+ * // LowerLimit: Number("double"),
89
+ * // UpperLimit: Number("double"),
90
+ * // },
91
+ * // NewRules: [ // NewRules
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // },
95
+ * // },
96
+ * // ],
70
97
  * // };
71
98
  *
72
99
  * ```
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
5
- import { GetSecurityConfigurationsRequest, GetSecurityConfigurationsResponse } from "../models/models_1";
5
+ import { GetSecurityConfigurationsRequest } from "../models/models_1";
6
+ import { GetSecurityConfigurationsResponse } from "../models/models_2";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
5
- import { GetSessionRequest, GetSessionResponse } from "../models/models_1";
5
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
5
- import { GetStatementRequest } from "../models/models_1";
6
- import { GetStatementResponse } from "../models/models_2";
5
+ import { GetStatementRequest, GetStatementResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1948,6 +1948,32 @@ export interface BatchGetDataQualityResultRequest {
1948
1948
  */
1949
1949
  ResultIds: string[] | undefined;
1950
1950
  }
1951
+ /**
1952
+ * @public
1953
+ * <p>Describes the result of the evaluation of a data quality analyzer.</p>
1954
+ */
1955
+ export interface DataQualityAnalyzerResult {
1956
+ /**
1957
+ * @public
1958
+ * <p>The name of the data quality analyzer.</p>
1959
+ */
1960
+ Name?: string;
1961
+ /**
1962
+ * @public
1963
+ * <p>A description of the data quality analyzer.</p>
1964
+ */
1965
+ Description?: string;
1966
+ /**
1967
+ * @public
1968
+ * <p>An evaluation message.</p>
1969
+ */
1970
+ EvaluationMessage?: string;
1971
+ /**
1972
+ * @public
1973
+ * <p>A map of metrics associated with the evaluation of the analyzer.</p>
1974
+ */
1975
+ EvaluatedMetrics?: Record<string, number>;
1976
+ }
1951
1977
  /**
1952
1978
  * @public
1953
1979
  * <p>The database and table in the Glue Data Catalog that is used for input or output data.</p>
@@ -2000,6 +2026,69 @@ export interface DataSource {
2000
2026
  */
2001
2027
  GlueTable: GlueTable | undefined;
2002
2028
  }
2029
+ /**
2030
+ * @public
2031
+ * <p>Describes the data quality metric value according to the analysis of historical data.</p>
2032
+ */
2033
+ export interface DataQualityMetricValues {
2034
+ /**
2035
+ * @public
2036
+ * <p>The actual value of the data quality metric.</p>
2037
+ */
2038
+ ActualValue?: number;
2039
+ /**
2040
+ * @public
2041
+ * <p>The expected value of the data quality metric according to the analysis of historical data.</p>
2042
+ */
2043
+ ExpectedValue?: number;
2044
+ /**
2045
+ * @public
2046
+ * <p>The lower limit of the data quality metric value according to the analysis of historical data.</p>
2047
+ */
2048
+ LowerLimit?: number;
2049
+ /**
2050
+ * @public
2051
+ * <p>The upper limit of the data quality metric value according to the analysis of historical data.</p>
2052
+ */
2053
+ UpperLimit?: number;
2054
+ }
2055
+ /**
2056
+ * @public
2057
+ * <p>Describes the metric based observation generated based on evaluated data quality metrics.</p>
2058
+ */
2059
+ export interface MetricBasedObservation {
2060
+ /**
2061
+ * @public
2062
+ * <p>The name of the data quality metric used for generating the observation.</p>
2063
+ */
2064
+ MetricName?: string;
2065
+ /**
2066
+ * @public
2067
+ * <p>An object of type <code>DataQualityMetricValues</code> representing the analysis of the data quality metric value.</p>
2068
+ */
2069
+ MetricValues?: DataQualityMetricValues;
2070
+ /**
2071
+ * @public
2072
+ * <p>A list of new data quality rules generated as part of the observation based on the data quality metric value.</p>
2073
+ */
2074
+ NewRules?: string[];
2075
+ }
2076
+ /**
2077
+ * @public
2078
+ * <p>Describes the observation generated after evaluating the rules and analyzers.</p>
2079
+ */
2080
+ export interface DataQualityObservation {
2081
+ /**
2082
+ * @public
2083
+ * <p>A description of the data quality observation.</p>
2084
+ */
2085
+ Description?: string;
2086
+ /**
2087
+ * @public
2088
+ * <p>An object of type <code>MetricBasedObservation</code> representing the observation that is based on evaluated data quality metrics.</p>
2089
+ */
2090
+ MetricBasedObservation?: MetricBasedObservation;
2091
+ }
2003
2092
  /**
2004
2093
  * @public
2005
2094
  * @enum
@@ -2104,6 +2193,16 @@ export interface DataQualityResult {
2104
2193
  * <p>A list of <code>DataQualityRuleResult</code> objects representing the results for each rule. </p>
2105
2194
  */
2106
2195
  RuleResults?: DataQualityRuleResult[];
2196
+ /**
2197
+ * @public
2198
+ * <p>A list of <code>DataQualityAnalyzerResult</code> objects representing the results for each analyzer. </p>
2199
+ */
2200
+ AnalyzerResults?: DataQualityAnalyzerResult[];
2201
+ /**
2202
+ * @public
2203
+ * <p>A list of <code>DataQualityObservation</code> objects representing the observations generated after evaluating the rules and analyzers. </p>
2204
+ */
2205
+ Observations?: DataQualityObservation[];
2107
2206
  }
2108
2207
  /**
2109
2208
  * @public
@@ -7960,66 +8059,3 @@ export interface CreateCustomEntityTypeRequest {
7960
8059
  */
7961
8060
  Tags?: Record<string, string>;
7962
8061
  }
7963
- /**
7964
- * @public
7965
- */
7966
- export interface CreateCustomEntityTypeResponse {
7967
- /**
7968
- * @public
7969
- * <p>The name of the custom pattern you created.</p>
7970
- */
7971
- Name?: string;
7972
- }
7973
- /**
7974
- * @public
7975
- * <p>The same unique identifier was associated with two different records.</p>
7976
- */
7977
- export declare class IdempotentParameterMismatchException extends __BaseException {
7978
- readonly name: "IdempotentParameterMismatchException";
7979
- readonly $fault: "client";
7980
- /**
7981
- * @public
7982
- * <p>A message describing the problem.</p>
7983
- */
7984
- Message?: string;
7985
- /**
7986
- * @internal
7987
- */
7988
- constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
7989
- }
7990
- /**
7991
- * @public
7992
- * <p>Two processes are trying to modify a resource simultaneously.</p>
7993
- */
7994
- export declare class ConcurrentModificationException extends __BaseException {
7995
- readonly name: "ConcurrentModificationException";
7996
- readonly $fault: "client";
7997
- /**
7998
- * @public
7999
- * <p>A message describing the problem.</p>
8000
- */
8001
- Message?: string;
8002
- /**
8003
- * @internal
8004
- */
8005
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
8006
- }
8007
- /**
8008
- * @public
8009
- * @enum
8010
- */
8011
- export declare const Permission: {
8012
- readonly ALL: "ALL";
8013
- readonly ALTER: "ALTER";
8014
- readonly CREATE_DATABASE: "CREATE_DATABASE";
8015
- readonly CREATE_TABLE: "CREATE_TABLE";
8016
- readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
8017
- readonly DELETE: "DELETE";
8018
- readonly DROP: "DROP";
8019
- readonly INSERT: "INSERT";
8020
- readonly SELECT: "SELECT";
8021
- };
8022
- /**
8023
- * @public
8024
- */
8025
- export type Permission = (typeof Permission)[keyof typeof Permission];
@@ -1,6 +1,69 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
- import { Action, Blueprint, Column, ConnectionPropertyKey, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, CsvSerdeOption, DataFormat, DataQualityRuleResult, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, Permission, PhysicalConnectionRequirements, Predicate, SchemaId, StorageDescriptor, TableOptimizerConfiguration, TableOptimizerType, TaskStatusType, TriggerType, WorkerType } from "./models_0";
3
+ import { Action, Blueprint, Column, ConnectionPropertyKey, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, CsvSerdeOption, DataFormat, DataQualityAnalyzerResult, DataQualityObservation, DataQualityRuleResult, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, PhysicalConnectionRequirements, Predicate, SchemaId, StorageDescriptor, TableOptimizerConfiguration, TableOptimizerType, TaskStatusType, TriggerType, WorkerType } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface CreateCustomEntityTypeResponse {
8
+ /**
9
+ * @public
10
+ * <p>The name of the custom pattern you created.</p>
11
+ */
12
+ Name?: string;
13
+ }
14
+ /**
15
+ * @public
16
+ * <p>The same unique identifier was associated with two different records.</p>
17
+ */
18
+ export declare class IdempotentParameterMismatchException extends __BaseException {
19
+ readonly name: "IdempotentParameterMismatchException";
20
+ readonly $fault: "client";
21
+ /**
22
+ * @public
23
+ * <p>A message describing the problem.</p>
24
+ */
25
+ Message?: string;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
30
+ }
31
+ /**
32
+ * @public
33
+ * <p>Two processes are trying to modify a resource simultaneously.</p>
34
+ */
35
+ export declare class ConcurrentModificationException extends __BaseException {
36
+ readonly name: "ConcurrentModificationException";
37
+ readonly $fault: "client";
38
+ /**
39
+ * @public
40
+ * <p>A message describing the problem.</p>
41
+ */
42
+ Message?: string;
43
+ /**
44
+ * @internal
45
+ */
46
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
47
+ }
48
+ /**
49
+ * @public
50
+ * @enum
51
+ */
52
+ export declare const Permission: {
53
+ readonly ALL: "ALL";
54
+ readonly ALTER: "ALTER";
55
+ readonly CREATE_DATABASE: "CREATE_DATABASE";
56
+ readonly CREATE_TABLE: "CREATE_TABLE";
57
+ readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
58
+ readonly DELETE: "DELETE";
59
+ readonly DROP: "DROP";
60
+ readonly INSERT: "INSERT";
61
+ readonly SELECT: "SELECT";
62
+ };
63
+ /**
64
+ * @public
65
+ */
66
+ export type Permission = (typeof Permission)[keyof typeof Permission];
4
67
  /**
5
68
  * @public
6
69
  * <p>The Lake Formation principal.</p>
@@ -4643,6 +4706,16 @@ export interface GetDataQualityResultResponse {
4643
4706
  * <p>A list of <code>DataQualityRuleResult</code> objects representing the results for each rule. </p>
4644
4707
  */
4645
4708
  RuleResults?: DataQualityRuleResult[];
4709
+ /**
4710
+ * @public
4711
+ * <p>A list of <code>DataQualityAnalyzerResult</code> objects representing the results for each analyzer. </p>
4712
+ */
4713
+ AnalyzerResults?: DataQualityAnalyzerResult[];
4714
+ /**
4715
+ * @public
4716
+ * <p>A list of <code>DataQualityObservation</code> objects representing the observations generated after evaluating the rules and analyzers. </p>
4717
+ */
4718
+ Observations?: DataQualityObservation[];
4646
4719
  }
4647
4720
  /**
4648
4721
  * @public
@@ -7029,64 +7102,3 @@ export interface GetSecurityConfigurationsRequest {
7029
7102
  */
7030
7103
  NextToken?: string;
7031
7104
  }
7032
- /**
7033
- * @public
7034
- */
7035
- export interface GetSecurityConfigurationsResponse {
7036
- /**
7037
- * @public
7038
- * <p>A list of security configurations.</p>
7039
- */
7040
- SecurityConfigurations?: SecurityConfiguration[];
7041
- /**
7042
- * @public
7043
- * <p>A continuation token, if there are more security
7044
- * configurations to return.</p>
7045
- */
7046
- NextToken?: string;
7047
- }
7048
- /**
7049
- * @public
7050
- */
7051
- export interface GetSessionRequest {
7052
- /**
7053
- * @public
7054
- * <p>The ID of the session. </p>
7055
- */
7056
- Id: string | undefined;
7057
- /**
7058
- * @public
7059
- * <p>The origin of the request. </p>
7060
- */
7061
- RequestOrigin?: string;
7062
- }
7063
- /**
7064
- * @public
7065
- */
7066
- export interface GetSessionResponse {
7067
- /**
7068
- * @public
7069
- * <p>The session object is returned in the response.</p>
7070
- */
7071
- Session?: Session;
7072
- }
7073
- /**
7074
- * @public
7075
- */
7076
- export interface GetStatementRequest {
7077
- /**
7078
- * @public
7079
- * <p>The Session ID of the statement.</p>
7080
- */
7081
- SessionId: string | undefined;
7082
- /**
7083
- * @public
7084
- * <p>The Id of the statement.</p>
7085
- */
7086
- Id: number | undefined;
7087
- /**
7088
- * @public
7089
- * <p>The origin of the request.</p>
7090
- */
7091
- RequestOrigin?: string;
7092
- }
@@ -1,7 +1,68 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
3
  import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, Column, ConnectionInput, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CrawlerTargets, CsvHeaderOption, CsvSerdeOption, CustomCode, CustomEntityType, DataSource, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EvaluateDataQualityMultiFrame, EventBatchingCondition, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, Join, LakeFormationConfiguration, LineageConfiguration, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, Partition, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, Recipe, RecrawlPolicy, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SchemaChangePolicy, SchemaId, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, SourceControlAuthStrategy, SourceControlDetails, SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, StorageDescriptor, TableOptimizer, TableOptimizerConfiguration, TableOptimizerRun, TableOptimizerType, TaskStatusType, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
4
- import { ColumnStatistics, Compatibility, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, JobBookmarkEntry, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Segment, Session, TableIdentifier, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
4
+ import { ColumnStatistics, Compatibility, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, JobBookmarkEntry, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, SecurityConfiguration, Segment, Session, TableIdentifier, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface GetSecurityConfigurationsResponse {
9
+ /**
10
+ * @public
11
+ * <p>A list of security configurations.</p>
12
+ */
13
+ SecurityConfigurations?: SecurityConfiguration[];
14
+ /**
15
+ * @public
16
+ * <p>A continuation token, if there are more security
17
+ * configurations to return.</p>
18
+ */
19
+ NextToken?: string;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface GetSessionRequest {
25
+ /**
26
+ * @public
27
+ * <p>The ID of the session. </p>
28
+ */
29
+ Id: string | undefined;
30
+ /**
31
+ * @public
32
+ * <p>The origin of the request. </p>
33
+ */
34
+ RequestOrigin?: string;
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface GetSessionResponse {
40
+ /**
41
+ * @public
42
+ * <p>The session object is returned in the response.</p>
43
+ */
44
+ Session?: Session;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface GetStatementRequest {
50
+ /**
51
+ * @public
52
+ * <p>The Session ID of the statement.</p>
53
+ */
54
+ SessionId: string | undefined;
55
+ /**
56
+ * @public
57
+ * <p>The Id of the statement.</p>
58
+ */
59
+ Id: number | undefined;
60
+ /**
61
+ * @public
62
+ * <p>The origin of the request.</p>
63
+ */
64
+ RequestOrigin?: string;
65
+ }
5
66
  /**
6
67
  * @public
7
68
  * <p>The code execution output in JSON format.</p>
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../GlueClient";
14
- import {
15
- CreateCustomEntityTypeRequest,
16
- CreateCustomEntityTypeResponse,
17
- } from "../models/models_0";
14
+ import { CreateCustomEntityTypeRequest } from "../models/models_0";
15
+ import { CreateCustomEntityTypeResponse } from "../models/models_1";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface CreateCustomEntityTypeCommandInput
20
18
  extends CreateCustomEntityTypeRequest {}
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../GlueClient";
14
- import {
15
- GetSecurityConfigurationsRequest,
16
- GetSecurityConfigurationsResponse,
17
- } from "../models/models_1";
14
+ import { GetSecurityConfigurationsRequest } from "../models/models_1";
15
+ import { GetSecurityConfigurationsResponse } from "../models/models_2";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface GetSecurityConfigurationsCommandInput
20
18
  extends GetSecurityConfigurationsRequest {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../GlueClient";
14
- import { GetSessionRequest, GetSessionResponse } from "../models/models_1";
14
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_2";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface GetSessionCommandInput extends GetSessionRequest {}
17
17
  export interface GetSessionCommandOutput
@@ -11,8 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../GlueClient";
14
- import { GetStatementRequest } from "../models/models_1";
15
- import { GetStatementResponse } from "../models/models_2";
14
+ import { GetStatementRequest, GetStatementResponse } from "../models/models_2";
16
15
  export { __MetadataBearer, $Command };
17
16
  export interface GetStatementCommandInput extends GetStatementRequest {}
18
17
  export interface GetStatementCommandOutput
@@ -522,6 +522,12 @@ export interface BatchGetCustomEntityTypesResponse {
522
522
  export interface BatchGetDataQualityResultRequest {
523
523
  ResultIds: string[] | undefined;
524
524
  }
525
+ export interface DataQualityAnalyzerResult {
526
+ Name?: string;
527
+ Description?: string;
528
+ EvaluationMessage?: string;
529
+ EvaluatedMetrics?: Record<string, number>;
530
+ }
525
531
  export interface GlueTable {
526
532
  DatabaseName: string | undefined;
527
533
  TableName: string | undefined;
@@ -532,6 +538,21 @@ export interface GlueTable {
532
538
  export interface DataSource {
533
539
  GlueTable: GlueTable | undefined;
534
540
  }
541
+ export interface DataQualityMetricValues {
542
+ ActualValue?: number;
543
+ ExpectedValue?: number;
544
+ LowerLimit?: number;
545
+ UpperLimit?: number;
546
+ }
547
+ export interface MetricBasedObservation {
548
+ MetricName?: string;
549
+ MetricValues?: DataQualityMetricValues;
550
+ NewRules?: string[];
551
+ }
552
+ export interface DataQualityObservation {
553
+ Description?: string;
554
+ MetricBasedObservation?: MetricBasedObservation;
555
+ }
535
556
  export declare const DataQualityRuleResultStatus: {
536
557
  readonly ERROR: "ERROR";
537
558
  readonly FAIL: "FAIL";
@@ -558,6 +579,8 @@ export interface DataQualityResult {
558
579
  JobRunId?: string;
559
580
  RulesetEvaluationRunId?: string;
560
581
  RuleResults?: DataQualityRuleResult[];
582
+ AnalyzerResults?: DataQualityAnalyzerResult[];
583
+ Observations?: DataQualityObservation[];
561
584
  }
562
585
  export interface BatchGetDataQualityResultResponse {
563
586
  Results: DataQualityResult[] | undefined;
@@ -2070,40 +2093,3 @@ export interface CreateCustomEntityTypeRequest {
2070
2093
  ContextWords?: string[];
2071
2094
  Tags?: Record<string, string>;
2072
2095
  }
2073
- export interface CreateCustomEntityTypeResponse {
2074
- Name?: string;
2075
- }
2076
- export declare class IdempotentParameterMismatchException extends __BaseException {
2077
- readonly name: "IdempotentParameterMismatchException";
2078
- readonly $fault: "client";
2079
- Message?: string;
2080
- constructor(
2081
- opts: __ExceptionOptionType<
2082
- IdempotentParameterMismatchException,
2083
- __BaseException
2084
- >
2085
- );
2086
- }
2087
- export declare class ConcurrentModificationException extends __BaseException {
2088
- readonly name: "ConcurrentModificationException";
2089
- readonly $fault: "client";
2090
- Message?: string;
2091
- constructor(
2092
- opts: __ExceptionOptionType<
2093
- ConcurrentModificationException,
2094
- __BaseException
2095
- >
2096
- );
2097
- }
2098
- export declare const Permission: {
2099
- readonly ALL: "ALL";
2100
- readonly ALTER: "ALTER";
2101
- readonly CREATE_DATABASE: "CREATE_DATABASE";
2102
- readonly CREATE_TABLE: "CREATE_TABLE";
2103
- readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
2104
- readonly DELETE: "DELETE";
2105
- readonly DROP: "DROP";
2106
- readonly INSERT: "INSERT";
2107
- readonly SELECT: "SELECT";
2108
- };
2109
- export type Permission = (typeof Permission)[keyof typeof Permission];
@@ -11,6 +11,8 @@ import {
11
11
  CsvHeaderOption,
12
12
  CsvSerdeOption,
13
13
  DataFormat,
14
+ DataQualityAnalyzerResult,
15
+ DataQualityObservation,
14
16
  DataQualityRuleResult,
15
17
  DataSource,
16
18
  DevEndpoint,
@@ -21,7 +23,6 @@ import {
21
23
  Partition,
22
24
  PartitionInput,
23
25
  PartitionValueList,
24
- Permission,
25
26
  PhysicalConnectionRequirements,
26
27
  Predicate,
27
28
  SchemaId,
@@ -32,6 +33,43 @@ import {
32
33
  TriggerType,
33
34
  WorkerType,
34
35
  } from "./models_0";
36
+ export interface CreateCustomEntityTypeResponse {
37
+ Name?: string;
38
+ }
39
+ export declare class IdempotentParameterMismatchException extends __BaseException {
40
+ readonly name: "IdempotentParameterMismatchException";
41
+ readonly $fault: "client";
42
+ Message?: string;
43
+ constructor(
44
+ opts: __ExceptionOptionType<
45
+ IdempotentParameterMismatchException,
46
+ __BaseException
47
+ >
48
+ );
49
+ }
50
+ export declare class ConcurrentModificationException extends __BaseException {
51
+ readonly name: "ConcurrentModificationException";
52
+ readonly $fault: "client";
53
+ Message?: string;
54
+ constructor(
55
+ opts: __ExceptionOptionType<
56
+ ConcurrentModificationException,
57
+ __BaseException
58
+ >
59
+ );
60
+ }
61
+ export declare const Permission: {
62
+ readonly ALL: "ALL";
63
+ readonly ALTER: "ALTER";
64
+ readonly CREATE_DATABASE: "CREATE_DATABASE";
65
+ readonly CREATE_TABLE: "CREATE_TABLE";
66
+ readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
67
+ readonly DELETE: "DELETE";
68
+ readonly DROP: "DROP";
69
+ readonly INSERT: "INSERT";
70
+ readonly SELECT: "SELECT";
71
+ };
72
+ export type Permission = (typeof Permission)[keyof typeof Permission];
35
73
  export interface DataLakePrincipal {
36
74
  DataLakePrincipalIdentifier?: string;
37
75
  }
@@ -1116,6 +1154,8 @@ export interface GetDataQualityResultResponse {
1116
1154
  JobRunId?: string;
1117
1155
  RulesetEvaluationRunId?: string;
1118
1156
  RuleResults?: DataQualityRuleResult[];
1157
+ AnalyzerResults?: DataQualityAnalyzerResult[];
1158
+ Observations?: DataQualityObservation[];
1119
1159
  }
1120
1160
  export interface GetDataQualityRuleRecommendationRunRequest {
1121
1161
  RunId: string | undefined;
@@ -1646,19 +1686,3 @@ export interface GetSecurityConfigurationsRequest {
1646
1686
  MaxResults?: number;
1647
1687
  NextToken?: string;
1648
1688
  }
1649
- export interface GetSecurityConfigurationsResponse {
1650
- SecurityConfigurations?: SecurityConfiguration[];
1651
- NextToken?: string;
1652
- }
1653
- export interface GetSessionRequest {
1654
- Id: string | undefined;
1655
- RequestOrigin?: string;
1656
- }
1657
- export interface GetSessionResponse {
1658
- Session?: Session;
1659
- }
1660
- export interface GetStatementRequest {
1661
- SessionId: string | undefined;
1662
- Id: number | undefined;
1663
- RequestOrigin?: string;
1664
- }
@@ -125,6 +125,7 @@ import {
125
125
  SchemaStatus,
126
126
  SchemaVersionNumber,
127
127
  SchemaVersionStatus,
128
+ SecurityConfiguration,
128
129
  Segment,
129
130
  Session,
130
131
  TableIdentifier,
@@ -134,6 +135,22 @@ import {
134
135
  TransformSortCriteria,
135
136
  UserDefinedFunctionInput,
136
137
  } from "./models_1";
138
+ export interface GetSecurityConfigurationsResponse {
139
+ SecurityConfigurations?: SecurityConfiguration[];
140
+ NextToken?: string;
141
+ }
142
+ export interface GetSessionRequest {
143
+ Id: string | undefined;
144
+ RequestOrigin?: string;
145
+ }
146
+ export interface GetSessionResponse {
147
+ Session?: Session;
148
+ }
149
+ export interface GetStatementRequest {
150
+ SessionId: string | undefined;
151
+ Id: number | undefined;
152
+ RequestOrigin?: string;
153
+ }
137
154
  export interface StatementOutputData {
138
155
  TextPlain?: string;
139
156
  }
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.462.0",
4
+ "version": "3.464.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",