lakeformation.d.ts
   1  import {Request} from '../lib/request';
   2  import {Response} from '../lib/response';
   3  import {AWSError} from '../lib/error';
   4  import {Service} from '../lib/service';
   5  import {ServiceConfigurationOptions} from '../lib/service';
   6  import {ConfigBase as Config} from '../lib/config-base';
   7  interface Blob {}
   8  declare class LakeFormation extends Service {
   9    /**
  10     * Constructs a service object. This object has one method for each API operation.
  11     */
  12    constructor(options?: LakeFormation.Types.ClientConfiguration)
  13    config: Config & LakeFormation.Types.ClientConfiguration;
  14    /**
  15     * Attaches one or more tags to an existing resource.
  16     */
  17    addLFTagsToResource(params: LakeFormation.Types.AddLFTagsToResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.AddLFTagsToResourceResponse) => void): Request<LakeFormation.Types.AddLFTagsToResourceResponse, AWSError>;
  18    /**
  19     * Attaches one or more tags to an existing resource.
  20     */
  21    addLFTagsToResource(callback?: (err: AWSError, data: LakeFormation.Types.AddLFTagsToResourceResponse) => void): Request<LakeFormation.Types.AddLFTagsToResourceResponse, AWSError>;
  22    /**
  23     * Batch operation to grant permissions to the principal.
  24     */
  25    batchGrantPermissions(params: LakeFormation.Types.BatchGrantPermissionsRequest, callback?: (err: AWSError, data: LakeFormation.Types.BatchGrantPermissionsResponse) => void): Request<LakeFormation.Types.BatchGrantPermissionsResponse, AWSError>;
  26    /**
  27     * Batch operation to grant permissions to the principal.
  28     */
  29    batchGrantPermissions(callback?: (err: AWSError, data: LakeFormation.Types.BatchGrantPermissionsResponse) => void): Request<LakeFormation.Types.BatchGrantPermissionsResponse, AWSError>;
  30    /**
  31     * Batch operation to revoke permissions from the principal.
  32     */
  33    batchRevokePermissions(params: LakeFormation.Types.BatchRevokePermissionsRequest, callback?: (err: AWSError, data: LakeFormation.Types.BatchRevokePermissionsResponse) => void): Request<LakeFormation.Types.BatchRevokePermissionsResponse, AWSError>;
  34    /**
  35     * Batch operation to revoke permissions from the principal.
  36     */
  37    batchRevokePermissions(callback?: (err: AWSError, data: LakeFormation.Types.BatchRevokePermissionsResponse) => void): Request<LakeFormation.Types.BatchRevokePermissionsResponse, AWSError>;
  38    /**
  39     * Creates a tag with the specified name and values.
  40     */
  41    createLFTag(params: LakeFormation.Types.CreateLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.CreateLFTagResponse) => void): Request<LakeFormation.Types.CreateLFTagResponse, AWSError>;
  42    /**
  43     * Creates a tag with the specified name and values.
  44     */
  45    createLFTag(callback?: (err: AWSError, data: LakeFormation.Types.CreateLFTagResponse) => void): Request<LakeFormation.Types.CreateLFTagResponse, AWSError>;
  46    /**
  47     * 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.
  48     */
  49    deleteLFTag(params: LakeFormation.Types.DeleteLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.DeleteLFTagResponse) => void): Request<LakeFormation.Types.DeleteLFTagResponse, AWSError>;
  50    /**
  51     * 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.
  52     */
  53    deleteLFTag(callback?: (err: AWSError, data: LakeFormation.Types.DeleteLFTagResponse) => void): Request<LakeFormation.Types.DeleteLFTagResponse, AWSError>;
  54    /**
  55     * Deregisters the resource as managed by the Data Catalog. When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
  56     */
  57    deregisterResource(params: LakeFormation.Types.DeregisterResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.DeregisterResourceResponse) => void): Request<LakeFormation.Types.DeregisterResourceResponse, AWSError>;
  58    /**
  59     * Deregisters the resource as managed by the Data Catalog. When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
  60     */
  61    deregisterResource(callback?: (err: AWSError, data: LakeFormation.Types.DeregisterResourceResponse) => void): Request<LakeFormation.Types.DeregisterResourceResponse, AWSError>;
  62    /**
  63     * Retrieves the current data access role for the given resource registered in AWS Lake Formation.
  64     */
  65    describeResource(params: LakeFormation.Types.DescribeResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.DescribeResourceResponse) => void): Request<LakeFormation.Types.DescribeResourceResponse, AWSError>;
  66    /**
  67     * Retrieves the current data access role for the given resource registered in AWS Lake Formation.
  68     */
  69    describeResource(callback?: (err: AWSError, data: LakeFormation.Types.DescribeResourceResponse) => void): Request<LakeFormation.Types.DescribeResourceResponse, AWSError>;
  70    /**
  71     * Retrieves the list of the data lake administrators of a Lake Formation-managed data lake. 
  72     */
  73    getDataLakeSettings(params: LakeFormation.Types.GetDataLakeSettingsRequest, callback?: (err: AWSError, data: LakeFormation.Types.GetDataLakeSettingsResponse) => void): Request<LakeFormation.Types.GetDataLakeSettingsResponse, AWSError>;
  74    /**
  75     * Retrieves the list of the data lake administrators of a Lake Formation-managed data lake. 
  76     */
  77    getDataLakeSettings(callback?: (err: AWSError, data: LakeFormation.Types.GetDataLakeSettingsResponse) => void): Request<LakeFormation.Types.GetDataLakeSettingsResponse, AWSError>;
  78    /**
  79     * Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. GetEffectivePermissionsForPath will not return databases and tables if the catalog is encrypted.
  80     */
  81    getEffectivePermissionsForPath(params: LakeFormation.Types.GetEffectivePermissionsForPathRequest, callback?: (err: AWSError, data: LakeFormation.Types.GetEffectivePermissionsForPathResponse) => void): Request<LakeFormation.Types.GetEffectivePermissionsForPathResponse, AWSError>;
  82    /**
  83     * Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. GetEffectivePermissionsForPath will not return databases and tables if the catalog is encrypted.
  84     */
  85    getEffectivePermissionsForPath(callback?: (err: AWSError, data: LakeFormation.Types.GetEffectivePermissionsForPathResponse) => void): Request<LakeFormation.Types.GetEffectivePermissionsForPathResponse, AWSError>;
  86    /**
  87     * Returns a tag definition.
  88     */
  89    getLFTag(params: LakeFormation.Types.GetLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.GetLFTagResponse) => void): Request<LakeFormation.Types.GetLFTagResponse, AWSError>;
  90    /**
  91     * Returns a tag definition.
  92     */
  93    getLFTag(callback?: (err: AWSError, data: LakeFormation.Types.GetLFTagResponse) => void): Request<LakeFormation.Types.GetLFTagResponse, AWSError>;
  94    /**
  95     * Returns the tags applied to a resource.
  96     */
  97    getResourceLFTags(params: LakeFormation.Types.GetResourceLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.GetResourceLFTagsResponse) => void): Request<LakeFormation.Types.GetResourceLFTagsResponse, AWSError>;
  98    /**
  99     * Returns the tags applied to a resource.
 100     */
 101    getResourceLFTags(callback?: (err: AWSError, data: LakeFormation.Types.GetResourceLFTagsResponse) => void): Request<LakeFormation.Types.GetResourceLFTagsResponse, AWSError>;
 102    /**
 103     * Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. For information about permissions, see Security and Access Control to Metadata and Data.
 104     */
 105    grantPermissions(params: LakeFormation.Types.GrantPermissionsRequest, callback?: (err: AWSError, data: LakeFormation.Types.GrantPermissionsResponse) => void): Request<LakeFormation.Types.GrantPermissionsResponse, AWSError>;
 106    /**
 107     * Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. For information about permissions, see Security and Access Control to Metadata and Data.
 108     */
 109    grantPermissions(callback?: (err: AWSError, data: LakeFormation.Types.GrantPermissionsResponse) => void): Request<LakeFormation.Types.GrantPermissionsResponse, AWSError>;
 110    /**
 111     * Lists tags that the requester has permission to view. 
 112     */
 113    listLFTags(params: LakeFormation.Types.ListLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.ListLFTagsResponse) => void): Request<LakeFormation.Types.ListLFTagsResponse, AWSError>;
 114    /**
 115     * Lists tags that the requester has permission to view. 
 116     */
 117    listLFTags(callback?: (err: AWSError, data: LakeFormation.Types.ListLFTagsResponse) => void): Request<LakeFormation.Types.ListLFTagsResponse, AWSError>;
 118    /**
 119     * 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. This operation returns only those permissions that have been explicitly granted. For information about permissions, see Security and Access Control to Metadata and Data.
 120     */
 121    listPermissions(params: LakeFormation.Types.ListPermissionsRequest, callback?: (err: AWSError, data: LakeFormation.Types.ListPermissionsResponse) => void): Request<LakeFormation.Types.ListPermissionsResponse, AWSError>;
 122    /**
 123     * 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. This operation returns only those permissions that have been explicitly granted. For information about permissions, see Security and Access Control to Metadata and Data.
 124     */
 125    listPermissions(callback?: (err: AWSError, data: LakeFormation.Types.ListPermissionsResponse) => void): Request<LakeFormation.Types.ListPermissionsResponse, AWSError>;
 126    /**
 127     * Lists the resources registered to be managed by the Data Catalog.
 128     */
 129    listResources(params: LakeFormation.Types.ListResourcesRequest, callback?: (err: AWSError, data: LakeFormation.Types.ListResourcesResponse) => void): Request<LakeFormation.Types.ListResourcesResponse, AWSError>;
 130    /**
 131     * Lists the resources registered to be managed by the Data Catalog.
 132     */
 133    listResources(callback?: (err: AWSError, data: LakeFormation.Types.ListResourcesResponse) => void): Request<LakeFormation.Types.ListResourcesResponse, AWSError>;
 134    /**
 135     * 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 Granting Lake Formation Permissions. 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.
 136     */
 137    putDataLakeSettings(params: LakeFormation.Types.PutDataLakeSettingsRequest, callback?: (err: AWSError, data: LakeFormation.Types.PutDataLakeSettingsResponse) => void): Request<LakeFormation.Types.PutDataLakeSettingsResponse, AWSError>;
 138    /**
 139     * 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 Granting Lake Formation Permissions. 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.
 140     */
 141    putDataLakeSettings(callback?: (err: AWSError, data: LakeFormation.Types.PutDataLakeSettingsResponse) => void): Request<LakeFormation.Types.PutDataLakeSettingsResponse, AWSError>;
 142    /**
 143     * Registers the resource as managed by the Data Catalog. 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. The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.  ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true  If UseServiceLinkedRole is not set to true, you must provide or set the RoleArn:  arn:aws:iam::12345:role/my-data-access-role 
 144     */
 145    registerResource(params: LakeFormation.Types.RegisterResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.RegisterResourceResponse) => void): Request<LakeFormation.Types.RegisterResourceResponse, AWSError>;
 146    /**
 147     * Registers the resource as managed by the Data Catalog. 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. The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.  ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true  If UseServiceLinkedRole is not set to true, you must provide or set the RoleArn:  arn:aws:iam::12345:role/my-data-access-role 
 148     */
 149    registerResource(callback?: (err: AWSError, data: LakeFormation.Types.RegisterResourceResponse) => void): Request<LakeFormation.Types.RegisterResourceResponse, AWSError>;
 150    /**
 151     * Removes a tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in tableWithColumns to specify column input.
 152     */
 153    removeLFTagsFromResource(params: LakeFormation.Types.RemoveLFTagsFromResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.RemoveLFTagsFromResourceResponse) => void): Request<LakeFormation.Types.RemoveLFTagsFromResourceResponse, AWSError>;
 154    /**
 155     * Removes a tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in tableWithColumns to specify column input.
 156     */
 157    removeLFTagsFromResource(callback?: (err: AWSError, data: LakeFormation.Types.RemoveLFTagsFromResourceResponse) => void): Request<LakeFormation.Types.RemoveLFTagsFromResourceResponse, AWSError>;
 158    /**
 159     * Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
 160     */
 161    revokePermissions(params: LakeFormation.Types.RevokePermissionsRequest, callback?: (err: AWSError, data: LakeFormation.Types.RevokePermissionsResponse) => void): Request<LakeFormation.Types.RevokePermissionsResponse, AWSError>;
 162    /**
 163     * Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
 164     */
 165    revokePermissions(callback?: (err: AWSError, data: LakeFormation.Types.RevokePermissionsResponse) => void): Request<LakeFormation.Types.RevokePermissionsResponse, AWSError>;
 166    /**
 167     * This operation allows a search on DATABASE resources by TagCondition. This operation is used by admins who want to grant user permissions on certain TagConditions. Before making a grant, the admin can use SearchDatabasesByTags to find all resources where the given TagConditions are valid to verify whether the returned resources can be shared.
 168     */
 169    searchDatabasesByLFTags(params: LakeFormation.Types.SearchDatabasesByLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.SearchDatabasesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchDatabasesByLFTagsResponse, AWSError>;
 170    /**
 171     * This operation allows a search on DATABASE resources by TagCondition. This operation is used by admins who want to grant user permissions on certain TagConditions. Before making a grant, the admin can use SearchDatabasesByTags to find all resources where the given TagConditions are valid to verify whether the returned resources can be shared.
 172     */
 173    searchDatabasesByLFTags(callback?: (err: AWSError, data: LakeFormation.Types.SearchDatabasesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchDatabasesByLFTagsResponse, AWSError>;
 174    /**
 175     * This operation allows a search on TABLE resources by LFTags. This will be used by admins who want to grant user permissions on certain LFTags. Before making a grant, the admin can use SearchTablesByLFTags to find all resources where the given LFTags are valid to verify whether the returned resources can be shared.
 176     */
 177    searchTablesByLFTags(params: LakeFormation.Types.SearchTablesByLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.SearchTablesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchTablesByLFTagsResponse, AWSError>;
 178    /**
 179     * This operation allows a search on TABLE resources by LFTags. This will be used by admins who want to grant user permissions on certain LFTags. Before making a grant, the admin can use SearchTablesByLFTags to find all resources where the given LFTags are valid to verify whether the returned resources can be shared.
 180     */
 181    searchTablesByLFTags(callback?: (err: AWSError, data: LakeFormation.Types.SearchTablesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchTablesByLFTagsResponse, AWSError>;
 182    /**
 183     * 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. 
 184     */
 185    updateLFTag(params: LakeFormation.Types.UpdateLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.UpdateLFTagResponse) => void): Request<LakeFormation.Types.UpdateLFTagResponse, AWSError>;
 186    /**
 187     * 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. 
 188     */
 189    updateLFTag(callback?: (err: AWSError, data: LakeFormation.Types.UpdateLFTagResponse) => void): Request<LakeFormation.Types.UpdateLFTagResponse, AWSError>;
 190    /**
 191     * Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation. 
 192     */
 193    updateResource(params: LakeFormation.Types.UpdateResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.UpdateResourceResponse) => void): Request<LakeFormation.Types.UpdateResourceResponse, AWSError>;
 194    /**
 195     * Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation. 
 196     */
 197    updateResource(callback?: (err: AWSError, data: LakeFormation.Types.UpdateResourceResponse) => void): Request<LakeFormation.Types.UpdateResourceResponse, AWSError>;
 198  }
 199  declare namespace LakeFormation {
 200    export interface AddLFTagsToResourceRequest {
 201      /**
 202       * 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. 
 203       */
 204      CatalogId?: CatalogIdString;
 205      /**
 206       * The resource to which to attach a tag.
 207       */
 208      Resource: Resource;
 209      /**
 210       * The tags to attach to the resource.
 211       */
 212      LFTags: LFTagsList;
 213    }
 214    export interface AddLFTagsToResourceResponse {
 215      /**
 216       * A list of failures to tag the resource.
 217       */
 218      Failures?: LFTagErrors;
 219    }
 220    export interface BatchGrantPermissionsRequest {
 221      /**
 222       * 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. 
 223       */
 224      CatalogId?: CatalogIdString;
 225      /**
 226       * A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
 227       */
 228      Entries: BatchPermissionsRequestEntryList;
 229    }
 230    export interface BatchGrantPermissionsResponse {
 231      /**
 232       * A list of failures to grant permissions to the resources.
 233       */
 234      Failures?: BatchPermissionsFailureList;
 235    }
 236    export interface BatchPermissionsFailureEntry {
 237      /**
 238       * An identifier for an entry of the batch request.
 239       */
 240      RequestEntry?: BatchPermissionsRequestEntry;
 241      /**
 242       * An error message that applies to the failure of the entry.
 243       */
 244      Error?: ErrorDetail;
 245    }
 246    export type BatchPermissionsFailureList = BatchPermissionsFailureEntry[];
 247    export interface BatchPermissionsRequestEntry {
 248      /**
 249       * A unique identifier for the batch permissions request entry.
 250       */
 251      Id: Identifier;
 252      /**
 253       * The principal to be granted a permission.
 254       */
 255      Principal?: DataLakePrincipal;
 256      /**
 257       * The resource to which the principal is to be granted a permission.
 258       */
 259      Resource?: Resource;
 260      /**
 261       * The permissions to be granted.
 262       */
 263      Permissions?: PermissionList;
 264      /**
 265       * Indicates if the option to pass permissions is granted.
 266       */
 267      PermissionsWithGrantOption?: PermissionList;
 268    }
 269    export type BatchPermissionsRequestEntryList = BatchPermissionsRequestEntry[];
 270    export interface BatchRevokePermissionsRequest {
 271      /**
 272       * 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. 
 273       */
 274      CatalogId?: CatalogIdString;
 275      /**
 276       * A list of up to 20 entries for resource permissions to be revoked by batch operation to the principal.
 277       */
 278      Entries: BatchPermissionsRequestEntryList;
 279    }
 280    export interface BatchRevokePermissionsResponse {
 281      /**
 282       * A list of failures to revoke permissions to the resources.
 283       */
 284      Failures?: BatchPermissionsFailureList;
 285    }
 286    export type BooleanNullable = boolean;
 287    export type CatalogIdString = string;
 288    export interface CatalogResource {
 289    }
 290    export interface ColumnLFTag {
 291      /**
 292       * The name of a column resource.
 293       */
 294      Name?: NameString;
 295      /**
 296       * The tags attached to a column resource.
 297       */
 298      LFTags?: LFTagsList;
 299    }
 300    export type ColumnLFTagsList = ColumnLFTag[];
 301    export type ColumnNames = NameString[];
 302    export interface ColumnWildcard {
 303      /**
 304       * Excludes column names. Any column with this name will be excluded.
 305       */
 306      ExcludedColumnNames?: ColumnNames;
 307    }
 308    export type ComparisonOperator = "EQ"|"NE"|"LE"|"LT"|"GE"|"GT"|"CONTAINS"|"NOT_CONTAINS"|"BEGINS_WITH"|"IN"|"BETWEEN"|string;
 309    export interface CreateLFTagRequest {
 310      /**
 311       * 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. 
 312       */
 313      CatalogId?: CatalogIdString;
 314      /**
 315       * The key-name for the tag.
 316       */
 317      TagKey: LFTagKey;
 318      /**
 319       * A list of possible values an attribute can take.
 320       */
 321      TagValues: TagValueList;
 322    }
 323    export interface CreateLFTagResponse {
 324    }
 325    export interface DataLakePrincipal {
 326      /**
 327       * An identifier for the AWS Lake Formation principal.
 328       */
 329      DataLakePrincipalIdentifier?: DataLakePrincipalString;
 330    }
 331    export type DataLakePrincipalList = DataLakePrincipal[];
 332    export type DataLakePrincipalString = string;
 333    export type DataLakeResourceType = "CATALOG"|"DATABASE"|"TABLE"|"DATA_LOCATION"|"LF_TAG"|"LF_TAG_POLICY"|"LF_TAG_POLICY_DATABASE"|"LF_TAG_POLICY_TABLE"|string;
 334    export interface DataLakeSettings {
 335      /**
 336       * A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
 337       */
 338      DataLakeAdmins?: DataLakePrincipalList;
 339      /**
 340       * A structure representing a list of up to three principal permissions entries for default create database permissions.
 341       */
 342      CreateDatabaseDefaultPermissions?: PrincipalPermissionsList;
 343      /**
 344       * A structure representing a list of up to three principal permissions entries for default create table permissions.
 345       */
 346      CreateTableDefaultPermissions?: PrincipalPermissionsList;
 347      /**
 348       * 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. You may want to specify this property when you are in a high-trust boundary, such as the same team or company. 
 349       */
 350      TrustedResourceOwners?: TrustedResourceOwners;
 351    }
 352    export interface DataLocationResource {
 353      /**
 354       * 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.
 355       */
 356      CatalogId?: CatalogIdString;
 357      /**
 358       * The Amazon Resource Name (ARN) that uniquely identifies the data location resource.
 359       */
 360      ResourceArn: ResourceArnString;
 361    }
 362    export type DatabaseLFTagsList = TaggedDatabase[];
 363    export interface DatabaseResource {
 364      /**
 365       * The identifier for the Data Catalog. By default, it is the account ID of the caller.
 366       */
 367      CatalogId?: CatalogIdString;
 368      /**
 369       * The name of the database resource. Unique to the Data Catalog.
 370       */
 371      Name: NameString;
 372    }
 373    export interface DeleteLFTagRequest {
 374      /**
 375       * 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. 
 376       */
 377      CatalogId?: CatalogIdString;
 378      /**
 379       * The key-name for the tag to delete.
 380       */
 381      TagKey: LFTagKey;
 382    }
 383    export interface DeleteLFTagResponse {
 384    }
 385    export interface DeregisterResourceRequest {
 386      /**
 387       * The Amazon Resource Name (ARN) of the resource that you want to deregister.
 388       */
 389      ResourceArn: ResourceArnString;
 390    }
 391    export interface DeregisterResourceResponse {
 392    }
 393    export interface DescribeResourceRequest {
 394      /**
 395       * The resource ARN.
 396       */
 397      ResourceArn: ResourceArnString;
 398    }
 399    export interface DescribeResourceResponse {
 400      /**
 401       * A structure containing information about an AWS Lake Formation resource.
 402       */
 403      ResourceInfo?: ResourceInfo;
 404    }
 405    export type DescriptionString = string;
 406    export interface DetailsMap {
 407      /**
 408       * A resource share ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
 409       */
 410      ResourceShare?: ResourceShareList;
 411    }
 412    export interface ErrorDetail {
 413      /**
 414       * The code associated with this error.
 415       */
 416      ErrorCode?: NameString;
 417      /**
 418       * A message describing the error.
 419       */
 420      ErrorMessage?: DescriptionString;
 421    }
 422    export type Expression = LFTag[];
 423    export type FieldNameString = "RESOURCE_ARN"|"ROLE_ARN"|"LAST_MODIFIED"|string;
 424    export interface FilterCondition {
 425      /**
 426       * The field to filter in the filter condition.
 427       */
 428      Field?: FieldNameString;
 429      /**
 430       * The comparison operator used in the filter condition.
 431       */
 432      ComparisonOperator?: ComparisonOperator;
 433      /**
 434       * A string with values used in evaluating the filter condition.
 435       */
 436      StringValueList?: StringValueList;
 437    }
 438    export type FilterConditionList = FilterCondition[];
 439    export interface GetDataLakeSettingsRequest {
 440      /**
 441       * 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. 
 442       */
 443      CatalogId?: CatalogIdString;
 444    }
 445    export interface GetDataLakeSettingsResponse {
 446      /**
 447       * A structure representing a list of AWS Lake Formation principals designated as data lake administrators.
 448       */
 449      DataLakeSettings?: DataLakeSettings;
 450    }
 451    export interface GetEffectivePermissionsForPathRequest {
 452      /**
 453       * 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. 
 454       */
 455      CatalogId?: CatalogIdString;
 456      /**
 457       * The Amazon Resource Name (ARN) of the resource for which you want to get permissions.
 458       */
 459      ResourceArn: ResourceArnString;
 460      /**
 461       * A continuation token, if this is not the first call to retrieve this list.
 462       */
 463      NextToken?: Token;
 464      /**
 465       * The maximum number of results to return.
 466       */
 467      MaxResults?: PageSize;
 468    }
 469    export interface GetEffectivePermissionsForPathResponse {
 470      /**
 471       * A list of the permissions for the specified table or database resource located at the path in Amazon S3.
 472       */
 473      Permissions?: PrincipalResourcePermissionsList;
 474      /**
 475       * A continuation token, if this is not the first call to retrieve this list.
 476       */
 477      NextToken?: Token;
 478    }
 479    export interface GetLFTagRequest {
 480      /**
 481       * 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. 
 482       */
 483      CatalogId?: CatalogIdString;
 484      /**
 485       * The key-name for the tag.
 486       */
 487      TagKey: LFTagKey;
 488    }
 489    export interface GetLFTagResponse {
 490      /**
 491       * 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. 
 492       */
 493      CatalogId?: CatalogIdString;
 494      /**
 495       * The key-name for the tag.
 496       */
 497      TagKey?: LFTagKey;
 498      /**
 499       * A list of possible values an attribute can take.
 500       */
 501      TagValues?: TagValueList;
 502    }
 503    export interface GetResourceLFTagsRequest {
 504      /**
 505       * 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. 
 506       */
 507      CatalogId?: CatalogIdString;
 508      /**
 509       * The resource for which you want to return tags.
 510       */
 511      Resource: Resource;
 512      /**
 513       * Indicates whether to show the assigned tags.
 514       */
 515      ShowAssignedLFTags?: BooleanNullable;
 516    }
 517    export interface GetResourceLFTagsResponse {
 518      /**
 519       * A list of tags applied to a database resource.
 520       */
 521      LFTagOnDatabase?: LFTagsList;
 522      /**
 523       * A list of tags applied to a table resource.
 524       */
 525      LFTagsOnTable?: LFTagsList;
 526      /**
 527       * A list of tags applied to a column resource.
 528       */
 529      LFTagsOnColumns?: ColumnLFTagsList;
 530    }
 531    export interface GrantPermissionsRequest {
 532      /**
 533       * 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. 
 534       */
 535      CatalogId?: CatalogIdString;
 536      /**
 537       * 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. 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. 
 538       */
 539      Principal: DataLakePrincipal;
 540      /**
 541       * The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data Catalog, databases, and tables.
 542       */
 543      Resource: Resource;
 544      /**
 545       * 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. 
 546       */
 547      Permissions: PermissionList;
 548      /**
 549       * 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 Privileges.
 550       */
 551      PermissionsWithGrantOption?: PermissionList;
 552    }
 553    export interface GrantPermissionsResponse {
 554    }
 555    export type IAMRoleArn = string;
 556    export type Identifier = string;
 557    export interface LFTag {
 558      /**
 559       * The key-name for the tag.
 560       */
 561      TagKey: LFTagKey;
 562      /**
 563       * A list of possible values an attribute can take.
 564       */
 565      TagValues: TagValueList;
 566    }
 567    export interface LFTagError {
 568      /**
 569       * The key-name of the tag.
 570       */
 571      LFTag?: LFTagPair;
 572      /**
 573       * An error that occurred with the attachment or detachment of the tag.
 574       */
 575      Error?: ErrorDetail;
 576    }
 577    export type LFTagErrors = LFTagError[];
 578    export type LFTagKey = string;
 579    export interface LFTagKeyResource {
 580      /**
 581       * 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. 
 582       */
 583      CatalogId?: CatalogIdString;
 584      /**
 585       * The key-name for the tag.
 586       */
 587      TagKey: NameString;
 588      /**
 589       * A list of possible values an attribute can take.
 590       */
 591      TagValues: TagValueList;
 592    }
 593    export interface LFTagPair {
 594      /**
 595       * 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. 
 596       */
 597      CatalogId?: CatalogIdString;
 598      /**
 599       * The key-name for the tag.
 600       */
 601      TagKey: LFTagKey;
 602      /**
 603       * A list of possible values an attribute can take.
 604       */
 605      TagValues: TagValueList;
 606    }
 607    export interface LFTagPolicyResource {
 608      /**
 609       * 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. 
 610       */
 611      CatalogId?: CatalogIdString;
 612      /**
 613       * The resource type for which the tag policy applies.
 614       */
 615      ResourceType: ResourceType;
 616      /**
 617       * A list of tag conditions that apply to the resource's tag policy.
 618       */
 619      Expression: Expression;
 620    }
 621    export type LFTagValue = string;
 622    export type LFTagsList = LFTagPair[];
 623    export type LastModifiedTimestamp = Date;
 624    export interface ListLFTagsRequest {
 625      /**
 626       * 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. 
 627       */
 628      CatalogId?: CatalogIdString;
 629      /**
 630       * If resource share type is ALL, returns both in-account tags and shared tags that the requester has permission to view. If resource share type is FOREIGN, 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.
 631       */
 632      ResourceShareType?: ResourceShareType;
 633      /**
 634       * The maximum number of results to return.
 635       */
 636      MaxResults?: PageSize;
 637      /**
 638       * A continuation token, if this is not the first call to retrieve this list.
 639       */
 640      NextToken?: Token;
 641    }
 642    export interface ListLFTagsResponse {
 643      /**
 644       * A list of tags that the requested has permission to view.
 645       */
 646      LFTags?: LFTagsList;
 647      /**
 648       * A continuation token, present if the current list segment is not the last.
 649       */
 650      NextToken?: Token;
 651    }
 652    export interface ListPermissionsRequest {
 653      /**
 654       * 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. 
 655       */
 656      CatalogId?: CatalogIdString;
 657      /**
 658       * Specifies a principal to filter the permissions returned.
 659       */
 660      Principal?: DataLakePrincipal;
 661      /**
 662       * Specifies a resource type to filter the permissions returned.
 663       */
 664      ResourceType?: DataLakeResourceType;
 665      /**
 666       * A resource where you will get a list of the principal permissions. 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.
 667       */
 668      Resource?: Resource;
 669      /**
 670       * A continuation token, if this is not the first call to retrieve this list.
 671       */
 672      NextToken?: Token;
 673      /**
 674       * The maximum number of results to return.
 675       */
 676      MaxResults?: PageSize;
 677    }
 678    export interface ListPermissionsResponse {
 679      /**
 680       * A list of principals and their permissions on the resource for the specified principal and resource types.
 681       */
 682      PrincipalResourcePermissions?: PrincipalResourcePermissionsList;
 683      /**
 684       * A continuation token, if this is not the first call to retrieve this list.
 685       */
 686      NextToken?: Token;
 687    }
 688    export interface ListResourcesRequest {
 689      /**
 690       * Any applicable row-level and/or column-level filtering conditions for the resources.
 691       */
 692      FilterConditionList?: FilterConditionList;
 693      /**
 694       * The maximum number of resource results.
 695       */
 696      MaxResults?: PageSize;
 697      /**
 698       * A continuation token, if this is not the first call to retrieve these resources.
 699       */
 700      NextToken?: Token;
 701    }
 702    export interface ListResourcesResponse {
 703      /**
 704       * A summary of the data lake resources.
 705       */
 706      ResourceInfoList?: ResourceInfoList;
 707      /**
 708       * A continuation token, if this is not the first call to retrieve these resources.
 709       */
 710      NextToken?: Token;
 711    }
 712    export type NameString = string;
 713    export type NullableBoolean = boolean;
 714    export type PageSize = number;
 715    export type Permission = "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_TAG"|"ALTER_TAG"|"DELETE_TAG"|"DESCRIBE_TAG"|"ASSOCIATE_TAG"|string;
 716    export type PermissionList = Permission[];
 717    export interface PrincipalPermissions {
 718      /**
 719       * The principal who is granted permissions.
 720       */
 721      Principal?: DataLakePrincipal;
 722      /**
 723       * The permissions that are granted to the principal.
 724       */
 725      Permissions?: PermissionList;
 726    }
 727    export type PrincipalPermissionsList = PrincipalPermissions[];
 728    export interface PrincipalResourcePermissions {
 729      /**
 730       * The Data Lake principal to be granted or revoked permissions.
 731       */
 732      Principal?: DataLakePrincipal;
 733      /**
 734       * The resource where permissions are to be granted or revoked.
 735       */
 736      Resource?: Resource;
 737      /**
 738       * The permissions to be granted or revoked on the resource.
 739       */
 740      Permissions?: PermissionList;
 741      /**
 742       * Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
 743       */
 744      PermissionsWithGrantOption?: PermissionList;
 745      /**
 746       * This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.
 747       */
 748      AdditionalDetails?: DetailsMap;
 749    }
 750    export type PrincipalResourcePermissionsList = PrincipalResourcePermissions[];
 751    export interface PutDataLakeSettingsRequest {
 752      /**
 753       * 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. 
 754       */
 755      CatalogId?: CatalogIdString;
 756      /**
 757       * A structure representing a list of AWS Lake Formation principals designated as data lake administrators.
 758       */
 759      DataLakeSettings: DataLakeSettings;
 760    }
 761    export interface PutDataLakeSettingsResponse {
 762    }
 763    export type RAMResourceShareArn = string;
 764    export interface RegisterResourceRequest {
 765      /**
 766       * The Amazon Resource Name (ARN) of the resource that you want to register.
 767       */
 768      ResourceArn: ResourceArnString;
 769      /**
 770       * 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. For more information, see Using Service-Linked Roles for Lake Formation.
 771       */
 772      UseServiceLinkedRole?: NullableBoolean;
 773      /**
 774       * The identifier for the role that registers the resource.
 775       */
 776      RoleArn?: IAMRoleArn;
 777    }
 778    export interface RegisterResourceResponse {
 779    }
 780    export interface RemoveLFTagsFromResourceRequest {
 781      /**
 782       * 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. 
 783       */
 784      CatalogId?: CatalogIdString;
 785      /**
 786       * The resource where you want to remove a tag.
 787       */
 788      Resource: Resource;
 789      /**
 790       * The tags to be removed from the resource.
 791       */
 792      LFTags: LFTagsList;
 793    }
 794    export interface RemoveLFTagsFromResourceResponse {
 795      /**
 796       * A list of failures to untag a resource.
 797       */
 798      Failures?: LFTagErrors;
 799    }
 800    export interface Resource {
 801      /**
 802       * 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. 
 803       */
 804      Catalog?: CatalogResource;
 805      /**
 806       * 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. 
 807       */
 808      Database?: DatabaseResource;
 809      /**
 810       * 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. 
 811       */
 812      Table?: TableResource;
 813      /**
 814       * 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.
 815       */
 816      TableWithColumns?: TableWithColumnsResource;
 817      /**
 818       * The location of an Amazon S3 path where permissions are granted or revoked. 
 819       */
 820      DataLocation?: DataLocationResource;
 821      /**
 822       * The tag key and values attached to a resource.
 823       */
 824      LFTag?: LFTagKeyResource;
 825      /**
 826       * A list of tag conditions that define a resource's tag policy.
 827       */
 828      LFTagPolicy?: LFTagPolicyResource;
 829    }
 830    export type ResourceArnString = string;
 831    export interface ResourceInfo {
 832      /**
 833       * The Amazon Resource Name (ARN) of the resource.
 834       */
 835      ResourceArn?: ResourceArnString;
 836      /**
 837       * The IAM role that registered a resource.
 838       */
 839      RoleArn?: IAMRoleArn;
 840      /**
 841       * The date and time the resource was last modified.
 842       */
 843      LastModified?: LastModifiedTimestamp;
 844    }
 845    export type ResourceInfoList = ResourceInfo[];
 846    export type ResourceShareList = RAMResourceShareArn[];
 847    export type ResourceShareType = "FOREIGN"|"ALL"|string;
 848    export type ResourceType = "DATABASE"|"TABLE"|string;
 849    export interface RevokePermissionsRequest {
 850      /**
 851       * 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. 
 852       */
 853      CatalogId?: CatalogIdString;
 854      /**
 855       * The principal to be revoked permissions on the resource.
 856       */
 857      Principal: DataLakePrincipal;
 858      /**
 859       * The resource to which permissions are to be revoked.
 860       */
 861      Resource: Resource;
 862      /**
 863       * The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
 864       */
 865      Permissions: PermissionList;
 866      /**
 867       * Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
 868       */
 869      PermissionsWithGrantOption?: PermissionList;
 870    }
 871    export interface RevokePermissionsResponse {
 872    }
 873    export interface SearchDatabasesByLFTagsRequest {
 874      /**
 875       * A continuation token, if this is not the first call to retrieve this list.
 876       */
 877      NextToken?: Token;
 878      /**
 879       * The maximum number of results to return.
 880       */
 881      MaxResults?: PageSize;
 882      /**
 883       * 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. 
 884       */
 885      CatalogId?: CatalogIdString;
 886      /**
 887       * A list of conditions (LFTag structures) to search for in database resources.
 888       */
 889      Expression: Expression;
 890    }
 891    export interface SearchDatabasesByLFTagsResponse {
 892      /**
 893       * A continuation token, present if the current list segment is not the last.
 894       */
 895      NextToken?: Token;
 896      /**
 897       * A list of databases that meet the tag conditions.
 898       */
 899      DatabaseList?: DatabaseLFTagsList;
 900    }
 901    export interface SearchTablesByLFTagsRequest {
 902      /**
 903       * A continuation token, if this is not the first call to retrieve this list.
 904       */
 905      NextToken?: Token;
 906      /**
 907       * The maximum number of results to return.
 908       */
 909      MaxResults?: PageSize;
 910      /**
 911       * 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. 
 912       */
 913      CatalogId?: CatalogIdString;
 914      /**
 915       * A list of conditions (LFTag structures) to search for in table resources.
 916       */
 917      Expression: Expression;
 918    }
 919    export interface SearchTablesByLFTagsResponse {
 920      /**
 921       * A continuation token, present if the current list segment is not the last.
 922       */
 923      NextToken?: Token;
 924      /**
 925       * A list of tables that meet the tag conditions.
 926       */
 927      TableList?: TableLFTagsList;
 928    }
 929    export type StringValue = string;
 930    export type StringValueList = StringValue[];
 931    export type TableLFTagsList = TaggedTable[];
 932    export interface TableResource {
 933      /**
 934       * The identifier for the Data Catalog. By default, it is the account ID of the caller.
 935       */
 936      CatalogId?: CatalogIdString;
 937      /**
 938       * 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. 
 939       */
 940      DatabaseName: NameString;
 941      /**
 942       * The name of the table.
 943       */
 944      Name?: NameString;
 945      /**
 946       * A wildcard object representing every table under a database. At least one of TableResource$Name or TableResource$TableWildcard is required.
 947       */
 948      TableWildcard?: TableWildcard;
 949    }
 950    export interface TableWildcard {
 951    }
 952    export interface TableWithColumnsResource {
 953      /**
 954       * The identifier for the Data Catalog. By default, it is the account ID of the caller.
 955       */
 956      CatalogId?: CatalogIdString;
 957      /**
 958       * 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. 
 959       */
 960      DatabaseName: NameString;
 961      /**
 962       * 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. 
 963       */
 964      Name: NameString;
 965      /**
 966       * The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
 967       */
 968      ColumnNames?: ColumnNames;
 969      /**
 970       * A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.
 971       */
 972      ColumnWildcard?: ColumnWildcard;
 973    }
 974    export type TagValueList = LFTagValue[];
 975    export interface TaggedDatabase {
 976      /**
 977       * A database that has tags attached to it.
 978       */
 979      Database?: DatabaseResource;
 980      /**
 981       * A list of tags attached to the database.
 982       */
 983      LFTags?: LFTagsList;
 984    }
 985    export interface TaggedTable {
 986      /**
 987       * A table that has tags attached to it.
 988       */
 989      Table?: TableResource;
 990      /**
 991       * A list of tags attached to the database where the table resides.
 992       */
 993      LFTagOnDatabase?: LFTagsList;
 994      /**
 995       * A list of tags attached to the table.
 996       */
 997      LFTagsOnTable?: LFTagsList;
 998      /**
 999       * A list of tags attached to columns in the table.
1000       */
1001      LFTagsOnColumns?: ColumnLFTagsList;
1002    }
1003    export type Token = string;
1004    export type TrustedResourceOwners = CatalogIdString[];
1005    export interface UpdateLFTagRequest {
1006      /**
1007       * 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. 
1008       */
1009      CatalogId?: CatalogIdString;
1010      /**
1011       * The key-name for the tag for which to add or delete values.
1012       */
1013      TagKey: LFTagKey;
1014      /**
1015       * A list of tag values to delete from the tag.
1016       */
1017      TagValuesToDelete?: TagValueList;
1018      /**
1019       * A list of tag values to add from the tag.
1020       */
1021      TagValuesToAdd?: TagValueList;
1022    }
1023    export interface UpdateLFTagResponse {
1024    }
1025    export interface UpdateResourceRequest {
1026      /**
1027       * The new role to use for the given resource registered in AWS Lake Formation.
1028       */
1029      RoleArn: IAMRoleArn;
1030      /**
1031       * The resource ARN.
1032       */
1033      ResourceArn: ResourceArnString;
1034    }
1035    export interface UpdateResourceResponse {
1036    }
1037    /**
1038     * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1039     */
1040    export type apiVersion = "2017-03-31"|"latest"|string;
1041    export interface ClientApiVersions {
1042      /**
1043       * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1044       */
1045      apiVersion?: apiVersion;
1046    }
1047    export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1048    /**
1049     * Contains interfaces for use with the LakeFormation client.
1050     */
1051    export import Types = LakeFormation;
1052  }
1053  export = LakeFormation;