aws-sdk-for-zig/codegen/models/lakeformation.2017-03-31.json

2800 lines
125 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.lakeformation#AWSLakeFormation": {
"type": "service",
"version": "2017-03-31",
"operations": [
{
"target": "com.amazonaws.lakeformation#AddLFTagsToResource"
},
{
"target": "com.amazonaws.lakeformation#BatchGrantPermissions"
},
{
"target": "com.amazonaws.lakeformation#BatchRevokePermissions"
},
{
"target": "com.amazonaws.lakeformation#CreateLFTag"
},
{
"target": "com.amazonaws.lakeformation#DeleteLFTag"
},
{
"target": "com.amazonaws.lakeformation#DeregisterResource"
},
{
"target": "com.amazonaws.lakeformation#DescribeResource"
},
{
"target": "com.amazonaws.lakeformation#GetDataLakeSettings"
},
{
"target": "com.amazonaws.lakeformation#GetEffectivePermissionsForPath"
},
{
"target": "com.amazonaws.lakeformation#GetLFTag"
},
{
"target": "com.amazonaws.lakeformation#GetResourceLFTags"
},
{
"target": "com.amazonaws.lakeformation#GrantPermissions"
},
{
"target": "com.amazonaws.lakeformation#ListLFTags"
},
{
"target": "com.amazonaws.lakeformation#ListPermissions"
},
{
"target": "com.amazonaws.lakeformation#ListResources"
},
{
"target": "com.amazonaws.lakeformation#PutDataLakeSettings"
},
{
"target": "com.amazonaws.lakeformation#RegisterResource"
},
{
"target": "com.amazonaws.lakeformation#RemoveLFTagsFromResource"
},
{
"target": "com.amazonaws.lakeformation#RevokePermissions"
},
{
"target": "com.amazonaws.lakeformation#SearchDatabasesByLFTags"
},
{
"target": "com.amazonaws.lakeformation#SearchTablesByLFTags"
},
{
"target": "com.amazonaws.lakeformation#UpdateLFTag"
},
{
"target": "com.amazonaws.lakeformation#UpdateResource"
}
],
"traits": {
"aws.api#service": {
"sdkId": "LakeFormation",
"arnNamespace": "lakeformation",
"cloudFormationName": "LakeFormation",
"cloudTrailEventSource": "lakeformation.amazonaws.com",
"endpointPrefix": "lakeformation"
},
"aws.auth#sigv4": {
"name": "lakeformation"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<fullname>AWS Lake Formation</fullname>\n <p>Defines the public endpoint for the AWS Lake Formation service.</p>",
"smithy.api#title": "AWS Lake Formation"
}
},
"com.amazonaws.lakeformation#AccessDeniedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Access to a resource was denied.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#AddLFTagsToResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#AddLFTagsToResourceRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#AddLFTagsToResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#ConcurrentModificationException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Attaches one or more tags to an existing resource.</p>"
}
},
"com.amazonaws.lakeformation#AddLFTagsToResourceRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource to which to attach a tag.</p>",
"smithy.api#required": {}
}
},
"LFTags": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>The tags to attach to the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#AddLFTagsToResourceResponse": {
"type": "structure",
"members": {
"Failures": {
"target": "com.amazonaws.lakeformation#LFTagErrors",
"traits": {
"smithy.api#documentation": "<p>A list of failures to tag the resource.</p>"
}
}
}
},
"com.amazonaws.lakeformation#AlreadyExistsException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A resource to be created or added already exists.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#BatchGrantPermissions": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#BatchGrantPermissionsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#BatchGrantPermissionsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Batch operation to grant permissions to the principal.</p>"
}
},
"com.amazonaws.lakeformation#BatchGrantPermissionsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Entries": {
"target": "com.amazonaws.lakeformation#BatchPermissionsRequestEntryList",
"traits": {
"smithy.api#documentation": "<p>A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#BatchGrantPermissionsResponse": {
"type": "structure",
"members": {
"Failures": {
"target": "com.amazonaws.lakeformation#BatchPermissionsFailureList",
"traits": {
"smithy.api#documentation": "<p>A list of failures to grant permissions to the resources.</p>"
}
}
}
},
"com.amazonaws.lakeformation#BatchPermissionsFailureEntry": {
"type": "structure",
"members": {
"RequestEntry": {
"target": "com.amazonaws.lakeformation#BatchPermissionsRequestEntry",
"traits": {
"smithy.api#documentation": "<p>An identifier for an entry of the batch request.</p>"
}
},
"Error": {
"target": "com.amazonaws.lakeformation#ErrorDetail",
"traits": {
"smithy.api#documentation": "<p>An error message that applies to the failure of the entry.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A list of failures when performing a batch grant or batch revoke operation.</p>"
}
},
"com.amazonaws.lakeformation#BatchPermissionsFailureList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#BatchPermissionsFailureEntry"
}
},
"com.amazonaws.lakeformation#BatchPermissionsRequestEntry": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.lakeformation#Identifier",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for the batch permissions request entry.</p>",
"smithy.api#required": {}
}
},
"Principal": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal",
"traits": {
"smithy.api#documentation": "<p>The principal to be granted a permission.</p>"
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource to which the principal is to be granted a permission.</p>"
}
},
"Permissions": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#documentation": "<p>The permissions to be granted.</p>"
}
},
"PermissionsWithGrantOption": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#documentation": "<p>Indicates if the option to pass permissions is granted.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A permission to a resource granted by batch operation to the principal.</p>"
}
},
"com.amazonaws.lakeformation#BatchPermissionsRequestEntryList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#BatchPermissionsRequestEntry"
}
},
"com.amazonaws.lakeformation#BatchRevokePermissions": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#BatchRevokePermissionsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#BatchRevokePermissionsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Batch operation to revoke permissions from the principal.</p>"
}
},
"com.amazonaws.lakeformation#BatchRevokePermissionsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Entries": {
"target": "com.amazonaws.lakeformation#BatchPermissionsRequestEntryList",
"traits": {
"smithy.api#documentation": "<p>A list of up to 20 entries for resource permissions to be revoked by batch operation to the principal.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#BatchRevokePermissionsResponse": {
"type": "structure",
"members": {
"Failures": {
"target": "com.amazonaws.lakeformation#BatchPermissionsFailureList",
"traits": {
"smithy.api#documentation": "<p>A list of failures to revoke permissions to the resources.</p>"
}
}
}
},
"com.amazonaws.lakeformation#BooleanNullable": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.lakeformation#CatalogIdString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
},
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*"
}
},
"com.amazonaws.lakeformation#CatalogResource": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>A structure for the catalog object.</p>"
}
},
"com.amazonaws.lakeformation#ColumnLFTag": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#documentation": "<p>The name of a column resource.</p>"
}
},
"LFTags": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>The tags attached to a column resource.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing the name of a column resource and the tags attached to it.</p>"
}
},
"com.amazonaws.lakeformation#ColumnLFTagsList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#ColumnLFTag"
}
},
"com.amazonaws.lakeformation#ColumnNames": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#NameString"
}
},
"com.amazonaws.lakeformation#ColumnWildcard": {
"type": "structure",
"members": {
"ExcludedColumnNames": {
"target": "com.amazonaws.lakeformation#ColumnNames",
"traits": {
"smithy.api#documentation": "<p>Excludes column names. Any column with this name will be excluded.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A wildcard object, consisting of an optional list of excluded column names or indexes.</p>"
}
},
"com.amazonaws.lakeformation#ComparisonOperator": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "EQ",
"name": "EQ"
},
{
"value": "NE",
"name": "NE"
},
{
"value": "LE",
"name": "LE"
},
{
"value": "LT",
"name": "LT"
},
{
"value": "GE",
"name": "GE"
},
{
"value": "GT",
"name": "GT"
},
{
"value": "CONTAINS",
"name": "CONTAINS"
},
{
"value": "NOT_CONTAINS",
"name": "NOT_CONTAINS"
},
{
"value": "BEGINS_WITH",
"name": "BEGINS_WITH"
},
{
"value": "IN",
"name": "IN"
},
{
"value": "BETWEEN",
"name": "BETWEEN"
}
]
}
},
"com.amazonaws.lakeformation#ConcurrentModificationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Two processes are trying to modify a resource simultaneously.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#CreateLFTag": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#CreateLFTagRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#CreateLFTagResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
},
{
"target": "com.amazonaws.lakeformation#ResourceNumberLimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a tag with the specified name and values.</p>"
}
},
"com.amazonaws.lakeformation#CreateLFTagRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag.</p>",
"smithy.api#required": {}
}
},
"TagValues": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of possible values an attribute can take.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#CreateLFTagResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#DataLakePrincipal": {
"type": "structure",
"members": {
"DataLakePrincipalIdentifier": {
"target": "com.amazonaws.lakeformation#DataLakePrincipalString",
"traits": {
"smithy.api#documentation": "<p>An identifier for the AWS Lake Formation principal.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The AWS Lake Formation principal. Supported principals are IAM users or IAM roles.</p>"
}
},
"com.amazonaws.lakeformation#DataLakePrincipalList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 10
}
}
},
"com.amazonaws.lakeformation#DataLakePrincipalString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
}
}
},
"com.amazonaws.lakeformation#DataLakeResourceType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CATALOG",
"name": "CATALOG"
},
{
"value": "DATABASE",
"name": "DATABASE"
},
{
"value": "TABLE",
"name": "TABLE"
},
{
"value": "DATA_LOCATION",
"name": "DATA_LOCATION"
},
{
"value": "LF_TAG",
"name": "LF_TAG"
},
{
"value": "LF_TAG_POLICY",
"name": "LF_TAG_POLICY"
},
{
"value": "LF_TAG_POLICY_DATABASE",
"name": "LF_TAG_POLICY_DATABASE"
},
{
"value": "LF_TAG_POLICY_TABLE",
"name": "LF_TAG_POLICY_TABLE"
}
]
}
},
"com.amazonaws.lakeformation#DataLakeSettings": {
"type": "structure",
"members": {
"DataLakeAdmins": {
"target": "com.amazonaws.lakeformation#DataLakePrincipalList",
"traits": {
"smithy.api#documentation": "<p>A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.</p>"
}
},
"CreateDatabaseDefaultPermissions": {
"target": "com.amazonaws.lakeformation#PrincipalPermissionsList",
"traits": {
"smithy.api#documentation": "<p>A structure representing a list of up to three principal permissions entries for default create database permissions.</p>"
}
},
"CreateTableDefaultPermissions": {
"target": "com.amazonaws.lakeformation#PrincipalPermissionsList",
"traits": {
"smithy.api#documentation": "<p>A structure representing a list of up to three principal permissions entries for default create table permissions.</p>"
}
},
"TrustedResourceOwners": {
"target": "com.amazonaws.lakeformation#TrustedResourceOwners",
"traits": {
"smithy.api#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>\n\t\n\t <p>You may want to specify this property when you are in a high-trust boundary, such as the same team or company. </p>"
}
}
},
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#DataLocationResource": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) that uniquely identifies the data location resource.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure for a data location object where permissions are granted or revoked. </p>"
}
},
"com.amazonaws.lakeformation#DatabaseLFTagsList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#TaggedDatabase"
}
},
"com.amazonaws.lakeformation#DatabaseResource": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#documentation": "<p>The identifier for the Data Catalog. By default, it is the account ID of the caller.</p>"
}
},
"Name": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#documentation": "<p>The name of the database resource. Unique to the Data Catalog.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure for the database object.</p>"
}
},
"com.amazonaws.lakeformation#DeleteLFTag": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#DeleteLFTagRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#DeleteLFTagResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#DeleteLFTagRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag to delete.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#DeleteLFTagResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#DeregisterResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#DeregisterResourceRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#DeregisterResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deregisters the resource as managed by the Data Catalog.</p>\n\t\n <p>When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.</p>"
}
},
"com.amazonaws.lakeformation#DeregisterResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource that you want to deregister.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#DeregisterResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#DescribeResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#DescribeResourceRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#DescribeResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the current data access role for the given resource registered in AWS Lake Formation.</p>"
}
},
"com.amazonaws.lakeformation#DescribeResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The resource ARN.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#DescribeResourceResponse": {
"type": "structure",
"members": {
"ResourceInfo": {
"target": "com.amazonaws.lakeformation#ResourceInfo",
"traits": {
"smithy.api#documentation": "<p>A structure containing information about an AWS Lake Formation resource.</p>"
}
}
}
},
"com.amazonaws.lakeformation#DescriptionString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 2048
},
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
}
},
"com.amazonaws.lakeformation#DetailsMap": {
"type": "structure",
"members": {
"ResourceShare": {
"target": "com.amazonaws.lakeformation#ResourceShareList",
"traits": {
"smithy.api#documentation": "<p>A resource share ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing the additional details to be returned in the <code>AdditionalDetails</code> attribute of <code>PrincipalResourcePermissions</code>.</p>\n \n <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>"
}
},
"com.amazonaws.lakeformation#EntityNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A specified entity does not exist</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#ErrorDetail": {
"type": "structure",
"members": {
"ErrorCode": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#documentation": "<p>The code associated with this error.</p>"
}
},
"ErrorMessage": {
"target": "com.amazonaws.lakeformation#DescriptionString",
"traits": {
"smithy.api#documentation": "<p>A message describing the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about an error.</p>"
}
},
"com.amazonaws.lakeformation#Expression": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#LFTag"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 5
}
}
},
"com.amazonaws.lakeformation#FieldNameString": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "RESOURCE_ARN",
"name": "RESOURCE_ARN"
},
{
"value": "ROLE_ARN",
"name": "ROLE_ARN"
},
{
"value": "LAST_MODIFIED",
"name": "LAST_MODIFIED"
}
]
}
},
"com.amazonaws.lakeformation#FilterCondition": {
"type": "structure",
"members": {
"Field": {
"target": "com.amazonaws.lakeformation#FieldNameString",
"traits": {
"smithy.api#documentation": "<p>The field to filter in the filter condition.</p>"
}
},
"ComparisonOperator": {
"target": "com.amazonaws.lakeformation#ComparisonOperator",
"traits": {
"smithy.api#documentation": "<p>The comparison operator used in the filter condition.</p>"
}
},
"StringValueList": {
"target": "com.amazonaws.lakeformation#StringValueList",
"traits": {
"smithy.api#documentation": "<p>A string with values used in evaluating the filter condition.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This structure describes the filtering of columns in a table based on a filter condition.</p>"
}
},
"com.amazonaws.lakeformation#FilterConditionList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#FilterCondition"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20
}
}
},
"com.amazonaws.lakeformation#GetDataLakeSettings": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#GetDataLakeSettingsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#GetDataLakeSettingsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the list of the data lake administrators of a Lake Formation-managed data lake. </p>"
}
},
"com.amazonaws.lakeformation#GetDataLakeSettingsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
}
}
},
"com.amazonaws.lakeformation#GetDataLakeSettingsResponse": {
"type": "structure",
"members": {
"DataLakeSettings": {
"target": "com.amazonaws.lakeformation#DataLakeSettings",
"traits": {
"smithy.api#documentation": "<p>A structure representing a list of AWS Lake Formation principals designated as data lake administrators.</p>"
}
}
}
},
"com.amazonaws.lakeformation#GetEffectivePermissionsForPath": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#GetEffectivePermissionsForPathRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#GetEffectivePermissionsForPathResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the Lake Formation permissions for a specified table or database resource located\n at a path in Amazon S3. <code>GetEffectivePermissionsForPath</code> will not return databases and tables if the catalog is encrypted.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.lakeformation#GetEffectivePermissionsForPathRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource for which you want to get permissions.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.lakeformation#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
}
}
},
"com.amazonaws.lakeformation#GetEffectivePermissionsForPathResponse": {
"type": "structure",
"members": {
"Permissions": {
"target": "com.amazonaws.lakeformation#PrincipalResourcePermissionsList",
"traits": {
"smithy.api#documentation": "<p>A list of the permissions for the specified table or database resource located at the path in Amazon S3.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
}
}
},
"com.amazonaws.lakeformation#GetLFTag": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#GetLFTagRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#GetLFTagResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a tag definition.</p>"
}
},
"com.amazonaws.lakeformation#GetLFTagRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#GetLFTagResponse": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag.</p>"
}
},
"TagValues": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of possible values an attribute can take.</p>"
}
}
}
},
"com.amazonaws.lakeformation#GetResourceLFTags": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#GetResourceLFTagsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#GetResourceLFTagsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#GlueEncryptionException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the tags applied to a resource.</p>"
}
},
"com.amazonaws.lakeformation#GetResourceLFTagsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource for which you want to return tags.</p>",
"smithy.api#required": {}
}
},
"ShowAssignedLFTags": {
"target": "com.amazonaws.lakeformation#BooleanNullable",
"traits": {
"smithy.api#documentation": "<p>Indicates whether to show the assigned tags.</p>"
}
}
}
},
"com.amazonaws.lakeformation#GetResourceLFTagsResponse": {
"type": "structure",
"members": {
"LFTagOnDatabase": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags applied to a database resource.</p>"
}
},
"LFTagsOnTable": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags applied to a table resource.</p>"
}
},
"LFTagsOnColumns": {
"target": "com.amazonaws.lakeformation#ColumnLFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags applied to a column resource.</p>"
}
}
}
},
"com.amazonaws.lakeformation#GlueEncryptionException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An encryption operation failed.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#GrantPermissions": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#GrantPermissionsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#GrantPermissionsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#ConcurrentModificationException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
}
],
"traits": {
"smithy.api#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>\n\t <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>"
}
},
"com.amazonaws.lakeformation#GrantPermissionsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Principal": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal",
"traits": {
"smithy.api#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>\n\t <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>",
"smithy.api#required": {}
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data Catalog, databases, and tables.</p>",
"smithy.api#required": {}
}
},
"Permissions": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#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>",
"smithy.api#required": {}
}
},
"PermissionsWithGrantOption": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#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>"
}
}
}
},
"com.amazonaws.lakeformation#GrantPermissionsResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#IAMRoleArn": {
"type": "string",
"traits": {
"smithy.api#pattern": "arn:aws:iam::[0-9]*:role/.*"
}
},
"com.amazonaws.lakeformation#Identifier": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
}
}
},
"com.amazonaws.lakeformation#InternalServiceException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An internal service error occurred.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.lakeformation#InvalidInputException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The input provided was not valid.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#LFTag": {
"type": "structure",
"members": {
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag.</p>",
"smithy.api#required": {}
}
},
"TagValues": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of possible values an attribute can take.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#LFTagError": {
"type": "structure",
"members": {
"LFTag": {
"target": "com.amazonaws.lakeformation#LFTagPair",
"traits": {
"smithy.api#documentation": "<p>The key-name of the tag.</p>"
}
},
"Error": {
"target": "com.amazonaws.lakeformation#ErrorDetail",
"traits": {
"smithy.api#documentation": "<p>An error that occurred with the attachment or detachment of the tag.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing an error related to a <code>TagResource</code> or <code>UnTagResource</code> operation.</p>"
}
},
"com.amazonaws.lakeformation#LFTagErrors": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#LFTagError"
}
},
"com.amazonaws.lakeformation#LFTagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*)$"
}
},
"com.amazonaws.lakeformation#LFTagKeyResource": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag.</p>",
"smithy.api#required": {}
}
},
"TagValues": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of possible values an attribute can take.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing a tag key and values for a resource.</p>"
}
},
"com.amazonaws.lakeformation#LFTagPair": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag.</p>",
"smithy.api#required": {}
}
},
"TagValues": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of possible values an attribute can take.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing a tag key-value pair.</p>"
}
},
"com.amazonaws.lakeformation#LFTagPolicyResource": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"ResourceType": {
"target": "com.amazonaws.lakeformation#ResourceType",
"traits": {
"smithy.api#documentation": "<p>The resource type for which the tag policy applies.</p>",
"smithy.api#required": {}
}
},
"Expression": {
"target": "com.amazonaws.lakeformation#Expression",
"traits": {
"smithy.api#documentation": "<p>A list of tag conditions that apply to the resource's tag policy.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing a list of tag conditions that apply to a resource's tag policy.</p>"
}
},
"com.amazonaws.lakeformation#LFTagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:\\*\\/=+\\-@%]*)$"
}
},
"com.amazonaws.lakeformation#LFTagsList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#LFTagPair"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.lakeformation#LastModifiedTimestamp": {
"type": "timestamp"
},
"com.amazonaws.lakeformation#ListLFTags": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#ListLFTagsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#ListLFTagsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists tags that the requester has permission to view. </p>"
}
},
"com.amazonaws.lakeformation#ListLFTagsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"ResourceShareType": {
"target": "com.amazonaws.lakeformation#ResourceShareType",
"traits": {
"smithy.api#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>"
}
},
"MaxResults": {
"target": "com.amazonaws.lakeformation#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
}
}
},
"com.amazonaws.lakeformation#ListLFTagsResponse": {
"type": "structure",
"members": {
"LFTags": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags that the requested has permission to view.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, present if the current list segment is not the last.</p>"
}
}
}
},
"com.amazonaws.lakeformation#ListPermissions": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#ListPermissionsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#ListPermissionsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#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>\n\t <p>This operation returns only those permissions that have been explicitly granted.</p>\n\t <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>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.lakeformation#ListPermissionsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Principal": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal",
"traits": {
"smithy.api#documentation": "<p>Specifies a principal to filter the permissions returned.</p>"
}
},
"ResourceType": {
"target": "com.amazonaws.lakeformation#DataLakeResourceType",
"traits": {
"smithy.api#documentation": "<p>Specifies a resource type to filter the permissions returned.</p>"
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>A resource where you will get a list of the principal permissions.</p>\n <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>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.lakeformation#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
}
}
},
"com.amazonaws.lakeformation#ListPermissionsResponse": {
"type": "structure",
"members": {
"PrincipalResourcePermissions": {
"target": "com.amazonaws.lakeformation#PrincipalResourcePermissionsList",
"traits": {
"smithy.api#documentation": "<p>A list of principals and their permissions on the resource for the specified principal and resource types.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
}
}
},
"com.amazonaws.lakeformation#ListResources": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#ListResourcesRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#ListResourcesResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the resources registered to be managed by the Data Catalog.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.lakeformation#ListResourcesRequest": {
"type": "structure",
"members": {
"FilterConditionList": {
"target": "com.amazonaws.lakeformation#FilterConditionList",
"traits": {
"smithy.api#documentation": "<p>Any applicable row-level and/or column-level filtering conditions for the resources.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.lakeformation#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of resource results.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve these resources.</p>"
}
}
}
},
"com.amazonaws.lakeformation#ListResourcesResponse": {
"type": "structure",
"members": {
"ResourceInfoList": {
"target": "com.amazonaws.lakeformation#ResourceInfoList",
"traits": {
"smithy.api#documentation": "<p>A summary of the data lake resources.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve these resources.</p>"
}
}
}
},
"com.amazonaws.lakeformation#MessageString": {
"type": "string"
},
"com.amazonaws.lakeformation#NameString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
},
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*"
}
},
"com.amazonaws.lakeformation#NullableBoolean": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.lakeformation#OperationTimeoutException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The operation timed out.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#PageSize": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 1000
}
}
},
"com.amazonaws.lakeformation#Permission": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALL",
"name": "ALL"
},
{
"value": "SELECT",
"name": "SELECT"
},
{
"value": "ALTER",
"name": "ALTER"
},
{
"value": "DROP",
"name": "DROP"
},
{
"value": "DELETE",
"name": "DELETE"
},
{
"value": "INSERT",
"name": "INSERT"
},
{
"value": "DESCRIBE",
"name": "DESCRIBE"
},
{
"value": "CREATE_DATABASE",
"name": "CREATE_DATABASE"
},
{
"value": "CREATE_TABLE",
"name": "CREATE_TABLE"
},
{
"value": "DATA_LOCATION_ACCESS",
"name": "DATA_LOCATION_ACCESS"
},
{
"value": "CREATE_TAG",
"name": "CREATE_TAG"
},
{
"value": "ALTER_TAG",
"name": "ALTER_TAG"
},
{
"value": "DELETE_TAG",
"name": "DELETE_TAG"
},
{
"value": "DESCRIBE_TAG",
"name": "DESCRIBE_TAG"
},
{
"value": "ASSOCIATE_TAG",
"name": "ASSOCIATE_TAG"
}
]
}
},
"com.amazonaws.lakeformation#PermissionList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#Permission"
}
},
"com.amazonaws.lakeformation#PrincipalPermissions": {
"type": "structure",
"members": {
"Principal": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal",
"traits": {
"smithy.api#documentation": "<p>The principal who is granted permissions.</p>"
}
},
"Permissions": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#documentation": "<p>The permissions that are granted to the principal.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Permissions granted to a principal.</p>"
}
},
"com.amazonaws.lakeformation#PrincipalPermissionsList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#PrincipalPermissions"
}
},
"com.amazonaws.lakeformation#PrincipalResourcePermissions": {
"type": "structure",
"members": {
"Principal": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal",
"traits": {
"smithy.api#documentation": "<p>The Data Lake principal to be granted or revoked permissions.</p>"
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource where permissions are to be granted or revoked.</p>"
}
},
"Permissions": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#documentation": "<p>The permissions to be granted or revoked on the resource.</p>"
}
},
"PermissionsWithGrantOption": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#documentation": "<p>Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).</p>"
}
},
"AdditionalDetails": {
"target": "com.amazonaws.lakeformation#DetailsMap",
"traits": {
"smithy.api#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>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The permissions granted or revoked on a resource.</p>"
}
},
"com.amazonaws.lakeformation#PrincipalResourcePermissionsList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#PrincipalResourcePermissions"
}
},
"com.amazonaws.lakeformation#PutDataLakeSettings": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#PutDataLakeSettingsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#PutDataLakeSettingsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
}
],
"traits": {
"smithy.api#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>\n\t\n\t <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>"
}
},
"com.amazonaws.lakeformation#PutDataLakeSettingsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"DataLakeSettings": {
"target": "com.amazonaws.lakeformation#DataLakeSettings",
"traits": {
"smithy.api#documentation": "<p>A structure representing a list of AWS Lake Formation principals designated as data lake administrators.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#PutDataLakeSettingsResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#RAMResourceShareArn": {
"type": "string"
},
"com.amazonaws.lakeformation#RegisterResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#RegisterResourceRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#RegisterResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AlreadyExistsException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Registers the resource as managed by the Data Catalog.</p>\n\t\n\t <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>\n\n <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>\n\n <p>\n <code>ResourceArn = arn:aws:s3:::my-bucket\nUseServiceLinkedRole = true</code>\n </p>\n\t\n\t <p>If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the <code>RoleArn</code>:</p>\n\t\n <p>\n <code>arn:aws:iam::12345:role/my-data-access-role</code>\n </p>"
}
},
"com.amazonaws.lakeformation#RegisterResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource that you want to register.</p>",
"smithy.api#required": {}
}
},
"UseServiceLinkedRole": {
"target": "com.amazonaws.lakeformation#NullableBoolean",
"traits": {
"smithy.api#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>\n \n <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>"
}
},
"RoleArn": {
"target": "com.amazonaws.lakeformation#IAMRoleArn",
"traits": {
"smithy.api#documentation": "<p>The identifier for the role that registers the resource.</p>"
}
}
}
},
"com.amazonaws.lakeformation#RegisterResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#RemoveLFTagsFromResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#RemoveLFTagsFromResourceRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#RemoveLFTagsFromResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#ConcurrentModificationException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#GlueEncryptionException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#RemoveLFTagsFromResourceRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource where you want to remove a tag.</p>",
"smithy.api#required": {}
}
},
"LFTags": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>The tags to be removed from the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#RemoveLFTagsFromResourceResponse": {
"type": "structure",
"members": {
"Failures": {
"target": "com.amazonaws.lakeformation#LFTagErrors",
"traits": {
"smithy.api#documentation": "<p>A list of failures to untag a resource.</p>"
}
}
}
},
"com.amazonaws.lakeformation#Resource": {
"type": "structure",
"members": {
"Catalog": {
"target": "com.amazonaws.lakeformation#CatalogResource",
"traits": {
"smithy.api#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>"
}
},
"Database": {
"target": "com.amazonaws.lakeformation#DatabaseResource",
"traits": {
"smithy.api#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>"
}
},
"Table": {
"target": "com.amazonaws.lakeformation#TableResource",
"traits": {
"smithy.api#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>"
}
},
"TableWithColumns": {
"target": "com.amazonaws.lakeformation#TableWithColumnsResource",
"traits": {
"smithy.api#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>"
}
},
"DataLocation": {
"target": "com.amazonaws.lakeformation#DataLocationResource",
"traits": {
"smithy.api#documentation": "<p>The location of an Amazon S3 path where permissions are granted or revoked. </p>"
}
},
"LFTag": {
"target": "com.amazonaws.lakeformation#LFTagKeyResource",
"traits": {
"smithy.api#documentation": "<p>The tag key and values attached to a resource.</p>"
}
},
"LFTagPolicy": {
"target": "com.amazonaws.lakeformation#LFTagPolicyResource",
"traits": {
"smithy.api#documentation": "<p>A list of tag conditions that define a resource's tag policy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure for the resource.</p>"
}
},
"com.amazonaws.lakeformation#ResourceArnString": {
"type": "string"
},
"com.amazonaws.lakeformation#ResourceInfo": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.lakeformation#IAMRoleArn",
"traits": {
"smithy.api#documentation": "<p>The IAM role that registered a resource.</p>"
}
},
"LastModified": {
"target": "com.amazonaws.lakeformation#LastModifiedTimestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time the resource was last modified.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure containing information about an AWS Lake Formation resource.</p>"
}
},
"com.amazonaws.lakeformation#ResourceInfoList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#ResourceInfo"
}
},
"com.amazonaws.lakeformation#ResourceNumberLimitExceededException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.lakeformation#MessageString",
"traits": {
"smithy.api#documentation": "<p>A message describing the problem.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A resource numerical limit was exceeded.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.lakeformation#ResourceShareList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#RAMResourceShareArn"
}
},
"com.amazonaws.lakeformation#ResourceShareType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "FOREIGN",
"name": "FOREIGN"
},
{
"value": "ALL",
"name": "ALL"
}
]
}
},
"com.amazonaws.lakeformation#ResourceType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "DATABASE",
"name": "DATABASE"
},
{
"value": "TABLE",
"name": "TABLE"
}
]
}
},
"com.amazonaws.lakeformation#RevokePermissions": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#RevokePermissionsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#RevokePermissionsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#ConcurrentModificationException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
}
],
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#RevokePermissionsRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Principal": {
"target": "com.amazonaws.lakeformation#DataLakePrincipal",
"traits": {
"smithy.api#documentation": "<p>The principal to be revoked permissions on the resource.</p>",
"smithy.api#required": {}
}
},
"Resource": {
"target": "com.amazonaws.lakeformation#Resource",
"traits": {
"smithy.api#documentation": "<p>The resource to which permissions are to be revoked.</p>",
"smithy.api#required": {}
}
},
"Permissions": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#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\n and Access Control to Metadata and Data</a>.</p>",
"smithy.api#required": {}
}
},
"PermissionsWithGrantOption": {
"target": "com.amazonaws.lakeformation#PermissionList",
"traits": {
"smithy.api#documentation": "<p>Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.</p>"
}
}
}
},
"com.amazonaws.lakeformation#RevokePermissionsResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#SearchDatabasesByLFTags": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#SearchDatabasesByLFTagsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#SearchDatabasesByLFTagsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#GlueEncryptionException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#SearchDatabasesByLFTagsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.lakeformation#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Expression": {
"target": "com.amazonaws.lakeformation#Expression",
"traits": {
"smithy.api#documentation": "<p>A list of conditions (<code>LFTag</code> structures) to search for in database resources.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#SearchDatabasesByLFTagsResponse": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, present if the current list segment is not the last.</p>"
}
},
"DatabaseList": {
"target": "com.amazonaws.lakeformation#DatabaseLFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of databases that meet the tag conditions.</p>"
}
}
}
},
"com.amazonaws.lakeformation#SearchTablesByLFTags": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#SearchTablesByLFTagsRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#SearchTablesByLFTagsResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#GlueEncryptionException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#SearchTablesByLFTagsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, if this is not the first call to retrieve this list.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.lakeformation#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"Expression": {
"target": "com.amazonaws.lakeformation#Expression",
"traits": {
"smithy.api#documentation": "<p>A list of conditions (<code>LFTag</code> structures) to search for in table resources.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#SearchTablesByLFTagsResponse": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.lakeformation#Token",
"traits": {
"smithy.api#documentation": "<p>A continuation token, present if the current list segment is not the last.</p>"
}
},
"TableList": {
"target": "com.amazonaws.lakeformation#TableLFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tables that meet the tag conditions.</p>"
}
}
}
},
"com.amazonaws.lakeformation#StringValue": {
"type": "string"
},
"com.amazonaws.lakeformation#StringValueList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#StringValue"
}
},
"com.amazonaws.lakeformation#TableLFTagsList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#TaggedTable"
}
},
"com.amazonaws.lakeformation#TableResource": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#documentation": "<p>The identifier for the Data Catalog. By default, it is the account ID of the caller.</p>"
}
},
"DatabaseName": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#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>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>"
}
},
"TableWildcard": {
"target": "com.amazonaws.lakeformation#TableWildcard",
"traits": {
"smithy.api#documentation": "<p>A wildcard object representing every table under a database.</p>\n\n <p>At least one of <code>TableResource$Name</code> or <code>TableResource$TableWildcard</code> is required.</p>"
}
}
},
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#TableWildcard": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>A wildcard object representing every table under a database.</p>"
}
},
"com.amazonaws.lakeformation#TableWithColumnsResource": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#documentation": "<p>The identifier for the Data Catalog. By default, it is the account ID of the caller.</p>"
}
},
"DatabaseName": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#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>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.lakeformation#NameString",
"traits": {
"smithy.api#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>",
"smithy.api#required": {}
}
},
"ColumnNames": {
"target": "com.amazonaws.lakeformation#ColumnNames",
"traits": {
"smithy.api#documentation": "<p>The list of column names for the table. At least one of <code>ColumnNames</code> or <code>ColumnWildcard</code> is required.</p>"
}
},
"ColumnWildcard": {
"target": "com.amazonaws.lakeformation#ColumnWildcard",
"traits": {
"smithy.api#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>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure for a table with columns object. This object is only used when granting a SELECT permission.</p>\n\t <p>This object must take a value for at least one of <code>ColumnsNames</code>, <code>ColumnsIndexes</code>, or <code>ColumnsWildcard</code>.</p>"
}
},
"com.amazonaws.lakeformation#TagValueList": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#LFTagValue"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.lakeformation#TaggedDatabase": {
"type": "structure",
"members": {
"Database": {
"target": "com.amazonaws.lakeformation#DatabaseResource",
"traits": {
"smithy.api#documentation": "<p>A database that has tags attached to it.</p>"
}
},
"LFTags": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags attached to the database.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure describing a database resource with tags.</p>"
}
},
"com.amazonaws.lakeformation#TaggedTable": {
"type": "structure",
"members": {
"Table": {
"target": "com.amazonaws.lakeformation#TableResource",
"traits": {
"smithy.api#documentation": "<p>A table that has tags attached to it.</p>"
}
},
"LFTagOnDatabase": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags attached to the database where the table resides.</p>"
}
},
"LFTagsOnTable": {
"target": "com.amazonaws.lakeformation#LFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags attached to the table.</p>"
}
},
"LFTagsOnColumns": {
"target": "com.amazonaws.lakeformation#ColumnLFTagsList",
"traits": {
"smithy.api#documentation": "<p>A list of tags attached to columns in the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A structure describing a table resource with tags.</p>"
}
},
"com.amazonaws.lakeformation#Token": {
"type": "string"
},
"com.amazonaws.lakeformation#TrustedResourceOwners": {
"type": "list",
"member": {
"target": "com.amazonaws.lakeformation#CatalogIdString"
}
},
"com.amazonaws.lakeformation#UpdateLFTag": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#UpdateLFTagRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#UpdateLFTagResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#AccessDeniedException"
},
{
"target": "com.amazonaws.lakeformation#ConcurrentModificationException"
},
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#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>"
}
},
"com.amazonaws.lakeformation#UpdateLFTagRequest": {
"type": "structure",
"members": {
"CatalogId": {
"target": "com.amazonaws.lakeformation#CatalogIdString",
"traits": {
"smithy.api#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>"
}
},
"TagKey": {
"target": "com.amazonaws.lakeformation#LFTagKey",
"traits": {
"smithy.api#documentation": "<p>The key-name for the tag for which to add or delete values.</p>",
"smithy.api#required": {}
}
},
"TagValuesToDelete": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of tag values to delete from the tag.</p>"
}
},
"TagValuesToAdd": {
"target": "com.amazonaws.lakeformation#TagValueList",
"traits": {
"smithy.api#documentation": "<p>A list of tag values to add from the tag.</p>"
}
}
}
},
"com.amazonaws.lakeformation#UpdateLFTagResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.lakeformation#UpdateResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.lakeformation#UpdateResourceRequest"
},
"output": {
"target": "com.amazonaws.lakeformation#UpdateResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.lakeformation#EntityNotFoundException"
},
{
"target": "com.amazonaws.lakeformation#InternalServiceException"
},
{
"target": "com.amazonaws.lakeformation#InvalidInputException"
},
{
"target": "com.amazonaws.lakeformation#OperationTimeoutException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation. </p>"
}
},
"com.amazonaws.lakeformation#UpdateResourceRequest": {
"type": "structure",
"members": {
"RoleArn": {
"target": "com.amazonaws.lakeformation#IAMRoleArn",
"traits": {
"smithy.api#documentation": "<p>The new role to use for the given resource registered in AWS Lake Formation.</p>",
"smithy.api#required": {}
}
},
"ResourceArn": {
"target": "com.amazonaws.lakeformation#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The resource ARN.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.lakeformation#UpdateResourceResponse": {
"type": "structure",
"members": {}
}
}
}