@aws-sdk/client-glue 3.354.0 → 3.357.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/protocols/Aws_json1_1.js +1 -7
- package/dist-es/protocols/Aws_json1_1.js +1 -7
- package/dist-types/GlueClient.d.ts +1 -1
- package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -0
- package/dist-types/commands/CreateTableCommand.d.ts +1 -0
- package/dist-types/commands/GetDatabaseCommand.d.ts +1 -0
- package/dist-types/commands/GetDatabasesCommand.d.ts +1 -0
- package/dist-types/commands/GetTableCommand.d.ts +1 -0
- package/dist-types/commands/GetTableVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetTableVersionsCommand.d.ts +1 -0
- package/dist-types/commands/GetTablesCommand.d.ts +1 -0
- package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +1 -0
- package/dist-types/commands/SearchTablesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/models/models_1.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +28 -28
|
@@ -12778,13 +12778,7 @@ const deserializeMetadata = (output) => ({
|
|
|
12778
12778
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
12779
12779
|
cfId: output.headers["x-amz-cf-id"],
|
|
12780
12780
|
});
|
|
12781
|
-
const
|
|
12782
|
-
if (streamBody instanceof Uint8Array) {
|
|
12783
|
-
return Promise.resolve(streamBody);
|
|
12784
|
-
}
|
|
12785
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
12786
|
-
};
|
|
12787
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
12781
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
12788
12782
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(GlueServiceException_1.GlueServiceException);
|
|
12789
12783
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
12790
12784
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, 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, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
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, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { GlueServiceException as __BaseException } from "../models/GlueServiceException";
|
|
4
4
|
import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, EntityNotFoundException, FederatedResourceAlreadyExistsException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, IdempotentParameterMismatchException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, ValidationException, } from "../models/models_0";
|
|
@@ -12363,12 +12363,6 @@ const deserializeMetadata = (output) => ({
|
|
|
12363
12363
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
12364
12364
|
cfId: output.headers["x-amz-cf-id"],
|
|
12365
12365
|
});
|
|
12366
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
12367
|
-
if (streamBody instanceof Uint8Array) {
|
|
12368
|
-
return Promise.resolve(streamBody);
|
|
12369
|
-
}
|
|
12370
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
12371
|
-
};
|
|
12372
12366
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
12373
12367
|
const throwDefaultError = withBaseException(__BaseException);
|
|
12374
12368
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -275,7 +275,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
275
275
|
*/
|
|
276
276
|
runtime?: string;
|
|
277
277
|
/**
|
|
278
|
-
* Disable
|
|
278
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
279
279
|
* trait of an operation.
|
|
280
280
|
*/
|
|
281
281
|
disableHostPrefix?: boolean;
|
|
@@ -52,6 +52,7 @@ export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __M
|
|
|
52
52
|
* TargetDatabase: { // DatabaseIdentifier
|
|
53
53
|
* CatalogId: "STRING_VALUE",
|
|
54
54
|
* DatabaseName: "STRING_VALUE",
|
|
55
|
+
* Region: "STRING_VALUE",
|
|
55
56
|
* },
|
|
56
57
|
* FederatedDatabase: { // FederatedDatabase
|
|
57
58
|
* Identifier: "STRING_VALUE",
|
|
@@ -114,6 +114,7 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
|
|
|
114
114
|
* CatalogId: "STRING_VALUE",
|
|
115
115
|
* DatabaseName: "STRING_VALUE",
|
|
116
116
|
* Name: "STRING_VALUE",
|
|
117
|
+
* Region: "STRING_VALUE",
|
|
117
118
|
* },
|
|
118
119
|
* },
|
|
119
120
|
* PartitionIndexes: [ // PartitionIndexList
|
|
@@ -58,6 +58,7 @@ export interface GetDatabaseCommandOutput extends GetDatabaseResponse, __Metadat
|
|
|
58
58
|
* // TargetDatabase: { // DatabaseIdentifier
|
|
59
59
|
* // CatalogId: "STRING_VALUE",
|
|
60
60
|
* // DatabaseName: "STRING_VALUE",
|
|
61
|
+
* // Region: "STRING_VALUE",
|
|
61
62
|
* // },
|
|
62
63
|
* // CatalogId: "STRING_VALUE",
|
|
63
64
|
* // FederatedDatabase: { // FederatedDatabase
|
|
@@ -61,6 +61,7 @@ export interface GetDatabasesCommandOutput extends GetDatabasesResponse, __Metad
|
|
|
61
61
|
* // TargetDatabase: { // DatabaseIdentifier
|
|
62
62
|
* // CatalogId: "STRING_VALUE",
|
|
63
63
|
* // DatabaseName: "STRING_VALUE",
|
|
64
|
+
* // Region: "STRING_VALUE",
|
|
64
65
|
* // },
|
|
65
66
|
* // CatalogId: "STRING_VALUE",
|
|
66
67
|
* // FederatedDatabase: { // FederatedDatabase
|
|
@@ -127,6 +127,7 @@ export interface GetTableCommandOutput extends GetTableResponse, __MetadataBeare
|
|
|
127
127
|
* // CatalogId: "STRING_VALUE",
|
|
128
128
|
* // DatabaseName: "STRING_VALUE",
|
|
129
129
|
* // Name: "STRING_VALUE",
|
|
130
|
+
* // Region: "STRING_VALUE",
|
|
130
131
|
* // },
|
|
131
132
|
* // CatalogId: "STRING_VALUE",
|
|
132
133
|
* // VersionId: "STRING_VALUE",
|
|
@@ -126,6 +126,7 @@ export interface GetTableVersionCommandOutput extends GetTableVersionResponse, _
|
|
|
126
126
|
* // CatalogId: "STRING_VALUE",
|
|
127
127
|
* // DatabaseName: "STRING_VALUE",
|
|
128
128
|
* // Name: "STRING_VALUE",
|
|
129
|
+
* // Region: "STRING_VALUE",
|
|
129
130
|
* // },
|
|
130
131
|
* // CatalogId: "STRING_VALUE",
|
|
131
132
|
* // VersionId: "STRING_VALUE",
|
|
@@ -129,6 +129,7 @@ export interface GetTableVersionsCommandOutput extends GetTableVersionsResponse,
|
|
|
129
129
|
* // CatalogId: "STRING_VALUE",
|
|
130
130
|
* // DatabaseName: "STRING_VALUE",
|
|
131
131
|
* // Name: "STRING_VALUE",
|
|
132
|
+
* // Region: "STRING_VALUE",
|
|
132
133
|
* // },
|
|
133
134
|
* // CatalogId: "STRING_VALUE",
|
|
134
135
|
* // VersionId: "STRING_VALUE",
|
|
@@ -130,6 +130,7 @@ export interface GetTablesCommandOutput extends GetTablesResponse, __MetadataBea
|
|
|
130
130
|
* // CatalogId: "STRING_VALUE",
|
|
131
131
|
* // DatabaseName: "STRING_VALUE",
|
|
132
132
|
* // Name: "STRING_VALUE",
|
|
133
|
+
* // Region: "STRING_VALUE",
|
|
133
134
|
* // },
|
|
134
135
|
* // CatalogId: "STRING_VALUE",
|
|
135
136
|
* // VersionId: "STRING_VALUE",
|
|
@@ -136,6 +136,7 @@ export interface GetUnfilteredTableMetadataCommandOutput extends GetUnfilteredTa
|
|
|
136
136
|
* // CatalogId: "STRING_VALUE",
|
|
137
137
|
* // DatabaseName: "STRING_VALUE",
|
|
138
138
|
* // Name: "STRING_VALUE",
|
|
139
|
+
* // Region: "STRING_VALUE",
|
|
139
140
|
* // },
|
|
140
141
|
* // CatalogId: "STRING_VALUE",
|
|
141
142
|
* // VersionId: "STRING_VALUE",
|
|
@@ -142,6 +142,7 @@ export interface SearchTablesCommandOutput extends SearchTablesResponse, __Metad
|
|
|
142
142
|
* // CatalogId: "STRING_VALUE",
|
|
143
143
|
* // DatabaseName: "STRING_VALUE",
|
|
144
144
|
* // Name: "STRING_VALUE",
|
|
145
|
+
* // Region: "STRING_VALUE",
|
|
145
146
|
* // },
|
|
146
147
|
* // CatalogId: "STRING_VALUE",
|
|
147
148
|
* // VersionId: "STRING_VALUE",
|
|
@@ -53,6 +53,7 @@ export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __M
|
|
|
53
53
|
* TargetDatabase: { // DatabaseIdentifier
|
|
54
54
|
* CatalogId: "STRING_VALUE",
|
|
55
55
|
* DatabaseName: "STRING_VALUE",
|
|
56
|
+
* Region: "STRING_VALUE",
|
|
56
57
|
* },
|
|
57
58
|
* FederatedDatabase: { // FederatedDatabase
|
|
58
59
|
* Identifier: "STRING_VALUE",
|
|
@@ -114,6 +114,7 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
114
114
|
* CatalogId: "STRING_VALUE",
|
|
115
115
|
* DatabaseName: "STRING_VALUE",
|
|
116
116
|
* Name: "STRING_VALUE",
|
|
117
|
+
* Region: "STRING_VALUE",
|
|
117
118
|
* },
|
|
118
119
|
* },
|
|
119
120
|
* SkipArchive: true || false,
|
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.357.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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|