software.amazon.awssdk.services.databrew.DataBrewClient Maven / Gradle / Ivy
Show all versions of databrew 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.databrew;
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.databrew.model.AccessDeniedException;
import software.amazon.awssdk.services.databrew.model.BatchDeleteRecipeVersionRequest;
import software.amazon.awssdk.services.databrew.model.BatchDeleteRecipeVersionResponse;
import software.amazon.awssdk.services.databrew.model.ConflictException;
import software.amazon.awssdk.services.databrew.model.CreateDatasetRequest;
import software.amazon.awssdk.services.databrew.model.CreateDatasetResponse;
import software.amazon.awssdk.services.databrew.model.CreateProfileJobRequest;
import software.amazon.awssdk.services.databrew.model.CreateProfileJobResponse;
import software.amazon.awssdk.services.databrew.model.CreateProjectRequest;
import software.amazon.awssdk.services.databrew.model.CreateProjectResponse;
import software.amazon.awssdk.services.databrew.model.CreateRecipeJobRequest;
import software.amazon.awssdk.services.databrew.model.CreateRecipeJobResponse;
import software.amazon.awssdk.services.databrew.model.CreateRecipeRequest;
import software.amazon.awssdk.services.databrew.model.CreateRecipeResponse;
import software.amazon.awssdk.services.databrew.model.CreateRulesetRequest;
import software.amazon.awssdk.services.databrew.model.CreateRulesetResponse;
import software.amazon.awssdk.services.databrew.model.CreateScheduleRequest;
import software.amazon.awssdk.services.databrew.model.CreateScheduleResponse;
import software.amazon.awssdk.services.databrew.model.DataBrewException;
import software.amazon.awssdk.services.databrew.model.DeleteDatasetRequest;
import software.amazon.awssdk.services.databrew.model.DeleteDatasetResponse;
import software.amazon.awssdk.services.databrew.model.DeleteJobRequest;
import software.amazon.awssdk.services.databrew.model.DeleteJobResponse;
import software.amazon.awssdk.services.databrew.model.DeleteProjectRequest;
import software.amazon.awssdk.services.databrew.model.DeleteProjectResponse;
import software.amazon.awssdk.services.databrew.model.DeleteRecipeVersionRequest;
import software.amazon.awssdk.services.databrew.model.DeleteRecipeVersionResponse;
import software.amazon.awssdk.services.databrew.model.DeleteRulesetRequest;
import software.amazon.awssdk.services.databrew.model.DeleteRulesetResponse;
import software.amazon.awssdk.services.databrew.model.DeleteScheduleRequest;
import software.amazon.awssdk.services.databrew.model.DeleteScheduleResponse;
import software.amazon.awssdk.services.databrew.model.DescribeDatasetRequest;
import software.amazon.awssdk.services.databrew.model.DescribeDatasetResponse;
import software.amazon.awssdk.services.databrew.model.DescribeJobRequest;
import software.amazon.awssdk.services.databrew.model.DescribeJobResponse;
import software.amazon.awssdk.services.databrew.model.DescribeJobRunRequest;
import software.amazon.awssdk.services.databrew.model.DescribeJobRunResponse;
import software.amazon.awssdk.services.databrew.model.DescribeProjectRequest;
import software.amazon.awssdk.services.databrew.model.DescribeProjectResponse;
import software.amazon.awssdk.services.databrew.model.DescribeRecipeRequest;
import software.amazon.awssdk.services.databrew.model.DescribeRecipeResponse;
import software.amazon.awssdk.services.databrew.model.DescribeRulesetRequest;
import software.amazon.awssdk.services.databrew.model.DescribeRulesetResponse;
import software.amazon.awssdk.services.databrew.model.DescribeScheduleRequest;
import software.amazon.awssdk.services.databrew.model.DescribeScheduleResponse;
import software.amazon.awssdk.services.databrew.model.InternalServerException;
import software.amazon.awssdk.services.databrew.model.ListDatasetsRequest;
import software.amazon.awssdk.services.databrew.model.ListDatasetsResponse;
import software.amazon.awssdk.services.databrew.model.ListJobRunsRequest;
import software.amazon.awssdk.services.databrew.model.ListJobRunsResponse;
import software.amazon.awssdk.services.databrew.model.ListJobsRequest;
import software.amazon.awssdk.services.databrew.model.ListJobsResponse;
import software.amazon.awssdk.services.databrew.model.ListProjectsRequest;
import software.amazon.awssdk.services.databrew.model.ListProjectsResponse;
import software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest;
import software.amazon.awssdk.services.databrew.model.ListRecipeVersionsResponse;
import software.amazon.awssdk.services.databrew.model.ListRecipesRequest;
import software.amazon.awssdk.services.databrew.model.ListRecipesResponse;
import software.amazon.awssdk.services.databrew.model.ListRulesetsRequest;
import software.amazon.awssdk.services.databrew.model.ListRulesetsResponse;
import software.amazon.awssdk.services.databrew.model.ListSchedulesRequest;
import software.amazon.awssdk.services.databrew.model.ListSchedulesResponse;
import software.amazon.awssdk.services.databrew.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.databrew.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.databrew.model.PublishRecipeRequest;
import software.amazon.awssdk.services.databrew.model.PublishRecipeResponse;
import software.amazon.awssdk.services.databrew.model.ResourceNotFoundException;
import software.amazon.awssdk.services.databrew.model.SendProjectSessionActionRequest;
import software.amazon.awssdk.services.databrew.model.SendProjectSessionActionResponse;
import software.amazon.awssdk.services.databrew.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.databrew.model.StartJobRunRequest;
import software.amazon.awssdk.services.databrew.model.StartJobRunResponse;
import software.amazon.awssdk.services.databrew.model.StartProjectSessionRequest;
import software.amazon.awssdk.services.databrew.model.StartProjectSessionResponse;
import software.amazon.awssdk.services.databrew.model.StopJobRunRequest;
import software.amazon.awssdk.services.databrew.model.StopJobRunResponse;
import software.amazon.awssdk.services.databrew.model.TagResourceRequest;
import software.amazon.awssdk.services.databrew.model.TagResourceResponse;
import software.amazon.awssdk.services.databrew.model.UntagResourceRequest;
import software.amazon.awssdk.services.databrew.model.UntagResourceResponse;
import software.amazon.awssdk.services.databrew.model.UpdateDatasetRequest;
import software.amazon.awssdk.services.databrew.model.UpdateDatasetResponse;
import software.amazon.awssdk.services.databrew.model.UpdateProfileJobRequest;
import software.amazon.awssdk.services.databrew.model.UpdateProfileJobResponse;
import software.amazon.awssdk.services.databrew.model.UpdateProjectRequest;
import software.amazon.awssdk.services.databrew.model.UpdateProjectResponse;
import software.amazon.awssdk.services.databrew.model.UpdateRecipeJobRequest;
import software.amazon.awssdk.services.databrew.model.UpdateRecipeJobResponse;
import software.amazon.awssdk.services.databrew.model.UpdateRecipeRequest;
import software.amazon.awssdk.services.databrew.model.UpdateRecipeResponse;
import software.amazon.awssdk.services.databrew.model.UpdateRulesetRequest;
import software.amazon.awssdk.services.databrew.model.UpdateRulesetResponse;
import software.amazon.awssdk.services.databrew.model.UpdateScheduleRequest;
import software.amazon.awssdk.services.databrew.model.UpdateScheduleResponse;
import software.amazon.awssdk.services.databrew.model.ValidationException;
import software.amazon.awssdk.services.databrew.paginators.ListDatasetsIterable;
import software.amazon.awssdk.services.databrew.paginators.ListJobRunsIterable;
import software.amazon.awssdk.services.databrew.paginators.ListJobsIterable;
import software.amazon.awssdk.services.databrew.paginators.ListProjectsIterable;
import software.amazon.awssdk.services.databrew.paginators.ListRecipeVersionsIterable;
import software.amazon.awssdk.services.databrew.paginators.ListRecipesIterable;
import software.amazon.awssdk.services.databrew.paginators.ListRulesetsIterable;
import software.amazon.awssdk.services.databrew.paginators.ListSchedulesIterable;
/**
* Service client for accessing AWS Glue DataBrew. This can be created using the static {@link #builder()} method.
*
*
* Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew simplifies data preparation tasks,
* targeting data issues that are hard to spot and time-consuming to fix. DataBrew empowers users of all technical
* levels to visualize the data and perform one-click data transformations, with no coding required.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface DataBrewClient extends AwsClient {
String SERVICE_NAME = "databrew";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "databrew";
/**
*
* Deletes one or more versions of a recipe at a time.
*
*
* The entire request will be rejected if:
*
*
* -
*
* The recipe does not exist.
*
*
* -
*
* There is an invalid version identifier in the list of versions.
*
*
* -
*
* The version list is empty.
*
*
* -
*
* The version list size exceeds 50.
*
*
* -
*
* The version list contains duplicate entries.
*
*
*
*
* The request will complete successfully, but with partial failures, if:
*
*
* -
*
* A version does not exist.
*
*
* -
*
* A version is being used by a job.
*
*
* -
*
* You specify LATEST_WORKING
, but it's being used by a project.
*
*
* -
*
* The version fails to be deleted.
*
*
*
*
* The LATEST_WORKING
version will only be deleted if the recipe has no other versions. If you try to
* delete LATEST_WORKING
while other versions exist (or if they can't be deleted), then
* LATEST_WORKING
will be listed as partial failure in the response.
*
*
* @param batchDeleteRecipeVersionRequest
* @return Result of the BatchDeleteRecipeVersion operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.BatchDeleteRecipeVersion
* @see AWS API Documentation
*/
default BatchDeleteRecipeVersionResponse batchDeleteRecipeVersion(
BatchDeleteRecipeVersionRequest batchDeleteRecipeVersionRequest) throws ConflictException, ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes one or more versions of a recipe at a time.
*
*
* The entire request will be rejected if:
*
*
* -
*
* The recipe does not exist.
*
*
* -
*
* There is an invalid version identifier in the list of versions.
*
*
* -
*
* The version list is empty.
*
*
* -
*
* The version list size exceeds 50.
*
*
* -
*
* The version list contains duplicate entries.
*
*
*
*
* The request will complete successfully, but with partial failures, if:
*
*
* -
*
* A version does not exist.
*
*
* -
*
* A version is being used by a job.
*
*
* -
*
* You specify LATEST_WORKING
, but it's being used by a project.
*
*
* -
*
* The version fails to be deleted.
*
*
*
*
* The LATEST_WORKING
version will only be deleted if the recipe has no other versions. If you try to
* delete LATEST_WORKING
while other versions exist (or if they can't be deleted), then
* LATEST_WORKING
will be listed as partial failure in the response.
*
*
*
* This is a convenience which creates an instance of the {@link BatchDeleteRecipeVersionRequest.Builder} avoiding
* the need to create one manually via {@link BatchDeleteRecipeVersionRequest#builder()}
*
*
* @param batchDeleteRecipeVersionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.BatchDeleteRecipeVersionRequest.Builder} to create a
* request.
* @return Result of the BatchDeleteRecipeVersion operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.BatchDeleteRecipeVersion
* @see AWS API Documentation
*/
default BatchDeleteRecipeVersionResponse batchDeleteRecipeVersion(
Consumer batchDeleteRecipeVersionRequest) throws ConflictException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return batchDeleteRecipeVersion(BatchDeleteRecipeVersionRequest.builder().applyMutation(batchDeleteRecipeVersionRequest)
.build());
}
/**
*
* Creates a new DataBrew dataset.
*
*
* @param createDatasetRequest
* @return Result of the CreateDataset operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateDataset
* @see AWS API
* Documentation
*/
default CreateDatasetResponse createDataset(CreateDatasetRequest createDatasetRequest) throws AccessDeniedException,
ConflictException, ServiceQuotaExceededException, ValidationException, AwsServiceException, SdkClientException,
DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new DataBrew 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.databrew.model.CreateDatasetRequest.Builder} to create a request.
* @return Result of the CreateDataset operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateDataset
* @see AWS API
* Documentation
*/
default CreateDatasetResponse createDataset(Consumer createDatasetRequest)
throws AccessDeniedException, ConflictException, ServiceQuotaExceededException, ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return createDataset(CreateDatasetRequest.builder().applyMutation(createDatasetRequest).build());
}
/**
*
* Creates a new job to analyze a dataset and create its data profile.
*
*
* @param createProfileJobRequest
* @return Result of the CreateProfileJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateProfileJob
* @see AWS API
* Documentation
*/
default CreateProfileJobResponse createProfileJob(CreateProfileJobRequest createProfileJobRequest)
throws AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new job to analyze a dataset and create its data profile.
*
*
*
* This is a convenience which creates an instance of the {@link CreateProfileJobRequest.Builder} avoiding the need
* to create one manually via {@link CreateProfileJobRequest#builder()}
*
*
* @param createProfileJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.CreateProfileJobRequest.Builder} to create a
* request.
* @return Result of the CreateProfileJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateProfileJob
* @see AWS API
* Documentation
*/
default CreateProfileJobResponse createProfileJob(Consumer createProfileJobRequest)
throws AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return createProfileJob(CreateProfileJobRequest.builder().applyMutation(createProfileJobRequest).build());
}
/**
*
* Creates a new DataBrew project.
*
*
* @param createProjectRequest
* @return Result of the CreateProject operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateProject
* @see AWS API
* Documentation
*/
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ConflictException,
InternalServerException, ServiceQuotaExceededException, ValidationException, AwsServiceException, SdkClientException,
DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new DataBrew project.
*
*
*
* This is a convenience which creates an instance of the {@link CreateProjectRequest.Builder} avoiding the need to
* create one manually via {@link CreateProjectRequest#builder()}
*
*
* @param createProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.CreateProjectRequest.Builder} to create a request.
* @return Result of the CreateProject operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateProject
* @see AWS API
* Documentation
*/
default CreateProjectResponse createProject(Consumer createProjectRequest)
throws ConflictException, InternalServerException, ServiceQuotaExceededException, ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return createProject(CreateProjectRequest.builder().applyMutation(createProjectRequest).build());
}
/**
*
* Creates a new DataBrew recipe.
*
*
* @param createRecipeRequest
* @return Result of the CreateRecipe operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateRecipe
* @see AWS API
* Documentation
*/
default CreateRecipeResponse createRecipe(CreateRecipeRequest createRecipeRequest) throws ConflictException,
ServiceQuotaExceededException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new DataBrew recipe.
*
*
*
* This is a convenience which creates an instance of the {@link CreateRecipeRequest.Builder} avoiding the need to
* create one manually via {@link CreateRecipeRequest#builder()}
*
*
* @param createRecipeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.CreateRecipeRequest.Builder} to create a request.
* @return Result of the CreateRecipe operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateRecipe
* @see AWS API
* Documentation
*/
default CreateRecipeResponse createRecipe(Consumer createRecipeRequest)
throws ConflictException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return createRecipe(CreateRecipeRequest.builder().applyMutation(createRecipeRequest).build());
}
/**
*
* Creates a new job to transform input data, using steps defined in an existing Glue DataBrew recipe
*
*
* @param createRecipeJobRequest
* @return Result of the CreateRecipeJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateRecipeJob
* @see AWS API
* Documentation
*/
default CreateRecipeJobResponse createRecipeJob(CreateRecipeJobRequest createRecipeJobRequest) throws AccessDeniedException,
ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new job to transform input data, using steps defined in an existing Glue DataBrew recipe
*
*
*
* This is a convenience which creates an instance of the {@link CreateRecipeJobRequest.Builder} avoiding the need
* to create one manually via {@link CreateRecipeJobRequest#builder()}
*
*
* @param createRecipeJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.CreateRecipeJobRequest.Builder} to create a request.
* @return Result of the CreateRecipeJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateRecipeJob
* @see AWS API
* Documentation
*/
default CreateRecipeJobResponse createRecipeJob(Consumer createRecipeJobRequest)
throws AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return createRecipeJob(CreateRecipeJobRequest.builder().applyMutation(createRecipeJobRequest).build());
}
/**
*
* Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
*
*
* @param createRulesetRequest
* @return Result of the CreateRuleset operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateRuleset
* @see AWS API
* Documentation
*/
default CreateRulesetResponse createRuleset(CreateRulesetRequest createRulesetRequest) throws ConflictException,
ServiceQuotaExceededException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
*
*
*
* This is a convenience which creates an instance of the {@link CreateRulesetRequest.Builder} avoiding the need to
* create one manually via {@link CreateRulesetRequest#builder()}
*
*
* @param createRulesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.CreateRulesetRequest.Builder} to create a request.
* @return Result of the CreateRuleset operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateRuleset
* @see AWS API
* Documentation
*/
default CreateRulesetResponse createRuleset(Consumer createRulesetRequest)
throws ConflictException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return createRuleset(CreateRulesetRequest.builder().applyMutation(createRulesetRequest).build());
}
/**
*
* Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular
* intervals.
*
*
* @param createScheduleRequest
* @return Result of the CreateSchedule operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateSchedule
* @see AWS API
* Documentation
*/
default CreateScheduleResponse createSchedule(CreateScheduleRequest createScheduleRequest) throws ConflictException,
ServiceQuotaExceededException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular
* intervals.
*
*
*
* This is a convenience which creates an instance of the {@link CreateScheduleRequest.Builder} avoiding the need to
* create one manually via {@link CreateScheduleRequest#builder()}
*
*
* @param createScheduleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.CreateScheduleRequest.Builder} to create a request.
* @return Result of the CreateSchedule operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.CreateSchedule
* @see AWS API
* Documentation
*/
default CreateScheduleResponse createSchedule(Consumer createScheduleRequest)
throws ConflictException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return createSchedule(CreateScheduleRequest.builder().applyMutation(createScheduleRequest).build());
}
/**
*
* Deletes a dataset from DataBrew.
*
*
* @param deleteDatasetRequest
* @return Result of the DeleteDataset operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteDataset
* @see AWS API
* Documentation
*/
default DeleteDatasetResponse deleteDataset(DeleteDatasetRequest deleteDatasetRequest) throws ConflictException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a dataset from DataBrew.
*
*
*
* 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.databrew.model.DeleteDatasetRequest.Builder} to create a request.
* @return Result of the DeleteDataset operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteDataset
* @see AWS API
* Documentation
*/
default DeleteDatasetResponse deleteDataset(Consumer deleteDatasetRequest)
throws ConflictException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException,
DataBrewException {
return deleteDataset(DeleteDatasetRequest.builder().applyMutation(deleteDatasetRequest).build());
}
/**
*
* Deletes the specified DataBrew job.
*
*
* @param deleteJobRequest
* @return Result of the DeleteJob operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteJob
* @see AWS API
* Documentation
*/
default DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws ConflictException, ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified DataBrew job.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteJobRequest.Builder} avoiding the need to
* create one manually via {@link DeleteJobRequest#builder()}
*
*
* @param deleteJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DeleteJobRequest.Builder} to create a request.
* @return Result of the DeleteJob operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteJob
* @see AWS API
* Documentation
*/
default DeleteJobResponse deleteJob(Consumer deleteJobRequest) throws ConflictException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return deleteJob(DeleteJobRequest.builder().applyMutation(deleteJobRequest).build());
}
/**
*
* Deletes an existing DataBrew project.
*
*
* @param deleteProjectRequest
* @return Result of the DeleteProject operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteProject
* @see AWS API
* Documentation
*/
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ConflictException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an existing DataBrew project.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteProjectRequest.Builder} avoiding the need to
* create one manually via {@link DeleteProjectRequest#builder()}
*
*
* @param deleteProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DeleteProjectRequest.Builder} to create a request.
* @return Result of the DeleteProject operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteProject
* @see AWS API
* Documentation
*/
default DeleteProjectResponse deleteProject(Consumer deleteProjectRequest)
throws ConflictException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException,
DataBrewException {
return deleteProject(DeleteProjectRequest.builder().applyMutation(deleteProjectRequest).build());
}
/**
*
* Deletes a single version of a DataBrew recipe.
*
*
* @param deleteRecipeVersionRequest
* @return Result of the DeleteRecipeVersion operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteRecipeVersion
* @see AWS
* API Documentation
*/
default DeleteRecipeVersionResponse deleteRecipeVersion(DeleteRecipeVersionRequest deleteRecipeVersionRequest)
throws ConflictException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException,
DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a single version of a DataBrew recipe.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRecipeVersionRequest.Builder} avoiding the
* need to create one manually via {@link DeleteRecipeVersionRequest#builder()}
*
*
* @param deleteRecipeVersionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DeleteRecipeVersionRequest.Builder} to create a
* request.
* @return Result of the DeleteRecipeVersion operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteRecipeVersion
* @see AWS
* API Documentation
*/
default DeleteRecipeVersionResponse deleteRecipeVersion(
Consumer deleteRecipeVersionRequest) throws ConflictException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return deleteRecipeVersion(DeleteRecipeVersionRequest.builder().applyMutation(deleteRecipeVersionRequest).build());
}
/**
*
* Deletes a ruleset.
*
*
* @param deleteRulesetRequest
* @return Result of the DeleteRuleset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteRuleset
* @see AWS API
* Documentation
*/
default DeleteRulesetResponse deleteRuleset(DeleteRulesetRequest deleteRulesetRequest) throws ResourceNotFoundException,
ValidationException, ConflictException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a ruleset.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRulesetRequest.Builder} avoiding the need to
* create one manually via {@link DeleteRulesetRequest#builder()}
*
*
* @param deleteRulesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DeleteRulesetRequest.Builder} to create a request.
* @return Result of the DeleteRuleset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteRuleset
* @see AWS API
* Documentation
*/
default DeleteRulesetResponse deleteRuleset(Consumer deleteRulesetRequest)
throws ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException,
DataBrewException {
return deleteRuleset(DeleteRulesetRequest.builder().applyMutation(deleteRulesetRequest).build());
}
/**
*
* Deletes the specified DataBrew schedule.
*
*
* @param deleteScheduleRequest
* @return Result of the DeleteSchedule operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteSchedule
* @see AWS API
* Documentation
*/
default DeleteScheduleResponse deleteSchedule(DeleteScheduleRequest deleteScheduleRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified DataBrew schedule.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteScheduleRequest.Builder} avoiding the need to
* create one manually via {@link DeleteScheduleRequest#builder()}
*
*
* @param deleteScheduleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DeleteScheduleRequest.Builder} to create a request.
* @return Result of the DeleteSchedule operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DeleteSchedule
* @see AWS API
* Documentation
*/
default DeleteScheduleResponse deleteSchedule(Consumer deleteScheduleRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return deleteSchedule(DeleteScheduleRequest.builder().applyMutation(deleteScheduleRequest).build());
}
/**
*
* Returns the definition of a specific DataBrew dataset.
*
*
* @param describeDatasetRequest
* @return Result of the DescribeDataset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeDataset
* @see AWS API
* Documentation
*/
default DescribeDatasetResponse describeDataset(DescribeDatasetRequest describeDatasetRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the definition of a specific DataBrew dataset.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDatasetRequest.Builder} avoiding the need
* to create one manually via {@link DescribeDatasetRequest#builder()}
*
*
* @param describeDatasetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeDatasetRequest.Builder} to create a request.
* @return Result of the DescribeDataset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeDataset
* @see AWS API
* Documentation
*/
default DescribeDatasetResponse describeDataset(Consumer describeDatasetRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeDataset(DescribeDatasetRequest.builder().applyMutation(describeDatasetRequest).build());
}
/**
*
* Returns the definition of a specific DataBrew job.
*
*
* @param describeJobRequest
* @return Result of the DescribeJob operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeJob
* @see AWS API
* Documentation
*/
default DescribeJobResponse describeJob(DescribeJobRequest describeJobRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the definition of a specific DataBrew job.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeJobRequest.Builder} avoiding the need to
* create one manually via {@link DescribeJobRequest#builder()}
*
*
* @param describeJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeJobRequest.Builder} to create a request.
* @return Result of the DescribeJob operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeJob
* @see AWS API
* Documentation
*/
default DescribeJobResponse describeJob(Consumer describeJobRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeJob(DescribeJobRequest.builder().applyMutation(describeJobRequest).build());
}
/**
*
* Represents one run of a DataBrew job.
*
*
* @param describeJobRunRequest
* @return Result of the DescribeJobRun operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeJobRun
* @see AWS API
* Documentation
*/
default DescribeJobRunResponse describeJobRun(DescribeJobRunRequest describeJobRunRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Represents one run of a DataBrew job.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeJobRunRequest.Builder} avoiding the need to
* create one manually via {@link DescribeJobRunRequest#builder()}
*
*
* @param describeJobRunRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeJobRunRequest.Builder} to create a request.
* @return Result of the DescribeJobRun operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeJobRun
* @see AWS API
* Documentation
*/
default DescribeJobRunResponse describeJobRun(Consumer describeJobRunRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeJobRun(DescribeJobRunRequest.builder().applyMutation(describeJobRunRequest).build());
}
/**
*
* Returns the definition of a specific DataBrew project.
*
*
* @param describeProjectRequest
* @return Result of the DescribeProject operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeProject
* @see AWS API
* Documentation
*/
default DescribeProjectResponse describeProject(DescribeProjectRequest describeProjectRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the definition of a specific DataBrew project.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeProjectRequest.Builder} avoiding the need
* to create one manually via {@link DescribeProjectRequest#builder()}
*
*
* @param describeProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeProjectRequest.Builder} to create a request.
* @return Result of the DescribeProject operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeProject
* @see AWS API
* Documentation
*/
default DescribeProjectResponse describeProject(Consumer describeProjectRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeProject(DescribeProjectRequest.builder().applyMutation(describeProjectRequest).build());
}
/**
*
* Returns the definition of a specific DataBrew recipe corresponding to a particular version.
*
*
* @param describeRecipeRequest
* @return Result of the DescribeRecipe operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeRecipe
* @see AWS API
* Documentation
*/
default DescribeRecipeResponse describeRecipe(DescribeRecipeRequest describeRecipeRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the definition of a specific DataBrew recipe corresponding to a particular version.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRecipeRequest.Builder} avoiding the need to
* create one manually via {@link DescribeRecipeRequest#builder()}
*
*
* @param describeRecipeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeRecipeRequest.Builder} to create a request.
* @return Result of the DescribeRecipe operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeRecipe
* @see AWS API
* Documentation
*/
default DescribeRecipeResponse describeRecipe(Consumer describeRecipeRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeRecipe(DescribeRecipeRequest.builder().applyMutation(describeRecipeRequest).build());
}
/**
*
* Retrieves detailed information about the ruleset.
*
*
* @param describeRulesetRequest
* @return Result of the DescribeRuleset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeRuleset
* @see AWS API
* Documentation
*/
default DescribeRulesetResponse describeRuleset(DescribeRulesetRequest describeRulesetRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves detailed information about the ruleset.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRulesetRequest.Builder} avoiding the need
* to create one manually via {@link DescribeRulesetRequest#builder()}
*
*
* @param describeRulesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeRulesetRequest.Builder} to create a request.
* @return Result of the DescribeRuleset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeRuleset
* @see AWS API
* Documentation
*/
default DescribeRulesetResponse describeRuleset(Consumer describeRulesetRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeRuleset(DescribeRulesetRequest.builder().applyMutation(describeRulesetRequest).build());
}
/**
*
* Returns the definition of a specific DataBrew schedule.
*
*
* @param describeScheduleRequest
* @return Result of the DescribeSchedule operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeSchedule
* @see AWS API
* Documentation
*/
default DescribeScheduleResponse describeSchedule(DescribeScheduleRequest describeScheduleRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the definition of a specific DataBrew schedule.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeScheduleRequest.Builder} avoiding the need
* to create one manually via {@link DescribeScheduleRequest#builder()}
*
*
* @param describeScheduleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.DescribeScheduleRequest.Builder} to create a
* request.
* @return Result of the DescribeSchedule operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.DescribeSchedule
* @see AWS API
* Documentation
*/
default DescribeScheduleResponse describeSchedule(Consumer describeScheduleRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return describeSchedule(DescribeScheduleRequest.builder().applyMutation(describeScheduleRequest).build());
}
/**
*
* Lists all of the DataBrew datasets.
*
*
* @param listDatasetsRequest
* @return Result of the ListDatasets operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsResponse listDatasets(ListDatasetsRequest listDatasetsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all of the DataBrew datasets.
*
*
*
* 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.databrew.model.ListDatasetsRequest.Builder} to create a request.
* @return Result of the ListDatasets operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsResponse listDatasets(Consumer listDatasetsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listDatasets(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build());
}
/**
*
* This is a variant of {@link #listDatasets(software.amazon.awssdk.services.databrew.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.databrew.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.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.databrew.model.ListDatasetsRequest)} operation.
*
*
* @param listDatasetsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsIterable listDatasetsPaginator(ListDatasetsRequest listDatasetsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return new ListDatasetsIterable(this, listDatasetsRequest);
}
/**
*
* This is a variant of {@link #listDatasets(software.amazon.awssdk.services.databrew.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.databrew.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListDatasetsIterable responses = client.listDatasetsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListDatasetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.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.databrew.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.databrew.model.ListDatasetsRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListDatasets
* @see AWS API
* Documentation
*/
default ListDatasetsIterable listDatasetsPaginator(Consumer listDatasetsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listDatasetsPaginator(ListDatasetsRequest.builder().applyMutation(listDatasetsRequest).build());
}
/**
*
* Lists all of the previous runs of a particular DataBrew job.
*
*
* @param listJobRunsRequest
* @return Result of the ListJobRuns operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobRuns
* @see AWS API
* Documentation
*/
default ListJobRunsResponse listJobRuns(ListJobRunsRequest listJobRunsRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all of the previous runs of a particular DataBrew job.
*
*
*
* This is a convenience which creates an instance of the {@link ListJobRunsRequest.Builder} avoiding the need to
* create one manually via {@link ListJobRunsRequest#builder()}
*
*
* @param listJobRunsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListJobRunsRequest.Builder} to create a request.
* @return Result of the ListJobRuns operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobRuns
* @see AWS API
* Documentation
*/
default ListJobRunsResponse listJobRuns(Consumer listJobRunsRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listJobRuns(ListJobRunsRequest.builder().applyMutation(listJobRunsRequest).build());
}
/**
*
* This is a variant of {@link #listJobRuns(software.amazon.awssdk.services.databrew.model.ListJobRunsRequest)}
* 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.databrew.paginators.ListJobRunsIterable responses = client.listJobRunsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListJobRunsIterable responses = client.listJobRunsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListJobRunsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListJobRunsIterable responses = client.listJobRunsPaginator(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 #listJobRuns(software.amazon.awssdk.services.databrew.model.ListJobRunsRequest)} operation.
*
*
* @param listJobRunsRequest
* @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 ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobRuns
* @see AWS API
* Documentation
*/
default ListJobRunsIterable listJobRunsPaginator(ListJobRunsRequest listJobRunsRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return new ListJobRunsIterable(this, listJobRunsRequest);
}
/**
*
* This is a variant of {@link #listJobRuns(software.amazon.awssdk.services.databrew.model.ListJobRunsRequest)}
* 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.databrew.paginators.ListJobRunsIterable responses = client.listJobRunsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListJobRunsIterable responses = client.listJobRunsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListJobRunsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListJobRunsIterable responses = client.listJobRunsPaginator(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 #listJobRuns(software.amazon.awssdk.services.databrew.model.ListJobRunsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListJobRunsRequest.Builder} avoiding the need to
* create one manually via {@link ListJobRunsRequest#builder()}
*
*
* @param listJobRunsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListJobRunsRequest.Builder} to create a request.
* @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 ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobRuns
* @see AWS API
* Documentation
*/
default ListJobRunsIterable listJobRunsPaginator(Consumer listJobRunsRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listJobRunsPaginator(ListJobRunsRequest.builder().applyMutation(listJobRunsRequest).build());
}
/**
*
* Lists all of the DataBrew jobs that are defined.
*
*
* @param listJobsRequest
* @return Result of the ListJobs operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobs
* @see AWS API
* Documentation
*/
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all of the DataBrew jobs that are defined.
*
*
*
* This is a convenience which creates an instance of the {@link ListJobsRequest.Builder} avoiding the need to
* create one manually via {@link ListJobsRequest#builder()}
*
*
* @param listJobsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListJobsRequest.Builder} to create a request.
* @return Result of the ListJobs operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobs
* @see AWS API
* Documentation
*/
default ListJobsResponse listJobs(Consumer listJobsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return listJobs(ListJobsRequest.builder().applyMutation(listJobsRequest).build());
}
/**
*
* This is a variant of {@link #listJobs(software.amazon.awssdk.services.databrew.model.ListJobsRequest)} 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.databrew.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListJobsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListJobsIterable responses = client.listJobsPaginator(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 #listJobs(software.amazon.awssdk.services.databrew.model.ListJobsRequest)} operation.
*
*
* @param listJobsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobs
* @see AWS API
* Documentation
*/
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return new ListJobsIterable(this, listJobsRequest);
}
/**
*
* This is a variant of {@link #listJobs(software.amazon.awssdk.services.databrew.model.ListJobsRequest)} 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.databrew.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListJobsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListJobsIterable responses = client.listJobsPaginator(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 #listJobs(software.amazon.awssdk.services.databrew.model.ListJobsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListJobsRequest.Builder} avoiding the need to
* create one manually via {@link ListJobsRequest#builder()}
*
*
* @param listJobsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListJobsRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListJobs
* @see AWS API
* Documentation
*/
default ListJobsIterable listJobsPaginator(Consumer listJobsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return listJobsPaginator(ListJobsRequest.builder().applyMutation(listJobsRequest).build());
}
/**
*
* Lists all of the DataBrew projects that are defined.
*
*
* @param listProjectsRequest
* @return Result of the ListProjects operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListProjects
* @see AWS API
* Documentation
*/
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all of the DataBrew projects that are defined.
*
*
*
* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to
* create one manually via {@link ListProjectsRequest#builder()}
*
*
* @param listProjectsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListProjectsRequest.Builder} to create a request.
* @return Result of the ListProjects operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListProjects
* @see AWS API
* Documentation
*/
default ListProjectsResponse listProjects(Consumer listProjectsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listProjects(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build());
}
/**
*
* This is a variant of {@link #listProjects(software.amazon.awssdk.services.databrew.model.ListProjectsRequest)}
* 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.databrew.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListProjectsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListProjectsIterable responses = client.listProjectsPaginator(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 #listProjects(software.amazon.awssdk.services.databrew.model.ListProjectsRequest)} operation.
*
*
* @param listProjectsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListProjects
* @see AWS API
* Documentation
*/
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return new ListProjectsIterable(this, listProjectsRequest);
}
/**
*
* This is a variant of {@link #listProjects(software.amazon.awssdk.services.databrew.model.ListProjectsRequest)}
* 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.databrew.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListProjectsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListProjectsIterable responses = client.listProjectsPaginator(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 #listProjects(software.amazon.awssdk.services.databrew.model.ListProjectsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to
* create one manually via {@link ListProjectsRequest#builder()}
*
*
* @param listProjectsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListProjectsRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListProjects
* @see AWS API
* Documentation
*/
default ListProjectsIterable listProjectsPaginator(Consumer listProjectsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listProjectsPaginator(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build());
}
/**
*
* Lists the versions of a particular DataBrew recipe, except for LATEST_WORKING
.
*
*
* @param listRecipeVersionsRequest
* @return Result of the ListRecipeVersions operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipeVersions
* @see AWS
* API Documentation
*/
default ListRecipeVersionsResponse listRecipeVersions(ListRecipeVersionsRequest listRecipeVersionsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the versions of a particular DataBrew recipe, except for LATEST_WORKING
.
*
*
*
* This is a convenience which creates an instance of the {@link ListRecipeVersionsRequest.Builder} avoiding the
* need to create one manually via {@link ListRecipeVersionsRequest#builder()}
*
*
* @param listRecipeVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest.Builder} to create a
* request.
* @return Result of the ListRecipeVersions operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipeVersions
* @see AWS
* API Documentation
*/
default ListRecipeVersionsResponse listRecipeVersions(Consumer listRecipeVersionsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listRecipeVersions(ListRecipeVersionsRequest.builder().applyMutation(listRecipeVersionsRequest).build());
}
/**
*
* This is a variant of
* {@link #listRecipeVersions(software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest)} 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.databrew.paginators.ListRecipeVersionsIterable responses = client.listRecipeVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListRecipeVersionsIterable responses = client
* .listRecipeVersionsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListRecipeVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListRecipeVersionsIterable responses = client.listRecipeVersionsPaginator(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 #listRecipeVersions(software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest)}
* operation.
*
*
* @param listRecipeVersionsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipeVersions
* @see AWS
* API Documentation
*/
default ListRecipeVersionsIterable listRecipeVersionsPaginator(ListRecipeVersionsRequest listRecipeVersionsRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return new ListRecipeVersionsIterable(this, listRecipeVersionsRequest);
}
/**
*
* This is a variant of
* {@link #listRecipeVersions(software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest)} 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.databrew.paginators.ListRecipeVersionsIterable responses = client.listRecipeVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListRecipeVersionsIterable responses = client
* .listRecipeVersionsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListRecipeVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListRecipeVersionsIterable responses = client.listRecipeVersionsPaginator(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 #listRecipeVersions(software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListRecipeVersionsRequest.Builder} avoiding the
* need to create one manually via {@link ListRecipeVersionsRequest#builder()}
*
*
* @param listRecipeVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListRecipeVersionsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipeVersions
* @see AWS
* API Documentation
*/
default ListRecipeVersionsIterable listRecipeVersionsPaginator(
Consumer listRecipeVersionsRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return listRecipeVersionsPaginator(ListRecipeVersionsRequest.builder().applyMutation(listRecipeVersionsRequest).build());
}
/**
*
* Lists all of the DataBrew recipes that are defined.
*
*
* @param listRecipesRequest
* @return Result of the ListRecipes operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipes
* @see AWS API
* Documentation
*/
default ListRecipesResponse listRecipes(ListRecipesRequest listRecipesRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all of the DataBrew recipes that are defined.
*
*
*
* This is a convenience which creates an instance of the {@link ListRecipesRequest.Builder} avoiding the need to
* create one manually via {@link ListRecipesRequest#builder()}
*
*
* @param listRecipesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListRecipesRequest.Builder} to create a request.
* @return Result of the ListRecipes operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipes
* @see AWS API
* Documentation
*/
default ListRecipesResponse listRecipes(Consumer listRecipesRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return listRecipes(ListRecipesRequest.builder().applyMutation(listRecipesRequest).build());
}
/**
*
* This is a variant of {@link #listRecipes(software.amazon.awssdk.services.databrew.model.ListRecipesRequest)}
* 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.databrew.paginators.ListRecipesIterable responses = client.listRecipesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListRecipesIterable responses = client.listRecipesPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListRecipesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListRecipesIterable responses = client.listRecipesPaginator(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 #listRecipes(software.amazon.awssdk.services.databrew.model.ListRecipesRequest)} operation.
*
*
* @param listRecipesRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipes
* @see AWS API
* Documentation
*/
default ListRecipesIterable listRecipesPaginator(ListRecipesRequest listRecipesRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return new ListRecipesIterable(this, listRecipesRequest);
}
/**
*
* This is a variant of {@link #listRecipes(software.amazon.awssdk.services.databrew.model.ListRecipesRequest)}
* 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.databrew.paginators.ListRecipesIterable responses = client.listRecipesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListRecipesIterable responses = client.listRecipesPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListRecipesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListRecipesIterable responses = client.listRecipesPaginator(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 #listRecipes(software.amazon.awssdk.services.databrew.model.ListRecipesRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListRecipesRequest.Builder} avoiding the need to
* create one manually via {@link ListRecipesRequest#builder()}
*
*
* @param listRecipesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListRecipesRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRecipes
* @see AWS API
* Documentation
*/
default ListRecipesIterable listRecipesPaginator(Consumer listRecipesRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listRecipesPaginator(ListRecipesRequest.builder().applyMutation(listRecipesRequest).build());
}
/**
*
* List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
*
*
* @param listRulesetsRequest
* @return Result of the ListRulesets operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRulesets
* @see AWS API
* Documentation
*/
default ListRulesetsResponse listRulesets(ListRulesetsRequest listRulesetsRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
*
*
*
* This is a convenience which creates an instance of the {@link ListRulesetsRequest.Builder} avoiding the need to
* create one manually via {@link ListRulesetsRequest#builder()}
*
*
* @param listRulesetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListRulesetsRequest.Builder} to create a request.
* @return Result of the ListRulesets operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRulesets
* @see AWS API
* Documentation
*/
default ListRulesetsResponse listRulesets(Consumer listRulesetsRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listRulesets(ListRulesetsRequest.builder().applyMutation(listRulesetsRequest).build());
}
/**
*
* This is a variant of {@link #listRulesets(software.amazon.awssdk.services.databrew.model.ListRulesetsRequest)}
* 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.databrew.paginators.ListRulesetsIterable responses = client.listRulesetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListRulesetsIterable responses = client.listRulesetsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListRulesetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListRulesetsIterable responses = client.listRulesetsPaginator(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 #listRulesets(software.amazon.awssdk.services.databrew.model.ListRulesetsRequest)} operation.
*
*
* @param listRulesetsRequest
* @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 ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRulesets
* @see AWS API
* Documentation
*/
default ListRulesetsIterable listRulesetsPaginator(ListRulesetsRequest listRulesetsRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return new ListRulesetsIterable(this, listRulesetsRequest);
}
/**
*
* This is a variant of {@link #listRulesets(software.amazon.awssdk.services.databrew.model.ListRulesetsRequest)}
* 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.databrew.paginators.ListRulesetsIterable responses = client.listRulesetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListRulesetsIterable responses = client.listRulesetsPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListRulesetsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListRulesetsIterable responses = client.listRulesetsPaginator(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 #listRulesets(software.amazon.awssdk.services.databrew.model.ListRulesetsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListRulesetsRequest.Builder} avoiding the need to
* create one manually via {@link ListRulesetsRequest#builder()}
*
*
* @param listRulesetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListRulesetsRequest.Builder} to create a request.
* @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 ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListRulesets
* @see AWS API
* Documentation
*/
default ListRulesetsIterable listRulesetsPaginator(Consumer listRulesetsRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listRulesetsPaginator(ListRulesetsRequest.builder().applyMutation(listRulesetsRequest).build());
}
/**
*
* Lists the DataBrew schedules that are defined.
*
*
* @param listSchedulesRequest
* @return Result of the ListSchedules operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListSchedules
* @see AWS API
* Documentation
*/
default ListSchedulesResponse listSchedules(ListSchedulesRequest listSchedulesRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the DataBrew schedules that are defined.
*
*
*
* This is a convenience which creates an instance of the {@link ListSchedulesRequest.Builder} avoiding the need to
* create one manually via {@link ListSchedulesRequest#builder()}
*
*
* @param listSchedulesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListSchedulesRequest.Builder} to create a request.
* @return Result of the ListSchedules operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListSchedules
* @see AWS API
* Documentation
*/
default ListSchedulesResponse listSchedules(Consumer listSchedulesRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listSchedules(ListSchedulesRequest.builder().applyMutation(listSchedulesRequest).build());
}
/**
*
* This is a variant of {@link #listSchedules(software.amazon.awssdk.services.databrew.model.ListSchedulesRequest)}
* 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.databrew.paginators.ListSchedulesIterable responses = client.listSchedulesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListSchedulesIterable responses = client.listSchedulesPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListSchedulesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListSchedulesIterable responses = client.listSchedulesPaginator(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 #listSchedules(software.amazon.awssdk.services.databrew.model.ListSchedulesRequest)} operation.
*
*
* @param listSchedulesRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListSchedules
* @see AWS API
* Documentation
*/
default ListSchedulesIterable listSchedulesPaginator(ListSchedulesRequest listSchedulesRequest) throws ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
return new ListSchedulesIterable(this, listSchedulesRequest);
}
/**
*
* This is a variant of {@link #listSchedules(software.amazon.awssdk.services.databrew.model.ListSchedulesRequest)}
* 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.databrew.paginators.ListSchedulesIterable responses = client.listSchedulesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databrew.paginators.ListSchedulesIterable responses = client.listSchedulesPaginator(request);
* for (software.amazon.awssdk.services.databrew.model.ListSchedulesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databrew.paginators.ListSchedulesIterable responses = client.listSchedulesPaginator(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 #listSchedules(software.amazon.awssdk.services.databrew.model.ListSchedulesRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListSchedulesRequest.Builder} avoiding the need to
* create one manually via {@link ListSchedulesRequest#builder()}
*
*
* @param listSchedulesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListSchedulesRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListSchedules
* @see AWS API
* Documentation
*/
default ListSchedulesIterable listSchedulesPaginator(Consumer listSchedulesRequest)
throws ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listSchedulesPaginator(ListSchedulesRequest.builder().applyMutation(listSchedulesRequest).build());
}
/**
*
* Lists all the tags for a DataBrew resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the tags for a DataBrew resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.ListTagsForResourceRequest.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws InternalServerException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Publishes a new version of a DataBrew recipe.
*
*
* @param publishRecipeRequest
* @return Result of the PublishRecipe operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.PublishRecipe
* @see AWS API
* Documentation
*/
default PublishRecipeResponse publishRecipe(PublishRecipeRequest publishRecipeRequest) throws ValidationException,
ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Publishes a new version of a DataBrew recipe.
*
*
*
* This is a convenience which creates an instance of the {@link PublishRecipeRequest.Builder} avoiding the need to
* create one manually via {@link PublishRecipeRequest#builder()}
*
*
* @param publishRecipeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.PublishRecipeRequest.Builder} to create a request.
* @return Result of the PublishRecipe operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.PublishRecipe
* @see AWS API
* Documentation
*/
default PublishRecipeResponse publishRecipe(Consumer publishRecipeRequest)
throws ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException,
SdkClientException, DataBrewException {
return publishRecipe(PublishRecipeRequest.builder().applyMutation(publishRecipeRequest).build());
}
/**
*
* Performs a recipe step within an interactive DataBrew session that's currently open.
*
*
* @param sendProjectSessionActionRequest
* @return Result of the SendProjectSessionAction operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.SendProjectSessionAction
* @see AWS API Documentation
*/
default SendProjectSessionActionResponse sendProjectSessionAction(
SendProjectSessionActionRequest sendProjectSessionActionRequest) throws ConflictException, ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Performs a recipe step within an interactive DataBrew session that's currently open.
*
*
*
* This is a convenience which creates an instance of the {@link SendProjectSessionActionRequest.Builder} avoiding
* the need to create one manually via {@link SendProjectSessionActionRequest#builder()}
*
*
* @param sendProjectSessionActionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.SendProjectSessionActionRequest.Builder} to create a
* request.
* @return Result of the SendProjectSessionAction operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.SendProjectSessionAction
* @see AWS API Documentation
*/
default SendProjectSessionActionResponse sendProjectSessionAction(
Consumer sendProjectSessionActionRequest) throws ConflictException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return sendProjectSessionAction(SendProjectSessionActionRequest.builder().applyMutation(sendProjectSessionActionRequest)
.build());
}
/**
*
* Runs a DataBrew job.
*
*
* @param startJobRunRequest
* @return Result of the StartJobRun operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.StartJobRun
* @see AWS API
* Documentation
*/
default StartJobRunResponse startJobRun(StartJobRunRequest startJobRunRequest) throws ConflictException,
ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Runs a DataBrew job.
*
*
*
* This is a convenience which creates an instance of the {@link StartJobRunRequest.Builder} avoiding the need to
* create one manually via {@link StartJobRunRequest#builder()}
*
*
* @param startJobRunRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.StartJobRunRequest.Builder} to create a request.
* @return Result of the StartJobRun operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.StartJobRun
* @see AWS API
* Documentation
*/
default StartJobRunResponse startJobRun(Consumer startJobRunRequest) throws ConflictException,
ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return startJobRun(StartJobRunRequest.builder().applyMutation(startJobRunRequest).build());
}
/**
*
* Creates an interactive session, enabling you to manipulate data in a DataBrew project.
*
*
* @param startProjectSessionRequest
* @return Result of the StartProjectSession operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.StartProjectSession
* @see AWS
* API Documentation
*/
default StartProjectSessionResponse startProjectSession(StartProjectSessionRequest startProjectSessionRequest)
throws ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException,
AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an interactive session, enabling you to manipulate data in a DataBrew project.
*
*
*
* This is a convenience which creates an instance of the {@link StartProjectSessionRequest.Builder} avoiding the
* need to create one manually via {@link StartProjectSessionRequest#builder()}
*
*
* @param startProjectSessionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.StartProjectSessionRequest.Builder} to create a
* request.
* @return Result of the StartProjectSession operation returned by the service.
* @throws ConflictException
* Updating or deleting a resource can cause an inconsistent state.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.StartProjectSession
* @see AWS
* API Documentation
*/
default StartProjectSessionResponse startProjectSession(
Consumer startProjectSessionRequest) throws ConflictException,
ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return startProjectSession(StartProjectSessionRequest.builder().applyMutation(startProjectSessionRequest).build());
}
/**
*
* Stops a particular run of a job.
*
*
* @param stopJobRunRequest
* @return Result of the StopJobRun operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.StopJobRun
* @see AWS API
* Documentation
*/
default StopJobRunResponse stopJobRun(StopJobRunRequest stopJobRunRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Stops a particular run of a job.
*
*
*
* This is a convenience which creates an instance of the {@link StopJobRunRequest.Builder} avoiding the need to
* create one manually via {@link StopJobRunRequest#builder()}
*
*
* @param stopJobRunRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.StopJobRunRequest.Builder} to create a request.
* @return Result of the StopJobRun operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.StopJobRun
* @see AWS API
* Documentation
*/
default StopJobRunResponse stopJobRun(Consumer stopJobRunRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return stopJobRun(StopJobRunRequest.builder().applyMutation(stopJobRunRequest).build());
}
/**
*
* Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or schedule.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or schedule.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.TagResourceRequest.Builder} to create a request.
* @return Result of the TagResource operation returned by the service.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest)
throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes metadata tags from a DataBrew resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Removes metadata tags from a DataBrew resource.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UntagResourceRequest.Builder} to create a request.
* @return Result of the UntagResource operation returned by the service.
* @throws InternalServerException
* An internal service failure occurred.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws InternalServerException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Modifies the definition of an existing DataBrew dataset.
*
*
* @param updateDatasetRequest
* @return Result of the UpdateDataset operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateDataset
* @see AWS API
* Documentation
*/
default UpdateDatasetResponse updateDataset(UpdateDatasetRequest updateDatasetRequest) throws AccessDeniedException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the definition of an existing DataBrew 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.databrew.model.UpdateDatasetRequest.Builder} to create a request.
* @return Result of the UpdateDataset operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateDataset
* @see AWS API
* Documentation
*/
default UpdateDatasetResponse updateDataset(Consumer updateDatasetRequest)
throws AccessDeniedException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return updateDataset(UpdateDatasetRequest.builder().applyMutation(updateDatasetRequest).build());
}
/**
*
* Modifies the definition of an existing profile job.
*
*
* @param updateProfileJobRequest
* @return Result of the UpdateProfileJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateProfileJob
* @see AWS API
* Documentation
*/
default UpdateProfileJobResponse updateProfileJob(UpdateProfileJobRequest updateProfileJobRequest)
throws AccessDeniedException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the definition of an existing profile job.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateProfileJobRequest.Builder} avoiding the need
* to create one manually via {@link UpdateProfileJobRequest#builder()}
*
*
* @param updateProfileJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UpdateProfileJobRequest.Builder} to create a
* request.
* @return Result of the UpdateProfileJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateProfileJob
* @see AWS API
* Documentation
*/
default UpdateProfileJobResponse updateProfileJob(Consumer updateProfileJobRequest)
throws AccessDeniedException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return updateProfileJob(UpdateProfileJobRequest.builder().applyMutation(updateProfileJobRequest).build());
}
/**
*
* Modifies the definition of an existing DataBrew project.
*
*
* @param updateProjectRequest
* @return Result of the UpdateProject operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateProject
* @see AWS API
* Documentation
*/
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the definition of an existing DataBrew project.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateProjectRequest.Builder} avoiding the need to
* create one manually via {@link UpdateProjectRequest#builder()}
*
*
* @param updateProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UpdateProjectRequest.Builder} to create a request.
* @return Result of the UpdateProject operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateProject
* @see AWS API
* Documentation
*/
default UpdateProjectResponse updateProject(Consumer updateProjectRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return updateProject(UpdateProjectRequest.builder().applyMutation(updateProjectRequest).build());
}
/**
*
* Modifies the definition of the LATEST_WORKING
version of a DataBrew recipe.
*
*
* @param updateRecipeRequest
* @return Result of the UpdateRecipe operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateRecipe
* @see AWS API
* Documentation
*/
default UpdateRecipeResponse updateRecipe(UpdateRecipeRequest updateRecipeRequest) throws ValidationException,
ResourceNotFoundException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the definition of the LATEST_WORKING
version of a DataBrew recipe.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRecipeRequest.Builder} avoiding the need to
* create one manually via {@link UpdateRecipeRequest#builder()}
*
*
* @param updateRecipeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UpdateRecipeRequest.Builder} to create a request.
* @return Result of the UpdateRecipe operation returned by the service.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateRecipe
* @see AWS API
* Documentation
*/
default UpdateRecipeResponse updateRecipe(Consumer updateRecipeRequest)
throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, DataBrewException {
return updateRecipe(UpdateRecipeRequest.builder().applyMutation(updateRecipeRequest).build());
}
/**
*
* Modifies the definition of an existing DataBrew recipe job.
*
*
* @param updateRecipeJobRequest
* @return Result of the UpdateRecipeJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateRecipeJob
* @see AWS API
* Documentation
*/
default UpdateRecipeJobResponse updateRecipeJob(UpdateRecipeJobRequest updateRecipeJobRequest) throws AccessDeniedException,
ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the definition of an existing DataBrew recipe job.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRecipeJobRequest.Builder} avoiding the need
* to create one manually via {@link UpdateRecipeJobRequest#builder()}
*
*
* @param updateRecipeJobRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UpdateRecipeJobRequest.Builder} to create a request.
* @return Result of the UpdateRecipeJob operation returned by the service.
* @throws AccessDeniedException
* Access to the specified resource was denied.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateRecipeJob
* @see AWS API
* Documentation
*/
default UpdateRecipeJobResponse updateRecipeJob(Consumer updateRecipeJobRequest)
throws AccessDeniedException, ResourceNotFoundException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return updateRecipeJob(UpdateRecipeJobRequest.builder().applyMutation(updateRecipeJobRequest).build());
}
/**
*
* Updates specified ruleset.
*
*
* @param updateRulesetRequest
* @return Result of the UpdateRuleset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateRuleset
* @see AWS API
* Documentation
*/
default UpdateRulesetResponse updateRuleset(UpdateRulesetRequest updateRulesetRequest) throws ResourceNotFoundException,
ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Updates specified ruleset.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRulesetRequest.Builder} avoiding the need to
* create one manually via {@link UpdateRulesetRequest#builder()}
*
*
* @param updateRulesetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UpdateRulesetRequest.Builder} to create a request.
* @return Result of the UpdateRuleset operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateRuleset
* @see AWS API
* Documentation
*/
default UpdateRulesetResponse updateRuleset(Consumer updateRulesetRequest)
throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
return updateRuleset(UpdateRulesetRequest.builder().applyMutation(updateRulesetRequest).build());
}
/**
*
* Modifies the definition of an existing DataBrew schedule.
*
*
* @param updateScheduleRequest
* @return Result of the UpdateSchedule operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateSchedule
* @see AWS API
* Documentation
*/
default UpdateScheduleResponse updateSchedule(UpdateScheduleRequest updateScheduleRequest) throws ResourceNotFoundException,
ServiceQuotaExceededException, ValidationException, AwsServiceException, SdkClientException, DataBrewException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the definition of an existing DataBrew schedule.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateScheduleRequest.Builder} avoiding the need to
* create one manually via {@link UpdateScheduleRequest#builder()}
*
*
* @param updateScheduleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databrew.model.UpdateScheduleRequest.Builder} to create a request.
* @return Result of the UpdateSchedule operation returned by the service.
* @throws ResourceNotFoundException
* One or more resources can't be found.
* @throws ServiceQuotaExceededException
* A service quota is exceeded.
* @throws ValidationException
* The input parameters for this request failed validation.
* @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 DataBrewException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DataBrewClient.UpdateSchedule
* @see AWS API
* Documentation
*/
default UpdateScheduleResponse updateSchedule(Consumer updateScheduleRequest)
throws ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, AwsServiceException,
SdkClientException, DataBrewException {
return updateSchedule(UpdateScheduleRequest.builder().applyMutation(updateScheduleRequest).build());
}
/**
* Create a {@link DataBrewClient} 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 DataBrewClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link DataBrewClient}.
*/
static DataBrewClientBuilder builder() {
return new DefaultDataBrewClientBuilder();
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
@Override
default DataBrewServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
}