Skip to content

Commit 93b9ea7

Browse files
author
awstools
committed
feat(client-lakeformation): This release adds Lake Formation managed RAM support for the 4 APIs - "DescribeLakeFormationIdentityCenterConfiguration", "CreateLakeFormationIdentityCenterConfiguration", "DescribeLakeFormationIdentityCenterConfiguration", and "DeleteLakeFormationIdentityCenterConfiguration"
1 parent a126088 commit 93b9ea7

6 files changed

+84
-4
lines changed

clients/client-lakeformation/src/commands/CreateLakeFormationIdentityCenterConfigurationCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export interface CreateLakeFormationIdentityCenterConfigurationCommandOutput
5252
* "STRING_VALUE",
5353
* ],
5454
* },
55+
* ShareRecipients: [ // DataLakePrincipalList
56+
* { // DataLakePrincipal
57+
* DataLakePrincipalIdentifier: "STRING_VALUE",
58+
* },
59+
* ],
5560
* };
5661
* const command = new CreateLakeFormationIdentityCenterConfigurationCommand(input);
5762
* const response = await client.send(command);

clients/client-lakeformation/src/commands/DescribeLakeFormationIdentityCenterConfigurationCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ export interface DescribeLakeFormationIdentityCenterConfigurationCommandOutput
5858
* // "STRING_VALUE",
5959
* // ],
6060
* // },
61+
* // ShareRecipients: [ // DataLakePrincipalList
62+
* // { // DataLakePrincipal
63+
* // DataLakePrincipalIdentifier: "STRING_VALUE",
64+
* // },
65+
* // ],
66+
* // ResourceShare: "STRING_VALUE",
6167
* // };
6268
*
6369
* ```

clients/client-lakeformation/src/commands/UpdateLakeFormationIdentityCenterConfigurationCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ export interface UpdateLakeFormationIdentityCenterConfigurationCommandOutput
4545
* const client = new LakeFormationClient(config);
4646
* const input = { // UpdateLakeFormationIdentityCenterConfigurationRequest
4747
* CatalogId: "STRING_VALUE",
48+
* ShareRecipients: [ // DataLakePrincipalList
49+
* { // DataLakePrincipal
50+
* DataLakePrincipalIdentifier: "STRING_VALUE",
51+
* },
52+
* ],
4853
* ApplicationStatus: "ENABLED" || "DISABLED",
4954
* ExternalFiltering: { // ExternalFilteringConfiguration
5055
* Status: "ENABLED" || "DISABLED", // required

clients/client-lakeformation/src/models/models_0.ts

+38-2
Original file line numberDiff line numberDiff line change
@@ -1153,14 +1153,23 @@ export interface CreateLakeFormationIdentityCenterConfigurationRequest {
11531153
* @public
11541154
*/
11551155
ExternalFiltering?: ExternalFilteringConfiguration;
1156+
1157+
/**
1158+
* <p>A list of Amazon Web Services account IDs and/or Amazon Web Services organization/organizational unit ARNs
1159+
* that are allowed to access data managed by Lake Formation. </p>
1160+
* <p>If the <code>ShareRecipients</code> list includes valid values, a resource share is created with the principals you want to have access to the resources.</p>
1161+
* <p>If the <code>ShareRecipients</code> value is null or the list is empty, no resource share is created.</p>
1162+
* @public
1163+
*/
1164+
ShareRecipients?: DataLakePrincipal[];
11561165
}
11571166

11581167
/**
11591168
* @public
11601169
*/
11611170
export interface CreateLakeFormationIdentityCenterConfigurationResponse {
11621171
/**
1163-
* <p>The Amazon Resource Name (ARN) of the integrated application.</p>
1172+
* <p>The Amazon Resource Name (ARN) of the Lake Formation application integrated with IAM Identity Center.</p>
11641173
* @public
11651174
*/
11661175
ApplicationArn?: string;
@@ -1443,7 +1452,7 @@ export interface DescribeLakeFormationIdentityCenterConfigurationResponse {
14431452
InstanceArn?: string;
14441453

14451454
/**
1446-
* <p>The Amazon Resource Name (ARN) of the integrated application.</p>
1455+
* <p>The Amazon Resource Name (ARN) of the Lake Formation application integrated with IAM Identity Center.</p>
14471456
* @public
14481457
*/
14491458
ApplicationArn?: string;
@@ -1453,6 +1462,21 @@ export interface DescribeLakeFormationIdentityCenterConfigurationResponse {
14531462
* @public
14541463
*/
14551464
ExternalFiltering?: ExternalFilteringConfiguration;
1465+
1466+
/**
1467+
* <p>A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that
1468+
* are allowed to access data managed by Lake Formation. </p>
1469+
* <p>If the <code>ShareRecipients</code> list includes valid values, a resource share is created with the principals you want to have access to the resources as the <code>ShareRecipients</code>.</p>
1470+
* <p>If the <code>ShareRecipients</code> value is null or the list is empty, no resource share is created.</p>
1471+
* @public
1472+
*/
1473+
ShareRecipients?: DataLakePrincipal[];
1474+
1475+
/**
1476+
* <p>The Amazon Resource Name (ARN) of the RAM share.</p>
1477+
* @public
1478+
*/
1479+
ResourceShare?: string;
14561480
}
14571481

14581482
/**
@@ -3692,6 +3716,18 @@ export interface UpdateLakeFormationIdentityCenterConfigurationRequest {
36923716
*/
36933717
CatalogId?: string;
36943718

3719+
/**
3720+
* <p>A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that
3721+
* are allowed to access to access data managed by Lake Formation. </p>
3722+
* <p>If the <code>ShareRecipients</code> list includes valid values, then the resource share is updated with the principals you want to have access to the resources.</p>
3723+
* <p>If the <code>ShareRecipients</code> value is null, both the list of share recipients and
3724+
* the resource share remain unchanged.</p>
3725+
* <p>If the <code>ShareRecipients</code> value is an empty list, then the existing share
3726+
* recipients list will be cleared, and the resource share will be deleted.</p>
3727+
* @public
3728+
*/
3729+
ShareRecipients?: DataLakePrincipal[];
3730+
36953731
/**
36963732
* <p>Allows to enable or disable the IAM Identity Center connection.</p>
36973733
* @public

clients/client-lakeformation/src/protocols/Aws_restJson1.ts

+4
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ export const se_CreateLakeFormationIdentityCenterConfigurationCommand = async (
401401
CatalogId: [],
402402
ExternalFiltering: (_) => _json(_),
403403
InstanceArn: [],
404+
ShareRecipients: (_) => _json(_),
404405
})
405406
);
406407
b.m("POST").h(headers).b(body);
@@ -1456,6 +1457,7 @@ export const se_UpdateLakeFormationIdentityCenterConfigurationCommand = async (
14561457
ApplicationStatus: [],
14571458
CatalogId: [],
14581459
ExternalFiltering: (_) => _json(_),
1460+
ShareRecipients: (_) => _json(_),
14591461
})
14601462
);
14611463
b.m("POST").h(headers).b(body);
@@ -1881,6 +1883,8 @@ export const de_DescribeLakeFormationIdentityCenterConfigurationCommand = async
18811883
CatalogId: __expectString,
18821884
ExternalFiltering: _json,
18831885
InstanceArn: __expectString,
1886+
ResourceShare: __expectString,
1887+
ShareRecipients: _json,
18841888
});
18851889
Object.assign(contents, doc);
18861890
return contents;

codegen/sdk-codegen/aws-models/lakeformation.json

+26-2
Original file line numberDiff line numberDiff line change
@@ -2174,6 +2174,12 @@
21742174
"traits": {
21752175
"smithy.api#documentation": "<p>A list of the account IDs of Amazon Web Services accounts of third-party applications\n that are allowed to access data managed by Lake Formation.</p>"
21762176
}
2177+
},
2178+
"ShareRecipients": {
2179+
"target": "com.amazonaws.lakeformation#DataLakePrincipalList",
2180+
"traits": {
2181+
"smithy.api#documentation": "<p>A list of Amazon Web Services account IDs and/or Amazon Web Services organization/organizational unit ARNs\n that are allowed to access data managed by Lake Formation. </p>\n <p>If the <code>ShareRecipients</code> list includes valid values, a resource share is created with the principals you want to have access to the resources.</p>\n <p>If the <code>ShareRecipients</code> value is null or the list is empty, no resource share is created.</p>"
2182+
}
21772183
}
21782184
},
21792185
"traits": {
@@ -2186,7 +2192,7 @@
21862192
"ApplicationArn": {
21872193
"target": "com.amazonaws.lakeformation#ApplicationArn",
21882194
"traits": {
2189-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the integrated application.</p>"
2195+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Lake Formation application integrated with IAM Identity Center.</p>"
21902196
}
21912197
}
21922198
},
@@ -3070,14 +3076,26 @@
30703076
"ApplicationArn": {
30713077
"target": "com.amazonaws.lakeformation#ApplicationArn",
30723078
"traits": {
3073-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the integrated application.</p>"
3079+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Lake Formation application integrated with IAM Identity Center.</p>"
30743080
}
30753081
},
30763082
"ExternalFiltering": {
30773083
"target": "com.amazonaws.lakeformation#ExternalFilteringConfiguration",
30783084
"traits": {
30793085
"smithy.api#documentation": "<p>Indicates if external filtering is enabled.</p>"
30803086
}
3087+
},
3088+
"ShareRecipients": {
3089+
"target": "com.amazonaws.lakeformation#DataLakePrincipalList",
3090+
"traits": {
3091+
"smithy.api#documentation": "<p>A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that\n are allowed to access data managed by Lake Formation. </p>\n <p>If the <code>ShareRecipients</code> list includes valid values, a resource share is created with the principals you want to have access to the resources as the <code>ShareRecipients</code>.</p>\n <p>If the <code>ShareRecipients</code> value is null or the list is empty, no resource share is created.</p>"
3092+
}
3093+
},
3094+
"ResourceShare": {
3095+
"target": "com.amazonaws.lakeformation#RAMResourceShareArn",
3096+
"traits": {
3097+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the RAM share.</p>"
3098+
}
30813099
}
30823100
},
30833101
"traits": {
@@ -7778,6 +7796,12 @@
77787796
"smithy.api#documentation": "<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the\n persistent metadata store. It contains database definitions, table definitions, view\n definitions, and other control information to manage your Lake Formation\n environment.</p>"
77797797
}
77807798
},
7799+
"ShareRecipients": {
7800+
"target": "com.amazonaws.lakeformation#DataLakePrincipalList",
7801+
"traits": {
7802+
"smithy.api#documentation": "<p>A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that\n are allowed to access to access data managed by Lake Formation. </p>\n <p>If the <code>ShareRecipients</code> list includes valid values, then the resource share is updated with the principals you want to have access to the resources.</p>\n <p>If the <code>ShareRecipients</code> value is null, both the list of share recipients and\n the resource share remain unchanged.</p>\n <p>If the <code>ShareRecipients</code> value is an empty list, then the existing share\n recipients list will be cleared, and the resource share will be deleted.</p>"
7803+
}
7804+
},
77817805
"ApplicationStatus": {
77827806
"target": "com.amazonaws.lakeformation#ApplicationStatus",
77837807
"traits": {

0 commit comments

Comments
 (0)