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

com.pulumi.awsnative.cleanrooms.kotlin.CleanroomsFunctions.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cleanrooms.kotlin

import com.pulumi.awsnative.cleanrooms.CleanroomsFunctions.getAnalysisTemplatePlain
import com.pulumi.awsnative.cleanrooms.CleanroomsFunctions.getCollaborationPlain
import com.pulumi.awsnative.cleanrooms.CleanroomsFunctions.getConfiguredTableAssociationPlain
import com.pulumi.awsnative.cleanrooms.CleanroomsFunctions.getConfiguredTablePlain
import com.pulumi.awsnative.cleanrooms.CleanroomsFunctions.getMembershipPlain
import com.pulumi.awsnative.cleanrooms.CleanroomsFunctions.getPrivacyBudgetTemplatePlain
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetAnalysisTemplatePlainArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetAnalysisTemplatePlainArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetCollaborationPlainArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetCollaborationPlainArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetConfiguredTableAssociationPlainArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetConfiguredTableAssociationPlainArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetConfiguredTablePlainArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetConfiguredTablePlainArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetMembershipPlainArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetMembershipPlainArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetPrivacyBudgetTemplatePlainArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetPrivacyBudgetTemplatePlainArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetAnalysisTemplateResult
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetCollaborationResult
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetConfiguredTableAssociationResult
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetConfiguredTableResult
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetMembershipResult
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetPrivacyBudgetTemplateResult
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetAnalysisTemplateResult.Companion.toKotlin as getAnalysisTemplateResultToKotlin
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetCollaborationResult.Companion.toKotlin as getCollaborationResultToKotlin
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetConfiguredTableAssociationResult.Companion.toKotlin as getConfiguredTableAssociationResultToKotlin
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetConfiguredTableResult.Companion.toKotlin as getConfiguredTableResultToKotlin
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetMembershipResult.Companion.toKotlin as getMembershipResultToKotlin
import com.pulumi.awsnative.cleanrooms.kotlin.outputs.GetPrivacyBudgetTemplateResult.Companion.toKotlin as getPrivacyBudgetTemplateResultToKotlin

public object CleanroomsFunctions {
    /**
     * Represents a stored analysis within a collaboration
     * @param argument null
     * @return null
     */
    public suspend fun getAnalysisTemplate(argument: GetAnalysisTemplatePlainArgs): GetAnalysisTemplateResult =
        getAnalysisTemplateResultToKotlin(getAnalysisTemplatePlain(argument.toJava()).await())

    /**
     * @see [getAnalysisTemplate].
     * @param analysisTemplateIdentifier Returns the identifier for the analysis template.
     * Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE2222`
     * @param membershipIdentifier The identifier for a membership resource.
     * @return null
     */
    public suspend fun getAnalysisTemplate(
        analysisTemplateIdentifier: String,
        membershipIdentifier: String,
    ): GetAnalysisTemplateResult {
        val argument = GetAnalysisTemplatePlainArgs(
            analysisTemplateIdentifier = analysisTemplateIdentifier,
            membershipIdentifier = membershipIdentifier,
        )
        return getAnalysisTemplateResultToKotlin(getAnalysisTemplatePlain(argument.toJava()).await())
    }

    /**
     * @see [getAnalysisTemplate].
     * @param argument Builder for [com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetAnalysisTemplatePlainArgs].
     * @return null
     */
    public suspend fun getAnalysisTemplate(argument: suspend GetAnalysisTemplatePlainArgsBuilder.() -> Unit): GetAnalysisTemplateResult {
        val builder = GetAnalysisTemplatePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getAnalysisTemplateResultToKotlin(getAnalysisTemplatePlain(builtArgument.toJava()).await())
    }

    /**
     * Represents a collaboration between AWS accounts that allows for secure data collaboration
     * @param argument null
     * @return null
     */
    public suspend fun getCollaboration(argument: GetCollaborationPlainArgs): GetCollaborationResult =
        getCollaborationResultToKotlin(getCollaborationPlain(argument.toJava()).await())

    /**
     * @see [getCollaboration].
     * @param collaborationIdentifier Returns the unique identifier of the specified collaboration.
     * Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`
     * @return null
     */
    public suspend fun getCollaboration(collaborationIdentifier: String): GetCollaborationResult {
        val argument = GetCollaborationPlainArgs(
            collaborationIdentifier = collaborationIdentifier,
        )
        return getCollaborationResultToKotlin(getCollaborationPlain(argument.toJava()).await())
    }

    /**
     * @see [getCollaboration].
     * @param argument Builder for [com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetCollaborationPlainArgs].
     * @return null
     */
    public suspend fun getCollaboration(argument: suspend GetCollaborationPlainArgsBuilder.() -> Unit): GetCollaborationResult {
        val builder = GetCollaborationPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getCollaborationResultToKotlin(getCollaborationPlain(builtArgument.toJava()).await())
    }

    /**
     * Represents a table that can be associated with collaborations
     * @param argument null
     * @return null
     */
    public suspend fun getConfiguredTable(argument: GetConfiguredTablePlainArgs): GetConfiguredTableResult =
        getConfiguredTableResultToKotlin(getConfiguredTablePlain(argument.toJava()).await())

    /**
     * @see [getConfiguredTable].
     * @param configuredTableIdentifier Returns the unique identifier of the specified configured table.
     * Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`
     * @return null
     */
    public suspend fun getConfiguredTable(configuredTableIdentifier: String): GetConfiguredTableResult {
        val argument = GetConfiguredTablePlainArgs(
            configuredTableIdentifier = configuredTableIdentifier,
        )
        return getConfiguredTableResultToKotlin(getConfiguredTablePlain(argument.toJava()).await())
    }

    /**
     * @see [getConfiguredTable].
     * @param argument Builder for [com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetConfiguredTablePlainArgs].
     * @return null
     */
    public suspend fun getConfiguredTable(argument: suspend GetConfiguredTablePlainArgsBuilder.() -> Unit): GetConfiguredTableResult {
        val builder = GetConfiguredTablePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getConfiguredTableResultToKotlin(getConfiguredTablePlain(builtArgument.toJava()).await())
    }

    /**
     * Represents a table that can be queried within a collaboration
     * @param argument null
     * @return null
     */
    public suspend fun getConfiguredTableAssociation(argument: GetConfiguredTableAssociationPlainArgs): GetConfiguredTableAssociationResult =
        getConfiguredTableAssociationResultToKotlin(getConfiguredTableAssociationPlain(argument.toJava()).await())

    /**
     * @see [getConfiguredTableAssociation].
     * @param configuredTableAssociationIdentifier Returns the unique identifier of the specified configured table association.
     * Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`
     * @param membershipIdentifier The unique ID for the membership this configured table association belongs to.
     * @return null
     */
    public suspend fun getConfiguredTableAssociation(
        configuredTableAssociationIdentifier: String,
        membershipIdentifier: String,
    ): GetConfiguredTableAssociationResult {
        val argument = GetConfiguredTableAssociationPlainArgs(
            configuredTableAssociationIdentifier = configuredTableAssociationIdentifier,
            membershipIdentifier = membershipIdentifier,
        )
        return getConfiguredTableAssociationResultToKotlin(getConfiguredTableAssociationPlain(argument.toJava()).await())
    }

    /**
     * @see [getConfiguredTableAssociation].
     * @param argument Builder for [com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetConfiguredTableAssociationPlainArgs].
     * @return null
     */
    public suspend fun getConfiguredTableAssociation(argument: suspend GetConfiguredTableAssociationPlainArgsBuilder.() -> Unit): GetConfiguredTableAssociationResult {
        val builder = GetConfiguredTableAssociationPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getConfiguredTableAssociationResultToKotlin(getConfiguredTableAssociationPlain(builtArgument.toJava()).await())
    }

    /**
     * Represents an AWS account that is a part of a collaboration
     * @param argument null
     * @return null
     */
    public suspend fun getMembership(argument: GetMembershipPlainArgs): GetMembershipResult =
        getMembershipResultToKotlin(getMembershipPlain(argument.toJava()).await())

    /**
     * @see [getMembership].
     * @param membershipIdentifier Returns the unique identifier of the specified membership.
     * Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`
     * @return null
     */
    public suspend fun getMembership(membershipIdentifier: String): GetMembershipResult {
        val argument = GetMembershipPlainArgs(
            membershipIdentifier = membershipIdentifier,
        )
        return getMembershipResultToKotlin(getMembershipPlain(argument.toJava()).await())
    }

    /**
     * @see [getMembership].
     * @param argument Builder for [com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetMembershipPlainArgs].
     * @return null
     */
    public suspend fun getMembership(argument: suspend GetMembershipPlainArgsBuilder.() -> Unit): GetMembershipResult {
        val builder = GetMembershipPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getMembershipResultToKotlin(getMembershipPlain(builtArgument.toJava()).await())
    }

    /**
     * Represents a privacy budget within a collaboration
     * @param argument null
     * @return null
     */
    public suspend fun getPrivacyBudgetTemplate(argument: GetPrivacyBudgetTemplatePlainArgs): GetPrivacyBudgetTemplateResult =
        getPrivacyBudgetTemplateResultToKotlin(getPrivacyBudgetTemplatePlain(argument.toJava()).await())

    /**
     * @see [getPrivacyBudgetTemplate].
     * @param membershipIdentifier The identifier for a membership resource.
     * @param privacyBudgetTemplateIdentifier A unique identifier for one of your memberships for a collaboration. The privacy budget template is created in the collaboration that this membership belongs to. Accepts a membership ID.
     * @return null
     */
    public suspend fun getPrivacyBudgetTemplate(
        membershipIdentifier: String,
        privacyBudgetTemplateIdentifier: String,
    ): GetPrivacyBudgetTemplateResult {
        val argument = GetPrivacyBudgetTemplatePlainArgs(
            membershipIdentifier = membershipIdentifier,
            privacyBudgetTemplateIdentifier = privacyBudgetTemplateIdentifier,
        )
        return getPrivacyBudgetTemplateResultToKotlin(getPrivacyBudgetTemplatePlain(argument.toJava()).await())
    }

    /**
     * @see [getPrivacyBudgetTemplate].
     * @param argument Builder for [com.pulumi.awsnative.cleanrooms.kotlin.inputs.GetPrivacyBudgetTemplatePlainArgs].
     * @return null
     */
    public suspend fun getPrivacyBudgetTemplate(argument: suspend GetPrivacyBudgetTemplatePlainArgsBuilder.() -> Unit): GetPrivacyBudgetTemplateResult {
        val builder = GetPrivacyBudgetTemplatePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getPrivacyBudgetTemplateResultToKotlin(getPrivacyBudgetTemplatePlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy