/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the lakeformation-2017-03-31.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.LakeFormation.Model; namespace Amazon.LakeFormation { /// /// Interface for accessing LakeFormation /// /// Lake Formation /// /// Defines the public endpoint for the Lake Formation service. /// /// public partial interface IAmazonLakeFormation : IAmazonService, IDisposable { /// /// Paginators for the service /// ILakeFormationPaginatorFactory Paginators { get; } #region AddLFTagsToResource /// /// Attaches one or more LF-tags to an existing resource. /// /// Container for the necessary parameters to execute the AddLFTagsToResource service method. /// /// The response from the AddLFTagsToResource service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for AddLFTagsToResource Operation AddLFTagsToResourceResponse AddLFTagsToResource(AddLFTagsToResourceRequest request); /// /// Attaches one or more LF-tags to an existing resource. /// /// Container for the necessary parameters to execute the AddLFTagsToResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddLFTagsToResource service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for AddLFTagsToResource Operation Task AddLFTagsToResourceAsync(AddLFTagsToResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssumeDecoratedRoleWithSAML /// /// Allows a caller to assume an IAM role decorated as the SAML user specified in the /// SAML assertion included in the request. This decoration allows Lake Formation to enforce /// access policies against the SAML users and groups. This API operation requires SAML /// federation setup in the caller’s account as it can only be called with valid SAML /// assertions. Lake Formation does not scope down the permission of the assumed role. /// All permissions attached to the role via the SAML federation setup will be included /// in the role session. /// /// /// /// This decorated role is expected to access data in Amazon S3 by getting temporary /// access from Lake Formation which is authorized via the virtual API GetDataAccess. /// Therefore, all SAML roles that can be assumed via AssumeDecoratedRoleWithSAML /// must at a minimum include lakeformation:GetDataAccess in their role policies. /// A typical IAM policy attached to such a role would look as follows: /// /// /// Container for the necessary parameters to execute the AssumeDecoratedRoleWithSAML service method. /// /// The response from the AssumeDecoratedRoleWithSAML service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for AssumeDecoratedRoleWithSAML Operation AssumeDecoratedRoleWithSAMLResponse AssumeDecoratedRoleWithSAML(AssumeDecoratedRoleWithSAMLRequest request); /// /// Allows a caller to assume an IAM role decorated as the SAML user specified in the /// SAML assertion included in the request. This decoration allows Lake Formation to enforce /// access policies against the SAML users and groups. This API operation requires SAML /// federation setup in the caller’s account as it can only be called with valid SAML /// assertions. Lake Formation does not scope down the permission of the assumed role. /// All permissions attached to the role via the SAML federation setup will be included /// in the role session. /// /// /// /// This decorated role is expected to access data in Amazon S3 by getting temporary /// access from Lake Formation which is authorized via the virtual API GetDataAccess. /// Therefore, all SAML roles that can be assumed via AssumeDecoratedRoleWithSAML /// must at a minimum include lakeformation:GetDataAccess in their role policies. /// A typical IAM policy attached to such a role would look as follows: /// /// /// Container for the necessary parameters to execute the AssumeDecoratedRoleWithSAML service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssumeDecoratedRoleWithSAML service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for AssumeDecoratedRoleWithSAML Operation Task AssumeDecoratedRoleWithSAMLAsync(AssumeDecoratedRoleWithSAMLRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGrantPermissions /// /// Batch operation to grant permissions to the principal. /// /// Container for the necessary parameters to execute the BatchGrantPermissions service method. /// /// The response from the BatchGrantPermissions service method, as returned by LakeFormation. /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for BatchGrantPermissions Operation BatchGrantPermissionsResponse BatchGrantPermissions(BatchGrantPermissionsRequest request); /// /// Batch operation to grant permissions to the principal. /// /// Container for the necessary parameters to execute the BatchGrantPermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGrantPermissions service method, as returned by LakeFormation. /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for BatchGrantPermissions Operation Task BatchGrantPermissionsAsync(BatchGrantPermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchRevokePermissions /// /// Batch operation to revoke permissions from the principal. /// /// Container for the necessary parameters to execute the BatchRevokePermissions service method. /// /// The response from the BatchRevokePermissions service method, as returned by LakeFormation. /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for BatchRevokePermissions Operation BatchRevokePermissionsResponse BatchRevokePermissions(BatchRevokePermissionsRequest request); /// /// Batch operation to revoke permissions from the principal. /// /// Container for the necessary parameters to execute the BatchRevokePermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchRevokePermissions service method, as returned by LakeFormation. /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for BatchRevokePermissions Operation Task BatchRevokePermissionsAsync(BatchRevokePermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelTransaction /// /// Attempts to cancel the specified transaction. Returns an exception if the transaction /// was previously committed. /// /// Container for the necessary parameters to execute the CancelTransaction service method. /// /// The response from the CancelTransaction service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a transaction commit that was in progress. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for CancelTransaction Operation CancelTransactionResponse CancelTransaction(CancelTransactionRequest request); /// /// Attempts to cancel the specified transaction. Returns an exception if the transaction /// was previously committed. /// /// Container for the necessary parameters to execute the CancelTransaction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelTransaction service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a transaction commit that was in progress. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for CancelTransaction Operation Task CancelTransactionAsync(CancelTransactionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CommitTransaction /// /// Attempts to commit the specified transaction. Returns an exception if the transaction /// was previously aborted. This API action is idempotent if called multiple times for /// the same transaction. /// /// Container for the necessary parameters to execute the CommitTransaction service method. /// /// The response from the CommitTransaction service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// REST API Reference for CommitTransaction Operation CommitTransactionResponse CommitTransaction(CommitTransactionRequest request); /// /// Attempts to commit the specified transaction. Returns an exception if the transaction /// was previously aborted. This API action is idempotent if called multiple times for /// the same transaction. /// /// Container for the necessary parameters to execute the CommitTransaction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CommitTransaction service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// REST API Reference for CommitTransaction Operation Task CommitTransactionAsync(CommitTransactionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDataCellsFilter /// /// Creates a data cell filter to allow one to grant access to certain columns on certain /// rows. /// /// Container for the necessary parameters to execute the CreateDataCellsFilter service method. /// /// The response from the CreateDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A resource to be created or added already exists. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// A resource numerical limit was exceeded. /// /// REST API Reference for CreateDataCellsFilter Operation CreateDataCellsFilterResponse CreateDataCellsFilter(CreateDataCellsFilterRequest request); /// /// Creates a data cell filter to allow one to grant access to certain columns on certain /// rows. /// /// Container for the necessary parameters to execute the CreateDataCellsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A resource to be created or added already exists. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// A resource numerical limit was exceeded. /// /// REST API Reference for CreateDataCellsFilter Operation Task CreateDataCellsFilterAsync(CreateDataCellsFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateLFTag /// /// Creates an LF-tag with the specified name and values. /// /// Container for the necessary parameters to execute the CreateLFTag service method. /// /// The response from the CreateLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// A resource numerical limit was exceeded. /// /// REST API Reference for CreateLFTag Operation CreateLFTagResponse CreateLFTag(CreateLFTagRequest request); /// /// Creates an LF-tag with the specified name and values. /// /// Container for the necessary parameters to execute the CreateLFTag service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// A resource numerical limit was exceeded. /// /// REST API Reference for CreateLFTag Operation Task CreateLFTagAsync(CreateLFTagRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDataCellsFilter /// /// Deletes a data cell filter. /// /// Container for the necessary parameters to execute the DeleteDataCellsFilter service method. /// /// The response from the DeleteDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DeleteDataCellsFilter Operation DeleteDataCellsFilterResponse DeleteDataCellsFilter(DeleteDataCellsFilterRequest request); /// /// Deletes a data cell filter. /// /// Container for the necessary parameters to execute the DeleteDataCellsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DeleteDataCellsFilter Operation Task DeleteDataCellsFilterAsync(DeleteDataCellsFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteLFTag /// /// Deletes the specified LF-tag given a key name. If the input parameter tag key was /// not found, then the operation will throw an exception. When you delete an LF-tag, /// the LFTagPolicy attached to the LF-tag becomes invalid. If the deleted /// LF-tag was still assigned to any resource, the tag policy attach to the deleted LF-tag /// will no longer be applied to the resource. /// /// Container for the necessary parameters to execute the DeleteLFTag service method. /// /// The response from the DeleteLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DeleteLFTag Operation DeleteLFTagResponse DeleteLFTag(DeleteLFTagRequest request); /// /// Deletes the specified LF-tag given a key name. If the input parameter tag key was /// not found, then the operation will throw an exception. When you delete an LF-tag, /// the LFTagPolicy attached to the LF-tag becomes invalid. If the deleted /// LF-tag was still assigned to any resource, the tag policy attach to the deleted LF-tag /// will no longer be applied to the resource. /// /// Container for the necessary parameters to execute the DeleteLFTag service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DeleteLFTag Operation Task DeleteLFTagAsync(DeleteLFTagRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteObjectsOnCancel /// /// For a specific governed table, provides a list of Amazon S3 objects that will be written /// during the current transaction and that can be automatically deleted if the transaction /// is canceled. Without this call, no Amazon S3 objects are automatically deleted when /// a transaction cancels. /// /// /// /// The Glue ETL library function write_dynamic_frame.from_catalog() includes /// an option to automatically call DeleteObjectsOnCancel before writes. /// For more information, see Rolling /// Back Amazon S3 Writes. /// /// /// Container for the necessary parameters to execute the DeleteObjectsOnCancel service method. /// /// The response from the DeleteObjectsOnCancel service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a resource which is not ready for a transaction. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for DeleteObjectsOnCancel Operation DeleteObjectsOnCancelResponse DeleteObjectsOnCancel(DeleteObjectsOnCancelRequest request); /// /// For a specific governed table, provides a list of Amazon S3 objects that will be written /// during the current transaction and that can be automatically deleted if the transaction /// is canceled. Without this call, no Amazon S3 objects are automatically deleted when /// a transaction cancels. /// /// /// /// The Glue ETL library function write_dynamic_frame.from_catalog() includes /// an option to automatically call DeleteObjectsOnCancel before writes. /// For more information, see Rolling /// Back Amazon S3 Writes. /// /// /// Container for the necessary parameters to execute the DeleteObjectsOnCancel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteObjectsOnCancel service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a resource which is not ready for a transaction. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for DeleteObjectsOnCancel Operation Task DeleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterResource /// /// 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. /// /// /// Container for the necessary parameters to execute the DeregisterResource service method. /// /// The response from the DeregisterResource service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DeregisterResource Operation DeregisterResourceResponse DeregisterResource(DeregisterResourceRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeregisterResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterResource service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DeregisterResource Operation Task DeregisterResourceAsync(DeregisterResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeResource /// /// Retrieves the current data access role for the given resource registered in Lake Formation. /// /// Container for the necessary parameters to execute the DescribeResource service method. /// /// The response from the DescribeResource service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DescribeResource Operation DescribeResourceResponse DescribeResource(DescribeResourceRequest request); /// /// Retrieves the current data access role for the given resource registered in Lake Formation. /// /// Container for the necessary parameters to execute the DescribeResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeResource service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DescribeResource Operation Task DescribeResourceAsync(DescribeResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeTransaction /// /// Returns the details of a single transaction. /// /// Container for the necessary parameters to execute the DescribeTransaction service method. /// /// The response from the DescribeTransaction service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DescribeTransaction Operation DescribeTransactionResponse DescribeTransaction(DescribeTransactionRequest request); /// /// Returns the details of a single transaction. /// /// Container for the necessary parameters to execute the DescribeTransaction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransaction service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for DescribeTransaction Operation Task DescribeTransactionAsync(DescribeTransactionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ExtendTransaction /// /// Indicates to the service that the specified transaction is still active and should /// not be treated as idle and aborted. /// /// /// /// Write transactions that remain idle for a long period are automatically aborted unless /// explicitly extended. /// /// /// Container for the necessary parameters to execute the ExtendTransaction service method. /// /// The response from the ExtendTransaction service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error related to a transaction commit that was in progress. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for ExtendTransaction Operation ExtendTransactionResponse ExtendTransaction(ExtendTransactionRequest request); /// /// Indicates to the service that the specified transaction is still active and should /// not be treated as idle and aborted. /// /// /// /// Write transactions that remain idle for a long period are automatically aborted unless /// explicitly extended. /// /// /// Container for the necessary parameters to execute the ExtendTransaction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExtendTransaction service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error related to a transaction commit that was in progress. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for ExtendTransaction Operation Task ExtendTransactionAsync(ExtendTransactionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDataCellsFilter /// /// Returns a data cells filter. /// /// Container for the necessary parameters to execute the GetDataCellsFilter service method. /// /// The response from the GetDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetDataCellsFilter Operation GetDataCellsFilterResponse GetDataCellsFilter(GetDataCellsFilterRequest request); /// /// Returns a data cells filter. /// /// Container for the necessary parameters to execute the GetDataCellsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetDataCellsFilter Operation Task GetDataCellsFilterAsync(GetDataCellsFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDataLakeSettings /// /// Retrieves the list of the data lake administrators of a Lake Formation-managed data /// lake. /// /// Container for the necessary parameters to execute the GetDataLakeSettings service method. /// /// The response from the GetDataLakeSettings service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for GetDataLakeSettings Operation GetDataLakeSettingsResponse GetDataLakeSettings(GetDataLakeSettingsRequest request); /// /// Retrieves the list of the data lake administrators of a Lake Formation-managed data /// lake. /// /// Container for the necessary parameters to execute the GetDataLakeSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDataLakeSettings service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for GetDataLakeSettings Operation Task GetDataLakeSettingsAsync(GetDataLakeSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEffectivePermissionsForPath /// /// 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. /// /// Container for the necessary parameters to execute the GetEffectivePermissionsForPath service method. /// /// The response from the GetEffectivePermissionsForPath service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetEffectivePermissionsForPath Operation GetEffectivePermissionsForPathResponse GetEffectivePermissionsForPath(GetEffectivePermissionsForPathRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the GetEffectivePermissionsForPath service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEffectivePermissionsForPath service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetEffectivePermissionsForPath Operation Task GetEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetLFTag /// /// Returns an LF-tag definition. /// /// Container for the necessary parameters to execute the GetLFTag service method. /// /// The response from the GetLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetLFTag Operation GetLFTagResponse GetLFTag(GetLFTagRequest request); /// /// Returns an LF-tag definition. /// /// Container for the necessary parameters to execute the GetLFTag service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetLFTag Operation Task GetLFTagAsync(GetLFTagRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetQueryState /// /// Returns the state of a query previously submitted. Clients are expected to poll GetQueryState /// to monitor the current state of the planning before retrieving the work units. A query /// state is only visible to the principal that made the initial call to StartQueryPlanning. /// /// Container for the necessary parameters to execute the GetQueryState service method. /// /// The response from the GetQueryState service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for GetQueryState Operation GetQueryStateResponse GetQueryState(GetQueryStateRequest request); /// /// Returns the state of a query previously submitted. Clients are expected to poll GetQueryState /// to monitor the current state of the planning before retrieving the work units. A query /// state is only visible to the principal that made the initial call to StartQueryPlanning. /// /// Container for the necessary parameters to execute the GetQueryState service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetQueryState service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for GetQueryState Operation Task GetQueryStateAsync(GetQueryStateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetQueryStatistics /// /// Retrieves statistics on the planning and execution of a query. /// /// Container for the necessary parameters to execute the GetQueryStatistics service method. /// /// The response from the GetQueryStatistics service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Contains details about an error where the query request expired. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error related to statistics not being ready. /// /// /// Contains details about an error where the query request was throttled. /// /// REST API Reference for GetQueryStatistics Operation GetQueryStatisticsResponse GetQueryStatistics(GetQueryStatisticsRequest request); /// /// Retrieves statistics on the planning and execution of a query. /// /// Container for the necessary parameters to execute the GetQueryStatistics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetQueryStatistics service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Contains details about an error where the query request expired. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error related to statistics not being ready. /// /// /// Contains details about an error where the query request was throttled. /// /// REST API Reference for GetQueryStatistics Operation Task GetQueryStatisticsAsync(GetQueryStatisticsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResourceLFTags /// /// Returns the LF-tags applied to a resource. /// /// Container for the necessary parameters to execute the GetResourceLFTags service method. /// /// The response from the GetResourceLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetResourceLFTags Operation GetResourceLFTagsResponse GetResourceLFTags(GetResourceLFTagsRequest request); /// /// Returns the LF-tags applied to a resource. /// /// Container for the necessary parameters to execute the GetResourceLFTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResourceLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for GetResourceLFTags Operation Task GetResourceLFTagsAsync(GetResourceLFTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTableObjects /// /// Returns the set of Amazon S3 objects that make up the specified governed table. A /// transaction ID or timestamp can be specified for time-travel queries. /// /// Container for the necessary parameters to execute the GetTableObjects service method. /// /// The response from the GetTableObjects service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a resource which is not ready for a transaction. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for GetTableObjects Operation GetTableObjectsResponse GetTableObjects(GetTableObjectsRequest request); /// /// Returns the set of Amazon S3 objects that make up the specified governed table. A /// transaction ID or timestamp can be specified for time-travel queries. /// /// Container for the necessary parameters to execute the GetTableObjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTableObjects service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a resource which is not ready for a transaction. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for GetTableObjects Operation Task GetTableObjectsAsync(GetTableObjectsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTemporaryGluePartitionCredentials /// /// This API is identical to GetTemporaryTableCredentials except that this /// is used when the target Data Catalog resource is of type Partition. Lake Formation /// restricts the permission of the vended credentials with the same scope down policy /// which restricts access to a single Amazon S3 prefix. /// /// Container for the necessary parameters to execute the GetTemporaryGluePartitionCredentials service method. /// /// The response from the GetTemporaryGluePartitionCredentials service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// The engine does not support filtering data based on the enforced permissions. For /// example, if you call the GetTemporaryGlueTableCredentials operation with /// SupportedPermissionType equal to ColumnPermission, but cell-level /// permissions exist on the table, this exception is thrown. /// /// REST API Reference for GetTemporaryGluePartitionCredentials Operation GetTemporaryGluePartitionCredentialsResponse GetTemporaryGluePartitionCredentials(GetTemporaryGluePartitionCredentialsRequest request); /// /// This API is identical to GetTemporaryTableCredentials except that this /// is used when the target Data Catalog resource is of type Partition. Lake Formation /// restricts the permission of the vended credentials with the same scope down policy /// which restricts access to a single Amazon S3 prefix. /// /// Container for the necessary parameters to execute the GetTemporaryGluePartitionCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTemporaryGluePartitionCredentials service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// The engine does not support filtering data based on the enforced permissions. For /// example, if you call the GetTemporaryGlueTableCredentials operation with /// SupportedPermissionType equal to ColumnPermission, but cell-level /// permissions exist on the table, this exception is thrown. /// /// REST API Reference for GetTemporaryGluePartitionCredentials Operation Task GetTemporaryGluePartitionCredentialsAsync(GetTemporaryGluePartitionCredentialsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTemporaryGlueTableCredentials /// /// Allows a caller in a secure environment to assume a role with permission to access /// Amazon S3. In order to vend such credentials, Lake Formation assumes the role associated /// with a registered location, for example an Amazon S3 bucket, with a scope down policy /// which restricts the access to a single prefix. /// /// Container for the necessary parameters to execute the GetTemporaryGlueTableCredentials service method. /// /// The response from the GetTemporaryGlueTableCredentials service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// The engine does not support filtering data based on the enforced permissions. For /// example, if you call the GetTemporaryGlueTableCredentials operation with /// SupportedPermissionType equal to ColumnPermission, but cell-level /// permissions exist on the table, this exception is thrown. /// /// REST API Reference for GetTemporaryGlueTableCredentials Operation GetTemporaryGlueTableCredentialsResponse GetTemporaryGlueTableCredentials(GetTemporaryGlueTableCredentialsRequest request); /// /// Allows a caller in a secure environment to assume a role with permission to access /// Amazon S3. In order to vend such credentials, Lake Formation assumes the role associated /// with a registered location, for example an Amazon S3 bucket, with a scope down policy /// which restricts the access to a single prefix. /// /// Container for the necessary parameters to execute the GetTemporaryGlueTableCredentials service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTemporaryGlueTableCredentials service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// The engine does not support filtering data based on the enforced permissions. For /// example, if you call the GetTemporaryGlueTableCredentials operation with /// SupportedPermissionType equal to ColumnPermission, but cell-level /// permissions exist on the table, this exception is thrown. /// /// REST API Reference for GetTemporaryGlueTableCredentials Operation Task GetTemporaryGlueTableCredentialsAsync(GetTemporaryGlueTableCredentialsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetWorkUnitResults /// /// Returns the work units resulting from the query. Work units can be executed in any /// order and in parallel. /// /// Container for the necessary parameters to execute the GetWorkUnitResults service method. /// /// The response from the GetWorkUnitResults service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Contains details about an error where the query request expired. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error where the query request was throttled. /// /// REST API Reference for GetWorkUnitResults Operation GetWorkUnitResultsResponse GetWorkUnitResults(GetWorkUnitResultsRequest request); /// /// Returns the work units resulting from the query. Work units can be executed in any /// order and in parallel. /// /// Container for the necessary parameters to execute the GetWorkUnitResults service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetWorkUnitResults service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Contains details about an error where the query request expired. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error where the query request was throttled. /// /// REST API Reference for GetWorkUnitResults Operation Task GetWorkUnitResultsAsync(GetWorkUnitResultsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetWorkUnits /// /// Retrieves the work units generated by the StartQueryPlanning operation. /// /// Container for the necessary parameters to execute the GetWorkUnits service method. /// /// The response from the GetWorkUnits service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Contains details about an error where the query request expired. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error related to work units not being ready. /// /// REST API Reference for GetWorkUnits Operation GetWorkUnitsResponse GetWorkUnits(GetWorkUnitsRequest request); /// /// Retrieves the work units generated by the StartQueryPlanning operation. /// /// Container for the necessary parameters to execute the GetWorkUnits service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetWorkUnits service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Contains details about an error where the query request expired. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error related to work units not being ready. /// /// REST API Reference for GetWorkUnits Operation Task GetWorkUnitsAsync(GetWorkUnitsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GrantPermissions /// /// 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. /// /// /// Container for the necessary parameters to execute the GrantPermissions service method. /// /// The response from the GrantPermissions service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// The input provided was not valid. /// /// REST API Reference for GrantPermissions Operation GrantPermissionsResponse GrantPermissions(GrantPermissionsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GrantPermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GrantPermissions service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// The input provided was not valid. /// /// REST API Reference for GrantPermissions Operation Task GrantPermissionsAsync(GrantPermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDataCellsFilter /// /// Lists all the data cell filters on a table. /// /// Container for the necessary parameters to execute the ListDataCellsFilter service method. /// /// The response from the ListDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListDataCellsFilter Operation ListDataCellsFilterResponse ListDataCellsFilter(ListDataCellsFilterRequest request); /// /// Lists all the data cell filters on a table. /// /// Container for the necessary parameters to execute the ListDataCellsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListDataCellsFilter Operation Task ListDataCellsFilterAsync(ListDataCellsFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListLFTags /// /// Lists LF-tags that the requester has permission to view. /// /// Container for the necessary parameters to execute the ListLFTags service method. /// /// The response from the ListLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListLFTags Operation ListLFTagsResponse ListLFTags(ListLFTagsRequest request); /// /// Lists LF-tags that the requester has permission to view. /// /// Container for the necessary parameters to execute the ListLFTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListLFTags Operation Task ListLFTagsAsync(ListLFTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPermissions /// /// 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. /// /// /// Container for the necessary parameters to execute the ListPermissions service method. /// /// The response from the ListPermissions service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListPermissions Operation ListPermissionsResponse ListPermissions(ListPermissionsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListPermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPermissions service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListPermissions Operation Task ListPermissionsAsync(ListPermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListResources /// /// Lists the resources registered to be managed by the Data Catalog. /// /// Container for the necessary parameters to execute the ListResources service method. /// /// The response from the ListResources service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListResources Operation ListResourcesResponse ListResources(ListResourcesRequest request); /// /// Lists the resources registered to be managed by the Data Catalog. /// /// Container for the necessary parameters to execute the ListResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListResources service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListResources Operation Task ListResourcesAsync(ListResourcesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTableStorageOptimizers /// /// Returns the configuration of all storage optimizers associated with a specified table. /// /// Container for the necessary parameters to execute the ListTableStorageOptimizers service method. /// /// The response from the ListTableStorageOptimizers service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for ListTableStorageOptimizers Operation ListTableStorageOptimizersResponse ListTableStorageOptimizers(ListTableStorageOptimizersRequest request); /// /// Returns the configuration of all storage optimizers associated with a specified table. /// /// Container for the necessary parameters to execute the ListTableStorageOptimizers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTableStorageOptimizers service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for ListTableStorageOptimizers Operation Task ListTableStorageOptimizersAsync(ListTableStorageOptimizersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTransactions /// /// Returns metadata about transactions and their status. To prevent the response from /// growing indefinitely, only uncommitted transactions and those available for time-travel /// queries are returned. /// /// /// /// This operation can help you identify uncommitted transactions or to get information /// about transactions. /// /// /// Container for the necessary parameters to execute the ListTransactions service method. /// /// The response from the ListTransactions service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListTransactions Operation ListTransactionsResponse ListTransactions(ListTransactionsRequest request); /// /// Returns metadata about transactions and their status. To prevent the response from /// growing indefinitely, only uncommitted transactions and those available for time-travel /// queries are returned. /// /// /// /// This operation can help you identify uncommitted transactions or to get information /// about transactions. /// /// /// Container for the necessary parameters to execute the ListTransactions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTransactions service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for ListTransactions Operation Task ListTransactionsAsync(ListTransactionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutDataLakeSettings /// /// 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. /// /// /// Container for the necessary parameters to execute the PutDataLakeSettings service method. /// /// The response from the PutDataLakeSettings service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for PutDataLakeSettings Operation PutDataLakeSettingsResponse PutDataLakeSettings(PutDataLakeSettingsRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the PutDataLakeSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutDataLakeSettings service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for PutDataLakeSettings Operation Task PutDataLakeSettingsAsync(PutDataLakeSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterResource /// /// 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 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 /// /// /// Container for the necessary parameters to execute the RegisterResource service method. /// /// The response from the RegisterResource service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A resource to be created or added already exists. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// A resource numerical limit was exceeded. /// /// REST API Reference for RegisterResource Operation RegisterResourceResponse RegisterResource(RegisterResourceRequest request); /// /// 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 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 /// /// /// Container for the necessary parameters to execute the RegisterResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterResource service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A resource to be created or added already exists. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// A resource numerical limit was exceeded. /// /// REST API Reference for RegisterResource Operation Task RegisterResourceAsync(RegisterResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveLFTagsFromResource /// /// Removes an LF-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. /// /// Container for the necessary parameters to execute the RemoveLFTagsFromResource service method. /// /// The response from the RemoveLFTagsFromResource service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for RemoveLFTagsFromResource Operation RemoveLFTagsFromResourceResponse RemoveLFTagsFromResource(RemoveLFTagsFromResourceRequest request); /// /// Removes an LF-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. /// /// Container for the necessary parameters to execute the RemoveLFTagsFromResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveLFTagsFromResource service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for RemoveLFTagsFromResource Operation Task RemoveLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RevokePermissions /// /// Revokes permissions to the principal to access metadata in the Data Catalog and data /// organized in underlying data storage such as Amazon S3. /// /// Container for the necessary parameters to execute the RevokePermissions service method. /// /// The response from the RevokePermissions service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// The input provided was not valid. /// /// REST API Reference for RevokePermissions Operation RevokePermissionsResponse RevokePermissions(RevokePermissionsRequest request); /// /// Revokes permissions to the principal to access metadata in the Data Catalog and data /// organized in underlying data storage such as Amazon S3. /// /// Container for the necessary parameters to execute the RevokePermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RevokePermissions service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// The input provided was not valid. /// /// REST API Reference for RevokePermissions Operation Task RevokePermissionsAsync(RevokePermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchDatabasesByLFTags /// /// 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. /// /// Container for the necessary parameters to execute the SearchDatabasesByLFTags service method. /// /// The response from the SearchDatabasesByLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for SearchDatabasesByLFTags Operation SearchDatabasesByLFTagsResponse SearchDatabasesByLFTags(SearchDatabasesByLFTagsRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the SearchDatabasesByLFTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchDatabasesByLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for SearchDatabasesByLFTags Operation Task SearchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchTablesByLFTags /// /// This operation allows a search on TABLE resources by LFTags. /// This will be used by admins who want to grant user permissions on certain LF-tags. /// 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. /// /// Container for the necessary parameters to execute the SearchTablesByLFTags service method. /// /// The response from the SearchTablesByLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for SearchTablesByLFTags Operation SearchTablesByLFTagsResponse SearchTablesByLFTags(SearchTablesByLFTagsRequest request); /// /// This operation allows a search on TABLE resources by LFTags. /// This will be used by admins who want to grant user permissions on certain LF-tags. /// 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. /// /// Container for the necessary parameters to execute the SearchTablesByLFTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchTablesByLFTags service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An encryption operation failed. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for SearchTablesByLFTags Operation Task SearchTablesByLFTagsAsync(SearchTablesByLFTagsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartQueryPlanning /// /// Submits a request to process a query statement. /// /// /// /// This operation generates work units that can be retrieved with the GetWorkUnits /// operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED. /// /// /// Container for the necessary parameters to execute the StartQueryPlanning service method. /// /// The response from the StartQueryPlanning service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error where the query request was throttled. /// /// REST API Reference for StartQueryPlanning Operation StartQueryPlanningResponse StartQueryPlanning(StartQueryPlanningRequest request); /// /// Submits a request to process a query statement. /// /// /// /// This operation generates work units that can be retrieved with the GetWorkUnits /// operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED. /// /// /// Container for the necessary parameters to execute the StartQueryPlanning service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartQueryPlanning service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// Contains details about an error where the query request was throttled. /// /// REST API Reference for StartQueryPlanning Operation Task StartQueryPlanningAsync(StartQueryPlanningRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartTransaction /// /// Starts a new transaction and returns its transaction ID. Transaction IDs are opaque /// objects that you can use to identify a transaction. /// /// Container for the necessary parameters to execute the StartTransaction service method. /// /// The response from the StartTransaction service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The operation timed out. /// /// REST API Reference for StartTransaction Operation StartTransactionResponse StartTransaction(StartTransactionRequest request); /// /// Starts a new transaction and returns its transaction ID. Transaction IDs are opaque /// objects that you can use to identify a transaction. /// /// Container for the necessary parameters to execute the StartTransaction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartTransaction service method, as returned by LakeFormation. /// /// An internal service error occurred. /// /// /// The operation timed out. /// /// REST API Reference for StartTransaction Operation Task StartTransactionAsync(StartTransactionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDataCellsFilter /// /// Updates a data cell filter. /// /// Container for the necessary parameters to execute the UpdateDataCellsFilter service method. /// /// The response from the UpdateDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for UpdateDataCellsFilter Operation UpdateDataCellsFilterResponse UpdateDataCellsFilter(UpdateDataCellsFilterRequest request); /// /// Updates a data cell filter. /// /// Container for the necessary parameters to execute the UpdateDataCellsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDataCellsFilter service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for UpdateDataCellsFilter Operation Task UpdateDataCellsFilterAsync(UpdateDataCellsFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateLFTag /// /// Updates the list of possible values for the specified LF-tag key. If the LF-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 LF-tag key's value. /// /// Container for the necessary parameters to execute the UpdateLFTag service method. /// /// The response from the UpdateLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for UpdateLFTag Operation UpdateLFTagResponse UpdateLFTag(UpdateLFTagRequest request); /// /// Updates the list of possible values for the specified LF-tag key. If the LF-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 LF-tag key's value. /// /// Container for the necessary parameters to execute the UpdateLFTag service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateLFTag service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for UpdateLFTag Operation Task UpdateLFTagAsync(UpdateLFTagRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateResource /// /// Updates the data access role used for vending access to the given (registered) resource /// in Lake Formation. /// /// Container for the necessary parameters to execute the UpdateResource service method. /// /// The response from the UpdateResource service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for UpdateResource Operation UpdateResourceResponse UpdateResource(UpdateResourceRequest request); /// /// Updates the data access role used for vending access to the given (registered) resource /// in Lake Formation. /// /// Container for the necessary parameters to execute the UpdateResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateResource service method, as returned by LakeFormation. /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// REST API Reference for UpdateResource Operation Task UpdateResourceAsync(UpdateResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateTableObjects /// /// Updates the manifest of Amazon S3 objects that make up the specified governed table. /// /// Container for the necessary parameters to execute the UpdateTableObjects service method. /// /// The response from the UpdateTableObjects service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a resource which is not ready for a transaction. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error related to a transaction commit that was in progress. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for UpdateTableObjects Operation UpdateTableObjectsResponse UpdateTableObjects(UpdateTableObjectsRequest request); /// /// Updates the manifest of Amazon S3 objects that make up the specified governed table. /// /// Container for the necessary parameters to execute the UpdateTableObjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTableObjects service method, as returned by LakeFormation. /// /// Two processes are trying to modify a resource simultaneously. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// /// The operation timed out. /// /// /// Contains details about an error related to a resource which is not ready for a transaction. /// /// /// Contains details about an error related to a transaction that was cancelled. /// /// /// Contains details about an error related to a transaction commit that was in progress. /// /// /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for UpdateTableObjects. /// /// REST API Reference for UpdateTableObjects Operation Task UpdateTableObjectsAsync(UpdateTableObjectsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateTableStorageOptimizer /// /// Updates the configuration of the storage optimizers for a table. /// /// Container for the necessary parameters to execute the UpdateTableStorageOptimizer service method. /// /// The response from the UpdateTableStorageOptimizer service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for UpdateTableStorageOptimizer Operation UpdateTableStorageOptimizerResponse UpdateTableStorageOptimizer(UpdateTableStorageOptimizerRequest request); /// /// Updates the configuration of the storage optimizers for a table. /// /// Container for the necessary parameters to execute the UpdateTableStorageOptimizer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTableStorageOptimizer service method, as returned by LakeFormation. /// /// Access to a resource was denied. /// /// /// A specified entity does not exist. /// /// /// An internal service error occurred. /// /// /// The input provided was not valid. /// /// REST API Reference for UpdateTableStorageOptimizer Operation Task UpdateTableStorageOptimizerAsync(UpdateTableStorageOptimizerRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }