All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.databrew.DataBrewClient.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.databrew

import aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider
import aws.sdk.kotlin.runtime.auth.credentials.internal.borrow
import aws.sdk.kotlin.runtime.config.retries.resolveRetryStrategy
import aws.sdk.kotlin.runtime.endpoint.AwsEndpointResolver
import aws.sdk.kotlin.runtime.region.resolveRegion
import aws.sdk.kotlin.services.databrew.internal.DefaultEndpointResolver
import aws.sdk.kotlin.services.databrew.model.*
import aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionRequest
import aws.sdk.kotlin.services.databrew.model.BatchDeleteRecipeVersionResponse
import aws.sdk.kotlin.services.databrew.model.CreateDatasetRequest
import aws.sdk.kotlin.services.databrew.model.CreateDatasetResponse
import aws.sdk.kotlin.services.databrew.model.CreateProfileJobRequest
import aws.sdk.kotlin.services.databrew.model.CreateProfileJobResponse
import aws.sdk.kotlin.services.databrew.model.CreateProjectRequest
import aws.sdk.kotlin.services.databrew.model.CreateProjectResponse
import aws.sdk.kotlin.services.databrew.model.CreateRecipeJobRequest
import aws.sdk.kotlin.services.databrew.model.CreateRecipeJobResponse
import aws.sdk.kotlin.services.databrew.model.CreateRecipeRequest
import aws.sdk.kotlin.services.databrew.model.CreateRecipeResponse
import aws.sdk.kotlin.services.databrew.model.CreateRulesetRequest
import aws.sdk.kotlin.services.databrew.model.CreateRulesetResponse
import aws.sdk.kotlin.services.databrew.model.CreateScheduleRequest
import aws.sdk.kotlin.services.databrew.model.CreateScheduleResponse
import aws.sdk.kotlin.services.databrew.model.DeleteDatasetRequest
import aws.sdk.kotlin.services.databrew.model.DeleteDatasetResponse
import aws.sdk.kotlin.services.databrew.model.DeleteJobRequest
import aws.sdk.kotlin.services.databrew.model.DeleteJobResponse
import aws.sdk.kotlin.services.databrew.model.DeleteProjectRequest
import aws.sdk.kotlin.services.databrew.model.DeleteProjectResponse
import aws.sdk.kotlin.services.databrew.model.DeleteRecipeVersionRequest
import aws.sdk.kotlin.services.databrew.model.DeleteRecipeVersionResponse
import aws.sdk.kotlin.services.databrew.model.DeleteRulesetRequest
import aws.sdk.kotlin.services.databrew.model.DeleteRulesetResponse
import aws.sdk.kotlin.services.databrew.model.DeleteScheduleRequest
import aws.sdk.kotlin.services.databrew.model.DeleteScheduleResponse
import aws.sdk.kotlin.services.databrew.model.DescribeDatasetRequest
import aws.sdk.kotlin.services.databrew.model.DescribeDatasetResponse
import aws.sdk.kotlin.services.databrew.model.DescribeJobRequest
import aws.sdk.kotlin.services.databrew.model.DescribeJobResponse
import aws.sdk.kotlin.services.databrew.model.DescribeJobRunRequest
import aws.sdk.kotlin.services.databrew.model.DescribeJobRunResponse
import aws.sdk.kotlin.services.databrew.model.DescribeProjectRequest
import aws.sdk.kotlin.services.databrew.model.DescribeProjectResponse
import aws.sdk.kotlin.services.databrew.model.DescribeRecipeRequest
import aws.sdk.kotlin.services.databrew.model.DescribeRecipeResponse
import aws.sdk.kotlin.services.databrew.model.DescribeRulesetRequest
import aws.sdk.kotlin.services.databrew.model.DescribeRulesetResponse
import aws.sdk.kotlin.services.databrew.model.DescribeScheduleRequest
import aws.sdk.kotlin.services.databrew.model.DescribeScheduleResponse
import aws.sdk.kotlin.services.databrew.model.ListDatasetsRequest
import aws.sdk.kotlin.services.databrew.model.ListDatasetsResponse
import aws.sdk.kotlin.services.databrew.model.ListJobRunsRequest
import aws.sdk.kotlin.services.databrew.model.ListJobRunsResponse
import aws.sdk.kotlin.services.databrew.model.ListJobsRequest
import aws.sdk.kotlin.services.databrew.model.ListJobsResponse
import aws.sdk.kotlin.services.databrew.model.ListProjectsRequest
import aws.sdk.kotlin.services.databrew.model.ListProjectsResponse
import aws.sdk.kotlin.services.databrew.model.ListRecipeVersionsRequest
import aws.sdk.kotlin.services.databrew.model.ListRecipeVersionsResponse
import aws.sdk.kotlin.services.databrew.model.ListRecipesRequest
import aws.sdk.kotlin.services.databrew.model.ListRecipesResponse
import aws.sdk.kotlin.services.databrew.model.ListRulesetsRequest
import aws.sdk.kotlin.services.databrew.model.ListRulesetsResponse
import aws.sdk.kotlin.services.databrew.model.ListSchedulesRequest
import aws.sdk.kotlin.services.databrew.model.ListSchedulesResponse
import aws.sdk.kotlin.services.databrew.model.ListTagsForResourceRequest
import aws.sdk.kotlin.services.databrew.model.ListTagsForResourceResponse
import aws.sdk.kotlin.services.databrew.model.PublishRecipeRequest
import aws.sdk.kotlin.services.databrew.model.PublishRecipeResponse
import aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionRequest
import aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionResponse
import aws.sdk.kotlin.services.databrew.model.StartJobRunRequest
import aws.sdk.kotlin.services.databrew.model.StartJobRunResponse
import aws.sdk.kotlin.services.databrew.model.StartProjectSessionRequest
import aws.sdk.kotlin.services.databrew.model.StartProjectSessionResponse
import aws.sdk.kotlin.services.databrew.model.StopJobRunRequest
import aws.sdk.kotlin.services.databrew.model.StopJobRunResponse
import aws.sdk.kotlin.services.databrew.model.TagResourceRequest
import aws.sdk.kotlin.services.databrew.model.TagResourceResponse
import aws.sdk.kotlin.services.databrew.model.UntagResourceRequest
import aws.sdk.kotlin.services.databrew.model.UntagResourceResponse
import aws.sdk.kotlin.services.databrew.model.UpdateDatasetRequest
import aws.sdk.kotlin.services.databrew.model.UpdateDatasetResponse
import aws.sdk.kotlin.services.databrew.model.UpdateProfileJobRequest
import aws.sdk.kotlin.services.databrew.model.UpdateProfileJobResponse
import aws.sdk.kotlin.services.databrew.model.UpdateProjectRequest
import aws.sdk.kotlin.services.databrew.model.UpdateProjectResponse
import aws.sdk.kotlin.services.databrew.model.UpdateRecipeJobRequest
import aws.sdk.kotlin.services.databrew.model.UpdateRecipeJobResponse
import aws.sdk.kotlin.services.databrew.model.UpdateRecipeRequest
import aws.sdk.kotlin.services.databrew.model.UpdateRecipeResponse
import aws.sdk.kotlin.services.databrew.model.UpdateRulesetRequest
import aws.sdk.kotlin.services.databrew.model.UpdateRulesetResponse
import aws.sdk.kotlin.services.databrew.model.UpdateScheduleRequest
import aws.sdk.kotlin.services.databrew.model.UpdateScheduleResponse
import aws.smithy.kotlin.runtime.SdkClient
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
import aws.smithy.kotlin.runtime.auth.awssigning.AwsSigner
import aws.smithy.kotlin.runtime.auth.awssigning.DefaultAwsSigner
import aws.smithy.kotlin.runtime.client.SdkLogMode
import aws.smithy.kotlin.runtime.config.SdkClientConfig
import aws.smithy.kotlin.runtime.http.config.HttpClientConfig
import aws.smithy.kotlin.runtime.http.endpoints.EndpointResolver
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
import aws.smithy.kotlin.runtime.retries.RetryStrategy
import aws.smithy.kotlin.runtime.retries.StandardRetryStrategy

/**
 * 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.
 */
public interface DataBrewClient : SdkClient {

    override val serviceName: String
        get() = "DataBrew"
    /**
     * DataBrewClient's configuration
     */
    public val config: Config

    public companion object {
        public operator fun invoke(block: Config.Builder.() -> Unit): DataBrewClient {
            val config = Config.Builder().apply(block).build()
            return DefaultDataBrewClient(config)
        }

        public operator fun invoke(config: Config): DataBrewClient = DefaultDataBrewClient(config)

        /**
         * Construct a [DataBrewClient] by resolving the configuration from the current environment.
         */
        public suspend fun fromEnvironment(block: (Config.Builder.() -> Unit)? = null): DataBrewClient {
            val builder = Config.Builder()
            if (block != null) builder.apply(block)
            builder.region = builder.region ?: resolveRegion()
            builder.retryStrategy = builder.retryStrategy ?: resolveRetryStrategy()
            return DefaultDataBrewClient(builder.build())
        }
    }

    public class Config private constructor(builder: Builder): HttpClientConfig, SdkClientConfig {
        public val credentialsProvider: CredentialsProvider = builder.credentialsProvider?.borrow() ?: DefaultChainCredentialsProvider()
        public val endpointResolver: AwsEndpointResolver = builder.endpointResolver ?: DefaultEndpointResolver()
        override val httpClientEngine: HttpClientEngine? = builder.httpClientEngine
        public val region: String = requireNotNull(builder.region) { "region is a required configuration property" }
        public val retryStrategy: RetryStrategy = builder.retryStrategy ?: StandardRetryStrategy()
        override val sdkLogMode: SdkLogMode = builder.sdkLogMode
        public val signer: AwsSigner = builder.signer ?: DefaultAwsSigner
        public companion object {
            public inline operator fun invoke(block: Builder.() -> kotlin.Unit): Config = Builder().apply(block).build()
        }

        public class Builder {
            /**
             * The AWS credentials provider to use for authenticating requests. If not provided a
             * [aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider] instance will be used.
             * NOTE: The caller is responsible for managing the lifetime of the provider when set. The SDK
             * client will not close it when the client is closed.
             */
            public var credentialsProvider: CredentialsProvider? = null
            /**
             * Determines the endpoint (hostname) to make requests to. When not provided a default
             * resolver is configured automatically. This is an advanced client option.
             */
            public var endpointResolver: AwsEndpointResolver? = null
            /**
             * Override the default HTTP client engine used to make SDK requests (e.g. configure proxy behavior, timeouts, concurrency, etc).
             * NOTE: The caller is responsible for managing the lifetime of the engine when set. The SDK
             * client will not close it when the client is closed.
             */
            public var httpClientEngine: HttpClientEngine? = null
            /**
             * AWS region to make requests to
             */
            public var region: String? = null
            /**
             * The [RetryStrategy] implementation to use for service calls. All API calls will be wrapped by the
             * strategy.
             */
            public var retryStrategy: RetryStrategy? = null
            /**
             * Configure events that will be logged. By default clients will not output
             * raw requests or responses. Use this setting to opt-in to additional debug logging.
             *
             * This can be used to configure logging of requests, responses, retries, etc of SDK clients.
             *
             * **NOTE**: Logging of raw requests or responses may leak sensitive information! It may also have
             * performance considerations when dumping the request/response body. This is primarily a tool for
             * debug purposes.
             */
            public var sdkLogMode: SdkLogMode = SdkLogMode.Default
            /**
             * The implementation of AWS signer to use for signing requests
             */
            public var signer: AwsSigner? = null

            @PublishedApi
            internal fun build(): Config = Config(this)
        }
    }

    /**
     * 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.
     */
    public suspend fun batchDeleteRecipeVersion(input: BatchDeleteRecipeVersionRequest): BatchDeleteRecipeVersionResponse

    /**
     * Creates a new DataBrew dataset.
     */
    public suspend fun createDataset(input: CreateDatasetRequest): CreateDatasetResponse

    /**
     * Creates a new job to analyze a dataset and create its data profile.
     */
    public suspend fun createProfileJob(input: CreateProfileJobRequest): CreateProfileJobResponse

    /**
     * Creates a new DataBrew project.
     */
    public suspend fun createProject(input: CreateProjectRequest): CreateProjectResponse

    /**
     * Creates a new DataBrew recipe.
     */
    public suspend fun createRecipe(input: CreateRecipeRequest): CreateRecipeResponse

    /**
     * Creates a new job to transform input data, using steps defined in an existing Glue DataBrew recipe
     */
    public suspend fun createRecipeJob(input: CreateRecipeJobRequest): CreateRecipeJobResponse

    /**
     * Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
     */
    public suspend fun createRuleset(input: CreateRulesetRequest): CreateRulesetResponse

    /**
     * Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.
     */
    public suspend fun createSchedule(input: CreateScheduleRequest): CreateScheduleResponse

    /**
     * Deletes a dataset from DataBrew.
     */
    public suspend fun deleteDataset(input: DeleteDatasetRequest): DeleteDatasetResponse

    /**
     * Deletes the specified DataBrew job.
     */
    public suspend fun deleteJob(input: DeleteJobRequest): DeleteJobResponse

    /**
     * Deletes an existing DataBrew project.
     */
    public suspend fun deleteProject(input: DeleteProjectRequest): DeleteProjectResponse

    /**
     * Deletes a single version of a DataBrew recipe.
     */
    public suspend fun deleteRecipeVersion(input: DeleteRecipeVersionRequest): DeleteRecipeVersionResponse

    /**
     * Deletes a ruleset.
     */
    public suspend fun deleteRuleset(input: DeleteRulesetRequest): DeleteRulesetResponse

    /**
     * Deletes the specified DataBrew schedule.
     */
    public suspend fun deleteSchedule(input: DeleteScheduleRequest): DeleteScheduleResponse

    /**
     * Returns the definition of a specific DataBrew dataset.
     */
    public suspend fun describeDataset(input: DescribeDatasetRequest): DescribeDatasetResponse

    /**
     * Returns the definition of a specific DataBrew job.
     */
    public suspend fun describeJob(input: DescribeJobRequest): DescribeJobResponse

    /**
     * Represents one run of a DataBrew job.
     */
    public suspend fun describeJobRun(input: DescribeJobRunRequest): DescribeJobRunResponse

    /**
     * Returns the definition of a specific DataBrew project.
     */
    public suspend fun describeProject(input: DescribeProjectRequest): DescribeProjectResponse

    /**
     * Returns the definition of a specific DataBrew recipe corresponding to a particular version.
     */
    public suspend fun describeRecipe(input: DescribeRecipeRequest): DescribeRecipeResponse

    /**
     * Retrieves detailed information about the ruleset.
     */
    public suspend fun describeRuleset(input: DescribeRulesetRequest): DescribeRulesetResponse

    /**
     * Returns the definition of a specific DataBrew schedule.
     */
    public suspend fun describeSchedule(input: DescribeScheduleRequest): DescribeScheduleResponse

    /**
     * Lists all of the DataBrew datasets.
     */
    public suspend fun listDatasets(input: ListDatasetsRequest = ListDatasetsRequest {}): ListDatasetsResponse

    /**
     * Lists all of the previous runs of a particular DataBrew job.
     */
    public suspend fun listJobRuns(input: ListJobRunsRequest): ListJobRunsResponse

    /**
     * Lists all of the DataBrew jobs that are defined.
     */
    public suspend fun listJobs(input: ListJobsRequest = ListJobsRequest {}): ListJobsResponse

    /**
     * Lists all of the DataBrew projects that are defined.
     */
    public suspend fun listProjects(input: ListProjectsRequest = ListProjectsRequest {}): ListProjectsResponse

    /**
     * Lists the versions of a particular DataBrew recipe, except for `LATEST_WORKING`.
     */
    public suspend fun listRecipeVersions(input: ListRecipeVersionsRequest): ListRecipeVersionsResponse

    /**
     * Lists all of the DataBrew recipes that are defined.
     */
    public suspend fun listRecipes(input: ListRecipesRequest = ListRecipesRequest {}): ListRecipesResponse

    /**
     * List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
     */
    public suspend fun listRulesets(input: ListRulesetsRequest = ListRulesetsRequest {}): ListRulesetsResponse

    /**
     * Lists the DataBrew schedules that are defined.
     */
    public suspend fun listSchedules(input: ListSchedulesRequest = ListSchedulesRequest {}): ListSchedulesResponse

    /**
     * Lists all the tags for a DataBrew resource.
     */
    public suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse

    /**
     * Publishes a new version of a DataBrew recipe.
     */
    public suspend fun publishRecipe(input: PublishRecipeRequest): PublishRecipeResponse

    /**
     * Performs a recipe step within an interactive DataBrew session that's currently open.
     */
    public suspend fun sendProjectSessionAction(input: SendProjectSessionActionRequest): SendProjectSessionActionResponse

    /**
     * Runs a DataBrew job.
     */
    public suspend fun startJobRun(input: StartJobRunRequest): StartJobRunResponse

    /**
     * Creates an interactive session, enabling you to manipulate data in a DataBrew project.
     */
    public suspend fun startProjectSession(input: StartProjectSessionRequest): StartProjectSessionResponse

    /**
     * Stops a particular run of a job.
     */
    public suspend fun stopJobRun(input: StopJobRunRequest): StopJobRunResponse

    /**
     * Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or schedule.
     */
    public suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

    /**
     * Removes metadata tags from a DataBrew resource.
     */
    public suspend fun untagResource(input: UntagResourceRequest): UntagResourceResponse

    /**
     * Modifies the definition of an existing DataBrew dataset.
     */
    public suspend fun updateDataset(input: UpdateDatasetRequest): UpdateDatasetResponse

    /**
     * Modifies the definition of an existing profile job.
     */
    public suspend fun updateProfileJob(input: UpdateProfileJobRequest): UpdateProfileJobResponse

    /**
     * Modifies the definition of an existing DataBrew project.
     */
    public suspend fun updateProject(input: UpdateProjectRequest): UpdateProjectResponse

    /**
     * Modifies the definition of the `LATEST_WORKING` version of a DataBrew recipe.
     */
    public suspend fun updateRecipe(input: UpdateRecipeRequest): UpdateRecipeResponse

    /**
     * Modifies the definition of an existing DataBrew recipe job.
     */
    public suspend fun updateRecipeJob(input: UpdateRecipeJobRequest): UpdateRecipeJobResponse

    /**
     * Updates specified ruleset.
     */
    public suspend fun updateRuleset(input: UpdateRulesetRequest): UpdateRulesetResponse

    /**
     * Modifies the definition of an existing DataBrew schedule.
     */
    public suspend fun updateSchedule(input: UpdateScheduleRequest): UpdateScheduleResponse
}

/**
 * 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.
 */
public suspend inline fun DataBrewClient.batchDeleteRecipeVersion(crossinline block: BatchDeleteRecipeVersionRequest.Builder.() -> Unit): BatchDeleteRecipeVersionResponse = batchDeleteRecipeVersion(BatchDeleteRecipeVersionRequest.Builder().apply(block).build())

/**
 * Creates a new DataBrew dataset.
 */
public suspend inline fun DataBrewClient.createDataset(crossinline block: CreateDatasetRequest.Builder.() -> Unit): CreateDatasetResponse = createDataset(CreateDatasetRequest.Builder().apply(block).build())

/**
 * Creates a new job to analyze a dataset and create its data profile.
 */
public suspend inline fun DataBrewClient.createProfileJob(crossinline block: CreateProfileJobRequest.Builder.() -> Unit): CreateProfileJobResponse = createProfileJob(CreateProfileJobRequest.Builder().apply(block).build())

