![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.applicationsignals.kotlin.ApplicationsignalsFunctions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.applicationsignals.kotlin
import com.pulumi.awsnative.applicationsignals.ApplicationsignalsFunctions.getServiceLevelObjectivePlain
import com.pulumi.awsnative.applicationsignals.kotlin.inputs.GetServiceLevelObjectivePlainArgs
import com.pulumi.awsnative.applicationsignals.kotlin.inputs.GetServiceLevelObjectivePlainArgsBuilder
import com.pulumi.awsnative.applicationsignals.kotlin.outputs.GetServiceLevelObjectiveResult
import com.pulumi.awsnative.applicationsignals.kotlin.outputs.GetServiceLevelObjectiveResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object ApplicationsignalsFunctions {
/**
* Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective
* @param argument null
* @return null
*/
public suspend fun getServiceLevelObjective(argument: GetServiceLevelObjectivePlainArgs): GetServiceLevelObjectiveResult =
toKotlin(getServiceLevelObjectivePlain(argument.toJava()).await())
/**
* @see [getServiceLevelObjective].
* @param arn The ARN of this SLO.
* @return null
*/
public suspend fun getServiceLevelObjective(arn: String): GetServiceLevelObjectiveResult {
val argument = GetServiceLevelObjectivePlainArgs(
arn = arn,
)
return toKotlin(getServiceLevelObjectivePlain(argument.toJava()).await())
}
/**
* @see [getServiceLevelObjective].
* @param argument Builder for [com.pulumi.awsnative.applicationsignals.kotlin.inputs.GetServiceLevelObjectivePlainArgs].
* @return null
*/
public suspend fun getServiceLevelObjective(argument: suspend GetServiceLevelObjectivePlainArgsBuilder.() -> Unit): GetServiceLevelObjectiveResult {
val builder = GetServiceLevelObjectivePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getServiceLevelObjectivePlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy