@aws-sdk/client-lakeformation 3.968.0 → 3.970.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/README.md +7 -0
- package/dist-cjs/index.js +188 -108
- package/dist-es/LakeFormation.js +2 -0
- package/dist-es/commands/GetTemporaryDataLocationCredentialsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/models/errors.js +14 -0
- package/dist-es/schemas/schemas_0.js +144 -109
- package/dist-types/LakeFormation.d.ts +8 -0
- package/dist-types/LakeFormationClient.d.ts +3 -2
- package/dist-types/commands/DescribeResourceCommand.d.ts +2 -0
- package/dist-types/commands/GetTemporaryDataLocationCredentialsCommand.d.ts +132 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +2 -0
- package/dist-types/commands/RegisterResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/errors.d.ts +17 -0
- package/dist-types/models/models_0.d.ts +124 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/LakeFormation.d.ts +24 -0
- package/dist-types/ts3.4/LakeFormationClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetTemporaryDataLocationCredentialsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +34 -34
package/dist-es/LakeFormation.js
CHANGED
|
@@ -31,6 +31,7 @@ import { GetQueryStateCommand, } from "./commands/GetQueryStateCommand";
|
|
|
31
31
|
import { GetQueryStatisticsCommand, } from "./commands/GetQueryStatisticsCommand";
|
|
32
32
|
import { GetResourceLFTagsCommand, } from "./commands/GetResourceLFTagsCommand";
|
|
33
33
|
import { GetTableObjectsCommand, } from "./commands/GetTableObjectsCommand";
|
|
34
|
+
import { GetTemporaryDataLocationCredentialsCommand, } from "./commands/GetTemporaryDataLocationCredentialsCommand";
|
|
34
35
|
import { GetTemporaryGluePartitionCredentialsCommand, } from "./commands/GetTemporaryGluePartitionCredentialsCommand";
|
|
35
36
|
import { GetTemporaryGlueTableCredentialsCommand, } from "./commands/GetTemporaryGlueTableCredentialsCommand";
|
|
36
37
|
import { GetWorkUnitResultsCommand, } from "./commands/GetWorkUnitResultsCommand";
|
|
@@ -93,6 +94,7 @@ const commands = {
|
|
|
93
94
|
GetQueryStatisticsCommand,
|
|
94
95
|
GetResourceLFTagsCommand,
|
|
95
96
|
GetTableObjectsCommand,
|
|
97
|
+
GetTemporaryDataLocationCredentialsCommand,
|
|
96
98
|
GetTemporaryGluePartitionCredentialsCommand,
|
|
97
99
|
GetTemporaryGlueTableCredentialsCommand,
|
|
98
100
|
GetWorkUnitResultsCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTemporaryDataLocationCredentials$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTemporaryDataLocationCredentialsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSLakeFormation", "GetTemporaryDataLocationCredentials", {})
|
|
13
|
+
.n("LakeFormationClient", "GetTemporaryDataLocationCredentialsCommand")
|
|
14
|
+
.sc(GetTemporaryDataLocationCredentials$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -30,6 +30,7 @@ export * from "./GetQueryStateCommand";
|
|
|
30
30
|
export * from "./GetQueryStatisticsCommand";
|
|
31
31
|
export * from "./GetResourceLFTagsCommand";
|
|
32
32
|
export * from "./GetTableObjectsCommand";
|
|
33
|
+
export * from "./GetTemporaryDataLocationCredentialsCommand";
|
|
33
34
|
export * from "./GetTemporaryGluePartitionCredentialsCommand";
|
|
34
35
|
export * from "./GetTemporaryGlueTableCredentialsCommand";
|
|
35
36
|
export * from "./GetWorkUnitResultsCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -38,6 +38,11 @@ export const ServiceAuthorization = {
|
|
|
38
38
|
DISABLED: "DISABLED",
|
|
39
39
|
ENABLED: "ENABLED",
|
|
40
40
|
};
|
|
41
|
+
export const VerificationStatus = {
|
|
42
|
+
NOT_VERIFIED: "NOT_VERIFIED",
|
|
43
|
+
VERIFICATION_FAILED: "VERIFICATION_FAILED",
|
|
44
|
+
VERIFIED: "VERIFIED",
|
|
45
|
+
};
|
|
41
46
|
export const QueryStateString = {
|
|
42
47
|
ERROR: "ERROR",
|
|
43
48
|
EXPIRED: "EXPIRED",
|
|
@@ -45,6 +50,10 @@ export const QueryStateString = {
|
|
|
45
50
|
PENDING: "PENDING",
|
|
46
51
|
WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE",
|
|
47
52
|
};
|
|
53
|
+
export const CredentialsScope = {
|
|
54
|
+
READ: "READ",
|
|
55
|
+
READWRITE: "READWRITE",
|
|
56
|
+
};
|
|
48
57
|
export const PermissionType = {
|
|
49
58
|
CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
|
|
50
59
|
COLUMN_PERMISSION: "COLUMN_PERMISSION",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -226,6 +226,20 @@ export class GlueEncryptionException extends __BaseException {
|
|
|
226
226
|
this.Message = opts.Message;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
+
export class ConflictException extends __BaseException {
|
|
230
|
+
name = "ConflictException";
|
|
231
|
+
$fault = "client";
|
|
232
|
+
Message;
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "ConflictException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts,
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
240
|
+
this.Message = opts.Message;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
229
243
|
export class PermissionTypeMismatchException extends __BaseException {
|
|
230
244
|
name = "PermissionTypeMismatchException";
|
|
231
245
|
$fault = "client";
|