com.pulumi.awsnative.healthlake.kotlin.HealthlakeFunctions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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())
}
}