Mengkueri kunci tag resource dalam akun saat ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
tag:ListTagKeys |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| MaxResults |
integer |
No |
Jumlah maksimum entri yang dikembalikan pada setiap halaman. Nilai valid: 1 hingga 100. Nilai default: 20. |
10 |
| NextToken |
string |
No |
Token paginasi yang digunakan dalam permintaan berikutnya untuk mengambil halaman hasil baru. Jika jumlah total entri yang dikembalikan untuk permintaan saat ini melebihi nilai parameter |
AAAAAUYb00R0gHZBE8FVDeoh2ME93VeeEPUHs**** |
| TagKey |
string |
No |
Kunci tag. |
test_key |
| MatchType |
string |
No |
Mode pencocokan. Nilai valid:
|
Equals |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| NextToken |
string |
The pagination token that is used in the next request to retrieve a new page of results. |
AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA**** |
| RequestId |
string |
The ID of the request. |
44C8A952-D6B0-5BC8-82D5-93BA02E26F2E |
| TagKeys |
array |
The tag keys. |
|
|
string |
A tag key. |
test_key |
Contoh
Respons sukses
JSONformat
{
"NextToken": "AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****",
"RequestId": "44C8A952-D6B0-5BC8-82D5-93BA02E26F2E",
"TagKeys": [
"test_key"
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | InvalidParameter.MaxResults | The specified parameter MaxResults is not valid. | |
| 409 | InvalidParameter.MatchType | The specified parameter MatchType is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.