1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2017-03-31",
5    "endpointPrefix":"lakeformation",
6    "jsonVersion":"1.1",
7    "protocol":"json",
8    "serviceFullName":"AWS Lake Formation",
9    "serviceId":"LakeFormation",
10    "signatureVersion":"v4",
11    "signingName":"lakeformation",
12    "targetPrefix":"AWSLakeFormation",
13    "uid":"lakeformation-2017-03-31"
14  },
15  "operations":{
16    "AddLFTagsToResource":{
17      "name":"AddLFTagsToResource",
18      "http":{
19        "method":"POST",
20        "requestUri":"/"
21      },
22      "input":{"shape":"AddLFTagsToResourceRequest"},
23      "output":{"shape":"AddLFTagsToResourceResponse"},
24      "errors":[
25        {"shape":"EntityNotFoundException"},
26        {"shape":"InvalidInputException"},
27        {"shape":"InternalServiceException"},
28        {"shape":"OperationTimeoutException"},
29        {"shape":"AccessDeniedException"},
30        {"shape":"ConcurrentModificationException"}
31      ],
32      "documentation":"<p>Attaches one or more tags to an existing resource.</p>"
33    },
34    "BatchGrantPermissions":{
35      "name":"BatchGrantPermissions",
36      "http":{
37        "method":"POST",
38        "requestUri":"/"
39      },
40      "input":{"shape":"BatchGrantPermissionsRequest"},
41      "output":{"shape":"BatchGrantPermissionsResponse"},
42      "errors":[
43        {"shape":"InvalidInputException"},
44        {"shape":"OperationTimeoutException"}
45      ],
46      "documentation":"<p>Batch operation to grant permissions to the principal.</p>"
47    },
48    "BatchRevokePermissions":{
49      "name":"BatchRevokePermissions",
50      "http":{
51        "method":"POST",
52        "requestUri":"/"
53      },
54      "input":{"shape":"BatchRevokePermissionsRequest"},
55      "output":{"shape":"BatchRevokePermissionsResponse"},
56      "errors":[
57        {"shape":"InvalidInputException"},
58        {"shape":"OperationTimeoutException"}
59      ],
60      "documentation":"<p>Batch operation to revoke permissions from the principal.</p>"
61    },
62    "CreateLFTag":{
63      "name":"CreateLFTag",
64      "http":{
65        "method":"POST",
66        "requestUri":"/"
67      },
68      "input":{"shape":"CreateLFTagRequest"},
69      "output":{"shape":"CreateLFTagResponse"},
70      "errors":[
71        {"shape":"EntityNotFoundException"},
72        {"shape":"InvalidInputException"},
73        {"shape":"ResourceNumberLimitExceededException"},
74        {"shape":"InternalServiceException"},
75        {"shape":"OperationTimeoutException"},
76        {"shape":"AccessDeniedException"}
77      ],
78      "documentation":"<p>Creates a tag with the specified name and values.</p>"
79    },
80    "DeleteLFTag":{
81      "name":"DeleteLFTag",
82      "http":{
83        "method":"POST",
84        "requestUri":"/"
85      },
86      "input":{"shape":"DeleteLFTagRequest"},
87      "output":{"shape":"DeleteLFTagResponse"},
88      "errors":[
89        {"shape":"EntityNotFoundException"},
90        {"shape":"InvalidInputException"},
91        {"shape":"InternalServiceException"},
92        {"shape":"OperationTimeoutException"},
93        {"shape":"AccessDeniedException"}
94      ],
95      "documentation":"<p>Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message \"Delete not allowed\" as the tag key is still attached with resources. You can consider untagging resources with this tag key.</p>"
96    },
97    "DeregisterResource":{
98      "name":"DeregisterResource",
99      "http":{
100        "method":"POST",
101        "requestUri":"/"
102      },
103      "input":{"shape":"DeregisterResourceRequest"},
104      "output":{"shape":"DeregisterResourceResponse"},
105      "errors":[
106        {"shape":"InvalidInputException"},
107        {"shape":"InternalServiceException"},
108        {"shape":"OperationTimeoutException"},
109        {"shape":"EntityNotFoundException"}
110      ],
111      "documentation":"<p>Deregisters the resource as managed by the Data Catalog.</p> <p>When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.</p>"
112    },
113    "DescribeResource":{
114      "name":"DescribeResource",
115      "http":{
116        "method":"POST",
117        "requestUri":"/"
118      },
119      "input":{"shape":"DescribeResourceRequest"},
120      "output":{"shape":"DescribeResourceResponse"},
121      "errors":[
122        {"shape":"InvalidInputException"},
123        {"shape":"InternalServiceException"},
124        {"shape":"OperationTimeoutException"},
125        {"shape":"EntityNotFoundException"}
126      ],
127      "documentation":"<p>Retrieves the current data access role for the given resource registered in AWS Lake Formation.</p>"
128    },
129    "GetDataLakeSettings":{
130      "name":"GetDataLakeSettings",
131      "http":{
132        "method":"POST",
133        "requestUri":"/"
134      },
135      "input":{"shape":"GetDataLakeSettingsRequest"},
136      "output":{"shape":"GetDataLakeSettingsResponse"},
137      "errors":[
138        {"shape":"InternalServiceException"},
139        {"shape":"InvalidInputException"},
140        {"shape":"EntityNotFoundException"}
141      ],
142      "documentation":"<p>Retrieves the list of the data lake administrators of a Lake Formation-managed data lake. </p>"
143    },
144    "GetEffectivePermissionsForPath":{
145      "name":"GetEffectivePermissionsForPath",
146      "http":{
147        "method":"POST",
148        "requestUri":"/"
149      },
150      "input":{"shape":"GetEffectivePermissionsForPathRequest"},
151      "output":{"shape":"GetEffectivePermissionsForPathResponse"},
152      "errors":[
153        {"shape":"InvalidInputException"},
154        {"shape":"EntityNotFoundException"},
155        {"shape":"OperationTimeoutException"},
156        {"shape":"InternalServiceException"}
157      ],
158      "documentation":"<p>Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. <code>GetEffectivePermissionsForPath</code> will not return databases and tables if the catalog is encrypted.</p>"
159    },
160    "GetLFTag":{
161      "name":"GetLFTag",
162      "http":{
163        "method":"POST",
164        "requestUri":"/"
165      },
166      "input":{"shape":"GetLFTagRequest"},
167      "output":{"shape":"GetLFTagResponse"},
168      "errors":[
169        {"shape":"EntityNotFoundException"},
170        {"shape":"InvalidInputException"},
171        {"shape":"InternalServiceException"},
172        {"shape":"OperationTimeoutException"},
173        {"shape":"AccessDeniedException"}
174      ],
175      "documentation":"<p>Returns a tag definition.</p>"
176    },
177    "GetResourceLFTags":{
178      "name":"GetResourceLFTags",
179      "http":{
180        "method":"POST",
181        "requestUri":"/"
182      },
183      "input":{"shape":"GetResourceLFTagsRequest"},
184      "output":{"shape":"GetResourceLFTagsResponse"},
185      "errors":[
186        {"shape":"EntityNotFoundException"},
187        {"shape":"InvalidInputException"},
188        {"shape":"InternalServiceException"},
189        {"shape":"OperationTimeoutException"},
190        {"shape":"GlueEncryptionException"},
191        {"shape":"AccessDeniedException"}
192      ],
193      "documentation":"<p>Returns the tags applied to a resource.</p>"
194    },
195    "GrantPermissions":{
196      "name":"GrantPermissions",
197      "http":{
198        "method":"POST",
199        "requestUri":"/"
200      },
201      "input":{"shape":"GrantPermissionsRequest"},
202      "output":{"shape":"GrantPermissionsResponse"},
203      "errors":[
204        {"shape":"ConcurrentModificationException"},
205        {"shape":"EntityNotFoundException"},
206        {"shape":"InvalidInputException"}
207      ],
208      "documentation":"<p>Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.</p> <p>For information about permissions, see <a href=\"https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html\">Security and Access Control to Metadata and Data</a>.</p>"
209    },
210    "ListLFTags":{
211      "name":"ListLFTags",
212      "http":{
213        "method":"POST",
214        "requestUri":"/"
215      },
216      "input":{"shape":"ListLFTagsRequest"},
217      "output":{"shape":"ListLFTagsResponse"},
218      "errors":[
219        {"shape":"EntityNotFoundException"},
220        {"shape":"InvalidInputException"},
221        {"shape":"InternalServiceException"},
222        {"shape":"OperationTimeoutException"}
223      ],
224      "documentation":"<p>Lists tags that the requester has permission to view. </p>"
225    },
226    "ListPermissions":{
227      "name":"ListPermissions",
228      "http":{
229        "method":"POST",
230        "requestUri":"/"
231      },
232      "input":{"shape":"ListPermissionsRequest"},
233      "output":{"shape":"ListPermissionsResponse"},
234      "errors":[
235        {"shape":"InvalidInputException"},
236        {"shape":"OperationTimeoutException"},
237        {"shape":"InternalServiceException"}
238      ],
239      "documentation":"<p>Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.</p> <p>This operation returns only those permissions that have been explicitly granted.</p> <p>For information about permissions, see <a href=\"https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html\">Security and Access Control to Metadata and Data</a>.</p>"
240    },
241    "ListResources":{
242      "name":"ListResources",
243      "http":{
244        "method":"POST",
245        "requestUri":"/"
246      },
247      "input":{"shape":"ListResourcesRequest"},
248      "output":{"shape":"ListResourcesResponse"},
249      "errors":[
250        {"shape":"InvalidInputException"},
251        {"shape":"InternalServiceException"},
252        {"shape":"OperationTimeoutException"}
253      ],
254      "documentation":"<p>Lists the resources registered to be managed by the Data Catalog.</p>"
255    },
256    "PutDataLakeSettings":{
257      "name":"PutDataLakeSettings",
258      "http":{
259        "method":"POST",
260        "requestUri":"/"
261      },
262      "input":{"shape":"PutDataLakeSettingsRequest"},
263      "output":{"shape":"PutDataLakeSettingsResponse"},
264      "errors":[
265        {"shape":"InternalServiceException"},
266        {"shape":"InvalidInputException"}
267      ],
268      "documentation":"<p>Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see <a href=\"https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html\">Granting Lake Formation Permissions</a>.</p> <p>This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.</p>"
269    },
270    "RegisterResource":{
271      "name":"RegisterResource",
272      "http":{
273        "method":"POST",
274        "requestUri":"/"
275      },
276      "input":{"shape":"RegisterResourceRequest"},
277      "output":{"shape":"RegisterResourceResponse"},
278      "errors":[
279        {"shape":"InvalidInputException"},
280        {"shape":"InternalServiceException"},
281        {"shape":"OperationTimeoutException"},
282        {"shape":"AlreadyExistsException"}
283      ],
284      "documentation":"<p>Registers the resource as managed by the Data Catalog.</p> <p>To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.</p> <p>The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.</p> <p> <code>ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true</code> </p> <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p> <p> <code>arn:aws:iam::12345:role/my-data-access-role</code> </p>"
285    },
286    "RemoveLFTagsFromResource":{
287      "name":"RemoveLFTagsFromResource",
288      "http":{
289        "method":"POST",
290        "requestUri":"/"
291      },
292      "input":{"shape":"RemoveLFTagsFromResourceRequest"},
293      "output":{"shape":"RemoveLFTagsFromResourceResponse"},
294      "errors":[
295        {"shape":"EntityNotFoundException"},
296        {"shape":"InvalidInputException"},
297        {"shape":"InternalServiceException"},
298        {"shape":"OperationTimeoutException"},
299        {"shape":"GlueEncryptionException"},
300        {"shape":"AccessDeniedException"},
301        {"shape":"ConcurrentModificationException"}
302      ],
303      "documentation":"<p>Removes a tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in <code>tableWithColumns</code> to specify column input.</p>"
304    },
305    "RevokePermissions":{
306      "name":"RevokePermissions",
307      "http":{
308        "method":"POST",
309        "requestUri":"/"
310      },
311      "input":{"shape":"RevokePermissionsRequest"},
312      "output":{"shape":"RevokePermissionsResponse"},
313      "errors":[
314        {"shape":"ConcurrentModificationException"},
315        {"shape":"EntityNotFoundException"},
316        {"shape":"InvalidInputException"}
317      ],
318      "documentation":"<p>Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.</p>"
319    },
320    "SearchDatabasesByLFTags":{
321      "name":"SearchDatabasesByLFTags",
322      "http":{
323        "method":"POST",
324        "requestUri":"/"
325      },
326      "input":{"shape":"SearchDatabasesByLFTagsRequest"},
327      "output":{"shape":"SearchDatabasesByLFTagsResponse"},
328      "errors":[
329        {"shape":"EntityNotFoundException"},
330        {"shape":"InternalServiceException"},
331        {"shape":"InvalidInputException"},
332        {"shape":"OperationTimeoutException"},
333        {"shape":"GlueEncryptionException"},
334        {"shape":"AccessDeniedException"}
335      ],
336      "documentation":"<p>This operation allows a search on <code>DATABASE</code> resources by <code>TagCondition</code>. This operation is used by admins who want to grant user permissions on certain <code>TagConditions</code>. Before making a grant, the admin can use <code>SearchDatabasesByTags</code> to find all resources where the given <code>TagConditions</code> are valid to verify whether the returned resources can be shared.</p>"
337    },
338    "SearchTablesByLFTags":{
339      "name":"SearchTablesByLFTags",
340      "http":{
341        "method":"POST",
342        "requestUri":"/"
343      },
344      "input":{"shape":"SearchTablesByLFTagsRequest"},
345      "output":{"shape":"SearchTablesByLFTagsResponse"},
346      "errors":[
347        {"shape":"EntityNotFoundException"},
348        {"shape":"InternalServiceException"},
349        {"shape":"InvalidInputException"},
350        {"shape":"OperationTimeoutException"},
351        {"shape":"GlueEncryptionException"},
352        {"shape":"AccessDeniedException"}
353      ],
354      "documentation":"<p>This operation allows a search on <code>TABLE</code> resources by <code>LFTag</code>s. This will be used by admins who want to grant user permissions on certain LFTags. Before making a grant, the admin can use <code>SearchTablesByLFTags</code> to find all resources where the given <code>LFTag</code>s are valid to verify whether the returned resources can be shared.</p>"
355    },
356    "UpdateLFTag":{
357      "name":"UpdateLFTag",
358      "http":{
359        "method":"POST",
360        "requestUri":"/"
361      },
362      "input":{"shape":"UpdateLFTagRequest"},
363      "output":{"shape":"UpdateLFTagResponse"},
364      "errors":[
365        {"shape":"EntityNotFoundException"},
366        {"shape":"InvalidInputException"},
367        {"shape":"InternalServiceException"},
368        {"shape":"OperationTimeoutException"},
369        {"shape":"ConcurrentModificationException"},
370        {"shape":"AccessDeniedException"}
371      ],
372      "documentation":"<p>Updates the list of possible values for the specified tag key. If the tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - \"Update not allowed\". Untag the attribute before deleting the tag key's value. </p>"
373    },
374    "UpdateResource":{
375      "name":"UpdateResource",
376      "http":{
377        "method":"POST",
378        "requestUri":"/"
379      },
380      "input":{"shape":"UpdateResourceRequest"},
381      "output":{"shape":"UpdateResourceResponse"},
382      "errors":[
383        {"shape":"InvalidInputException"},
384        {"shape":"InternalServiceException"},
385        {"shape":"OperationTimeoutException"},
386        {"shape":"EntityNotFoundException"}
387      ],
388      "documentation":"<p>Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation. </p>"
389    }
390  },
391  "shapes":{
392    "AccessDeniedException":{
393      "type":"structure",
394      "members":{
395        "Message":{
396          "shape":"MessageString",
397          "documentation":"<p>A message describing the problem.</p>"
398        }
399      },
400      "documentation":"<p>Access to a resource was denied.</p>",
401      "exception":true
402    },
403    "AddLFTagsToResourceRequest":{
404      "type":"structure",
405      "required":[
406        "Resource",
407        "LFTags"
408      ],
409      "members":{
410        "CatalogId":{
411          "shape":"CatalogIdString",
412          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
413        },
414        "Resource":{
415          "shape":"Resource",
416          "documentation":"<p>The resource to which to attach a tag.</p>"
417        },
418        "LFTags":{
419          "shape":"LFTagsList",
420          "documentation":"<p>The tags to attach to the resource.</p>"
421        }
422      }
423    },
424    "AddLFTagsToResourceResponse":{
425      "type":"structure",
426      "members":{
427        "Failures":{
428          "shape":"LFTagErrors",
429          "documentation":"<p>A list of failures to tag the resource.</p>"
430        }
431      }
432    },
433    "AlreadyExistsException":{
434      "type":"structure",
435      "members":{
436        "Message":{
437          "shape":"MessageString",
438          "documentation":"<p>A message describing the problem.</p>"
439        }
440      },
441      "documentation":"<p>A resource to be created or added already exists.</p>",
442      "exception":true
443    },
444    "BatchGrantPermissionsRequest":{
445      "type":"structure",
446      "required":["Entries"],
447      "members":{
448        "CatalogId":{
449          "shape":"CatalogIdString",
450          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
451        },
452        "Entries":{
453          "shape":"BatchPermissionsRequestEntryList",
454          "documentation":"<p>A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.</p>"
455        }
456      }
457    },
458    "BatchGrantPermissionsResponse":{
459      "type":"structure",
460      "members":{
461        "Failures":{
462          "shape":"BatchPermissionsFailureList",
463          "documentation":"<p>A list of failures to grant permissions to the resources.</p>"
464        }
465      }
466    },
467    "BatchPermissionsFailureEntry":{
468      "type":"structure",
469      "members":{
470        "RequestEntry":{
471          "shape":"BatchPermissionsRequestEntry",
472          "documentation":"<p>An identifier for an entry of the batch request.</p>"
473        },
474        "Error":{
475          "shape":"ErrorDetail",
476          "documentation":"<p>An error message that applies to the failure of the entry.</p>"
477        }
478      },
479      "documentation":"<p>A list of failures when performing a batch grant or batch revoke operation.</p>"
480    },
481    "BatchPermissionsFailureList":{
482      "type":"list",
483      "member":{"shape":"BatchPermissionsFailureEntry"}
484    },
485    "BatchPermissionsRequestEntry":{
486      "type":"structure",
487      "required":["Id"],
488      "members":{
489        "Id":{
490          "shape":"Identifier",
491          "documentation":"<p>A unique identifier for the batch permissions request entry.</p>"
492        },
493        "Principal":{
494          "shape":"DataLakePrincipal",
495          "documentation":"<p>The principal to be granted a permission.</p>"
496        },
497        "Resource":{
498          "shape":"Resource",
499          "documentation":"<p>The resource to which the principal is to be granted a permission.</p>"
500        },
501        "Permissions":{
502          "shape":"PermissionList",
503          "documentation":"<p>The permissions to be granted.</p>"
504        },
505        "PermissionsWithGrantOption":{
506          "shape":"PermissionList",
507          "documentation":"<p>Indicates if the option to pass permissions is granted.</p>"
508        }
509      },
510      "documentation":"<p>A permission to a resource granted by batch operation to the principal.</p>"
511    },
512    "BatchPermissionsRequestEntryList":{
513      "type":"list",
514      "member":{"shape":"BatchPermissionsRequestEntry"}
515    },
516    "BatchRevokePermissionsRequest":{
517      "type":"structure",
518      "required":["Entries"],
519      "members":{
520        "CatalogId":{
521          "shape":"CatalogIdString",
522          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
523        },
524        "Entries":{
525          "shape":"BatchPermissionsRequestEntryList",
526          "documentation":"<p>A list of up to 20 entries for resource permissions to be revoked by batch operation to the principal.</p>"
527        }
528      }
529    },
530    "BatchRevokePermissionsResponse":{
531      "type":"structure",
532      "members":{
533        "Failures":{
534          "shape":"BatchPermissionsFailureList",
535          "documentation":"<p>A list of failures to revoke permissions to the resources.</p>"
536        }
537      }
538    },
539    "BooleanNullable":{"type":"boolean"},
540    "CatalogIdString":{
541      "type":"string",
542      "max":255,
543      "min":1,
544      "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*"
545    },
546    "CatalogResource":{
547      "type":"structure",
548      "members":{
549      },
550      "documentation":"<p>A structure for the catalog object.</p>"
551    },
552    "ColumnLFTag":{
553      "type":"structure",
554      "members":{
555        "Name":{
556          "shape":"NameString",
557          "documentation":"<p>The name of a column resource.</p>"
558        },
559        "LFTags":{
560          "shape":"LFTagsList",
561          "documentation":"<p>The tags attached to a column resource.</p>"
562        }
563      },
564      "documentation":"<p>A structure containing the name of a column resource and the tags attached to it.</p>"
565    },
566    "ColumnLFTagsList":{
567      "type":"list",
568      "member":{"shape":"ColumnLFTag"}
569    },
570    "ColumnNames":{
571      "type":"list",
572      "member":{"shape":"NameString"}
573    },
574    "ColumnWildcard":{
575      "type":"structure",
576      "members":{
577        "ExcludedColumnNames":{
578          "shape":"ColumnNames",
579          "documentation":"<p>Excludes column names. Any column with this name will be excluded.</p>"
580        }
581      },
582      "documentation":"<p>A wildcard object, consisting of an optional list of excluded column names or indexes.</p>"
583    },
584    "ComparisonOperator":{
585      "type":"string",
586      "enum":[
587        "EQ",
588        "NE",
589        "LE",
590        "LT",
591        "GE",
592        "GT",
593        "CONTAINS",
594        "NOT_CONTAINS",
595        "BEGINS_WITH",
596        "IN",
597        "BETWEEN"
598      ]
599    },
600    "ConcurrentModificationException":{
601      "type":"structure",
602      "members":{
603        "Message":{
604          "shape":"MessageString",
605          "documentation":"<p>A message describing the problem.</p>"
606        }
607      },
608      "documentation":"<p>Two processes are trying to modify a resource simultaneously.</p>",
609      "exception":true
610    },
611    "CreateLFTagRequest":{
612      "type":"structure",
613      "required":[
614        "TagKey",
615        "TagValues"
616      ],
617      "members":{
618        "CatalogId":{
619          "shape":"CatalogIdString",
620          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
621        },
622        "TagKey":{
623          "shape":"LFTagKey",
624          "documentation":"<p>The key-name for the tag.</p>"
625        },
626        "TagValues":{
627          "shape":"TagValueList",
628          "documentation":"<p>A list of possible values an attribute can take.</p>"
629        }
630      }
631    },
632    "CreateLFTagResponse":{
633      "type":"structure",
634      "members":{
635      }
636    },
637    "DataLakePrincipal":{
638      "type":"structure",
639      "members":{
640        "DataLakePrincipalIdentifier":{
641          "shape":"DataLakePrincipalString",
642          "documentation":"<p>An identifier for the AWS Lake Formation principal.</p>"
643        }
644      },
645      "documentation":"<p>The AWS Lake Formation principal. Supported principals are IAM users or IAM roles.</p>"
646    },
647    "DataLakePrincipalList":{
648      "type":"list",
649      "member":{"shape":"DataLakePrincipal"},
650      "max":10,
651      "min":0
652    },
653    "DataLakePrincipalString":{
654      "type":"string",
655      "max":255,
656      "min":1
657    },
658    "DataLakeResourceType":{
659      "type":"string",
660      "enum":[
661        "CATALOG",
662        "DATABASE",
663        "TABLE",
664        "DATA_LOCATION",
665        "LF_TAG",
666        "LF_TAG_POLICY",
667        "LF_TAG_POLICY_DATABASE",
668        "LF_TAG_POLICY_TABLE"
669      ]
670    },
671    "DataLakeSettings":{
672      "type":"structure",
673      "members":{
674        "DataLakeAdmins":{
675          "shape":"DataLakePrincipalList",
676          "documentation":"<p>A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.</p>"
677        },
678        "CreateDatabaseDefaultPermissions":{
679          "shape":"PrincipalPermissionsList",
680          "documentation":"<p>A structure representing a list of up to three principal permissions entries for default create database permissions.</p>"
681        },
682        "CreateTableDefaultPermissions":{
683          "shape":"PrincipalPermissionsList",
684          "documentation":"<p>A structure representing a list of up to three principal permissions entries for default create table permissions.</p>"
685        },
686        "TrustedResourceOwners":{
687          "shape":"TrustedResourceOwners",
688          "documentation":"<p>A list of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). The user ARNs can be logged in the resource owner's AWS CloudTrail log.</p> <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>"
689        }
690      },
691      "documentation":"<p>A structure representing a list of AWS Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.</p>"
692    },
693    "DataLocationResource":{
694      "type":"structure",
695      "required":["ResourceArn"],
696      "members":{
697        "CatalogId":{
698          "shape":"CatalogIdString",
699          "documentation":"<p>The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.</p>"
700        },
701        "ResourceArn":{
702          "shape":"ResourceArnString",
703          "documentation":"<p>The Amazon Resource Name (ARN) that uniquely identifies the data location resource.</p>"
704        }
705      },
706      "documentation":"<p>A structure for a data location object where permissions are granted or revoked. </p>"
707    },
708    "DatabaseLFTagsList":{
709      "type":"list",
710      "member":{"shape":"TaggedDatabase"}
711    },
712    "DatabaseResource":{
713      "type":"structure",
714      "required":["Name"],
715      "members":{
716        "CatalogId":{
717          "shape":"CatalogIdString",
718          "documentation":"<p>The identifier for the Data Catalog. By default, it is the account ID of the caller.</p>"
719        },
720        "Name":{
721          "shape":"NameString",
722          "documentation":"<p>The name of the database resource. Unique to the Data Catalog.</p>"
723        }
724      },
725      "documentation":"<p>A structure for the database object.</p>"
726    },
727    "DeleteLFTagRequest":{
728      "type":"structure",
729      "required":["TagKey"],
730      "members":{
731        "CatalogId":{
732          "shape":"CatalogIdString",
733          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
734        },
735        "TagKey":{
736          "shape":"LFTagKey",
737          "documentation":"<p>The key-name for the tag to delete.</p>"
738        }
739      }
740    },
741    "DeleteLFTagResponse":{
742      "type":"structure",
743      "members":{
744      }
745    },
746    "DeregisterResourceRequest":{
747      "type":"structure",
748      "required":["ResourceArn"],
749      "members":{
750        "ResourceArn":{
751          "shape":"ResourceArnString",
752          "documentation":"<p>The Amazon Resource Name (ARN) of the resource that you want to deregister.</p>"
753        }
754      }
755    },
756    "DeregisterResourceResponse":{
757      "type":"structure",
758      "members":{
759      }
760    },
761    "DescribeResourceRequest":{
762      "type":"structure",
763      "required":["ResourceArn"],
764      "members":{
765        "ResourceArn":{
766          "shape":"ResourceArnString",
767          "documentation":"<p>The resource ARN.</p>"
768        }
769      }
770    },
771    "DescribeResourceResponse":{
772      "type":"structure",
773      "members":{
774        "ResourceInfo":{
775          "shape":"ResourceInfo",
776          "documentation":"<p>A structure containing information about an AWS Lake Formation resource.</p>"
777        }
778      }
779    },
780    "DescriptionString":{
781      "type":"string",
782      "max":2048,
783      "min":0,
784      "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
785    },
786    "DetailsMap":{
787      "type":"structure",
788      "members":{
789        "ResourceShare":{
790          "shape":"ResourceShareList",
791          "documentation":"<p>A resource share ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).</p>"
792        }
793      },
794      "documentation":"<p>A structure containing the additional details to be returned in the <code>AdditionalDetails</code> attribute of <code>PrincipalResourcePermissions</code>.</p> <p>If a catalog resource is shared through AWS Resource Access Manager (AWS RAM), then there will exist a corresponding RAM resource share ARN.</p>"
795    },
796    "EntityNotFoundException":{
797      "type":"structure",
798      "members":{
799        "Message":{
800          "shape":"MessageString",
801          "documentation":"<p>A message describing the problem.</p>"
802        }
803      },
804      "documentation":"<p>A specified entity does not exist</p>",
805      "exception":true
806    },
807    "ErrorDetail":{
808      "type":"structure",
809      "members":{
810        "ErrorCode":{
811          "shape":"NameString",
812          "documentation":"<p>The code associated with this error.</p>"
813        },
814        "ErrorMessage":{
815          "shape":"DescriptionString",
816          "documentation":"<p>A message describing the error.</p>"
817        }
818      },
819      "documentation":"<p>Contains details about an error.</p>"
820    },
821    "Expression":{
822      "type":"list",
823      "member":{"shape":"LFTag"},
824      "max":5,
825      "min":1
826    },
827    "FieldNameString":{
828      "type":"string",
829      "enum":[
830        "RESOURCE_ARN",
831        "ROLE_ARN",
832        "LAST_MODIFIED"
833      ]
834    },
835    "FilterCondition":{
836      "type":"structure",
837      "members":{
838        "Field":{
839          "shape":"FieldNameString",
840          "documentation":"<p>The field to filter in the filter condition.</p>"
841        },
842        "ComparisonOperator":{
843          "shape":"ComparisonOperator",
844          "documentation":"<p>The comparison operator used in the filter condition.</p>"
845        },
846        "StringValueList":{
847          "shape":"StringValueList",
848          "documentation":"<p>A string with values used in evaluating the filter condition.</p>"
849        }
850      },
851      "documentation":"<p>This structure describes the filtering of columns in a table based on a filter condition.</p>"
852    },
853    "FilterConditionList":{
854      "type":"list",
855      "member":{"shape":"FilterCondition"},
856      "max":20,
857      "min":1
858    },
859    "GetDataLakeSettingsRequest":{
860      "type":"structure",
861      "members":{
862        "CatalogId":{
863          "shape":"CatalogIdString",
864          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
865        }
866      }
867    },
868    "GetDataLakeSettingsResponse":{
869      "type":"structure",
870      "members":{
871        "DataLakeSettings":{
872          "shape":"DataLakeSettings",
873          "documentation":"<p>A structure representing a list of AWS Lake Formation principals designated as data lake administrators.</p>"
874        }
875      }
876    },
877    "GetEffectivePermissionsForPathRequest":{
878      "type":"structure",
879      "required":["ResourceArn"],
880      "members":{
881        "CatalogId":{
882          "shape":"CatalogIdString",
883          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
884        },
885        "ResourceArn":{
886          "shape":"ResourceArnString",
887          "documentation":"<p>The Amazon Resource Name (ARN) of the resource for which you want to get permissions.</p>"
888        },
889        "NextToken":{
890          "shape":"Token",
891          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
892        },
893        "MaxResults":{
894          "shape":"PageSize",
895          "documentation":"<p>The maximum number of results to return.</p>"
896        }
897      }
898    },
899    "GetEffectivePermissionsForPathResponse":{
900      "type":"structure",
901      "members":{
902        "Permissions":{
903          "shape":"PrincipalResourcePermissionsList",
904          "documentation":"<p>A list of the permissions for the specified table or database resource located at the path in Amazon S3.</p>"
905        },
906        "NextToken":{
907          "shape":"Token",
908          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
909        }
910      }
911    },
912    "GetLFTagRequest":{
913      "type":"structure",
914      "required":["TagKey"],
915      "members":{
916        "CatalogId":{
917          "shape":"CatalogIdString",
918          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
919        },
920        "TagKey":{
921          "shape":"LFTagKey",
922          "documentation":"<p>The key-name for the tag.</p>"
923        }
924      }
925    },
926    "GetLFTagResponse":{
927      "type":"structure",
928      "members":{
929        "CatalogId":{
930          "shape":"CatalogIdString",
931          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
932        },
933        "TagKey":{
934          "shape":"LFTagKey",
935          "documentation":"<p>The key-name for the tag.</p>"
936        },
937        "TagValues":{
938          "shape":"TagValueList",
939          "documentation":"<p>A list of possible values an attribute can take.</p>"
940        }
941      }
942    },
943    "GetResourceLFTagsRequest":{
944      "type":"structure",
945      "required":["Resource"],
946      "members":{
947        "CatalogId":{
948          "shape":"CatalogIdString",
949          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
950        },
951        "Resource":{
952          "shape":"Resource",
953          "documentation":"<p>The resource for which you want to return tags.</p>"
954        },
955        "ShowAssignedLFTags":{
956          "shape":"BooleanNullable",
957          "documentation":"<p>Indicates whether to show the assigned tags.</p>"
958        }
959      }
960    },
961    "GetResourceLFTagsResponse":{
962      "type":"structure",
963      "members":{
964        "LFTagOnDatabase":{
965          "shape":"LFTagsList",
966          "documentation":"<p>A list of tags applied to a database resource.</p>"
967        },
968        "LFTagsOnTable":{
969          "shape":"LFTagsList",
970          "documentation":"<p>A list of tags applied to a table resource.</p>"
971        },
972        "LFTagsOnColumns":{
973          "shape":"ColumnLFTagsList",
974          "documentation":"<p>A list of tags applied to a column resource.</p>"
975        }
976      }
977    },
978    "GlueEncryptionException":{
979      "type":"structure",
980      "members":{
981        "Message":{
982          "shape":"MessageString",
983          "documentation":"<p>A message describing the problem.</p>"
984        }
985      },
986      "documentation":"<p>An encryption operation failed.</p>",
987      "exception":true
988    },
989    "GrantPermissionsRequest":{
990      "type":"structure",
991      "required":[
992        "Principal",
993        "Resource",
994        "Permissions"
995      ],
996      "members":{
997        "CatalogId":{
998          "shape":"CatalogIdString",
999          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1000        },
1001        "Principal":{
1002          "shape":"DataLakePrincipal",
1003          "documentation":"<p>The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.</p> <p>Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted. </p>"
1004        },
1005        "Resource":{
1006          "shape":"Resource",
1007          "documentation":"<p>The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data Catalog, databases, and tables.</p>"
1008        },
1009        "Permissions":{
1010          "shape":"PermissionList",
1011          "documentation":"<p>The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific task on AWS Lake Formation resources. </p>"
1012        },
1013        "PermissionsWithGrantOption":{
1014          "shape":"PermissionList",
1015          "documentation":"<p>Indicates a list of the granted permissions that the principal may pass to other users. These permissions may only be a subset of the permissions granted in the <code>Privileges</code>.</p>"
1016        }
1017      }
1018    },
1019    "GrantPermissionsResponse":{
1020      "type":"structure",
1021      "members":{
1022      }
1023    },
1024    "IAMRoleArn":{
1025      "type":"string",
1026      "pattern":"arn:aws:iam::[0-9]*:role/.*"
1027    },
1028    "Identifier":{
1029      "type":"string",
1030      "max":255,
1031      "min":1
1032    },
1033    "InternalServiceException":{
1034      "type":"structure",
1035      "members":{
1036        "Message":{
1037          "shape":"MessageString",
1038          "documentation":"<p>A message describing the problem.</p>"
1039        }
1040      },
1041      "documentation":"<p>An internal service error occurred.</p>",
1042      "exception":true,
1043      "fault":true
1044    },
1045    "InvalidInputException":{
1046      "type":"structure",
1047      "members":{
1048        "Message":{
1049          "shape":"MessageString",
1050          "documentation":"<p>A message describing the problem.</p>"
1051        }
1052      },
1053      "documentation":"<p>The input provided was not valid.</p>",
1054      "exception":true
1055    },
1056    "LFTag":{
1057      "type":"structure",
1058      "required":[
1059        "TagKey",
1060        "TagValues"
1061      ],
1062      "members":{
1063        "TagKey":{
1064          "shape":"LFTagKey",
1065          "documentation":"<p>The key-name for the tag.</p>"
1066        },
1067        "TagValues":{
1068          "shape":"TagValueList",
1069          "documentation":"<p>A list of possible values an attribute can take.</p>"
1070        }
1071      },
1072      "documentation":"<p>A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns not tagged 'PII' of tables tagged 'Prod'.</p>"
1073    },
1074    "LFTagError":{
1075      "type":"structure",
1076      "members":{
1077        "LFTag":{
1078          "shape":"LFTagPair",
1079          "documentation":"<p>The key-name of the tag.</p>"
1080        },
1081        "Error":{
1082          "shape":"ErrorDetail",
1083          "documentation":"<p>An error that occurred with the attachment or detachment of the tag.</p>"
1084        }
1085      },
1086      "documentation":"<p>A structure containing an error related to a <code>TagResource</code> or <code>UnTagResource</code> operation.</p>"
1087    },
1088    "LFTagErrors":{
1089      "type":"list",
1090      "member":{"shape":"LFTagError"}
1091    },
1092    "LFTagKey":{
1093      "type":"string",
1094      "max":128,
1095      "min":1,
1096      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*)$"
1097    },
1098    "LFTagKeyResource":{
1099      "type":"structure",
1100      "required":[
1101        "TagKey",
1102        "TagValues"
1103      ],
1104      "members":{
1105        "CatalogId":{
1106          "shape":"CatalogIdString",
1107          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1108        },
1109        "TagKey":{
1110          "shape":"NameString",
1111          "documentation":"<p>The key-name for the tag.</p>"
1112        },
1113        "TagValues":{
1114          "shape":"TagValueList",
1115          "documentation":"<p>A list of possible values an attribute can take.</p>"
1116        }
1117      },
1118      "documentation":"<p>A structure containing a tag key and values for a resource.</p>"
1119    },
1120    "LFTagPair":{
1121      "type":"structure",
1122      "required":[
1123        "TagKey",
1124        "TagValues"
1125      ],
1126      "members":{
1127        "CatalogId":{
1128          "shape":"CatalogIdString",
1129          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1130        },
1131        "TagKey":{
1132          "shape":"LFTagKey",
1133          "documentation":"<p>The key-name for the tag.</p>"
1134        },
1135        "TagValues":{
1136          "shape":"TagValueList",
1137          "documentation":"<p>A list of possible values an attribute can take.</p>"
1138        }
1139      },
1140      "documentation":"<p>A structure containing a tag key-value pair.</p>"
1141    },
1142    "LFTagPolicyResource":{
1143      "type":"structure",
1144      "required":[
1145        "ResourceType",
1146        "Expression"
1147      ],
1148      "members":{
1149        "CatalogId":{
1150          "shape":"CatalogIdString",
1151          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1152        },
1153        "ResourceType":{
1154          "shape":"ResourceType",
1155          "documentation":"<p>The resource type for which the tag policy applies.</p>"
1156        },
1157        "Expression":{
1158          "shape":"Expression",
1159          "documentation":"<p>A list of tag conditions that apply to the resource's tag policy.</p>"
1160        }
1161      },
1162      "documentation":"<p>A structure containing a list of tag conditions that apply to a resource's tag policy.</p>"
1163    },
1164    "LFTagValue":{
1165      "type":"string",
1166      "max":256,
1167      "min":0,
1168      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:\\*\\/=+\\-@%]*)$"
1169    },
1170    "LFTagsList":{
1171      "type":"list",
1172      "member":{"shape":"LFTagPair"},
1173      "max":50,
1174      "min":1
1175    },
1176    "LastModifiedTimestamp":{"type":"timestamp"},
1177    "ListLFTagsRequest":{
1178      "type":"structure",
1179      "members":{
1180        "CatalogId":{
1181          "shape":"CatalogIdString",
1182          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1183        },
1184        "ResourceShareType":{
1185          "shape":"ResourceShareType",
1186          "documentation":"<p>If resource share type is <code>ALL</code>, returns both in-account tags and shared tags that the requester has permission to view. If resource share type is <code>FOREIGN</code>, returns all share tags that the requester can view. If no resource share type is passed, lists tags in the given catalog ID that the requester has permission to view.</p>"
1187        },
1188        "MaxResults":{
1189          "shape":"PageSize",
1190          "documentation":"<p>The maximum number of results to return.</p>"
1191        },
1192        "NextToken":{
1193          "shape":"Token",
1194          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
1195        }
1196      }
1197    },
1198    "ListLFTagsResponse":{
1199      "type":"structure",
1200      "members":{
1201        "LFTags":{
1202          "shape":"LFTagsList",
1203          "documentation":"<p>A list of tags that the requested has permission to view.</p>"
1204        },
1205        "NextToken":{
1206          "shape":"Token",
1207          "documentation":"<p>A continuation token, present if the current list segment is not the last.</p>"
1208        }
1209      }
1210    },
1211    "ListPermissionsRequest":{
1212      "type":"structure",
1213      "members":{
1214        "CatalogId":{
1215          "shape":"CatalogIdString",
1216          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1217        },
1218        "Principal":{
1219          "shape":"DataLakePrincipal",
1220          "documentation":"<p>Specifies a principal to filter the permissions returned.</p>"
1221        },
1222        "ResourceType":{
1223          "shape":"DataLakeResourceType",
1224          "documentation":"<p>Specifies a resource type to filter the permissions returned.</p>"
1225        },
1226        "Resource":{
1227          "shape":"Resource",
1228          "documentation":"<p>A resource where you will get a list of the principal permissions.</p> <p>This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns.</p>"
1229        },
1230        "NextToken":{
1231          "shape":"Token",
1232          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
1233        },
1234        "MaxResults":{
1235          "shape":"PageSize",
1236          "documentation":"<p>The maximum number of results to return.</p>"
1237        }
1238      }
1239    },
1240    "ListPermissionsResponse":{
1241      "type":"structure",
1242      "members":{
1243        "PrincipalResourcePermissions":{
1244          "shape":"PrincipalResourcePermissionsList",
1245          "documentation":"<p>A list of principals and their permissions on the resource for the specified principal and resource types.</p>"
1246        },
1247        "NextToken":{
1248          "shape":"Token",
1249          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
1250        }
1251      }
1252    },
1253    "ListResourcesRequest":{
1254      "type":"structure",
1255      "members":{
1256        "FilterConditionList":{
1257          "shape":"FilterConditionList",
1258          "documentation":"<p>Any applicable row-level and/or column-level filtering conditions for the resources.</p>"
1259        },
1260        "MaxResults":{
1261          "shape":"PageSize",
1262          "documentation":"<p>The maximum number of resource results.</p>"
1263        },
1264        "NextToken":{
1265          "shape":"Token",
1266          "documentation":"<p>A continuation token, if this is not the first call to retrieve these resources.</p>"
1267        }
1268      }
1269    },
1270    "ListResourcesResponse":{
1271      "type":"structure",
1272      "members":{
1273        "ResourceInfoList":{
1274          "shape":"ResourceInfoList",
1275          "documentation":"<p>A summary of the data lake resources.</p>"
1276        },
1277        "NextToken":{
1278          "shape":"Token",
1279          "documentation":"<p>A continuation token, if this is not the first call to retrieve these resources.</p>"
1280        }
1281      }
1282    },
1283    "MessageString":{"type":"string"},
1284    "NameString":{
1285      "type":"string",
1286      "max":255,
1287      "min":1,
1288      "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*"
1289    },
1290    "NullableBoolean":{
1291      "type":"boolean",
1292      "box":true
1293    },
1294    "OperationTimeoutException":{
1295      "type":"structure",
1296      "members":{
1297        "Message":{
1298          "shape":"MessageString",
1299          "documentation":"<p>A message describing the problem.</p>"
1300        }
1301      },
1302      "documentation":"<p>The operation timed out.</p>",
1303      "exception":true
1304    },
1305    "PageSize":{
1306      "type":"integer",
1307      "box":true,
1308      "max":1000,
1309      "min":1
1310    },
1311    "Permission":{
1312      "type":"string",
1313      "enum":[
1314        "ALL",
1315        "SELECT",
1316        "ALTER",
1317        "DROP",
1318        "DELETE",
1319        "INSERT",
1320        "DESCRIBE",
1321        "CREATE_DATABASE",
1322        "CREATE_TABLE",
1323        "DATA_LOCATION_ACCESS",
1324        "CREATE_TAG",
1325        "ALTER_TAG",
1326        "DELETE_TAG",
1327        "DESCRIBE_TAG",
1328        "ASSOCIATE_TAG"
1329      ]
1330    },
1331    "PermissionList":{
1332      "type":"list",
1333      "member":{"shape":"Permission"}
1334    },
1335    "PrincipalPermissions":{
1336      "type":"structure",
1337      "members":{
1338        "Principal":{
1339          "shape":"DataLakePrincipal",
1340          "documentation":"<p>The principal who is granted permissions.</p>"
1341        },
1342        "Permissions":{
1343          "shape":"PermissionList",
1344          "documentation":"<p>The permissions that are granted to the principal.</p>"
1345        }
1346      },
1347      "documentation":"<p>Permissions granted to a principal.</p>"
1348    },
1349    "PrincipalPermissionsList":{
1350      "type":"list",
1351      "member":{"shape":"PrincipalPermissions"}
1352    },
1353    "PrincipalResourcePermissions":{
1354      "type":"structure",
1355      "members":{
1356        "Principal":{
1357          "shape":"DataLakePrincipal",
1358          "documentation":"<p>The Data Lake principal to be granted or revoked permissions.</p>"
1359        },
1360        "Resource":{
1361          "shape":"Resource",
1362          "documentation":"<p>The resource where permissions are to be granted or revoked.</p>"
1363        },
1364        "Permissions":{
1365          "shape":"PermissionList",
1366          "documentation":"<p>The permissions to be granted or revoked on the resource.</p>"
1367        },
1368        "PermissionsWithGrantOption":{
1369          "shape":"PermissionList",
1370          "documentation":"<p>Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).</p>"
1371        },
1372        "AdditionalDetails":{
1373          "shape":"DetailsMap",
1374          "documentation":"<p>This attribute can be used to return any additional details of <code>PrincipalResourcePermissions</code>. Currently returns only as a RAM resource share ARN.</p>"
1375        }
1376      },
1377      "documentation":"<p>The permissions granted or revoked on a resource.</p>"
1378    },
1379    "PrincipalResourcePermissionsList":{
1380      "type":"list",
1381      "member":{"shape":"PrincipalResourcePermissions"}
1382    },
1383    "PutDataLakeSettingsRequest":{
1384      "type":"structure",
1385      "required":["DataLakeSettings"],
1386      "members":{
1387        "CatalogId":{
1388          "shape":"CatalogIdString",
1389          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1390        },
1391        "DataLakeSettings":{
1392          "shape":"DataLakeSettings",
1393          "documentation":"<p>A structure representing a list of AWS Lake Formation principals designated as data lake administrators.</p>"
1394        }
1395      }
1396    },
1397    "PutDataLakeSettingsResponse":{
1398      "type":"structure",
1399      "members":{
1400      }
1401    },
1402    "RAMResourceShareArn":{"type":"string"},
1403    "RegisterResourceRequest":{
1404      "type":"structure",
1405      "required":["ResourceArn"],
1406      "members":{
1407        "ResourceArn":{
1408          "shape":"ResourceArnString",
1409          "documentation":"<p>The Amazon Resource Name (ARN) of the resource that you want to register.</p>"
1410        },
1411        "UseServiceLinkedRole":{
1412          "shape":"NullableBoolean",
1413          "documentation":"<p>Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.</p> <p>For more information, see <a href=\"https://docs-aws.amazon.com/lake-formation/latest/dg/service-linked-roles.html\">Using Service-Linked Roles for Lake Formation</a>.</p>"
1414        },
1415        "RoleArn":{
1416          "shape":"IAMRoleArn",
1417          "documentation":"<p>The identifier for the role that registers the resource.</p>"
1418        }
1419      }
1420    },
1421    "RegisterResourceResponse":{
1422      "type":"structure",
1423      "members":{
1424      }
1425    },
1426    "RemoveLFTagsFromResourceRequest":{
1427      "type":"structure",
1428      "required":[
1429        "Resource",
1430        "LFTags"
1431      ],
1432      "members":{
1433        "CatalogId":{
1434          "shape":"CatalogIdString",
1435          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1436        },
1437        "Resource":{
1438          "shape":"Resource",
1439          "documentation":"<p>The resource where you want to remove a tag.</p>"
1440        },
1441        "LFTags":{
1442          "shape":"LFTagsList",
1443          "documentation":"<p>The tags to be removed from the resource.</p>"
1444        }
1445      }
1446    },
1447    "RemoveLFTagsFromResourceResponse":{
1448      "type":"structure",
1449      "members":{
1450        "Failures":{
1451          "shape":"LFTagErrors",
1452          "documentation":"<p>A list of failures to untag a resource.</p>"
1453        }
1454      }
1455    },
1456    "Resource":{
1457      "type":"structure",
1458      "members":{
1459        "Catalog":{
1460          "shape":"CatalogResource",
1461          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1462        },
1463        "Database":{
1464          "shape":"DatabaseResource",
1465          "documentation":"<p>The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal. </p>"
1466        },
1467        "Table":{
1468          "shape":"TableResource",
1469          "documentation":"<p>The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. </p>"
1470        },
1471        "TableWithColumns":{
1472          "shape":"TableWithColumnsResource",
1473          "documentation":"<p>The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.</p>"
1474        },
1475        "DataLocation":{
1476          "shape":"DataLocationResource",
1477          "documentation":"<p>The location of an Amazon S3 path where permissions are granted or revoked. </p>"
1478        },
1479        "LFTag":{
1480          "shape":"LFTagKeyResource",
1481          "documentation":"<p>The tag key and values attached to a resource.</p>"
1482        },
1483        "LFTagPolicy":{
1484          "shape":"LFTagPolicyResource",
1485          "documentation":"<p>A list of tag conditions that define a resource's tag policy.</p>"
1486        }
1487      },
1488      "documentation":"<p>A structure for the resource.</p>"
1489    },
1490    "ResourceArnString":{"type":"string"},
1491    "ResourceInfo":{
1492      "type":"structure",
1493      "members":{
1494        "ResourceArn":{
1495          "shape":"ResourceArnString",
1496          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>"
1497        },
1498        "RoleArn":{
1499          "shape":"IAMRoleArn",
1500          "documentation":"<p>The IAM role that registered a resource.</p>"
1501        },
1502        "LastModified":{
1503          "shape":"LastModifiedTimestamp",
1504          "documentation":"<p>The date and time the resource was last modified.</p>"
1505        }
1506      },
1507      "documentation":"<p>A structure containing information about an AWS Lake Formation resource.</p>"
1508    },
1509    "ResourceInfoList":{
1510      "type":"list",
1511      "member":{"shape":"ResourceInfo"}
1512    },
1513    "ResourceNumberLimitExceededException":{
1514      "type":"structure",
1515      "members":{
1516        "Message":{
1517          "shape":"MessageString",
1518          "documentation":"<p>A message describing the problem.</p>"
1519        }
1520      },
1521      "documentation":"<p>A resource numerical limit was exceeded.</p>",
1522      "exception":true
1523    },
1524    "ResourceShareList":{
1525      "type":"list",
1526      "member":{"shape":"RAMResourceShareArn"}
1527    },
1528    "ResourceShareType":{
1529      "type":"string",
1530      "enum":[
1531        "FOREIGN",
1532        "ALL"
1533      ]
1534    },
1535    "ResourceType":{
1536      "type":"string",
1537      "enum":[
1538        "DATABASE",
1539        "TABLE"
1540      ]
1541    },
1542    "RevokePermissionsRequest":{
1543      "type":"structure",
1544      "required":[
1545        "Principal",
1546        "Resource",
1547        "Permissions"
1548      ],
1549      "members":{
1550        "CatalogId":{
1551          "shape":"CatalogIdString",
1552          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1553        },
1554        "Principal":{
1555          "shape":"DataLakePrincipal",
1556          "documentation":"<p>The principal to be revoked permissions on the resource.</p>"
1557        },
1558        "Resource":{
1559          "shape":"Resource",
1560          "documentation":"<p>The resource to which permissions are to be revoked.</p>"
1561        },
1562        "Permissions":{
1563          "shape":"PermissionList",
1564          "documentation":"<p>The permissions revoked to the principal on the resource. For information about permissions, see <a href=\"https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html\">Security and Access Control to Metadata and Data</a>.</p>"
1565        },
1566        "PermissionsWithGrantOption":{
1567          "shape":"PermissionList",
1568          "documentation":"<p>Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.</p>"
1569        }
1570      }
1571    },
1572    "RevokePermissionsResponse":{
1573      "type":"structure",
1574      "members":{
1575      }
1576    },
1577    "SearchDatabasesByLFTagsRequest":{
1578      "type":"structure",
1579      "required":["Expression"],
1580      "members":{
1581        "NextToken":{
1582          "shape":"Token",
1583          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
1584        },
1585        "MaxResults":{
1586          "shape":"PageSize",
1587          "documentation":"<p>The maximum number of results to return.</p>"
1588        },
1589        "CatalogId":{
1590          "shape":"CatalogIdString",
1591          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1592        },
1593        "Expression":{
1594          "shape":"Expression",
1595          "documentation":"<p>A list of conditions (<code>LFTag</code> structures) to search for in database resources.</p>"
1596        }
1597      }
1598    },
1599    "SearchDatabasesByLFTagsResponse":{
1600      "type":"structure",
1601      "members":{
1602        "NextToken":{
1603          "shape":"Token",
1604          "documentation":"<p>A continuation token, present if the current list segment is not the last.</p>"
1605        },
1606        "DatabaseList":{
1607          "shape":"DatabaseLFTagsList",
1608          "documentation":"<p>A list of databases that meet the tag conditions.</p>"
1609        }
1610      }
1611    },
1612    "SearchTablesByLFTagsRequest":{
1613      "type":"structure",
1614      "required":["Expression"],
1615      "members":{
1616        "NextToken":{
1617          "shape":"Token",
1618          "documentation":"<p>A continuation token, if this is not the first call to retrieve this list.</p>"
1619        },
1620        "MaxResults":{
1621          "shape":"PageSize",
1622          "documentation":"<p>The maximum number of results to return.</p>"
1623        },
1624        "CatalogId":{
1625          "shape":"CatalogIdString",
1626          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1627        },
1628        "Expression":{
1629          "shape":"Expression",
1630          "documentation":"<p>A list of conditions (<code>LFTag</code> structures) to search for in table resources.</p>"
1631        }
1632      }
1633    },
1634    "SearchTablesByLFTagsResponse":{
1635      "type":"structure",
1636      "members":{
1637        "NextToken":{
1638          "shape":"Token",
1639          "documentation":"<p>A continuation token, present if the current list segment is not the last.</p>"
1640        },
1641        "TableList":{
1642          "shape":"TableLFTagsList",
1643          "documentation":"<p>A list of tables that meet the tag conditions.</p>"
1644        }
1645      }
1646    },
1647    "StringValue":{"type":"string"},
1648    "StringValueList":{
1649      "type":"list",
1650      "member":{"shape":"StringValue"}
1651    },
1652    "TableLFTagsList":{
1653      "type":"list",
1654      "member":{"shape":"TaggedTable"}
1655    },
1656    "TableResource":{
1657      "type":"structure",
1658      "required":["DatabaseName"],
1659      "members":{
1660        "CatalogId":{
1661          "shape":"CatalogIdString",
1662          "documentation":"<p>The identifier for the Data Catalog. By default, it is the account ID of the caller.</p>"
1663        },
1664        "DatabaseName":{
1665          "shape":"NameString",
1666          "documentation":"<p>The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. </p>"
1667        },
1668        "Name":{
1669          "shape":"NameString",
1670          "documentation":"<p>The name of the table.</p>"
1671        },
1672        "TableWildcard":{
1673          "shape":"TableWildcard",
1674          "documentation":"<p>A wildcard object representing every table under a database.</p> <p>At least one of <code>TableResource$Name</code> or <code>TableResource$TableWildcard</code> is required.</p>"
1675        }
1676      },
1677      "documentation":"<p>A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. </p>"
1678    },
1679    "TableWildcard":{
1680      "type":"structure",
1681      "members":{
1682      },
1683      "documentation":"<p>A wildcard object representing every table under a database.</p>"
1684    },
1685    "TableWithColumnsResource":{
1686      "type":"structure",
1687      "required":[
1688        "DatabaseName",
1689        "Name"
1690      ],
1691      "members":{
1692        "CatalogId":{
1693          "shape":"CatalogIdString",
1694          "documentation":"<p>The identifier for the Data Catalog. By default, it is the account ID of the caller.</p>"
1695        },
1696        "DatabaseName":{
1697          "shape":"NameString",
1698          "documentation":"<p>The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. </p>"
1699        },
1700        "Name":{
1701          "shape":"NameString",
1702          "documentation":"<p>The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. </p>"
1703        },
1704        "ColumnNames":{
1705          "shape":"ColumnNames",
1706          "documentation":"<p>The list of column names for the table. At least one of <code>ColumnNames</code> or <code>ColumnWildcard</code> is required.</p>"
1707        },
1708        "ColumnWildcard":{
1709          "shape":"ColumnWildcard",
1710          "documentation":"<p>A wildcard specified by a <code>ColumnWildcard</code> object. At least one of <code>ColumnNames</code> or <code>ColumnWildcard</code> is required.</p>"
1711        }
1712      },
1713      "documentation":"<p>A structure for a table with columns object. This object is only used when granting a SELECT permission.</p> <p>This object must take a value for at least one of <code>ColumnsNames</code>, <code>ColumnsIndexes</code>, or <code>ColumnsWildcard</code>.</p>"
1714    },
1715    "TagValueList":{
1716      "type":"list",
1717      "member":{"shape":"LFTagValue"},
1718      "max":50,
1719      "min":1
1720    },
1721    "TaggedDatabase":{
1722      "type":"structure",
1723      "members":{
1724        "Database":{
1725          "shape":"DatabaseResource",
1726          "documentation":"<p>A database that has tags attached to it.</p>"
1727        },
1728        "LFTags":{
1729          "shape":"LFTagsList",
1730          "documentation":"<p>A list of tags attached to the database.</p>"
1731        }
1732      },
1733      "documentation":"<p>A structure describing a database resource with tags.</p>"
1734    },
1735    "TaggedTable":{
1736      "type":"structure",
1737      "members":{
1738        "Table":{
1739          "shape":"TableResource",
1740          "documentation":"<p>A table that has tags attached to it.</p>"
1741        },
1742        "LFTagOnDatabase":{
1743          "shape":"LFTagsList",
1744          "documentation":"<p>A list of tags attached to the database where the table resides.</p>"
1745        },
1746        "LFTagsOnTable":{
1747          "shape":"LFTagsList",
1748          "documentation":"<p>A list of tags attached to the table.</p>"
1749        },
1750        "LFTagsOnColumns":{
1751          "shape":"ColumnLFTagsList",
1752          "documentation":"<p>A list of tags attached to columns in the table.</p>"
1753        }
1754      },
1755      "documentation":"<p>A structure describing a table resource with tags.</p>"
1756    },
1757    "Token":{"type":"string"},
1758    "TrustedResourceOwners":{
1759      "type":"list",
1760      "member":{"shape":"CatalogIdString"}
1761    },
1762    "UpdateLFTagRequest":{
1763      "type":"structure",
1764      "required":["TagKey"],
1765      "members":{
1766        "CatalogId":{
1767          "shape":"CatalogIdString",
1768          "documentation":"<p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. </p>"
1769        },
1770        "TagKey":{
1771          "shape":"LFTagKey",
1772          "documentation":"<p>The key-name for the tag for which to add or delete values.</p>"
1773        },
1774        "TagValuesToDelete":{
1775          "shape":"TagValueList",
1776          "documentation":"<p>A list of tag values to delete from the tag.</p>"
1777        },
1778        "TagValuesToAdd":{
1779          "shape":"TagValueList",
1780          "documentation":"<p>A list of tag values to add from the tag.</p>"
1781        }
1782      }
1783    },
1784    "UpdateLFTagResponse":{
1785      "type":"structure",
1786      "members":{
1787      }
1788    },
1789    "UpdateResourceRequest":{
1790      "type":"structure",
1791      "required":[
1792        "RoleArn",
1793        "ResourceArn"
1794      ],
1795      "members":{
1796        "RoleArn":{
1797          "shape":"IAMRoleArn",
1798          "documentation":"<p>The new role to use for the given resource registered in AWS Lake Formation.</p>"
1799        },
1800        "ResourceArn":{
1801          "shape":"ResourceArnString",
1802          "documentation":"<p>The resource ARN.</p>"
1803        }
1804      }
1805    },
1806    "UpdateResourceResponse":{
1807      "type":"structure",
1808      "members":{
1809      }
1810    }
1811  },
1812  "documentation":"<fullname>AWS Lake Formation</fullname> <p>Defines the public endpoint for the AWS Lake Formation service.</p>"
1813}
1814