AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.lex.getIntent
Explore with Pulumi AI
Provides details about a specific Amazon Lex Intent.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const orderFlowers = aws.lex.getIntent({
    name: "OrderFlowers",
    version: "$LATEST",
});
import pulumi
import pulumi_aws as aws
order_flowers = aws.lex.get_intent(name="OrderFlowers",
    version="$LATEST")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lex.LookupIntent(ctx, &lex.LookupIntentArgs{
			Name:    "OrderFlowers",
			Version: pulumi.StringRef("$LATEST"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var orderFlowers = Aws.Lex.GetIntent.Invoke(new()
    {
        Name = "OrderFlowers",
        Version = "$LATEST",
    });
});
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());
    }
}
variables:
  orderFlowers:
    fn::invoke:
      function: aws:lex:getIntent
      arguments:
        name: OrderFlowers
        version: $LATEST
Using getIntent
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIntent(args: GetIntentArgs, opts?: InvokeOptions): Promise<GetIntentResult>
function getIntentOutput(args: GetIntentOutputArgs, opts?: InvokeOptions): Output<GetIntentResult>def get_intent(name: Optional[str] = None,
               version: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetIntentResult
def get_intent_output(name: Optional[pulumi.Input[str]] = None,
               version: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetIntentResult]func LookupIntent(ctx *Context, args *LookupIntentArgs, opts ...InvokeOption) (*LookupIntentResult, error)
func LookupIntentOutput(ctx *Context, args *LookupIntentOutputArgs, opts ...InvokeOption) LookupIntentResultOutput> Note: This function is named LookupIntent in the Go SDK.
public static class GetIntent 
{
    public static Task<GetIntentResult> InvokeAsync(GetIntentArgs args, InvokeOptions? opts = null)
    public static Output<GetIntentResult> Invoke(GetIntentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIntentResult> getIntent(GetIntentArgs args, InvokeOptions options)
public static Output<GetIntentResult> getIntent(GetIntentArgs args, InvokeOptions options)
fn::invoke:
  function: aws:lex/getIntent:getIntent
  arguments:
    # arguments dictionaryThe following arguments are supported:
getIntent Result
The following output properties are available:
- Arn string
- ARN of the Lex intent.
- Checksum string
- Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
- CreatedDate string
- Date when the intent version was created.
- Description string
- Description of the intent.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringDate 
- Date when the $LATEST version of this intent was updated.
- Name string
- Name of the intent, not case sensitive.
- ParentIntent stringSignature 
- A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- Version string
- Version of the bot.
- Arn string
- ARN of the Lex intent.
- Checksum string
- Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
- CreatedDate string
- Date when the intent version was created.
- Description string
- Description of the intent.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringDate 
- Date when the $LATEST version of this intent was updated.
- Name string
- Name of the intent, not case sensitive.
- ParentIntent stringSignature 
- A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- Version string
- Version of the bot.
- arn String
- ARN of the Lex intent.
- checksum String
- Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
- createdDate String
- Date when the intent version was created.
- description String
- Description of the intent.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringDate 
- Date when the $LATEST version of this intent was updated.
- name String
- Name of the intent, not case sensitive.
- parentIntent StringSignature 
- A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- version String
- Version of the bot.
- arn string
- ARN of the Lex intent.
- checksum string
- Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
- createdDate string
- Date when the intent version was created.
- description string
- Description of the intent.
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdated stringDate 
- Date when the $LATEST version of this intent was updated.
- name string
- Name of the intent, not case sensitive.
- parentIntent stringSignature 
- A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- version string
- Version of the bot.
- arn str
- ARN of the Lex intent.
- checksum str
- Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
- created_date str
- Date when the intent version was created.
- description str
- Description of the intent.
- id str
- The provider-assigned unique ID for this managed resource.
- last_updated_ strdate 
- Date when the $LATEST version of this intent was updated.
- name str
- Name of the intent, not case sensitive.
- parent_intent_ strsignature 
- A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- version str
- Version of the bot.
- arn String
- ARN of the Lex intent.
- checksum String
- Checksum identifying the version of the intent that was created. The checksum is not included as an argument because the resource will add it automatically when updating the intent.
- createdDate String
- Date when the intent version was created.
- description String
- Description of the intent.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringDate 
- Date when the $LATEST version of this intent was updated.
- name String
- Name of the intent, not case sensitive.
- parentIntent StringSignature 
- A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.
- version String
- Version of the bot.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.