PutBotResponse class

Constructors

PutBotResponse({Statement? abortStatement, String? checksum, bool? childDirected, Prompt? clarificationPrompt, bool? createVersion, DateTime? createdDate, String? description, bool? detectSentiment, bool? enableModelImprovements, String? failureReason, int? idleSessionTTLInSeconds, List<Intent>? intents, DateTime? lastUpdatedDate, Locale? locale, String? name, double? nluIntentConfidenceThreshold, Status? status, List<Tag>? tags, String? version, String? voiceId})
PutBotResponse.fromJson(Map<String, dynamic> json)
factory

Properties

abortStatement Statement?
The message that Amazon Lex uses to cancel a conversation. For more information, see PutBot.
final
checksum String?
Checksum of the bot that you created.
final
childDirected bool?
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA.
final
clarificationPrompt Prompt?
The prompts that Amazon Lex uses when it doesn't understand the user's intent. For more information, see PutBot.
final
createdDate DateTime?
The date that the bot was created.
final
createVersion bool?
True if a new version of the bot was created. If the createVersion field was not specified in the request, the createVersion field is set to false in the response.
final
description String?
A description of the bot.
final
detectSentiment bool?
true if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis. If the detectSentiment field was not specified in the request, the detectSentiment field is false in the response.
final
enableModelImprovements bool?
Indicates whether the bot uses accuracy improvements. true indicates that the bot is using the improvements, otherwise, false.
final
failureReason String?
If status is FAILED, Amazon Lex provides the reason that it failed to build the bot.
final
hashCode int
The hash code for this object.
no setterinherited
idleSessionTTLInSeconds int?
The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.
final
intents List<Intent>?
An array of Intent objects. For more information, see PutBot.
final
lastUpdatedDate DateTime?
The date that the bot was updated. When you create a resource, the creation date and last updated date are the same.
final
locale Locale?
The target locale for the bot.
final
name String?
The name of the bot.
final
nluIntentConfidenceThreshold double?
The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent is inserted if the confidence score for all intents is below this value. AMAZON.KendraSearchIntent is only inserted if it is configured for the bot.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status?
When you send a request to create a bot with processBehavior set to BUILD, Amazon Lex sets the status response element to BUILDING.
final
tags List<Tag>?
A list of tags associated with the bot.
final
version String?
The version of the bot. For a new bot, the version is always $LATEST.
final
voiceId String?
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited