software.amazon.awssdk.services.finspacedata.FinspaceDataClient Maven / Gradle / Ivy
Show all versions of finspacedata Show documentation
/*
* 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.
*/
package software.amazon.awssdk.services.finspacedata;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.finspacedata.model.AccessDeniedException;
import software.amazon.awssdk.services.finspacedata.model.AssociateUserToPermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.AssociateUserToPermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.ConflictException;
import software.amazon.awssdk.services.finspacedata.model.CreateChangesetRequest;
import software.amazon.awssdk.services.finspacedata.model.CreateChangesetResponse;
import software.amazon.awssdk.services.finspacedata.model.CreateDataViewRequest;
import software.amazon.awssdk.services.finspacedata.model.CreateDataViewResponse;
import software.amazon.awssdk.services.finspacedata.model.CreateDatasetRequest;
import software.amazon.awssdk.services.finspacedata.model.CreateDatasetResponse;
import software.amazon.awssdk.services.finspacedata.model.CreatePermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.CreatePermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.CreateUserRequest;
import software.amazon.awssdk.services.finspacedata.model.CreateUserResponse;
import software.amazon.awssdk.services.finspacedata.model.DeleteDatasetRequest;
import software.amazon.awssdk.services.finspacedata.model.DeleteDatasetResponse;
import software.amazon.awssdk.services.finspacedata.model.DeletePermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.DeletePermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.DisableUserRequest;
import software.amazon.awssdk.services.finspacedata.model.DisableUserResponse;
import software.amazon.awssdk.services.finspacedata.model.DisassociateUserFromPermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.DisassociateUserFromPermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.EnableUserRequest;
import software.amazon.awssdk.services.finspacedata.model.EnableUserResponse;
import software.amazon.awssdk.services.finspacedata.model.FinspaceDataException;
import software.amazon.awssdk.services.finspacedata.model.GetChangesetRequest;
import software.amazon.awssdk.services.finspacedata.model.GetChangesetResponse;
import software.amazon.awssdk.services.finspacedata.model.GetDataViewRequest;
import software.amazon.awssdk.services.finspacedata.model.GetDataViewResponse;
import software.amazon.awssdk.services.finspacedata.model.GetDatasetRequest;
import software.amazon.awssdk.services.finspacedata.model.GetDatasetResponse;
import software.amazon.awssdk.services.finspacedata.model.GetExternalDataViewAccessDetailsRequest;
import software.amazon.awssdk.services.finspacedata.model.GetExternalDataViewAccessDetailsResponse;
import software.amazon.awssdk.services.finspacedata.model.GetPermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.GetPermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.GetProgrammaticAccessCredentialsRequest;
import software.amazon.awssdk.services.finspacedata.model.GetProgrammaticAccessCredentialsResponse;
import software.amazon.awssdk.services.finspacedata.model.GetUserRequest;
import software.amazon.awssdk.services.finspacedata.model.GetUserResponse;
import software.amazon.awssdk.services.finspacedata.model.GetWorkingLocationRequest;
import software.amazon.awssdk.services.finspacedata.model.GetWorkingLocationResponse;
import software.amazon.awssdk.services.finspacedata.model.InternalServerException;
import software.amazon.awssdk.services.finspacedata.model.LimitExceededException;
import software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest;
import software.amazon.awssdk.services.finspacedata.model.ListChangesetsResponse;
import software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest;
import software.amazon.awssdk.services.finspacedata.model.ListDataViewsResponse;
import software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest;
import software.amazon.awssdk.services.finspacedata.model.ListDatasetsResponse;
import software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsByUserRequest;
import software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsByUserResponse;
import software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest;
import software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsResponse;
import software.amazon.awssdk.services.finspacedata.model.ListUsersByPermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.ListUsersByPermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.ListUsersRequest;
import software.amazon.awssdk.services.finspacedata.model.ListUsersResponse;
import software.amazon.awssdk.services.finspacedata.model.ResetUserPasswordRequest;
import software.amazon.awssdk.services.finspacedata.model.ResetUserPasswordResponse;
import software.amazon.awssdk.services.finspacedata.model.ResourceNotFoundException;
import software.amazon.awssdk.services.finspacedata.model.ThrottlingException;
import software.amazon.awssdk.services.finspacedata.model.UpdateChangesetRequest;
import software.amazon.awssdk.services.finspacedata.model.UpdateChangesetResponse;
import software.amazon.awssdk.services.finspacedata.model.UpdateDatasetRequest;
import software.amazon.awssdk.services.finspacedata.model.UpdateDatasetResponse;
import software.amazon.awssdk.services.finspacedata.model.UpdatePermissionGroupRequest;
import software.amazon.awssdk.services.finspacedata.model.UpdatePermissionGroupResponse;
import software.amazon.awssdk.services.finspacedata.model.UpdateUserRequest;
import software.amazon.awssdk.services.finspacedata.model.UpdateUserResponse;
import software.amazon.awssdk.services.finspacedata.model.ValidationException;
import software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable;
import software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable;
import software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable;
import software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable;
import software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable;
/**
* Service client for accessing FinSpace Data. This can be created using the static {@link #builder()} method.
*
*
* The FinSpace APIs let you take actions inside the FinSpace.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface FinspaceDataClient extends AwsClient {
String SERVICE_NAME = "finspace-api";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "finspace-api";
/**
*
* Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.
*
*
* @param associateUserToPermissionGroupRequest
* @return Result of the AssociateUserToPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.AssociateUserToPermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default AssociateUserToPermissionGroupResponse associateUserToPermissionGroup(
AssociateUserToPermissionGroupRequest associateUserToPermissionGroupRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateUserToPermissionGroupRequest.Builder}
* avoiding the need to create one manually via {@link AssociateUserToPermissionGroupRequest#builder()}
*
*
* @param associateUserToPermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.AssociateUserToPermissionGroupRequest.Builder}
* to create a request.
* @return Result of the AssociateUserToPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.AssociateUserToPermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default AssociateUserToPermissionGroupResponse associateUserToPermissionGroup(
Consumer associateUserToPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return associateUserToPermissionGroup(AssociateUserToPermissionGroupRequest.builder()
.applyMutation(associateUserToPermissionGroupRequest).build());
}
/**
*
* Creates a new Changeset in a FinSpace Dataset.
*
*
* @param createChangesetRequest
* The request for a CreateChangeset operation.
* @return Result of the CreateChangeset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateChangeset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateChangesetResponse createChangeset(CreateChangesetRequest createChangesetRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException,
FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new Changeset in a FinSpace Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link CreateChangesetRequest.Builder} avoiding the need
* to create one manually via {@link CreateChangesetRequest#builder()}
*
*
* @param createChangesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.CreateChangesetRequest.Builder} to create a
* request. The request for a CreateChangeset operation.
* @return Result of the CreateChangeset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateChangeset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateChangesetResponse createChangeset(Consumer createChangesetRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException,
FinspaceDataException {
return createChangeset(CreateChangesetRequest.builder().applyMutation(createChangesetRequest).build());
}
/**
*
* Creates a Dataview for a Dataset.
*
*
* @param createDataViewRequest
* Request for creating a data view.
* @return Result of the CreateDataView operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateDataView
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateDataViewResponse createDataView(CreateDataViewRequest createDataViewRequest) throws InternalServerException,
ThrottlingException, ValidationException, LimitExceededException, ConflictException, ResourceNotFoundException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Dataview for a Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDataViewRequest.Builder} avoiding the need to
* create one manually via {@link CreateDataViewRequest#builder()}
*
*
* @param createDataViewRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.CreateDataViewRequest.Builder} to create a
* request. Request for creating a data view.
* @return Result of the CreateDataView operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateDataView
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateDataViewResponse createDataView(Consumer createDataViewRequest)
throws InternalServerException, ThrottlingException, ValidationException, LimitExceededException, ConflictException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return createDataView(CreateDataViewRequest.builder().applyMutation(createDataViewRequest).build());
}
/**
*
* Creates a new FinSpace Dataset.
*
*
* @param createDatasetRequest
* The request for a CreateDataset operation
* @return Result of the CreateDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateDatasetResponse createDataset(CreateDatasetRequest createDatasetRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new FinSpace Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDatasetRequest.Builder} avoiding the need to
* create one manually via {@link CreateDatasetRequest#builder()}
*
*
* @param createDatasetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.CreateDatasetRequest.Builder} to create a
* request. The request for a CreateDataset operation
* @return Result of the CreateDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateDatasetResponse createDataset(Consumer createDatasetRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
LimitExceededException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException,
FinspaceDataException {
return createDataset(CreateDatasetRequest.builder().applyMutation(createDatasetRequest).build());
}
/**
*
* Creates a group of permissions for various actions that a user can perform in FinSpace.
*
*
* @param createPermissionGroupRequest
* @return Result of the CreatePermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreatePermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreatePermissionGroupResponse createPermissionGroup(CreatePermissionGroupRequest createPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
LimitExceededException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a group of permissions for various actions that a user can perform in FinSpace.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePermissionGroupRequest.Builder} avoiding the
* need to create one manually via {@link CreatePermissionGroupRequest#builder()}
*
*
* @param createPermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.CreatePermissionGroupRequest.Builder} to create
* a request.
* @return Result of the CreatePermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreatePermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreatePermissionGroupResponse createPermissionGroup(
Consumer createPermissionGroupRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
return createPermissionGroup(CreatePermissionGroupRequest.builder().applyMutation(createPermissionGroupRequest).build());
}
/**
*
* Creates a new user in FinSpace.
*
*
* @param createUserRequest
* @return Result of the CreateUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateUserResponse createUser(CreateUserRequest createUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new user in FinSpace.
*
*
*
* This is a convenience which creates an instance of the {@link CreateUserRequest.Builder} avoiding the need to
* create one manually via {@link CreateUserRequest#builder()}
*
*
* @param createUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.CreateUserRequest.Builder} to create a request.
* @return Result of the CreateUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.CreateUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default CreateUserResponse createUser(Consumer createUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, LimitExceededException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
return createUser(CreateUserRequest.builder().applyMutation(createUserRequest).build());
}
/**
*
* Deletes a FinSpace Dataset.
*
*
* @param deleteDatasetRequest
* The request for a DeleteDataset operation.
* @return Result of the DeleteDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DeleteDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DeleteDatasetResponse deleteDataset(DeleteDatasetRequest deleteDatasetRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a FinSpace Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDatasetRequest.Builder} avoiding the need to
* create one manually via {@link DeleteDatasetRequest#builder()}
*
*
* @param deleteDatasetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.DeleteDatasetRequest.Builder} to create a
* request. The request for a DeleteDataset operation.
* @return Result of the DeleteDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DeleteDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DeleteDatasetResponse deleteDataset(Consumer deleteDatasetRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException,
FinspaceDataException {
return deleteDataset(DeleteDatasetRequest.builder().applyMutation(deleteDatasetRequest).build());
}
/**
*
* Deletes a permission group. This action is irreversible.
*
*
* @param deletePermissionGroupRequest
* @return Result of the DeletePermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DeletePermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DeletePermissionGroupResponse deletePermissionGroup(DeletePermissionGroupRequest deletePermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException,
FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a permission group. This action is irreversible.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePermissionGroupRequest.Builder} avoiding the
* need to create one manually via {@link DeletePermissionGroupRequest#builder()}
*
*
* @param deletePermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.DeletePermissionGroupRequest.Builder} to create
* a request.
* @return Result of the DeletePermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DeletePermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DeletePermissionGroupResponse deletePermissionGroup(
Consumer deletePermissionGroupRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return deletePermissionGroup(DeletePermissionGroupRequest.builder().applyMutation(deletePermissionGroupRequest).build());
}
/**
*
* Denies access to the FinSpace web application and API for the specified user.
*
*
* @param disableUserRequest
* @return Result of the DisableUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DisableUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DisableUserResponse disableUser(DisableUserRequest disableUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Denies access to the FinSpace web application and API for the specified user.
*
*
*
* This is a convenience which creates an instance of the {@link DisableUserRequest.Builder} avoiding the need to
* create one manually via {@link DisableUserRequest#builder()}
*
*
* @param disableUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.DisableUserRequest.Builder} to create a request.
* @return Result of the DisableUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DisableUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DisableUserResponse disableUser(Consumer disableUserRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return disableUser(DisableUserRequest.builder().applyMutation(disableUserRequest).build());
}
/**
*
* Removes a user from a permission group.
*
*
* @param disassociateUserFromPermissionGroupRequest
* @return Result of the DisassociateUserFromPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DisassociateUserFromPermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DisassociateUserFromPermissionGroupResponse disassociateUserFromPermissionGroup(
DisassociateUserFromPermissionGroupRequest disassociateUserFromPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Removes a user from a permission group.
*
*
*
* This is a convenience which creates an instance of the {@link DisassociateUserFromPermissionGroupRequest.Builder}
* avoiding the need to create one manually via {@link DisassociateUserFromPermissionGroupRequest#builder()}
*
*
* @param disassociateUserFromPermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.DisassociateUserFromPermissionGroupRequest.Builder}
* to create a request.
* @return Result of the DisassociateUserFromPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.DisassociateUserFromPermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default DisassociateUserFromPermissionGroupResponse disassociateUserFromPermissionGroup(
Consumer disassociateUserFromPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return disassociateUserFromPermissionGroup(DisassociateUserFromPermissionGroupRequest.builder()
.applyMutation(disassociateUserFromPermissionGroupRequest).build());
}
/**
*
* Allows the specified user to access the FinSpace web application and API.
*
*
* @param enableUserRequest
* @return Result of the EnableUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.EnableUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default EnableUserResponse enableUser(EnableUserRequest enableUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Allows the specified user to access the FinSpace web application and API.
*
*
*
* This is a convenience which creates an instance of the {@link EnableUserRequest.Builder} avoiding the need to
* create one manually via {@link EnableUserRequest#builder()}
*
*
* @param enableUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.EnableUserRequest.Builder} to create a request.
* @return Result of the EnableUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws LimitExceededException
* A limit has exceeded.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.EnableUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default EnableUserResponse enableUser(Consumer enableUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, LimitExceededException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return enableUser(EnableUserRequest.builder().applyMutation(enableUserRequest).build());
}
/**
*
* Get information about a Changeset.
*
*
* @param getChangesetRequest
* Request to describe a changeset.
* @return Result of the GetChangeset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetChangeset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetChangesetResponse getChangeset(GetChangesetRequest getChangesetRequest) throws ResourceNotFoundException,
InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Get information about a Changeset.
*
*
*
* This is a convenience which creates an instance of the {@link GetChangesetRequest.Builder} avoiding the need to
* create one manually via {@link GetChangesetRequest#builder()}
*
*
* @param getChangesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetChangesetRequest.Builder} to create a
* request. Request to describe a changeset.
* @return Result of the GetChangeset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetChangeset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetChangesetResponse getChangeset(Consumer getChangesetRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return getChangeset(GetChangesetRequest.builder().applyMutation(getChangesetRequest).build());
}
/**
*
* Gets information about a Dataview.
*
*
* @param getDataViewRequest
* Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.
* @return Result of the GetDataView operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetDataView
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetDataViewResponse getDataView(GetDataViewRequest getDataViewRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Gets information about a Dataview.
*
*
*
* This is a convenience which creates an instance of the {@link GetDataViewRequest.Builder} avoiding the need to
* create one manually via {@link GetDataViewRequest#builder()}
*
*
* @param getDataViewRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetDataViewRequest.Builder} to create a request.
* Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.
* @return Result of the GetDataView operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetDataView
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetDataViewResponse getDataView(Consumer getDataViewRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return getDataView(GetDataViewRequest.builder().applyMutation(getDataViewRequest).build());
}
/**
*
* Returns information about a Dataset.
*
*
* @param getDatasetRequest
* Request for the GetDataset operation.
* @return Result of the GetDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetDatasetResponse getDataset(GetDatasetRequest getDatasetRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about a Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link GetDatasetRequest.Builder} avoiding the need to
* create one manually via {@link GetDatasetRequest#builder()}
*
*
* @param getDatasetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetDatasetRequest.Builder} to create a request.
* Request for the GetDataset operation.
* @return Result of the GetDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetDatasetResponse getDataset(Consumer getDatasetRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
return getDataset(GetDatasetRequest.builder().applyMutation(getDatasetRequest).build());
}
/**
*
* 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.
*
*
*
*
* @param getExternalDataViewAccessDetailsRequest
* @return Result of the GetExternalDataViewAccessDetails operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetExternalDataViewAccessDetails
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetExternalDataViewAccessDetailsResponse getExternalDataViewAccessDetails(
GetExternalDataViewAccessDetailsRequest getExternalDataViewAccessDetailsRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link GetExternalDataViewAccessDetailsRequest.Builder}
* avoiding the need to create one manually via {@link GetExternalDataViewAccessDetailsRequest#builder()}
*
*
* @param getExternalDataViewAccessDetailsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetExternalDataViewAccessDetailsRequest.Builder}
* to create a request.
* @return Result of the GetExternalDataViewAccessDetails operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetExternalDataViewAccessDetails
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetExternalDataViewAccessDetailsResponse getExternalDataViewAccessDetails(
Consumer getExternalDataViewAccessDetailsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException {
return getExternalDataViewAccessDetails(GetExternalDataViewAccessDetailsRequest.builder()
.applyMutation(getExternalDataViewAccessDetailsRequest).build());
}
/**
*
* Retrieves the details of a specific permission group.
*
*
* @param getPermissionGroupRequest
* @return Result of the GetPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetPermissionGroup
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetPermissionGroupResponse getPermissionGroup(GetPermissionGroupRequest getPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the details of a specific permission group.
*
*
*
* This is a convenience which creates an instance of the {@link GetPermissionGroupRequest.Builder} avoiding the
* need to create one manually via {@link GetPermissionGroupRequest#builder()}
*
*
* @param getPermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetPermissionGroupRequest.Builder} to create a
* request.
* @return Result of the GetPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetPermissionGroup
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetPermissionGroupResponse getPermissionGroup(Consumer getPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return getPermissionGroup(GetPermissionGroupRequest.builder().applyMutation(getPermissionGroupRequest).build());
}
/**
*
* Request programmatic credentials to use with FinSpace SDK. For more information, see Step
* 2. Access credentials programmatically using IAM access key id and secret access key.
*
*
* @param getProgrammaticAccessCredentialsRequest
* Request for GetProgrammaticAccessCredentials operation
* @return Result of the GetProgrammaticAccessCredentials operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetProgrammaticAccessCredentials
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetProgrammaticAccessCredentialsResponse getProgrammaticAccessCredentials(
GetProgrammaticAccessCredentialsRequest getProgrammaticAccessCredentialsRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Request programmatic credentials to use with FinSpace SDK. For more information, see Step
* 2. Access credentials programmatically using IAM access key id and secret access key.
*
*
*
* This is a convenience which creates an instance of the {@link GetProgrammaticAccessCredentialsRequest.Builder}
* avoiding the need to create one manually via {@link GetProgrammaticAccessCredentialsRequest#builder()}
*
*
* @param getProgrammaticAccessCredentialsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetProgrammaticAccessCredentialsRequest.Builder}
* to create a request. Request for GetProgrammaticAccessCredentials operation
* @return Result of the GetProgrammaticAccessCredentials operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetProgrammaticAccessCredentials
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetProgrammaticAccessCredentialsResponse getProgrammaticAccessCredentials(
Consumer getProgrammaticAccessCredentialsRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException,
SdkClientException, FinspaceDataException {
return getProgrammaticAccessCredentials(GetProgrammaticAccessCredentialsRequest.builder()
.applyMutation(getProgrammaticAccessCredentialsRequest).build());
}
/**
*
* Retrieves details for a specific user.
*
*
* @param getUserRequest
* @return Result of the GetUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetUserResponse getUser(GetUserRequest getUserRequest) throws InternalServerException, ValidationException,
ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException,
FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves details for a specific user.
*
*
*
* This is a convenience which creates an instance of the {@link GetUserRequest.Builder} avoiding the need to create
* one manually via {@link GetUserRequest#builder()}
*
*
* @param getUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetUserRequest.Builder} to create a request.
* @return Result of the GetUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetUserResponse getUser(Consumer getUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException,
SdkClientException, FinspaceDataException {
return getUser(GetUserRequest.builder().applyMutation(getUserRequest).build());
}
/**
*
* 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.
*
*
* @param getWorkingLocationRequest
* @return Result of the GetWorkingLocation operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetWorkingLocation
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetWorkingLocationResponse getWorkingLocation(GetWorkingLocationRequest getWorkingLocationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link GetWorkingLocationRequest.Builder} avoiding the
* need to create one manually via {@link GetWorkingLocationRequest#builder()}
*
*
* @param getWorkingLocationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.GetWorkingLocationRequest.Builder} to create a
* request.
* @return Result of the GetWorkingLocation operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.GetWorkingLocation
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default GetWorkingLocationResponse getWorkingLocation(Consumer getWorkingLocationRequest)
throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException,
SdkClientException, FinspaceDataException {
return getWorkingLocation(GetWorkingLocationRequest.builder().applyMutation(getWorkingLocationRequest).build());
}
/**
*
* Lists the FinSpace Changesets for a Dataset.
*
*
* @param listChangesetsRequest
* Request to ListChangesetsRequest. It exposes minimal query filters.
* @return Result of the ListChangesets operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListChangesets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListChangesetsResponse listChangesets(ListChangesetsRequest listChangesetsRequest) throws ResourceNotFoundException,
InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the FinSpace Changesets for a Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link ListChangesetsRequest.Builder} avoiding the need to
* create one manually via {@link ListChangesetsRequest#builder()}
*
*
* @param listChangesetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest.Builder} to create a
* request. Request to ListChangesetsRequest. It exposes minimal query filters.
* @return Result of the ListChangesets operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListChangesets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListChangesetsResponse listChangesets(Consumer listChangesetsRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return listChangesets(ListChangesetsRequest.builder().applyMutation(listChangesetsRequest).build());
}
/**
*
* This is a variant of
* {@link #listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client
* .listChangesetsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListChangesetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)} operation.
*
*
* @param listChangesetsRequest
* Request to ListChangesetsRequest. It exposes minimal query filters.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListChangesets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListChangesetsIterable listChangesetsPaginator(ListChangesetsRequest listChangesetsRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return new ListChangesetsIterable(this, listChangesetsRequest);
}
/**
*
* This is a variant of
* {@link #listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client
* .listChangesetsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListChangesetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListChangesetsIterable responses = client.listChangesetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listChangesets(software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListChangesetsRequest.Builder} avoiding the need to
* create one manually via {@link ListChangesetsRequest#builder()}
*
*
* @param listChangesetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListChangesetsRequest.Builder} to create a
* request. Request to ListChangesetsRequest. It exposes minimal query filters.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListChangesets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListChangesetsIterable listChangesetsPaginator(Consumer listChangesetsRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return listChangesetsPaginator(ListChangesetsRequest.builder().applyMutation(listChangesetsRequest).build());
}
/**
*
* Lists all available Dataviews for a Dataset.
*
*
* @param listDataViewsRequest
* Request for a list data views.
* @return Result of the ListDataViews operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDataViews
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDataViewsResponse listDataViews(ListDataViewsRequest listDataViewsRequest) throws ResourceNotFoundException,
InternalServerException, ThrottlingException, ValidationException, ConflictException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all available Dataviews for a Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link ListDataViewsRequest.Builder} avoiding the need to
* create one manually via {@link ListDataViewsRequest#builder()}
*
*
* @param listDataViewsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest.Builder} to create a
* request. Request for a list data views.
* @return Result of the ListDataViews operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDataViews
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDataViewsResponse listDataViews(Consumer listDataViewsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return listDataViews(ListDataViewsRequest.builder().applyMutation(listDataViewsRequest).build());
}
/**
*
* This is a variant of
* {@link #listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client
* .listDataViewsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListDataViewsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)} operation.
*
*
* @param listDataViewsRequest
* Request for a list data views.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDataViews
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDataViewsIterable listDataViewsPaginator(ListDataViewsRequest listDataViewsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return new ListDataViewsIterable(this, listDataViewsRequest);
}
/**
*
* This is a variant of
* {@link #listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client
* .listDataViewsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListDataViewsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDataViewsIterable responses = client.listDataViewsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDataViews(software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListDataViewsRequest.Builder} avoiding the need to
* create one manually via {@link ListDataViewsRequest#builder()}
*
*
* @param listDataViewsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListDataViewsRequest.Builder} to create a
* request. Request for a list data views.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDataViews
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDataViewsIterable listDataViewsPaginator(Consumer listDataViewsRequest)
throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException,
ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return listDataViewsPaginator(ListDataViewsRequest.builder().applyMutation(listDataViewsRequest).build());
}
/**
*
* Lists all of the active Datasets that a user has access to.
*
*
* @param listDatasetsRequest
* Request for the ListDatasets operation.
* @return Result of the ListDatasets operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDatasets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDatasetsResponse listDatasets(ListDatasetsRequest listDatasetsRequest) throws InternalServerException,
ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all of the active Datasets that a user has access to.
*
*
*
* This is a convenience which creates an instance of the {@link ListDatasetsRequest.Builder} avoiding the need to
* create one manually via {@link ListDatasetsRequest#builder()}
*
*
* @param listDatasetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest.Builder} to create a
* request. Request for the ListDatasets operation.
* @return Result of the ListDatasets operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDatasets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDatasetsResponse listDatasets(Consumer listDatasetsRequest)
throws InternalServerException, ThrottlingException, ValidationException, ConflictException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return listDatasets(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build());
}
/**
*
* This is a variant of
* {@link #listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client
* .listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)} operation.
*
*
* @param listDatasetsRequest
* Request for the ListDatasets operation.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDatasets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDatasetsIterable listDatasetsPaginator(ListDatasetsRequest listDatasetsRequest) throws InternalServerException,
ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException,
SdkClientException, FinspaceDataException {
return new ListDatasetsIterable(this, listDatasetsRequest);
}
/**
*
* This is a variant of
* {@link #listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)} operation. The
* return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
* making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client
* .listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listDatasets(software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListDatasetsRequest.Builder} avoiding the need to
* create one manually via {@link ListDatasetsRequest#builder()}
*
*
* @param listDatasetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListDatasetsRequest.Builder} to create a
* request. Request for the ListDatasets operation.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListDatasets
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListDatasetsIterable listDatasetsPaginator(Consumer listDatasetsRequest)
throws InternalServerException, ThrottlingException, ValidationException, ConflictException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return listDatasetsPaginator(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build());
}
/**
*
* Lists all available permission groups in FinSpace.
*
*
* @param listPermissionGroupsRequest
* @return Result of the ListPermissionGroups operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListPermissionGroups
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListPermissionGroupsResponse listPermissionGroups(ListPermissionGroupsRequest listPermissionGroupsRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all available permission groups in FinSpace.
*
*
*
* This is a convenience which creates an instance of the {@link ListPermissionGroupsRequest.Builder} avoiding the
* need to create one manually via {@link ListPermissionGroupsRequest#builder()}
*
*
* @param listPermissionGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest.Builder} to create a
* request.
* @return Result of the ListPermissionGroups operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListPermissionGroups
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListPermissionGroupsResponse listPermissionGroups(
Consumer listPermissionGroupsRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
FinspaceDataException {
return listPermissionGroups(ListPermissionGroupsRequest.builder().applyMutation(listPermissionGroupsRequest).build());
}
/**
*
* This is a variant of
* {@link #listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client
* .listPermissionGroupsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)}
* operation.
*
*
* @param listPermissionGroupsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListPermissionGroups
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListPermissionGroupsIterable listPermissionGroupsPaginator(ListPermissionGroupsRequest listPermissionGroupsRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException,
SdkClientException, FinspaceDataException {
return new ListPermissionGroupsIterable(this, listPermissionGroupsRequest);
}
/**
*
* This is a variant of
* {@link #listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client
* .listPermissionGroupsPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListPermissionGroupsIterable responses = client.listPermissionGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listPermissionGroups(software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListPermissionGroupsRequest.Builder} avoiding the
* need to create one manually via {@link ListPermissionGroupsRequest#builder()}
*
*
* @param listPermissionGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListPermissionGroups
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListPermissionGroupsIterable listPermissionGroupsPaginator(
Consumer listPermissionGroupsRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
FinspaceDataException {
return listPermissionGroupsPaginator(ListPermissionGroupsRequest.builder().applyMutation(listPermissionGroupsRequest)
.build());
}
/**
*
* Lists all the permission groups that are associated with a specific user.
*
*
* @param listPermissionGroupsByUserRequest
* @return Result of the ListPermissionGroupsByUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListPermissionGroupsByUser
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListPermissionGroupsByUserResponse listPermissionGroupsByUser(
ListPermissionGroupsByUserRequest listPermissionGroupsByUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the permission groups that are associated with a specific user.
*
*
*
* This is a convenience which creates an instance of the {@link ListPermissionGroupsByUserRequest.Builder} avoiding
* the need to create one manually via {@link ListPermissionGroupsByUserRequest#builder()}
*
*
* @param listPermissionGroupsByUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListPermissionGroupsByUserRequest.Builder} to
* create a request.
* @return Result of the ListPermissionGroupsByUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListPermissionGroupsByUser
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListPermissionGroupsByUserResponse listPermissionGroupsByUser(
Consumer listPermissionGroupsByUserRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return listPermissionGroupsByUser(ListPermissionGroupsByUserRequest.builder()
.applyMutation(listPermissionGroupsByUserRequest).build());
}
/**
*
* Lists all available users in FinSpace.
*
*
* @param listUsersRequest
* @return Result of the ListUsers operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListUsers
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListUsersResponse listUsers(ListUsersRequest listUsersRequest) throws InternalServerException, ValidationException,
ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all available users in FinSpace.
*
*
*
* This is a convenience which creates an instance of the {@link ListUsersRequest.Builder} avoiding the need to
* create one manually via {@link ListUsersRequest#builder()}
*
*
* @param listUsersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListUsersRequest.Builder} to create a request.
* @return Result of the ListUsers operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListUsers
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListUsersResponse listUsers(Consumer listUsersRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
FinspaceDataException {
return listUsers(ListUsersRequest.builder().applyMutation(listUsersRequest).build());
}
/**
*
* This is a variant of {@link #listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListUsersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)} operation.
*
*
* @param listUsersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListUsers
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListUsersIterable listUsersPaginator(ListUsersRequest listUsersRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
FinspaceDataException {
return new ListUsersIterable(this, listUsersRequest);
}
/**
*
* This is a variant of {@link #listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
* for (software.amazon.awssdk.services.finspacedata.model.ListUsersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.finspacedata.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of maxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listUsers(software.amazon.awssdk.services.finspacedata.model.ListUsersRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListUsersRequest.Builder} avoiding the need to
* create one manually via {@link ListUsersRequest#builder()}
*
*
* @param listUsersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListUsersRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListUsers
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListUsersIterable listUsersPaginator(Consumer listUsersRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException,
SdkClientException, FinspaceDataException {
return listUsersPaginator(ListUsersRequest.builder().applyMutation(listUsersRequest).build());
}
/**
*
* Lists details of all the users in a specific permission group.
*
*
* @param listUsersByPermissionGroupRequest
* @return Result of the ListUsersByPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListUsersByPermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListUsersByPermissionGroupResponse listUsersByPermissionGroup(
ListUsersByPermissionGroupRequest listUsersByPermissionGroupRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException,
SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Lists details of all the users in a specific permission group.
*
*
*
* This is a convenience which creates an instance of the {@link ListUsersByPermissionGroupRequest.Builder} avoiding
* the need to create one manually via {@link ListUsersByPermissionGroupRequest#builder()}
*
*
* @param listUsersByPermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ListUsersByPermissionGroupRequest.Builder} to
* create a request.
* @return Result of the ListUsersByPermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ListUsersByPermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ListUsersByPermissionGroupResponse listUsersByPermissionGroup(
Consumer listUsersByPermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return listUsersByPermissionGroup(ListUsersByPermissionGroupRequest.builder()
.applyMutation(listUsersByPermissionGroupRequest).build());
}
/**
*
* 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.
*
*
* @param resetUserPasswordRequest
* @return Result of the ResetUserPassword operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ResetUserPassword
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ResetUserPasswordResponse resetUserPassword(ResetUserPasswordRequest resetUserPasswordRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ResetUserPasswordRequest.Builder} avoiding the need
* to create one manually via {@link ResetUserPasswordRequest#builder()}
*
*
* @param resetUserPasswordRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.ResetUserPasswordRequest.Builder} to create a
* request.
* @return Result of the ResetUserPassword operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.ResetUserPassword
* @see AWS
* API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default ResetUserPasswordResponse resetUserPassword(Consumer resetUserPasswordRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return resetUserPassword(ResetUserPasswordRequest.builder().applyMutation(resetUserPasswordRequest).build());
}
/**
*
* Updates a FinSpace Changeset.
*
*
* @param updateChangesetRequest
* Request to update an existing changeset.
* @return Result of the UpdateChangeset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdateChangeset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdateChangesetResponse updateChangeset(UpdateChangesetRequest updateChangesetRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a FinSpace Changeset.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateChangesetRequest.Builder} avoiding the need
* to create one manually via {@link UpdateChangesetRequest#builder()}
*
*
* @param updateChangesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.UpdateChangesetRequest.Builder} to create a
* request. Request to update an existing changeset.
* @return Result of the UpdateChangeset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdateChangeset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdateChangesetResponse updateChangeset(Consumer updateChangesetRequest)
throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException,
AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
return updateChangeset(UpdateChangesetRequest.builder().applyMutation(updateChangesetRequest).build());
}
/**
*
* Updates a FinSpace Dataset.
*
*
* @param updateDatasetRequest
* The request for an UpdateDataset operation
* @return Result of the UpdateDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdateDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdateDatasetResponse updateDataset(UpdateDatasetRequest updateDatasetRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ConflictException, ResourceNotFoundException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a FinSpace Dataset.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDatasetRequest.Builder} avoiding the need to
* create one manually via {@link UpdateDatasetRequest#builder()}
*
*
* @param updateDatasetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.UpdateDatasetRequest.Builder} to create a
* request. The request for an UpdateDataset operation
* @return Result of the UpdateDataset operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdateDataset
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdateDatasetResponse updateDataset(Consumer updateDatasetRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, ConflictException,
ResourceNotFoundException, AwsServiceException, SdkClientException, FinspaceDataException {
return updateDataset(UpdateDatasetRequest.builder().applyMutation(updateDatasetRequest).build());
}
/**
*
* Modifies the details of a permission group. You cannot modify a permissionGroupID
.
*
*
* @param updatePermissionGroupRequest
* @return Result of the UpdatePermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdatePermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdatePermissionGroupResponse updatePermissionGroup(UpdatePermissionGroupRequest updatePermissionGroupRequest)
throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException,
ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the details of a permission group. You cannot modify a permissionGroupID
.
*
*
*
* This is a convenience which creates an instance of the {@link UpdatePermissionGroupRequest.Builder} avoiding the
* need to create one manually via {@link UpdatePermissionGroupRequest#builder()}
*
*
* @param updatePermissionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.UpdatePermissionGroupRequest.Builder} to create
* a request.
* @return Result of the UpdatePermissionGroup operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdatePermissionGroup
* @see AWS API Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdatePermissionGroupResponse updatePermissionGroup(
Consumer updatePermissionGroupRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
return updatePermissionGroup(UpdatePermissionGroupRequest.builder().applyMutation(updatePermissionGroupRequest).build());
}
/**
*
* Modifies the details of the specified user. You cannot update the userId
for a user.
*
*
* @param updateUserRequest
* @return Result of the UpdateUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdateUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdateUserResponse updateUser(UpdateUserRequest updateUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the details of the specified user. You cannot update the userId
for a user.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateUserRequest.Builder} avoiding the need to
* create one manually via {@link UpdateUserRequest#builder()}
*
*
* @param updateUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.finspacedata.model.UpdateUserRequest.Builder} to create a request.
* @return Result of the UpdateUser operation returned by the service.
* @throws InternalServerException
* The request processing has failed because of an unknown error, exception or failure.
* @throws ValidationException
* The input fails to satisfy the constraints specified by an AWS service.
* @throws ThrottlingException
* The request was denied due to request throttling.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ConflictException
* The request conflicts with an existing resource.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws FinspaceDataException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample FinspaceDataClient.UpdateUser
* @see AWS API
* Documentation
*
* @deprecated This method will be discontinued.
*/
@Deprecated
default UpdateUserResponse updateUser(Consumer updateUserRequest) throws InternalServerException,
ValidationException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, ConflictException,
AwsServiceException, SdkClientException, FinspaceDataException {
return updateUser(UpdateUserRequest.builder().applyMutation(updateUserRequest).build());
}
/**
* Create a {@link FinspaceDataClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static FinspaceDataClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link FinspaceDataClient}.
*/
static FinspaceDataClientBuilder builder() {
return new DefaultFinspaceDataClientBuilder();
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
@Override
default FinspaceDataServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
}