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

com.pulumi.awsnative.b2bi.kotlin.B2biFunctions.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.b2bi.kotlin

import com.pulumi.awsnative.b2bi.B2biFunctions.getCapabilityPlain
import com.pulumi.awsnative.b2bi.B2biFunctions.getPartnershipPlain
import com.pulumi.awsnative.b2bi.B2biFunctions.getProfilePlain
import com.pulumi.awsnative.b2bi.B2biFunctions.getTransformerPlain
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetCapabilityPlainArgs
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetCapabilityPlainArgsBuilder
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetPartnershipPlainArgs
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetPartnershipPlainArgsBuilder
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetProfilePlainArgs
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetProfilePlainArgsBuilder
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetTransformerPlainArgs
import com.pulumi.awsnative.b2bi.kotlin.inputs.GetTransformerPlainArgsBuilder
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetCapabilityResult
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetPartnershipResult
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetProfileResult
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetTransformerResult
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetCapabilityResult.Companion.toKotlin as getCapabilityResultToKotlin
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetPartnershipResult.Companion.toKotlin as getPartnershipResultToKotlin
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetProfileResult.Companion.toKotlin as getProfileResultToKotlin
import com.pulumi.awsnative.b2bi.kotlin.outputs.GetTransformerResult.Companion.toKotlin as getTransformerResultToKotlin

public object B2biFunctions {
    /**
     * Definition of AWS::B2BI::Capability Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getCapability(argument: GetCapabilityPlainArgs): GetCapabilityResult =
        getCapabilityResultToKotlin(getCapabilityPlain(argument.toJava()).await())

    /**
     * @see [getCapability].
     * @param capabilityId Returns a system-assigned unique identifier for the capability.
     * @return null
     */
    public suspend fun getCapability(capabilityId: String): GetCapabilityResult {
        val argument = GetCapabilityPlainArgs(
            capabilityId = capabilityId,
        )
        return getCapabilityResultToKotlin(getCapabilityPlain(argument.toJava()).await())
    }

    /**
     * @see [getCapability].
     * @param argument Builder for [com.pulumi.awsnative.b2bi.kotlin.inputs.GetCapabilityPlainArgs].
     * @return null
     */
    public suspend fun getCapability(argument: suspend GetCapabilityPlainArgsBuilder.() -> Unit): GetCapabilityResult {
        val builder = GetCapabilityPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getCapabilityResultToKotlin(getCapabilityPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::B2BI::Partnership Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getPartnership(argument: GetPartnershipPlainArgs): GetPartnershipResult =
        getPartnershipResultToKotlin(getPartnershipPlain(argument.toJava()).await())

    /**
     * @see [getPartnership].
     * @param partnershipId Returns the unique, system-generated identifier for a partnership.
     * @return null
     */
    public suspend fun getPartnership(partnershipId: String): GetPartnershipResult {
        val argument = GetPartnershipPlainArgs(
            partnershipId = partnershipId,
        )
        return getPartnershipResultToKotlin(getPartnershipPlain(argument.toJava()).await())
    }

    /**
     * @see [getPartnership].
     * @param argument Builder for [com.pulumi.awsnative.b2bi.kotlin.inputs.GetPartnershipPlainArgs].
     * @return null
     */
    public suspend fun getPartnership(argument: suspend GetPartnershipPlainArgsBuilder.() -> Unit): GetPartnershipResult {
        val builder = GetPartnershipPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getPartnershipResultToKotlin(getPartnershipPlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::B2BI::Profile Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getProfile(argument: GetProfilePlainArgs): GetProfileResult =
        getProfileResultToKotlin(getProfilePlain(argument.toJava()).await())

    /**
     * @see [getProfile].
     * @param profileId
     * @return null
     */
    public suspend fun getProfile(profileId: String): GetProfileResult {
        val argument = GetProfilePlainArgs(
            profileId = profileId,
        )
        return getProfileResultToKotlin(getProfilePlain(argument.toJava()).await())
    }

    /**
     * @see [getProfile].
     * @param argument Builder for [com.pulumi.awsnative.b2bi.kotlin.inputs.GetProfilePlainArgs].
     * @return null
     */
    public suspend fun getProfile(argument: suspend GetProfilePlainArgsBuilder.() -> Unit): GetProfileResult {
        val builder = GetProfilePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getProfileResultToKotlin(getProfilePlain(builtArgument.toJava()).await())
    }

    /**
     * Definition of AWS::B2BI::Transformer Resource Type
     * @param argument null
     * @return null
     */
    public suspend fun getTransformer(argument: GetTransformerPlainArgs): GetTransformerResult =
        getTransformerResultToKotlin(getTransformerPlain(argument.toJava()).await())

    /**
     * @see [getTransformer].
     * @param transformerId The system-assigned unique identifier for the transformer.
     * @return null
     */
    public suspend fun getTransformer(transformerId: String): GetTransformerResult {
        val argument = GetTransformerPlainArgs(
            transformerId = transformerId,
        )
        return getTransformerResultToKotlin(getTransformerPlain(argument.toJava()).await())
    }

    /**
     * @see [getTransformer].
     * @param argument Builder for [com.pulumi.awsnative.b2bi.kotlin.inputs.GetTransformerPlainArgs].
     * @return null
     */
    public suspend fun getTransformer(argument: suspend GetTransformerPlainArgsBuilder.() -> Unit): GetTransformerResult {
        val builder = GetTransformerPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getTransformerResultToKotlin(getTransformerPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy