@aws-sdk/client-glue 3.303.0 → 3.305.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 +55 -12
- package/dist-cjs/models/models_1.js +12 -1
- package/dist-cjs/protocols/Aws_json1_1.js +126 -0
- package/dist-es/models/models_0.js +50 -10
- package/dist-es/models/models_1.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +127 -1
- package/dist-types/commands/BatchGetPartitionCommand.d.ts +5 -0
- package/dist-types/commands/CreateDatabaseCommand.d.ts +7 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
- package/dist-types/commands/CreateSchemaCommand.d.ts +1 -2
- package/dist-types/commands/GetDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/GetDatabasesCommand.d.ts +1 -1
- package/dist-types/commands/GetPartitionCommand.d.ts +5 -0
- package/dist-types/commands/GetPartitionsCommand.d.ts +5 -0
- package/dist-types/commands/GetTableCommand.d.ts +5 -0
- package/dist-types/commands/GetTablesCommand.d.ts +5 -0
- package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +6 -0
- package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +6 -0
- package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +6 -0
- package/dist-types/commands/GetWorkflowRunPropertiesCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkflowRunsCommand.d.ts +1 -1
- package/dist-types/commands/ImportCatalogToGlueCommand.d.ts +1 -1
- package/dist-types/commands/SearchTablesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +95 -139
- package/dist-types/models/models_1.d.ts +190 -76
- package/dist-types/models/models_2.d.ts +73 -3
- package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetWorkflowRunPropertiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetWorkflowRunsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ImportCatalogToGlueCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +48 -35
- package/dist-types/ts3.4/models/models_1.d.ts +44 -23
- package/dist-types/ts3.4/models/models_2.d.ts +24 -2
- package/package.json +1 -1
|
@@ -203,11 +203,11 @@ export interface AthenaConnectorSource {
|
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
205
|
* @public
|
|
206
|
-
* <p>A structure containing
|
|
206
|
+
* <p>A structure containing the Lake Formation audit context.</p>
|
|
207
207
|
*/
|
|
208
208
|
export interface AuditContext {
|
|
209
209
|
/**
|
|
210
|
-
* <p>
|
|
210
|
+
* <p>A string containing the additional audit context information.</p>
|
|
211
211
|
*/
|
|
212
212
|
AdditionalAuditContext?: string;
|
|
213
213
|
/**
|
|
@@ -504,6 +504,10 @@ export declare class EntityNotFoundException extends __BaseException {
|
|
|
504
504
|
* <p>A message describing the problem.</p>
|
|
505
505
|
*/
|
|
506
506
|
Message?: string;
|
|
507
|
+
/**
|
|
508
|
+
* <p>Indicates whether or not the exception relates to a federated source.</p>
|
|
509
|
+
*/
|
|
510
|
+
FromFederationSource?: boolean;
|
|
507
511
|
/**
|
|
508
512
|
* @internal
|
|
509
513
|
*/
|
|
@@ -552,6 +556,10 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
552
556
|
* <p>A message describing the problem.</p>
|
|
553
557
|
*/
|
|
554
558
|
Message?: string;
|
|
559
|
+
/**
|
|
560
|
+
* <p>Indicates whether or not the exception relates to a federated source.</p>
|
|
561
|
+
*/
|
|
562
|
+
FromFederationSource?: boolean;
|
|
555
563
|
/**
|
|
556
564
|
* @internal
|
|
557
565
|
*/
|
|
@@ -4501,6 +4509,53 @@ export interface BatchGetPartitionResponse {
|
|
|
4501
4509
|
*/
|
|
4502
4510
|
UnprocessedKeys?: PartitionValueList[];
|
|
4503
4511
|
}
|
|
4512
|
+
/**
|
|
4513
|
+
* @public
|
|
4514
|
+
* @enum
|
|
4515
|
+
*/
|
|
4516
|
+
export declare const FederationSourceErrorCode: {
|
|
4517
|
+
readonly InternalServiceException: "InternalServiceException";
|
|
4518
|
+
readonly InvalidResponseException: "InvalidResponseException";
|
|
4519
|
+
readonly OperationNotSupportedException: "OperationNotSupportedException";
|
|
4520
|
+
readonly OperationTimeoutException: "OperationTimeoutException";
|
|
4521
|
+
readonly ThrottlingException: "ThrottlingException";
|
|
4522
|
+
};
|
|
4523
|
+
/**
|
|
4524
|
+
* @public
|
|
4525
|
+
*/
|
|
4526
|
+
export type FederationSourceErrorCode = (typeof FederationSourceErrorCode)[keyof typeof FederationSourceErrorCode];
|
|
4527
|
+
/**
|
|
4528
|
+
* @public
|
|
4529
|
+
* <p>A federation source failed.</p>
|
|
4530
|
+
*/
|
|
4531
|
+
export declare class FederationSourceException extends __BaseException {
|
|
4532
|
+
readonly name: "FederationSourceException";
|
|
4533
|
+
readonly $fault: "client";
|
|
4534
|
+
/**
|
|
4535
|
+
* <p>The error code of the problem.</p>
|
|
4536
|
+
*/
|
|
4537
|
+
FederationSourceErrorCode?: FederationSourceErrorCode | string;
|
|
4538
|
+
/**
|
|
4539
|
+
* <p>The message describing the problem.</p>
|
|
4540
|
+
*/
|
|
4541
|
+
Message?: string;
|
|
4542
|
+
/**
|
|
4543
|
+
* @internal
|
|
4544
|
+
*/
|
|
4545
|
+
constructor(opts: __ExceptionOptionType<FederationSourceException, __BaseException>);
|
|
4546
|
+
}
|
|
4547
|
+
/**
|
|
4548
|
+
* @public
|
|
4549
|
+
*/
|
|
4550
|
+
export declare class FederationSourceRetryableException extends __BaseException {
|
|
4551
|
+
readonly name: "FederationSourceRetryableException";
|
|
4552
|
+
readonly $fault: "client";
|
|
4553
|
+
Message?: string;
|
|
4554
|
+
/**
|
|
4555
|
+
* @internal
|
|
4556
|
+
*/
|
|
4557
|
+
constructor(opts: __ExceptionOptionType<FederationSourceRetryableException, __BaseException>);
|
|
4558
|
+
}
|
|
4504
4559
|
/**
|
|
4505
4560
|
* @public
|
|
4506
4561
|
* <p>An error that indicates your data is in an invalid state.</p>
|
|
@@ -6099,6 +6154,20 @@ export interface PrincipalPermissions {
|
|
|
6099
6154
|
*/
|
|
6100
6155
|
Permissions?: (Permission | string)[];
|
|
6101
6156
|
}
|
|
6157
|
+
/**
|
|
6158
|
+
* @public
|
|
6159
|
+
* <p>A database that points to an entity outside the Glue Data Catalog.</p>
|
|
6160
|
+
*/
|
|
6161
|
+
export interface FederatedDatabase {
|
|
6162
|
+
/**
|
|
6163
|
+
* <p>A unique identifier for the federated database.</p>
|
|
6164
|
+
*/
|
|
6165
|
+
Identifier?: string;
|
|
6166
|
+
/**
|
|
6167
|
+
* <p>The name of the connection to the external metastore.</p>
|
|
6168
|
+
*/
|
|
6169
|
+
ConnectionName?: string;
|
|
6170
|
+
}
|
|
6102
6171
|
/**
|
|
6103
6172
|
* @public
|
|
6104
6173
|
* <p>A structure that describes a target database for resource linking.</p>
|
|
@@ -6145,6 +6214,10 @@ export interface DatabaseInput {
|
|
|
6145
6214
|
* <p>A <code>DatabaseIdentifier</code> structure that describes a target database for resource linking.</p>
|
|
6146
6215
|
*/
|
|
6147
6216
|
TargetDatabase?: DatabaseIdentifier;
|
|
6217
|
+
/**
|
|
6218
|
+
* <p>A <code>FederatedDatabase</code> structure that references an entity outside the Glue Data Catalog.</p>
|
|
6219
|
+
*/
|
|
6220
|
+
FederatedDatabase?: FederatedDatabase;
|
|
6148
6221
|
}
|
|
6149
6222
|
/**
|
|
6150
6223
|
* @public
|
|
@@ -6169,6 +6242,26 @@ export interface CreateDatabaseRequest {
|
|
|
6169
6242
|
*/
|
|
6170
6243
|
export interface CreateDatabaseResponse {
|
|
6171
6244
|
}
|
|
6245
|
+
/**
|
|
6246
|
+
* @public
|
|
6247
|
+
* <p>A federated resource already exists.</p>
|
|
6248
|
+
*/
|
|
6249
|
+
export declare class FederatedResourceAlreadyExistsException extends __BaseException {
|
|
6250
|
+
readonly name: "FederatedResourceAlreadyExistsException";
|
|
6251
|
+
readonly $fault: "client";
|
|
6252
|
+
/**
|
|
6253
|
+
* <p>The message describing the problem.</p>
|
|
6254
|
+
*/
|
|
6255
|
+
Message?: string;
|
|
6256
|
+
/**
|
|
6257
|
+
* <p>The associated Glue resource already exists.</p>
|
|
6258
|
+
*/
|
|
6259
|
+
AssociatedGlueResource?: string;
|
|
6260
|
+
/**
|
|
6261
|
+
* @internal
|
|
6262
|
+
*/
|
|
6263
|
+
constructor(opts: __ExceptionOptionType<FederatedResourceAlreadyExistsException, __BaseException>);
|
|
6264
|
+
}
|
|
6172
6265
|
/**
|
|
6173
6266
|
* @public
|
|
6174
6267
|
* <p>An object representing an Glue table.</p>
|
|
@@ -6751,140 +6844,3 @@ export interface CreatePartitionIndexRequest {
|
|
|
6751
6844
|
*/
|
|
6752
6845
|
export interface CreatePartitionIndexResponse {
|
|
6753
6846
|
}
|
|
6754
|
-
/**
|
|
6755
|
-
* @public
|
|
6756
|
-
*/
|
|
6757
|
-
export interface CreateRegistryInput {
|
|
6758
|
-
/**
|
|
6759
|
-
* <p>Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.</p>
|
|
6760
|
-
*/
|
|
6761
|
-
RegistryName: string | undefined;
|
|
6762
|
-
/**
|
|
6763
|
-
* <p>A description of the registry. If description is not provided, there will not be any default value for this.</p>
|
|
6764
|
-
*/
|
|
6765
|
-
Description?: string;
|
|
6766
|
-
/**
|
|
6767
|
-
* <p>Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.</p>
|
|
6768
|
-
*/
|
|
6769
|
-
Tags?: Record<string, string>;
|
|
6770
|
-
}
|
|
6771
|
-
/**
|
|
6772
|
-
* @public
|
|
6773
|
-
*/
|
|
6774
|
-
export interface CreateRegistryResponse {
|
|
6775
|
-
/**
|
|
6776
|
-
* <p>The Amazon Resource Name (ARN) of the newly created registry.</p>
|
|
6777
|
-
*/
|
|
6778
|
-
RegistryArn?: string;
|
|
6779
|
-
/**
|
|
6780
|
-
* <p>The name of the registry.</p>
|
|
6781
|
-
*/
|
|
6782
|
-
RegistryName?: string;
|
|
6783
|
-
/**
|
|
6784
|
-
* <p>A description of the registry.</p>
|
|
6785
|
-
*/
|
|
6786
|
-
Description?: string;
|
|
6787
|
-
/**
|
|
6788
|
-
* <p>The tags for the registry.</p>
|
|
6789
|
-
*/
|
|
6790
|
-
Tags?: Record<string, string>;
|
|
6791
|
-
}
|
|
6792
|
-
/**
|
|
6793
|
-
* @public
|
|
6794
|
-
* @enum
|
|
6795
|
-
*/
|
|
6796
|
-
export declare const Compatibility: {
|
|
6797
|
-
readonly BACKWARD: "BACKWARD";
|
|
6798
|
-
readonly BACKWARD_ALL: "BACKWARD_ALL";
|
|
6799
|
-
readonly DISABLED: "DISABLED";
|
|
6800
|
-
readonly FORWARD: "FORWARD";
|
|
6801
|
-
readonly FORWARD_ALL: "FORWARD_ALL";
|
|
6802
|
-
readonly FULL: "FULL";
|
|
6803
|
-
readonly FULL_ALL: "FULL_ALL";
|
|
6804
|
-
readonly NONE: "NONE";
|
|
6805
|
-
};
|
|
6806
|
-
/**
|
|
6807
|
-
* @public
|
|
6808
|
-
*/
|
|
6809
|
-
export type Compatibility = (typeof Compatibility)[keyof typeof Compatibility];
|
|
6810
|
-
/**
|
|
6811
|
-
* @public
|
|
6812
|
-
* <p>A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).</p>
|
|
6813
|
-
*/
|
|
6814
|
-
export interface RegistryId {
|
|
6815
|
-
/**
|
|
6816
|
-
* <p>Name of the registry. Used only for lookup. One of <code>RegistryArn</code> or <code>RegistryName</code> has to be provided. </p>
|
|
6817
|
-
*/
|
|
6818
|
-
RegistryName?: string;
|
|
6819
|
-
/**
|
|
6820
|
-
* <p>Arn of the registry to be updated. One of <code>RegistryArn</code> or <code>RegistryName</code> has to be provided.</p>
|
|
6821
|
-
*/
|
|
6822
|
-
RegistryArn?: string;
|
|
6823
|
-
}
|
|
6824
|
-
/**
|
|
6825
|
-
* @public
|
|
6826
|
-
*/
|
|
6827
|
-
export interface CreateSchemaInput {
|
|
6828
|
-
/**
|
|
6829
|
-
* <p> This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry will be used. The ARN format for the same will be: <code>arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id</code>.</p>
|
|
6830
|
-
*/
|
|
6831
|
-
RegistryId?: RegistryId;
|
|
6832
|
-
/**
|
|
6833
|
-
* <p>Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.</p>
|
|
6834
|
-
*/
|
|
6835
|
-
SchemaName: string | undefined;
|
|
6836
|
-
/**
|
|
6837
|
-
* <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
|
|
6838
|
-
*/
|
|
6839
|
-
DataFormat: DataFormat | string | undefined;
|
|
6840
|
-
/**
|
|
6841
|
-
* <p>The compatibility mode of the schema. The possible values are:</p>
|
|
6842
|
-
* <ul>
|
|
6843
|
-
* <li>
|
|
6844
|
-
* <p>
|
|
6845
|
-
* <i>NONE</i>: No compatibility mode applies. You can use this choice in development scenarios or if you do not know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without undergoing a compatibility check.</p>
|
|
6846
|
-
* </li>
|
|
6847
|
-
* <li>
|
|
6848
|
-
* <p>
|
|
6849
|
-
* <i>DISABLED</i>: This compatibility choice prevents versioning for a particular schema. You can use this choice to prevent future versioning of a schema.</p>
|
|
6850
|
-
* </li>
|
|
6851
|
-
* <li>
|
|
6852
|
-
* <p>
|
|
6853
|
-
* <i>BACKWARD</i>: This compatibility choice is recommended as it allows data receivers to read both the current and one previous schema version. This means that for instance, a new schema version cannot drop data fields or change the type of these fields, so they can't be read by readers using the previous version.</p>
|
|
6854
|
-
* </li>
|
|
6855
|
-
* <li>
|
|
6856
|
-
* <p>
|
|
6857
|
-
* <i>BACKWARD_ALL</i>: This compatibility choice allows data receivers to read both the current and all previous schema versions. You can use this choice when you need to delete fields or add optional fields, and check compatibility against all previous schema versions. </p>
|
|
6858
|
-
* </li>
|
|
6859
|
-
* <li>
|
|
6860
|
-
* <p>
|
|
6861
|
-
* <i>FORWARD</i>: This compatibility choice allows data receivers to read both the current and one next schema version, but not necessarily later versions. You can use this choice when you need to add fields or delete optional fields, but only check compatibility against the last schema version.</p>
|
|
6862
|
-
* </li>
|
|
6863
|
-
* <li>
|
|
6864
|
-
* <p>
|
|
6865
|
-
* <i>FORWARD_ALL</i>: This compatibility choice allows data receivers to read written by producers of any new registered schema. You can use this choice when you need to add fields or delete optional fields, and check compatibility against all previous schema versions.</p>
|
|
6866
|
-
* </li>
|
|
6867
|
-
* <li>
|
|
6868
|
-
* <p>
|
|
6869
|
-
* <i>FULL</i>: This compatibility choice allows data receivers to read data written by producers using the previous or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you need to add or remove optional fields, but only check compatibility against the last schema version.</p>
|
|
6870
|
-
* </li>
|
|
6871
|
-
* <li>
|
|
6872
|
-
* <p>
|
|
6873
|
-
* <i>FULL_ALL</i>: This compatibility choice allows data receivers to read data written by producers using all previous schema versions. You can use this choice when you need to add or remove optional fields, and check compatibility against all previous schema versions.</p>
|
|
6874
|
-
* </li>
|
|
6875
|
-
* </ul>
|
|
6876
|
-
*/
|
|
6877
|
-
Compatibility?: Compatibility | string;
|
|
6878
|
-
/**
|
|
6879
|
-
* <p>An optional description of the schema. If description is not provided, there will not be any automatic default value for this.</p>
|
|
6880
|
-
*/
|
|
6881
|
-
Description?: string;
|
|
6882
|
-
/**
|
|
6883
|
-
* <p>Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API. If specified, follows the Amazon Web Services tags-on-create pattern.</p>
|
|
6884
|
-
*/
|
|
6885
|
-
Tags?: Record<string, string>;
|
|
6886
|
-
/**
|
|
6887
|
-
* <p>The schema definition using the <code>DataFormat</code> setting for <code>SchemaName</code>.</p>
|
|
6888
|
-
*/
|
|
6889
|
-
SchemaDefinition?: string;
|
|
6890
|
-
}
|
|
@@ -1,6 +1,143 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { GlueServiceException as __BaseException } from "./GlueServiceException";
|
|
3
|
-
import { Action, AuditContext, Blueprint, Column,
|
|
3
|
+
import { Action, AuditContext, Blueprint, Column, ConnectionsList, ConnectionType, Crawler, CsvHeaderOption, DatabaseIdentifier, DataFormat, DataQualityRuleResult, DataQualityTargetTable, DataSource, DevEndpoint, ErrorDetail, EventBatchingCondition, FederatedDatabase, GlueTable, JobRun, Partition, PartitionIndex, PartitionValueList, PhysicalConnectionRequirements, Predicate, PrincipalPermissions, SchemaId, StorageDescriptor, TaskStatusType, TransformEncryption, TransformParameters, TransformType, Trigger, TriggerType, WorkerType, Workflow, WorkflowRun } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface CreateRegistryInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.</p>
|
|
10
|
+
*/
|
|
11
|
+
RegistryName: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>A description of the registry. If description is not provided, there will not be any default value for this.</p>
|
|
14
|
+
*/
|
|
15
|
+
Description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* <p>Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.</p>
|
|
18
|
+
*/
|
|
19
|
+
Tags?: Record<string, string>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface CreateRegistryResponse {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The Amazon Resource Name (ARN) of the newly created registry.</p>
|
|
27
|
+
*/
|
|
28
|
+
RegistryArn?: string;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The name of the registry.</p>
|
|
31
|
+
*/
|
|
32
|
+
RegistryName?: string;
|
|
33
|
+
/**
|
|
34
|
+
* <p>A description of the registry.</p>
|
|
35
|
+
*/
|
|
36
|
+
Description?: string;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The tags for the registry.</p>
|
|
39
|
+
*/
|
|
40
|
+
Tags?: Record<string, string>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const Compatibility: {
|
|
47
|
+
readonly BACKWARD: "BACKWARD";
|
|
48
|
+
readonly BACKWARD_ALL: "BACKWARD_ALL";
|
|
49
|
+
readonly DISABLED: "DISABLED";
|
|
50
|
+
readonly FORWARD: "FORWARD";
|
|
51
|
+
readonly FORWARD_ALL: "FORWARD_ALL";
|
|
52
|
+
readonly FULL: "FULL";
|
|
53
|
+
readonly FULL_ALL: "FULL_ALL";
|
|
54
|
+
readonly NONE: "NONE";
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export type Compatibility = (typeof Compatibility)[keyof typeof Compatibility];
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* <p>A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).</p>
|
|
63
|
+
*/
|
|
64
|
+
export interface RegistryId {
|
|
65
|
+
/**
|
|
66
|
+
* <p>Name of the registry. Used only for lookup. One of <code>RegistryArn</code> or <code>RegistryName</code> has to be provided. </p>
|
|
67
|
+
*/
|
|
68
|
+
RegistryName?: string;
|
|
69
|
+
/**
|
|
70
|
+
* <p>Arn of the registry to be updated. One of <code>RegistryArn</code> or <code>RegistryName</code> has to be provided.</p>
|
|
71
|
+
*/
|
|
72
|
+
RegistryArn?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface CreateSchemaInput {
|
|
78
|
+
/**
|
|
79
|
+
* <p> This is a wrapper shape to contain the registry identity fields. If this is not provided, the default registry will be used. The ARN format for the same will be: <code>arn:aws:glue:us-east-2:<customer id>:registry/default-registry:random-5-letter-id</code>.</p>
|
|
80
|
+
*/
|
|
81
|
+
RegistryId?: RegistryId;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.</p>
|
|
84
|
+
*/
|
|
85
|
+
SchemaName: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.</p>
|
|
88
|
+
*/
|
|
89
|
+
DataFormat: DataFormat | string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The compatibility mode of the schema. The possible values are:</p>
|
|
92
|
+
* <ul>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>
|
|
95
|
+
* <i>NONE</i>: No compatibility mode applies. You can use this choice in development scenarios or if you do not know the compatibility mode that you want to apply to schemas. Any new version added will be accepted without undergoing a compatibility check.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>
|
|
99
|
+
* <i>DISABLED</i>: This compatibility choice prevents versioning for a particular schema. You can use this choice to prevent future versioning of a schema.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>
|
|
103
|
+
* <i>BACKWARD</i>: This compatibility choice is recommended as it allows data receivers to read both the current and one previous schema version. This means that for instance, a new schema version cannot drop data fields or change the type of these fields, so they can't be read by readers using the previous version.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* <li>
|
|
106
|
+
* <p>
|
|
107
|
+
* <i>BACKWARD_ALL</i>: This compatibility choice allows data receivers to read both the current and all previous schema versions. You can use this choice when you need to delete fields or add optional fields, and check compatibility against all previous schema versions. </p>
|
|
108
|
+
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>
|
|
111
|
+
* <i>FORWARD</i>: This compatibility choice allows data receivers to read both the current and one next schema version, but not necessarily later versions. You can use this choice when you need to add fields or delete optional fields, but only check compatibility against the last schema version.</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>
|
|
115
|
+
* <i>FORWARD_ALL</i>: This compatibility choice allows data receivers to read written by producers of any new registered schema. You can use this choice when you need to add fields or delete optional fields, and check compatibility against all previous schema versions.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>
|
|
119
|
+
* <i>FULL</i>: This compatibility choice allows data receivers to read data written by producers using the previous or next version of the schema, but not necessarily earlier or later versions. You can use this choice when you need to add or remove optional fields, but only check compatibility against the last schema version.</p>
|
|
120
|
+
* </li>
|
|
121
|
+
* <li>
|
|
122
|
+
* <p>
|
|
123
|
+
* <i>FULL_ALL</i>: This compatibility choice allows data receivers to read data written by producers using all previous schema versions. You can use this choice when you need to add or remove optional fields, and check compatibility against all previous schema versions.</p>
|
|
124
|
+
* </li>
|
|
125
|
+
* </ul>
|
|
126
|
+
*/
|
|
127
|
+
Compatibility?: Compatibility | string;
|
|
128
|
+
/**
|
|
129
|
+
* <p>An optional description of the schema. If description is not provided, there will not be any automatic default value for this.</p>
|
|
130
|
+
*/
|
|
131
|
+
Description?: string;
|
|
132
|
+
/**
|
|
133
|
+
* <p>Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API. If specified, follows the Amazon Web Services tags-on-create pattern.</p>
|
|
134
|
+
*/
|
|
135
|
+
Tags?: Record<string, string>;
|
|
136
|
+
/**
|
|
137
|
+
* <p>The schema definition using the <code>DataFormat</code> setting for <code>SchemaName</code>.</p>
|
|
138
|
+
*/
|
|
139
|
+
SchemaDefinition?: string;
|
|
140
|
+
}
|
|
4
141
|
/**
|
|
5
142
|
* @public
|
|
6
143
|
* @enum
|
|
@@ -348,11 +485,19 @@ export interface CreateSessionRequest {
|
|
|
348
485
|
*/
|
|
349
486
|
Command: SessionCommand | undefined;
|
|
350
487
|
/**
|
|
351
|
-
* <p>
|
|
488
|
+
* <p>
|
|
489
|
+
* The number of minutes before session times out. Default for Spark ETL
|
|
490
|
+
* jobs is 48 hours (2880 minutes), the maximum session lifetime for this job type.
|
|
491
|
+
* Consult the documentation for other job types.
|
|
492
|
+
* </p>
|
|
352
493
|
*/
|
|
353
494
|
Timeout?: number;
|
|
354
495
|
/**
|
|
355
|
-
* <p>
|
|
496
|
+
* <p>
|
|
497
|
+
* The number of minutes when idle before session times out. Default for
|
|
498
|
+
* Spark ETL jobs is value of Timeout. Consult the documentation
|
|
499
|
+
* for other job types.
|
|
500
|
+
* </p>
|
|
356
501
|
*/
|
|
357
502
|
IdleTimeout?: number;
|
|
358
503
|
/**
|
|
@@ -2088,7 +2233,11 @@ export interface ColumnStatisticsData {
|
|
|
2088
2233
|
*/
|
|
2089
2234
|
DateColumnStatisticsData?: DateColumnStatisticsData;
|
|
2090
2235
|
/**
|
|
2091
|
-
* <p>
|
|
2236
|
+
* <p>
|
|
2237
|
+
* Decimal column statistics data. UnscaledValues within are Base64-encoded
|
|
2238
|
+
* binary objects storing big-endian, two's complement representations of
|
|
2239
|
+
* the decimal's unscaled value.
|
|
2240
|
+
* </p>
|
|
2092
2241
|
*/
|
|
2093
2242
|
DecimalColumnStatisticsData?: DecimalColumnStatisticsData;
|
|
2094
2243
|
/**
|
|
@@ -2184,7 +2333,7 @@ export interface GetColumnStatisticsForTableRequest {
|
|
|
2184
2333
|
*/
|
|
2185
2334
|
export interface GetColumnStatisticsForTableResponse {
|
|
2186
2335
|
/**
|
|
2187
|
-
* <p>List of ColumnStatistics
|
|
2336
|
+
* <p>List of ColumnStatistics.</p>
|
|
2188
2337
|
*/
|
|
2189
2338
|
ColumnStatisticsList?: ColumnStatistics[];
|
|
2190
2339
|
/**
|
|
@@ -2684,6 +2833,10 @@ export interface Database {
|
|
|
2684
2833
|
* <p>The ID of the Data Catalog in which the database resides.</p>
|
|
2685
2834
|
*/
|
|
2686
2835
|
CatalogId?: string;
|
|
2836
|
+
/**
|
|
2837
|
+
* <p>A <code>FederatedDatabase</code> structure that references an entity outside the Glue Data Catalog.</p>
|
|
2838
|
+
*/
|
|
2839
|
+
FederatedDatabase?: FederatedDatabase;
|
|
2687
2840
|
}
|
|
2688
2841
|
/**
|
|
2689
2842
|
* @public
|
|
@@ -2700,6 +2853,7 @@ export interface GetDatabaseResponse {
|
|
|
2700
2853
|
*/
|
|
2701
2854
|
export declare const ResourceShareType: {
|
|
2702
2855
|
readonly ALL: "ALL";
|
|
2856
|
+
readonly FEDERATED: "FEDERATED";
|
|
2703
2857
|
readonly FOREIGN: "FOREIGN";
|
|
2704
2858
|
};
|
|
2705
2859
|
/**
|
|
@@ -2724,9 +2878,12 @@ export interface GetDatabasesRequest {
|
|
|
2724
2878
|
*/
|
|
2725
2879
|
MaxResults?: number;
|
|
2726
2880
|
/**
|
|
2727
|
-
* <p>Allows you to specify that you want to list the databases shared with your account. The allowable values are <code>FOREIGN</code> or <code>ALL</code>. </p>
|
|
2881
|
+
* <p>Allows you to specify that you want to list the databases shared with your account. The allowable values are <code>FEDERATED</code>, <code>FOREIGN</code> or <code>ALL</code>. </p>
|
|
2728
2882
|
* <ul>
|
|
2729
2883
|
* <li>
|
|
2884
|
+
* <p>If set to <code>FEDERATED</code>, will list the federated databases (referencing an external entity) shared with your account.</p>
|
|
2885
|
+
* </li>
|
|
2886
|
+
* <li>
|
|
2730
2887
|
* <p>If set to <code>FOREIGN</code>, will list the databases shared with your account. </p>
|
|
2731
2888
|
* </li>
|
|
2732
2889
|
* <li>
|
|
@@ -5173,6 +5330,24 @@ export interface GetTableRequest {
|
|
|
5173
5330
|
*/
|
|
5174
5331
|
QueryAsOfTime?: Date;
|
|
5175
5332
|
}
|
|
5333
|
+
/**
|
|
5334
|
+
* @public
|
|
5335
|
+
* <p>A table that points to an entity outside the Glue Data Catalog.</p>
|
|
5336
|
+
*/
|
|
5337
|
+
export interface FederatedTable {
|
|
5338
|
+
/**
|
|
5339
|
+
* <p>A unique identifier for the federated table.</p>
|
|
5340
|
+
*/
|
|
5341
|
+
Identifier?: string;
|
|
5342
|
+
/**
|
|
5343
|
+
* <p>A unique identifier for the federated database.</p>
|
|
5344
|
+
*/
|
|
5345
|
+
DatabaseIdentifier?: string;
|
|
5346
|
+
/**
|
|
5347
|
+
* <p>The name of the connection to the external metastore.</p>
|
|
5348
|
+
*/
|
|
5349
|
+
ConnectionName?: string;
|
|
5350
|
+
}
|
|
5176
5351
|
/**
|
|
5177
5352
|
* @public
|
|
5178
5353
|
* <p>Represents a collection of related data organized in columns and rows.</p>
|
|
@@ -5285,6 +5460,10 @@ export interface Table {
|
|
|
5285
5460
|
* <p>The ID of the table version.</p>
|
|
5286
5461
|
*/
|
|
5287
5462
|
VersionId?: string;
|
|
5463
|
+
/**
|
|
5464
|
+
* <p>A <code>FederatedTable</code> structure that references an entity outside the Glue Data Catalog.</p>
|
|
5465
|
+
*/
|
|
5466
|
+
FederatedTable?: FederatedTable;
|
|
5288
5467
|
}
|
|
5289
5468
|
/**
|
|
5290
5469
|
* @public
|
|
@@ -5564,10 +5743,15 @@ export interface GetUnfilteredPartitionMetadataResponse {
|
|
|
5564
5743
|
}
|
|
5565
5744
|
/**
|
|
5566
5745
|
* @public
|
|
5746
|
+
* <p>The operation timed out.</p>
|
|
5567
5747
|
*/
|
|
5568
5748
|
export declare class PermissionTypeMismatchException extends __BaseException {
|
|
5569
5749
|
readonly name: "PermissionTypeMismatchException";
|
|
5570
5750
|
readonly $fault: "client";
|
|
5751
|
+
/**
|
|
5752
|
+
* <p>There is a mismatch between the SupportedPermissionType used in the query request
|
|
5753
|
+
* and the permissions defined on the target table.</p>
|
|
5754
|
+
*/
|
|
5571
5755
|
Message?: string;
|
|
5572
5756
|
/**
|
|
5573
5757
|
* @internal
|
|
@@ -5965,73 +6149,3 @@ export interface GetWorkflowRunResponse {
|
|
|
5965
6149
|
*/
|
|
5966
6150
|
Run?: WorkflowRun;
|
|
5967
6151
|
}
|
|
5968
|
-
/**
|
|
5969
|
-
* @public
|
|
5970
|
-
*/
|
|
5971
|
-
export interface GetWorkflowRunPropertiesRequest {
|
|
5972
|
-
/**
|
|
5973
|
-
* <p>Name of the workflow which was run.</p>
|
|
5974
|
-
*/
|
|
5975
|
-
Name: string | undefined;
|
|
5976
|
-
/**
|
|
5977
|
-
* <p>The ID of the workflow run whose run properties should be returned.</p>
|
|
5978
|
-
*/
|
|
5979
|
-
RunId: string | undefined;
|
|
5980
|
-
}
|
|
5981
|
-
/**
|
|
5982
|
-
* @public
|
|
5983
|
-
*/
|
|
5984
|
-
export interface GetWorkflowRunPropertiesResponse {
|
|
5985
|
-
/**
|
|
5986
|
-
* <p>The workflow run properties which were set during the specified run.</p>
|
|
5987
|
-
*/
|
|
5988
|
-
RunProperties?: Record<string, string>;
|
|
5989
|
-
}
|
|
5990
|
-
/**
|
|
5991
|
-
* @public
|
|
5992
|
-
*/
|
|
5993
|
-
export interface GetWorkflowRunsRequest {
|
|
5994
|
-
/**
|
|
5995
|
-
* <p>Name of the workflow whose metadata of runs should be returned.</p>
|
|
5996
|
-
*/
|
|
5997
|
-
Name: string | undefined;
|
|
5998
|
-
/**
|
|
5999
|
-
* <p>Specifies whether to include the workflow graph in response or not.</p>
|
|
6000
|
-
*/
|
|
6001
|
-
IncludeGraph?: boolean;
|
|
6002
|
-
/**
|
|
6003
|
-
* <p>The maximum size of the response.</p>
|
|
6004
|
-
*/
|
|
6005
|
-
NextToken?: string;
|
|
6006
|
-
/**
|
|
6007
|
-
* <p>The maximum number of workflow runs to be included in the response.</p>
|
|
6008
|
-
*/
|
|
6009
|
-
MaxResults?: number;
|
|
6010
|
-
}
|
|
6011
|
-
/**
|
|
6012
|
-
* @public
|
|
6013
|
-
*/
|
|
6014
|
-
export interface GetWorkflowRunsResponse {
|
|
6015
|
-
/**
|
|
6016
|
-
* <p>A list of workflow run metadata objects.</p>
|
|
6017
|
-
*/
|
|
6018
|
-
Runs?: WorkflowRun[];
|
|
6019
|
-
/**
|
|
6020
|
-
* <p>A continuation token, if not all requested workflow runs have been returned.</p>
|
|
6021
|
-
*/
|
|
6022
|
-
NextToken?: string;
|
|
6023
|
-
}
|
|
6024
|
-
/**
|
|
6025
|
-
* @public
|
|
6026
|
-
*/
|
|
6027
|
-
export interface ImportCatalogToGlueRequest {
|
|
6028
|
-
/**
|
|
6029
|
-
* <p>The ID of the catalog to import. Currently, this should be the Amazon Web Services account ID.</p>
|
|
6030
|
-
*/
|
|
6031
|
-
CatalogId?: string;
|
|
6032
|
-
}
|
|
6033
|
-
/**
|
|
6034
|
-
* @public
|
|
6035
|
-
*/
|
|
6036
|
-
export interface ImportCatalogToGlueResponse {
|
|
6037
|
-
}
|