/* * 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 { /// <summary> /// Interface for accessing LakeFormation /// /// Lake Formation /// <para> /// Defines the public endpoint for the Lake Formation service. /// </para> /// </summary> public partial interface IAmazonLakeFormation : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> ILakeFormationPaginatorFactory Paginators { get; } #endif #region AddLFTagsToResource /// <summary> /// Attaches one or more LF-tags to an existing resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AddLFTagsToResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AddLFTagsToResource service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/AddLFTagsToResource">REST API Reference for AddLFTagsToResource Operation</seealso> Task<AddLFTagsToResourceResponse> AddLFTagsToResourceAsync(AddLFTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssumeDecoratedRoleWithSAML /// <summary> /// 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. /// /// /// <para> /// 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 <code>GetDataAccess</code>. /// Therefore, all SAML roles that can be assumed via <code>AssumeDecoratedRoleWithSAML</code> /// must at a minimum include <code>lakeformation:GetDataAccess</code> in their role policies. /// A typical IAM policy attached to such a role would look as follows: /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssumeDecoratedRoleWithSAML service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssumeDecoratedRoleWithSAML service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/AssumeDecoratedRoleWithSAML">REST API Reference for AssumeDecoratedRoleWithSAML Operation</seealso> Task<AssumeDecoratedRoleWithSAMLResponse> AssumeDecoratedRoleWithSAMLAsync(AssumeDecoratedRoleWithSAMLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGrantPermissions /// <summary> /// Batch operation to grant permissions to the principal. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGrantPermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGrantPermissions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchGrantPermissions">REST API Reference for BatchGrantPermissions Operation</seealso> Task<BatchGrantPermissionsResponse> BatchGrantPermissionsAsync(BatchGrantPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchRevokePermissions /// <summary> /// Batch operation to revoke permissions from the principal. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchRevokePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchRevokePermissions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchRevokePermissions">REST API Reference for BatchRevokePermissions Operation</seealso> Task<BatchRevokePermissionsResponse> BatchRevokePermissionsAsync(BatchRevokePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelTransaction /// <summary> /// Attempts to cancel the specified transaction. Returns an exception if the transaction /// was previously committed. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelTransaction service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CancelTransaction service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommitInProgressException"> /// Contains details about an error related to a transaction commit that was in progress. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommittedException"> /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for <code>UpdateTableObjects</code>. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CancelTransaction">REST API Reference for CancelTransaction Operation</seealso> Task<CancelTransactionResponse> CancelTransactionAsync(CancelTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CommitTransaction /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CommitTransaction service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CommitTransaction service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCanceledException"> /// Contains details about an error related to a transaction that was cancelled. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CommitTransaction">REST API Reference for CommitTransaction Operation</seealso> Task<CommitTransactionResponse> CommitTransactionAsync(CommitTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDataCellsFilter /// <summary> /// Creates a data cell filter to allow one to grant access to certain columns on certain /// rows. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDataCellsFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDataCellsFilter service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.AlreadyExistsException"> /// A resource to be created or added already exists. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ResourceNumberLimitExceededException"> /// A resource numerical limit was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateDataCellsFilter">REST API Reference for CreateDataCellsFilter Operation</seealso> Task<CreateDataCellsFilterResponse> CreateDataCellsFilterAsync(CreateDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateLFTag /// <summary> /// Creates an LF-tag with the specified name and values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateLFTag service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateLFTag service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ResourceNumberLimitExceededException"> /// A resource numerical limit was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLFTag">REST API Reference for CreateLFTag Operation</seealso> Task<CreateLFTagResponse> CreateLFTagAsync(CreateLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDataCellsFilter /// <summary> /// Deletes a data cell filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDataCellsFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDataCellsFilter service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteDataCellsFilter">REST API Reference for DeleteDataCellsFilter Operation</seealso> Task<DeleteDataCellsFilterResponse> DeleteDataCellsFilterAsync(DeleteDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteLFTag /// <summary> /// 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 <code>LFTagPolicy</code> 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteLFTag service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteLFTag service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLFTag">REST API Reference for DeleteLFTag Operation</seealso> Task<DeleteLFTagResponse> DeleteLFTagAsync(DeleteLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteObjectsOnCancel /// <summary> /// 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. /// /// /// <para> /// The Glue ETL library function <code>write_dynamic_frame.from_catalog()</code> includes /// an option to automatically call <code>DeleteObjectsOnCancel</code> before writes. /// For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/transactions-data-operations.html#rolling-back-writes">Rolling /// Back Amazon S3 Writes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteObjectsOnCancel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteObjectsOnCancel service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ResourceNotReadyException"> /// Contains details about an error related to a resource which is not ready for a transaction. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCanceledException"> /// Contains details about an error related to a transaction that was cancelled. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommittedException"> /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for <code>UpdateTableObjects</code>. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteObjectsOnCancel">REST API Reference for DeleteObjectsOnCancel Operation</seealso> Task<DeleteObjectsOnCancelResponse> DeleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterResource /// <summary> /// Deregisters the resource as managed by the Data Catalog. /// /// /// <para> /// When you deregister a path, Lake Formation removes the path from the inline policy /// attached to your service-linked role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeregisterResource service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeregisterResource">REST API Reference for DeregisterResource Operation</seealso> Task<DeregisterResourceResponse> DeregisterResourceAsync(DeregisterResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeResource /// <summary> /// Retrieves the current data access role for the given resource registered in Lake Formation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeResource service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeResource">REST API Reference for DescribeResource Operation</seealso> Task<DescribeResourceResponse> DescribeResourceAsync(DescribeResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeTransaction /// <summary> /// Returns the details of a single transaction. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeTransaction service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeTransaction service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeTransaction">REST API Reference for DescribeTransaction Operation</seealso> Task<DescribeTransactionResponse> DescribeTransactionAsync(DescribeTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ExtendTransaction /// <summary> /// Indicates to the service that the specified transaction is still active and should /// not be treated as idle and aborted. /// /// /// <para> /// Write transactions that remain idle for a long period are automatically aborted unless /// explicitly extended. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExtendTransaction service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ExtendTransaction service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCanceledException"> /// Contains details about an error related to a transaction that was cancelled. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommitInProgressException"> /// Contains details about an error related to a transaction commit that was in progress. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommittedException"> /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for <code>UpdateTableObjects</code>. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ExtendTransaction">REST API Reference for ExtendTransaction Operation</seealso> Task<ExtendTransactionResponse> ExtendTransactionAsync(ExtendTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDataCellsFilter /// <summary> /// Returns a data cells filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDataCellsFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDataCellsFilter service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataCellsFilter">REST API Reference for GetDataCellsFilter Operation</seealso> Task<GetDataCellsFilterResponse> GetDataCellsFilterAsync(GetDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDataLakeSettings /// <summary> /// Retrieves the list of the data lake administrators of a Lake Formation-managed data /// lake. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDataLakeSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDataLakeSettings service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings">REST API Reference for GetDataLakeSettings Operation</seealso> Task<GetDataLakeSettingsResponse> GetDataLakeSettingsAsync(GetDataLakeSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEffectivePermissionsForPath /// <summary> /// Returns the Lake Formation permissions for a specified table or database resource /// located at a path in Amazon S3. <code>GetEffectivePermissionsForPath</code> will not /// return databases and tables if the catalog is encrypted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEffectivePermissionsForPath service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEffectivePermissionsForPath service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath">REST API Reference for GetEffectivePermissionsForPath Operation</seealso> Task<GetEffectivePermissionsForPathResponse> GetEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetLFTag /// <summary> /// Returns an LF-tag definition. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetLFTag service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetLFTag service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetLFTag">REST API Reference for GetLFTag Operation</seealso> Task<GetLFTagResponse> GetLFTagAsync(GetLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetQueryState /// <summary> /// Returns the state of a query previously submitted. Clients are expected to poll <code>GetQueryState</code> /// 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 <code>StartQueryPlanning</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetQueryState service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetQueryState service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetQueryState">REST API Reference for GetQueryState Operation</seealso> Task<GetQueryStateResponse> GetQueryStateAsync(GetQueryStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetQueryStatistics /// <summary> /// Retrieves statistics on the planning and execution of a query. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetQueryStatistics service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetQueryStatistics service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ExpiredException"> /// Contains details about an error where the query request expired. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.StatisticsNotReadyYetException"> /// Contains details about an error related to statistics not being ready. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ThrottledException"> /// Contains details about an error where the query request was throttled. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetQueryStatistics">REST API Reference for GetQueryStatistics Operation</seealso> Task<GetQueryStatisticsResponse> GetQueryStatisticsAsync(GetQueryStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResourceLFTags /// <summary> /// Returns the LF-tags applied to a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetResourceLFTags service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetResourceLFTags service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.GlueEncryptionException"> /// An encryption operation failed. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetResourceLFTags">REST API Reference for GetResourceLFTags Operation</seealso> Task<GetResourceLFTagsResponse> GetResourceLFTagsAsync(GetResourceLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTableObjects /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetTableObjects service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetTableObjects service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ResourceNotReadyException"> /// Contains details about an error related to a resource which is not ready for a transaction. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCanceledException"> /// Contains details about an error related to a transaction that was cancelled. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommittedException"> /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for <code>UpdateTableObjects</code>. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTableObjects">REST API Reference for GetTableObjects Operation</seealso> Task<GetTableObjectsResponse> GetTableObjectsAsync(GetTableObjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTemporaryGluePartitionCredentials /// <summary> /// This API is identical to <code>GetTemporaryTableCredentials</code> 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetTemporaryGluePartitionCredentials service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetTemporaryGluePartitionCredentials service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.PermissionTypeMismatchException"> /// The engine does not support filtering data based on the enforced permissions. For /// example, if you call the <code>GetTemporaryGlueTableCredentials</code> operation with /// <code>SupportedPermissionType</code> equal to <code>ColumnPermission</code>, but cell-level /// permissions exist on the table, this exception is thrown. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGluePartitionCredentials">REST API Reference for GetTemporaryGluePartitionCredentials Operation</seealso> Task<GetTemporaryGluePartitionCredentialsResponse> GetTemporaryGluePartitionCredentialsAsync(GetTemporaryGluePartitionCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetTemporaryGlueTableCredentials /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetTemporaryGlueTableCredentials service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetTemporaryGlueTableCredentials service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.PermissionTypeMismatchException"> /// The engine does not support filtering data based on the enforced permissions. For /// example, if you call the <code>GetTemporaryGlueTableCredentials</code> operation with /// <code>SupportedPermissionType</code> equal to <code>ColumnPermission</code>, but cell-level /// permissions exist on the table, this exception is thrown. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGlueTableCredentials">REST API Reference for GetTemporaryGlueTableCredentials Operation</seealso> Task<GetTemporaryGlueTableCredentialsResponse> GetTemporaryGlueTableCredentialsAsync(GetTemporaryGlueTableCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetWorkUnitResults /// <summary> /// Returns the work units resulting from the query. Work units can be executed in any /// order and in parallel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetWorkUnitResults service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetWorkUnitResults service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ExpiredException"> /// Contains details about an error where the query request expired. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ThrottledException"> /// Contains details about an error where the query request was throttled. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnitResults">REST API Reference for GetWorkUnitResults Operation</seealso> Task<GetWorkUnitResultsResponse> GetWorkUnitResultsAsync(GetWorkUnitResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetWorkUnits /// <summary> /// Retrieves the work units generated by the <code>StartQueryPlanning</code> operation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetWorkUnits service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetWorkUnits service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ExpiredException"> /// Contains details about an error where the query request expired. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.WorkUnitsNotReadyYetException"> /// Contains details about an error related to work units not being ready. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnits">REST API Reference for GetWorkUnits Operation</seealso> Task<GetWorkUnitsResponse> GetWorkUnitsAsync(GetWorkUnitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GrantPermissions /// <summary> /// Grants permissions to the principal to access metadata in the Data Catalog and data /// organized in underlying data storage such as Amazon S3. /// /// /// <para> /// For information about permissions, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security /// and Access Control to Metadata and Data</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GrantPermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GrantPermissions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions">REST API Reference for GrantPermissions Operation</seealso> Task<GrantPermissionsResponse> GrantPermissionsAsync(GrantPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDataCellsFilter /// <summary> /// Lists all the data cell filters on a table. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDataCellsFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDataCellsFilter service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListDataCellsFilter">REST API Reference for ListDataCellsFilter Operation</seealso> Task<ListDataCellsFilterResponse> ListDataCellsFilterAsync(ListDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListLFTags /// <summary> /// Lists LF-tags that the requester has permission to view. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListLFTags service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListLFTags service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListLFTags">REST API Reference for ListLFTags Operation</seealso> Task<ListLFTagsResponse> ListLFTagsAsync(ListLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPermissions /// <summary> /// 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. /// /// /// <para> /// This operation returns only those permissions that have been explicitly granted. /// </para> /// /// <para> /// For information about permissions, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html">Security /// and Access Control to Metadata and Data</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListPermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListPermissions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions">REST API Reference for ListPermissions Operation</seealso> Task<ListPermissionsResponse> ListPermissionsAsync(ListPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListResources /// <summary> /// Lists the resources registered to be managed by the Data Catalog. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListResources service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListResources service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListResources">REST API Reference for ListResources Operation</seealso> Task<ListResourcesResponse> ListResourcesAsync(ListResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTableStorageOptimizers /// <summary> /// Returns the configuration of all storage optimizers associated with a specified table. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTableStorageOptimizers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTableStorageOptimizers service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListTableStorageOptimizers">REST API Reference for ListTableStorageOptimizers Operation</seealso> Task<ListTableStorageOptimizersResponse> ListTableStorageOptimizersAsync(ListTableStorageOptimizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTransactions /// <summary> /// 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. /// /// /// <para> /// This operation can help you identify uncommitted transactions or to get information /// about transactions. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTransactions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTransactions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListTransactions">REST API Reference for ListTransactions Operation</seealso> Task<ListTransactionsResponse> ListTransactionsAsync(ListTransactionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutDataLakeSettings /// <summary> /// Sets the list of data lake administrators who have admin privileges on all resources /// managed by Lake Formation. For more information on admin privileges, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/lake-formation-permissions.html">Granting /// Lake Formation Permissions</a>. /// /// /// <para> /// 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. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutDataLakeSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutDataLakeSettings service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettings">REST API Reference for PutDataLakeSettings Operation</seealso> Task<PutDataLakeSettingsResponse> PutDataLakeSettingsAsync(PutDataLakeSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterResource /// <summary> /// Registers the resource as managed by the Data Catalog. /// /// /// <para> /// 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. /// </para> /// /// <para> /// The following request registers a new location and gives Lake Formation permission /// to use the service-linked role to access that location. /// </para> /// /// <para> /// <code>ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true</code> /// </para> /// /// <para> /// If <code>UseServiceLinkedRole</code> is not set to true, you must provide or set the /// <code>RoleArn</code>: /// </para> /// /// <para> /// <code>arn:aws:iam::12345:role/my-data-access-role</code> /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RegisterResource service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.AlreadyExistsException"> /// A resource to be created or added already exists. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ResourceNumberLimitExceededException"> /// A resource numerical limit was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResource">REST API Reference for RegisterResource Operation</seealso> Task<RegisterResourceResponse> RegisterResourceAsync(RegisterResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveLFTagsFromResource /// <summary> /// Removes an LF-tag from the resource. Only database, table, or tableWithColumns resource /// are allowed. To tag columns, use the column inclusion list in <code>tableWithColumns</code> /// to specify column input. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveLFTagsFromResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveLFTagsFromResource service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.GlueEncryptionException"> /// An encryption operation failed. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RemoveLFTagsFromResource">REST API Reference for RemoveLFTagsFromResource Operation</seealso> Task<RemoveLFTagsFromResourceResponse> RemoveLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RevokePermissions /// <summary> /// Revokes permissions to the principal to access metadata in the Data Catalog and data /// organized in underlying data storage such as Amazon S3. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RevokePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RevokePermissions service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions">REST API Reference for RevokePermissions Operation</seealso> Task<RevokePermissionsResponse> RevokePermissionsAsync(RevokePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchDatabasesByLFTags /// <summary> /// This operation allows a search on <code>DATABASE</code> resources by <code>TagCondition</code>. /// This operation is used by admins who want to grant user permissions on certain <code>TagConditions</code>. /// Before making a grant, the admin can use <code>SearchDatabasesByTags</code> to find /// all resources where the given <code>TagConditions</code> are valid to verify whether /// the returned resources can be shared. /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchDatabasesByLFTags service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchDatabasesByLFTags service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.GlueEncryptionException"> /// An encryption operation failed. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchDatabasesByLFTags">REST API Reference for SearchDatabasesByLFTags Operation</seealso> Task<SearchDatabasesByLFTagsResponse> SearchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchTablesByLFTags /// <summary> /// This operation allows a search on <code>TABLE</code> resources by <code>LFTag</code>s. /// This will be used by admins who want to grant user permissions on certain LF-tags. /// Before making a grant, the admin can use <code>SearchTablesByLFTags</code> to find /// all resources where the given <code>LFTag</code>s are valid to verify whether the /// returned resources can be shared. /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchTablesByLFTags service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchTablesByLFTags service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.GlueEncryptionException"> /// An encryption operation failed. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchTablesByLFTags">REST API Reference for SearchTablesByLFTags Operation</seealso> Task<SearchTablesByLFTagsResponse> SearchTablesByLFTagsAsync(SearchTablesByLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartQueryPlanning /// <summary> /// Submits a request to process a query statement. /// /// /// <para> /// This operation generates work units that can be retrieved with the <code>GetWorkUnits</code> /// operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartQueryPlanning service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartQueryPlanning service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ThrottledException"> /// Contains details about an error where the query request was throttled. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/StartQueryPlanning">REST API Reference for StartQueryPlanning Operation</seealso> Task<StartQueryPlanningResponse> StartQueryPlanningAsync(StartQueryPlanningRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartTransaction /// <summary> /// Starts a new transaction and returns its transaction ID. Transaction IDs are opaque /// objects that you can use to identify a transaction. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartTransaction service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartTransaction service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/StartTransaction">REST API Reference for StartTransaction Operation</seealso> Task<StartTransactionResponse> StartTransactionAsync(StartTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDataCellsFilter /// <summary> /// Updates a data cell filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDataCellsFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDataCellsFilter service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateDataCellsFilter">REST API Reference for UpdateDataCellsFilter Operation</seealso> Task<UpdateDataCellsFilterResponse> UpdateDataCellsFilterAsync(UpdateDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateLFTag /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateLFTag service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateLFTag service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateLFTag">REST API Reference for UpdateLFTag Operation</seealso> Task<UpdateLFTagResponse> UpdateLFTagAsync(UpdateLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateResource /// <summary> /// Updates the data access role used for vending access to the given (registered) resource /// in Lake Formation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateResource service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateResource">REST API Reference for UpdateResource Operation</seealso> Task<UpdateResourceResponse> UpdateResourceAsync(UpdateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateTableObjects /// <summary> /// Updates the manifest of Amazon S3 objects that make up the specified governed table. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateTableObjects service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateTableObjects service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.ConcurrentModificationException"> /// Two processes are trying to modify a resource simultaneously. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.OperationTimeoutException"> /// The operation timed out. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.ResourceNotReadyException"> /// Contains details about an error related to a resource which is not ready for a transaction. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCanceledException"> /// Contains details about an error related to a transaction that was cancelled. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommitInProgressException"> /// Contains details about an error related to a transaction commit that was in progress. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.TransactionCommittedException"> /// Contains details about an error where the specified transaction has already been committed /// and cannot be used for <code>UpdateTableObjects</code>. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateTableObjects">REST API Reference for UpdateTableObjects Operation</seealso> Task<UpdateTableObjectsResponse> UpdateTableObjectsAsync(UpdateTableObjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateTableStorageOptimizer /// <summary> /// Updates the configuration of the storage optimizers for a table. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateTableStorageOptimizer service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateTableStorageOptimizer service method, as returned by LakeFormation.</returns> /// <exception cref="Amazon.LakeFormation.Model.AccessDeniedException"> /// Access to a resource was denied. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.EntityNotFoundException"> /// A specified entity does not exist. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InternalServiceException"> /// An internal service error occurred. /// </exception> /// <exception cref="Amazon.LakeFormation.Model.InvalidInputException"> /// The input provided was not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateTableStorageOptimizer">REST API Reference for UpdateTableStorageOptimizer Operation</seealso> Task<UpdateTableStorageOptimizerResponse> UpdateTableStorageOptimizerAsync(UpdateTableStorageOptimizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }