aws-sdk-lakeformation 1.7.0 → 1.12.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: 2e13171b1878aaab8a87f18b45292807c7529d9a81f4f6049ba102a0b5b7983c
4
- data.tar.gz: fe2892b97fbfdfbe2638479f54810873851d3d331031f814cdee4f79c1d24670
3
+ metadata.gz: 8a063ba7d0274d58d59265960b7799472dad8cde36c8671823a8577445370e30
4
+ data.tar.gz: cb698c9dd715eeb73a68a7e87e5f8490bdb452494a3fb0baeafdcb2cd8fe8ca5
5
5
  SHA512:
6
- metadata.gz: a981a892f375c416ad0731527c4dfc5bff2e1e8098474a069df9086d18bf8c9eb8c1bae6e745c1ad6d5f2c741afdb701847bdf7c986f7fcbdf0ef21bcc9221e6
7
- data.tar.gz: b46100b9f6788aee043fa892047f1172cba752d2a5756ab79da745d5efadf30f4fc6ef7a8e83260a6a897fe7c856de6ab2d2a7b693551529d350da1ea39b7845
6
+ metadata.gz: 319f0a3b9580773f40aa7235cf8d271c7d5db8224ac9b6853834413548af94a61b3237a2dfd9acfdd2d3af1e7c546247b269c286ce90a8998ad250e6fa007165
7
+ data.tar.gz: 1acf48bf7b8895f683f5e9024696334aecc31587038258e2c112f9401d82019e64b5d7a1d3ef7ed77911b33312cbc4c232a42507978a557ae0c2f49a19498e85
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-lakeformation/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::LakeFormation
49
50
 
50
- GEM_VERSION = '1.7.0'
51
+ GEM_VERSION = '1.12.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::LakeFormation
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::LakeFormation
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -672,6 +687,8 @@ module Aws::LakeFormation
672
687
  # resp.permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "DESCRIBE", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
673
688
  # resp.permissions[0].permissions_with_grant_option #=> Array
674
689
  # 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"
690
+ # resp.permissions[0].additional_details.resource_share #=> Array
691
+ # resp.permissions[0].additional_details.resource_share[0] #=> String
675
692
  # resp.next_token #=> String
676
693
  #
677
694
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath AWS API Documentation
@@ -885,6 +902,8 @@ module Aws::LakeFormation
885
902
  # 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
903
  # resp.principal_resource_permissions[0].permissions_with_grant_option #=> Array
887
904
  # 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"
905
+ # resp.principal_resource_permissions[0].additional_details.resource_share #=> Array
906
+ # resp.principal_resource_permissions[0].additional_details.resource_share[0] #=> String
888
907
  # resp.next_token #=> String
889
908
  #
890
909
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions AWS API Documentation
@@ -1191,7 +1210,7 @@ module Aws::LakeFormation
1191
1210
  params: params,
1192
1211
  config: config)
1193
1212
  context[:gem_name] = 'aws-sdk-lakeformation'
1194
- context[:gem_version] = '1.7.0'
1213
+ context[:gem_version] = '1.12.0'
1195
1214
  Seahorse::Client::Request.new(handlers, context)
1196
1215
  end
1197
1216
 
@@ -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.12.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: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement