/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.LakeFormation.Model;
using Amazon.LakeFormation.Model.Internal.MarshallTransformations;
using Amazon.LakeFormation.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.LakeFormation
{
///
/// Implementation for accessing LakeFormation
///
/// Lake Formation
///
/// Defines the public endpoint for the Lake Formation service.
///
///
public partial class AmazonLakeFormationClient : AmazonServiceClient, IAmazonLakeFormation
{
private static IServiceMetadata serviceMetadata = new AmazonLakeFormationMetadata();
#region Constructors
///
/// Constructs AmazonLakeFormationClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonLakeFormationClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonLakeFormationConfig()) { }
///
/// Constructs AmazonLakeFormationClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonLakeFormationClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonLakeFormationConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonLakeFormationClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonLakeFormationClient Configuration Object
public AmazonLakeFormationClient(AmazonLakeFormationConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonLakeFormationClient with AWS Credentials
///
/// AWS Credentials
public AmazonLakeFormationClient(AWSCredentials credentials)
: this(credentials, new AmazonLakeFormationConfig())
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonLakeFormationClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonLakeFormationConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Credentials and an
/// AmazonLakeFormationClient Configuration object.
///
/// AWS Credentials
/// The AmazonLakeFormationClient Configuration Object
public AmazonLakeFormationClient(AWSCredentials credentials, AmazonLakeFormationConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonLakeFormationClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonLakeFormationConfig())
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonLakeFormationClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonLakeFormationConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonLakeFormationClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonLakeFormationClient Configuration Object
public AmazonLakeFormationClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonLakeFormationConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonLakeFormationClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLakeFormationConfig())
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonLakeFormationClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonLakeFormationConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonLakeFormationClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonLakeFormationClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonLakeFormationClient Configuration Object
public AmazonLakeFormationClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonLakeFormationConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private ILakeFormationPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ILakeFormationPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new LakeFormationPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonLakeFormationEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AddLFTagsToResource
internal virtual AddLFTagsToResourceResponse AddLFTagsToResource(AddLFTagsToResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddLFTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddLFTagsToResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task AddLFTagsToResourceAsync(AddLFTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddLFTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddLFTagsToResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssumeDecoratedRoleWithSAML
internal virtual AssumeDecoratedRoleWithSAMLResponse AssumeDecoratedRoleWithSAML(AssumeDecoratedRoleWithSAMLRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssumeDecoratedRoleWithSAMLRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssumeDecoratedRoleWithSAMLResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task AssumeDecoratedRoleWithSAMLAsync(AssumeDecoratedRoleWithSAMLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssumeDecoratedRoleWithSAMLRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssumeDecoratedRoleWithSAMLResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchGrantPermissions
internal virtual BatchGrantPermissionsResponse BatchGrantPermissions(BatchGrantPermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGrantPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGrantPermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task BatchGrantPermissionsAsync(BatchGrantPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGrantPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGrantPermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchRevokePermissions
internal virtual BatchRevokePermissionsResponse BatchRevokePermissions(BatchRevokePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchRevokePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchRevokePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task BatchRevokePermissionsAsync(BatchRevokePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchRevokePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchRevokePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CancelTransaction
internal virtual CancelTransactionResponse CancelTransaction(CancelTransactionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelTransactionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task CancelTransactionAsync(CancelTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelTransactionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CommitTransaction
internal virtual CommitTransactionResponse CommitTransaction(CommitTransactionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CommitTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CommitTransactionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task CommitTransactionAsync(CommitTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CommitTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CommitTransactionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDataCellsFilter
internal virtual CreateDataCellsFilterResponse CreateDataCellsFilter(CreateDataCellsFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataCellsFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task CreateDataCellsFilterAsync(CreateDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataCellsFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLFTag
internal virtual CreateLFTagResponse CreateLFTag(CreateLFTagRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLFTagResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task CreateLFTagAsync(CreateLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLFTagResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDataCellsFilter
internal virtual DeleteDataCellsFilterResponse DeleteDataCellsFilter(DeleteDataCellsFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDataCellsFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DeleteDataCellsFilterAsync(DeleteDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDataCellsFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLFTag
internal virtual DeleteLFTagResponse DeleteLFTag(DeleteLFTagRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLFTagResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DeleteLFTagAsync(DeleteLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLFTagResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteObjectsOnCancel
internal virtual DeleteObjectsOnCancelResponse DeleteObjectsOnCancel(DeleteObjectsOnCancelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteObjectsOnCancelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteObjectsOnCancelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DeleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteObjectsOnCancelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteObjectsOnCancelResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterResource
internal virtual DeregisterResourceResponse DeregisterResource(DeregisterResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DeregisterResourceAsync(DeregisterResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeResource
internal virtual DescribeResourceResponse DescribeResource(DescribeResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DescribeResourceAsync(DescribeResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTransaction
internal virtual DescribeTransactionResponse DescribeTransaction(DescribeTransactionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTransactionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DescribeTransactionAsync(DescribeTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTransactionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ExtendTransaction
internal virtual ExtendTransactionResponse ExtendTransaction(ExtendTransactionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExtendTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExtendTransactionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ExtendTransactionAsync(ExtendTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExtendTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExtendTransactionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDataCellsFilter
internal virtual GetDataCellsFilterResponse GetDataCellsFilter(GetDataCellsFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataCellsFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetDataCellsFilterAsync(GetDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataCellsFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDataLakeSettings
internal virtual GetDataLakeSettingsResponse GetDataLakeSettings(GetDataLakeSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataLakeSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataLakeSettingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetDataLakeSettingsAsync(GetDataLakeSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataLakeSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataLakeSettingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetEffectivePermissionsForPath
internal virtual GetEffectivePermissionsForPathResponse GetEffectivePermissionsForPath(GetEffectivePermissionsForPathRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEffectivePermissionsForPathRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEffectivePermissionsForPathResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEffectivePermissionsForPathRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEffectivePermissionsForPathResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLFTag
internal virtual GetLFTagResponse GetLFTag(GetLFTagRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLFTagResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetLFTagAsync(GetLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLFTagResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetQueryState
internal virtual GetQueryStateResponse GetQueryState(GetQueryStateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetQueryStateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetQueryStateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetQueryStateAsync(GetQueryStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetQueryStateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetQueryStateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetQueryStatistics
internal virtual GetQueryStatisticsResponse GetQueryStatistics(GetQueryStatisticsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetQueryStatisticsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetQueryStatisticsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetQueryStatisticsAsync(GetQueryStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetQueryStatisticsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetQueryStatisticsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResourceLFTags
internal virtual GetResourceLFTagsResponse GetResourceLFTags(GetResourceLFTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourceLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourceLFTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetResourceLFTagsAsync(GetResourceLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourceLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourceLFTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTableObjects
internal virtual GetTableObjectsResponse GetTableObjects(GetTableObjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTableObjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTableObjectsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetTableObjectsAsync(GetTableObjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTableObjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTableObjectsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTemporaryGluePartitionCredentials
internal virtual GetTemporaryGluePartitionCredentialsResponse GetTemporaryGluePartitionCredentials(GetTemporaryGluePartitionCredentialsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemporaryGluePartitionCredentialsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemporaryGluePartitionCredentialsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetTemporaryGluePartitionCredentialsAsync(GetTemporaryGluePartitionCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemporaryGluePartitionCredentialsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemporaryGluePartitionCredentialsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTemporaryGlueTableCredentials
internal virtual GetTemporaryGlueTableCredentialsResponse GetTemporaryGlueTableCredentials(GetTemporaryGlueTableCredentialsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemporaryGlueTableCredentialsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemporaryGlueTableCredentialsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetTemporaryGlueTableCredentialsAsync(GetTemporaryGlueTableCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemporaryGlueTableCredentialsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemporaryGlueTableCredentialsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetWorkUnitResults
internal virtual GetWorkUnitResultsResponse GetWorkUnitResults(GetWorkUnitResultsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkUnitResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkUnitResultsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetWorkUnitResultsAsync(GetWorkUnitResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkUnitResultsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkUnitResultsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetWorkUnits
internal virtual GetWorkUnitsResponse GetWorkUnits(GetWorkUnitsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkUnitsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkUnitsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetWorkUnitsAsync(GetWorkUnitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkUnitsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkUnitsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GrantPermissions
internal virtual GrantPermissionsResponse GrantPermissions(GrantPermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GrantPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GrantPermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GrantPermissionsAsync(GrantPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GrantPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GrantPermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDataCellsFilter
internal virtual ListDataCellsFilterResponse ListDataCellsFilter(ListDataCellsFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataCellsFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListDataCellsFilterAsync(ListDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataCellsFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListLFTags
internal virtual ListLFTagsResponse ListLFTags(ListLFTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLFTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListLFTagsAsync(ListLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListLFTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPermissions
internal virtual ListPermissionsResponse ListPermissions(ListPermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListPermissionsAsync(ListPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResources
internal virtual ListResourcesResponse ListResources(ListResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListResourcesAsync(ListResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResourcesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTableStorageOptimizers
internal virtual ListTableStorageOptimizersResponse ListTableStorageOptimizers(ListTableStorageOptimizersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTableStorageOptimizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTableStorageOptimizersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListTableStorageOptimizersAsync(ListTableStorageOptimizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTableStorageOptimizersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTableStorageOptimizersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTransactions
internal virtual ListTransactionsResponse ListTransactions(ListTransactionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTransactionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTransactionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListTransactionsAsync(ListTransactionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTransactionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTransactionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutDataLakeSettings
internal virtual PutDataLakeSettingsResponse PutDataLakeSettings(PutDataLakeSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutDataLakeSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutDataLakeSettingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task PutDataLakeSettingsAsync(PutDataLakeSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutDataLakeSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutDataLakeSettingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterResource
internal virtual RegisterResourceResponse RegisterResource(RegisterResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task RegisterResourceAsync(RegisterResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveLFTagsFromResource
internal virtual RemoveLFTagsFromResourceResponse RemoveLFTagsFromResource(RemoveLFTagsFromResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveLFTagsFromResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveLFTagsFromResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task RemoveLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveLFTagsFromResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveLFTagsFromResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RevokePermissions
internal virtual RevokePermissionsResponse RevokePermissions(RevokePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task RevokePermissionsAsync(RevokePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SearchDatabasesByLFTags
internal virtual SearchDatabasesByLFTagsResponse SearchDatabasesByLFTags(SearchDatabasesByLFTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchDatabasesByLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchDatabasesByLFTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task SearchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchDatabasesByLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchDatabasesByLFTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SearchTablesByLFTags
internal virtual SearchTablesByLFTagsResponse SearchTablesByLFTags(SearchTablesByLFTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchTablesByLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchTablesByLFTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// This operation allows a search on TABLE
resources by LFTag
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 SearchTablesByLFTags
to find
/// all resources where the given LFTag
s 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
public virtual Task SearchTablesByLFTagsAsync(SearchTablesByLFTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchTablesByLFTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchTablesByLFTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartQueryPlanning
internal virtual StartQueryPlanningResponse StartQueryPlanning(StartQueryPlanningRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartQueryPlanningRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartQueryPlanningResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task StartQueryPlanningAsync(StartQueryPlanningRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartQueryPlanningRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartQueryPlanningResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartTransaction
internal virtual StartTransactionResponse StartTransaction(StartTransactionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTransactionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task StartTransactionAsync(StartTransactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTransactionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTransactionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDataCellsFilter
internal virtual UpdateDataCellsFilterResponse UpdateDataCellsFilter(UpdateDataCellsFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataCellsFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task UpdateDataCellsFilterAsync(UpdateDataCellsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDataCellsFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDataCellsFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLFTag
internal virtual UpdateLFTagResponse UpdateLFTag(UpdateLFTagRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLFTagResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task UpdateLFTagAsync(UpdateLFTagRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLFTagRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLFTagResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResource
internal virtual UpdateResourceResponse UpdateResource(UpdateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task UpdateResourceAsync(UpdateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateTableObjects
internal virtual UpdateTableObjectsResponse UpdateTableObjects(UpdateTableObjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTableObjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTableObjectsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task UpdateTableObjectsAsync(UpdateTableObjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTableObjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTableObjectsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateTableStorageOptimizer
internal virtual UpdateTableStorageOptimizerResponse UpdateTableStorageOptimizer(UpdateTableStorageOptimizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTableStorageOptimizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTableStorageOptimizerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task UpdateTableStorageOptimizerAsync(UpdateTableStorageOptimizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTableStorageOptimizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTableStorageOptimizerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}