/**
 * Creates a new DataBrew project.
 */
public suspend inline fun DataBrewClient.createProject(crossinline block: CreateProjectRequest.Builder.() -> Unit): CreateProjectResponse = createProject(CreateProjectRequest.Builder().apply(block).build())

/**
 * Creates a new DataBrew recipe.
 */
public suspend inline fun DataBrewClient.createRecipe(crossinline block: CreateRecipeRequest.Builder.() -> Unit): CreateRecipeResponse = createRecipe(CreateRecipeRequest.Builder().apply(block).build())

/**
 * Creates a new job to transform input data, using steps defined in an existing Glue DataBrew recipe
 */
public suspend inline fun DataBrewClient.createRecipeJob(crossinline block: CreateRecipeJobRequest.Builder.() -> Unit): CreateRecipeJobResponse = createRecipeJob(CreateRecipeJobRequest.Builder().apply(block).build())

/**
 * Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
 */
public suspend inline fun DataBrewClient.createRuleset(crossinline block: CreateRulesetRequest.Builder.() -> Unit): CreateRulesetResponse = createRuleset(CreateRulesetRequest.Builder().apply(block).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.
 */
public suspend inline fun DataBrewClient.createSchedule(crossinline block: CreateScheduleRequest.Builder.() -> Unit): CreateScheduleResponse = createSchedule(CreateScheduleRequest.Builder().apply(block).build())

/**
 * Deletes a dataset from DataBrew.
 */
public suspend inline fun DataBrewClient.deleteDataset(crossinline block: DeleteDatasetRequest.Builder.() -> Unit): DeleteDatasetResponse = deleteDataset(DeleteDatasetRequest.Builder().apply(block).build())

/**
 * Deletes the specified DataBrew job.
 */
public suspend inline fun DataBrewClient.deleteJob(crossinline block: DeleteJobRequest.Builder.() -> Unit): DeleteJobResponse = deleteJob(DeleteJobRequest.Builder().apply(block).build())

/**
 * Deletes an existing DataBrew project.
 */
public suspend inline fun DataBrewClient.deleteProject(crossinline block: DeleteProjectRequest.Builder.() -> Unit): DeleteProjectResponse = deleteProject(DeleteProjectRequest.Builder().apply(block).build())

/**
 * Deletes a single version of a DataBrew recipe.
 */
public suspend inline fun DataBrewClient.deleteRecipeVersion(crossinline block: DeleteRecipeVersionRequest.Builder.() -> Unit): DeleteRecipeVersionResponse = deleteRecipeVersion(DeleteRecipeVersionRequest.Builder().apply(block).build())

/**
 * Deletes a ruleset.
 */
public suspend inline fun DataBrewClient.deleteRuleset(crossinline block: DeleteRulesetRequest.Builder.() -> Unit): DeleteRulesetResponse = deleteRuleset(DeleteRulesetRequest.Builder().apply(block).build())

/**
 * Deletes the specified DataBrew schedule.
 */
public suspend inline fun DataBrewClient.deleteSchedule(crossinline block: DeleteScheduleRequest.Builder.() -> Unit): DeleteScheduleResponse = deleteSchedule(DeleteScheduleRequest.Builder().apply(block).build())

/**
 * Returns the definition of a specific DataBrew dataset.
 */
public suspend inline fun DataBrewClient.describeDataset(crossinline block: DescribeDatasetRequest.Builder.() -> Unit): DescribeDatasetResponse = describeDataset(DescribeDatasetRequest.Builder().apply(block).build())

/**
 * Returns the definition of a specific DataBrew job.
 */
public suspend inline fun DataBrewClient.describeJob(crossinline block: DescribeJobRequest.Builder.() -> Unit): DescribeJobResponse = describeJob(DescribeJobRequest.Builder().apply(block).build())

/**
 * Represents one run of a DataBrew job.
 */
public suspend inline fun DataBrewClient.describeJobRun(crossinline block: DescribeJobRunRequest.Builder.() -> Unit): DescribeJobRunResponse = describeJobRun(DescribeJobRunRequest.Builder().apply(block).build())

/**
 * Returns the definition of a specific DataBrew project.
 */
public suspend inline fun DataBrewClient.describeProject(crossinline block: DescribeProjectRequest.Builder.() -> Unit): DescribeProjectResponse = describeProject(DescribeProjectRequest.Builder().apply(block).build())

/**
 * Returns the definition of a specific DataBrew recipe corresponding to a particular version.
 */
public suspend inline fun DataBrewClient.describeRecipe(crossinline block: DescribeRecipeRequest.Builder.() -> Unit): DescribeRecipeResponse = describeRecipe(DescribeRecipeRequest.Builder().apply(block).build())

/**
 * Retrieves detailed information about the ruleset.
 */
public suspend inline fun DataBrewClient.describeRuleset(crossinline block: DescribeRulesetRequest.Builder.() -> Unit): DescribeRulesetResponse = describeRuleset(DescribeRulesetRequest.Builder().apply(block).build())

/**
 * Returns the definition of a specific DataBrew schedule.
 */
public suspend inline fun DataBrewClient.describeSchedule(crossinline block: DescribeScheduleRequest.Builder.() -> Unit): DescribeScheduleResponse = describeSchedule(DescribeScheduleRequest.Builder().apply(block).build())

/**
 * Lists all of the DataBrew datasets.
 */
public suspend inline fun DataBrewClient.listDatasets(crossinline block: ListDatasetsRequest.Builder.() -> Unit): ListDatasetsResponse = listDatasets(ListDatasetsRequest.Builder().apply(block).build())

/**
 * Lists all of the previous runs of a particular DataBrew job.
 */
public suspend inline fun DataBrewClient.listJobRuns(crossinline block: ListJobRunsRequest.Builder.() -> Unit): ListJobRunsResponse = listJobRuns(ListJobRunsRequest.Builder().apply(block).build())

/**
 * Lists all of the DataBrew jobs that are defined.
 */
public suspend inline fun DataBrewClient.listJobs(crossinline block: ListJobsRequest.Builder.() -> Unit): ListJobsResponse = listJobs(ListJobsRequest.Builder().apply(block).build())

/**
 * Lists all of the DataBrew projects that are defined.
 */
public suspend inline fun DataBrewClient.listProjects(crossinline block: ListProjectsRequest.Builder.() -> Unit): ListProjectsResponse = listProjects(ListProjectsRequest.Builder().apply(block).build())

/**
 * Lists the versions of a particular DataBrew recipe, except for `LATEST_WORKING`.
 */
public suspend inline fun DataBrewClient.listRecipeVersions(crossinline block: ListRecipeVersionsRequest.Builder.() -> Unit): ListRecipeVersionsResponse = listRecipeVersions(ListRecipeVersionsRequest.Builder().apply(block).build())

/**
 * Lists all of the DataBrew recipes that are defined.
 */
public suspend inline fun DataBrewClient.listRecipes(crossinline block: ListRecipesRequest.Builder.() -> Unit): ListRecipesResponse = listRecipes(ListRecipesRequest.Builder().apply(block).build())

/**
 * List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
 */
public suspend inline fun DataBrewClient.listRulesets(crossinline block: ListRulesetsRequest.Builder.() -> Unit): ListRulesetsResponse = listRulesets(ListRulesetsRequest.Builder().apply(block).build())

/**
 * Lists the DataBrew schedules that are defined.
 */
public suspend inline fun DataBrewClient.listSchedules(crossinline block: ListSchedulesRequest.Builder.() -> Unit): ListSchedulesResponse = listSchedules(ListSchedulesRequest.Builder().apply(block).build())

/**
 * Lists all the tags for a DataBrew resource.
 */
public suspend inline fun DataBrewClient.listTagsForResource(crossinline block: ListTagsForResourceRequest.Builder.() -> Unit): ListTagsForResourceResponse = listTagsForResource(ListTagsForResourceRequest.Builder().apply(block).build())

/**
 * Publishes a new version of a DataBrew recipe.
 */
public suspend inline fun DataBrewClient.publishRecipe(crossinline block: PublishRecipeRequest.Builder.() -> Unit): PublishRecipeResponse = publishRecipe(PublishRecipeRequest.Builder().apply(block).build())

/**
 * Performs a recipe step within an interactive DataBrew session that's currently open.
 */
public suspend inline fun DataBrewClient.sendProjectSessionAction(crossinline block: SendProjectSessionActionRequest.Builder.() -> Unit): SendProjectSessionActionResponse = sendProjectSessionAction(SendProjectSessionActionRequest.Builder().apply(block).build())

/**
 * Runs a DataBrew job.
 */
public suspend inline fun DataBrewClient.startJobRun(crossinline block: StartJobRunRequest.Builder.() -> Unit): StartJobRunResponse = startJobRun(StartJobRunRequest.Builder().apply(block).build())

/**
 * Creates an interactive session, enabling you to manipulate data in a DataBrew project.
 */
public suspend inline fun DataBrewClient.startProjectSession(crossinline block: StartProjectSessionRequest.Builder.() -> Unit): StartProjectSessionResponse = startProjectSession(StartProjectSessionRequest.Builder().apply(block).build())

/**
 * Stops a particular run of a job.
 */
public suspend inline fun DataBrewClient.stopJobRun(crossinline block: StopJobRunRequest.Builder.() -> Unit): StopJobRunResponse = stopJobRun(StopJobRunRequest.Builder().apply(block).build())

/**
 * Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or schedule.
 */
public suspend inline fun DataBrewClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse = tagResource(TagResourceRequest.Builder().apply(block).build())

/**
 * Removes metadata tags from a DataBrew resource.
 */
public suspend inline fun DataBrewClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse = untagResource(UntagResourceRequest.Builder().apply(block).build())

/**
 * Modifies the definition of an existing DataBrew dataset.
 */
public suspend inline fun DataBrewClient.updateDataset(crossinline block: UpdateDatasetRequest.Builder.() -> Unit): UpdateDatasetResponse = updateDataset(UpdateDatasetRequest.Builder().apply(block).build())

/**
 * Modifies the definition of an existing profile job.
 */
public suspend inline fun DataBrewClient.updateProfileJob(crossinline block: UpdateProfileJobRequest.Builder.() -> Unit): UpdateProfileJobResponse = updateProfileJob(UpdateProfileJobRequest.Builder().apply(block).build())

/**
 * Modifies the definition of an existing DataBrew project.
 */
public suspend inline fun DataBrewClient.updateProject(crossinline block: UpdateProjectRequest.Builder.() -> Unit): UpdateProjectResponse = updateProject(UpdateProjectRequest.Builder().apply(block).build())

/**
 * Modifies the definition of the `LATEST_WORKING` version of a DataBrew recipe.
 */
public suspend inline fun DataBrewClient.updateRecipe(crossinline block: UpdateRecipeRequest.Builder.() -> Unit): UpdateRecipeResponse = updateRecipe(UpdateRecipeRequest.Builder().apply(block).build())

/**
 * Modifies the definition of an existing DataBrew recipe job.
 */
public suspend inline fun DataBrewClient.updateRecipeJob(crossinline block: UpdateRecipeJobRequest.Builder.() -> Unit): UpdateRecipeJobResponse = updateRecipeJob(UpdateRecipeJobRequest.Builder().apply(block).build())

/**
 * Updates specified ruleset.
 */
public suspend inline fun DataBrewClient.updateRuleset(crossinline block: UpdateRulesetRequest.Builder.() -> Unit): UpdateRulesetResponse = updateRuleset(UpdateRulesetRequest.Builder().apply(block).build())

/**
 * Modifies the definition of an existing DataBrew schedule.
 */
public suspend inline fun DataBrewClient.updateSchedule(crossinline block: UpdateScheduleRequest.Builder.() -> Unit): UpdateScheduleResponse = updateSchedule(UpdateScheduleRequest.Builder().apply(block).build())




© 2015 - 2025 Weber Informatics LLC | Privacy Policy