![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iottwinmaker.kotlin.IottwinmakerFunctions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iottwinmaker.kotlin
import com.pulumi.awsnative.iottwinmaker.IottwinmakerFunctions.getComponentTypePlain
import com.pulumi.awsnative.iottwinmaker.IottwinmakerFunctions.getEntityPlain
import com.pulumi.awsnative.iottwinmaker.IottwinmakerFunctions.getScenePlain
import com.pulumi.awsnative.iottwinmaker.IottwinmakerFunctions.getSyncJobPlain
import com.pulumi.awsnative.iottwinmaker.IottwinmakerFunctions.getWorkspacePlain
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetComponentTypePlainArgs
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetComponentTypePlainArgsBuilder
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetEntityPlainArgs
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetEntityPlainArgsBuilder
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetScenePlainArgs
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetScenePlainArgsBuilder
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetSyncJobPlainArgs
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetSyncJobPlainArgsBuilder
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetWorkspacePlainArgs
import com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetWorkspacePlainArgsBuilder
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetComponentTypeResult
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetEntityResult
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetSceneResult
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetSyncJobResult
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetWorkspaceResult
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetComponentTypeResult.Companion.toKotlin as getComponentTypeResultToKotlin
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetEntityResult.Companion.toKotlin as getEntityResultToKotlin
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetSceneResult.Companion.toKotlin as getSceneResultToKotlin
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetSyncJobResult.Companion.toKotlin as getSyncJobResultToKotlin
import com.pulumi.awsnative.iottwinmaker.kotlin.outputs.GetWorkspaceResult.Companion.toKotlin as getWorkspaceResultToKotlin
public object IottwinmakerFunctions {
/**
* Resource schema for AWS::IoTTwinMaker::ComponentType
* @param argument null
* @return null
*/
public suspend fun getComponentType(argument: GetComponentTypePlainArgs): GetComponentTypeResult =
getComponentTypeResultToKotlin(getComponentTypePlain(argument.toJava()).await())
/**
* @see [getComponentType].
* @param componentTypeId The ID of the component type.
* @param workspaceId The ID of the workspace that contains the component type.
* @return null
*/
public suspend fun getComponentType(componentTypeId: String, workspaceId: String): GetComponentTypeResult {
val argument = GetComponentTypePlainArgs(
componentTypeId = componentTypeId,
workspaceId = workspaceId,
)
return getComponentTypeResultToKotlin(getComponentTypePlain(argument.toJava()).await())
}
/**
* @see [getComponentType].
* @param argument Builder for [com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetComponentTypePlainArgs].
* @return null
*/
public suspend fun getComponentType(argument: suspend GetComponentTypePlainArgsBuilder.() -> Unit): GetComponentTypeResult {
val builder = GetComponentTypePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return getComponentTypeResultToKotlin(getComponentTypePlain(builtArgument.toJava()).await())
}
/**
* Resource schema for AWS::IoTTwinMaker::Entity
* @param argument null
* @return null
*/
public suspend fun getEntity(argument: GetEntityPlainArgs): GetEntityResult =
getEntityResultToKotlin(getEntityPlain(argument.toJava()).await())
/**
* @see [getEntity].
* @param entityId The ID of the entity.
* @param workspaceId The ID of the workspace.
* @return null
*/
public suspend fun getEntity(entityId: String, workspaceId: String): GetEntityResult {
val argument = GetEntityPlainArgs(
entityId = entityId,
workspaceId = workspaceId,
)
return getEntityResultToKotlin(getEntityPlain(argument.toJava()).await())
}
/**
* @see [getEntity].
* @param argument Builder for [com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetEntityPlainArgs].
* @return null
*/
public suspend fun getEntity(argument: suspend GetEntityPlainArgsBuilder.() -> Unit): GetEntityResult {
val builder = GetEntityPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return getEntityResultToKotlin(getEntityPlain(builtArgument.toJava()).await())
}
/**
* Resource schema for AWS::IoTTwinMaker::Scene
* @param argument null
* @return null
*/
public suspend fun getScene(argument: GetScenePlainArgs): GetSceneResult =
getSceneResultToKotlin(getScenePlain(argument.toJava()).await())
/**
* @see [getScene].
* @param sceneId The ID of the scene.
* @param workspaceId The ID of the scene.
* @return null
*/
public suspend fun getScene(sceneId: String, workspaceId: String): GetSceneResult {
val argument = GetScenePlainArgs(
sceneId = sceneId,
workspaceId = workspaceId,
)
return getSceneResultToKotlin(getScenePlain(argument.toJava()).await())
}
/**
* @see [getScene].
* @param argument Builder for [com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetScenePlainArgs].
* @return null
*/
public suspend fun getScene(argument: suspend GetScenePlainArgsBuilder.() -> Unit): GetSceneResult {
val builder = GetScenePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return getSceneResultToKotlin(getScenePlain(builtArgument.toJava()).await())
}
/**
* Resource schema for AWS::IoTTwinMaker::SyncJob
* @param argument null
* @return null
*/
public suspend fun getSyncJob(argument: GetSyncJobPlainArgs): GetSyncJobResult =
getSyncJobResultToKotlin(getSyncJobPlain(argument.toJava()).await())
/**
* @see [getSyncJob].
* @param syncSource The source of the SyncJob.
* @param workspaceId The ID of the workspace.
* @return null
*/
public suspend fun getSyncJob(syncSource: String, workspaceId: String): GetSyncJobResult {
val argument = GetSyncJobPlainArgs(
syncSource = syncSource,
workspaceId = workspaceId,
)
return getSyncJobResultToKotlin(getSyncJobPlain(argument.toJava()).await())
}
/**
* @see [getSyncJob].
* @param argument Builder for [com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetSyncJobPlainArgs].
* @return null
*/
public suspend fun getSyncJob(argument: suspend GetSyncJobPlainArgsBuilder.() -> Unit): GetSyncJobResult {
val builder = GetSyncJobPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return getSyncJobResultToKotlin(getSyncJobPlain(builtArgument.toJava()).await())
}
/**
* Resource schema for AWS::IoTTwinMaker::Workspace
* @param argument null
* @return null
*/
public suspend fun getWorkspace(argument: GetWorkspacePlainArgs): GetWorkspaceResult =
getWorkspaceResultToKotlin(getWorkspacePlain(argument.toJava()).await())
/**
* @see [getWorkspace].
* @param workspaceId The ID of the workspace.
* @return null
*/
public suspend fun getWorkspace(workspaceId: String): GetWorkspaceResult {
val argument = GetWorkspacePlainArgs(
workspaceId = workspaceId,
)
return getWorkspaceResultToKotlin(getWorkspacePlain(argument.toJava()).await())
}
/**
* @see [getWorkspace].
* @param argument Builder for [com.pulumi.awsnative.iottwinmaker.kotlin.inputs.GetWorkspacePlainArgs].
* @return null
*/
public suspend fun getWorkspace(argument: suspend GetWorkspacePlainArgsBuilder.() -> Unit): GetWorkspaceResult {
val builder = GetWorkspacePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return getWorkspaceResultToKotlin(getWorkspacePlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy