Mengkueri sertifikat yang terkait dengan Pendengar, termasuk sertifikat tambahan dan sertifikat default.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:ListListenerCertificates |
get |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
Token paginasi yang digunakan pada permintaan berikutnya untuk mengambil halaman hasil baru. Nilai valid:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan pada setiap panggilan. Nilai valid: 1 hingga 100. Nilai default: 20. |
50 |
| ListenerId |
string |
Yes |
ID Pendengar. Anda harus menentukan ID Pendengar HTTPS atau Pendengar QUIC. |
lsr-bp1bpn0kn908w4nbw**** |
| CertificateType |
string |
No |
Tipe Sertifikat. Nilai valid: Ca dan Server. |
Server |
| CertificateIds |
array |
No |
Sertifikat. |
|
|
string |
No |
The certificate ID. |
103705****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| MaxResults |
integer |
The maximum number of entries returned. |
50 |
| NextToken |
string |
A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| RequestId |
string |
The request ID. |
365F4154-92F6-4AE4-92F8-7FF34B540710 |
| TotalCount |
integer |
The total number of entries returned. |
1000 |
| Certificates |
array<object> |
The certificates. |
|
|
object |
The certificate. |
||
| CertificateId |
string |
The certificate ID. Only server certificates are supported. |
12315790343_166f8204689_1714763408_70998**** |
| IsDefault |
boolean |
Indicates whether the certificate is the default certificate of the listener. Valid values:
|
true |
| Status |
string |
Indicates whether the certificate is associated with the listener. Valid values:
|
Associating |
| CertificateType |
string |
The type of the certificate. |
Server |
Contoh
Respons sukses
JSONformat
{
"MaxResults": 50,
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF34B540710",
"TotalCount": 1000,
"Certificates": [
{
"CertificateId": "12315790343_166f8204689_1714763408_70998****",
"IsDefault": true,
"Status": "Associating",
"CertificateType": "Server"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationDenied.HttpListenerNotSupport | The operation is not allowed because of %s. | |
| 404 | ResourceNotFound.Listener | The specified resource %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.