![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kinesisfirehose.kotlin.KinesisfirehoseFunctions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin
import com.pulumi.awsnative.kinesisfirehose.KinesisfirehoseFunctions.getDeliveryStreamPlain
import com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.GetDeliveryStreamPlainArgs
import com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.GetDeliveryStreamPlainArgsBuilder
import com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.GetDeliveryStreamResult
import com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.GetDeliveryStreamResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object KinesisfirehoseFunctions {
/**
* Resource Type definition for AWS::KinesisFirehose::DeliveryStream
* @param argument null
* @return null
*/
public suspend fun getDeliveryStream(argument: GetDeliveryStreamPlainArgs): GetDeliveryStreamResult = toKotlin(getDeliveryStreamPlain(argument.toJava()).await())
/**
* @see [getDeliveryStream].
* @param deliveryStreamName The name of the delivery stream.
* @return null
*/
public suspend fun getDeliveryStream(deliveryStreamName: String): GetDeliveryStreamResult {
val argument = GetDeliveryStreamPlainArgs(
deliveryStreamName = deliveryStreamName,
)
return toKotlin(getDeliveryStreamPlain(argument.toJava()).await())
}
/**
* @see [getDeliveryStream].
* @param argument Builder for [com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.GetDeliveryStreamPlainArgs].
* @return null
*/
public suspend fun getDeliveryStream(argument: suspend GetDeliveryStreamPlainArgsBuilder.() -> Unit): GetDeliveryStreamResult {
val builder = GetDeliveryStreamPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getDeliveryStreamPlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy