![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.pipes.kotlin.PipesFunctions.kt Maven / Gradle / Ivy
@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