Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.lex.getIntent
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:lex/getIntent:getIntent
arguments:
# arguments dictionary
The 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.
- Created
Date 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.
- Last
Updated stringDate - Date when the $LATEST version of this intent was updated.
- Name string
- Name of the intent, not case sensitive.
- Parent
Intent 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.
- Created
Date 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.
- Last
Updated stringDate - Date when the $LATEST version of this intent was updated.
- Name string
- Name of the intent, not case sensitive.
- Parent
Intent 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.
- created
Date 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.
- last
Updated StringDate - Date when the $LATEST version of this intent was updated.
- name String
- Name of the intent, not case sensitive.
- parent
Intent 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.
- created
Date 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.
- last
Updated stringDate - Date when the $LATEST version of this intent was updated.
- name string
- Name of the intent, not case sensitive.
- parent
Intent 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.
- created
Date 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.
- last
Updated StringDate - Date when the $LATEST version of this intent was updated.
- name String
- Name of the intent, not case sensitive.
- parent
Intent 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
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi