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

commonMain.aws.sdk.kotlin.services.omics.OmicsClient.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.omics

import aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider
import aws.sdk.kotlin.runtime.auth.credentials.internal.manage
import aws.sdk.kotlin.runtime.client.AwsSdkClientConfig
import aws.sdk.kotlin.runtime.config.AbstractAwsSdkClientFactory
import aws.sdk.kotlin.runtime.config.endpoints.resolveEndpointUrl
import aws.sdk.kotlin.runtime.config.profile.AwsSharedConfig
import aws.sdk.kotlin.runtime.http.retries.AwsDefaultRetryPolicy
import aws.sdk.kotlin.services.omics.auth.DefaultOmicsAuthSchemeProvider
import aws.sdk.kotlin.services.omics.auth.OmicsAuthSchemeProvider
import aws.sdk.kotlin.services.omics.endpoints.DefaultOmicsEndpointProvider
import aws.sdk.kotlin.services.omics.endpoints.OmicsEndpointParameters
import aws.sdk.kotlin.services.omics.endpoints.OmicsEndpointProvider
import aws.sdk.kotlin.services.omics.model.AbortMultipartReadSetUploadRequest
import aws.sdk.kotlin.services.omics.model.AbortMultipartReadSetUploadResponse
import aws.sdk.kotlin.services.omics.model.AcceptShareRequest
import aws.sdk.kotlin.services.omics.model.AcceptShareResponse
import aws.sdk.kotlin.services.omics.model.BatchDeleteReadSetRequest
import aws.sdk.kotlin.services.omics.model.BatchDeleteReadSetResponse
import aws.sdk.kotlin.services.omics.model.CancelAnnotationImportJobRequest
import aws.sdk.kotlin.services.omics.model.CancelAnnotationImportJobResponse
import aws.sdk.kotlin.services.omics.model.CancelRunRequest
import aws.sdk.kotlin.services.omics.model.CancelRunResponse
import aws.sdk.kotlin.services.omics.model.CancelVariantImportJobRequest
import aws.sdk.kotlin.services.omics.model.CancelVariantImportJobResponse
import aws.sdk.kotlin.services.omics.model.CompleteMultipartReadSetUploadRequest
import aws.sdk.kotlin.services.omics.model.CompleteMultipartReadSetUploadResponse
import aws.sdk.kotlin.services.omics.model.CreateAnnotationStoreRequest
import aws.sdk.kotlin.services.omics.model.CreateAnnotationStoreResponse
import aws.sdk.kotlin.services.omics.model.CreateAnnotationStoreVersionRequest
import aws.sdk.kotlin.services.omics.model.CreateAnnotationStoreVersionResponse
import aws.sdk.kotlin.services.omics.model.CreateMultipartReadSetUploadRequest
import aws.sdk.kotlin.services.omics.model.CreateMultipartReadSetUploadResponse
import aws.sdk.kotlin.services.omics.model.CreateReferenceStoreRequest
import aws.sdk.kotlin.services.omics.model.CreateReferenceStoreResponse
import aws.sdk.kotlin.services.omics.model.CreateRunGroupRequest
import aws.sdk.kotlin.services.omics.model.CreateRunGroupResponse
import aws.sdk.kotlin.services.omics.model.CreateSequenceStoreRequest
import aws.sdk.kotlin.services.omics.model.CreateSequenceStoreResponse
import aws.sdk.kotlin.services.omics.model.CreateShareRequest
import aws.sdk.kotlin.services.omics.model.CreateShareResponse
import aws.sdk.kotlin.services.omics.model.CreateVariantStoreRequest
import aws.sdk.kotlin.services.omics.model.CreateVariantStoreResponse
import aws.sdk.kotlin.services.omics.model.CreateWorkflowRequest
import aws.sdk.kotlin.services.omics.model.CreateWorkflowResponse
import aws.sdk.kotlin.services.omics.model.DeleteAnnotationStoreRequest
import aws.sdk.kotlin.services.omics.model.DeleteAnnotationStoreResponse
import aws.sdk.kotlin.services.omics.model.DeleteAnnotationStoreVersionsRequest
import aws.sdk.kotlin.services.omics.model.DeleteAnnotationStoreVersionsResponse
import aws.sdk.kotlin.services.omics.model.DeleteReferenceRequest
import aws.sdk.kotlin.services.omics.model.DeleteReferenceResponse
import aws.sdk.kotlin.services.omics.model.DeleteReferenceStoreRequest
import aws.sdk.kotlin.services.omics.model.DeleteReferenceStoreResponse
import aws.sdk.kotlin.services.omics.model.DeleteRunGroupRequest
import aws.sdk.kotlin.services.omics.model.DeleteRunGroupResponse
import aws.sdk.kotlin.services.omics.model.DeleteRunRequest
import aws.sdk.kotlin.services.omics.model.DeleteRunResponse
import aws.sdk.kotlin.services.omics.model.DeleteSequenceStoreRequest
import aws.sdk.kotlin.services.omics.model.DeleteSequenceStoreResponse
import aws.sdk.kotlin.services.omics.model.DeleteShareRequest
import aws.sdk.kotlin.services.omics.model.DeleteShareResponse
import aws.sdk.kotlin.services.omics.model.DeleteVariantStoreRequest
import aws.sdk.kotlin.services.omics.model.DeleteVariantStoreResponse
import aws.sdk.kotlin.services.omics.model.DeleteWorkflowRequest
import aws.sdk.kotlin.services.omics.model.DeleteWorkflowResponse
import aws.sdk.kotlin.services.omics.model.GetAnnotationImportJobRequest
import aws.sdk.kotlin.services.omics.model.GetAnnotationImportJobResponse
import aws.sdk.kotlin.services.omics.model.GetAnnotationStoreRequest
import aws.sdk.kotlin.services.omics.model.GetAnnotationStoreResponse
import aws.sdk.kotlin.services.omics.model.GetAnnotationStoreVersionRequest
import aws.sdk.kotlin.services.omics.model.GetAnnotationStoreVersionResponse
import aws.sdk.kotlin.services.omics.model.GetReadSetActivationJobRequest
import aws.sdk.kotlin.services.omics.model.GetReadSetActivationJobResponse
import aws.sdk.kotlin.services.omics.model.GetReadSetExportJobRequest
import aws.sdk.kotlin.services.omics.model.GetReadSetExportJobResponse
import aws.sdk.kotlin.services.omics.model.GetReadSetImportJobRequest
import aws.sdk.kotlin.services.omics.model.GetReadSetImportJobResponse
import aws.sdk.kotlin.services.omics.model.GetReadSetMetadataRequest
import aws.sdk.kotlin.services.omics.model.GetReadSetMetadataResponse
import aws.sdk.kotlin.services.omics.model.GetReadSetRequest
import aws.sdk.kotlin.services.omics.model.GetReadSetResponse
import aws.sdk.kotlin.services.omics.model.GetReferenceImportJobRequest
import aws.sdk.kotlin.services.omics.model.GetReferenceImportJobResponse
import aws.sdk.kotlin.services.omics.model.GetReferenceMetadataRequest
import aws.sdk.kotlin.services.omics.model.GetReferenceMetadataResponse
import aws.sdk.kotlin.services.omics.model.GetReferenceRequest
import aws.sdk.kotlin.services.omics.model.GetReferenceResponse
import aws.sdk.kotlin.services.omics.model.GetReferenceStoreRequest
import aws.sdk.kotlin.services.omics.model.GetReferenceStoreResponse
import aws.sdk.kotlin.services.omics.model.GetRunGroupRequest
import aws.sdk.kotlin.services.omics.model.GetRunGroupResponse
import aws.sdk.kotlin.services.omics.model.GetRunRequest
import aws.sdk.kotlin.services.omics.model.GetRunResponse
import aws.sdk.kotlin.services.omics.model.GetRunTaskRequest
import aws.sdk.kotlin.services.omics.model.GetRunTaskResponse
import aws.sdk.kotlin.services.omics.model.GetSequenceStoreRequest
import aws.sdk.kotlin.services.omics.model.GetSequenceStoreResponse
import aws.sdk.kotlin.services.omics.model.GetShareRequest
import aws.sdk.kotlin.services.omics.model.GetShareResponse
import aws.sdk.kotlin.services.omics.model.GetVariantImportJobRequest
import aws.sdk.kotlin.services.omics.model.GetVariantImportJobResponse
import aws.sdk.kotlin.services.omics.model.GetVariantStoreRequest
import aws.sdk.kotlin.services.omics.model.GetVariantStoreResponse
import aws.sdk.kotlin.services.omics.model.GetWorkflowRequest
import aws.sdk.kotlin.services.omics.model.GetWorkflowResponse
import aws.sdk.kotlin.services.omics.model.ListAnnotationImportJobsRequest
import aws.sdk.kotlin.services.omics.model.ListAnnotationImportJobsResponse
import aws.sdk.kotlin.services.omics.model.ListAnnotationStoreVersionsRequest
import aws.sdk.kotlin.services.omics.model.ListAnnotationStoreVersionsResponse
import aws.sdk.kotlin.services.omics.model.ListAnnotationStoresRequest
import aws.sdk.kotlin.services.omics.model.ListAnnotationStoresResponse
import aws.sdk.kotlin.services.omics.model.ListMultipartReadSetUploadsRequest
import aws.sdk.kotlin.services.omics.model.ListMultipartReadSetUploadsResponse
import aws.sdk.kotlin.services.omics.model.ListReadSetActivationJobsRequest
import aws.sdk.kotlin.services.omics.model.ListReadSetActivationJobsResponse
import aws.sdk.kotlin.services.omics.model.ListReadSetExportJobsRequest
import aws.sdk.kotlin.services.omics.model.ListReadSetExportJobsResponse
import aws.sdk.kotlin.services.omics.model.ListReadSetImportJobsRequest
import aws.sdk.kotlin.services.omics.model.ListReadSetImportJobsResponse
import aws.sdk.kotlin.services.omics.model.ListReadSetUploadPartsRequest
import aws.sdk.kotlin.services.omics.model.ListReadSetUploadPartsResponse
import aws.sdk.kotlin.services.omics.model.ListReadSetsRequest
import aws.sdk.kotlin.services.omics.model.ListReadSetsResponse
import aws.sdk.kotlin.services.omics.model.ListReferenceImportJobsRequest
import aws.sdk.kotlin.services.omics.model.ListReferenceImportJobsResponse
import aws.sdk.kotlin.services.omics.model.ListReferenceStoresRequest
import aws.sdk.kotlin.services.omics.model.ListReferenceStoresResponse
import aws.sdk.kotlin.services.omics.model.ListReferencesRequest
import aws.sdk.kotlin.services.omics.model.ListReferencesResponse
import aws.sdk.kotlin.services.omics.model.ListRunGroupsRequest
import aws.sdk.kotlin.services.omics.model.ListRunGroupsResponse
import aws.sdk.kotlin.services.omics.model.ListRunTasksRequest
import aws.sdk.kotlin.services.omics.model.ListRunTasksResponse
import aws.sdk.kotlin.services.omics.model.ListRunsRequest
import aws.sdk.kotlin.services.omics.model.ListRunsResponse
import aws.sdk.kotlin.services.omics.model.ListSequenceStoresRequest
import aws.sdk.kotlin.services.omics.model.ListSequenceStoresResponse
import aws.sdk.kotlin.services.omics.model.ListSharesRequest
import aws.sdk.kotlin.services.omics.model.ListSharesResponse
import aws.sdk.kotlin.services.omics.model.ListTagsForResourceRequest
import aws.sdk.kotlin.services.omics.model.ListTagsForResourceResponse
import aws.sdk.kotlin.services.omics.model.ListVariantImportJobsRequest
import aws.sdk.kotlin.services.omics.model.ListVariantImportJobsResponse
import aws.sdk.kotlin.services.omics.model.ListVariantStoresRequest
import aws.sdk.kotlin.services.omics.model.ListVariantStoresResponse
import aws.sdk.kotlin.services.omics.model.ListWorkflowsRequest
import aws.sdk.kotlin.services.omics.model.ListWorkflowsResponse
import aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobRequest
import aws.sdk.kotlin.services.omics.model.StartAnnotationImportJobResponse
import aws.sdk.kotlin.services.omics.model.StartReadSetActivationJobRequest
import aws.sdk.kotlin.services.omics.model.StartReadSetActivationJobResponse
import aws.sdk.kotlin.services.omics.model.StartReadSetExportJobRequest
import aws.sdk.kotlin.services.omics.model.StartReadSetExportJobResponse
import aws.sdk.kotlin.services.omics.model.StartReadSetImportJobRequest
import aws.sdk.kotlin.services.omics.model.StartReadSetImportJobResponse
import aws.sdk.kotlin.services.omics.model.StartReferenceImportJobRequest
import aws.sdk.kotlin.services.omics.model.StartReferenceImportJobResponse
import aws.sdk.kotlin.services.omics.model.StartRunRequest
import aws.sdk.kotlin.services.omics.model.StartRunResponse
import aws.sdk.kotlin.services.omics.model.StartVariantImportJobRequest
import aws.sdk.kotlin.services.omics.model.StartVariantImportJobResponse
import aws.sdk.kotlin.services.omics.model.TagResourceRequest
import aws.sdk.kotlin.services.omics.model.TagResourceResponse
import aws.sdk.kotlin.services.omics.model.UntagResourceRequest
import aws.sdk.kotlin.services.omics.model.UntagResourceResponse
import aws.sdk.kotlin.services.omics.model.UpdateAnnotationStoreRequest
import aws.sdk.kotlin.services.omics.model.UpdateAnnotationStoreResponse
import aws.sdk.kotlin.services.omics.model.UpdateAnnotationStoreVersionRequest
import aws.sdk.kotlin.services.omics.model.UpdateAnnotationStoreVersionResponse
import aws.sdk.kotlin.services.omics.model.UpdateRunGroupRequest
import aws.sdk.kotlin.services.omics.model.UpdateRunGroupResponse
import aws.sdk.kotlin.services.omics.model.UpdateVariantStoreRequest
import aws.sdk.kotlin.services.omics.model.UpdateVariantStoreResponse
import aws.sdk.kotlin.services.omics.model.UpdateWorkflowRequest
import aws.sdk.kotlin.services.omics.model.UpdateWorkflowResponse
import aws.sdk.kotlin.services.omics.model.UploadReadSetPartRequest
import aws.sdk.kotlin.services.omics.model.UploadReadSetPartResponse
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProviderConfig
import aws.smithy.kotlin.runtime.awsprotocol.ClockSkewInterceptor
import aws.smithy.kotlin.runtime.client.AbstractSdkClientBuilder
import aws.smithy.kotlin.runtime.client.IdempotencyTokenConfig
import aws.smithy.kotlin.runtime.client.IdempotencyTokenProvider
import aws.smithy.kotlin.runtime.client.LogMode
import aws.smithy.kotlin.runtime.client.RetryClientConfig
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfig
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfigImpl
import aws.smithy.kotlin.runtime.client.SdkClient
import aws.smithy.kotlin.runtime.client.SdkClientConfig
import aws.smithy.kotlin.runtime.client.SdkClientFactory
import aws.smithy.kotlin.runtime.http.auth.AuthScheme
import aws.smithy.kotlin.runtime.http.auth.HttpAuthConfig
import aws.smithy.kotlin.runtime.http.config.HttpClientConfig
import aws.smithy.kotlin.runtime.http.config.HttpEngineConfig
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
import aws.smithy.kotlin.runtime.http.engine.HttpEngineConfigImpl
import aws.smithy.kotlin.runtime.http.interceptors.HttpInterceptor
import aws.smithy.kotlin.runtime.net.Url
import aws.smithy.kotlin.runtime.retries.RetryStrategy
import aws.smithy.kotlin.runtime.retries.policy.RetryPolicy
import aws.smithy.kotlin.runtime.telemetry.Global
import aws.smithy.kotlin.runtime.telemetry.TelemetryConfig
import aws.smithy.kotlin.runtime.telemetry.TelemetryProvider
import aws.smithy.kotlin.runtime.util.LazyAsyncValue
import kotlin.collections.List
import kotlin.jvm.JvmStatic


public const val ServiceId: String = "Omics"
public const val SdkVersion: String = "0.34.6-beta"

/**
 * This is the *AWS HealthOmics API Reference*. For an introduction to the service, see [What is AWS HealthOmics?](https://docs.aws.amazon.com/omics/latest/dev/) in the *AWS HealthOmics User Guide*.
 */
public interface OmicsClient : SdkClient {
    /**
     * OmicsClient's configuration
     */
    public override val config: Config

    public companion object : AbstractAwsSdkClientFactory() {
        @JvmStatic
        override fun builder(): Builder = Builder()

        override suspend fun finalizeConfig(builder: Builder, sharedConfig: LazyAsyncValue) {
            builder.config.interceptors.add(0, ClockSkewInterceptor())
            builder.config.endpointUrl = builder.config.endpointUrl ?: resolveEndpointUrl(
                sharedConfig,
                "Omics",
                "OMICS",
                "omics",
            )
        }
    }

    public class Builder internal constructor(): AbstractSdkClientBuilder() {
        override val config: Config.Builder = Config.Builder()
        override fun newClient(config: Config): OmicsClient = DefaultOmicsClient(config)
    }

    public class Config private constructor(builder: Builder) : AwsSdkClientConfig, CredentialsProviderConfig, HttpAuthConfig, HttpClientConfig, HttpEngineConfig by builder.buildHttpEngineConfig(), IdempotencyTokenConfig, RetryClientConfig, RetryStrategyClientConfig by builder.buildRetryStrategyClientConfig(), SdkClientConfig, TelemetryConfig {
        override val clientName: String = builder.clientName
        override val region: String? = builder.region
        public val authSchemeProvider: OmicsAuthSchemeProvider = builder.authSchemeProvider ?: DefaultOmicsAuthSchemeProvider
        override val authSchemes: kotlin.collections.List = builder.authSchemes
        override val credentialsProvider: CredentialsProvider = builder.credentialsProvider ?: DefaultChainCredentialsProvider(httpClient = httpClient, region = region).manage()
        public val endpointProvider: OmicsEndpointProvider = builder.endpointProvider ?: DefaultOmicsEndpointProvider()
        public val endpointUrl: Url? = builder.endpointUrl
        override val idempotencyTokenProvider: IdempotencyTokenProvider = builder.idempotencyTokenProvider ?: IdempotencyTokenProvider.Default
        override val interceptors: kotlin.collections.List = builder.interceptors
        override val logMode: LogMode = builder.logMode ?: LogMode.Default
        override val retryPolicy: RetryPolicy = builder.retryPolicy ?: AwsDefaultRetryPolicy
        override val telemetryProvider: TelemetryProvider = builder.telemetryProvider ?: TelemetryProvider.Global
        override val useDualStack: Boolean = builder.useDualStack ?: false
        override val useFips: Boolean = builder.useFips ?: false
        override val applicationId: String? = builder.applicationId
        public companion object {
            public inline operator fun invoke(block: Builder.() -> kotlin.Unit): Config = Builder().apply(block).build()
        }

        public fun toBuilder(): Builder = Builder().apply {
            clientName = [email protected]
            region = [email protected]
            authSchemeProvider = [email protected]
            authSchemes = [email protected]
            credentialsProvider = [email protected]
            endpointProvider = [email protected]
            endpointUrl = [email protected]
            httpClient = [email protected]
            idempotencyTokenProvider = [email protected]
            interceptors = [email protected]()
            logMode = [email protected]
            retryPolicy = [email protected]
            retryStrategy = [email protected]
            telemetryProvider = [email protected]
            useDualStack = [email protected]
            useFips = [email protected]
            applicationId = [email protected]
        }

        public class Builder : AwsSdkClientConfig.Builder, CredentialsProviderConfig.Builder, HttpAuthConfig.Builder, HttpClientConfig.Builder, HttpEngineConfig.Builder by HttpEngineConfigImpl.BuilderImpl(), IdempotencyTokenConfig.Builder, RetryClientConfig.Builder, RetryStrategyClientConfig.Builder by RetryStrategyClientConfigImpl.BuilderImpl(), SdkClientConfig.Builder, TelemetryConfig.Builder {
            /**
             * A reader-friendly name for the client.
             */
            override var clientName: String = "Omics"

            /**
             * The AWS region (e.g. `us-west-2`) to make requests to. See about AWS
             * [global infrastructure](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/) for more
             * information
             */
            override var region: String? = null

            /**
             * Configure the provider used to resolve the authentication scheme to use for a particular operation.
             */
            public var authSchemeProvider: OmicsAuthSchemeProvider? = null

            /**
             * Register new or override default [AuthScheme]s configured for this client. By default, the set
             * of auth schemes configured comes from the service model. An auth scheme configured explicitly takes
             * precedence over the defaults and can be used to customize identity resolution and signing for specific
             * authentication schemes.
             */
            override var authSchemes: kotlin.collections.List = emptyList()

            /**
             * 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.
             */
            override var credentialsProvider: CredentialsProvider? = null

            /**
             * The endpoint provider used to determine where to make service requests. **This is an advanced config
             * option.**
             *
             * Endpoint resolution occurs as part of the workflow for every request made via the service client.
             *
             * The inputs to endpoint resolution are defined on a per-service basis (see [EndpointParameters]).
             */
            public var endpointProvider: OmicsEndpointProvider? = null

            /**
             * A custom endpoint to route requests to. The endpoint set here is passed to the configured
             * [endpointProvider], which may inspect and modify it as needed.
             *
             * Setting a custom endpointUrl should generally be preferred to overriding the [endpointProvider] and is
             * the recommended way to route requests to development or preview instances of a service.
             *
             * **This is an advanced config option.**
             */
            public var endpointUrl: Url? = null

            /**
             * Override the default idempotency token generator. SDK clients will generate tokens for members
             * that represent idempotent tokens when not explicitly set by the caller using this generator.
             */
            override var idempotencyTokenProvider: IdempotencyTokenProvider? = null

            /**
             * Add an [aws.smithy.kotlin.runtime.client.Interceptor] that will have access to read and modify
             * the request and response objects as they are processed by the SDK.
             * Interceptors added using this method are executed in the order they are configured and are always
             * later than any added automatically by the SDK.
             */
            override var interceptors: kotlin.collections.MutableList = kotlin.collections.mutableListOf()

            /**
             * 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.
             */
            override var logMode: LogMode? = null

            /**
             * The policy to use for evaluating operation results and determining whether/how to retry.
             */
            override var retryPolicy: RetryPolicy? = null

            /**
             * The telemetry provider used to instrument the SDK operations with. By default, the global telemetry
             * provider will be used.
             */
            override var telemetryProvider: TelemetryProvider? = null

            /**
             *            Flag to toggle whether to use dual-stack endpoints when making requests.
             *            See [https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html] for more information.
             * `          Disabled by default.
             */
            override var useDualStack: Boolean? = null

            /**
             *            Flag to toggle whether to use [FIPS](https://aws.amazon.com/compliance/fips/) endpoints when making requests.
             * `          Disabled by default.
             */
            override var useFips: Boolean? = null

            /**
             * An optional application specific identifier.
             * When set it will be appended to the User-Agent header of every request in the form of: `app/{applicationId}`.
             * When not explicitly set, the value will be loaded from the following locations:
             *
             * - JVM System Property: `aws.userAgentAppId`
             * - Environment variable: `AWS_SDK_UA_APP_ID`
             * - Shared configuration profile attribute: `sdk_ua_app_id`
             *
             * See [shared configuration settings](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html)
             * reference for more information on environment variables and shared config settings.
             */
            override var applicationId: String? = null

            override fun build(): Config = Config(this)
        }
    }

    /**
     * Stops a multipart upload.
     */
    public suspend fun abortMultipartReadSetUpload(input: AbortMultipartReadSetUploadRequest): AbortMultipartReadSetUploadResponse

    /**
     * Accepts a share for an analytics store.
     */
    public suspend fun acceptShare(input: AcceptShareRequest): AcceptShareResponse

    /**
     * Deletes one or more read sets.
     */
    public suspend fun batchDeleteReadSet(input: BatchDeleteReadSetRequest): BatchDeleteReadSetResponse

    /**
     * Cancels an annotation import job.
     */
    public suspend fun cancelAnnotationImportJob(input: CancelAnnotationImportJobRequest): CancelAnnotationImportJobResponse

    /**
     * Cancels a run.
     */
    public suspend fun cancelRun(input: CancelRunRequest): CancelRunResponse

    /**
     * Cancels a variant import job.
     */
    public suspend fun cancelVariantImportJob(input: CancelVariantImportJobRequest): CancelVariantImportJobResponse

    /**
     * Concludes a multipart upload once you have uploaded all the components.
     */
    public suspend fun completeMultipartReadSetUpload(input: CompleteMultipartReadSetUploadRequest): CompleteMultipartReadSetUploadResponse

    /**
     * Creates an annotation store.
     */
    public suspend fun createAnnotationStore(input: CreateAnnotationStoreRequest): CreateAnnotationStoreResponse

    /**
     * Creates a new version of an annotation store.
     */
    public suspend fun createAnnotationStoreVersion(input: CreateAnnotationStoreVersionRequest): CreateAnnotationStoreVersionResponse

    /**
     * Begins a multipart read set upload.
     */
    public suspend fun createMultipartReadSetUpload(input: CreateMultipartReadSetUploadRequest): CreateMultipartReadSetUploadResponse

    /**
     * Creates a reference store.
     */
    public suspend fun createReferenceStore(input: CreateReferenceStoreRequest): CreateReferenceStoreResponse

    /**
     * Creates a run group.
     */
    public suspend fun createRunGroup(input: CreateRunGroupRequest): CreateRunGroupResponse

    /**
     * Creates a sequence store.
     */
    public suspend fun createSequenceStore(input: CreateSequenceStoreRequest): CreateSequenceStoreResponse

    /**
     * Creates a share offer that can be accepted outside the account by a subscriber. The share is created by the owner and accepted by the principal subscriber.
     */
    public suspend fun createShare(input: CreateShareRequest): CreateShareResponse

    /**
     * Creates a variant store.
     */
    public suspend fun createVariantStore(input: CreateVariantStoreRequest): CreateVariantStoreResponse

    /**
     * Creates a workflow.
     */
    public suspend fun createWorkflow(input: CreateWorkflowRequest): CreateWorkflowResponse

    /**
     * Deletes an annotation store.
     */
    public suspend fun deleteAnnotationStore(input: DeleteAnnotationStoreRequest): DeleteAnnotationStoreResponse

    /**
     * Deletes one or multiple versions of an annotation store.
     */
    public suspend fun deleteAnnotationStoreVersions(input: DeleteAnnotationStoreVersionsRequest): DeleteAnnotationStoreVersionsResponse

    /**
     * Deletes a genome reference.
     */
    public suspend fun deleteReference(input: DeleteReferenceRequest): DeleteReferenceResponse

    /**
     * Deletes a genome reference store.
     */
    public suspend fun deleteReferenceStore(input: DeleteReferenceStoreRequest): DeleteReferenceStoreResponse

    /**
     * Deletes a workflow run.
     */
    public suspend fun deleteRun(input: DeleteRunRequest): DeleteRunResponse

    /**
     * Deletes a workflow run group.
     */
    public suspend fun deleteRunGroup(input: DeleteRunGroupRequest): DeleteRunGroupResponse

    /**
     * Deletes a sequence store.
     */
    public suspend fun deleteSequenceStore(input: DeleteSequenceStoreRequest): DeleteSequenceStoreResponse

    /**
     * Deletes a share of an analytics store.
     */
    public suspend fun deleteShare(input: DeleteShareRequest): DeleteShareResponse

    /**
     * Deletes a variant store.
     */
    public suspend fun deleteVariantStore(input: DeleteVariantStoreRequest): DeleteVariantStoreResponse

    /**
     * Deletes a workflow.
     */
    public suspend fun deleteWorkflow(input: DeleteWorkflowRequest): DeleteWorkflowResponse

    /**
     * Gets information about an annotation import job.
     */
    public suspend fun getAnnotationImportJob(input: GetAnnotationImportJobRequest): GetAnnotationImportJobResponse

    /**
     * Gets information about an annotation store.
     */
    public suspend fun getAnnotationStore(input: GetAnnotationStoreRequest): GetAnnotationStoreResponse

    /**
     * Retrieves the metadata for an annotation store version.
     */
    public suspend fun getAnnotationStoreVersion(input: GetAnnotationStoreVersionRequest): GetAnnotationStoreVersionResponse

    /**
     * Gets a file from a read set.
     */
    public suspend fun  getReadSet(input: GetReadSetRequest, block: suspend (GetReadSetResponse) -> T): T

    /**
     * Gets information about a read set activation job.
     */
    public suspend fun getReadSetActivationJob(input: GetReadSetActivationJobRequest): GetReadSetActivationJobResponse

    /**
     * Gets information about a read set export job.
     */
    public suspend fun getReadSetExportJob(input: GetReadSetExportJobRequest): GetReadSetExportJobResponse

    /**
     * Gets information about a read set import job.
     */
    public suspend fun getReadSetImportJob(input: GetReadSetImportJobRequest): GetReadSetImportJobResponse

    /**
     * Gets details about a read set.
     */
    public suspend fun getReadSetMetadata(input: GetReadSetMetadataRequest): GetReadSetMetadataResponse

    /**
     * Gets a reference file.
     */
    public suspend fun  getReference(input: GetReferenceRequest, block: suspend (GetReferenceResponse) -> T): T

    /**
     * Gets information about a reference import job.
     */
    public suspend fun getReferenceImportJob(input: GetReferenceImportJobRequest): GetReferenceImportJobResponse

    /**
     * Gets information about a genome reference's metadata.
     */
    public suspend fun getReferenceMetadata(input: GetReferenceMetadataRequest): GetReferenceMetadataResponse

    /**
     * Gets information about a reference store.
     */
    public suspend fun getReferenceStore(input: GetReferenceStoreRequest): GetReferenceStoreResponse

    /**
     * Gets information about a workflow run.
     */
    public suspend fun getRun(input: GetRunRequest): GetRunResponse

    /**
     * Gets information about a workflow run group.
     */
    public suspend fun getRunGroup(input: GetRunGroupRequest): GetRunGroupResponse

    /**
     * Gets information about a workflow run task.
     */
    public suspend fun getRunTask(input: GetRunTaskRequest): GetRunTaskResponse

    /**
     * Gets information about a sequence store.
     */
    public suspend fun getSequenceStore(input: GetSequenceStoreRequest): GetSequenceStoreResponse

    /**
     * Retrieves the metadata for a share.
     */
    public suspend fun getShare(input: GetShareRequest): GetShareResponse

    /**
     * Gets information about a variant import job.
     */
    public suspend fun getVariantImportJob(input: GetVariantImportJobRequest): GetVariantImportJobResponse

    /**
     * Gets information about a variant store.
     */
    public suspend fun getVariantStore(input: GetVariantStoreRequest): GetVariantStoreResponse

    /**
     * Gets information about a workflow.
     */
    public suspend fun getWorkflow(input: GetWorkflowRequest): GetWorkflowResponse

    /**
     * Retrieves a list of annotation import jobs.
     */
    public suspend fun listAnnotationImportJobs(input: ListAnnotationImportJobsRequest = ListAnnotationImportJobsRequest { }): ListAnnotationImportJobsResponse

    /**
     * Lists the versions of an annotation store.
     */
    public suspend fun listAnnotationStoreVersions(input: ListAnnotationStoreVersionsRequest): ListAnnotationStoreVersionsResponse

    /**
     * Retrieves a list of annotation stores.
     */
    public suspend fun listAnnotationStores(input: ListAnnotationStoresRequest = ListAnnotationStoresRequest { }): ListAnnotationStoresResponse

    /**
     * Lists all multipart read set uploads and their statuses.
     */
    public suspend fun listMultipartReadSetUploads(input: ListMultipartReadSetUploadsRequest): ListMultipartReadSetUploadsResponse

    /**
     * Retrieves a list of read set activation jobs.
     */
    public suspend fun listReadSetActivationJobs(input: ListReadSetActivationJobsRequest): ListReadSetActivationJobsResponse

    /**
     * Retrieves a list of read set export jobs.
     */
    public suspend fun listReadSetExportJobs(input: ListReadSetExportJobsRequest): ListReadSetExportJobsResponse

    /**
     * Retrieves a list of read set import jobs.
     */
    public suspend fun listReadSetImportJobs(input: ListReadSetImportJobsRequest): ListReadSetImportJobsResponse

    /**
     * This operation will list all parts in a requested multipart upload for a sequence store.
     */
    public suspend fun listReadSetUploadParts(input: ListReadSetUploadPartsRequest): ListReadSetUploadPartsResponse

    /**
     * Retrieves a list of read sets.
     */
    public suspend fun listReadSets(input: ListReadSetsRequest): ListReadSetsResponse

    /**
     * Retrieves a list of reference import jobs.
     */
    public suspend fun listReferenceImportJobs(input: ListReferenceImportJobsRequest): ListReferenceImportJobsResponse

    /**
     * Retrieves a list of reference stores.
     */
    public suspend fun listReferenceStores(input: ListReferenceStoresRequest = ListReferenceStoresRequest { }): ListReferenceStoresResponse

    /**
     * Retrieves a list of references.
     */
    public suspend fun listReferences(input: ListReferencesRequest): ListReferencesResponse

    /**
     * Retrieves a list of run groups.
     */
    public suspend fun listRunGroups(input: ListRunGroupsRequest = ListRunGroupsRequest { }): ListRunGroupsResponse

    /**
     * Retrieves a list of tasks for a run.
     */
    public suspend fun listRunTasks(input: ListRunTasksRequest): ListRunTasksResponse

    /**
     * Retrieves a list of runs.
     */
    public suspend fun listRuns(input: ListRunsRequest = ListRunsRequest { }): ListRunsResponse

    /**
     * Retrieves a list of sequence stores.
     */
    public suspend fun listSequenceStores(input: ListSequenceStoresRequest = ListSequenceStoresRequest { }): ListSequenceStoresResponse

    /**
     * Lists all shares associated with an account.
     */
    public suspend fun listShares(input: ListSharesRequest): ListSharesResponse

    /**
     * Retrieves a list of tags for a resource.
     */
    public suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse

    /**
     * Retrieves a list of variant import jobs.
     */
    public suspend fun listVariantImportJobs(input: ListVariantImportJobsRequest = ListVariantImportJobsRequest { }): ListVariantImportJobsResponse

    /**
     * Retrieves a list of variant stores.
     */
    public suspend fun listVariantStores(input: ListVariantStoresRequest = ListVariantStoresRequest { }): ListVariantStoresResponse

    /**
     * Retrieves a list of workflows.
     */
    public suspend fun listWorkflows(input: ListWorkflowsRequest = ListWorkflowsRequest { }): ListWorkflowsResponse

    /**
     * Starts an annotation import job.
     */
    public suspend fun startAnnotationImportJob(input: StartAnnotationImportJobRequest): StartAnnotationImportJobResponse

    /**
     * Activates an archived read set. To reduce storage charges, Amazon Omics archives unused read sets after 30 days.
     */
    public suspend fun startReadSetActivationJob(input: StartReadSetActivationJobRequest): StartReadSetActivationJobResponse

    /**
     * Exports a read set to Amazon S3.
     */
    public suspend fun startReadSetExportJob(input: StartReadSetExportJobRequest): StartReadSetExportJobResponse

    /**
     * Starts a read set import job.
     */
    public suspend fun startReadSetImportJob(input: StartReadSetImportJobRequest): StartReadSetImportJobResponse

    /**
     * Starts a reference import job.
     */
    public suspend fun startReferenceImportJob(input: StartReferenceImportJobRequest): StartReferenceImportJobResponse

    /**
     * Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The remaining parameters are copied from the previous run.
     *
     * The total number of runs in your account is subject to a quota per Region. To avoid needing to delete runs manually, you can set the retention mode to `REMOVE`. Runs with this setting are deleted automatically when the run quoata is exceeded.
     */
    public suspend fun startRun(input: StartRunRequest): StartRunResponse

    /**
     * Starts a variant import job.
     */
    public suspend fun startVariantImportJob(input: StartVariantImportJobRequest): StartVariantImportJobResponse

    /**
     * Tags a resource.
     */
    public suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

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

    /**
     * Updates an annotation store.
     */
    public suspend fun updateAnnotationStore(input: UpdateAnnotationStoreRequest): UpdateAnnotationStoreResponse

    /**
     * Updates the description of an annotation store version.
     */
    public suspend fun updateAnnotationStoreVersion(input: UpdateAnnotationStoreVersionRequest): UpdateAnnotationStoreVersionResponse

    /**
     * Updates a run group.
     */
    public suspend fun updateRunGroup(input: UpdateRunGroupRequest): UpdateRunGroupResponse

    /**
     * Updates a variant store.
     */
    public suspend fun updateVariantStore(input: UpdateVariantStoreRequest): UpdateVariantStoreResponse

    /**
     * Updates a workflow.
     */
    public suspend fun updateWorkflow(input: UpdateWorkflowRequest): UpdateWorkflowResponse

    /**
     * This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.
     */
    public suspend fun uploadReadSetPart(input: UploadReadSetPartRequest): UploadReadSetPartResponse
}

/**
 * Create a copy of the client with one or more configuration values overridden.
 * This method allows the caller to perform scoped config overrides for one or more client operations.
 *
 * Any resources created on your behalf will be shared between clients, and will only be closed when ALL clients using them are closed.
 * If you provide a resource (e.g. [HttpClientEngine]) to the SDK, you are responsible for managing the lifetime of that resource.
 */
public fun OmicsClient.withConfig(block: OmicsClient.Config.Builder.() -> Unit): OmicsClient {
    val newConfig = config.toBuilder().apply(block).build()
    return DefaultOmicsClient(newConfig)
}

/**
 * Stops a multipart upload.
 */
public suspend inline fun OmicsClient.abortMultipartReadSetUpload(crossinline block: AbortMultipartReadSetUploadRequest.Builder.() -> Unit): AbortMultipartReadSetUploadResponse = abortMultipartReadSetUpload(AbortMultipartReadSetUploadRequest.Builder().apply(block).build())

/**
 * Accepts a share for an analytics store.
 */
public suspend inline fun OmicsClient.acceptShare(crossinline block: AcceptShareRequest.Builder.() -> Unit): AcceptShareResponse = acceptShare(AcceptShareRequest.Builder().apply(block).build())

/**
 * Deletes one or more read sets.
 */
public suspend inline fun OmicsClient.batchDeleteReadSet(crossinline block: BatchDeleteReadSetRequest.Builder.() -> Unit): BatchDeleteReadSetResponse = batchDeleteReadSet(BatchDeleteReadSetRequest.Builder().apply(block).build())

/**
 * Cancels an annotation import job.
 */
public suspend inline fun OmicsClient.cancelAnnotationImportJob(crossinline block: CancelAnnotationImportJobRequest.Builder.() -> Unit): CancelAnnotationImportJobResponse = cancelAnnotationImportJob(CancelAnnotationImportJobRequest.Builder().apply(block).build())

/**
 * Cancels a run.
 */
public suspend inline fun OmicsClient.cancelRun(crossinline block: CancelRunRequest.Builder.() -> Unit): CancelRunResponse = cancelRun(CancelRunRequest.Builder().apply(block).build())

/**
 * Cancels a variant import job.
 */
public suspend inline fun OmicsClient.cancelVariantImportJob(crossinline block: CancelVariantImportJobRequest.Builder.() -> Unit): CancelVariantImportJobResponse = cancelVariantImportJob(CancelVariantImportJobRequest.Builder().apply(block).build())

/**
 * Concludes a multipart upload once you have uploaded all the components.
 */
public suspend inline fun OmicsClient.completeMultipartReadSetUpload(crossinline block: CompleteMultipartReadSetUploadRequest.Builder.() -> Unit): CompleteMultipartReadSetUploadResponse = completeMultipartReadSetUpload(CompleteMultipartReadSetUploadRequest.Builder().apply(block).build())

/**
 * Creates an annotation store.
 */
public suspend inline fun OmicsClient.createAnnotationStore(crossinline block: CreateAnnotationStoreRequest.Builder.() -> Unit): CreateAnnotationStoreResponse = createAnnotationStore(CreateAnnotationStoreRequest.Builder().apply(block).build())

/**
 * Creates a new version of an annotation store.
 */
public suspend inline fun OmicsClient.createAnnotationStoreVersion(crossinline block: CreateAnnotationStoreVersionRequest.Builder.() -> Unit): CreateAnnotationStoreVersionResponse = createAnnotationStoreVersion(CreateAnnotationStoreVersionRequest.Builder().apply(block).build())

/**
 * Begins a multipart read set upload.
 */
public suspend inline fun OmicsClient.createMultipartReadSetUpload(crossinline block: CreateMultipartReadSetUploadRequest.Builder.() -> Unit): CreateMultipartReadSetUploadResponse = createMultipartReadSetUpload(CreateMultipartReadSetUploadRequest.Builder().apply(block).build())

/**
 * Creates a reference store.
 */
public suspend inline fun OmicsClient.createReferenceStore(crossinline block: CreateReferenceStoreRequest.Builder.() -> Unit): CreateReferenceStoreResponse = createReferenceStore(CreateReferenceStoreRequest.Builder().apply(block).build())

/**
 * Creates a run group.
 */
public suspend inline fun OmicsClient.createRunGroup(crossinline block: CreateRunGroupRequest.Builder.() -> Unit): CreateRunGroupResponse = createRunGroup(CreateRunGroupRequest.Builder().apply(block).build())

/**
 * Creates a sequence store.
 */
public suspend inline fun OmicsClient.createSequenceStore(crossinline block: CreateSequenceStoreRequest.Builder.() -> Unit): CreateSequenceStoreResponse = createSequenceStore(CreateSequenceStoreRequest.Builder().apply(block).build())

/**
 * Creates a share offer that can be accepted outside the account by a subscriber. The share is created by the owner and accepted by the principal subscriber.
 */
public suspend inline fun OmicsClient.createShare(crossinline block: CreateShareRequest.Builder.() -> Unit): CreateShareResponse = createShare(CreateShareRequest.Builder().apply(block).build())

/**
 * Creates a variant store.
 */
public suspend inline fun OmicsClient.createVariantStore(crossinline block: CreateVariantStoreRequest.Builder.() -> Unit): CreateVariantStoreResponse = createVariantStore(CreateVariantStoreRequest.Builder().apply(block).build())

/**
 * Creates a workflow.
 */
public suspend inline fun OmicsClient.createWorkflow(crossinline block: CreateWorkflowRequest.Builder.() -> Unit): CreateWorkflowResponse = createWorkflow(CreateWorkflowRequest.Builder().apply(block).build())

/**
 * Deletes an annotation store.
 */
public suspend inline fun OmicsClient.deleteAnnotationStore(crossinline block: DeleteAnnotationStoreRequest.Builder.() -> Unit): DeleteAnnotationStoreResponse = deleteAnnotationStore(DeleteAnnotationStoreRequest.Builder().apply(block).build())

/**
 * Deletes one or multiple versions of an annotation store.
 */
public suspend inline fun OmicsClient.deleteAnnotationStoreVersions(crossinline block: DeleteAnnotationStoreVersionsRequest.Builder.() -> Unit): DeleteAnnotationStoreVersionsResponse = deleteAnnotationStoreVersions(DeleteAnnotationStoreVersionsRequest.Builder().apply(block).build())

/**
 * Deletes a genome reference.
 */
public suspend inline fun OmicsClient.deleteReference(crossinline block: DeleteReferenceRequest.Builder.() -> Unit): DeleteReferenceResponse = deleteReference(DeleteReferenceRequest.Builder().apply(block).build())

/**
 * Deletes a genome reference store.
 */
public suspend inline fun OmicsClient.deleteReferenceStore(crossinline block: DeleteReferenceStoreRequest.Builder.() -> Unit): DeleteReferenceStoreResponse = deleteReferenceStore(DeleteReferenceStoreRequest.Builder().apply(block).build())

/**
 * Deletes a workflow run.
 */
public suspend inline fun OmicsClient.deleteRun(crossinline block: DeleteRunRequest.Builder.() -> Unit): DeleteRunResponse = deleteRun(DeleteRunRequest.Builder().apply(block).build())

/**
 * Deletes a workflow run group.
 */
public suspend inline fun OmicsClient.deleteRunGroup(crossinline block: DeleteRunGroupRequest.Builder.() -> Unit): DeleteRunGroupResponse = deleteRunGroup(DeleteRunGroupRequest.Builder().apply(block).build())

/**
 * Deletes a sequence store.
 */
public suspend inline fun OmicsClient.deleteSequenceStore(crossinline block: DeleteSequenceStoreRequest.Builder.() -> Unit): DeleteSequenceStoreResponse = deleteSequenceStore(DeleteSequenceStoreRequest.Builder().apply(block).build())

/**
 * Deletes a share of an analytics store.
 */
public suspend inline fun OmicsClient.deleteShare(crossinline block: DeleteShareRequest.Builder.() -> Unit): DeleteShareResponse = deleteShare(DeleteShareRequest.Builder().apply(block).build())

/**
 * Deletes a variant store.
 */
public suspend inline fun OmicsClient.deleteVariantStore(crossinline block: DeleteVariantStoreRequest.Builder.() -> Unit): DeleteVariantStoreResponse = deleteVariantStore(DeleteVariantStoreRequest.Builder().apply(block).build())

/**
 * Deletes a workflow.
 */
public suspend inline fun OmicsClient.deleteWorkflow(crossinline block: DeleteWorkflowRequest.Builder.() -> Unit): DeleteWorkflowResponse = deleteWorkflow(DeleteWorkflowRequest.Builder().apply(block).build())

/**
 * Gets information about an annotation import job.
 */
public suspend inline fun OmicsClient.getAnnotationImportJob(crossinline block: GetAnnotationImportJobRequest.Builder.() -> Unit): GetAnnotationImportJobResponse = getAnnotationImportJob(GetAnnotationImportJobRequest.Builder().apply(block).build())

/**
 * Gets information about an annotation store.
 */
public suspend inline fun OmicsClient.getAnnotationStore(crossinline block: GetAnnotationStoreRequest.Builder.() -> Unit): GetAnnotationStoreResponse = getAnnotationStore(GetAnnotationStoreRequest.Builder().apply(block).build())

/**
 * Retrieves the metadata for an annotation store version.
 */
public suspend inline fun OmicsClient.getAnnotationStoreVersion(crossinline block: GetAnnotationStoreVersionRequest.Builder.() -> Unit): GetAnnotationStoreVersionResponse = getAnnotationStoreVersion(GetAnnotationStoreVersionRequest.Builder().apply(block).build())

/**
 * Gets information about a read set activation job.
 */
public suspend inline fun OmicsClient.getReadSetActivationJob(crossinline block: GetReadSetActivationJobRequest.Builder.() -> Unit): GetReadSetActivationJobResponse = getReadSetActivationJob(GetReadSetActivationJobRequest.Builder().apply(block).build())

/**
 * Gets information about a read set export job.
 */
public suspend inline fun OmicsClient.getReadSetExportJob(crossinline block: GetReadSetExportJobRequest.Builder.() -> Unit): GetReadSetExportJobResponse = getReadSetExportJob(GetReadSetExportJobRequest.Builder().apply(block).build())

/**
 * Gets information about a read set import job.
 */
public suspend inline fun OmicsClient.getReadSetImportJob(crossinline block: GetReadSetImportJobRequest.Builder.() -> Unit): GetReadSetImportJobResponse = getReadSetImportJob(GetReadSetImportJobRequest.Builder().apply(block).build())

/**
 * Gets details about a read set.
 */
public suspend inline fun OmicsClient.getReadSetMetadata(crossinline block: GetReadSetMetadataRequest.Builder.() -> Unit): GetReadSetMetadataResponse = getReadSetMetadata(GetReadSetMetadataRequest.Builder().apply(block).build())

/**
 * Gets information about a reference import job.
 */
public suspend inline fun OmicsClient.getReferenceImportJob(crossinline block: GetReferenceImportJobRequest.Builder.() -> Unit): GetReferenceImportJobResponse = getReferenceImportJob(GetReferenceImportJobRequest.Builder().apply(block).build())

/**
 * Gets information about a genome reference's metadata.
 */
public suspend inline fun OmicsClient.getReferenceMetadata(crossinline block: GetReferenceMetadataRequest.Builder.() -> Unit): GetReferenceMetadataResponse = getReferenceMetadata(GetReferenceMetadataRequest.Builder().apply(block).build())

/**
 * Gets information about a reference store.
 */
public suspend inline fun OmicsClient.getReferenceStore(crossinline block: GetReferenceStoreRequest.Builder.() -> Unit): GetReferenceStoreResponse = getReferenceStore(GetReferenceStoreRequest.Builder().apply(block).build())

/**
 * Gets information about a workflow run.
 */
public suspend inline fun OmicsClient.getRun(crossinline block: GetRunRequest.Builder.() -> Unit): GetRunResponse = getRun(GetRunRequest.Builder().apply(block).build())

/**
 * Gets information about a workflow run group.
 */
public suspend inline fun OmicsClient.getRunGroup(crossinline block: GetRunGroupRequest.Builder.() -> Unit): GetRunGroupResponse = getRunGroup(GetRunGroupRequest.Builder().apply(block).build())

/**
 * Gets information about a workflow run task.
 */
public suspend inline fun OmicsClient.getRunTask(crossinline block: GetRunTaskRequest.Builder.() -> Unit): GetRunTaskResponse = getRunTask(GetRunTaskRequest.Builder().apply(block).build())

/**
 * Gets information about a sequence store.
 */
public suspend inline fun OmicsClient.getSequenceStore(crossinline block: GetSequenceStoreRequest.Builder.() -> Unit): GetSequenceStoreResponse = getSequenceStore(GetSequenceStoreRequest.Builder().apply(block).build())

/**
 * Retrieves the metadata for a share.
 */
public suspend inline fun OmicsClient.getShare(crossinline block: GetShareRequest.Builder.() -> Unit): GetShareResponse = getShare(GetShareRequest.Builder().apply(block).build())

/**
 * Gets information about a variant import job.
 */
public suspend inline fun OmicsClient.getVariantImportJob(crossinline block: GetVariantImportJobRequest.Builder.() -> Unit): GetVariantImportJobResponse = getVariantImportJob(GetVariantImportJobRequest.Builder().apply(block).build())

/**
 * Gets information about a variant store.
 */
public suspend inline fun OmicsClient.getVariantStore(crossinline block: GetVariantStoreRequest.Builder.() -> Unit): GetVariantStoreResponse = getVariantStore(GetVariantStoreRequest.Builder().apply(block).build())

/**
 * Gets information about a workflow.
 */
public suspend inline fun OmicsClient.getWorkflow(crossinline block: GetWorkflowRequest.Builder.() -> Unit): GetWorkflowResponse = getWorkflow(GetWorkflowRequest.Builder().apply(block).build())

/**
 * Retrieves a list of annotation import jobs.
 */
public suspend inline fun OmicsClient.listAnnotationImportJobs(crossinline block: ListAnnotationImportJobsRequest.Builder.() -> Unit): ListAnnotationImportJobsResponse = listAnnotationImportJobs(ListAnnotationImportJobsRequest.Builder().apply(block).build())

/**
 * Lists the versions of an annotation store.
 */
public suspend inline fun OmicsClient.listAnnotationStoreVersions(crossinline block: ListAnnotationStoreVersionsRequest.Builder.() -> Unit): ListAnnotationStoreVersionsResponse = listAnnotationStoreVersions(ListAnnotationStoreVersionsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of annotation stores.
 */
public suspend inline fun OmicsClient.listAnnotationStores(crossinline block: ListAnnotationStoresRequest.Builder.() -> Unit): ListAnnotationStoresResponse = listAnnotationStores(ListAnnotationStoresRequest.Builder().apply(block).build())

/**
 * Lists all multipart read set uploads and their statuses.
 */
public suspend inline fun OmicsClient.listMultipartReadSetUploads(crossinline block: ListMultipartReadSetUploadsRequest.Builder.() -> Unit): ListMultipartReadSetUploadsResponse = listMultipartReadSetUploads(ListMultipartReadSetUploadsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of read set activation jobs.
 */
public suspend inline fun OmicsClient.listReadSetActivationJobs(crossinline block: ListReadSetActivationJobsRequest.Builder.() -> Unit): ListReadSetActivationJobsResponse = listReadSetActivationJobs(ListReadSetActivationJobsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of read set export jobs.
 */
public suspend inline fun OmicsClient.listReadSetExportJobs(crossinline block: ListReadSetExportJobsRequest.Builder.() -> Unit): ListReadSetExportJobsResponse = listReadSetExportJobs(ListReadSetExportJobsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of read set import jobs.
 */
public suspend inline fun OmicsClient.listReadSetImportJobs(crossinline block: ListReadSetImportJobsRequest.Builder.() -> Unit): ListReadSetImportJobsResponse = listReadSetImportJobs(ListReadSetImportJobsRequest.Builder().apply(block).build())

/**
 * This operation will list all parts in a requested multipart upload for a sequence store.
 */
public suspend inline fun OmicsClient.listReadSetUploadParts(crossinline block: ListReadSetUploadPartsRequest.Builder.() -> Unit): ListReadSetUploadPartsResponse = listReadSetUploadParts(ListReadSetUploadPartsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of read sets.
 */
public suspend inline fun OmicsClient.listReadSets(crossinline block: ListReadSetsRequest.Builder.() -> Unit): ListReadSetsResponse = listReadSets(ListReadSetsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of reference import jobs.
 */
public suspend inline fun OmicsClient.listReferenceImportJobs(crossinline block: ListReferenceImportJobsRequest.Builder.() -> Unit): ListReferenceImportJobsResponse = listReferenceImportJobs(ListReferenceImportJobsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of reference stores.
 */
public suspend inline fun OmicsClient.listReferenceStores(crossinline block: ListReferenceStoresRequest.Builder.() -> Unit): ListReferenceStoresResponse = listReferenceStores(ListReferenceStoresRequest.Builder().apply(block).build())

/**
 * Retrieves a list of references.
 */
public suspend inline fun OmicsClient.listReferences(crossinline block: ListReferencesRequest.Builder.() -> Unit): ListReferencesResponse = listReferences(ListReferencesRequest.Builder().apply(block).build())

/**
 * Retrieves a list of run groups.
 */
public suspend inline fun OmicsClient.listRunGroups(crossinline block: ListRunGroupsRequest.Builder.() -> Unit): ListRunGroupsResponse = listRunGroups(ListRunGroupsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of tasks for a run.
 */
public suspend inline fun OmicsClient.listRunTasks(crossinline block: ListRunTasksRequest.Builder.() -> Unit): ListRunTasksResponse = listRunTasks(ListRunTasksRequest.Builder().apply(block).build())

/**
 * Retrieves a list of runs.
 */
public suspend inline fun OmicsClient.listRuns(crossinline block: ListRunsRequest.Builder.() -> Unit): ListRunsResponse = listRuns(ListRunsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of sequence stores.
 */
public suspend inline fun OmicsClient.listSequenceStores(crossinline block: ListSequenceStoresRequest.Builder.() -> Unit): ListSequenceStoresResponse = listSequenceStores(ListSequenceStoresRequest.Builder().apply(block).build())

/**
 * Lists all shares associated with an account.
 */
public suspend inline fun OmicsClient.listShares(crossinline block: ListSharesRequest.Builder.() -> Unit): ListSharesResponse = listShares(ListSharesRequest.Builder().apply(block).build())

/**
 * Retrieves a list of tags for a resource.
 */
public suspend inline fun OmicsClient.listTagsForResource(crossinline block: ListTagsForResourceRequest.Builder.() -> Unit): ListTagsForResourceResponse = listTagsForResource(ListTagsForResourceRequest.Builder().apply(block).build())

/**
 * Retrieves a list of variant import jobs.
 */
public suspend inline fun OmicsClient.listVariantImportJobs(crossinline block: ListVariantImportJobsRequest.Builder.() -> Unit): ListVariantImportJobsResponse = listVariantImportJobs(ListVariantImportJobsRequest.Builder().apply(block).build())

/**
 * Retrieves a list of variant stores.
 */
public suspend inline fun OmicsClient.listVariantStores(crossinline block: ListVariantStoresRequest.Builder.() -> Unit): ListVariantStoresResponse = listVariantStores(ListVariantStoresRequest.Builder().apply(block).build())

/**
 * Retrieves a list of workflows.
 */
public suspend inline fun OmicsClient.listWorkflows(crossinline block: ListWorkflowsRequest.Builder.() -> Unit): ListWorkflowsResponse = listWorkflows(ListWorkflowsRequest.Builder().apply(block).build())

/**
 * Starts an annotation import job.
 */
public suspend inline fun OmicsClient.startAnnotationImportJob(crossinline block: StartAnnotationImportJobRequest.Builder.() -> Unit): StartAnnotationImportJobResponse = startAnnotationImportJob(StartAnnotationImportJobRequest.Builder().apply(block).build())

/**
 * Activates an archived read set. To reduce storage charges, Amazon Omics archives unused read sets after 30 days.
 */
public suspend inline fun OmicsClient.startReadSetActivationJob(crossinline block: StartReadSetActivationJobRequest.Builder.() -> Unit): StartReadSetActivationJobResponse = startReadSetActivationJob(StartReadSetActivationJobRequest.Builder().apply(block).build())

/**
 * Exports a read set to Amazon S3.
 */
public suspend inline fun OmicsClient.startReadSetExportJob(crossinline block: StartReadSetExportJobRequest.Builder.() -> Unit): StartReadSetExportJobResponse = startReadSetExportJob(StartReadSetExportJobRequest.Builder().apply(block).build())

/**
 * Starts a read set import job.
 */
public suspend inline fun OmicsClient.startReadSetImportJob(crossinline block: StartReadSetImportJobRequest.Builder.() -> Unit): StartReadSetImportJobResponse = startReadSetImportJob(StartReadSetImportJobRequest.Builder().apply(block).build())

/**
 * Starts a reference import job.
 */
public suspend inline fun OmicsClient.startReferenceImportJob(crossinline block: StartReferenceImportJobRequest.Builder.() -> Unit): StartReferenceImportJobResponse = startReferenceImportJob(StartReferenceImportJobRequest.Builder().apply(block).build())

/**
 * Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The remaining parameters are copied from the previous run.
 *
 * The total number of runs in your account is subject to a quota per Region. To avoid needing to delete runs manually, you can set the retention mode to `REMOVE`. Runs with this setting are deleted automatically when the run quoata is exceeded.
 */
public suspend inline fun OmicsClient.startRun(crossinline block: StartRunRequest.Builder.() -> Unit): StartRunResponse = startRun(StartRunRequest.Builder().apply(block).build())

/**
 * Starts a variant import job.
 */
public suspend inline fun OmicsClient.startVariantImportJob(crossinline block: StartVariantImportJobRequest.Builder.() -> Unit): StartVariantImportJobResponse = startVariantImportJob(StartVariantImportJobRequest.Builder().apply(block).build())

/**
 * Tags a resource.
 */
public suspend inline fun OmicsClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse = tagResource(TagResourceRequest.Builder().apply(block).build())

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

/**
 * Updates an annotation store.
 */
public suspend inline fun OmicsClient.updateAnnotationStore(crossinline block: UpdateAnnotationStoreRequest.Builder.() -> Unit): UpdateAnnotationStoreResponse = updateAnnotationStore(UpdateAnnotationStoreRequest.Builder().apply(block).build())

/**
 * Updates the description of an annotation store version.
 */
public suspend inline fun OmicsClient.updateAnnotationStoreVersion(crossinline block: UpdateAnnotationStoreVersionRequest.Builder.() -> Unit): UpdateAnnotationStoreVersionResponse = updateAnnotationStoreVersion(UpdateAnnotationStoreVersionRequest.Builder().apply(block).build())

/**
 * Updates a run group.
 */
public suspend inline fun OmicsClient.updateRunGroup(crossinline block: UpdateRunGroupRequest.Builder.() -> Unit): UpdateRunGroupResponse = updateRunGroup(UpdateRunGroupRequest.Builder().apply(block).build())

/**
 * Updates a variant store.
 */
public suspend inline fun OmicsClient.updateVariantStore(crossinline block: UpdateVariantStoreRequest.Builder.() -> Unit): UpdateVariantStoreResponse = updateVariantStore(UpdateVariantStoreRequest.Builder().apply(block).build())

/**
 * Updates a workflow.
 */
public suspend inline fun OmicsClient.updateWorkflow(crossinline block: UpdateWorkflowRequest.Builder.() -> Unit): UpdateWorkflowResponse = updateWorkflow(UpdateWorkflowRequest.Builder().apply(block).build())

/**
 * This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.
 */
public suspend inline fun OmicsClient.uploadReadSetPart(crossinline block: UploadReadSetPartRequest.Builder.() -> Unit): UploadReadSetPartResponse = uploadReadSetPart(UploadReadSetPartRequest.Builder().apply(block).build())




© 2015 - 2024 Weber Informatics LLC | Privacy Policy