
com.pulumi.awsnative.datapipeline.kotlin.DatapipelineFunctions.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.datapipeline.kotlin
import com.pulumi.awsnative.datapipeline.DatapipelineFunctions.getPipelinePlain
import com.pulumi.awsnative.datapipeline.kotlin.inputs.GetPipelinePlainArgs
import com.pulumi.awsnative.datapipeline.kotlin.inputs.GetPipelinePlainArgsBuilder
import com.pulumi.awsnative.datapipeline.kotlin.outputs.GetPipelineResult
import com.pulumi.awsnative.datapipeline.kotlin.outputs.GetPipelineResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object DatapipelineFunctions {
/**
* An example resource schema demonstrating some basic constructs and validation rules.
* @param argument null
* @return null
*/
public suspend fun getPipeline(argument: GetPipelinePlainArgs): GetPipelineResult =
toKotlin(getPipelinePlain(argument.toJava()).await())
/**
* @see [getPipeline].
* @param pipelineId The ID of the pipeline.
* @return null
*/
public suspend fun getPipeline(pipelineId: String): GetPipelineResult {
val argument = GetPipelinePlainArgs(
pipelineId = pipelineId,
)
return toKotlin(getPipelinePlain(argument.toJava()).await())
}
/**
* @see [getPipeline].
* @param argument Builder for [com.pulumi.awsnative.datapipeline.kotlin.inputs.GetPipelinePlainArgs].
* @return null
*/
public suspend fun getPipeline(argument: suspend GetPipelinePlainArgsBuilder.() -> Unit): GetPipelineResult {
val builder = GetPipelinePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getPipelinePlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy