describe_slot
async
¶
describe_slot(
slot_id: Id,
bot_id: Id,
bot_version: BotVersion,
locale_id: LocaleId,
intent_id: Id,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = None,
) -> DescribeSlotResponse
Gets metadata information about a slot.
Parameters:
-
slot_id(Id) –The unique identifier for the slot.
-
bot_id(Id) –The identifier of the bot associated with the slot.
-
bot_version(BotVersion) –The version of the bot associated with the slot.
-
locale_id(LocaleId) –The identifier of the language and locale of the slot to describe. The string must match one of the supported locales. For more information, see Supported languages.
-
intent_id(Id) –The identifier of the intent that contains the slot.
Raises:
-
InternalServerException–The service encountered an unexpected condition. Try your request again.
-
ResourceNotFoundException–You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
-
ServiceQuotaExceededException–You have reached a quota for your bot.
-
ThrottlingException–Your request rate is too high. Reduce the frequency of requests.
-
ValidationException–One of the input parameters in your request isn't valid. Check the parameters and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lex_models_v2/_services/async_lex_models_v2.py
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 | |