All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.mediaconnect.kotlin.MediaconnectFunctions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediaconnect.kotlin

import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getBridgeOutputResourcePlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getBridgePlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getBridgeSourcePlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getFlowEntitlementPlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getFlowPlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getFlowSourcePlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getFlowVpcInterfacePlain
import com.pulumi.awsnative.mediaconnect.MediaconnectFunctions.getGatewayPlain
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgeOutputResourcePlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgeOutputResourcePlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgePlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgePlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgeSourcePlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgeSourcePlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowEntitlementPlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowEntitlementPlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowPlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowPlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowSourcePlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowSourcePlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowVpcInterfacePlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowVpcInterfacePlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetGatewayPlainArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetGatewayPlainArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeOutputResourceResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeSourceResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowEntitlementResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowSourceResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowVpcInterfaceResult
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetGatewayResult
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeOutputResourceResult.Companion.toKotlin as getBridgeOutputResourceResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeResult.Companion.toKotlin as getBridgeResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeSourceResult.Companion.toKotlin as getBridgeSourceResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowEntitlementResult.Companion.toKotlin as getFlowEntitlementResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowResult.Companion.toKotlin as getFlowResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowSourceResult.Companion.toKotlin as getFlowSourceResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetFlowVpcInterfaceResult.Companion.toKotlin as getFlowVpcInterfaceResultToKotlin
import com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetGatewayResult.Companion.toKotlin as getGatewayResultToKotlin

public object MediaconnectFunctions {
    /**
     * Resource schema for AWS::MediaConnect::Bridge
     * @param argument null
     * @return null
     */
    public suspend fun getBridge(argument: GetBridgePlainArgs): GetBridgeResult =
        getBridgeResultToKotlin(getBridgePlain(argument.toJava()).await())

    /**
     * @see [getBridge].
     * @param bridgeArn The Amazon Resource Number (ARN) of the bridge.
     * @return null
     */
    public suspend fun getBridge(bridgeArn: String): GetBridgeResult {
        val argument = GetBridgePlainArgs(
            bridgeArn = bridgeArn,
        )
        return getBridgeResultToKotlin(getBridgePlain(argument.toJava()).await())
    }

    /**
     * @see [getBridge].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgePlainArgs].
     * @return null
     */
    public suspend fun getBridge(argument: suspend GetBridgePlainArgsBuilder.() -> Unit): GetBridgeResult {
        val builder = GetBridgePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getBridgeResultToKotlin(getBridgePlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::BridgeOutput
     * @param argument null
     * @return null
     */
    public suspend fun getBridgeOutputResource(argument: GetBridgeOutputResourcePlainArgs): GetBridgeOutputResourceResult =
        getBridgeOutputResourceResultToKotlin(getBridgeOutputResourcePlain(argument.toJava()).await())

    /**
     * @see [getBridgeOutputResource].
     * @param bridgeArn The Amazon Resource Number (ARN) of the bridge.
     * @param name The network output name.
     * @return null
     */
    public suspend fun getBridgeOutputResource(bridgeArn: String, name: String): GetBridgeOutputResourceResult {
        val argument = GetBridgeOutputResourcePlainArgs(
            bridgeArn = bridgeArn,
            name = name,
        )
        return getBridgeOutputResourceResultToKotlin(getBridgeOutputResourcePlain(argument.toJava()).await())
    }

    /**
     * @see [getBridgeOutputResource].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgeOutputResourcePlainArgs].
     * @return null
     */
    public suspend fun getBridgeOutputResource(argument: suspend GetBridgeOutputResourcePlainArgsBuilder.() -> Unit): GetBridgeOutputResourceResult {
        val builder = GetBridgeOutputResourcePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getBridgeOutputResourceResultToKotlin(getBridgeOutputResourcePlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::BridgeSource
     * @param argument null
     * @return null
     */
    public suspend fun getBridgeSource(argument: GetBridgeSourcePlainArgs): GetBridgeSourceResult =
        getBridgeSourceResultToKotlin(getBridgeSourcePlain(argument.toJava()).await())

    /**
     * @see [getBridgeSource].
     * @param bridgeArn The Amazon Resource Number (ARN) of the bridge.
     * @param name The name of the source.
     * @return null
     */
    public suspend fun getBridgeSource(bridgeArn: String, name: String): GetBridgeSourceResult {
        val argument = GetBridgeSourcePlainArgs(
            bridgeArn = bridgeArn,
            name = name,
        )
        return getBridgeSourceResultToKotlin(getBridgeSourcePlain(argument.toJava()).await())
    }

    /**
     * @see [getBridgeSource].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetBridgeSourcePlainArgs].
     * @return null
     */
    public suspend fun getBridgeSource(argument: suspend GetBridgeSourcePlainArgsBuilder.() -> Unit): GetBridgeSourceResult {
        val builder = GetBridgeSourcePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getBridgeSourceResultToKotlin(getBridgeSourcePlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::Flow
     * @param argument null
     * @return null
     */
    public suspend fun getFlow(argument: GetFlowPlainArgs): GetFlowResult =
        getFlowResultToKotlin(getFlowPlain(argument.toJava()).await())

    /**
     * @see [getFlow].
     * @param flowArn The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.
     * @return null
     */
    public suspend fun getFlow(flowArn: String): GetFlowResult {
        val argument = GetFlowPlainArgs(
            flowArn = flowArn,
        )
        return getFlowResultToKotlin(getFlowPlain(argument.toJava()).await())
    }

    /**
     * @see [getFlow].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowPlainArgs].
     * @return null
     */
    public suspend fun getFlow(argument: suspend GetFlowPlainArgsBuilder.() -> Unit): GetFlowResult {
        val builder = GetFlowPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getFlowResultToKotlin(getFlowPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::FlowEntitlement
     * @param argument null
     * @return null
     */
    public suspend fun getFlowEntitlement(argument: GetFlowEntitlementPlainArgs): GetFlowEntitlementResult =
        getFlowEntitlementResultToKotlin(getFlowEntitlementPlain(argument.toJava()).await())

    /**
     * @see [getFlowEntitlement].
     * @param entitlementArn The ARN of the entitlement.
     * @return null
     */
    public suspend fun getFlowEntitlement(entitlementArn: String): GetFlowEntitlementResult {
        val argument = GetFlowEntitlementPlainArgs(
            entitlementArn = entitlementArn,
        )
        return getFlowEntitlementResultToKotlin(getFlowEntitlementPlain(argument.toJava()).await())
    }

    /**
     * @see [getFlowEntitlement].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowEntitlementPlainArgs].
     * @return null
     */
    public suspend fun getFlowEntitlement(argument: suspend GetFlowEntitlementPlainArgsBuilder.() -> Unit): GetFlowEntitlementResult {
        val builder = GetFlowEntitlementPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getFlowEntitlementResultToKotlin(getFlowEntitlementPlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::FlowSource
     * @param argument null
     * @return null
     */
    public suspend fun getFlowSource(argument: GetFlowSourcePlainArgs): GetFlowSourceResult =
        getFlowSourceResultToKotlin(getFlowSourcePlain(argument.toJava()).await())

    /**
     * @see [getFlowSource].
     * @param sourceArn The ARN of the source.
     * @return null
     */
    public suspend fun getFlowSource(sourceArn: String): GetFlowSourceResult {
        val argument = GetFlowSourcePlainArgs(
            sourceArn = sourceArn,
        )
        return getFlowSourceResultToKotlin(getFlowSourcePlain(argument.toJava()).await())
    }

    /**
     * @see [getFlowSource].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowSourcePlainArgs].
     * @return null
     */
    public suspend fun getFlowSource(argument: suspend GetFlowSourcePlainArgsBuilder.() -> Unit): GetFlowSourceResult {
        val builder = GetFlowSourcePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getFlowSourceResultToKotlin(getFlowSourcePlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::FlowVpcInterface
     * @param argument null
     * @return null
     */
    public suspend fun getFlowVpcInterface(argument: GetFlowVpcInterfacePlainArgs): GetFlowVpcInterfaceResult =
        getFlowVpcInterfaceResultToKotlin(getFlowVpcInterfacePlain(argument.toJava()).await())

    /**
     * @see [getFlowVpcInterface].
     * @param flowArn The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.
     * @param name Immutable and has to be a unique against other VpcInterfaces in this Flow.
     * @return null
     */
    public suspend fun getFlowVpcInterface(flowArn: String, name: String): GetFlowVpcInterfaceResult {
        val argument = GetFlowVpcInterfacePlainArgs(
            flowArn = flowArn,
            name = name,
        )
        return getFlowVpcInterfaceResultToKotlin(getFlowVpcInterfacePlain(argument.toJava()).await())
    }

    /**
     * @see [getFlowVpcInterface].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetFlowVpcInterfacePlainArgs].
     * @return null
     */
    public suspend fun getFlowVpcInterface(argument: suspend GetFlowVpcInterfacePlainArgsBuilder.() -> Unit): GetFlowVpcInterfaceResult {
        val builder = GetFlowVpcInterfacePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getFlowVpcInterfaceResultToKotlin(getFlowVpcInterfacePlain(builtArgument.toJava()).await())
    }

    /**
     * Resource schema for AWS::MediaConnect::Gateway
     * @param argument null
     * @return null
     */
    public suspend fun getGateway(argument: GetGatewayPlainArgs): GetGatewayResult =
        getGatewayResultToKotlin(getGatewayPlain(argument.toJava()).await())

    /**
     * @see [getGateway].
     * @param gatewayArn The Amazon Resource Name (ARN) of the gateway.
     * @return null
     */
    public suspend fun getGateway(gatewayArn: String): GetGatewayResult {
        val argument = GetGatewayPlainArgs(
            gatewayArn = gatewayArn,
        )
        return getGatewayResultToKotlin(getGatewayPlain(argument.toJava()).await())
    }

    /**
     * @see [getGateway].
     * @param argument Builder for [com.pulumi.awsnative.mediaconnect.kotlin.inputs.GetGatewayPlainArgs].
     * @return null
     */
    public suspend fun getGateway(argument: suspend GetGatewayPlainArgsBuilder.() -> Unit): GetGatewayResult {
        val builder = GetGatewayPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getGatewayResultToKotlin(getGatewayPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy