aws-sdk-lakeformation 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e13171b1878aaab8a87f18b45292807c7529d9a81f4f6049ba102a0b5b7983c
4
- data.tar.gz: fe2892b97fbfdfbe2638479f54810873851d3d331031f814cdee4f79c1d24670
3
+ metadata.gz: 23c02db260ed4bd8a5e82ae3b7fed76908a12c78ef0281169dad5757ae0fc54b
4
+ data.tar.gz: bbb8aa4c51a5654d69eb77d66e13963ce890997924d9efd25aead8d404082933
5
5
  SHA512:
6
- metadata.gz: a981a892f375c416ad0731527c4dfc5bff2e1e8098474a069df9086d18bf8c9eb8c1bae6e745c1ad6d5f2c741afdb701847bdf7c986f7fcbdf0ef21bcc9221e6
7
- data.tar.gz: b46100b9f6788aee043fa892047f1172cba752d2a5756ab79da745d5efadf30f4fc6ef7a8e83260a6a897fe7c856de6ab2d2a7b693551529d350da1ea39b7845
6
+ metadata.gz: bb393fa8b1a64c6d2143fd761b5c3517c4a681e0ff20bc3e18facc03ef5d2acf389f7f157be30517e7d4baa980ace2cb6adbddf7dd7ad3b7ee5fff7abfb1db22
7
+ data.tar.gz: f96cbb11d237b2b9ecf94a1a356717cf57ccd0c954d597c1952b46a429f32e13d20b86eb74e34bd5257c3e8ecb82f044095d966050184e34e7bf1659039dd712
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-lakeformation/customizations'
47
47
  # @service
48
48
  module Aws::LakeFormation
49
49
 
50
- GEM_VERSION = '1.7.0'
50
+ GEM_VERSION = '1.8.0'
51
51
 
52
52
  end
@@ -672,6 +672,8 @@ module Aws::LakeFormation
672
672
  # resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
673
673
  # resp.permissions[0].permissions_with_grant_option #=> Array
674
674
  # resp.permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
675
+ # resp.permissions[0].additional_details.resource_share #=> Array
676
+ # resp.permissions[0].additional_details.resource_share[0] #=> String
675
677
  # resp.next_token #=> String
676
678
  #
677
679
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath AWS API Documentation
@@ -885,6 +887,8 @@ module Aws::LakeFormation
885
887
  # resp.principal_resource_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
886
888
  # resp.principal_resource_permissions[0].permissions_with_grant_option #=> Array
887
889
  # resp.principal_resource_permissions[0].permissions_with_grant_option[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
890
+ # resp.principal_resource_permissions[0].additional_details.resource_share #=> Array
891
+ # resp.principal_resource_permissions[0].additional_details.resource_share[0] #=> String
888
892
  # resp.next_token #=> String
889
893
  #
890
894
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions AWS API Documentation
@@ -1191,7 +1195,7 @@ module Aws::LakeFormation
1191
1195
  params: params,
1192
1196
  config: config)
1193
1197
  context[:gem_name] = 'aws-sdk-lakeformation'
1194
- context[:gem_version] = '1.7.0'
1198
+ context[:gem_version] = '1.8.0'
1195
1199
  Seahorse::Client::Request.new(handlers, context)
1196
1200
  end
1197
1201
 
@@ -40,6 +40,7 @@ module Aws::LakeFormation
40
40
  DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
41
41
  DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
42
42
  DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
43
+ DetailsMap = Shapes::StructureShape.new(name: 'DetailsMap')
43
44
  EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
44
45
  ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
45
46
  FieldNameString = Shapes::StringShape.new(name: 'FieldNameString')
@@ -73,12 +74,14 @@ module Aws::LakeFormation
73
74
  PrincipalResourcePermissionsList = Shapes::ListShape.new(name: 'PrincipalResourcePermissionsList')
74
75
  PutDataLakeSettingsRequest = Shapes::StructureShape.new(name: 'PutDataLakeSettingsRequest')
75
76
  PutDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'PutDataLakeSettingsResponse')
77
+ RAMResourceShareArn = Shapes::StringShape.new(name: 'RAMResourceShareArn')
76
78
  RegisterResourceRequest = Shapes::StructureShape.new(name: 'RegisterResourceRequest')
77
79
  RegisterResourceResponse = Shapes::StructureShape.new(name: 'RegisterResourceResponse')
78
80
  Resource = Shapes::StructureShape.new(name: 'Resource')
79
81
  ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
80
82
  ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
81
83
  ResourceInfoList = Shapes::ListShape.new(name: 'ResourceInfoList')
84
+ ResourceShareList = Shapes::ListShape.new(name: 'ResourceShareList')
82
85
  RevokePermissionsRequest = Shapes::StructureShape.new(name: 'RevokePermissionsRequest')
83
86
  RevokePermissionsResponse = Shapes::StructureShape.new(name: 'RevokePermissionsResponse')
84
87
  StringValue = Shapes::StringShape.new(name: 'StringValue')
@@ -163,6 +166,9 @@ module Aws::LakeFormation
163
166
  DescribeResourceResponse.add_member(:resource_info, Shapes::ShapeRef.new(shape: ResourceInfo, location_name: "ResourceInfo"))
164
167
  DescribeResourceResponse.struct_class = Types::DescribeResourceResponse
165
168
 
169
+ DetailsMap.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShareList, location_name: "ResourceShare"))
170
+ DetailsMap.struct_class = Types::DetailsMap
171
+
166
172
  EntityNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
167
173
  EntityNotFoundException.struct_class = Types::EntityNotFoundException
168
174
 
@@ -244,6 +250,7 @@ module Aws::LakeFormation
244
250
  PrincipalResourcePermissions.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "Resource"))
245
251
  PrincipalResourcePermissions.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
246
252
  PrincipalResourcePermissions.add_member(:permissions_with_grant_option, Shapes::ShapeRef.new(shape: PermissionList, location_name: "PermissionsWithGrantOption"))
253
+ PrincipalResourcePermissions.add_member(:additional_details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "AdditionalDetails"))
247
254
  PrincipalResourcePermissions.struct_class = Types::PrincipalResourcePermissions
248
255
 
249
256
  PrincipalResourcePermissionsList.member = Shapes::ShapeRef.new(shape: PrincipalResourcePermissions)
@@ -275,6 +282,8 @@ module Aws::LakeFormation
275
282
 
276
283
  ResourceInfoList.member = Shapes::ShapeRef.new(shape: ResourceInfo)
277
284
 
285
+ ResourceShareList.member = Shapes::ShapeRef.new(shape: RAMResourceShareArn)
286
+
278
287
  RevokePermissionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
279
288
  RevokePermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
280
289
  RevokePermissionsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
@@ -524,6 +524,26 @@ module Aws::LakeFormation
524
524
  include Aws::Structure
525
525
  end
526
526
 
527
+ # A structure containing the additional details to be returned in the
528
+ # `AdditionalDetails` attribute of `PrincipalResourcePermissions`.
529
+ #
530
+ # If a catalog resource is shared through AWS Resource Access Manager
531
+ # (AWS RAM), then there will exist a corresponding RAM share resource
532
+ # ARN.
533
+ #
534
+ # @!attribute [rw] resource_share
535
+ # A share resource ARN for a catalog resource shared through AWS
536
+ # Resource Access Manager (AWS RAM).
537
+ # @return [Array<String>]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DetailsMap AWS API Documentation
540
+ #
541
+ class DetailsMap < Struct.new(
542
+ :resource_share)
543
+ SENSITIVE = []
544
+ include Aws::Structure
545
+ end
546
+
527
547
  # A specified entity does not exist
528
548
  #
529
549
  # @!attribute [rw] message
@@ -1032,13 +1052,20 @@ module Aws::LakeFormation
1032
1052
  # subset of permissions granted).
1033
1053
  # @return [Array<String>]
1034
1054
  #
1055
+ # @!attribute [rw] additional_details
1056
+ # This attribute can be used to return any additional details of
1057
+ # `PrincipalResourcePermissions`. Currently returns only as a RAM
1058
+ # share resource ARN.
1059
+ # @return [Types::DetailsMap]
1060
+ #
1035
1061
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PrincipalResourcePermissions AWS API Documentation
1036
1062
  #
1037
1063
  class PrincipalResourcePermissions < Struct.new(
1038
1064
  :principal,
1039
1065
  :resource,
1040
1066
  :permissions,
1041
- :permissions_with_grant_option)
1067
+ :permissions_with_grant_option,
1068
+ :additional_details)
1042
1069
  SENSITIVE = []
1043
1070
  include Aws::Structure
1044
1071
  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.7.0
4
+ version: 1.8.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: 2020-07-07 00:00:00.000000000 Z
11
+ date: 2020-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core