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

com.pulumi.awsnative.healthimaging.kotlin.HealthimagingFunctions.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.healthimaging.kotlin

import com.pulumi.awsnative.healthimaging.HealthimagingFunctions.getDatastorePlain
import com.pulumi.awsnative.healthimaging.kotlin.inputs.GetDatastorePlainArgs
import com.pulumi.awsnative.healthimaging.kotlin.inputs.GetDatastorePlainArgsBuilder
import com.pulumi.awsnative.healthimaging.kotlin.outputs.GetDatastoreResult
import com.pulumi.awsnative.healthimaging.kotlin.outputs.GetDatastoreResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit

public object HealthimagingFunctions {
    /**
     * Definition of AWS::HealthImaging::Datastore Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getDatastore(argument: GetDatastorePlainArgs): GetDatastoreResult =
        toKotlin(getDatastorePlain(argument.toJava()).await())

    /**
     * @see [getDatastore].
     * @param datastoreId The data store identifier.
     * @return null
     */
    public suspend fun getDatastore(datastoreId: String): GetDatastoreResult {
        val argument = GetDatastorePlainArgs(
            datastoreId = datastoreId,
        )
        return toKotlin(getDatastorePlain(argument.toJava()).await())
    }

    /**
     * @see [getDatastore].
     * @param argument Builder for [com.pulumi.awsnative.healthimaging.kotlin.inputs.GetDatastorePlainArgs].
     * @return null
     */
    public suspend fun getDatastore(argument: suspend GetDatastorePlainArgsBuilder.() -> Unit): GetDatastoreResult {
        val builder = GetDatastorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return toKotlin(getDatastorePlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy