getIntent

Provides details about a specific Amazon Lex Intent.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lex.LexFunctions;
import com.pulumi.aws.lex.inputs.GetIntentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var orderFlowers = LexFunctions.getIntent(GetIntentArgs.builder()
.name("OrderFlowers")
.version("$LATEST")
.build());
}
}

Return

A collection of values returned by getIntent.

Parameters

argument

A collection of arguments for invoking getIntent.


suspend fun getIntent(name: String, version: String? = null): GetIntentResult

Return

A collection of values returned by getIntent.

Parameters

name

Name of the intent. The name is case sensitive.

version

Version of the intent.

See also


suspend fun getIntent(argument: suspend GetIntentPlainArgsBuilder.() -> Unit): GetIntentResult

Return

A collection of values returned by getIntent.

Parameters

argument

Builder for com.pulumi.aws.lex.kotlin.inputs.GetIntentPlainArgs.

See also