aws-sdk-lakeformation 1.9.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -13,6 +13,9 @@ module Aws::LakeFormation
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AddLFTagsToResourceRequest = Shapes::StructureShape.new(name: 'AddLFTagsToResourceRequest')
18
+ AddLFTagsToResourceResponse = Shapes::StructureShape.new(name: 'AddLFTagsToResourceResponse')
16
19
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
17
20
  BatchGrantPermissionsRequest = Shapes::StructureShape.new(name: 'BatchGrantPermissionsRequest')
18
21
  BatchGrantPermissionsResponse = Shapes::StructureShape.new(name: 'BatchGrantPermissionsResponse')
@@ -22,19 +25,27 @@ module Aws::LakeFormation
22
25
  BatchPermissionsRequestEntryList = Shapes::ListShape.new(name: 'BatchPermissionsRequestEntryList')
23
26
  BatchRevokePermissionsRequest = Shapes::StructureShape.new(name: 'BatchRevokePermissionsRequest')
24
27
  BatchRevokePermissionsResponse = Shapes::StructureShape.new(name: 'BatchRevokePermissionsResponse')
28
+ BooleanNullable = Shapes::BooleanShape.new(name: 'BooleanNullable')
25
29
  CatalogIdString = Shapes::StringShape.new(name: 'CatalogIdString')
26
30
  CatalogResource = Shapes::StructureShape.new(name: 'CatalogResource')
31
+ ColumnLFTag = Shapes::StructureShape.new(name: 'ColumnLFTag')
32
+ ColumnLFTagsList = Shapes::ListShape.new(name: 'ColumnLFTagsList')
27
33
  ColumnNames = Shapes::ListShape.new(name: 'ColumnNames')
28
34
  ColumnWildcard = Shapes::StructureShape.new(name: 'ColumnWildcard')
29
35
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
30
36
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
37
+ CreateLFTagRequest = Shapes::StructureShape.new(name: 'CreateLFTagRequest')
38
+ CreateLFTagResponse = Shapes::StructureShape.new(name: 'CreateLFTagResponse')
31
39
  DataLakePrincipal = Shapes::StructureShape.new(name: 'DataLakePrincipal')
32
40
  DataLakePrincipalList = Shapes::ListShape.new(name: 'DataLakePrincipalList')
33
41
  DataLakePrincipalString = Shapes::StringShape.new(name: 'DataLakePrincipalString')
34
42
  DataLakeResourceType = Shapes::StringShape.new(name: 'DataLakeResourceType')
35
43
  DataLakeSettings = Shapes::StructureShape.new(name: 'DataLakeSettings')
36
44
  DataLocationResource = Shapes::StructureShape.new(name: 'DataLocationResource')
45
+ DatabaseLFTagsList = Shapes::ListShape.new(name: 'DatabaseLFTagsList')
37
46
  DatabaseResource = Shapes::StructureShape.new(name: 'DatabaseResource')
47
+ DeleteLFTagRequest = Shapes::StructureShape.new(name: 'DeleteLFTagRequest')
48
+ DeleteLFTagResponse = Shapes::StructureShape.new(name: 'DeleteLFTagResponse')
38
49
  DeregisterResourceRequest = Shapes::StructureShape.new(name: 'DeregisterResourceRequest')
39
50
  DeregisterResourceResponse = Shapes::StructureShape.new(name: 'DeregisterResourceResponse')
40
51
  DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
@@ -43,6 +54,7 @@ module Aws::LakeFormation
43
54
  DetailsMap = Shapes::StructureShape.new(name: 'DetailsMap')
44
55
  EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
45
56
  ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
57
+ Expression = Shapes::ListShape.new(name: 'Expression')
46
58
  FieldNameString = Shapes::StringShape.new(name: 'FieldNameString')
47
59
  FilterCondition = Shapes::StructureShape.new(name: 'FilterCondition')
48
60
  FilterConditionList = Shapes::ListShape.new(name: 'FilterConditionList')
@@ -50,13 +62,29 @@ module Aws::LakeFormation
50
62
  GetDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'GetDataLakeSettingsResponse')
51
63
  GetEffectivePermissionsForPathRequest = Shapes::StructureShape.new(name: 'GetEffectivePermissionsForPathRequest')
52
64
  GetEffectivePermissionsForPathResponse = Shapes::StructureShape.new(name: 'GetEffectivePermissionsForPathResponse')
65
+ GetLFTagRequest = Shapes::StructureShape.new(name: 'GetLFTagRequest')
66
+ GetLFTagResponse = Shapes::StructureShape.new(name: 'GetLFTagResponse')
67
+ GetResourceLFTagsRequest = Shapes::StructureShape.new(name: 'GetResourceLFTagsRequest')
68
+ GetResourceLFTagsResponse = Shapes::StructureShape.new(name: 'GetResourceLFTagsResponse')
69
+ GlueEncryptionException = Shapes::StructureShape.new(name: 'GlueEncryptionException')
53
70
  GrantPermissionsRequest = Shapes::StructureShape.new(name: 'GrantPermissionsRequest')
54
71
  GrantPermissionsResponse = Shapes::StructureShape.new(name: 'GrantPermissionsResponse')
55
72
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
56
73
  Identifier = Shapes::StringShape.new(name: 'Identifier')
57
74
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
58
75
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
76
+ LFTag = Shapes::StructureShape.new(name: 'LFTag')
77
+ LFTagError = Shapes::StructureShape.new(name: 'LFTagError')
78
+ LFTagErrors = Shapes::ListShape.new(name: 'LFTagErrors')
79
+ LFTagKey = Shapes::StringShape.new(name: 'LFTagKey')
80
+ LFTagKeyResource = Shapes::StructureShape.new(name: 'LFTagKeyResource')
81
+ LFTagPair = Shapes::StructureShape.new(name: 'LFTagPair')
82
+ LFTagPolicyResource = Shapes::StructureShape.new(name: 'LFTagPolicyResource')
83
+ LFTagValue = Shapes::StringShape.new(name: 'LFTagValue')
84
+ LFTagsList = Shapes::ListShape.new(name: 'LFTagsList')
59
85
  LastModifiedTimestamp = Shapes::TimestampShape.new(name: 'LastModifiedTimestamp')
86
+ ListLFTagsRequest = Shapes::StructureShape.new(name: 'ListLFTagsRequest')
87
+ ListLFTagsResponse = Shapes::StructureShape.new(name: 'ListLFTagsResponse')
60
88
  ListPermissionsRequest = Shapes::StructureShape.new(name: 'ListPermissionsRequest')
61
89
  ListPermissionsResponse = Shapes::StructureShape.new(name: 'ListPermissionsResponse')
62
90
  ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
@@ -77,23 +105,49 @@ module Aws::LakeFormation
77
105
  RAMResourceShareArn = Shapes::StringShape.new(name: 'RAMResourceShareArn')
78
106
  RegisterResourceRequest = Shapes::StructureShape.new(name: 'RegisterResourceRequest')
79
107
  RegisterResourceResponse = Shapes::StructureShape.new(name: 'RegisterResourceResponse')
108
+ RemoveLFTagsFromResourceRequest = Shapes::StructureShape.new(name: 'RemoveLFTagsFromResourceRequest')
109
+ RemoveLFTagsFromResourceResponse = Shapes::StructureShape.new(name: 'RemoveLFTagsFromResourceResponse')
80
110
  Resource = Shapes::StructureShape.new(name: 'Resource')
81
111
  ResourceArnString = Shapes::StringShape.new(name: 'ResourceArnString')
82
112
  ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
83
113
  ResourceInfoList = Shapes::ListShape.new(name: 'ResourceInfoList')
114
+ ResourceNumberLimitExceededException = Shapes::StructureShape.new(name: 'ResourceNumberLimitExceededException')
84
115
  ResourceShareList = Shapes::ListShape.new(name: 'ResourceShareList')
116
+ ResourceShareType = Shapes::StringShape.new(name: 'ResourceShareType')
117
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
85
118
  RevokePermissionsRequest = Shapes::StructureShape.new(name: 'RevokePermissionsRequest')
86
119
  RevokePermissionsResponse = Shapes::StructureShape.new(name: 'RevokePermissionsResponse')
120
+ SearchDatabasesByLFTagsRequest = Shapes::StructureShape.new(name: 'SearchDatabasesByLFTagsRequest')
121
+ SearchDatabasesByLFTagsResponse = Shapes::StructureShape.new(name: 'SearchDatabasesByLFTagsResponse')
122
+ SearchTablesByLFTagsRequest = Shapes::StructureShape.new(name: 'SearchTablesByLFTagsRequest')
123
+ SearchTablesByLFTagsResponse = Shapes::StructureShape.new(name: 'SearchTablesByLFTagsResponse')
87
124
  StringValue = Shapes::StringShape.new(name: 'StringValue')
88
125
  StringValueList = Shapes::ListShape.new(name: 'StringValueList')
126
+ TableLFTagsList = Shapes::ListShape.new(name: 'TableLFTagsList')
89
127
  TableResource = Shapes::StructureShape.new(name: 'TableResource')
90
128
  TableWildcard = Shapes::StructureShape.new(name: 'TableWildcard')
91
129
  TableWithColumnsResource = Shapes::StructureShape.new(name: 'TableWithColumnsResource')
130
+ TagValueList = Shapes::ListShape.new(name: 'TagValueList')
131
+ TaggedDatabase = Shapes::StructureShape.new(name: 'TaggedDatabase')
132
+ TaggedTable = Shapes::StructureShape.new(name: 'TaggedTable')
92
133
  Token = Shapes::StringShape.new(name: 'Token')
93
134
  TrustedResourceOwners = Shapes::ListShape.new(name: 'TrustedResourceOwners')
135
+ UpdateLFTagRequest = Shapes::StructureShape.new(name: 'UpdateLFTagRequest')
136
+ UpdateLFTagResponse = Shapes::StructureShape.new(name: 'UpdateLFTagResponse')
94
137
  UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
95
138
  UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
96
139
 
140
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
141
+ AccessDeniedException.struct_class = Types::AccessDeniedException
142
+
143
+ AddLFTagsToResourceRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
144
+ AddLFTagsToResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
145
+ AddLFTagsToResourceRequest.add_member(:lf_tags, Shapes::ShapeRef.new(shape: LFTagsList, required: true, location_name: "LFTags"))
146
+ AddLFTagsToResourceRequest.struct_class = Types::AddLFTagsToResourceRequest
147
+
148
+ AddLFTagsToResourceResponse.add_member(:failures, Shapes::ShapeRef.new(shape: LFTagErrors, location_name: "Failures"))
149
+ AddLFTagsToResourceResponse.struct_class = Types::AddLFTagsToResourceResponse
150
+
97
151
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
98
152
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
99
153
 
@@ -128,6 +182,12 @@ module Aws::LakeFormation
128
182
 
129
183
  CatalogResource.struct_class = Types::CatalogResource
130
184
 
185
+ ColumnLFTag.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
186
+ ColumnLFTag.add_member(:lf_tags, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTags"))
187
+ ColumnLFTag.struct_class = Types::ColumnLFTag
188
+
189
+ ColumnLFTagsList.member = Shapes::ShapeRef.new(shape: ColumnLFTag)
190
+
131
191
  ColumnNames.member = Shapes::ShapeRef.new(shape: NameString)
132
192
 
133
193
  ColumnWildcard.add_member(:excluded_column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "ExcludedColumnNames"))
@@ -136,6 +196,13 @@ module Aws::LakeFormation
136
196
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
137
197
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
138
198
 
199
+ CreateLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
200
+ CreateLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
201
+ CreateLFTagRequest.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, required: true, location_name: "TagValues"))
202
+ CreateLFTagRequest.struct_class = Types::CreateLFTagRequest
203
+
204
+ CreateLFTagResponse.struct_class = Types::CreateLFTagResponse
205
+
139
206
  DataLakePrincipal.add_member(:data_lake_principal_identifier, Shapes::ShapeRef.new(shape: DataLakePrincipalString, location_name: "DataLakePrincipalIdentifier"))
140
207
  DataLakePrincipal.struct_class = Types::DataLakePrincipal
141
208
 
@@ -151,10 +218,18 @@ module Aws::LakeFormation
151
218
  DataLocationResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
152
219
  DataLocationResource.struct_class = Types::DataLocationResource
153
220
 
221
+ DatabaseLFTagsList.member = Shapes::ShapeRef.new(shape: TaggedDatabase)
222
+
154
223
  DatabaseResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
155
224
  DatabaseResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
156
225
  DatabaseResource.struct_class = Types::DatabaseResource
157
226
 
227
+ DeleteLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
228
+ DeleteLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
229
+ DeleteLFTagRequest.struct_class = Types::DeleteLFTagRequest
230
+
231
+ DeleteLFTagResponse.struct_class = Types::DeleteLFTagResponse
232
+
158
233
  DeregisterResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
159
234
  DeregisterResourceRequest.struct_class = Types::DeregisterResourceRequest
160
235
 
@@ -176,6 +251,8 @@ module Aws::LakeFormation
176
251
  ErrorDetail.add_member(:error_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "ErrorMessage"))
177
252
  ErrorDetail.struct_class = Types::ErrorDetail
178
253
 
254
+ Expression.member = Shapes::ShapeRef.new(shape: LFTag)
255
+
179
256
  FilterCondition.add_member(:field, Shapes::ShapeRef.new(shape: FieldNameString, location_name: "Field"))
180
257
  FilterCondition.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "ComparisonOperator"))
181
258
  FilterCondition.add_member(:string_value_list, Shapes::ShapeRef.new(shape: StringValueList, location_name: "StringValueList"))
@@ -199,6 +276,28 @@ module Aws::LakeFormation
199
276
  GetEffectivePermissionsForPathResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
200
277
  GetEffectivePermissionsForPathResponse.struct_class = Types::GetEffectivePermissionsForPathResponse
201
278
 
279
+ GetLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
280
+ GetLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
281
+ GetLFTagRequest.struct_class = Types::GetLFTagRequest
282
+
283
+ GetLFTagResponse.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
284
+ GetLFTagResponse.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, location_name: "TagKey"))
285
+ GetLFTagResponse.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
286
+ GetLFTagResponse.struct_class = Types::GetLFTagResponse
287
+
288
+ GetResourceLFTagsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
289
+ GetResourceLFTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
290
+ GetResourceLFTagsRequest.add_member(:show_assigned_lf_tags, Shapes::ShapeRef.new(shape: BooleanNullable, location_name: "ShowAssignedLFTags"))
291
+ GetResourceLFTagsRequest.struct_class = Types::GetResourceLFTagsRequest
292
+
293
+ GetResourceLFTagsResponse.add_member(:lf_tag_on_database, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTagOnDatabase"))
294
+ GetResourceLFTagsResponse.add_member(:lf_tags_on_table, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTagsOnTable"))
295
+ GetResourceLFTagsResponse.add_member(:lf_tags_on_columns, Shapes::ShapeRef.new(shape: ColumnLFTagsList, location_name: "LFTagsOnColumns"))
296
+ GetResourceLFTagsResponse.struct_class = Types::GetResourceLFTagsResponse
297
+
298
+ GlueEncryptionException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
299
+ GlueEncryptionException.struct_class = Types::GlueEncryptionException
300
+
202
301
  GrantPermissionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
203
302
  GrantPermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, required: true, location_name: "Principal"))
204
303
  GrantPermissionsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
@@ -214,6 +313,43 @@ module Aws::LakeFormation
214
313
  InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
215
314
  InvalidInputException.struct_class = Types::InvalidInputException
216
315
 
316
+ LFTag.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
317
+ LFTag.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, required: true, location_name: "TagValues"))
318
+ LFTag.struct_class = Types::LFTag
319
+
320
+ LFTagError.add_member(:lf_tag, Shapes::ShapeRef.new(shape: LFTagPair, location_name: "LFTag"))
321
+ LFTagError.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "Error"))
322
+ LFTagError.struct_class = Types::LFTagError
323
+
324
+ LFTagErrors.member = Shapes::ShapeRef.new(shape: LFTagError)
325
+
326
+ LFTagKeyResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
327
+ LFTagKeyResource.add_member(:tag_key, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TagKey"))
328
+ LFTagKeyResource.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, required: true, location_name: "TagValues"))
329
+ LFTagKeyResource.struct_class = Types::LFTagKeyResource
330
+
331
+ LFTagPair.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
332
+ LFTagPair.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
333
+ LFTagPair.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, required: true, location_name: "TagValues"))
334
+ LFTagPair.struct_class = Types::LFTagPair
335
+
336
+ LFTagPolicyResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
337
+ LFTagPolicyResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
338
+ LFTagPolicyResource.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
339
+ LFTagPolicyResource.struct_class = Types::LFTagPolicyResource
340
+
341
+ LFTagsList.member = Shapes::ShapeRef.new(shape: LFTagPair)
342
+
343
+ ListLFTagsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
344
+ ListLFTagsRequest.add_member(:resource_share_type, Shapes::ShapeRef.new(shape: ResourceShareType, location_name: "ResourceShareType"))
345
+ ListLFTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
346
+ ListLFTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
347
+ ListLFTagsRequest.struct_class = Types::ListLFTagsRequest
348
+
349
+ ListLFTagsResponse.add_member(:lf_tags, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTags"))
350
+ ListLFTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
351
+ ListLFTagsResponse.struct_class = Types::ListLFTagsResponse
352
+
217
353
  ListPermissionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
218
354
  ListPermissionsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: DataLakePrincipal, location_name: "Principal"))
219
355
  ListPermissionsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: DataLakeResourceType, location_name: "ResourceType"))
@@ -268,11 +404,21 @@ module Aws::LakeFormation
268
404
 
269
405
  RegisterResourceResponse.struct_class = Types::RegisterResourceResponse
270
406
 
407
+ RemoveLFTagsFromResourceRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
408
+ RemoveLFTagsFromResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
409
+ RemoveLFTagsFromResourceRequest.add_member(:lf_tags, Shapes::ShapeRef.new(shape: LFTagsList, required: true, location_name: "LFTags"))
410
+ RemoveLFTagsFromResourceRequest.struct_class = Types::RemoveLFTagsFromResourceRequest
411
+
412
+ RemoveLFTagsFromResourceResponse.add_member(:failures, Shapes::ShapeRef.new(shape: LFTagErrors, location_name: "Failures"))
413
+ RemoveLFTagsFromResourceResponse.struct_class = Types::RemoveLFTagsFromResourceResponse
414
+
271
415
  Resource.add_member(:catalog, Shapes::ShapeRef.new(shape: CatalogResource, location_name: "Catalog"))
272
416
  Resource.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseResource, location_name: "Database"))
273
417
  Resource.add_member(:table, Shapes::ShapeRef.new(shape: TableResource, location_name: "Table"))
274
418
  Resource.add_member(:table_with_columns, Shapes::ShapeRef.new(shape: TableWithColumnsResource, location_name: "TableWithColumns"))
275
419
  Resource.add_member(:data_location, Shapes::ShapeRef.new(shape: DataLocationResource, location_name: "DataLocation"))
420
+ Resource.add_member(:lf_tag, Shapes::ShapeRef.new(shape: LFTagKeyResource, location_name: "LFTag"))
421
+ Resource.add_member(:lf_tag_policy, Shapes::ShapeRef.new(shape: LFTagPolicyResource, location_name: "LFTagPolicy"))
276
422
  Resource.struct_class = Types::Resource
277
423
 
278
424
  ResourceInfo.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, location_name: "ResourceArn"))
@@ -282,6 +428,9 @@ module Aws::LakeFormation
282
428
 
283
429
  ResourceInfoList.member = Shapes::ShapeRef.new(shape: ResourceInfo)
284
430
 
431
+ ResourceNumberLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
432
+ ResourceNumberLimitExceededException.struct_class = Types::ResourceNumberLimitExceededException
433
+
285
434
  ResourceShareList.member = Shapes::ShapeRef.new(shape: RAMResourceShareArn)
286
435
 
287
436
  RevokePermissionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
@@ -293,8 +442,30 @@ module Aws::LakeFormation
293
442
 
294
443
  RevokePermissionsResponse.struct_class = Types::RevokePermissionsResponse
295
444
 
445
+ SearchDatabasesByLFTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
446
+ SearchDatabasesByLFTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
447
+ SearchDatabasesByLFTagsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
448
+ SearchDatabasesByLFTagsRequest.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
449
+ SearchDatabasesByLFTagsRequest.struct_class = Types::SearchDatabasesByLFTagsRequest
450
+
451
+ SearchDatabasesByLFTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
452
+ SearchDatabasesByLFTagsResponse.add_member(:database_list, Shapes::ShapeRef.new(shape: DatabaseLFTagsList, location_name: "DatabaseList"))
453
+ SearchDatabasesByLFTagsResponse.struct_class = Types::SearchDatabasesByLFTagsResponse
454
+
455
+ SearchTablesByLFTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
456
+ SearchTablesByLFTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
457
+ SearchTablesByLFTagsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
458
+ SearchTablesByLFTagsRequest.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
459
+ SearchTablesByLFTagsRequest.struct_class = Types::SearchTablesByLFTagsRequest
460
+
461
+ SearchTablesByLFTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
462
+ SearchTablesByLFTagsResponse.add_member(:table_list, Shapes::ShapeRef.new(shape: TableLFTagsList, location_name: "TableList"))
463
+ SearchTablesByLFTagsResponse.struct_class = Types::SearchTablesByLFTagsResponse
464
+
296
465
  StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
297
466
 
467
+ TableLFTagsList.member = Shapes::ShapeRef.new(shape: TaggedTable)
468
+
298
469
  TableResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
299
470
  TableResource.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
300
471
  TableResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
@@ -310,8 +481,28 @@ module Aws::LakeFormation
310
481
  TableWithColumnsResource.add_member(:column_wildcard, Shapes::ShapeRef.new(shape: ColumnWildcard, location_name: "ColumnWildcard"))
311
482
  TableWithColumnsResource.struct_class = Types::TableWithColumnsResource
312
483
 
484
+ TagValueList.member = Shapes::ShapeRef.new(shape: LFTagValue)
485
+
486
+ TaggedDatabase.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseResource, location_name: "Database"))
487
+ TaggedDatabase.add_member(:lf_tags, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTags"))
488
+ TaggedDatabase.struct_class = Types::TaggedDatabase
489
+
490
+ TaggedTable.add_member(:table, Shapes::ShapeRef.new(shape: TableResource, location_name: "Table"))
491
+ TaggedTable.add_member(:lf_tag_on_database, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTagOnDatabase"))
492
+ TaggedTable.add_member(:lf_tags_on_table, Shapes::ShapeRef.new(shape: LFTagsList, location_name: "LFTagsOnTable"))
493
+ TaggedTable.add_member(:lf_tags_on_columns, Shapes::ShapeRef.new(shape: ColumnLFTagsList, location_name: "LFTagsOnColumns"))
494
+ TaggedTable.struct_class = Types::TaggedTable
495
+
313
496
  TrustedResourceOwners.member = Shapes::ShapeRef.new(shape: CatalogIdString)
314
497
 
498
+ UpdateLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
499
+ UpdateLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
500
+ UpdateLFTagRequest.add_member(:tag_values_to_delete, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValuesToDelete"))
501
+ UpdateLFTagRequest.add_member(:tag_values_to_add, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValuesToAdd"))
502
+ UpdateLFTagRequest.struct_class = Types::UpdateLFTagRequest
503
+
504
+ UpdateLFTagResponse.struct_class = Types::UpdateLFTagResponse
505
+
315
506
  UpdateResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "RoleArn"))
316
507
  UpdateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
317
508
  UpdateResourceRequest.struct_class = Types::UpdateResourceRequest
@@ -337,6 +528,20 @@ module Aws::LakeFormation
337
528
  "uid" => "lakeformation-2017-03-31",
338
529
  }
339
530
 
531
+ api.add_operation(:add_lf_tags_to_resource, Seahorse::Model::Operation.new.tap do |o|
532
+ o.name = "AddLFTagsToResource"
533
+ o.http_method = "POST"
534
+ o.http_request_uri = "/"
535
+ o.input = Shapes::ShapeRef.new(shape: AddLFTagsToResourceRequest)
536
+ o.output = Shapes::ShapeRef.new(shape: AddLFTagsToResourceResponse)
537
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
538
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
539
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
540
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
541
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
542
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
543
+ end)
544
+
340
545
  api.add_operation(:batch_grant_permissions, Seahorse::Model::Operation.new.tap do |o|
341
546
  o.name = "BatchGrantPermissions"
342
547
  o.http_method = "POST"
@@ -357,6 +562,33 @@ module Aws::LakeFormation
357
562
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
358
563
  end)
359
564
 
565
+ api.add_operation(:create_lf_tag, Seahorse::Model::Operation.new.tap do |o|
566
+ o.name = "CreateLFTag"
567
+ o.http_method = "POST"
568
+ o.http_request_uri = "/"
569
+ o.input = Shapes::ShapeRef.new(shape: CreateLFTagRequest)
570
+ o.output = Shapes::ShapeRef.new(shape: CreateLFTagResponse)
571
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
572
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
574
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
575
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
576
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
577
+ end)
578
+
579
+ api.add_operation(:delete_lf_tag, Seahorse::Model::Operation.new.tap do |o|
580
+ o.name = "DeleteLFTag"
581
+ o.http_method = "POST"
582
+ o.http_request_uri = "/"
583
+ o.input = Shapes::ShapeRef.new(shape: DeleteLFTagRequest)
584
+ o.output = Shapes::ShapeRef.new(shape: DeleteLFTagResponse)
585
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
586
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
587
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
588
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
589
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
590
+ end)
591
+
360
592
  api.add_operation(:deregister_resource, Seahorse::Model::Operation.new.tap do |o|
361
593
  o.name = "DeregisterResource"
362
594
  o.http_method = "POST"
@@ -410,6 +642,33 @@ module Aws::LakeFormation
410
642
  )
411
643
  end)
412
644
 
645
+ api.add_operation(:get_lf_tag, Seahorse::Model::Operation.new.tap do |o|
646
+ o.name = "GetLFTag"
647
+ o.http_method = "POST"
648
+ o.http_request_uri = "/"
649
+ o.input = Shapes::ShapeRef.new(shape: GetLFTagRequest)
650
+ o.output = Shapes::ShapeRef.new(shape: GetLFTagResponse)
651
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
653
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
654
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
656
+ end)
657
+
658
+ api.add_operation(:get_resource_lf_tags, Seahorse::Model::Operation.new.tap do |o|
659
+ o.name = "GetResourceLFTags"
660
+ o.http_method = "POST"
661
+ o.http_request_uri = "/"
662
+ o.input = Shapes::ShapeRef.new(shape: GetResourceLFTagsRequest)
663
+ o.output = Shapes::ShapeRef.new(shape: GetResourceLFTagsResponse)
664
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
665
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
666
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
667
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
668
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
669
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
670
+ end)
671
+
413
672
  api.add_operation(:grant_permissions, Seahorse::Model::Operation.new.tap do |o|
414
673
  o.name = "GrantPermissions"
415
674
  o.http_method = "POST"
@@ -421,6 +680,18 @@ module Aws::LakeFormation
421
680
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
422
681
  end)
423
682
 
683
+ api.add_operation(:list_lf_tags, Seahorse::Model::Operation.new.tap do |o|
684
+ o.name = "ListLFTags"
685
+ o.http_method = "POST"
686
+ o.http_request_uri = "/"
687
+ o.input = Shapes::ShapeRef.new(shape: ListLFTagsRequest)
688
+ o.output = Shapes::ShapeRef.new(shape: ListLFTagsResponse)
689
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
691
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
692
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
693
+ end)
694
+
424
695
  api.add_operation(:list_permissions, Seahorse::Model::Operation.new.tap do |o|
425
696
  o.name = "ListPermissions"
426
697
  o.http_method = "POST"
@@ -477,6 +748,21 @@ module Aws::LakeFormation
477
748
  o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
478
749
  end)
479
750
 
751
+ api.add_operation(:remove_lf_tags_from_resource, Seahorse::Model::Operation.new.tap do |o|
752
+ o.name = "RemoveLFTagsFromResource"
753
+ o.http_method = "POST"
754
+ o.http_request_uri = "/"
755
+ o.input = Shapes::ShapeRef.new(shape: RemoveLFTagsFromResourceRequest)
756
+ o.output = Shapes::ShapeRef.new(shape: RemoveLFTagsFromResourceResponse)
757
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
758
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
759
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
760
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
761
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
764
+ end)
765
+
480
766
  api.add_operation(:revoke_permissions, Seahorse::Model::Operation.new.tap do |o|
481
767
  o.name = "RevokePermissions"
482
768
  o.http_method = "POST"
@@ -488,6 +774,48 @@ module Aws::LakeFormation
488
774
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
489
775
  end)
490
776
 
777
+ api.add_operation(:search_databases_by_lf_tags, Seahorse::Model::Operation.new.tap do |o|
778
+ o.name = "SearchDatabasesByLFTags"
779
+ o.http_method = "POST"
780
+ o.http_request_uri = "/"
781
+ o.input = Shapes::ShapeRef.new(shape: SearchDatabasesByLFTagsRequest)
782
+ o.output = Shapes::ShapeRef.new(shape: SearchDatabasesByLFTagsResponse)
783
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
784
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
785
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
786
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
787
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
788
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
789
+ end)
790
+
791
+ api.add_operation(:search_tables_by_lf_tags, Seahorse::Model::Operation.new.tap do |o|
792
+ o.name = "SearchTablesByLFTags"
793
+ o.http_method = "POST"
794
+ o.http_request_uri = "/"
795
+ o.input = Shapes::ShapeRef.new(shape: SearchTablesByLFTagsRequest)
796
+ o.output = Shapes::ShapeRef.new(shape: SearchTablesByLFTagsResponse)
797
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
798
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
799
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
800
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
801
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
802
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
803
+ end)
804
+
805
+ api.add_operation(:update_lf_tag, Seahorse::Model::Operation.new.tap do |o|
806
+ o.name = "UpdateLFTag"
807
+ o.http_method = "POST"
808
+ o.http_request_uri = "/"
809
+ o.input = Shapes::ShapeRef.new(shape: UpdateLFTagRequest)
810
+ o.output = Shapes::ShapeRef.new(shape: UpdateLFTagResponse)
811
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
812
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
813
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
814
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
816
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
817
+ end)
818
+
491
819
  api.add_operation(:update_resource, Seahorse::Model::Operation.new.tap do |o|
492
820
  o.name = "UpdateResource"
493
821
  o.http_method = "POST"