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

com.pulumi.awsnative.healthlake.kotlin.HealthlakeFunctions.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.healthlake.kotlin

import com.pulumi.awsnative.healthlake.HealthlakeFunctions.getFhirDatastorePlain
import com.pulumi.awsnative.healthlake.kotlin.inputs.GetFhirDatastorePlainArgs
import com.pulumi.awsnative.healthlake.kotlin.inputs.GetFhirDatastorePlainArgsBuilder
import com.pulumi.awsnative.healthlake.kotlin.outputs.GetFhirDatastoreResult
import com.pulumi.awsnative.healthlake.kotlin.outputs.GetFhirDatastoreResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit

public object HealthlakeFunctions {
    /**
     * HealthLake FHIR Datastore
     * @param argument null
     * @return null
     */
    public suspend fun getFhirDatastore(argument: GetFhirDatastorePlainArgs): GetFhirDatastoreResult =
        toKotlin(getFhirDatastorePlain(argument.toJava()).await())

    /**
     * @see [getFhirDatastore].
     * @param datastoreId The Amazon generated Data Store id. This id is in the output from the initial Data Store creation call.
     * @return null
     */
    public suspend fun getFhirDatastore(datastoreId: String): GetFhirDatastoreResult {
        val argument = GetFhirDatastorePlainArgs(
            datastoreId = datastoreId,
        )
        return toKotlin(getFhirDatastorePlain(argument.toJava()).await())
    }

    /**
     * @see [getFhirDatastore].
     * @param argument Builder for [com.pulumi.awsnative.healthlake.kotlin.inputs.GetFhirDatastorePlainArgs].
     * @return null
     */
    public suspend fun getFhirDatastore(argument: suspend GetFhirDatastorePlainArgsBuilder.() -> Unit): GetFhirDatastoreResult {
        val builder = GetFhirDatastorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return toKotlin(getFhirDatastorePlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy