AWS Native is in preview. AWS Classic is fully supported.
aws-native.lex.getBot
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on.
Using getBot
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 getBot(args: GetBotArgs, opts?: InvokeOptions): Promise<GetBotResult>
function getBotOutput(args: GetBotOutputArgs, opts?: InvokeOptions): Output<GetBotResult>
def get_bot(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBotResult
def get_bot_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBotResult]
func LookupBot(ctx *Context, args *LookupBotArgs, opts ...InvokeOption) (*LookupBotResult, error)
func LookupBotOutput(ctx *Context, args *LookupBotOutputArgs, opts ...InvokeOption) LookupBotResultOutput
> Note: This function is named LookupBot
in the Go SDK.
public static class GetBot
{
public static Task<GetBotResult> InvokeAsync(GetBotArgs args, InvokeOptions? opts = null)
public static Output<GetBotResult> Invoke(GetBotInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBotResult> getBot(GetBotArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:lex:getBot
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getBot Result
The following output properties are available:
- Arn string
- Data
Privacy Pulumi.Aws Native. Lex. Outputs. Data Privacy Properties Data privacy setting of the Bot.
- Description string
- Id string
- Idle
Session intTtl In Seconds IdleSessionTTLInSeconds of the resource
- Name string
- Role
Arn string - Test
Bot Pulumi.Alias Settings Aws Native. Lex. Outputs. Bot Test Bot Alias Settings
- Arn string
- Data
Privacy DataPrivacy Properties Data privacy setting of the Bot.
- Description string
- Id string
- Idle
Session intTtl In Seconds IdleSessionTTLInSeconds of the resource
- Name string
- Role
Arn string - Test
Bot BotAlias Settings Test Bot Alias Settings
- arn String
- data
Privacy DataPrivacy Properties Data privacy setting of the Bot.
- description String
- id String
- idle
Session IntegerTtl In Seconds IdleSessionTTLInSeconds of the resource
- name String
- role
Arn String - test
Bot BotAlias Settings Test Bot Alias Settings
- arn string
- data
Privacy DataPrivacy Properties Data privacy setting of the Bot.
- description string
- id string
- idle
Session numberTtl In Seconds IdleSessionTTLInSeconds of the resource
- name string
- role
Arn string - test
Bot BotAlias Settings Test Bot Alias Settings
- arn str
- data_
privacy DataPrivacy Properties Data privacy setting of the Bot.
- description str
- id str
- idle_
session_ intttl_ in_ seconds IdleSessionTTLInSeconds of the resource
- name str
- role_
arn str - test_
bot_ Botalias_ settings Test Bot Alias Settings
- arn String
- data
Privacy Property Map Data privacy setting of the Bot.
- description String
- id String
- idle
Session NumberTtl In Seconds IdleSessionTTLInSeconds of the resource
- name String
- role
Arn String - test
Bot Property MapAlias Settings
Supporting Types
BotAliasCodeHookSpecification
BotAliasLambdaCodeHook
- Code
Hook stringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- Lambda
Arn string The Amazon Resource Name (ARN) of the Lambda function.
- Code
Hook stringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- Lambda
Arn string The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook StringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn String The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook stringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn string The Amazon Resource Name (ARN) of the Lambda function.
- code_
hook_ strinterface_ version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda_
arn str The Amazon Resource Name (ARN) of the Lambda function.
- code
Hook StringInterface Version The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda
Arn String The Amazon Resource Name (ARN) of the Lambda function.
BotAliasLocaleSettings
- Enabled bool
Whether the Lambda code hook is enabled
- Code
Hook Pulumi.Specification Aws Native. Lex. Inputs. Bot Alias Code Hook Specification
- Enabled bool
Whether the Lambda code hook is enabled
- Code
Hook BotSpecification Alias Code Hook Specification
- enabled Boolean
Whether the Lambda code hook is enabled
- code
Hook BotSpecification Alias Code Hook Specification
- enabled boolean
Whether the Lambda code hook is enabled
- code
Hook BotSpecification Alias Code Hook Specification
- enabled bool
Whether the Lambda code hook is enabled
- code_
hook_ Botspecification Alias Code Hook Specification
- enabled Boolean
Whether the Lambda code hook is enabled
- code
Hook Property MapSpecification
BotAliasLocaleSettingsItem
- Bot
Alias Pulumi.Locale Setting Aws Native. Lex. Inputs. Bot Alias Locale Settings - Locale
Id string A string used to identify the locale
- Bot
Alias BotLocale Setting Alias Locale Settings - Locale
Id string A string used to identify the locale
- bot
Alias BotLocale Setting Alias Locale Settings - locale
Id String A string used to identify the locale
- bot
Alias BotLocale Setting Alias Locale Settings - locale
Id string A string used to identify the locale
- bot_
alias_ Botlocale_ setting Alias Locale Settings - locale_
id str A string used to identify the locale
- bot
Alias Property MapLocale Setting - locale
Id String A string used to identify the locale
BotAudioLogDestination
BotAudioLogSetting
- destination Property Map
- enabled Boolean
BotCloudWatchLogGroupLogDestination
- Cloud
Watch stringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- Log
Prefix string A string containing the value for the Log Prefix
- Cloud
Watch stringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- Log
Prefix string A string containing the value for the Log Prefix
- cloud
Watch StringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix String A string containing the value for the Log Prefix
- cloud
Watch stringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix string A string containing the value for the Log Prefix
- cloud_
watch_ strlog_ group_ arn A string used to identify the groupArn for the Cloudwatch Log Group
- log_
prefix str A string containing the value for the Log Prefix
- cloud
Watch StringLog Group Arn A string used to identify the groupArn for the Cloudwatch Log Group
- log
Prefix String A string containing the value for the Log Prefix
BotConversationLogSettings
BotS3BucketLogDestination
- Log
Prefix string The Amazon S3 key of the deployment package.
- S3Bucket
Arn string The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- Kms
Key stringArn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- Log
Prefix string The Amazon S3 key of the deployment package.
- S3Bucket
Arn string The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- Kms
Key stringArn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- log
Prefix String The Amazon S3 key of the deployment package.
- s3Bucket
Arn String The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms
Key StringArn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- log
Prefix string The Amazon S3 key of the deployment package.
- s3Bucket
Arn string The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms
Key stringArn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- log_
prefix str The Amazon S3 key of the deployment package.
- s3_
bucket_ strarn The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms_
key_ strarn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
- log
Prefix String The Amazon S3 key of the deployment package.
- s3Bucket
Arn String The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
- kms
Key StringArn The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
BotTestBotAliasSettings
- Bot
Alias List<Pulumi.Locale Settings Aws Native. Lex. Inputs. Bot Alias Locale Settings Item> - Conversation
Log Pulumi.Settings Aws Native. Lex. Inputs. Bot Conversation Log Settings - Description string
- Sentiment
Analysis Pulumi.Settings Aws Native. Lex. Inputs. Bot Test Bot Alias Settings Sentiment Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- Bot
Alias []BotLocale Settings Alias Locale Settings Item - Conversation
Log BotSettings Conversation Log Settings - Description string
- Sentiment
Analysis BotSettings Test Bot Alias Settings Sentiment Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot
Alias List<BotLocale Settings Alias Locale Settings Item> - conversation
Log BotSettings Conversation Log Settings - description String
- sentiment
Analysis BotSettings Test Bot Alias Settings Sentiment Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot
Alias BotLocale Settings Alias Locale Settings Item[] - conversation
Log BotSettings Conversation Log Settings - description string
- sentiment
Analysis BotSettings Test Bot Alias Settings Sentiment Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot_
alias_ Sequence[Botlocale_ settings Alias Locale Settings Item] - conversation_
log_ Botsettings Conversation Log Settings - description str
- sentiment_
analysis_ Botsettings Test Bot Alias Settings Sentiment Analysis Settings Properties Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- bot
Alias List<Property Map>Locale Settings - conversation
Log Property MapSettings - description String
- sentiment
Analysis Property MapSettings Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
BotTestBotAliasSettingsSentimentAnalysisSettingsProperties
- Detect
Sentiment bool Enable to call Amazon Comprehend for Sentiment natively within Lex
- Detect
Sentiment bool Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment Boolean Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment boolean Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect_
sentiment bool Enable to call Amazon Comprehend for Sentiment natively within Lex
- detect
Sentiment Boolean Enable to call Amazon Comprehend for Sentiment natively within Lex
BotTextLogDestination
BotTextLogSetting
- destination Property Map
- enabled Boolean
DataPrivacyProperties
- Child
Directed bool
- Child
Directed bool
- child
Directed Boolean
- child
Directed boolean
- child_
directed bool
- child
Directed Boolean
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.