/*
* 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 finspace-data-2020-07-13.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.FinSpaceData.Model;
using Amazon.FinSpaceData.Model.Internal.MarshallTransformations;
using Amazon.FinSpaceData.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.FinSpaceData
{
///
/// Implementation for accessing FinSpaceData
///
/// The FinSpace APIs let you take actions inside the FinSpace.
///
public partial class AmazonFinSpaceDataClient : AmazonServiceClient, IAmazonFinSpaceData
{
private static IServiceMetadata serviceMetadata = new AmazonFinSpaceDataMetadata();
#region Constructors
///
/// Constructs AmazonFinSpaceDataClient 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 AmazonFinSpaceDataClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonFinSpaceDataConfig()) { }
///
/// Constructs AmazonFinSpaceDataClient 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 AmazonFinSpaceDataClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonFinSpaceDataConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonFinSpaceDataClient 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 AmazonFinSpaceDataClient Configuration Object
public AmazonFinSpaceDataClient(AmazonFinSpaceDataConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonFinSpaceDataClient with AWS Credentials
///
/// AWS Credentials
public AmazonFinSpaceDataClient(AWSCredentials credentials)
: this(credentials, new AmazonFinSpaceDataConfig())
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonFinSpaceDataClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonFinSpaceDataConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Credentials and an
/// AmazonFinSpaceDataClient Configuration object.
///
/// AWS Credentials
/// The AmazonFinSpaceDataClient Configuration Object
public AmazonFinSpaceDataClient(AWSCredentials credentials, AmazonFinSpaceDataConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonFinSpaceDataClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonFinSpaceDataConfig())
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonFinSpaceDataClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonFinSpaceDataConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonFinSpaceDataClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonFinSpaceDataClient Configuration Object
public AmazonFinSpaceDataClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonFinSpaceDataConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonFinSpaceDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonFinSpaceDataConfig())
{
}
///
/// Constructs AmazonFinSpaceDataClient 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 AmazonFinSpaceDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonFinSpaceDataConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonFinSpaceDataClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonFinSpaceDataClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonFinSpaceDataClient Configuration Object
public AmazonFinSpaceDataClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonFinSpaceDataConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IFinSpaceDataPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IFinSpaceDataPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new FinSpaceDataPaginatorFactory(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 AmazonFinSpaceDataEndpointResolver());
}
///
/// 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 AssociateUserToPermissionGroup
internal virtual AssociateUserToPermissionGroupResponse AssociateUserToPermissionGroup(AssociateUserToPermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateUserToPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateUserToPermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds a user account to a permission group to grant permissions for actions a user
/// can perform in FinSpace.
///
/// Container for the necessary parameters to execute the AssociateUserToPermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateUserToPermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for AssociateUserToPermissionGroup Operation
public virtual Task AssociateUserToPermissionGroupAsync(AssociateUserToPermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateUserToPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateUserToPermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateChangeset
internal virtual CreateChangesetResponse CreateChangeset(CreateChangesetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateChangesetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateChangesetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new Changeset in a FinSpace Dataset.
///
/// Container for the necessary parameters to execute the CreateChangeset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateChangeset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateChangeset Operation
public virtual Task CreateChangesetAsync(CreateChangesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateChangesetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateChangesetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDataset
internal virtual CreateDatasetResponse CreateDataset(CreateDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new FinSpace Dataset.
///
/// Container for the necessary parameters to execute the CreateDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDataset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateDataset Operation
public virtual Task CreateDatasetAsync(CreateDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDataView
internal virtual CreateDataViewResponse CreateDataView(CreateDataViewRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataViewRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataViewResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Dataview for a Dataset.
///
/// Container for the necessary parameters to execute the CreateDataView service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDataView service method, as returned by FinSpaceData.
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateDataView Operation
public virtual Task CreateDataViewAsync(CreateDataViewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDataViewRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDataViewResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePermissionGroup
internal virtual CreatePermissionGroupResponse CreatePermissionGroup(CreatePermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a group of permissions for various actions that a user can perform in FinSpace.
///
/// Container for the necessary parameters to execute the CreatePermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreatePermissionGroup Operation
public virtual Task CreatePermissionGroupAsync(CreatePermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUser
internal virtual CreateUserResponse CreateUser(CreateUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new user in FinSpace.
///
/// Container for the necessary parameters to execute the CreateUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUser service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateUser Operation
public virtual Task CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDataset
internal virtual DeleteDatasetResponse DeleteDataset(DeleteDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a FinSpace Dataset.
///
/// Container for the necessary parameters to execute the DeleteDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDataset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeleteDataset Operation
public virtual Task DeleteDatasetAsync(DeleteDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePermissionGroup
internal virtual DeletePermissionGroupResponse DeletePermissionGroup(DeletePermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a permission group. This action is irreversible.
///
/// Container for the necessary parameters to execute the DeletePermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeletePermissionGroup Operation
public virtual Task DeletePermissionGroupAsync(DeletePermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisableUser
internal virtual DisableUserResponse DisableUser(DisableUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Denies access to the FinSpace web application and API for the specified user.
///
/// Container for the necessary parameters to execute the DisableUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisableUser service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DisableUser Operation
public virtual Task DisableUserAsync(DisableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateUserFromPermissionGroup
internal virtual DisassociateUserFromPermissionGroupResponse DisassociateUserFromPermissionGroup(DisassociateUserFromPermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateUserFromPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateUserFromPermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a user account from a permission group.
///
/// Container for the necessary parameters to execute the DisassociateUserFromPermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateUserFromPermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DisassociateUserFromPermissionGroup Operation
public virtual Task DisassociateUserFromPermissionGroupAsync(DisassociateUserFromPermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateUserFromPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateUserFromPermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EnableUser
internal virtual EnableUserResponse EnableUser(EnableUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows the specified user to access the FinSpace web application and API.
///
/// Container for the necessary parameters to execute the EnableUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EnableUser service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// A limit has exceeded.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for EnableUser Operation
public virtual Task EnableUserAsync(EnableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetChangeset
internal virtual GetChangesetResponse GetChangeset(GetChangesetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangesetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangesetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Get information about a Changeset.
///
/// Container for the necessary parameters to execute the GetChangeset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetChangeset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetChangeset Operation
public virtual Task GetChangesetAsync(GetChangesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangesetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangesetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDataset
internal virtual GetDatasetResponse GetDataset(GetDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a Dataset.
///
/// Container for the necessary parameters to execute the GetDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDataset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetDataset Operation
public virtual Task GetDatasetAsync(GetDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDataView
internal virtual GetDataViewResponse GetDataView(GetDataViewRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataViewRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataViewResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a Dataview.
///
/// Container for the necessary parameters to execute the GetDataView service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDataView service method, as returned by FinSpaceData.
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetDataView Operation
public virtual Task GetDataViewAsync(GetDataViewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDataViewRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDataViewResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetExternalDataViewAccessDetails
internal virtual GetExternalDataViewAccessDetailsResponse GetExternalDataViewAccessDetails(GetExternalDataViewAccessDetailsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExternalDataViewAccessDetailsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExternalDataViewAccessDetailsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the credentials to access the external Dataview from an S3 location. To call
/// this API:
///
/// -
///
/// You must retrieve the programmatic credentials.
///
///
-
///
/// You must be a member of a FinSpace user group, where the dataset that you want to
/// access has
Read Dataset Data
permissions.
///
///
///
/// Container for the necessary parameters to execute the GetExternalDataViewAccessDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetExternalDataViewAccessDetails service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetExternalDataViewAccessDetails Operation
public virtual Task GetExternalDataViewAccessDetailsAsync(GetExternalDataViewAccessDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExternalDataViewAccessDetailsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExternalDataViewAccessDetailsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetPermissionGroup
internal virtual GetPermissionGroupResponse GetPermissionGroup(GetPermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the details of a specific permission group.
///
/// Container for the necessary parameters to execute the GetPermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetPermissionGroup Operation
public virtual Task GetPermissionGroupAsync(GetPermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetProgrammaticAccessCredentials
internal virtual GetProgrammaticAccessCredentialsResponse GetProgrammaticAccessCredentials(GetProgrammaticAccessCredentialsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProgrammaticAccessCredentialsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProgrammaticAccessCredentialsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Request programmatic credentials to use with FinSpace SDK.
///
/// Container for the necessary parameters to execute the GetProgrammaticAccessCredentials service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetProgrammaticAccessCredentials service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetProgrammaticAccessCredentials Operation
public virtual Task GetProgrammaticAccessCredentialsAsync(GetProgrammaticAccessCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProgrammaticAccessCredentialsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProgrammaticAccessCredentialsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetUser
internal virtual GetUserResponse GetUser(GetUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves details for a specific user.
///
/// Container for the necessary parameters to execute the GetUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUser service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetUser Operation
public virtual Task GetUserAsync(GetUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetWorkingLocation
internal virtual GetWorkingLocationResponse GetWorkingLocation(GetWorkingLocationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkingLocationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkingLocationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// A temporary Amazon S3 location, where you can copy your files from a source location
/// to stage or use as a scratch space in FinSpace notebook.
///
/// Container for the necessary parameters to execute the GetWorkingLocation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetWorkingLocation service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetWorkingLocation Operation
public virtual Task GetWorkingLocationAsync(GetWorkingLocationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkingLocationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkingLocationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListChangesets
internal virtual ListChangesetsResponse ListChangesets(ListChangesetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListChangesetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListChangesetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the FinSpace Changesets for a Dataset.
///
/// Container for the necessary parameters to execute the ListChangesets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListChangesets service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListChangesets Operation
public virtual Task ListChangesetsAsync(ListChangesetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListChangesetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListChangesetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDatasets
internal virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all of the active Datasets that a user has access to.
///
/// Container for the necessary parameters to execute the ListDatasets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDatasets service method, as returned by FinSpaceData.
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListDatasets Operation
public virtual Task ListDatasetsAsync(ListDatasetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDataViews
internal virtual ListDataViewsResponse ListDataViews(ListDataViewsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataViewsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataViewsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all available Dataviews for a Dataset.
///
/// Container for the necessary parameters to execute the ListDataViews service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDataViews service method, as returned by FinSpaceData.
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListDataViews Operation
public virtual Task ListDataViewsAsync(ListDataViewsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDataViewsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDataViewsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPermissionGroups
internal virtual ListPermissionGroupsResponse ListPermissionGroups(ListPermissionGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all available permission groups in FinSpace.
///
/// Container for the necessary parameters to execute the ListPermissionGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPermissionGroups service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListPermissionGroups Operation
public virtual Task ListPermissionGroupsAsync(ListPermissionGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPermissionGroupsByUser
internal virtual ListPermissionGroupsByUserResponse ListPermissionGroupsByUser(ListPermissionGroupsByUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionGroupsByUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionGroupsByUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the permission groups that are associated with a specific user account.
///
/// Container for the necessary parameters to execute the ListPermissionGroupsByUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPermissionGroupsByUser service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListPermissionGroupsByUser Operation
public virtual Task ListPermissionGroupsByUserAsync(ListPermissionGroupsByUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPermissionGroupsByUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPermissionGroupsByUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUsers
internal virtual ListUsersResponse ListUsers(ListUsersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all available user accounts in FinSpace.
///
/// Container for the necessary parameters to execute the ListUsers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUsers service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListUsers Operation
public virtual Task ListUsersAsync(ListUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUsersByPermissionGroup
internal virtual ListUsersByPermissionGroupResponse ListUsersByPermissionGroup(ListUsersByPermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsersByPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsersByPermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists details of all the users in a specific permission group.
///
/// Container for the necessary parameters to execute the ListUsersByPermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUsersByPermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListUsersByPermissionGroup Operation
public virtual Task ListUsersByPermissionGroupAsync(ListUsersByPermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsersByPermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsersByPermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ResetUserPassword
internal virtual ResetUserPasswordResponse ResetUserPassword(ResetUserPasswordRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetUserPasswordRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetUserPasswordResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Resets the password for a specified user ID and generates a temporary one. Only a
/// superuser can reset password for other users. Resetting the password immediately invalidates
/// the previous password associated with the user.
///
/// Container for the necessary parameters to execute the ResetUserPassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResetUserPassword service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ResetUserPassword Operation
public virtual Task ResetUserPasswordAsync(ResetUserPasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetUserPasswordRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetUserPasswordResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateChangeset
internal virtual UpdateChangesetResponse UpdateChangeset(UpdateChangesetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateChangesetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateChangesetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a FinSpace Changeset.
///
/// Container for the necessary parameters to execute the UpdateChangeset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateChangeset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateChangeset Operation
public virtual Task UpdateChangesetAsync(UpdateChangesetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateChangesetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateChangesetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDataset
internal virtual UpdateDatasetResponse UpdateDataset(UpdateDatasetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDatasetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a FinSpace Dataset.
///
/// Container for the necessary parameters to execute the UpdateDataset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDataset service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateDataset Operation
public virtual Task UpdateDatasetAsync(UpdateDatasetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDatasetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDatasetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdatePermissionGroup
internal virtual UpdatePermissionGroupResponse UpdatePermissionGroup(UpdatePermissionGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePermissionGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the details of a permission group. You cannot modify a permissionGroupID
.
///
/// Container for the necessary parameters to execute the UpdatePermissionGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdatePermissionGroup service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdatePermissionGroup Operation
public virtual Task UpdatePermissionGroupAsync(UpdatePermissionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePermissionGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePermissionGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateUser
internal virtual UpdateUserResponse UpdateUser(UpdateUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the details of the specified user account. You cannot update the userId
/// for a user.
///
/// Container for the necessary parameters to execute the UpdateUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUser service method, as returned by FinSpaceData.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request conflicts with an existing resource.
///
///
/// The request processing has failed because of an unknown error, exception or failure.
///
///
/// One or more resources can't be found.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateUser Operation
public virtual Task UpdateUserAsync(UpdateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}