Queries the certificates that are associated with a listener, including additional certificates and the default certificate.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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. Valid values:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxResults | integer | No | The maximum number of entries to return. Valid values: 1 to 100. Default value: 20. | 50 |
ListenerId | string | Yes | The listener ID. You must specify the ID of an HTTPS listener or a QUIC listener. | lsr-bp1bpn0kn908w4nbw**** |
CertificateType | string | No | The type of the certificate. Valid values: Ca and Server. | Server |
CertificateIds | array | No | The certificate IDs. | |
string | No |
Response parameters
Examples
Sample success responses
JSON
format
{
"MaxResults": 50,
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF34B540710",
"TotalCount": 1000,
"Certificates": [
{
"CertificateId": "12315790343_166f8204689_1714763408_70998****",
"IsDefault": true,
"Status": "Associating",
"CertificateType": "Server"
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | OperationDenied.HttpListenerNotSupport | The operation is not allowed because of %s. |
404 | ResourceNotFound.Listener | The specified resource %s is not found. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-06-05 | The Error code has changed. The request parameters of the API has changed | View Change Details |