ListHotwordLibraries
Retrieves the information of all hotword libraries based on specified conditions.
Operation description
Operation description
This operation queries the list of all hotword libraries created by users.
You can use the
Nameparameter for fuzzy search. Pagination and time range filtering are supported.By default, the results are sorted in descending order of creation time. You can use the
SortByparameter to adjust the sorting method.The maximum number of records returned per request is 100. The default value is 10.
You can use the
NextTokenparameter to read data in pages.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListHotwordLibraries |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The position from which to start reading. |
****73f33c91-d59383e8280b**** |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
10 |
| SortBy |
string |
No |
The sorting parameter. By default, the results are sorted in descending order of creation time. |
CreationTime:Desc |
| Name |
string |
No |
The name of the hotword library. |
Hotword library name |
| UsageScenario |
string |
No |
The scenarios of the hotword library. Valid values:
|
ASR |
| StartTime |
string |
No |
The start time for filtering. The time is in ISO 8601 format and uses UTC time (ending with Z). |
2020-12-26T04:11:10Z |
| EndTime |
string |
No |
The end time for filtering. The time is in ISO 8601 format and uses UTC time (ending with Z). |
2020-12-26T04:11:10Z |
| MaxResults |
integer |
No |
The maximum number of records returned for the current request. Maximum value: 100. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
****9262E3DA-07FA-4862-FCBB6BC61D08***** |
| NextToken |
string |
The position to which the current call has read. An empty value indicates that all data has been read. |
CBB6BC61D08 |
| MaxResults |
integer |
The maximum number of hotword library information records returned. |
10 |
| TotalCount |
integer |
The total number of hotword libraries. |
20 |
| HotwordLibraryList |
array<object> |
The list of hotword libraries. |
|
|
object |
|||
| Description |
string |
The description. The maximum length is 200 characters. |
Hotword library for celebrities |
| UsageScenario |
string |
The scenarios of the hotword library. Valid values:
|
ASR |
| ModifiedTime |
string |
The modification time. The time is in ISO 8601 format and uses UTC time (ending with Z). |
2017-01-11T12:00:00Z |
| CreationTime |
string |
The creation time. The time is in ISO 8601 format and uses UTC time (ending with Z). |
2017-01-11T12:00:00Z |
| HotwordLibraryId |
string |
The ID of the hotword library. |
a93b91141c0f422fa114af203f8b**** |
| Name |
string |
The name of the hotword library. |
my_hotwords |
Examples
Success response
JSON format
{
"RequestId": "****9262E3DA-07FA-4862-FCBB6BC61D08*****",
"NextToken": "CBB6BC61D08",
"MaxResults": 10,
"TotalCount": 20,
"HotwordLibraryList": [
{
"Description": "Hotword library for celebrities",
"UsageScenario": "ASR",
"ModifiedTime": "2017-01-11T12:00:00Z\n",
"CreationTime": "2017-01-11T12:00:00Z",
"HotwordLibraryId": "a93b91141c0f422fa114af203f8b****",
"Name": "my_hotwords"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.