AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getIntent

Provides details about a specific Amazon Lex Intent.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var orderFlowers = Output.Create(Aws.Lex.GetIntent.InvokeAsync(new Aws.Lex.GetIntentArgs
        {
            Name = "OrderFlowers",
            Version = "$LATEST",
        }));
    }

}
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-aws/sdk/v5/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(fmt.Sprintf("%v%v", "$", "LATEST")),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var orderFlowers = Output.of(LexFunctions.getIntent(GetIntentArgs.builder()
            .name("OrderFlowers")
            .version("$LATEST")
            .build()));

    }
}
import pulumi
import pulumi_aws as aws

order_flowers = aws.lex.get_intent(name="OrderFlowers",
    version="$LATEST")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const orderFlowers = pulumi.output(aws.lex.getIntent({
    name: "OrderFlowers",
    version: "$LATEST",
}));
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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:lex/getIntent:getIntent
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

The name of the intent. The name is case sensitive.

Version string

The version of the intent.

Name string

The name of the intent. The name is case sensitive.

Version string

The version of the intent.

name String

The name of the intent. The name is case sensitive.

version String

The version of the intent.

name string

The name of the intent. The name is case sensitive.

version string

The version of the intent.

name str

The name of the intent. The name is case sensitive.

version str

The version of the intent.

name String

The name of the intent. The name is case sensitive.

version String

The version of the intent.

getIntent Result

The following output properties are available:

Arn string

The 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

The date when the intent version was created.

Description string

A description of the intent.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

The date when the $LATEST version of this intent was updated.

Name string

The name of the intent, not case sensitive.

ParentIntentSignature string

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

The version of the bot.

Arn string

The 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

The date when the intent version was created.

Description string

A description of the intent.

Id string

The provider-assigned unique ID for this managed resource.

LastUpdatedDate string

The date when the $LATEST version of this intent was updated.

Name string

The name of the intent, not case sensitive.

ParentIntentSignature string

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

The version of the bot.

arn String

The 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

The date when the intent version was created.

description String

A description of the intent.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

The date when the $LATEST version of this intent was updated.

name String

The name of the intent, not case sensitive.

parentIntentSignature String

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

The version of the bot.

arn string

The 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

The date when the intent version was created.

description string

A description of the intent.

id string

The provider-assigned unique ID for this managed resource.

lastUpdatedDate string

The date when the $LATEST version of this intent was updated.

name string

The name of the intent, not case sensitive.

parentIntentSignature string

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

The version of the bot.

arn str

The 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

The date when the intent version was created.

description str

A description of the intent.

id str

The provider-assigned unique ID for this managed resource.

last_updated_date str

The date when the $LATEST version of this intent was updated.

name str

The name of the intent, not case sensitive.

parent_intent_signature str

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

The version of the bot.

arn String

The 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

The date when the intent version was created.

description String

A description of the intent.

id String

The provider-assigned unique ID for this managed resource.

lastUpdatedDate String

The date when the $LATEST version of this intent was updated.

name String

The name of the intent, not case sensitive.

parentIntentSignature String

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

The version of the bot.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.