aws-sdk-lakeformation 1.68.0 → 1.69.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 532e3feab3b577e73269e75af4520b5658ab477cc46303e42a2b3360b9c9d4bf
4
- data.tar.gz: 9cf8eaeb85c31ae3ab9e2907392219c7d8de4bcdc833d3e82da90201dc0c41a8
3
+ metadata.gz: e02eb810d89271f9836351a6766edb04585a681719a512c45945b3d97f977dd5
4
+ data.tar.gz: 547a8c56e3cd453d0cbef5023641825907f1712f92d04a65d4d2c85034cc3729
5
5
  SHA512:
6
- metadata.gz: a1f169b0365e11600dccb0e39fc0247c1f30da1311afe87e0b245c6f4cc7479504698d4da18e4401a7cf1af2928853de1451c749c632ac82b168a012c5ab06fe
7
- data.tar.gz: 865bde310a2c51b5b29dd2297cd081aa20624f94902ce908a1cd0c945c80ff11df19fb0a19c61dfc58588d2324e9b3486a90a876641d5eb9391b66a95acd4482
6
+ metadata.gz: bdd4efeb46674992ab412a9c08ab75a621b3a5af59ce90d5be0a3f45ec782d53088df0be0d6a02a3f2bd7be7aef2a0b035d1ecc41e8f7c90d3b14acf841b304b
7
+ data.tar.gz: de4bd2e4796cee2182ccb31faf56262138e899a921c5b75f863bebed2e12ae58bb4d9c7cff46064f71cb25a2c907771c8beb2d67ed069c26ec177de447e9f4ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2025-03-14)
5
+ ------------------
6
+
7
+ * Feature - This release added "condition" to LakeFormation OptIn APIs, also added WithPrivilegedAccess flag to RegisterResource and DescribeResource.
8
+
4
9
  1.68.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.68.0
1
+ 1.69.0
@@ -724,6 +724,9 @@ module Aws::LakeFormation
724
724
  # },
725
725
  # },
726
726
  # permissions: ["ALL"], # accepts 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
727
+ # condition: {
728
+ # expression: "ExpressionString",
729
+ # },
727
730
  # permissions_with_grant_option: ["ALL"], # accepts 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
728
731
  # },
729
732
  # ],
@@ -768,6 +771,7 @@ module Aws::LakeFormation
768
771
  # resp.failures[0].request_entry.resource.lf_tag_expression.name #=> String
769
772
  # resp.failures[0].request_entry.permissions #=> Array
770
773
  # resp.failures[0].request_entry.permissions[0] #=> String, one of "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"
774
+ # resp.failures[0].request_entry.condition.expression #=> String
771
775
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
772
776
  # resp.failures[0].request_entry.permissions_with_grant_option[0] #=> String, one of "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"
773
777
  # resp.failures[0].error.error_code #=> String
@@ -864,6 +868,9 @@ module Aws::LakeFormation
864
868
  # },
865
869
  # },
866
870
  # permissions: ["ALL"], # accepts 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
871
+ # condition: {
872
+ # expression: "ExpressionString",
873
+ # },
867
874
  # permissions_with_grant_option: ["ALL"], # accepts 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
868
875
  # },
869
876
  # ],
@@ -908,6 +915,7 @@ module Aws::LakeFormation
908
915
  # resp.failures[0].request_entry.resource.lf_tag_expression.name #=> String
909
916
  # resp.failures[0].request_entry.permissions #=> Array
910
917
  # resp.failures[0].request_entry.permissions[0] #=> String, one of "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"
918
+ # resp.failures[0].request_entry.condition.expression #=> String
911
919
  # resp.failures[0].request_entry.permissions_with_grant_option #=> Array
912
920
  # resp.failures[0].request_entry.permissions_with_grant_option[0] #=> String, one of "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"
913
921
  # resp.failures[0].error.error_code #=> String
@@ -1173,6 +1181,10 @@ module Aws::LakeFormation
1173
1181
  # @option params [required, Types::Resource] :resource
1174
1182
  # A structure for the resource.
1175
1183
  #
1184
+ # @option params [Types::Condition] :condition
1185
+ # A Lake Formation condition, which applies to permissions and opt-ins
1186
+ # that contain an expression.
1187
+ #
1176
1188
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1177
1189
  #
1178
1190
  # @example Request syntax with placeholder values
@@ -1236,6 +1248,9 @@ module Aws::LakeFormation
1236
1248
  # name: "NameString", # required
1237
1249
  # },
1238
1250
  # },
1251
+ # condition: {
1252
+ # expression: "ExpressionString",
1253
+ # },
1239
1254
  # })
1240
1255
  #
1241
1256
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLakeFormationOptIn AWS API Documentation
@@ -1380,6 +1395,10 @@ module Aws::LakeFormation
1380
1395
  # @option params [required, Types::Resource] :resource
1381
1396
  # A structure for the resource.
1382
1397
  #
1398
+ # @option params [Types::Condition] :condition
1399
+ # A Lake Formation condition, which applies to permissions and opt-ins
1400
+ # that contain an expression.
1401
+ #
1383
1402
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1384
1403
  #
1385
1404
  # @example Request syntax with placeholder values
@@ -1443,6 +1462,9 @@ module Aws::LakeFormation
1443
1462
  # name: "NameString", # required
1444
1463
  # },
1445
1464
  # },
1465
+ # condition: {
1466
+ # expression: "ExpressionString",
1467
+ # },
1446
1468
  # })
1447
1469
  #
1448
1470
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLakeFormationOptIn AWS API Documentation
@@ -1605,6 +1627,7 @@ module Aws::LakeFormation
1605
1627
  # resp.resource_info.last_modified #=> Time
1606
1628
  # resp.resource_info.with_federation #=> Boolean
1607
1629
  # resp.resource_info.hybrid_access_enabled #=> Boolean
1630
+ # resp.resource_info.with_privileged_access #=> Boolean
1608
1631
  #
1609
1632
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeResource AWS API Documentation
1610
1633
  #
@@ -2517,6 +2540,10 @@ module Aws::LakeFormation
2517
2540
  # Amazon S3. Lake Formation requires that each principal be authorized
2518
2541
  # to perform a specific task on Lake Formation resources.
2519
2542
  #
2543
+ # @option params [Types::Condition] :condition
2544
+ # A Lake Formation condition, which applies to permissions and opt-ins
2545
+ # that contain an expression.
2546
+ #
2520
2547
  # @option params [Array<String>] :permissions_with_grant_option
2521
2548
  # Indicates a list of the granted permissions that the principal may
2522
2549
  # pass to other users. These permissions may only be a subset of the
@@ -2587,6 +2614,9 @@ module Aws::LakeFormation
2587
2614
  # },
2588
2615
  # },
2589
2616
  # permissions: ["ALL"], # required, accepts 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
2617
+ # condition: {
2618
+ # expression: "ExpressionString",
2619
+ # },
2590
2620
  # permissions_with_grant_option: ["ALL"], # accepts 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
2591
2621
  # })
2592
2622
  #
@@ -3118,6 +3148,7 @@ module Aws::LakeFormation
3118
3148
  # resp.resource_info_list[0].last_modified #=> Time
3119
3149
  # resp.resource_info_list[0].with_federation #=> Boolean
3120
3150
  # resp.resource_info_list[0].hybrid_access_enabled #=> Boolean
3151
+ # resp.resource_info_list[0].with_privileged_access #=> Boolean
3121
3152
  # resp.next_token #=> String
3122
3153
  #
3123
3154
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListResources AWS API Documentation
@@ -3328,8 +3359,8 @@ module Aws::LakeFormation
3328
3359
  # Registers the resource as managed by the Data Catalog.
3329
3360
  #
3330
3361
  # To add or update data, Lake Formation needs read/write access to the
3331
- # chosen Amazon S3 path. Choose a role that you know has permission to
3332
- # do this, or choose the AWSServiceRoleForLakeFormationDataAccess
3362
+ # chosen data location. Choose a role that you know has permission to do
3363
+ # this, or choose the AWSServiceRoleForLakeFormationDataAccess
3333
3364
  # service-linked role. When you register the first Amazon S3 path, the
3334
3365
  # service-linked role and a new inline policy are created on your
3335
3366
  # behalf. Lake Formation adds the first path to the inline policy and
@@ -3375,6 +3406,10 @@ module Aws::LakeFormation
3375
3406
  # can be managed by both Lake Formation permissions as well as Amazon S3
3376
3407
  # bucket policies.
3377
3408
  #
3409
+ # @option params [Boolean] :with_privileged_access
3410
+ # Grants the calling principal the permissions to perform all supported
3411
+ # Lake Formation operations on the registered data location.
3412
+ #
3378
3413
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3379
3414
  #
3380
3415
  # @example Request syntax with placeholder values
@@ -3385,6 +3420,7 @@ module Aws::LakeFormation
3385
3420
  # role_arn: "IAMRoleArn",
3386
3421
  # with_federation: false,
3387
3422
  # hybrid_access_enabled: false,
3423
+ # with_privileged_access: false,
3388
3424
  # })
3389
3425
  #
3390
3426
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResource AWS API Documentation
@@ -3529,6 +3565,10 @@ module Aws::LakeFormation
3529
3565
  #
3530
3566
  # [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html
3531
3567
  #
3568
+ # @option params [Types::Condition] :condition
3569
+ # A Lake Formation condition, which applies to permissions and opt-ins
3570
+ # that contain an expression.
3571
+ #
3532
3572
  # @option params [Array<String>] :permissions_with_grant_option
3533
3573
  # Indicates a list of permissions for which to revoke the grant option
3534
3574
  # allowing the principal to pass permissions to other principals.
@@ -3598,6 +3638,9 @@ module Aws::LakeFormation
3598
3638
  # },
3599
3639
  # },
3600
3640
  # permissions: ["ALL"], # required, accepts 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
3641
+ # condition: {
3642
+ # expression: "ExpressionString",
3643
+ # },
3601
3644
  # permissions_with_grant_option: ["ALL"], # accepts 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
3602
3645
  # })
3603
3646
  #
@@ -4167,7 +4210,7 @@ module Aws::LakeFormation
4167
4210
  tracer: tracer
4168
4211
  )
4169
4212
  context[:gem_name] = 'aws-sdk-lakeformation'
4170
- context[:gem_version] = '1.68.0'
4213
+ context[:gem_version] = '1.69.0'
4171
4214
  Seahorse::Client::Request.new(handlers, context)
4172
4215
  end
4173
4216
 
@@ -37,6 +37,7 @@ module Aws::LakeFormation
37
37
  BatchPermissionsRequestEntryList = Shapes::ListShape.new(name: 'BatchPermissionsRequestEntryList')
38
38
  BatchRevokePermissionsRequest = Shapes::StructureShape.new(name: 'BatchRevokePermissionsRequest')
39
39
  BatchRevokePermissionsResponse = Shapes::StructureShape.new(name: 'BatchRevokePermissionsResponse')
40
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
40
41
  BooleanNullable = Shapes::BooleanShape.new(name: 'BooleanNullable')
41
42
  CancelTransactionRequest = Shapes::StructureShape.new(name: 'CancelTransactionRequest')
42
43
  CancelTransactionResponse = Shapes::StructureShape.new(name: 'CancelTransactionResponse')
@@ -387,6 +388,7 @@ module Aws::LakeFormation
387
388
  BatchPermissionsRequestEntry.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, location_name: "Principal"))
388
389
  BatchPermissionsRequestEntry.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "Resource"))
389
390
  BatchPermissionsRequestEntry.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
391
+ BatchPermissionsRequestEntry.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
390
392
  BatchPermissionsRequestEntry.add_member(:permissions_with_grant_option, Shapes::ShapeRef.new(shape: PermissionList, location_name: "PermissionsWithGrantOption"))
391
393
  BatchPermissionsRequestEntry.struct_class = Types::BatchPermissionsRequestEntry
392
394
 
@@ -461,6 +463,7 @@ module Aws::LakeFormation
461
463
 
462
464
  CreateLakeFormationOptInRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
463
465
  CreateLakeFormationOptInRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
466
+ CreateLakeFormationOptInRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
464
467
  CreateLakeFormationOptInRequest.struct_class = Types::CreateLakeFormationOptInRequest
465
468
 
466
469
  CreateLakeFormationOptInResponse.struct_class = Types::CreateLakeFormationOptInResponse
@@ -537,6 +540,7 @@ module Aws::LakeFormation
537
540
 
538
541
  DeleteLakeFormationOptInRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
539
542
  DeleteLakeFormationOptInRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
543
+ DeleteLakeFormationOptInRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
540
544
  DeleteLakeFormationOptInRequest.struct_class = Types::DeleteLakeFormationOptInRequest
541
545
 
542
546
  DeleteLakeFormationOptInResponse.struct_class = Types::DeleteLakeFormationOptInResponse
@@ -764,6 +768,7 @@ module Aws::LakeFormation
764
768
  GrantPermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
765
769
  GrantPermissionsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
766
770
  GrantPermissionsRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, required: true, location_name: "Permissions"))
771
+ GrantPermissionsRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
767
772
  GrantPermissionsRequest.add_member(:permissions_with_grant_option, Shapes::ShapeRef.new(shape: PermissionList, location_name: "PermissionsWithGrantOption"))
768
773
  GrantPermissionsRequest.struct_class = Types::GrantPermissionsRequest
769
774
 
@@ -984,6 +989,7 @@ module Aws::LakeFormation
984
989
  RegisterResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "RoleArn"))
985
990
  RegisterResourceRequest.add_member(:with_federation, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "WithFederation"))
986
991
  RegisterResourceRequest.add_member(:hybrid_access_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HybridAccessEnabled"))
992
+ RegisterResourceRequest.add_member(:with_privileged_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithPrivilegedAccess"))
987
993
  RegisterResourceRequest.struct_class = Types::RegisterResourceRequest
988
994
 
989
995
  RegisterResourceResponse.struct_class = Types::RegisterResourceResponse
@@ -1012,6 +1018,7 @@ module Aws::LakeFormation
1012
1018
  ResourceInfo.add_member(:last_modified, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "LastModified"))
1013
1019
  ResourceInfo.add_member(:with_federation, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "WithFederation"))
1014
1020
  ResourceInfo.add_member(:hybrid_access_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "HybridAccessEnabled"))
1021
+ ResourceInfo.add_member(:with_privileged_access, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "WithPrivilegedAccess"))
1015
1022
  ResourceInfo.struct_class = Types::ResourceInfo
1016
1023
 
1017
1024
  ResourceInfoList.member = Shapes::ShapeRef.new(shape: ResourceInfo)
@@ -1028,6 +1035,7 @@ module Aws::LakeFormation
1028
1035
  RevokePermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
1029
1036
  RevokePermissionsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
1030
1037
  RevokePermissionsRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, required: true, location_name: "Permissions"))
1038
+ RevokePermissionsRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
1031
1039
  RevokePermissionsRequest.add_member(:permissions_with_grant_option, Shapes::ShapeRef.new(shape: PermissionList, location_name: "PermissionsWithGrantOption"))
1032
1040
  RevokePermissionsRequest.struct_class = Types::RevokePermissionsRequest
1033
1041
 
@@ -1394,6 +1402,7 @@ module Aws::LakeFormation
1394
1402
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1395
1403
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1396
1404
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
1397
1406
  end)
1398
1407
 
1399
1408
  api.add_operation(:delete_data_cells_filter, Seahorse::Model::Operation.new.tap do |o|
@@ -271,6 +271,11 @@ module Aws::LakeFormation
271
271
  # The permissions to be granted.
272
272
  # @return [Array<String>]
273
273
  #
274
+ # @!attribute [rw] condition
275
+ # A Lake Formation condition, which applies to permissions and opt-ins
276
+ # that contain an expression.
277
+ # @return [Types::Condition]
278
+ #
274
279
  # @!attribute [rw] permissions_with_grant_option
275
280
  # Indicates if the option to pass permissions is granted.
276
281
  # @return [Array<String>]
@@ -282,6 +287,7 @@ module Aws::LakeFormation
282
287
  :principal,
283
288
  :resource,
284
289
  :permissions,
290
+ :condition,
285
291
  :permissions_with_grant_option)
286
292
  SENSITIVE = []
287
293
  include Aws::Structure
@@ -585,11 +591,17 @@ module Aws::LakeFormation
585
591
  # A structure for the resource.
586
592
  # @return [Types::Resource]
587
593
  #
594
+ # @!attribute [rw] condition
595
+ # A Lake Formation condition, which applies to permissions and opt-ins
596
+ # that contain an expression.
597
+ # @return [Types::Condition]
598
+ #
588
599
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLakeFormationOptInRequest AWS API Documentation
589
600
  #
590
601
  class CreateLakeFormationOptInRequest < Struct.new(
591
602
  :principal,
592
- :resource)
603
+ :resource,
604
+ :condition)
593
605
  SENSITIVE = []
594
606
  include Aws::Structure
595
607
  end
@@ -979,11 +991,17 @@ module Aws::LakeFormation
979
991
  # A structure for the resource.
980
992
  # @return [Types::Resource]
981
993
  #
994
+ # @!attribute [rw] condition
995
+ # A Lake Formation condition, which applies to permissions and opt-ins
996
+ # that contain an expression.
997
+ # @return [Types::Condition]
998
+ #
982
999
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLakeFormationOptInRequest AWS API Documentation
983
1000
  #
984
1001
  class DeleteLakeFormationOptInRequest < Struct.new(
985
1002
  :principal,
986
- :resource)
1003
+ :resource,
1004
+ :condition)
987
1005
  SENSITIVE = []
988
1006
  include Aws::Structure
989
1007
  end
@@ -2060,6 +2078,11 @@ module Aws::LakeFormation
2060
2078
  # authorized to perform a specific task on Lake Formation resources.
2061
2079
  # @return [Array<String>]
2062
2080
  #
2081
+ # @!attribute [rw] condition
2082
+ # A Lake Formation condition, which applies to permissions and opt-ins
2083
+ # that contain an expression.
2084
+ # @return [Types::Condition]
2085
+ #
2063
2086
  # @!attribute [rw] permissions_with_grant_option
2064
2087
  # Indicates a list of the granted permissions that the principal may
2065
2088
  # pass to other users. These permissions may only be a subset of the
@@ -2073,6 +2096,7 @@ module Aws::LakeFormation
2073
2096
  :principal,
2074
2097
  :resource,
2075
2098
  :permissions,
2099
+ :condition,
2076
2100
  :permissions_with_grant_option)
2077
2101
  SENSITIVE = []
2078
2102
  include Aws::Structure
@@ -3037,6 +3061,11 @@ module Aws::LakeFormation
3037
3061
  # S3 bucket policies.
3038
3062
  # @return [Boolean]
3039
3063
  #
3064
+ # @!attribute [rw] with_privileged_access
3065
+ # Grants the calling principal the permissions to perform all
3066
+ # supported Lake Formation operations on the registered data location.
3067
+ # @return [Boolean]
3068
+ #
3040
3069
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResourceRequest AWS API Documentation
3041
3070
  #
3042
3071
  class RegisterResourceRequest < Struct.new(
@@ -3044,7 +3073,8 @@ module Aws::LakeFormation
3044
3073
  :use_service_linked_role,
3045
3074
  :role_arn,
3046
3075
  :with_federation,
3047
- :hybrid_access_enabled)
3076
+ :hybrid_access_enabled,
3077
+ :with_privileged_access)
3048
3078
  SENSITIVE = []
3049
3079
  include Aws::Structure
3050
3080
  end
@@ -3182,6 +3212,11 @@ module Aws::LakeFormation
3182
3212
  # S3 bucket policies.
3183
3213
  # @return [Boolean]
3184
3214
  #
3215
+ # @!attribute [rw] with_privileged_access
3216
+ # Grants the calling principal the permissions to perform all
3217
+ # supported Lake Formation operations on the registered data location.
3218
+ # @return [Boolean]
3219
+ #
3185
3220
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ResourceInfo AWS API Documentation
3186
3221
  #
3187
3222
  class ResourceInfo < Struct.new(
@@ -3189,7 +3224,8 @@ module Aws::LakeFormation
3189
3224
  :role_arn,
3190
3225
  :last_modified,
3191
3226
  :with_federation,
3192
- :hybrid_access_enabled)
3227
+ :hybrid_access_enabled,
3228
+ :with_privileged_access)
3193
3229
  SENSITIVE = []
3194
3230
  include Aws::Structure
3195
3231
  end
@@ -3248,6 +3284,11 @@ module Aws::LakeFormation
3248
3284
  # [1]: https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html
3249
3285
  # @return [Array<String>]
3250
3286
  #
3287
+ # @!attribute [rw] condition
3288
+ # A Lake Formation condition, which applies to permissions and opt-ins
3289
+ # that contain an expression.
3290
+ # @return [Types::Condition]
3291
+ #
3251
3292
  # @!attribute [rw] permissions_with_grant_option
3252
3293
  # Indicates a list of permissions for which to revoke the grant option
3253
3294
  # allowing the principal to pass permissions to other principals.
@@ -3260,6 +3301,7 @@ module Aws::LakeFormation
3260
3301
  :principal,
3261
3302
  :resource,
3262
3303
  :permissions,
3304
+ :condition,
3263
3305
  :permissions_with_grant_option)
3264
3306
  SENSITIVE = []
3265
3307
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::LakeFormation
54
54
  autoload :EndpointProvider, 'aws-sdk-lakeformation/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-lakeformation/endpoints'
56
56
 
57
- GEM_VERSION = '1.68.0'
57
+ GEM_VERSION = '1.69.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -234,6 +234,9 @@ module Aws
234
234
  }?
235
235
  }?,
236
236
  permissions: Array[("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")]?,
237
+ condition: {
238
+ expression: ::String?
239
+ }?,
237
240
  permissions_with_grant_option: Array[("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")]?
238
241
  },
239
242
  ]
@@ -309,6 +312,9 @@ module Aws
309
312
  }?
310
313
  }?,
311
314
  permissions: Array[("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")]?,
315
+ condition: {
316
+ expression: ::String?
317
+ }?,
312
318
  permissions_with_grant_option: Array[("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")]?
313
319
  },
314
320
  ]
@@ -468,6 +474,9 @@ module Aws
468
474
  catalog_id: ::String?,
469
475
  name: ::String
470
476
  }?
477
+ },
478
+ ?condition: {
479
+ expression: ::String?
471
480
  }
472
481
  ) -> _CreateLakeFormationOptInResponseSuccess
473
482
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLakeFormationOptInResponseSuccess
@@ -575,6 +584,9 @@ module Aws
575
584
  catalog_id: ::String?,
576
585
  name: ::String
577
586
  }?
587
+ },
588
+ ?condition: {
589
+ expression: ::String?
578
590
  }
579
591
  ) -> _DeleteLakeFormationOptInResponseSuccess
580
592
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLakeFormationOptInResponseSuccess
@@ -972,6 +984,9 @@ module Aws
972
984
  }?
973
985
  },
974
986
  permissions: Array[("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")],
987
+ ?condition: {
988
+ expression: ::String?
989
+ },
975
990
  ?permissions_with_grant_option: Array[("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")]
976
991
  ) -> _GrantPermissionsResponseSuccess
977
992
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GrantPermissionsResponseSuccess
@@ -1270,7 +1285,8 @@ module Aws
1270
1285
  ?use_service_linked_role: bool,
1271
1286
  ?role_arn: ::String,
1272
1287
  ?with_federation: bool,
1273
- ?hybrid_access_enabled: bool
1288
+ ?hybrid_access_enabled: bool,
1289
+ ?with_privileged_access: bool
1274
1290
  ) -> _RegisterResourceResponseSuccess
1275
1291
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterResourceResponseSuccess
1276
1292
 
@@ -1411,6 +1427,9 @@ module Aws
1411
1427
  }?
1412
1428
  },
1413
1429
  permissions: Array[("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")],
1430
+ ?condition: {
1431
+ expression: ::String?
1432
+ },
1414
1433
  ?permissions_with_grant_option: Array[("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")]
1415
1434
  ) -> _RevokePermissionsResponseSuccess
1416
1435
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RevokePermissionsResponseSuccess
data/sig/types.rbs CHANGED
@@ -84,6 +84,7 @@ module Aws::LakeFormation
84
84
  attr_accessor principal: Types::DataLakePrincipal
85
85
  attr_accessor resource: Types::Resource
86
86
  attr_accessor permissions: ::Array[("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")]
87
+ attr_accessor condition: Types::Condition
87
88
  attr_accessor permissions_with_grant_option: ::Array[("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")]
88
89
  SENSITIVE: []
89
90
  end
@@ -188,6 +189,7 @@ module Aws::LakeFormation
188
189
  class CreateLakeFormationOptInRequest
189
190
  attr_accessor principal: Types::DataLakePrincipal
190
191
  attr_accessor resource: Types::Resource
192
+ attr_accessor condition: Types::Condition
191
193
  SENSITIVE: []
192
194
  end
193
195
 
@@ -285,6 +287,7 @@ module Aws::LakeFormation
285
287
  class DeleteLakeFormationOptInRequest
286
288
  attr_accessor principal: Types::DataLakePrincipal
287
289
  attr_accessor resource: Types::Resource
290
+ attr_accessor condition: Types::Condition
288
291
  SENSITIVE: []
289
292
  end
290
293
 
@@ -603,6 +606,7 @@ module Aws::LakeFormation
603
606
  attr_accessor principal: Types::DataLakePrincipal
604
607
  attr_accessor resource: Types::Resource
605
608
  attr_accessor permissions: ::Array[("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")]
609
+ attr_accessor condition: Types::Condition
606
610
  attr_accessor permissions_with_grant_option: ::Array[("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")]
607
611
  SENSITIVE: []
608
612
  end
@@ -871,6 +875,7 @@ module Aws::LakeFormation
871
875
  attr_accessor role_arn: ::String
872
876
  attr_accessor with_federation: bool
873
877
  attr_accessor hybrid_access_enabled: bool
878
+ attr_accessor with_privileged_access: bool
874
879
  SENSITIVE: []
875
880
  end
876
881
 
@@ -908,6 +913,7 @@ module Aws::LakeFormation
908
913
  attr_accessor last_modified: ::Time
909
914
  attr_accessor with_federation: bool
910
915
  attr_accessor hybrid_access_enabled: bool
916
+ attr_accessor with_privileged_access: bool
911
917
  SENSITIVE: []
912
918
  end
913
919
 
@@ -926,6 +932,7 @@ module Aws::LakeFormation
926
932
  attr_accessor principal: Types::DataLakePrincipal
927
933
  attr_accessor resource: Types::Resource
928
934
  attr_accessor permissions: ::Array[("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")]
935
+ attr_accessor condition: Types::Condition
929
936
  attr_accessor permissions_with_grant_option: ::Array[("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")]
930
937
  SENSITIVE: []
931
938
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lakeformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.68.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core