CreateHotwordLibrary
Creates a hotword library.
Operation description
Calls the CreateHotwordLibrary operation to create a hotword library.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CreateHotwordLibrary |
create |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the hotword library. The maximum length is 100 characters. |
my_hotwords |
| Description |
string |
No |
The description of the hotword library. The maximum length is 200 characters. |
A lexicon of celebrity names |
| UsageScenario |
string |
Yes |
The scenarios of the hotword library. Valid values:
This field cannot be modified after the hotword library is created. |
ASR |
| Hotwords |
array |
Yes |
The list of hotwords. The maximum number of hotwords is 300. |
|
| Hotword |
No |
The hotword information. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
13cbb83e-043c-4728-ac35-***** |
| HotwordLibraryId |
string |
The ID of the hotword library. |
****96e8864746a0b6f3**** |
Examples
Success response
JSON format
{
"RequestId": "13cbb83e-043c-4728-ac35-*****",
"HotwordLibraryId": "****96e8864746a0b6f3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.