
com.pulumi.awsnative.budgets.kotlin.BudgetsFunctions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.budgets.kotlin
import com.pulumi.awsnative.budgets.BudgetsFunctions.getBudgetsActionPlain
import com.pulumi.awsnative.budgets.kotlin.inputs.GetBudgetsActionPlainArgs
import com.pulumi.awsnative.budgets.kotlin.inputs.GetBudgetsActionPlainArgsBuilder
import com.pulumi.awsnative.budgets.kotlin.outputs.GetBudgetsActionResult
import com.pulumi.awsnative.budgets.kotlin.outputs.GetBudgetsActionResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object BudgetsFunctions {
/**
* An example resource schema demonstrating some basic constructs and validation rules.
* @param argument null
* @return null
*/
public suspend fun getBudgetsAction(argument: GetBudgetsActionPlainArgs): GetBudgetsActionResult =
toKotlin(getBudgetsActionPlain(argument.toJava()).await())
/**
* @see [getBudgetsAction].
* @param actionId A system-generated universally unique identifier (UUID) for the action.
* @param budgetName A string that represents the budget name. ":" and "\" characters aren't allowed.
* @return null
*/
public suspend fun getBudgetsAction(actionId: String, budgetName: String): GetBudgetsActionResult {
val argument = GetBudgetsActionPlainArgs(
actionId = actionId,
budgetName = budgetName,
)
return toKotlin(getBudgetsActionPlain(argument.toJava()).await())
}
/**
* @see [getBudgetsAction].
* @param argument Builder for [com.pulumi.awsnative.budgets.kotlin.inputs.GetBudgetsActionPlainArgs].
* @return null
*/
public suspend fun getBudgetsAction(argument: suspend GetBudgetsActionPlainArgsBuilder.() -> Unit): GetBudgetsActionResult {
val builder = GetBudgetsActionPlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getBudgetsActionPlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy