@aws-sdk/client-lakeformation 3.758.0 → 3.772.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/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AddLFTagsToResourceCommand: () => AddLFTagsToResourceCommand,
26
26
  AlreadyExistsException: () => AlreadyExistsException,
@@ -134,7 +134,7 @@ __export(src_exports, {
134
134
  paginateSearchDatabasesByLFTags: () => paginateSearchDatabasesByLFTags,
135
135
  paginateSearchTablesByLFTags: () => paginateSearchTablesByLFTags
136
136
  });
137
- module.exports = __toCommonJS(src_exports);
137
+ module.exports = __toCommonJS(index_exports);
138
138
 
139
139
  // src/LakeFormationClient.ts
140
140
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -261,9 +261,9 @@ var LakeFormationClient = class extends import_smithy_client.Client {
261
261
  this.middlewareStack.use(
262
262
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
263
263
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultLakeFormationHttpAuthSchemeParametersProvider,
264
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
264
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
265
265
  "aws.auth#sigv4": config.credentials
266
- })
266
+ }), "identityProviderConfigProvider")
267
267
  })
268
268
  );
269
269
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -865,8 +865,8 @@ var se_AddLFTagsToResourceCommand = /* @__PURE__ */ __name(async (input, context
865
865
  body = JSON.stringify(
866
866
  (0, import_smithy_client.take)(input, {
867
867
  CatalogId: [],
868
- LFTags: (_) => (0, import_smithy_client._json)(_),
869
- Resource: (_) => (0, import_smithy_client._json)(_)
868
+ LFTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LFTags"),
869
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
870
870
  })
871
871
  );
872
872
  b.m("POST").h(headers).b(body);
@@ -900,7 +900,7 @@ var se_BatchGrantPermissionsCommand = /* @__PURE__ */ __name(async (input, conte
900
900
  body = JSON.stringify(
901
901
  (0, import_smithy_client.take)(input, {
902
902
  CatalogId: [],
903
- Entries: (_) => (0, import_smithy_client._json)(_)
903
+ Entries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Entries")
904
904
  })
905
905
  );
906
906
  b.m("POST").h(headers).b(body);
@@ -916,7 +916,7 @@ var se_BatchRevokePermissionsCommand = /* @__PURE__ */ __name(async (input, cont
916
916
  body = JSON.stringify(
917
917
  (0, import_smithy_client.take)(input, {
918
918
  CatalogId: [],
919
- Entries: (_) => (0, import_smithy_client._json)(_)
919
+ Entries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Entries")
920
920
  })
921
921
  );
922
922
  b.m("POST").h(headers).b(body);
@@ -961,7 +961,7 @@ var se_CreateDataCellsFilterCommand = /* @__PURE__ */ __name(async (input, conte
961
961
  let body;
962
962
  body = JSON.stringify(
963
963
  (0, import_smithy_client.take)(input, {
964
- TableData: (_) => (0, import_smithy_client._json)(_)
964
+ TableData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TableData")
965
965
  })
966
966
  );
967
967
  b.m("POST").h(headers).b(body);
@@ -977,9 +977,9 @@ var se_CreateLakeFormationIdentityCenterConfigurationCommand = /* @__PURE__ */ _
977
977
  body = JSON.stringify(
978
978
  (0, import_smithy_client.take)(input, {
979
979
  CatalogId: [],
980
- ExternalFiltering: (_) => (0, import_smithy_client._json)(_),
980
+ ExternalFiltering: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ExternalFiltering"),
981
981
  InstanceArn: [],
982
- ShareRecipients: (_) => (0, import_smithy_client._json)(_)
982
+ ShareRecipients: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ShareRecipients")
983
983
  })
984
984
  );
985
985
  b.m("POST").h(headers).b(body);
@@ -994,8 +994,9 @@ var se_CreateLakeFormationOptInCommand = /* @__PURE__ */ __name(async (input, co
994
994
  let body;
995
995
  body = JSON.stringify(
996
996
  (0, import_smithy_client.take)(input, {
997
- Principal: (_) => (0, import_smithy_client._json)(_),
998
- Resource: (_) => (0, import_smithy_client._json)(_)
997
+ Condition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Condition"),
998
+ Principal: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principal"),
999
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
999
1000
  })
1000
1001
  );
1001
1002
  b.m("POST").h(headers).b(body);
@@ -1012,7 +1013,7 @@ var se_CreateLFTagCommand = /* @__PURE__ */ __name(async (input, context) => {
1012
1013
  (0, import_smithy_client.take)(input, {
1013
1014
  CatalogId: [],
1014
1015
  TagKey: [],
1015
- TagValues: (_) => (0, import_smithy_client._json)(_)
1016
+ TagValues: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagValues")
1016
1017
  })
1017
1018
  );
1018
1019
  b.m("POST").h(headers).b(body);
@@ -1029,7 +1030,7 @@ var se_CreateLFTagExpressionCommand = /* @__PURE__ */ __name(async (input, conte
1029
1030
  (0, import_smithy_client.take)(input, {
1030
1031
  CatalogId: [],
1031
1032
  Description: [],
1032
- Expression: (_) => (0, import_smithy_client._json)(_),
1033
+ Expression: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Expression"),
1033
1034
  Name: []
1034
1035
  })
1035
1036
  );
@@ -1078,8 +1079,9 @@ var se_DeleteLakeFormationOptInCommand = /* @__PURE__ */ __name(async (input, co
1078
1079
  let body;
1079
1080
  body = JSON.stringify(
1080
1081
  (0, import_smithy_client.take)(input, {
1081
- Principal: (_) => (0, import_smithy_client._json)(_),
1082
- Resource: (_) => (0, import_smithy_client._json)(_)
1082
+ Condition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Condition"),
1083
+ Principal: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principal"),
1084
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
1083
1085
  })
1084
1086
  );
1085
1087
  b.m("POST").h(headers).b(body);
@@ -1128,7 +1130,7 @@ var se_DeleteObjectsOnCancelCommand = /* @__PURE__ */ __name(async (input, conte
1128
1130
  (0, import_smithy_client.take)(input, {
1129
1131
  CatalogId: [],
1130
1132
  DatabaseName: [],
1131
- Objects: (_) => (0, import_smithy_client._json)(_),
1133
+ Objects: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Objects"),
1132
1134
  TableName: [],
1133
1135
  TransactionId: []
1134
1136
  })
@@ -1358,7 +1360,7 @@ var se_GetResourceLFTagsCommand = /* @__PURE__ */ __name(async (input, context)
1358
1360
  body = JSON.stringify(
1359
1361
  (0, import_smithy_client.take)(input, {
1360
1362
  CatalogId: [],
1361
- Resource: (_) => (0, import_smithy_client._json)(_),
1363
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource"),
1362
1364
  ShowAssignedLFTags: []
1363
1365
  })
1364
1366
  );
@@ -1379,7 +1381,7 @@ var se_GetTableObjectsCommand = /* @__PURE__ */ __name(async (input, context) =>
1379
1381
  MaxResults: [],
1380
1382
  NextToken: [],
1381
1383
  PartitionPredicate: [],
1382
- QueryAsOfTime: (_) => _.getTime() / 1e3,
1384
+ QueryAsOfTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "QueryAsOfTime"),
1383
1385
  TableName: [],
1384
1386
  TransactionId: []
1385
1387
  })
@@ -1396,11 +1398,11 @@ var se_GetTemporaryGluePartitionCredentialsCommand = /* @__PURE__ */ __name(asyn
1396
1398
  let body;
1397
1399
  body = JSON.stringify(
1398
1400
  (0, import_smithy_client.take)(input, {
1399
- AuditContext: (_) => (0, import_smithy_client._json)(_),
1401
+ AuditContext: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AuditContext"),
1400
1402
  DurationSeconds: [],
1401
- Partition: (_) => (0, import_smithy_client._json)(_),
1402
- Permissions: (_) => (0, import_smithy_client._json)(_),
1403
- SupportedPermissionTypes: (_) => (0, import_smithy_client._json)(_),
1403
+ Partition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Partition"),
1404
+ Permissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Permissions"),
1405
+ SupportedPermissionTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SupportedPermissionTypes"),
1404
1406
  TableArn: []
1405
1407
  })
1406
1408
  );
@@ -1416,12 +1418,12 @@ var se_GetTemporaryGlueTableCredentialsCommand = /* @__PURE__ */ __name(async (i
1416
1418
  let body;
1417
1419
  body = JSON.stringify(
1418
1420
  (0, import_smithy_client.take)(input, {
1419
- AuditContext: (_) => (0, import_smithy_client._json)(_),
1421
+ AuditContext: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AuditContext"),
1420
1422
  DurationSeconds: [],
1421
- Permissions: (_) => (0, import_smithy_client._json)(_),
1422
- QuerySessionContext: (_) => se_QuerySessionContext(_, context),
1423
+ Permissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Permissions"),
1424
+ QuerySessionContext: /* @__PURE__ */ __name((_) => se_QuerySessionContext(_, context), "QuerySessionContext"),
1423
1425
  S3Path: [],
1424
- SupportedPermissionTypes: (_) => (0, import_smithy_client._json)(_),
1426
+ SupportedPermissionTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SupportedPermissionTypes"),
1425
1427
  TableArn: []
1426
1428
  })
1427
1429
  );
@@ -1488,10 +1490,11 @@ var se_GrantPermissionsCommand = /* @__PURE__ */ __name(async (input, context) =
1488
1490
  body = JSON.stringify(
1489
1491
  (0, import_smithy_client.take)(input, {
1490
1492
  CatalogId: [],
1491
- Permissions: (_) => (0, import_smithy_client._json)(_),
1492
- PermissionsWithGrantOption: (_) => (0, import_smithy_client._json)(_),
1493
- Principal: (_) => (0, import_smithy_client._json)(_),
1494
- Resource: (_) => (0, import_smithy_client._json)(_)
1493
+ Condition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Condition"),
1494
+ Permissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Permissions"),
1495
+ PermissionsWithGrantOption: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PermissionsWithGrantOption"),
1496
+ Principal: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principal"),
1497
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
1495
1498
  })
1496
1499
  );
1497
1500
  b.m("POST").h(headers).b(body);
@@ -1508,7 +1511,7 @@ var se_ListDataCellsFilterCommand = /* @__PURE__ */ __name(async (input, context
1508
1511
  (0, import_smithy_client.take)(input, {
1509
1512
  MaxResults: [],
1510
1513
  NextToken: [],
1511
- Table: (_) => (0, import_smithy_client._json)(_)
1514
+ Table: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Table")
1512
1515
  })
1513
1516
  );
1514
1517
  b.m("POST").h(headers).b(body);
@@ -1525,8 +1528,8 @@ var se_ListLakeFormationOptInsCommand = /* @__PURE__ */ __name(async (input, con
1525
1528
  (0, import_smithy_client.take)(input, {
1526
1529
  MaxResults: [],
1527
1530
  NextToken: [],
1528
- Principal: (_) => (0, import_smithy_client._json)(_),
1529
- Resource: (_) => (0, import_smithy_client._json)(_)
1531
+ Principal: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principal"),
1532
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
1530
1533
  })
1531
1534
  );
1532
1535
  b.m("POST").h(headers).b(body);
@@ -1580,8 +1583,8 @@ var se_ListPermissionsCommand = /* @__PURE__ */ __name(async (input, context) =>
1580
1583
  IncludeRelated: [],
1581
1584
  MaxResults: [],
1582
1585
  NextToken: [],
1583
- Principal: (_) => (0, import_smithy_client._json)(_),
1584
- Resource: (_) => (0, import_smithy_client._json)(_),
1586
+ Principal: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principal"),
1587
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource"),
1585
1588
  ResourceType: []
1586
1589
  })
1587
1590
  );
@@ -1597,7 +1600,7 @@ var se_ListResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
1597
1600
  let body;
1598
1601
  body = JSON.stringify(
1599
1602
  (0, import_smithy_client.take)(input, {
1600
- FilterConditionList: (_) => (0, import_smithy_client._json)(_),
1603
+ FilterConditionList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FilterConditionList"),
1601
1604
  MaxResults: [],
1602
1605
  NextToken: []
1603
1606
  })
@@ -1653,7 +1656,7 @@ var se_PutDataLakeSettingsCommand = /* @__PURE__ */ __name(async (input, context
1653
1656
  body = JSON.stringify(
1654
1657
  (0, import_smithy_client.take)(input, {
1655
1658
  CatalogId: [],
1656
- DataLakeSettings: (_) => (0, import_smithy_client._json)(_)
1659
+ DataLakeSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DataLakeSettings")
1657
1660
  })
1658
1661
  );
1659
1662
  b.m("POST").h(headers).b(body);
@@ -1672,7 +1675,8 @@ var se_RegisterResourceCommand = /* @__PURE__ */ __name(async (input, context) =
1672
1675
  ResourceArn: [],
1673
1676
  RoleArn: [],
1674
1677
  UseServiceLinkedRole: [],
1675
- WithFederation: []
1678
+ WithFederation: [],
1679
+ WithPrivilegedAccess: []
1676
1680
  })
1677
1681
  );
1678
1682
  b.m("POST").h(headers).b(body);
@@ -1688,8 +1692,8 @@ var se_RemoveLFTagsFromResourceCommand = /* @__PURE__ */ __name(async (input, co
1688
1692
  body = JSON.stringify(
1689
1693
  (0, import_smithy_client.take)(input, {
1690
1694
  CatalogId: [],
1691
- LFTags: (_) => (0, import_smithy_client._json)(_),
1692
- Resource: (_) => (0, import_smithy_client._json)(_)
1695
+ LFTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LFTags"),
1696
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
1693
1697
  })
1694
1698
  );
1695
1699
  b.m("POST").h(headers).b(body);
@@ -1705,10 +1709,11 @@ var se_RevokePermissionsCommand = /* @__PURE__ */ __name(async (input, context)
1705
1709
  body = JSON.stringify(
1706
1710
  (0, import_smithy_client.take)(input, {
1707
1711
  CatalogId: [],
1708
- Permissions: (_) => (0, import_smithy_client._json)(_),
1709
- PermissionsWithGrantOption: (_) => (0, import_smithy_client._json)(_),
1710
- Principal: (_) => (0, import_smithy_client._json)(_),
1711
- Resource: (_) => (0, import_smithy_client._json)(_)
1712
+ Condition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Condition"),
1713
+ Permissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Permissions"),
1714
+ PermissionsWithGrantOption: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PermissionsWithGrantOption"),
1715
+ Principal: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principal"),
1716
+ Resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resource")
1712
1717
  })
1713
1718
  );
1714
1719
  b.m("POST").h(headers).b(body);
@@ -1724,7 +1729,7 @@ var se_SearchDatabasesByLFTagsCommand = /* @__PURE__ */ __name(async (input, con
1724
1729
  body = JSON.stringify(
1725
1730
  (0, import_smithy_client.take)(input, {
1726
1731
  CatalogId: [],
1727
- Expression: (_) => (0, import_smithy_client._json)(_),
1732
+ Expression: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Expression"),
1728
1733
  MaxResults: [],
1729
1734
  NextToken: []
1730
1735
  })
@@ -1742,7 +1747,7 @@ var se_SearchTablesByLFTagsCommand = /* @__PURE__ */ __name(async (input, contex
1742
1747
  body = JSON.stringify(
1743
1748
  (0, import_smithy_client.take)(input, {
1744
1749
  CatalogId: [],
1745
- Expression: (_) => (0, import_smithy_client._json)(_),
1750
+ Expression: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Expression"),
1746
1751
  MaxResults: [],
1747
1752
  NextToken: []
1748
1753
  })
@@ -1759,7 +1764,7 @@ var se_StartQueryPlanningCommand = /* @__PURE__ */ __name(async (input, context)
1759
1764
  let body;
1760
1765
  body = JSON.stringify(
1761
1766
  (0, import_smithy_client.take)(input, {
1762
- QueryPlanningContext: (_) => se_QueryPlanningContext(_, context),
1767
+ QueryPlanningContext: /* @__PURE__ */ __name((_) => se_QueryPlanningContext(_, context), "QueryPlanningContext"),
1763
1768
  QueryString: []
1764
1769
  })
1765
1770
  );
@@ -1798,7 +1803,7 @@ var se_UpdateDataCellsFilterCommand = /* @__PURE__ */ __name(async (input, conte
1798
1803
  let body;
1799
1804
  body = JSON.stringify(
1800
1805
  (0, import_smithy_client.take)(input, {
1801
- TableData: (_) => (0, import_smithy_client._json)(_)
1806
+ TableData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TableData")
1802
1807
  })
1803
1808
  );
1804
1809
  b.m("POST").h(headers).b(body);
@@ -1815,8 +1820,8 @@ var se_UpdateLakeFormationIdentityCenterConfigurationCommand = /* @__PURE__ */ _
1815
1820
  (0, import_smithy_client.take)(input, {
1816
1821
  ApplicationStatus: [],
1817
1822
  CatalogId: [],
1818
- ExternalFiltering: (_) => (0, import_smithy_client._json)(_),
1819
- ShareRecipients: (_) => (0, import_smithy_client._json)(_)
1823
+ ExternalFiltering: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ExternalFiltering"),
1824
+ ShareRecipients: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ShareRecipients")
1820
1825
  })
1821
1826
  );
1822
1827
  b.m("POST").h(headers).b(body);
@@ -1833,8 +1838,8 @@ var se_UpdateLFTagCommand = /* @__PURE__ */ __name(async (input, context) => {
1833
1838
  (0, import_smithy_client.take)(input, {
1834
1839
  CatalogId: [],
1835
1840
  TagKey: [],
1836
- TagValuesToAdd: (_) => (0, import_smithy_client._json)(_),
1837
- TagValuesToDelete: (_) => (0, import_smithy_client._json)(_)
1841
+ TagValuesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagValuesToAdd"),
1842
+ TagValuesToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagValuesToDelete")
1838
1843
  })
1839
1844
  );
1840
1845
  b.m("POST").h(headers).b(body);
@@ -1851,7 +1856,7 @@ var se_UpdateLFTagExpressionCommand = /* @__PURE__ */ __name(async (input, conte
1851
1856
  (0, import_smithy_client.take)(input, {
1852
1857
  CatalogId: [],
1853
1858
  Description: [],
1854
- Expression: (_) => (0, import_smithy_client._json)(_),
1859
+ Expression: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Expression"),
1855
1860
  Name: []
1856
1861
  })
1857
1862
  );
@@ -1889,7 +1894,7 @@ var se_UpdateTableObjectsCommand = /* @__PURE__ */ __name(async (input, context)
1889
1894
  DatabaseName: [],
1890
1895
  TableName: [],
1891
1896
  TransactionId: [],
1892
- WriteOperations: (_) => (0, import_smithy_client._json)(_)
1897
+ WriteOperations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "WriteOperations")
1893
1898
  })
1894
1899
  );
1895
1900
  b.m("POST").h(headers).b(body);
@@ -1906,7 +1911,7 @@ var se_UpdateTableStorageOptimizerCommand = /* @__PURE__ */ __name(async (input,
1906
1911
  (0, import_smithy_client.take)(input, {
1907
1912
  CatalogId: [],
1908
1913
  DatabaseName: [],
1909
- StorageOptimizerConfig: (_) => (0, import_smithy_client._json)(_),
1914
+ StorageOptimizerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StorageOptimizerConfig"),
1910
1915
  TableName: []
1911
1916
  })
1912
1917
  );
@@ -1937,7 +1942,7 @@ var de_AssumeDecoratedRoleWithSAMLCommand = /* @__PURE__ */ __name(async (output
1937
1942
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1938
1943
  const doc = (0, import_smithy_client.take)(data, {
1939
1944
  AccessKeyId: import_smithy_client.expectString,
1940
- Expiration: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1945
+ Expiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Expiration"),
1941
1946
  SecretAccessKey: import_smithy_client.expectString,
1942
1947
  SessionToken: import_smithy_client.expectString
1943
1948
  });
@@ -2148,7 +2153,7 @@ var de_DescribeResourceCommand = /* @__PURE__ */ __name(async (output, context)
2148
2153
  });
2149
2154
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2150
2155
  const doc = (0, import_smithy_client.take)(data, {
2151
- ResourceInfo: (_) => de_ResourceInfo(_, context)
2156
+ ResourceInfo: /* @__PURE__ */ __name((_) => de_ResourceInfo(_, context), "ResourceInfo")
2152
2157
  });
2153
2158
  Object.assign(contents, doc);
2154
2159
  return contents;
@@ -2162,7 +2167,7 @@ var de_DescribeTransactionCommand = /* @__PURE__ */ __name(async (output, contex
2162
2167
  });
2163
2168
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2164
2169
  const doc = (0, import_smithy_client.take)(data, {
2165
- TransactionDescription: (_) => de_TransactionDescription(_, context)
2170
+ TransactionDescription: /* @__PURE__ */ __name((_) => de_TransactionDescription(_, context), "TransactionDescription")
2166
2171
  });
2167
2172
  Object.assign(contents, doc);
2168
2173
  return contents;
@@ -2229,7 +2234,7 @@ var de_GetEffectivePermissionsForPathCommand = /* @__PURE__ */ __name(async (out
2229
2234
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2230
2235
  const doc = (0, import_smithy_client.take)(data, {
2231
2236
  NextToken: import_smithy_client.expectString,
2232
- Permissions: (_) => de_PrincipalResourcePermissionsList(_, context)
2237
+ Permissions: /* @__PURE__ */ __name((_) => de_PrincipalResourcePermissionsList(_, context), "Permissions")
2233
2238
  });
2234
2239
  Object.assign(contents, doc);
2235
2240
  return contents;
@@ -2293,7 +2298,7 @@ var de_GetQueryStatisticsCommand = /* @__PURE__ */ __name(async (output, context
2293
2298
  const doc = (0, import_smithy_client.take)(data, {
2294
2299
  ExecutionStatistics: import_smithy_client._json,
2295
2300
  PlanningStatistics: import_smithy_client._json,
2296
- QuerySubmissionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2301
+ QuerySubmissionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "QuerySubmissionTime")
2297
2302
  });
2298
2303
  Object.assign(contents, doc);
2299
2304
  return contents;
@@ -2339,7 +2344,7 @@ var de_GetTemporaryGluePartitionCredentialsCommand = /* @__PURE__ */ __name(asyn
2339
2344
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2340
2345
  const doc = (0, import_smithy_client.take)(data, {
2341
2346
  AccessKeyId: import_smithy_client.expectString,
2342
- Expiration: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2347
+ Expiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Expiration"),
2343
2348
  SecretAccessKey: import_smithy_client.expectString,
2344
2349
  SessionToken: import_smithy_client.expectString
2345
2350
  });
@@ -2356,7 +2361,7 @@ var de_GetTemporaryGlueTableCredentialsCommand = /* @__PURE__ */ __name(async (o
2356
2361
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2357
2362
  const doc = (0, import_smithy_client.take)(data, {
2358
2363
  AccessKeyId: import_smithy_client.expectString,
2359
- Expiration: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2364
+ Expiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Expiration"),
2360
2365
  SecretAccessKey: import_smithy_client.expectString,
2361
2366
  SessionToken: import_smithy_client.expectString,
2362
2367
  VendedS3Path: import_smithy_client._json
@@ -2426,7 +2431,7 @@ var de_ListLakeFormationOptInsCommand = /* @__PURE__ */ __name(async (output, co
2426
2431
  });
2427
2432
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2428
2433
  const doc = (0, import_smithy_client.take)(data, {
2429
- LakeFormationOptInsInfoList: (_) => de_LakeFormationOptInsInfoList(_, context),
2434
+ LakeFormationOptInsInfoList: /* @__PURE__ */ __name((_) => de_LakeFormationOptInsInfoList(_, context), "LakeFormationOptInsInfoList"),
2430
2435
  NextToken: import_smithy_client.expectString
2431
2436
  });
2432
2437
  Object.assign(contents, doc);
@@ -2472,7 +2477,7 @@ var de_ListPermissionsCommand = /* @__PURE__ */ __name(async (output, context) =
2472
2477
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2473
2478
  const doc = (0, import_smithy_client.take)(data, {
2474
2479
  NextToken: import_smithy_client.expectString,
2475
- PrincipalResourcePermissions: (_) => de_PrincipalResourcePermissionsList(_, context)
2480
+ PrincipalResourcePermissions: /* @__PURE__ */ __name((_) => de_PrincipalResourcePermissionsList(_, context), "PrincipalResourcePermissions")
2476
2481
  });
2477
2482
  Object.assign(contents, doc);
2478
2483
  return contents;
@@ -2487,7 +2492,7 @@ var de_ListResourcesCommand = /* @__PURE__ */ __name(async (output, context) =>
2487
2492
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2488
2493
  const doc = (0, import_smithy_client.take)(data, {
2489
2494
  NextToken: import_smithy_client.expectString,
2490
- ResourceInfoList: (_) => de_ResourceInfoList(_, context)
2495
+ ResourceInfoList: /* @__PURE__ */ __name((_) => de_ResourceInfoList(_, context), "ResourceInfoList")
2491
2496
  });
2492
2497
  Object.assign(contents, doc);
2493
2498
  return contents;
@@ -2517,7 +2522,7 @@ var de_ListTransactionsCommand = /* @__PURE__ */ __name(async (output, context)
2517
2522
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2518
2523
  const doc = (0, import_smithy_client.take)(data, {
2519
2524
  NextToken: import_smithy_client.expectString,
2520
- Transactions: (_) => de_TransactionDescriptionList(_, context)
2525
+ Transactions: /* @__PURE__ */ __name((_) => de_TransactionDescriptionList(_, context), "Transactions")
2521
2526
  });
2522
2527
  Object.assign(contents, doc);
2523
2528
  return contents;
@@ -3007,7 +3012,7 @@ var se_QueryPlanningContext = /* @__PURE__ */ __name((input, context) => {
3007
3012
  return (0, import_smithy_client.take)(input, {
3008
3013
  CatalogId: [],
3009
3014
  DatabaseName: [],
3010
- QueryAsOfTime: (_) => _.getTime() / 1e3,
3015
+ QueryAsOfTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "QueryAsOfTime"),
3011
3016
  QueryParameters: import_smithy_client._json,
3012
3017
  TransactionId: []
3013
3018
  });
@@ -3018,13 +3023,13 @@ var se_QuerySessionContext = /* @__PURE__ */ __name((input, context) => {
3018
3023
  ClusterId: [],
3019
3024
  QueryAuthorizationId: [],
3020
3025
  QueryId: [],
3021
- QueryStartTime: (_) => _.getTime() / 1e3
3026
+ QueryStartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "QueryStartTime")
3022
3027
  });
3023
3028
  }, "se_QuerySessionContext");
3024
3029
  var de_LakeFormationOptInsInfo = /* @__PURE__ */ __name((output, context) => {
3025
3030
  return (0, import_smithy_client.take)(output, {
3026
3031
  Condition: import_smithy_client._json,
3027
- LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3032
+ LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModified"),
3028
3033
  LastUpdatedBy: import_smithy_client.expectString,
3029
3034
  Principal: import_smithy_client._json,
3030
3035
  Resource: import_smithy_client._json
@@ -3040,7 +3045,7 @@ var de_PrincipalResourcePermissions = /* @__PURE__ */ __name((output, context) =
3040
3045
  return (0, import_smithy_client.take)(output, {
3041
3046
  AdditionalDetails: import_smithy_client._json,
3042
3047
  Condition: import_smithy_client._json,
3043
- LastUpdated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3048
+ LastUpdated: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdated"),
3044
3049
  LastUpdatedBy: import_smithy_client.expectString,
3045
3050
  Permissions: import_smithy_client._json,
3046
3051
  PermissionsWithGrantOption: import_smithy_client._json,
@@ -3057,10 +3062,11 @@ var de_PrincipalResourcePermissionsList = /* @__PURE__ */ __name((output, contex
3057
3062
  var de_ResourceInfo = /* @__PURE__ */ __name((output, context) => {
3058
3063
  return (0, import_smithy_client.take)(output, {
3059
3064
  HybridAccessEnabled: import_smithy_client.expectBoolean,
3060
- LastModified: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3065
+ LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModified"),
3061
3066
  ResourceArn: import_smithy_client.expectString,
3062
3067
  RoleArn: import_smithy_client.expectString,
3063
- WithFederation: import_smithy_client.expectBoolean
3068
+ WithFederation: import_smithy_client.expectBoolean,
3069
+ WithPrivilegedAccess: import_smithy_client.expectBoolean
3064
3070
  });
3065
3071
  }, "de_ResourceInfo");
3066
3072
  var de_ResourceInfoList = /* @__PURE__ */ __name((output, context) => {
@@ -3071,9 +3077,9 @@ var de_ResourceInfoList = /* @__PURE__ */ __name((output, context) => {
3071
3077
  }, "de_ResourceInfoList");
3072
3078
  var de_TransactionDescription = /* @__PURE__ */ __name((output, context) => {
3073
3079
  return (0, import_smithy_client.take)(output, {
3074
- TransactionEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3080
+ TransactionEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TransactionEndTime"),
3075
3081
  TransactionId: import_smithy_client.expectString,
3076
- TransactionStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3082
+ TransactionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TransactionStartTime"),
3077
3083
  TransactionStatus: import_smithy_client.expectString
3078
3084
  });
3079
3085
  }, "de_TransactionDescription");
@@ -126,6 +126,7 @@ export const se_CreateLakeFormationOptInCommand = async (input, context) => {
126
126
  b.bp("/CreateLakeFormationOptIn");
127
127
  let body;
128
128
  body = JSON.stringify(take(input, {
129
+ Condition: (_) => _json(_),
129
130
  Principal: (_) => _json(_),
130
131
  Resource: (_) => _json(_),
131
132
  }));
@@ -200,6 +201,7 @@ export const se_DeleteLakeFormationOptInCommand = async (input, context) => {
200
201
  b.bp("/DeleteLakeFormationOptIn");
201
202
  let body;
202
203
  body = JSON.stringify(take(input, {
204
+ Condition: (_) => _json(_),
203
205
  Principal: (_) => _json(_),
204
206
  Resource: (_) => _json(_),
205
207
  }));
@@ -566,6 +568,7 @@ export const se_GrantPermissionsCommand = async (input, context) => {
566
568
  let body;
567
569
  body = JSON.stringify(take(input, {
568
570
  CatalogId: [],
571
+ Condition: (_) => _json(_),
569
572
  Permissions: (_) => _json(_),
570
573
  PermissionsWithGrantOption: (_) => _json(_),
571
574
  Principal: (_) => _json(_),
@@ -731,6 +734,7 @@ export const se_RegisterResourceCommand = async (input, context) => {
731
734
  RoleArn: [],
732
735
  UseServiceLinkedRole: [],
733
736
  WithFederation: [],
737
+ WithPrivilegedAccess: [],
734
738
  }));
735
739
  b.m("POST").h(headers).b(body);
736
740
  return b.build();
@@ -759,6 +763,7 @@ export const se_RevokePermissionsCommand = async (input, context) => {
759
763
  let body;
760
764
  body = JSON.stringify(take(input, {
761
765
  CatalogId: [],
766
+ Condition: (_) => _json(_),
762
767
  Permissions: (_) => _json(_),
763
768
  PermissionsWithGrantOption: (_) => _json(_),
764
769
  Principal: (_) => _json(_),
@@ -2096,6 +2101,7 @@ const de_ResourceInfo = (output, context) => {
2096
2101
  ResourceArn: __expectString,
2097
2102
  RoleArn: __expectString,
2098
2103
  WithFederation: __expectBoolean,
2104
+ WithPrivilegedAccess: __expectBoolean,
2099
2105
  });
2100
2106
  };
2101
2107
  const de_ResourceInfoList = (output, context) => {
@@ -107,6 +107,9 @@ declare const BatchGrantPermissionsCommand_base: {
107
107
  * Permissions: [ // PermissionList
108
108
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
109
109
  * ],
110
+ * Condition: { // Condition
111
+ * Expression: "STRING_VALUE",
112
+ * },
110
113
  * PermissionsWithGrantOption: [
111
114
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
112
115
  * ],
@@ -188,6 +191,9 @@ declare const BatchGrantPermissionsCommand_base: {
188
191
  * // Permissions: [ // PermissionList
189
192
  * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
190
193
  * // ],
194
+ * // Condition: { // Condition
195
+ * // Expression: "STRING_VALUE",
196
+ * // },
191
197
  * // PermissionsWithGrantOption: [
192
198
  * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
193
199
  * // ],
@@ -107,6 +107,9 @@ declare const BatchRevokePermissionsCommand_base: {
107
107
  * Permissions: [ // PermissionList
108
108
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
109
109
  * ],
110
+ * Condition: { // Condition
111
+ * Expression: "STRING_VALUE",
112
+ * },
110
113
  * PermissionsWithGrantOption: [
111
114
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
112
115
  * ],
@@ -188,6 +191,9 @@ declare const BatchRevokePermissionsCommand_base: {
188
191
  * // Permissions: [ // PermissionList
189
192
  * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
190
193
  * // ],
194
+ * // Condition: { // Condition
195
+ * // Expression: "STRING_VALUE",
196
+ * // },
191
197
  * // PermissionsWithGrantOption: [
192
198
  * // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
193
199
  * // ],
@@ -100,6 +100,9 @@ declare const CreateLakeFormationOptInCommand_base: {
100
100
  * Name: "STRING_VALUE", // required
101
101
  * },
102
102
  * },
103
+ * Condition: { // Condition
104
+ * Expression: "STRING_VALUE",
105
+ * },
103
106
  * };
104
107
  * const command = new CreateLakeFormationOptInCommand(input);
105
108
  * const response = await client.send(command);
@@ -131,6 +134,9 @@ declare const CreateLakeFormationOptInCommand_base: {
131
134
  * @throws {@link OperationTimeoutException} (client fault)
132
135
  * <p>The operation timed out.</p>
133
136
  *
137
+ * @throws {@link ResourceNumberLimitExceededException} (client fault)
138
+ * <p>A resource numerical limit was exceeded.</p>
139
+ *
134
140
  * @throws {@link LakeFormationServiceException}
135
141
  * <p>Base exception class for all service exceptions from LakeFormation service.</p>
136
142
  *
@@ -100,6 +100,9 @@ declare const DeleteLakeFormationOptInCommand_base: {
100
100
  * Name: "STRING_VALUE", // required
101
101
  * },
102
102
  * },
103
+ * Condition: { // Condition
104
+ * Expression: "STRING_VALUE",
105
+ * },
103
106
  * };
104
107
  * const command = new DeleteLakeFormationOptInCommand(input);
105
108
  * const response = await client.send(command);
@@ -46,6 +46,7 @@ declare const DescribeResourceCommand_base: {
46
46
  * // LastModified: new Date("TIMESTAMP"),
47
47
  * // WithFederation: true || false,
48
48
  * // HybridAccessEnabled: true || false,
49
+ * // WithPrivilegedAccess: true || false,
49
50
  * // },
50
51
  * // };
51
52
  *
@@ -105,6 +105,9 @@ declare const GrantPermissionsCommand_base: {
105
105
  * Permissions: [ // PermissionList // required
106
106
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
107
107
  * ],
108
+ * Condition: { // Condition
109
+ * Expression: "STRING_VALUE",
110
+ * },
108
111
  * PermissionsWithGrantOption: [
109
112
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
110
113
  * ],
@@ -57,6 +57,7 @@ declare const ListResourcesCommand_base: {
57
57
  * // LastModified: new Date("TIMESTAMP"),
58
58
  * // WithFederation: true || false,
59
59
  * // HybridAccessEnabled: true || false,
60
+ * // WithPrivilegedAccess: true || false,
60
61
  * // },
61
62
  * // ],
62
63
  * // NextToken: "STRING_VALUE",
@@ -28,7 +28,7 @@ declare const RegisterResourceCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Registers the resource as managed by the Data Catalog.</p>
31
- * <p>To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.</p>
31
+ * <p>To add or update data, Lake Formation needs read/write access to the chosen data location. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.</p>
32
32
  * <p>The following request registers a new location and gives Lake Formation permission to use the service-linked role to access that location.</p>
33
33
  * <p>
34
34
  * <code>ResourceArn = arn:aws:s3:::my-bucket/
@@ -50,6 +50,7 @@ declare const RegisterResourceCommand_base: {
50
50
  * RoleArn: "STRING_VALUE",
51
51
  * WithFederation: true || false,
52
52
  * HybridAccessEnabled: true || false,
53
+ * WithPrivilegedAccess: true || false,
53
54
  * };
54
55
  * const command = new RegisterResourceCommand(input);
55
56
  * const response = await client.send(command);
@@ -104,6 +104,9 @@ declare const RevokePermissionsCommand_base: {
104
104
  * Permissions: [ // PermissionList // required
105
105
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
106
106
  * ],
107
+ * Condition: { // Condition
108
+ * Expression: "STRING_VALUE",
109
+ * },
107
110
  * PermissionsWithGrantOption: [
108
111
  * "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "DESCRIBE" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS" || "CREATE_LF_TAG" || "ASSOCIATE" || "GRANT_WITH_LF_TAG_EXPRESSION" || "CREATE_LF_TAG_EXPRESSION" || "CREATE_CATALOG" || "SUPER_USER",
109
112
  * ],
@@ -600,6 +600,17 @@ export interface AuditContext {
600
600
  */
601
601
  AdditionalAuditContext?: string | undefined;
602
602
  }
603
+ /**
604
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
605
+ * @public
606
+ */
607
+ export interface Condition {
608
+ /**
609
+ * <p>An expression written based on the Cedar Policy Language used to match the principal attributes.</p>
610
+ * @public
611
+ */
612
+ Expression?: string | undefined;
613
+ }
603
614
  /**
604
615
  * @public
605
616
  * @enum
@@ -663,6 +674,11 @@ export interface BatchPermissionsRequestEntry {
663
674
  * @public
664
675
  */
665
676
  Permissions?: Permission[] | undefined;
677
+ /**
678
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
679
+ * @public
680
+ */
681
+ Condition?: Condition | undefined;
666
682
  /**
667
683
  * <p>Indicates if the option to pass permissions is granted.</p>
668
684
  * @public
@@ -1020,6 +1036,11 @@ export interface CreateLakeFormationOptInRequest {
1020
1036
  * @public
1021
1037
  */
1022
1038
  Resource: Resource | undefined;
1039
+ /**
1040
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
1041
+ * @public
1042
+ */
1043
+ Condition?: Condition | undefined;
1023
1044
  }
1024
1045
  /**
1025
1046
  * @public
@@ -1143,6 +1164,11 @@ export interface DeleteLakeFormationOptInRequest {
1143
1164
  * @public
1144
1165
  */
1145
1166
  Resource: Resource | undefined;
1167
+ /**
1168
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
1169
+ * @public
1170
+ */
1171
+ Condition?: Condition | undefined;
1146
1172
  }
1147
1173
  /**
1148
1174
  * @public
@@ -1363,6 +1389,11 @@ export interface ResourceInfo {
1363
1389
  * @public
1364
1390
  */
1365
1391
  HybridAccessEnabled?: boolean | undefined;
1392
+ /**
1393
+ * <p>Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location. </p>
1394
+ * @public
1395
+ */
1396
+ WithPrivilegedAccess?: boolean | undefined;
1366
1397
  }
1367
1398
  /**
1368
1399
  * @public
@@ -1624,17 +1655,6 @@ export interface DetailsMap {
1624
1655
  */
1625
1656
  ResourceShare?: string[] | undefined;
1626
1657
  }
1627
- /**
1628
- * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
1629
- * @public
1630
- */
1631
- export interface Condition {
1632
- /**
1633
- * <p>An expression written based on the Cedar Policy Language used to match the principal attributes.</p>
1634
- * @public
1635
- */
1636
- Expression?: string | undefined;
1637
- }
1638
1658
  /**
1639
1659
  * <p>The permissions granted or revoked on a resource.</p>
1640
1660
  * @public
@@ -2476,6 +2496,11 @@ export interface GrantPermissionsRequest {
2476
2496
  * @public
2477
2497
  */
2478
2498
  Permissions: Permission[] | undefined;
2499
+ /**
2500
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
2501
+ * @public
2502
+ */
2503
+ Condition?: Condition | undefined;
2479
2504
  /**
2480
2505
  * <p>Indicates a list of the granted permissions that the principal may pass to other users. These permissions may only be a subset of the permissions granted in the <code>Privileges</code>.</p>
2481
2506
  * @public
@@ -3076,6 +3101,11 @@ export interface RegisterResourceRequest {
3076
3101
  * @public
3077
3102
  */
3078
3103
  HybridAccessEnabled?: boolean | undefined;
3104
+ /**
3105
+ * <p>Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location. </p>
3106
+ * @public
3107
+ */
3108
+ WithPrivilegedAccess?: boolean | undefined;
3079
3109
  }
3080
3110
  /**
3081
3111
  * @public
@@ -3137,6 +3167,11 @@ export interface RevokePermissionsRequest {
3137
3167
  * @public
3138
3168
  */
3139
3169
  Permissions: Permission[] | undefined;
3170
+ /**
3171
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
3172
+ * @public
3173
+ */
3174
+ Condition?: Condition | undefined;
3140
3175
  /**
3141
3176
  * <p>Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.</p>
3142
3177
  * @public
@@ -178,6 +178,9 @@ export interface AssumeDecoratedRoleWithSAMLResponse {
178
178
  export interface AuditContext {
179
179
  AdditionalAuditContext?: string | undefined;
180
180
  }
181
+ export interface Condition {
182
+ Expression?: string | undefined;
183
+ }
181
184
  export declare const Permission: {
182
185
  readonly ALL: "ALL";
183
186
  readonly ALTER: "ALTER";
@@ -205,6 +208,7 @@ export interface BatchPermissionsRequestEntry {
205
208
  Principal?: DataLakePrincipal | undefined;
206
209
  Resource?: Resource | undefined;
207
210
  Permissions?: Permission[] | undefined;
211
+ Condition?: Condition | undefined;
208
212
  PermissionsWithGrantOption?: Permission[] | undefined;
209
213
  }
210
214
  export interface BatchGrantPermissionsRequest {
@@ -320,6 +324,7 @@ export interface CreateLakeFormationIdentityCenterConfigurationResponse {
320
324
  export interface CreateLakeFormationOptInRequest {
321
325
  Principal: DataLakePrincipal | undefined;
322
326
  Resource: Resource | undefined;
327
+ Condition?: Condition | undefined;
323
328
  }
324
329
  export interface CreateLakeFormationOptInResponse {}
325
330
  export interface CreateLFTagRequest {
@@ -349,6 +354,7 @@ export interface DeleteLakeFormationIdentityCenterConfigurationResponse {}
349
354
  export interface DeleteLakeFormationOptInRequest {
350
355
  Principal: DataLakePrincipal | undefined;
351
356
  Resource: Resource | undefined;
357
+ Condition?: Condition | undefined;
352
358
  }
353
359
  export interface DeleteLakeFormationOptInResponse {}
354
360
  export interface DeleteLFTagRequest {
@@ -405,6 +411,7 @@ export interface ResourceInfo {
405
411
  LastModified?: Date | undefined;
406
412
  WithFederation?: boolean | undefined;
407
413
  HybridAccessEnabled?: boolean | undefined;
414
+ WithPrivilegedAccess?: boolean | undefined;
408
415
  }
409
416
  export interface DescribeResourceResponse {
410
417
  ResourceInfo?: ResourceInfo | undefined;
@@ -469,9 +476,6 @@ export interface GetEffectivePermissionsForPathRequest {
469
476
  export interface DetailsMap {
470
477
  ResourceShare?: string[] | undefined;
471
478
  }
472
- export interface Condition {
473
- Expression?: string | undefined;
474
- }
475
479
  export interface PrincipalResourcePermissions {
476
480
  Principal?: DataLakePrincipal | undefined;
477
481
  Resource?: Resource | undefined;
@@ -703,6 +707,7 @@ export interface GrantPermissionsRequest {
703
707
  Principal: DataLakePrincipal | undefined;
704
708
  Resource: Resource | undefined;
705
709
  Permissions: Permission[] | undefined;
710
+ Condition?: Condition | undefined;
706
711
  PermissionsWithGrantOption?: Permission[] | undefined;
707
712
  }
708
713
  export interface GrantPermissionsResponse {}
@@ -880,6 +885,7 @@ export interface RegisterResourceRequest {
880
885
  RoleArn?: string | undefined;
881
886
  WithFederation?: boolean | undefined;
882
887
  HybridAccessEnabled?: boolean | undefined;
888
+ WithPrivilegedAccess?: boolean | undefined;
883
889
  }
884
890
  export interface RegisterResourceResponse {}
885
891
  export interface RemoveLFTagsFromResourceRequest {
@@ -895,6 +901,7 @@ export interface RevokePermissionsRequest {
895
901
  Principal: DataLakePrincipal | undefined;
896
902
  Resource: Resource | undefined;
897
903
  Permissions: Permission[] | undefined;
904
+ Condition?: Condition | undefined;
898
905
  PermissionsWithGrantOption?: Permission[] | undefined;
899
906
  }
900
907
  export interface RevokePermissionsResponse {}
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.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lakeformation",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",