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

com.pulumi.awsnative.omics.kotlin.OmicsFunctions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.omics.kotlin

import com.pulumi.awsnative.omics.OmicsFunctions.getAnnotationStorePlain
import com.pulumi.awsnative.omics.OmicsFunctions.getReferenceStorePlain
import com.pulumi.awsnative.omics.OmicsFunctions.getRunGroupPlain
import com.pulumi.awsnative.omics.OmicsFunctions.getSequenceStorePlain
import com.pulumi.awsnative.omics.OmicsFunctions.getVariantStorePlain
import com.pulumi.awsnative.omics.OmicsFunctions.getWorkflowPlain
import com.pulumi.awsnative.omics.kotlin.inputs.GetAnnotationStorePlainArgs
import com.pulumi.awsnative.omics.kotlin.inputs.GetAnnotationStorePlainArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.GetReferenceStorePlainArgs
import com.pulumi.awsnative.omics.kotlin.inputs.GetReferenceStorePlainArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.GetRunGroupPlainArgs
import com.pulumi.awsnative.omics.kotlin.inputs.GetRunGroupPlainArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.GetSequenceStorePlainArgs
import com.pulumi.awsnative.omics.kotlin.inputs.GetSequenceStorePlainArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.GetVariantStorePlainArgs
import com.pulumi.awsnative.omics.kotlin.inputs.GetVariantStorePlainArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.GetWorkflowPlainArgs
import com.pulumi.awsnative.omics.kotlin.inputs.GetWorkflowPlainArgsBuilder
import com.pulumi.awsnative.omics.kotlin.outputs.GetAnnotationStoreResult
import com.pulumi.awsnative.omics.kotlin.outputs.GetReferenceStoreResult
import com.pulumi.awsnative.omics.kotlin.outputs.GetRunGroupResult
import com.pulumi.awsnative.omics.kotlin.outputs.GetSequenceStoreResult
import com.pulumi.awsnative.omics.kotlin.outputs.GetVariantStoreResult
import com.pulumi.awsnative.omics.kotlin.outputs.GetWorkflowResult
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.awsnative.omics.kotlin.outputs.GetAnnotationStoreResult.Companion.toKotlin as getAnnotationStoreResultToKotlin
import com.pulumi.awsnative.omics.kotlin.outputs.GetReferenceStoreResult.Companion.toKotlin as getReferenceStoreResultToKotlin
import com.pulumi.awsnative.omics.kotlin.outputs.GetRunGroupResult.Companion.toKotlin as getRunGroupResultToKotlin
import com.pulumi.awsnative.omics.kotlin.outputs.GetSequenceStoreResult.Companion.toKotlin as getSequenceStoreResultToKotlin
import com.pulumi.awsnative.omics.kotlin.outputs.GetVariantStoreResult.Companion.toKotlin as getVariantStoreResultToKotlin
import com.pulumi.awsnative.omics.kotlin.outputs.GetWorkflowResult.Companion.toKotlin as getWorkflowResultToKotlin

public object OmicsFunctions {
    /**
     * Definition of AWS::Omics::AnnotationStore Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getAnnotationStore(argument: GetAnnotationStorePlainArgs): GetAnnotationStoreResult =
        getAnnotationStoreResultToKotlin(getAnnotationStorePlain(argument.toJava()).await())

    /**
     * @see [getAnnotationStore].
     * @param name The name of the Annotation Store.
     * @return null
     */
    public suspend fun getAnnotationStore(name: String): GetAnnotationStoreResult {
        val argument = GetAnnotationStorePlainArgs(
            name = name,
        )
        return getAnnotationStoreResultToKotlin(getAnnotationStorePlain(argument.toJava()).await())
    }

    /**
     * @see [getAnnotationStore].
     * @param argument Builder for [com.pulumi.awsnative.omics.kotlin.inputs.GetAnnotationStorePlainArgs].
     * @return null
     */
    public suspend fun getAnnotationStore(argument: suspend GetAnnotationStorePlainArgsBuilder.() -> Unit): GetAnnotationStoreResult {
        val builder = GetAnnotationStorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getAnnotationStoreResultToKotlin(getAnnotationStorePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::Omics::ReferenceStore Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getReferenceStore(argument: GetReferenceStorePlainArgs): GetReferenceStoreResult =
        getReferenceStoreResultToKotlin(getReferenceStorePlain(argument.toJava()).await())

    /**
     * @see [getReferenceStore].
     * @param referenceStoreId The store's ID.
     * @return null
     */
    public suspend fun getReferenceStore(referenceStoreId: String): GetReferenceStoreResult {
        val argument = GetReferenceStorePlainArgs(
            referenceStoreId = referenceStoreId,
        )
        return getReferenceStoreResultToKotlin(getReferenceStorePlain(argument.toJava()).await())
    }

    /**
     * @see [getReferenceStore].
     * @param argument Builder for [com.pulumi.awsnative.omics.kotlin.inputs.GetReferenceStorePlainArgs].
     * @return null
     */
    public suspend fun getReferenceStore(argument: suspend GetReferenceStorePlainArgsBuilder.() -> Unit): GetReferenceStoreResult {
        val builder = GetReferenceStorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getReferenceStoreResultToKotlin(getReferenceStorePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::Omics::RunGroup Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getRunGroup(argument: GetRunGroupPlainArgs): GetRunGroupResult =
        getRunGroupResultToKotlin(getRunGroupPlain(argument.toJava()).await())

    /**
     * @see [getRunGroup].
     * @param id The run group's ID.
     * @return null
     */
    public suspend fun getRunGroup(id: String): GetRunGroupResult {
        val argument = GetRunGroupPlainArgs(
            id = id,
        )
        return getRunGroupResultToKotlin(getRunGroupPlain(argument.toJava()).await())
    }

    /**
     * @see [getRunGroup].
     * @param argument Builder for [com.pulumi.awsnative.omics.kotlin.inputs.GetRunGroupPlainArgs].
     * @return null
     */
    public suspend fun getRunGroup(argument: suspend GetRunGroupPlainArgsBuilder.() -> Unit): GetRunGroupResult {
        val builder = GetRunGroupPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getRunGroupResultToKotlin(getRunGroupPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::Omics::SequenceStore Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getSequenceStore(argument: GetSequenceStorePlainArgs): GetSequenceStoreResult =
        getSequenceStoreResultToKotlin(getSequenceStorePlain(argument.toJava()).await())

    /**
     * @see [getSequenceStore].
     * @param sequenceStoreId The store's ID.
     * @return null
     */
    public suspend fun getSequenceStore(sequenceStoreId: String): GetSequenceStoreResult {
        val argument = GetSequenceStorePlainArgs(
            sequenceStoreId = sequenceStoreId,
        )
        return getSequenceStoreResultToKotlin(getSequenceStorePlain(argument.toJava()).await())
    }

    /**
     * @see [getSequenceStore].
     * @param argument Builder for [com.pulumi.awsnative.omics.kotlin.inputs.GetSequenceStorePlainArgs].
     * @return null
     */
    public suspend fun getSequenceStore(argument: suspend GetSequenceStorePlainArgsBuilder.() -> Unit): GetSequenceStoreResult {
        val builder = GetSequenceStorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getSequenceStoreResultToKotlin(getSequenceStorePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::Omics::VariantStore Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getVariantStore(argument: GetVariantStorePlainArgs): GetVariantStoreResult =
        getVariantStoreResultToKotlin(getVariantStorePlain(argument.toJava()).await())

    /**
     * @see [getVariantStore].
     * @param name A name for the store.
     * @return null
     */
    public suspend fun getVariantStore(name: String): GetVariantStoreResult {
        val argument = GetVariantStorePlainArgs(
            name = name,
        )
        return getVariantStoreResultToKotlin(getVariantStorePlain(argument.toJava()).await())
    }

    /**
     * @see [getVariantStore].
     * @param argument Builder for [com.pulumi.awsnative.omics.kotlin.inputs.GetVariantStorePlainArgs].
     * @return null
     */
    public suspend fun getVariantStore(argument: suspend GetVariantStorePlainArgsBuilder.() -> Unit): GetVariantStoreResult {
        val builder = GetVariantStorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getVariantStoreResultToKotlin(getVariantStorePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::Omics::Workflow Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getWorkflow(argument: GetWorkflowPlainArgs): GetWorkflowResult =
        getWorkflowResultToKotlin(getWorkflowPlain(argument.toJava()).await())

    /**
     * @see [getWorkflow].
     * @param id The workflow's ID.
     * @return null
     */
    public suspend fun getWorkflow(id: String): GetWorkflowResult {
        val argument = GetWorkflowPlainArgs(
            id = id,
        )
        return getWorkflowResultToKotlin(getWorkflowPlain(argument.toJava()).await())
    }

    /**
     * @see [getWorkflow].
     * @param argument Builder for [com.pulumi.awsnative.omics.kotlin.inputs.GetWorkflowPlainArgs].
     * @return null
     */
    public suspend fun getWorkflow(argument: suspend GetWorkflowPlainArgsBuilder.() -> Unit): GetWorkflowResult {
        val builder = GetWorkflowPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getWorkflowResultToKotlin(getWorkflowPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy