@aws-sdk/client-glue 3.391.0 → 3.392.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +6 -15
- package/dist-cjs/models/models_1.js +15 -1
- package/dist-cjs/protocols/Aws_json1_1.js +2 -1
- package/dist-es/models/models_0.js +5 -13
- package/dist-es/models/models_1.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +3 -2
- package/dist-types/commands/CreateClassifierCommand.d.ts +1 -0
- package/dist-types/commands/GetClassifierCommand.d.ts +1 -0
- package/dist-types/commands/GetClassifiersCommand.d.ts +1 -0
- package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +1 -2
- package/dist-types/commands/UpdateClassifierCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +18 -17
- package/dist-types/models/models_1.d.ts +23 -36
- package/dist-types/models/models_2.d.ts +41 -1
- package/dist-types/ts3.4/commands/GetUnfilteredPartitionMetadataCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +8 -8
- package/dist-types/ts3.4/models/models_1.d.ts +10 -9
- package/dist-types/ts3.4/models/models_2.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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.
|
|
4
|
+
exports.FederatedResourceAlreadyExistsException = 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 = void 0;
|
|
5
5
|
const GlueServiceException_1 = require("./GlueServiceException");
|
|
6
6
|
class AccessDeniedException extends GlueServiceException_1.GlueServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -522,6 +522,11 @@ exports.CsvHeaderOption = {
|
|
|
522
522
|
PRESENT: "PRESENT",
|
|
523
523
|
UNKNOWN: "UNKNOWN",
|
|
524
524
|
};
|
|
525
|
+
exports.CsvSerdeOption = {
|
|
526
|
+
LazySimpleSerDe: "LazySimpleSerDe",
|
|
527
|
+
None: "None",
|
|
528
|
+
OpenCSVSerDe: "OpenCSVSerDe",
|
|
529
|
+
};
|
|
525
530
|
exports.ConnectionPropertyKey = {
|
|
526
531
|
CONFIG_FILES: "CONFIG_FILES",
|
|
527
532
|
CONNECTION_URL: "CONNECTION_URL",
|
|
@@ -626,17 +631,3 @@ class FederatedResourceAlreadyExistsException extends GlueServiceException_1.Glu
|
|
|
626
631
|
}
|
|
627
632
|
}
|
|
628
633
|
exports.FederatedResourceAlreadyExistsException = FederatedResourceAlreadyExistsException;
|
|
629
|
-
class ValidationException extends GlueServiceException_1.GlueServiceException {
|
|
630
|
-
constructor(opts) {
|
|
631
|
-
super({
|
|
632
|
-
name: "ValidationException",
|
|
633
|
-
$fault: "client",
|
|
634
|
-
...opts,
|
|
635
|
-
});
|
|
636
|
-
this.name = "ValidationException";
|
|
637
|
-
this.$fault = "client";
|
|
638
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
639
|
-
this.Message = opts.Message;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
exports.ValidationException = ValidationException;
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PermissionType = exports.StatementState = exports.SchemaDiffType = exports.PartitionIndexStatus = exports.BackfillErrorCode = exports.TransformSortColumnType = exports.TransformStatusType = exports.SortDirectionType = exports.TaskRunSortColumnType = exports.TaskType = exports.CatalogEncryptionMode = exports.ResourceShareType = 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 = void 0;
|
|
3
|
+
exports.PermissionType = exports.StatementState = exports.SchemaDiffType = exports.PartitionIndexStatus = exports.BackfillErrorCode = exports.TransformSortColumnType = exports.TransformStatusType = exports.SortDirectionType = exports.TaskRunSortColumnType = exports.TaskType = exports.CatalogEncryptionMode = exports.ResourceShareType = 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 = void 0;
|
|
4
4
|
const GlueServiceException_1 = require("./GlueServiceException");
|
|
5
|
+
class ValidationException extends GlueServiceException_1.GlueServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ValidationException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "ValidationException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ValidationException = ValidationException;
|
|
5
19
|
exports.TransformType = {
|
|
6
20
|
FIND_MATCHES: "FIND_MATCHES",
|
|
7
21
|
};
|
|
@@ -10546,7 +10546,7 @@ const de_SchedulerTransitioningExceptionRes = async (parsedOutput, context) => {
|
|
|
10546
10546
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
10547
10547
|
const body = parsedOutput.body;
|
|
10548
10548
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
10549
|
-
const exception = new
|
|
10549
|
+
const exception = new models_1_1.ValidationException({
|
|
10550
10550
|
$metadata: deserializeMetadata(parsedOutput),
|
|
10551
10551
|
...deserialized,
|
|
10552
10552
|
});
|
|
@@ -11767,6 +11767,7 @@ const de_CsvClassifier = (output, context) => {
|
|
|
11767
11767
|
LastUpdated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
11768
11768
|
Name: smithy_client_1.expectString,
|
|
11769
11769
|
QuoteSymbol: smithy_client_1.expectString,
|
|
11770
|
+
Serde: smithy_client_1.expectString,
|
|
11770
11771
|
Version: smithy_client_1.expectLong,
|
|
11771
11772
|
});
|
|
11772
11773
|
};
|
|
@@ -505,6 +505,11 @@ export const CsvHeaderOption = {
|
|
|
505
505
|
PRESENT: "PRESENT",
|
|
506
506
|
UNKNOWN: "UNKNOWN",
|
|
507
507
|
};
|
|
508
|
+
export const CsvSerdeOption = {
|
|
509
|
+
LazySimpleSerDe: "LazySimpleSerDe",
|
|
510
|
+
None: "None",
|
|
511
|
+
OpenCSVSerDe: "OpenCSVSerDe",
|
|
512
|
+
};
|
|
508
513
|
export const ConnectionPropertyKey = {
|
|
509
514
|
CONFIG_FILES: "CONFIG_FILES",
|
|
510
515
|
CONNECTION_URL: "CONNECTION_URL",
|
|
@@ -606,16 +611,3 @@ export class FederatedResourceAlreadyExistsException extends __BaseException {
|
|
|
606
611
|
this.AssociatedGlueResource = opts.AssociatedGlueResource;
|
|
607
612
|
}
|
|
608
613
|
}
|
|
609
|
-
export class ValidationException extends __BaseException {
|
|
610
|
-
constructor(opts) {
|
|
611
|
-
super({
|
|
612
|
-
name: "ValidationException",
|
|
613
|
-
$fault: "client",
|
|
614
|
-
...opts,
|
|
615
|
-
});
|
|
616
|
-
this.name = "ValidationException";
|
|
617
|
-
this.$fault = "client";
|
|
618
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
619
|
-
this.Message = opts.Message;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
2
|
+
export class ValidationException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "ValidationException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "ValidationException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
12
|
+
this.Message = opts.Message;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
2
15
|
export const TransformType = {
|
|
3
16
|
FIND_MATCHES: "FIND_MATCHES",
|
|
4
17
|
};
|
|
@@ -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, FederatedResourceAlreadyExistsException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, IdempotentParameterMismatchException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException,
|
|
5
|
-
import { ConditionCheckFailureException, ConflictException, CrawlerRunningException, SchedulerTransitioningException, } from "../models/models_1";
|
|
4
|
+
import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, EntityNotFoundException, FederatedResourceAlreadyExistsException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, IdempotentParameterMismatchException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, } from "../models/models_0";
|
|
5
|
+
import { ConditionCheckFailureException, ConflictException, CrawlerRunningException, SchedulerTransitioningException, ValidationException, } from "../models/models_1";
|
|
6
6
|
import { 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");
|
|
@@ -11352,6 +11352,7 @@ const de_CsvClassifier = (output, context) => {
|
|
|
11352
11352
|
LastUpdated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
11353
11353
|
Name: __expectString,
|
|
11354
11354
|
QuoteSymbol: __expectString,
|
|
11355
|
+
Serde: __expectString,
|
|
11355
11356
|
Version: __expectLong,
|
|
11356
11357
|
});
|
|
11357
11358
|
};
|
|
@@ -62,6 +62,7 @@ export interface CreateClassifierCommandOutput extends CreateClassifierResponse,
|
|
|
62
62
|
* CustomDatatypes: [ // CustomDatatypes
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
|
+
* Serde: "OpenCSVSerDe" || "LazySimpleSerDe" || "None",
|
|
65
66
|
* },
|
|
66
67
|
* };
|
|
67
68
|
* const command = new CreateClassifierCommand(input);
|
|
@@ -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 { GetUnfilteredPartitionMetadataRequest } from "../models/
|
|
6
|
-
import { GetUnfilteredPartitionMetadataResponse } from "../models/models_2";
|
|
5
|
+
import { GetUnfilteredPartitionMetadataRequest, GetUnfilteredPartitionMetadataResponse } from "../models/models_2";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -62,6 +62,7 @@ export interface UpdateClassifierCommandOutput extends UpdateClassifierResponse,
|
|
|
62
62
|
* CustomDatatypes: [ // CustomDatatypes
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
|
+
* Serde: "OpenCSVSerDe" || "LazySimpleSerDe" || "None",
|
|
65
66
|
* },
|
|
66
67
|
* };
|
|
67
68
|
* const command = new UpdateClassifierCommand(input);
|
|
@@ -7060,6 +7060,19 @@ export declare const CsvHeaderOption: {
|
|
|
7060
7060
|
* @public
|
|
7061
7061
|
*/
|
|
7062
7062
|
export type CsvHeaderOption = (typeof CsvHeaderOption)[keyof typeof CsvHeaderOption];
|
|
7063
|
+
/**
|
|
7064
|
+
* @public
|
|
7065
|
+
* @enum
|
|
7066
|
+
*/
|
|
7067
|
+
export declare const CsvSerdeOption: {
|
|
7068
|
+
readonly LazySimpleSerDe: "LazySimpleSerDe";
|
|
7069
|
+
readonly None: "None";
|
|
7070
|
+
readonly OpenCSVSerDe: "OpenCSVSerDe";
|
|
7071
|
+
};
|
|
7072
|
+
/**
|
|
7073
|
+
* @public
|
|
7074
|
+
*/
|
|
7075
|
+
export type CsvSerdeOption = (typeof CsvSerdeOption)[keyof typeof CsvSerdeOption];
|
|
7063
7076
|
/**
|
|
7064
7077
|
* @public
|
|
7065
7078
|
* <p>Specifies a custom CSV classifier for <code>CreateClassifier</code> to create.</p>
|
|
@@ -7110,6 +7123,11 @@ export interface CreateCsvClassifierRequest {
|
|
|
7110
7123
|
* <p>Creates a list of supported custom datatypes.</p>
|
|
7111
7124
|
*/
|
|
7112
7125
|
CustomDatatypes?: string[];
|
|
7126
|
+
/**
|
|
7127
|
+
* @public
|
|
7128
|
+
* <p>Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are <code>OpenCSVSerDe</code>, <code>LazySimpleSerDe</code>, and <code>None</code>. You can specify the <code>None</code> value when you want the crawler to do the detection.</p>
|
|
7129
|
+
*/
|
|
7130
|
+
Serde?: CsvSerdeOption | string;
|
|
7113
7131
|
}
|
|
7114
7132
|
/**
|
|
7115
7133
|
* @public
|
|
@@ -8095,20 +8113,3 @@ export interface CreateDevEndpointResponse {
|
|
|
8095
8113
|
*/
|
|
8096
8114
|
Arguments?: Record<string, string>;
|
|
8097
8115
|
}
|
|
8098
|
-
/**
|
|
8099
|
-
* @public
|
|
8100
|
-
* <p>A value could not be validated.</p>
|
|
8101
|
-
*/
|
|
8102
|
-
export declare class ValidationException extends __BaseException {
|
|
8103
|
-
readonly name: "ValidationException";
|
|
8104
|
-
readonly $fault: "client";
|
|
8105
|
-
/**
|
|
8106
|
-
* @public
|
|
8107
|
-
* <p>A message describing the problem.</p>
|
|
8108
|
-
*/
|
|
8109
|
-
Message?: string;
|
|
8110
|
-
/**
|
|
8111
|
-
* @internal
|
|
8112
|
-
*/
|
|
8113
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
8114
|
-
}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
-
import { Action,
|
|
3
|
+
import { Action, Blueprint, Column, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, CsvSerdeOption, DatabaseIdentifier, DataFormat, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, FederatedDatabase, GlueTable, JobRun, Partition, PartitionInput, PartitionValueList, PhysicalConnectionRequirements, Predicate, PrincipalPermissions, SchemaId, StorageDescriptor, TaskStatusType, Trigger, TriggerType, WorkerType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>A value could not be validated.</p>
|
|
7
|
+
*/
|
|
8
|
+
export declare class ValidationException extends __BaseException {
|
|
9
|
+
readonly name: "ValidationException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
* <p>A message describing the problem.</p>
|
|
14
|
+
*/
|
|
15
|
+
Message?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
20
|
+
}
|
|
4
21
|
/**
|
|
5
22
|
* @public
|
|
6
23
|
*/
|
|
@@ -2500,6 +2517,11 @@ export interface CsvClassifier {
|
|
|
2500
2517
|
* <p>A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".</p>
|
|
2501
2518
|
*/
|
|
2502
2519
|
CustomDatatypes?: string[];
|
|
2520
|
+
/**
|
|
2521
|
+
* @public
|
|
2522
|
+
* <p>Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are <code>OpenCSVSerDe</code>, <code>LazySimpleSerDe</code>, and <code>None</code>. You can specify the <code>None</code> value when you want the crawler to do the detection.</p>
|
|
2523
|
+
*/
|
|
2524
|
+
Serde?: CsvSerdeOption | string;
|
|
2503
2525
|
}
|
|
2504
2526
|
/**
|
|
2505
2527
|
* @public
|
|
@@ -6918,38 +6940,3 @@ export declare const PermissionType: {
|
|
|
6918
6940
|
* @public
|
|
6919
6941
|
*/
|
|
6920
6942
|
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
6921
|
-
/**
|
|
6922
|
-
* @public
|
|
6923
|
-
*/
|
|
6924
|
-
export interface GetUnfilteredPartitionMetadataRequest {
|
|
6925
|
-
/**
|
|
6926
|
-
* @public
|
|
6927
|
-
* <p>The catalog ID where the partition resides.</p>
|
|
6928
|
-
*/
|
|
6929
|
-
CatalogId: string | undefined;
|
|
6930
|
-
/**
|
|
6931
|
-
* @public
|
|
6932
|
-
* <p>(Required) Specifies the name of a database that contains the partition.</p>
|
|
6933
|
-
*/
|
|
6934
|
-
DatabaseName: string | undefined;
|
|
6935
|
-
/**
|
|
6936
|
-
* @public
|
|
6937
|
-
* <p>(Required) Specifies the name of a table that contains the partition.</p>
|
|
6938
|
-
*/
|
|
6939
|
-
TableName: string | undefined;
|
|
6940
|
-
/**
|
|
6941
|
-
* @public
|
|
6942
|
-
* <p>(Required) A list of partition key values.</p>
|
|
6943
|
-
*/
|
|
6944
|
-
PartitionValues: string[] | undefined;
|
|
6945
|
-
/**
|
|
6946
|
-
* @public
|
|
6947
|
-
* <p>A structure containing Lake Formation audit context information.</p>
|
|
6948
|
-
*/
|
|
6949
|
-
AuditContext?: AuditContext;
|
|
6950
|
-
/**
|
|
6951
|
-
* @public
|
|
6952
|
-
* <p>(Required) A list of supported permission types. </p>
|
|
6953
|
-
*/
|
|
6954
|
-
SupportedPermissionTypes: (PermissionType | string)[] | undefined;
|
|
6955
|
-
}
|
|
@@ -1,7 +1,42 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
-
import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, ConnectionInput, ConnectionsList, CrawlerTargets, CsvHeaderOption, CustomCode, CustomEntityType, DatabaseInput, DataQualityTargetTable, 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, TaskStatusType, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
3
|
+
import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, ConnectionInput, ConnectionsList, CrawlerTargets, CsvHeaderOption, CsvSerdeOption, CustomCode, CustomEntityType, DatabaseInput, DataQualityTargetTable, 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, TaskStatusType, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
4
4
|
import { ColumnStatistics, Compatibility, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, JobBookmarkEntry, PermissionType, PrincipalType, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionNumber, SchemaVersionStatus, Segment, Session, Statement, Table, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface GetUnfilteredPartitionMetadataRequest {
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
* <p>The catalog ID where the partition resides.</p>
|
|
12
|
+
*/
|
|
13
|
+
CatalogId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* <p>(Required) Specifies the name of a database that contains the partition.</p>
|
|
17
|
+
*/
|
|
18
|
+
DatabaseName: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* <p>(Required) Specifies the name of a table that contains the partition.</p>
|
|
22
|
+
*/
|
|
23
|
+
TableName: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>(Required) A list of partition key values.</p>
|
|
27
|
+
*/
|
|
28
|
+
PartitionValues: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* <p>A structure containing Lake Formation audit context information.</p>
|
|
32
|
+
*/
|
|
33
|
+
AuditContext?: AuditContext;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* <p>(Required) A list of supported permission types. </p>
|
|
37
|
+
*/
|
|
38
|
+
SupportedPermissionTypes: (PermissionType | string)[] | undefined;
|
|
39
|
+
}
|
|
5
40
|
/**
|
|
6
41
|
* @public
|
|
7
42
|
*/
|
|
@@ -3200,6 +3235,11 @@ export interface UpdateCsvClassifierRequest {
|
|
|
3200
3235
|
* <p>Specifies a list of supported custom datatypes.</p>
|
|
3201
3236
|
*/
|
|
3202
3237
|
CustomDatatypes?: string[];
|
|
3238
|
+
/**
|
|
3239
|
+
* @public
|
|
3240
|
+
* <p>Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are <code>OpenCSVSerDe</code>, <code>LazySimpleSerDe</code>, and <code>None</code>. You can specify the <code>None</code> value when you want the crawler to do the detection.</p>
|
|
3241
|
+
*/
|
|
3242
|
+
Serde?: CsvSerdeOption | string;
|
|
3203
3243
|
}
|
|
3204
3244
|
/**
|
|
3205
3245
|
* @public
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GlueClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
GetUnfilteredPartitionMetadataRequest,
|
|
16
|
+
GetUnfilteredPartitionMetadataResponse,
|
|
17
|
+
} from "../models/models_2";
|
|
16
18
|
export { __MetadataBearer, $Command };
|
|
17
19
|
export interface GetUnfilteredPartitionMetadataCommandInput
|
|
18
20
|
extends GetUnfilteredPartitionMetadataRequest {}
|
|
@@ -1854,6 +1854,13 @@ export declare const CsvHeaderOption: {
|
|
|
1854
1854
|
};
|
|
1855
1855
|
export type CsvHeaderOption =
|
|
1856
1856
|
(typeof CsvHeaderOption)[keyof typeof CsvHeaderOption];
|
|
1857
|
+
export declare const CsvSerdeOption: {
|
|
1858
|
+
readonly LazySimpleSerDe: "LazySimpleSerDe";
|
|
1859
|
+
readonly None: "None";
|
|
1860
|
+
readonly OpenCSVSerDe: "OpenCSVSerDe";
|
|
1861
|
+
};
|
|
1862
|
+
export type CsvSerdeOption =
|
|
1863
|
+
(typeof CsvSerdeOption)[keyof typeof CsvSerdeOption];
|
|
1857
1864
|
export interface CreateCsvClassifierRequest {
|
|
1858
1865
|
Name: string | undefined;
|
|
1859
1866
|
Delimiter?: string;
|
|
@@ -1864,6 +1871,7 @@ export interface CreateCsvClassifierRequest {
|
|
|
1864
1871
|
AllowSingleColumn?: boolean;
|
|
1865
1872
|
CustomDatatypeConfigured?: boolean;
|
|
1866
1873
|
CustomDatatypes?: string[];
|
|
1874
|
+
Serde?: CsvSerdeOption | string;
|
|
1867
1875
|
}
|
|
1868
1876
|
export interface CreateGrokClassifierRequest {
|
|
1869
1877
|
Classification: string | undefined;
|
|
@@ -2118,11 +2126,3 @@ export interface CreateDevEndpointResponse {
|
|
|
2118
2126
|
CreatedTimestamp?: Date;
|
|
2119
2127
|
Arguments?: Record<string, string>;
|
|
2120
2128
|
}
|
|
2121
|
-
export declare class ValidationException extends __BaseException {
|
|
2122
|
-
readonly name: "ValidationException";
|
|
2123
|
-
readonly $fault: "client";
|
|
2124
|
-
Message?: string;
|
|
2125
|
-
constructor(
|
|
2126
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
2127
|
-
);
|
|
2128
|
-
}
|
|
@@ -2,13 +2,13 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
3
|
import {
|
|
4
4
|
Action,
|
|
5
|
-
AuditContext,
|
|
6
5
|
Blueprint,
|
|
7
6
|
Column,
|
|
8
7
|
ConnectionsList,
|
|
9
8
|
ConnectionType,
|
|
10
9
|
Crawler,
|
|
11
10
|
CsvHeaderOption,
|
|
11
|
+
CsvSerdeOption,
|
|
12
12
|
DatabaseIdentifier,
|
|
13
13
|
DataFormat,
|
|
14
14
|
DataQualityRuleResult,
|
|
@@ -33,6 +33,14 @@ import {
|
|
|
33
33
|
TriggerType,
|
|
34
34
|
WorkerType,
|
|
35
35
|
} from "./models_0";
|
|
36
|
+
export declare class ValidationException extends __BaseException {
|
|
37
|
+
readonly name: "ValidationException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
Message?: string;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
36
44
|
export interface CreateJobResponse {
|
|
37
45
|
Name?: string;
|
|
38
46
|
}
|
|
@@ -651,6 +659,7 @@ export interface CsvClassifier {
|
|
|
651
659
|
AllowSingleColumn?: boolean;
|
|
652
660
|
CustomDatatypeConfigured?: boolean;
|
|
653
661
|
CustomDatatypes?: string[];
|
|
662
|
+
Serde?: CsvSerdeOption | string;
|
|
654
663
|
}
|
|
655
664
|
export interface GrokClassifier {
|
|
656
665
|
Name: string | undefined;
|
|
@@ -1628,11 +1637,3 @@ export declare const PermissionType: {
|
|
|
1628
1637
|
};
|
|
1629
1638
|
export type PermissionType =
|
|
1630
1639
|
(typeof PermissionType)[keyof typeof PermissionType];
|
|
1631
|
-
export interface GetUnfilteredPartitionMetadataRequest {
|
|
1632
|
-
CatalogId: string | undefined;
|
|
1633
|
-
DatabaseName: string | undefined;
|
|
1634
|
-
TableName: string | undefined;
|
|
1635
|
-
PartitionValues: string[] | undefined;
|
|
1636
|
-
AuditContext?: AuditContext;
|
|
1637
|
-
SupportedPermissionTypes: (PermissionType | string)[] | undefined;
|
|
1638
|
-
}
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
ConnectionsList,
|
|
18
18
|
CrawlerTargets,
|
|
19
19
|
CsvHeaderOption,
|
|
20
|
+
CsvSerdeOption,
|
|
20
21
|
CustomCode,
|
|
21
22
|
CustomEntityType,
|
|
22
23
|
DatabaseInput,
|
|
@@ -127,6 +128,14 @@ import {
|
|
|
127
128
|
TransformSortCriteria,
|
|
128
129
|
UserDefinedFunctionInput,
|
|
129
130
|
} from "./models_1";
|
|
131
|
+
export interface GetUnfilteredPartitionMetadataRequest {
|
|
132
|
+
CatalogId: string | undefined;
|
|
133
|
+
DatabaseName: string | undefined;
|
|
134
|
+
TableName: string | undefined;
|
|
135
|
+
PartitionValues: string[] | undefined;
|
|
136
|
+
AuditContext?: AuditContext;
|
|
137
|
+
SupportedPermissionTypes: (PermissionType | string)[] | undefined;
|
|
138
|
+
}
|
|
130
139
|
export interface GetUnfilteredPartitionMetadataResponse {
|
|
131
140
|
Partition?: Partition;
|
|
132
141
|
AuthorizedColumns?: string[];
|
|
@@ -919,6 +928,7 @@ export interface UpdateCsvClassifierRequest {
|
|
|
919
928
|
AllowSingleColumn?: boolean;
|
|
920
929
|
CustomDatatypeConfigured?: boolean;
|
|
921
930
|
CustomDatatypes?: string[];
|
|
931
|
+
Serde?: CsvSerdeOption | string;
|
|
922
932
|
}
|
|
923
933
|
export interface UpdateGrokClassifierRequest {
|
|
924
934
|
Name: string | undefined;
|
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.
|
|
4
|
+
"version": "3.392.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",
|