@aws-sdk/client-lakeformation 3.1181.0 → 3.1182.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.
Files changed (42) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +224 -49
  3. package/dist-es/LakeFormation.js +2 -0
  4. package/dist-es/commands/AnalyzeAccessCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +25 -11
  7. package/dist-es/models/errors.js +47 -15
  8. package/dist-es/schemas/schemas_0.js +132 -23
  9. package/dist-types/LakeFormation.d.ts +7 -0
  10. package/dist-types/LakeFormationClient.d.ts +3 -2
  11. package/dist-types/commands/AddLFTagsToResourceCommand.d.ts +1 -1
  12. package/dist-types/commands/AnalyzeAccessCommand.d.ts +377 -0
  13. package/dist-types/commands/AttachRLSPolicyCommand.d.ts +1 -1
  14. package/dist-types/commands/BatchGrantPermissionsCommand.d.ts +2 -2
  15. package/dist-types/commands/BatchRevokePermissionsCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateLakeFormationOptInCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteLakeFormationOptInCommand.d.ts +1 -1
  18. package/dist-types/commands/DetachRLSPolicyCommand.d.ts +1 -1
  19. package/dist-types/commands/GetDataLakeSettingsCommand.d.ts +6 -0
  20. package/dist-types/commands/GetEffectivePermissionsForPathCommand.d.ts +1 -1
  21. package/dist-types/commands/GetResourceLFTagsCommand.d.ts +1 -1
  22. package/dist-types/commands/GrantPermissionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListLakeFormationOptInsCommand.d.ts +2 -2
  24. package/dist-types/commands/ListPermissionsCommand.d.ts +2 -2
  25. package/dist-types/commands/ListRLSPolicyAttachmentsCommand.d.ts +2 -2
  26. package/dist-types/commands/PutDataLakeSettingsCommand.d.ts +6 -0
  27. package/dist-types/commands/RemoveLFTagsFromResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/RevokePermissionsCommand.d.ts +1 -1
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/models/enums.d.ts +53 -23
  31. package/dist-types/models/errors.d.ts +60 -18
  32. package/dist-types/models/models_0.d.ts +299 -53
  33. package/dist-types/schemas/schemas_0.d.ts +12 -0
  34. package/dist-types/ts3.4/LakeFormation.d.ts +17 -0
  35. package/dist-types/ts3.4/LakeFormationClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/AnalyzeAccessCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/enums.d.ts +33 -15
  39. package/dist-types/ts3.4/models/errors.d.ts +23 -7
  40. package/dist-types/ts3.4/models/models_0.d.ts +65 -15
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  42. package/package.json +2 -2
@@ -1,8 +1,36 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const Permission: {
6
+ readonly ALL: "ALL";
7
+ readonly ALTER: "ALTER";
8
+ readonly ASSOCIATE: "ASSOCIATE";
9
+ readonly CREATE_CATALOG: "CREATE_CATALOG";
10
+ readonly CREATE_DATABASE: "CREATE_DATABASE";
11
+ readonly CREATE_LF_TAG: "CREATE_LF_TAG";
12
+ readonly CREATE_LF_TAG_EXPRESSION: "CREATE_LF_TAG_EXPRESSION";
13
+ readonly CREATE_TABLE: "CREATE_TABLE";
14
+ readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
15
+ readonly DELETE: "DELETE";
16
+ readonly DESCRIBE: "DESCRIBE";
17
+ readonly DROP: "DROP";
18
+ readonly EXECUTE: "EXECUTE";
19
+ readonly GRANT_WITH_LF_TAG_EXPRESSION: "GRANT_WITH_LF_TAG_EXPRESSION";
20
+ readonly INSERT: "INSERT";
21
+ readonly SELECT: "SELECT";
22
+ readonly SUPER_USER: "SUPER_USER";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type Permission = (typeof Permission)[keyof typeof Permission];
1
28
  /**
2
29
  * @public
3
30
  * @enum
4
31
  */
5
32
  export declare const AnyResourceSupportedTypes: {
33
+ readonly ALL: "ALL";
6
34
  readonly TABLE: "TABLE";
7
35
  };
8
36
  /**
@@ -25,41 +53,43 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
25
53
  * @public
26
54
  * @enum
27
55
  */
28
- export declare const ApplicationStatus: {
29
- readonly DISABLED: "DISABLED";
30
- readonly ENABLED: "ENABLED";
56
+ export declare const ContextAttributeProviderType: {
57
+ readonly IAM: "IAM";
58
+ readonly IDP: "IDP";
31
59
  };
32
60
  /**
33
61
  * @public
34
62
  */
35
- export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
63
+ export type ContextAttributeProviderType = (typeof ContextAttributeProviderType)[keyof typeof ContextAttributeProviderType];
36
64
  /**
37
65
  * @public
38
66
  * @enum
39
67
  */
40
- export declare const Permission: {
41
- readonly ALL: "ALL";
42
- readonly ALTER: "ALTER";
43
- readonly ASSOCIATE: "ASSOCIATE";
44
- readonly CREATE_CATALOG: "CREATE_CATALOG";
45
- readonly CREATE_DATABASE: "CREATE_DATABASE";
46
- readonly CREATE_LF_TAG: "CREATE_LF_TAG";
47
- readonly CREATE_LF_TAG_EXPRESSION: "CREATE_LF_TAG_EXPRESSION";
48
- readonly CREATE_TABLE: "CREATE_TABLE";
49
- readonly DATA_LOCATION_ACCESS: "DATA_LOCATION_ACCESS";
50
- readonly DELETE: "DELETE";
51
- readonly DESCRIBE: "DESCRIBE";
52
- readonly DROP: "DROP";
53
- readonly EXECUTE: "EXECUTE";
54
- readonly GRANT_WITH_LF_TAG_EXPRESSION: "GRANT_WITH_LF_TAG_EXPRESSION";
55
- readonly INSERT: "INSERT";
56
- readonly SELECT: "SELECT";
57
- readonly SUPER_USER: "SUPER_USER";
68
+ export declare const FederationSourceErrorCode: {
69
+ readonly AccessDeniedException: "AccessDeniedException";
70
+ readonly EntityNotFoundException: "EntityNotFoundException";
71
+ readonly InternalServiceException: "InternalServiceException";
72
+ readonly InvalidInputException: "InvalidInputException";
73
+ readonly InvalidResponseException: "InvalidResponseException";
74
+ readonly OperationNotSupportedException: "OperationNotSupportedException";
75
+ readonly ThrottlingException: "ThrottlingException";
58
76
  };
59
77
  /**
60
78
  * @public
61
79
  */
62
- export type Permission = (typeof Permission)[keyof typeof Permission];
80
+ export type FederationSourceErrorCode = (typeof FederationSourceErrorCode)[keyof typeof FederationSourceErrorCode];
81
+ /**
82
+ * @public
83
+ * @enum
84
+ */
85
+ export declare const ApplicationStatus: {
86
+ readonly DISABLED: "DISABLED";
87
+ readonly ENABLED: "ENABLED";
88
+ };
89
+ /**
90
+ * @public
91
+ */
92
+ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
63
93
  /**
64
94
  * @public
65
95
  * @enum
@@ -1,4 +1,5 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import type { FederationSourceErrorCode } from "./enums";
2
3
  import { LakeFormationServiceException as __BaseException } from "./LakeFormationServiceException";
3
4
  /**
4
5
  * <p>Access to a resource was denied.</p>
@@ -126,6 +127,65 @@ export declare class AlreadyExistsException extends __BaseException {
126
127
  */
127
128
  constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
128
129
  }
130
+ /**
131
+ * <p>A generic exception encapsulating exceptions from the federation source that are not actionable by query engines.</p>
132
+ * @public
133
+ */
134
+ export declare class FederationSourceException extends __BaseException {
135
+ static readonly shapeId: string;
136
+ readonly name: "FederationSourceException";
137
+ readonly $fault: "client";
138
+ /**
139
+ * <p>The error code that the federation source returned, such as <code>AccessDeniedException</code> or <code>ThrottlingException</code>.</p>
140
+ * @public
141
+ */
142
+ FederationSourceErrorCode?: FederationSourceErrorCode | undefined;
143
+ /**
144
+ * <p>A message describing the problem.</p>
145
+ * @public
146
+ */
147
+ Message?: string | undefined;
148
+ /**
149
+ * @internal
150
+ */
151
+ constructor(opts: __ExceptionOptionType<FederationSourceException, __BaseException>);
152
+ }
153
+ /**
154
+ * <p>The federation source failed. This failure might be temporary. Retry the request.</p>
155
+ * @public
156
+ */
157
+ export declare class FederationSourceRetryableException extends __BaseException {
158
+ static readonly shapeId: string;
159
+ readonly name: "FederationSourceRetryableException";
160
+ readonly $fault: "client";
161
+ /**
162
+ * <p>The error message that the federation source returned, which describes why the request failed.</p>
163
+ * @public
164
+ */
165
+ Message?: string | undefined;
166
+ /**
167
+ * @internal
168
+ */
169
+ constructor(opts: __ExceptionOptionType<FederationSourceRetryableException, __BaseException>);
170
+ }
171
+ /**
172
+ * <p>An encryption operation failed.</p>
173
+ * @public
174
+ */
175
+ export declare class GlueEncryptionException extends __BaseException {
176
+ static readonly shapeId: string;
177
+ readonly name: "GlueEncryptionException";
178
+ readonly $fault: "client";
179
+ /**
180
+ * <p>A message describing the problem.</p>
181
+ * @public
182
+ */
183
+ Message?: string | undefined;
184
+ /**
185
+ * @internal
186
+ */
187
+ constructor(opts: __ExceptionOptionType<GlueEncryptionException, __BaseException>);
188
+ }
129
189
  /**
130
190
  * <p>A resource numerical limit was exceeded.</p>
131
191
  * @public
@@ -273,24 +333,6 @@ export declare class ThrottledException extends __BaseException {
273
333
  */
274
334
  constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
275
335
  }
276
- /**
277
- * <p>An encryption operation failed.</p>
278
- * @public
279
- */
280
- export declare class GlueEncryptionException extends __BaseException {
281
- static readonly shapeId: string;
282
- readonly name: "GlueEncryptionException";
283
- readonly $fault: "client";
284
- /**
285
- * <p>A message describing the problem.</p>
286
- * @public
287
- */
288
- Message?: string | undefined;
289
- /**
290
- * @internal
291
- */
292
- constructor(opts: __ExceptionOptionType<GlueEncryptionException, __BaseException>);
293
- }
294
336
  /**
295
337
  * <p>Multiple resources exist with the same Amazon S3 location</p>
296
338
  * @public
@@ -1,25 +1,27 @@
1
1
  import type { StreamingBlobTypes } from "@smithy/types";
2
- import type { AnyResourceSupportedTypes, ApplicationStatus, ComparisonOperator, CredentialsScope, DataLakeResourceType, EnableStatus, FieldNameString, OptimizerType, Permission, PermissionType, QueryStateString, ResourceShareType, ResourceType, RLSPolicyStatus, RLSPolicyStatusReason, ServiceAuthorization, TransactionStatus, TransactionStatusFilter, TransactionType, VerificationStatus } from "./enums";
2
+ import type { AnyResourceSupportedTypes, ApplicationStatus, ComparisonOperator, ContextAttributeProviderType, CredentialsScope, DataLakeResourceType, EnableStatus, FieldNameString, OptimizerType, Permission, PermissionType, QueryStateString, ResourceShareType, ResourceType, RLSPolicyStatus, RLSPolicyStatusReason, ServiceAuthorization, TransactionStatus, TransactionStatusFilter, TransactionType, VerificationStatus } from "./enums";
3
3
  /**
4
- * <p>A structure containing an LF-tag key-value pair.</p>
4
+ * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
5
5
  * @public
6
6
  */
7
- export interface LFTagPair {
8
- /**
9
- * <p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment. </p>
10
- * @public
11
- */
12
- CatalogId?: string | undefined;
7
+ export interface Condition {
13
8
  /**
14
- * <p>The key-name for the LF-tag.</p>
9
+ * <p>An expression written based on the Cedar Policy Language used to match the principal attributes.</p>
15
10
  * @public
16
11
  */
17
- TagKey: string | undefined;
12
+ Expression?: string | undefined;
13
+ }
14
+ /**
15
+ * <p>The Lake Formation principal. Supported principals are IAM users
16
+ * or IAM roles.</p>
17
+ * @public
18
+ */
19
+ export interface DataLakePrincipal {
18
20
  /**
19
- * <p>A list of possible values an attribute can take.</p>
21
+ * <p>An identifier for the Lake Formation principal.</p>
20
22
  * @public
21
23
  */
22
- TagValues: string[] | undefined;
24
+ DataLakePrincipalIdentifier?: string | undefined;
23
25
  }
24
26
  /**
25
27
  * <p>Represents all resources of the specified type in a Data Catalog, including resources that are created after
@@ -413,6 +415,179 @@ export interface Resource {
413
415
  */
414
416
  UserDefinedFunction?: UserDefinedFunctionResource | undefined;
415
417
  }
418
+ /**
419
+ * <p>A permission that contributed to a principal's access.</p>
420
+ * @public
421
+ */
422
+ export interface AccessContribution {
423
+ /**
424
+ * <p>The principal that the permission was granted to.</p>
425
+ * @public
426
+ */
427
+ Principal?: DataLakePrincipal | undefined;
428
+ /**
429
+ * <p>The resource that the permission was granted on.</p>
430
+ * @public
431
+ */
432
+ Resource?: Resource | undefined;
433
+ /**
434
+ * <p>The permissions that contributed to the principal's access.</p>
435
+ * @public
436
+ */
437
+ Actions?: Permission[] | undefined;
438
+ /**
439
+ * <p>How the permission applies to the principal, for example <code>Explicitly Granted</code> or <code>Data Lake Administrator</code>.</p>
440
+ * @public
441
+ */
442
+ IssuingSource?: string | undefined;
443
+ /**
444
+ * <p>The condition of the permission.</p>
445
+ * @public
446
+ */
447
+ Condition?: Condition | undefined;
448
+ }
449
+ /**
450
+ * <p>A row-level security policy attached to a principal.</p>
451
+ * @public
452
+ */
453
+ export interface RLSContribution {
454
+ /**
455
+ * <p>The principal that the policy is attached to.</p>
456
+ * @public
457
+ */
458
+ Principal?: DataLakePrincipal | undefined;
459
+ /**
460
+ * <p>The resource that the policy is attached to.</p>
461
+ * @public
462
+ */
463
+ Resource?: Resource | undefined;
464
+ /**
465
+ * <p>The name of the row-level security policy.</p>
466
+ * @public
467
+ */
468
+ PolicyName?: string | undefined;
469
+ /**
470
+ * <p>How the policy applies to the principal, for example <code>Explicitly Attached</code>.</p>
471
+ * @public
472
+ */
473
+ IssuingSource?: string | undefined;
474
+ /**
475
+ * <p>The condition of the attachment.</p>
476
+ * @public
477
+ */
478
+ Condition?: Condition | undefined;
479
+ }
480
+ /**
481
+ * <p>A row filter that applies to a column.</p>
482
+ * @public
483
+ */
484
+ export interface CellFilter {
485
+ /**
486
+ * <p>The name of the column.</p>
487
+ * @public
488
+ */
489
+ ColumnName?: string | undefined;
490
+ /**
491
+ * <p>The filter expression for the column.</p>
492
+ * @public
493
+ */
494
+ RowFilterExpression?: string | undefined;
495
+ }
496
+ /**
497
+ * <p>A structure that you pass to indicate you want all rows in a filter. </p>
498
+ * @public
499
+ */
500
+ export interface AllRowsWildcard {
501
+ }
502
+ /**
503
+ * <p>A PartiQL predicate.</p>
504
+ * @public
505
+ */
506
+ export interface RowFilter {
507
+ /**
508
+ * <p>A filter expression.</p>
509
+ * @public
510
+ */
511
+ FilterExpression?: string | undefined;
512
+ /**
513
+ * <p>A wildcard for all rows.</p>
514
+ * @public
515
+ */
516
+ AllRowsWildcard?: AllRowsWildcard | undefined;
517
+ }
518
+ /**
519
+ * <p>Details about a principal's <code>SELECT</code> access on a table.</p>
520
+ * @public
521
+ */
522
+ export interface SelectActionDetails {
523
+ /**
524
+ * <p>The columns the principal can access. Present only when access is limited to some columns.</p>
525
+ * @public
526
+ */
527
+ AuthorizedColumns?: string[] | undefined;
528
+ /**
529
+ * <p>The row filter that applies to the principal's access. Present only when access is limited to some rows.</p>
530
+ * @public
531
+ */
532
+ RowFilter?: RowFilter | undefined;
533
+ /**
534
+ * <p>The row filter that applies to each column. Present only when different row filters apply to different columns.</p>
535
+ * @public
536
+ */
537
+ CellFilters?: CellFilter[] | undefined;
538
+ }
539
+ /**
540
+ * <p>A principal's effective access on a resource.</p>
541
+ * @public
542
+ */
543
+ export interface AccessDecision {
544
+ /**
545
+ * <p>The principal.</p>
546
+ * @public
547
+ */
548
+ Principal?: DataLakePrincipal | undefined;
549
+ /**
550
+ * <p>The actions the principal is authorized to perform on the resource.</p>
551
+ * @public
552
+ */
553
+ AuthorizedActions?: Permission[] | undefined;
554
+ /**
555
+ * <p>Details about the principal's <code>SELECT</code> access on the table.</p>
556
+ * @public
557
+ */
558
+ SelectActionDetails?: SelectActionDetails | undefined;
559
+ /**
560
+ * <p>The permissions that contributed to the principal's access.</p>
561
+ * @public
562
+ */
563
+ ContributingGrants?: AccessContribution[] | undefined;
564
+ /**
565
+ * <p>The row-level security policies that filter the principal's rows.</p>
566
+ * @public
567
+ */
568
+ ContributingRLSPolicies?: RLSContribution[] | undefined;
569
+ }
570
+ /**
571
+ * <p>A structure containing an LF-tag key-value pair.</p>
572
+ * @public
573
+ */
574
+ export interface LFTagPair {
575
+ /**
576
+ * <p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment. </p>
577
+ * @public
578
+ */
579
+ CatalogId?: string | undefined;
580
+ /**
581
+ * <p>The key-name for the LF-tag.</p>
582
+ * @public
583
+ */
584
+ TagKey: string | undefined;
585
+ /**
586
+ * <p>A list of possible values an attribute can take.</p>
587
+ * @public
588
+ */
589
+ TagValues: string[] | undefined;
590
+ }
416
591
  /**
417
592
  * @public
418
593
  */
@@ -503,10 +678,60 @@ export interface AddObjectInput {
503
678
  PartitionValues?: string[] | undefined;
504
679
  }
505
680
  /**
506
- * <p>A structure that you pass to indicate you want all rows in a filter. </p>
681
+ * <p>An attribute used to analyze a principal's access.</p>
507
682
  * @public
508
683
  */
509
- export interface AllRowsWildcard {
684
+ export interface ContextAttribute {
685
+ /**
686
+ * <p>The key of the attribute.</p>
687
+ * @public
688
+ */
689
+ Key?: string | undefined;
690
+ /**
691
+ * <p>The value of the attribute.</p>
692
+ * @public
693
+ */
694
+ Value?: string | undefined;
695
+ /**
696
+ * <p>The source of the attribute: <code>IAM</code> for IAM principal tags or <code>IDP</code> for identity provider claims.</p>
697
+ * @public
698
+ */
699
+ ProviderType?: ContextAttributeProviderType | undefined;
700
+ }
701
+ /**
702
+ * @public
703
+ */
704
+ export interface AnalyzeAccessRequest {
705
+ /**
706
+ * <p>The principal whose access to analyze.</p>
707
+ * @public
708
+ */
709
+ Principal: DataLakePrincipal | undefined;
710
+ /**
711
+ * <p>For an IAM Identity Center principal, the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that its session uses. Only one role is supported.</p>
712
+ * @public
713
+ */
714
+ Groups?: string[] | undefined;
715
+ /**
716
+ * <p>Attributes that override the principal's attributes for the analysis. You can specify up to 50 attributes. If you don't specify any, the analysis uses the principal's existing attributes.</p>
717
+ * @public
718
+ */
719
+ ContextAttributes?: ContextAttribute[] | undefined;
720
+ /**
721
+ * <p>The resource on which to analyze access.</p>
722
+ * @public
723
+ */
724
+ Resource: Resource | undefined;
725
+ }
726
+ /**
727
+ * @public
728
+ */
729
+ export interface AnalyzeAccessResponse {
730
+ /**
731
+ * <p>The principal's access on the resource.</p>
732
+ * @public
733
+ */
734
+ AccessDecision?: AccessDecision | undefined;
510
735
  }
511
736
  /**
512
737
  * @public
@@ -558,29 +783,6 @@ export interface AssumeDecoratedRoleWithSAMLResponse {
558
783
  */
559
784
  Expiration?: Date | undefined;
560
785
  }
561
- /**
562
- * <p>A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.</p>
563
- * @public
564
- */
565
- export interface Condition {
566
- /**
567
- * <p>An expression written based on the Cedar Policy Language used to match the principal attributes.</p>
568
- * @public
569
- */
570
- Expression?: string | undefined;
571
- }
572
- /**
573
- * <p>The Lake Formation principal. Supported principals are IAM users
574
- * or IAM roles.</p>
575
- * @public
576
- */
577
- export interface DataLakePrincipal {
578
- /**
579
- * <p>An identifier for the Lake Formation principal.</p>
580
- * @public
581
- */
582
- DataLakePrincipalIdentifier?: string | undefined;
583
- }
584
786
  /**
585
787
  * @public
586
788
  */
@@ -764,22 +966,6 @@ export interface CommitTransactionResponse {
764
966
  */
765
967
  TransactionStatus?: TransactionStatus | undefined;
766
968
  }
767
- /**
768
- * <p>A PartiQL predicate.</p>
769
- * @public
770
- */
771
- export interface RowFilter {
772
- /**
773
- * <p>A filter expression.</p>
774
- * @public
775
- */
776
- FilterExpression?: string | undefined;
777
- /**
778
- * <p>A wildcard for all rows.</p>
779
- * @public
780
- */
781
- AllRowsWildcard?: AllRowsWildcard | undefined;
782
- }
783
969
  /**
784
970
  * <p>A structure that describes certain columns on certain rows.</p>
785
971
  * @public
@@ -1608,6 +1794,60 @@ export interface PrincipalPermissions {
1608
1794
  */
1609
1795
  Permissions?: Permission[] | undefined;
1610
1796
  }
1797
+ /**
1798
+ * <p>This structure contains settings for a session with a propagated identity from an external IdP. It includes <code>Scope</code> and <code>UseIAMRoleGrants</code>.</p>
1799
+ * <p>You can update the fields independently with <code>PutDataLakeSettings</code>. If you omit a field, Lake Formation preserves its stored value.</p>
1800
+ * <p>If you have not stored IdP settings, <code>GetDataLakeSettings</code> omits <code>IdpSettings</code>. Lake Formation uses an empty <code>Scope</code> and <code>true</code> for <code>UseIAMRoleGrants</code> as defaults.</p>
1801
+ * @public
1802
+ */
1803
+ export interface IdpSettings {
1804
+ /**
1805
+ * <p>Use this list to identify trusted external accounts whose IAM roles carry a propagated identity. This trust applies when sessions use permissions that your account issues. Omit a scope entry for IAM roles in your own account.</p>
1806
+ * <p>You can include up to 100 unique entries. Each <code>DataLakePrincipalIdentifier</code> must contain one of the following:</p>
1807
+ * <ul>
1808
+ * <li>
1809
+ * <p>An Amazon Web Services account ID - Identifies a single account.</p>
1810
+ * </li>
1811
+ * <li>
1812
+ * <p>An organization ARN - Identifies the accounts in an organization.</p>
1813
+ * </li>
1814
+ * <li>
1815
+ * <p>An organizational unit (OU) ARN - Identifies the accounts in an OU.</p>
1816
+ * </li>
1817
+ * </ul>
1818
+ * <p>For new organization or OU entries, specify your own organization or one of its OUs.</p>
1819
+ * <p>To replace the stored scope, supply a list in <code>PutDataLakeSettings</code>. To preserve the stored scope, omit <code>Scope</code>. To clear the scope, supply an empty list.</p>
1820
+ * @public
1821
+ */
1822
+ Scope?: DataLakePrincipal[] | undefined;
1823
+ /**
1824
+ * <p>Specifies whether Lake Formation includes IAM role permissions when authorizing a session
1825
+ * with a propagated identity. This setting applies to permissions that your account grants
1826
+ * to the session's IAM role.</p>
1827
+ * <p>You can specify the following values:</p>
1828
+ * <ul>
1829
+ * <li>
1830
+ * <p>
1831
+ * <code>true</code> (default) - Lake Formation combines applicable permissions for the session's IAM role
1832
+ * with permissions applicable to the propagated identity.</p>
1833
+ * </li>
1834
+ * <li>
1835
+ * <p>
1836
+ * <code>false</code> - Lake Formation excludes the IAM role permissions and continues
1837
+ * to evaluate permissions applicable to the propagated identity.</p>
1838
+ * </li>
1839
+ * </ul>
1840
+ * <p>Lake Formation uses the setting of the account that issues each grant.
1841
+ * If a producer account grants permissions directly to a consumer account's IAM role,
1842
+ * Lake Formation uses the producer's setting. If the consumer account re-grants permissions
1843
+ * to that IAM role, Lake Formation uses the consumer's setting.</p>
1844
+ * <p>To keep the stored value, omit <code>UseIAMRoleGrants</code> from your
1845
+ * <code>PutDataLakeSettings</code> request. Lake Formation preserves <code>Scope</code>
1846
+ * unless you also supply that field.</p>
1847
+ * @public
1848
+ */
1849
+ UseIAMRoleGrants?: boolean | undefined;
1850
+ }
1611
1851
  /**
1612
1852
  * <p>A structure representing a list of Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.</p>
1613
1853
  * @public
@@ -1683,6 +1923,12 @@ export interface DataLakeSettings {
1683
1923
  * @public
1684
1924
  */
1685
1925
  AuthorizedSessionTagValueList?: string[] | undefined;
1926
+ /**
1927
+ * <p>Use these settings to control access for a session with a propagated identity from an external identity provider (IdP).</p>
1928
+ * <p>If you omit <code>IdpSettings</code> from a <code>PutDataLakeSettings</code> request, Lake Formation preserves your stored IdP settings.</p>
1929
+ * @public
1930
+ */
1931
+ IdpSettings?: IdpSettings | undefined;
1686
1932
  }
1687
1933
  /**
1688
1934
  * @public
@@ -7,6 +7,8 @@ export declare var ConcurrentModificationException$: StaticErrorSchema;
7
7
  export declare var ConflictException$: StaticErrorSchema;
8
8
  export declare var EntityNotFoundException$: StaticErrorSchema;
9
9
  export declare var ExpiredException$: StaticErrorSchema;
10
+ export declare var FederationSourceException$: StaticErrorSchema;
11
+ export declare var FederationSourceRetryableException$: StaticErrorSchema;
10
12
  export declare var GlueEncryptionException$: StaticErrorSchema;
11
13
  export declare var InternalServiceException$: StaticErrorSchema;
12
14
  export declare var InvalidInputException$: StaticErrorSchema;
@@ -26,10 +28,14 @@ export declare var WorkUnitsNotReadyYetException$: StaticErrorSchema;
26
28
  *
27
29
  */
28
30
  export declare const errorTypeRegistries: TypeRegistry[];
31
+ export declare var AccessContribution$: StaticStructureSchema;
32
+ export declare var AccessDecision$: StaticStructureSchema;
29
33
  export declare var AddLFTagsToResourceRequest$: StaticStructureSchema;
30
34
  export declare var AddLFTagsToResourceResponse$: StaticStructureSchema;
31
35
  export declare var AddObjectInput$: StaticStructureSchema;
32
36
  export declare var AllRowsWildcard$: StaticStructureSchema;
37
+ export declare var AnalyzeAccessRequest$: StaticStructureSchema;
38
+ export declare var AnalyzeAccessResponse$: StaticStructureSchema;
33
39
  export declare var AnyResource$: StaticStructureSchema;
34
40
  export declare var AssumeDecoratedRoleWithSAMLRequest$: StaticStructureSchema;
35
41
  export declare var AssumeDecoratedRoleWithSAMLResponse$: StaticStructureSchema;
@@ -45,12 +51,14 @@ export declare var BatchRevokePermissionsResponse$: StaticStructureSchema;
45
51
  export declare var CancelTransactionRequest$: StaticStructureSchema;
46
52
  export declare var CancelTransactionResponse$: StaticStructureSchema;
47
53
  export declare var CatalogResource$: StaticStructureSchema;
54
+ export declare var CellFilter$: StaticStructureSchema;
48
55
  export declare var Column$: StaticStructureSchema;
49
56
  export declare var ColumnLFTag$: StaticStructureSchema;
50
57
  export declare var ColumnWildcard$: StaticStructureSchema;
51
58
  export declare var CommitTransactionRequest$: StaticStructureSchema;
52
59
  export declare var CommitTransactionResponse$: StaticStructureSchema;
53
60
  export declare var Condition$: StaticStructureSchema;
61
+ export declare var ContextAttribute$: StaticStructureSchema;
54
62
  export declare var CreateDataCellsFilterRequest$: StaticStructureSchema;
55
63
  export declare var CreateDataCellsFilterResponse$: StaticStructureSchema;
56
64
  export declare var CreateLakeFormationIdentityCenterConfigurationRequest$: StaticStructureSchema;
@@ -139,6 +147,7 @@ export declare var GetWorkUnitsRequest$: StaticStructureSchema;
139
147
  export declare var GetWorkUnitsResponse$: StaticStructureSchema;
140
148
  export declare var GrantPermissionsRequest$: StaticStructureSchema;
141
149
  export declare var GrantPermissionsResponse$: StaticStructureSchema;
150
+ export declare var IdpSettings$: StaticStructureSchema;
142
151
  export declare var LakeFormationOptInsInfo$: StaticStructureSchema;
143
152
  export declare var LFTag$: StaticStructureSchema;
144
153
  export declare var LFTagError$: StaticStructureSchema;
@@ -185,6 +194,7 @@ export declare var Resource$: StaticStructureSchema;
185
194
  export declare var ResourceInfo$: StaticStructureSchema;
186
195
  export declare var RevokePermissionsRequest$: StaticStructureSchema;
187
196
  export declare var RevokePermissionsResponse$: StaticStructureSchema;
197
+ export declare var RLSContribution$: StaticStructureSchema;
188
198
  export declare var RLSPolicy$: StaticStructureSchema;
189
199
  export declare var RLSPolicyAttachment$: StaticStructureSchema;
190
200
  export declare var RLSPolicyResource$: StaticStructureSchema;
@@ -193,6 +203,7 @@ export declare var SearchDatabasesByLFTagsRequest$: StaticStructureSchema;
193
203
  export declare var SearchDatabasesByLFTagsResponse$: StaticStructureSchema;
194
204
  export declare var SearchTablesByLFTagsRequest$: StaticStructureSchema;
195
205
  export declare var SearchTablesByLFTagsResponse$: StaticStructureSchema;
206
+ export declare var SelectActionDetails$: StaticStructureSchema;
196
207
  export declare var StartQueryPlanningRequest$: StaticStructureSchema;
197
208
  export declare var StartQueryPlanningResponse$: StaticStructureSchema;
198
209
  export declare var StartTransactionRequest$: StaticStructureSchema;
@@ -230,6 +241,7 @@ export declare var WriteOperation$: StaticStructureSchema;
230
241
  export declare var RedshiftScopeUnion$: StaticUnionSchema;
231
242
  export declare var ServiceIntegrationUnion$: StaticUnionSchema;
232
243
  export declare var AddLFTagsToResource$: StaticOperationSchema;
244
+ export declare var AnalyzeAccess$: StaticOperationSchema;
233
245
  export declare var AssumeDecoratedRoleWithSAML$: StaticOperationSchema;
234
246
  export declare var AttachRLSPolicy$: StaticOperationSchema;
235
247
  export declare var BatchGrantPermissions$: StaticOperationSchema;