Queries certificates bound to a Global Accelerator (GA) listener.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListListenerCertificates |
list |
*Listener
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Region of the GA instance. Set to cn-hangzhou. |
cn-hangzhou |
| AcceleratorId |
string |
Yes |
The ID of the GA instance. |
ga-bp1odcab8tmno0hdq**** |
| Role |
string |
No |
Certificate type. Valid values:
If not specified, both types are returned. |
default |
| ListenerId |
string |
Yes |
The ID of the listener. |
lsr-bp1bpn0kn908w4nbw**** |
| NextToken |
string |
No |
Pagination token for subsequent requests. Usage:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
Maximum entries to return. Valid values: 1 to 50. Default: 20. |
50 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
| TotalCount |
integer |
The number of entries returned. |
1 |
| NextToken |
string |
Pagination token for the next query. Values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
Maximum entries returned per page. |
20 |
| Certificates |
array<object> |
The certificates. |
|
|
object |
|||
| CertificateId |
string |
The certificate ID. |
6092**-cn-hangzhou |
| IsDefault |
boolean |
Whether this is the default certificate.
|
true |
| Domain |
string |
Domain name bound to the additional certificate. Not returned for default certificates. |
example.com |
| State |
string |
Certificate status. Valid values:
|
active |
Examples
Success response
JSON format
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8",
"TotalCount": 1,
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"MaxResults": 20,
"Certificates": [
{
"CertificateId": "6092**-cn-hangzhou",
"IsDefault": true,
"Domain": "example.com",
"State": "active"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.