@aws-sdk/client-lakeformation 3.209.0 → 3.210.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.
|
@@ -3537,6 +3537,7 @@ const serializeAws_restJson1DataLakeSettings = (input, context) => {
|
|
|
3537
3537
|
...(input.ExternalDataFilteringAllowList != null && {
|
|
3538
3538
|
ExternalDataFilteringAllowList: serializeAws_restJson1DataLakePrincipalList(input.ExternalDataFilteringAllowList, context),
|
|
3539
3539
|
}),
|
|
3540
|
+
...(input.Parameters != null && { Parameters: serializeAws_restJson1ParametersMap(input.Parameters, context) }),
|
|
3540
3541
|
...(input.TrustedResourceOwners != null && {
|
|
3541
3542
|
TrustedResourceOwners: serializeAws_restJson1TrustedResourceOwners(input.TrustedResourceOwners, context),
|
|
3542
3543
|
}),
|
|
@@ -3614,6 +3615,17 @@ const serializeAws_restJson1LFTagsList = (input, context) => {
|
|
|
3614
3615
|
return serializeAws_restJson1LFTagPair(entry, context);
|
|
3615
3616
|
});
|
|
3616
3617
|
};
|
|
3618
|
+
const serializeAws_restJson1ParametersMap = (input, context) => {
|
|
3619
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3620
|
+
if (value === null) {
|
|
3621
|
+
return acc;
|
|
3622
|
+
}
|
|
3623
|
+
return {
|
|
3624
|
+
...acc,
|
|
3625
|
+
[key]: value,
|
|
3626
|
+
};
|
|
3627
|
+
}, {});
|
|
3628
|
+
};
|
|
3617
3629
|
const serializeAws_restJson1PartitionValueList = (input, context) => {
|
|
3618
3630
|
return {
|
|
3619
3631
|
...(input.Values != null && { Values: serializeAws_restJson1ValueStringList(input.Values, context) }),
|
|
@@ -3970,6 +3982,7 @@ const deserializeAws_restJson1DataLakeSettings = (output, context) => {
|
|
|
3970
3982
|
ExternalDataFilteringAllowList: output.ExternalDataFilteringAllowList != null
|
|
3971
3983
|
? deserializeAws_restJson1DataLakePrincipalList(output.ExternalDataFilteringAllowList, context)
|
|
3972
3984
|
: undefined,
|
|
3985
|
+
Parameters: output.Parameters != null ? deserializeAws_restJson1ParametersMap(output.Parameters, context) : undefined,
|
|
3973
3986
|
TrustedResourceOwners: output.TrustedResourceOwners != null
|
|
3974
3987
|
? deserializeAws_restJson1TrustedResourceOwners(output.TrustedResourceOwners, context)
|
|
3975
3988
|
: undefined,
|
|
@@ -4067,6 +4080,17 @@ const deserializeAws_restJson1LFTagsList = (output, context) => {
|
|
|
4067
4080
|
});
|
|
4068
4081
|
return retVal;
|
|
4069
4082
|
};
|
|
4083
|
+
const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
4084
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4085
|
+
if (value === null) {
|
|
4086
|
+
return acc;
|
|
4087
|
+
}
|
|
4088
|
+
return {
|
|
4089
|
+
...acc,
|
|
4090
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
4091
|
+
};
|
|
4092
|
+
}, {});
|
|
4093
|
+
};
|
|
4070
4094
|
const deserializeAws_restJson1PartitionedTableObjectsList = (output, context) => {
|
|
4071
4095
|
const retVal = (output || [])
|
|
4072
4096
|
.filter((e) => e != null)
|
|
@@ -3443,6 +3443,7 @@ const serializeAws_restJson1DataLakeSettings = (input, context) => {
|
|
|
3443
3443
|
...(input.ExternalDataFilteringAllowList != null && {
|
|
3444
3444
|
ExternalDataFilteringAllowList: serializeAws_restJson1DataLakePrincipalList(input.ExternalDataFilteringAllowList, context),
|
|
3445
3445
|
}),
|
|
3446
|
+
...(input.Parameters != null && { Parameters: serializeAws_restJson1ParametersMap(input.Parameters, context) }),
|
|
3446
3447
|
...(input.TrustedResourceOwners != null && {
|
|
3447
3448
|
TrustedResourceOwners: serializeAws_restJson1TrustedResourceOwners(input.TrustedResourceOwners, context),
|
|
3448
3449
|
}),
|
|
@@ -3520,6 +3521,17 @@ const serializeAws_restJson1LFTagsList = (input, context) => {
|
|
|
3520
3521
|
return serializeAws_restJson1LFTagPair(entry, context);
|
|
3521
3522
|
});
|
|
3522
3523
|
};
|
|
3524
|
+
const serializeAws_restJson1ParametersMap = (input, context) => {
|
|
3525
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3526
|
+
if (value === null) {
|
|
3527
|
+
return acc;
|
|
3528
|
+
}
|
|
3529
|
+
return {
|
|
3530
|
+
...acc,
|
|
3531
|
+
[key]: value,
|
|
3532
|
+
};
|
|
3533
|
+
}, {});
|
|
3534
|
+
};
|
|
3523
3535
|
const serializeAws_restJson1PartitionValueList = (input, context) => {
|
|
3524
3536
|
return {
|
|
3525
3537
|
...(input.Values != null && { Values: serializeAws_restJson1ValueStringList(input.Values, context) }),
|
|
@@ -3876,6 +3888,7 @@ const deserializeAws_restJson1DataLakeSettings = (output, context) => {
|
|
|
3876
3888
|
ExternalDataFilteringAllowList: output.ExternalDataFilteringAllowList != null
|
|
3877
3889
|
? deserializeAws_restJson1DataLakePrincipalList(output.ExternalDataFilteringAllowList, context)
|
|
3878
3890
|
: undefined,
|
|
3891
|
+
Parameters: output.Parameters != null ? deserializeAws_restJson1ParametersMap(output.Parameters, context) : undefined,
|
|
3879
3892
|
TrustedResourceOwners: output.TrustedResourceOwners != null
|
|
3880
3893
|
? deserializeAws_restJson1TrustedResourceOwners(output.TrustedResourceOwners, context)
|
|
3881
3894
|
: undefined,
|
|
@@ -3973,6 +3986,17 @@ const deserializeAws_restJson1LFTagsList = (output, context) => {
|
|
|
3973
3986
|
});
|
|
3974
3987
|
return retVal;
|
|
3975
3988
|
};
|
|
3989
|
+
const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
3990
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3991
|
+
if (value === null) {
|
|
3992
|
+
return acc;
|
|
3993
|
+
}
|
|
3994
|
+
return {
|
|
3995
|
+
...acc,
|
|
3996
|
+
[key]: __expectString(value),
|
|
3997
|
+
};
|
|
3998
|
+
}, {});
|
|
3999
|
+
};
|
|
3976
4000
|
const deserializeAws_restJson1PartitionedTableObjectsList = (output, context) => {
|
|
3977
4001
|
const retVal = (output || [])
|
|
3978
4002
|
.filter((e) => e != null)
|
|
@@ -889,7 +889,7 @@ export interface DataLakeSettings {
|
|
|
889
889
|
*/
|
|
890
890
|
DataLakeAdmins?: DataLakePrincipal[];
|
|
891
891
|
/**
|
|
892
|
-
* <p>Specifies whether access control on newly created database is managed by Lake Formation permissions or exclusively by IAM permissions
|
|
892
|
+
* <p>Specifies whether access control on newly created database is managed by Lake Formation permissions or exclusively by IAM permissions.</p>
|
|
893
893
|
*
|
|
894
894
|
* <p>A null value indicates access control by Lake Formation permissions. A value that assigns ALL to IAM_ALLOWED_PRINCIPALS indicates access control by IAM permissions. This is referred to as the setting "Use only IAM access control," and is for backward compatibility with the Glue permission model implemented by IAM permissions.</p>
|
|
895
895
|
*
|
|
@@ -908,6 +908,10 @@ export interface DataLakeSettings {
|
|
|
908
908
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html">Changing the Default Security Settings for Your Data Lake</a>.</p>
|
|
909
909
|
*/
|
|
910
910
|
CreateTableDefaultPermissions?: PrincipalPermissions[];
|
|
911
|
+
/**
|
|
912
|
+
* <p>A key-value map that provides an additional configuration on your data lake. CrossAccountVersion is the key you can configure in the Parameters field. Accepted values for the CrossAccountVersion key are 1, 2, and 3.</p>
|
|
913
|
+
*/
|
|
914
|
+
Parameters?: Record<string, string>;
|
|
911
915
|
/**
|
|
912
916
|
* <p>A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's CloudTrail log.</p>
|
|
913
917
|
*
|
|
@@ -1828,7 +1832,7 @@ export interface RegisterResourceRequest {
|
|
|
1828
1832
|
/**
|
|
1829
1833
|
* <p>Designates an Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.</p>
|
|
1830
1834
|
*
|
|
1831
|
-
* <p>For more information, see <a href="https://docs
|
|
1835
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html">Using Service-Linked Roles for Lake Formation</a>.</p>
|
|
1832
1836
|
*/
|
|
1833
1837
|
UseServiceLinkedRole?: boolean;
|
|
1834
1838
|
/**
|
|
@@ -356,6 +356,7 @@ export interface DataLakeSettings {
|
|
|
356
356
|
DataLakeAdmins?: DataLakePrincipal[];
|
|
357
357
|
CreateDatabaseDefaultPermissions?: PrincipalPermissions[];
|
|
358
358
|
CreateTableDefaultPermissions?: PrincipalPermissions[];
|
|
359
|
+
Parameters?: Record<string, string>;
|
|
359
360
|
TrustedResourceOwners?: string[];
|
|
360
361
|
AllowExternalDataFiltering?: boolean;
|
|
361
362
|
ExternalDataFilteringAllowList?: DataLakePrincipal[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lakeformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.210.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.210.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.209.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.210.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.208.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.209.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-node": "3.209.0",
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.210.0",
|
|
50
50
|
"@aws-sdk/util-stream-browser": "3.208.0",
|
|
51
51
|
"@aws-sdk/util-stream-node": "3.208.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.208.0",
|