Queries hotword libraries that meet specific search conditions.
Operation description
-
Get information about all hotword libraries that you created.
-
The API supports fuzzy search by
Name, filtering by creation time range, and pagination. -
By default, the results are sorted by creation time in descending order. You can set
SortByto change the sorting order. -
The maximum number of entries returned for each request is 100. Default value: 10.
-
Use
NextTokenfor pagination.
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 pagination token that is used in the next request to retrieve a new page of results. |
****73f33c91-d59383e8280b**** |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Valid values: 1 to 100. |
10 |
| SortBy |
string |
No |
The sorting order. By default, the query results are sorted by creation time in descending order. |
CreationTime:Desc |
| Name |
string |
No |
The name of the hotword library. |
Hotword library usage name |
| UsageScenario |
string |
No |
The usage scenario of the hotword library. Valid values:
|
ASR |
| StartTime |
string |
No |
The beginning of the time range to query. |
2020-12-26T04:11:10Z |
| EndTime |
string |
No |
The end of the time range to query. |
2020-12-26T04:11:10Z |
| MaxResults |
integer |
No |
The maximum number of entries to return. Default value: 10. Valid values: 1 to 100. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
****9262E3DA-07FA-4862-FCBB6BC61D08***** |
| NextToken |
string |
A pagination token that can be used in the next request to retrieve a new page of results. If it is empty, all results are returned. |
CBB6BC61D08 |
| MaxResults |
integer |
The maximum number of hotword libraries that can be returned. |
10 |
| TotalCount |
integer |
The total number of hotword libraries. |
20 |
| HotwordLibraryList |
array<object> |
The hotword libraries. |
|
|
object |
|||
| Description |
string |
The description of the hotword library. It can be up to 200 characters in length. |
Vocabulary library for celebrities |
| UsageScenario |
string |
The usage scenario of the hotword library. Valid values:
|
ASR |
| ModifiedTime |
string |
The time when the hotword library was last modified. |
2017-01-11T12:00:00Z |
| CreationTime |
string |
The time when the hotword library was created. |
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": "Vocabulary 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.