
com.pulumi.awsnative.pipes.kotlin.PipesFunctions.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.pipes.kotlin
import com.pulumi.awsnative.pipes.PipesFunctions.getPipePlain
import com.pulumi.awsnative.pipes.kotlin.inputs.GetPipePlainArgs
import com.pulumi.awsnative.pipes.kotlin.inputs.GetPipePlainArgsBuilder
import com.pulumi.awsnative.pipes.kotlin.outputs.GetPipeResult
import com.pulumi.awsnative.pipes.kotlin.outputs.GetPipeResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object PipesFunctions {
/**
* Definition of AWS::Pipes::Pipe Resource Type
* @param argument null
* @return null
*/
public suspend fun getPipe(argument: GetPipePlainArgs): GetPipeResult =
toKotlin(getPipePlain(argument.toJava()).await())
/**
* @see [getPipe].
* @param name The name of the pipe.
* @return null
*/
public suspend fun getPipe(name: String): GetPipeResult {
val argument = GetPipePlainArgs(
name = name,
)
return toKotlin(getPipePlain(argument.toJava()).await())
}
/**
* @see [getPipe].
* @param argument Builder for [com.pulumi.awsnative.pipes.kotlin.inputs.GetPipePlainArgs].
* @return null
*/
public suspend fun getPipe(argument: suspend GetPipePlainArgsBuilder.() -> Unit): GetPipeResult {
val builder = GetPipePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getPipePlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy