@aws-sdk/client-lakeformation 3.1172.0 → 3.1174.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1171.0";
72
+ var version = "3.1173.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -815,6 +815,7 @@ const _SQP = "StartQueryPlanning";
815
815
  const _SQPR = "StartQueryPlanningRequest";
816
816
  const _SQPRt = "StartQueryPlanningResponse";
817
817
  const _SR = "ShareRecipients";
818
+ const _SRt = "StatusReason";
818
819
  const _SSQPRQS = "SyntheticStartQueryPlanningRequestQueryString";
819
820
  const _ST = "SessionToken";
820
821
  const _STBLFT = "SearchTablesByLFTags";
@@ -1844,8 +1845,8 @@ var RevokePermissionsResponse$ = [3, n0, _RPRe,
1844
1845
  ];
1845
1846
  var RLSPolicy$ = [3, n0, _RLSP,
1846
1847
  0,
1847
- [_CI, _N, _ACt, _FE],
1848
- [0, 0, () => ColumnList, 0]
1848
+ [_CI, _N, _ACt, _FE, _St, _SRt],
1849
+ [0, 0, () => ColumnList, 0, 0, 0]
1849
1850
  ];
1850
1851
  var RLSPolicyAttachment$ = [3, n0, _RLSPAo,
1851
1852
  0,
@@ -2905,6 +2906,14 @@ const QueryStateString = {
2905
2906
  PENDING: "PENDING",
2906
2907
  WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE",
2907
2908
  };
2909
+ const RLSPolicyStatus = {
2910
+ INVALID: "INVALID",
2911
+ VALID: "VALID",
2912
+ };
2913
+ const RLSPolicyStatusReason = {
2914
+ REFERENCED_LOOKUP_TABLE_DELETED: "REFERENCED_LOOKUP_TABLE_DELETED",
2915
+ REFERENCED_UDF_DELETED: "REFERENCED_UDF_DELETED",
2916
+ };
2908
2917
  const CredentialsScope = {
2909
2918
  READ: "READ",
2910
2919
  READWRITE: "READWRITE",
@@ -3269,6 +3278,8 @@ exports.QueryStateString = QueryStateString;
3269
3278
  exports.RLSPolicy$ = RLSPolicy$;
3270
3279
  exports.RLSPolicyAttachment$ = RLSPolicyAttachment$;
3271
3280
  exports.RLSPolicyResource$ = RLSPolicyResource$;
3281
+ exports.RLSPolicyStatus = RLSPolicyStatus;
3282
+ exports.RLSPolicyStatusReason = RLSPolicyStatusReason;
3272
3283
  exports.RedshiftConnect$ = RedshiftConnect$;
3273
3284
  exports.RedshiftScopeUnion$ = RedshiftScopeUnion$;
3274
3285
  exports.RegisterResource$ = RegisterResource$;
@@ -54,6 +54,14 @@ export const QueryStateString = {
54
54
  PENDING: "PENDING",
55
55
  WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE",
56
56
  };
57
+ export const RLSPolicyStatus = {
58
+ INVALID: "INVALID",
59
+ VALID: "VALID",
60
+ };
61
+ export const RLSPolicyStatusReason = {
62
+ REFERENCED_LOOKUP_TABLE_DELETED: "REFERENCED_LOOKUP_TABLE_DELETED",
63
+ REFERENCED_UDF_DELETED: "REFERENCED_UDF_DELETED",
64
+ };
57
65
  export const CredentialsScope = {
58
66
  READ: "READ",
59
67
  READWRITE: "READWRITE",
@@ -385,6 +385,7 @@ const _SQP = "StartQueryPlanning";
385
385
  const _SQPR = "StartQueryPlanningRequest";
386
386
  const _SQPRt = "StartQueryPlanningResponse";
387
387
  const _SR = "ShareRecipients";
388
+ const _SRt = "StatusReason";
388
389
  const _SSQPRQS = "SyntheticStartQueryPlanningRequestQueryString";
389
390
  const _ST = "SessionToken";
390
391
  const _STBLFT = "SearchTablesByLFTags";
@@ -1417,8 +1418,8 @@ export var RevokePermissionsResponse$ = [3, n0, _RPRe,
1417
1418
  ];
1418
1419
  export var RLSPolicy$ = [3, n0, _RLSP,
1419
1420
  0,
1420
- [_CI, _N, _ACt, _FE],
1421
- [0, 0, () => ColumnList, 0]
1421
+ [_CI, _N, _ACt, _FE, _St, _SRt],
1422
+ [0, 0, () => ColumnList, 0, 0, 0]
1422
1423
  ];
1423
1424
  export var RLSPolicyAttachment$ = [3, n0, _RLSPAo,
1424
1425
  0,
@@ -49,6 +49,8 @@ declare const GetRLSPolicyCommand_base: {
49
49
  * // },
50
50
  * // ],
51
51
  * // FilterExpression: "STRING_VALUE",
52
+ * // Status: "VALID" || "INVALID",
53
+ * // StatusReason: "REFERENCED_UDF_DELETED" || "REFERENCED_LOOKUP_TABLE_DELETED",
52
54
  * // },
53
55
  * // };
54
56
  *
@@ -51,6 +51,8 @@ declare const ListRLSPoliciesCommand_base: {
51
51
  * // },
52
52
  * // ],
53
53
  * // FilterExpression: "STRING_VALUE",
54
+ * // Status: "VALID" || "INVALID",
55
+ * // StatusReason: "REFERENCED_UDF_DELETED" || "REFERENCED_LOOKUP_TABLE_DELETED",
54
56
  * // },
55
57
  * // ],
56
58
  * // NextToken: "STRING_VALUE",
@@ -126,6 +126,30 @@ export declare const QueryStateString: {
126
126
  * @public
127
127
  */
128
128
  export type QueryStateString = (typeof QueryStateString)[keyof typeof QueryStateString];
129
+ /**
130
+ * @public
131
+ * @enum
132
+ */
133
+ export declare const RLSPolicyStatus: {
134
+ readonly INVALID: "INVALID";
135
+ readonly VALID: "VALID";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type RLSPolicyStatus = (typeof RLSPolicyStatus)[keyof typeof RLSPolicyStatus];
141
+ /**
142
+ * @public
143
+ * @enum
144
+ */
145
+ export declare const RLSPolicyStatusReason: {
146
+ readonly REFERENCED_LOOKUP_TABLE_DELETED: "REFERENCED_LOOKUP_TABLE_DELETED";
147
+ readonly REFERENCED_UDF_DELETED: "REFERENCED_UDF_DELETED";
148
+ };
149
+ /**
150
+ * @public
151
+ */
152
+ export type RLSPolicyStatusReason = (typeof RLSPolicyStatusReason)[keyof typeof RLSPolicyStatusReason];
129
153
  /**
130
154
  * @public
131
155
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { StreamingBlobTypes } from "@smithy/types";
2
- import type { AnyResourceSupportedTypes, ApplicationStatus, ComparisonOperator, CredentialsScope, DataLakeResourceType, EnableStatus, FieldNameString, OptimizerType, Permission, PermissionType, QueryStateString, ResourceShareType, ResourceType, ServiceAuthorization, TransactionStatus, TransactionStatusFilter, TransactionType, VerificationStatus } from "./enums";
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";
3
3
  /**
4
4
  * <p>A structure containing an LF-tag key-value pair.</p>
5
5
  * @public
@@ -2107,6 +2107,16 @@ export interface RLSPolicy {
2107
2107
  * @public
2108
2108
  */
2109
2109
  FilterExpression?: string | undefined;
2110
+ /**
2111
+ * <p>Whether the row-level security policy can be evaluated. <code>VALID</code> means that every lookup table and user-defined function the filter expression references exists. <code>INVALID</code> means that a lookup table or user-defined function the filter expression references was deleted.</p>
2112
+ * @public
2113
+ */
2114
+ Status?: RLSPolicyStatus | undefined;
2115
+ /**
2116
+ * <p>The reason the row-level security policy is <code>INVALID</code>. <code>REFERENCED_LOOKUP_TABLE_DELETED</code> means that a lookup table the filter expression references was deleted. <code>REFERENCED_UDF_DELETED</code> means that a user-defined function the filter expression references was deleted. Not returned when the status is <code>VALID</code>.</p>
2117
+ * @public
2118
+ */
2119
+ StatusReason?: RLSPolicyStatusReason | undefined;
2110
2120
  }
2111
2121
  /**
2112
2122
  * @public
@@ -64,6 +64,17 @@ export declare const QueryStateString: {
64
64
  readonly WORKUNITS_AVAILABLE: "WORKUNITS_AVAILABLE";
65
65
  };
66
66
  export type QueryStateString = (typeof QueryStateString)[keyof typeof QueryStateString];
67
+ export declare const RLSPolicyStatus: {
68
+ readonly INVALID: "INVALID";
69
+ readonly VALID: "VALID";
70
+ };
71
+ export type RLSPolicyStatus = (typeof RLSPolicyStatus)[keyof typeof RLSPolicyStatus];
72
+ export declare const RLSPolicyStatusReason: {
73
+ readonly REFERENCED_LOOKUP_TABLE_DELETED: "REFERENCED_LOOKUP_TABLE_DELETED";
74
+ readonly REFERENCED_UDF_DELETED: "REFERENCED_UDF_DELETED";
75
+ };
76
+ export type RLSPolicyStatusReason =
77
+ (typeof RLSPolicyStatusReason)[keyof typeof RLSPolicyStatusReason];
67
78
  export declare const CredentialsScope: {
68
79
  readonly READ: "READ";
69
80
  readonly READWRITE: "READWRITE";
@@ -13,6 +13,8 @@ import {
13
13
  QueryStateString,
14
14
  ResourceShareType,
15
15
  ResourceType,
16
+ RLSPolicyStatus,
17
+ RLSPolicyStatusReason,
16
18
  ServiceAuthorization,
17
19
  TransactionStatus,
18
20
  TransactionStatusFilter,
@@ -524,6 +526,8 @@ export interface RLSPolicy {
524
526
  Name?: string | undefined;
525
527
  AttachmentColumns?: Column[] | undefined;
526
528
  FilterExpression?: string | undefined;
529
+ Status?: RLSPolicyStatus | undefined;
530
+ StatusReason?: RLSPolicyStatusReason | undefined;
527
531
  }
528
532
  export interface GetRLSPolicyResponse {
529
533
  RLSPolicy?: RLSPolicy | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lakeformation",
3
- "version": "3.1172.0",
3
+ "version": "3.1174.0",
4
4
  "description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lakeformation",
6
6
  "license": "Apache-2.0",