Queries the listeners that are associated with access control lists (ACLs).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:ListAclRelations |
get |
*Acl
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AclIds |
array |
Yes |
The access control list (ACL) IDs. You can query at most five ACLs in each call. |
|
|
string |
No |
The ID of the ACL. |
acl-hp34s2h0xx1ht4nwo**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| AclRelations |
array<object> |
The relations between the specified ACL and the listeners. |
|
|
array<object> |
The ACL and the associated listeners. |
||
| AclId |
string |
ACL ID |
acl-hp34s2h0xx1ht4nwo**** |
| RelatedListeners |
array<object> |
The listeners that are associated with the ACL. |
|
|
object |
The listener that is associated with the ACL. |
||
| ListenerId |
string |
The listener ID. |
lsn-bpn0kn908w4nbw**** |
| ListenerPort |
integer |
The listener port. |
80 |
| ListenerProtocol |
string |
The listener protocol. |
HTTPS |
| LoadBalancerId |
string |
The ID of the SLB instance. |
alb-bp1b6c719dfa08ex**** |
| Status |
string |
The association status between the ACL and the listener.
|
Associated |
| RequestId |
string |
The request ID. |
593B0448-D13E-4C56-AC0D-FDF0****** |
Examples
Success response
JSON format
{
"AclRelations": [
{
"AclId": "acl-hp34s2h0xx1ht4nwo****",
"RelatedListeners": [
{
"ListenerId": "lsn-bpn0kn908w4nbw****",
"ListenerPort": 80,
"ListenerProtocol": "HTTPS",
"LoadBalancerId": "alb-bp1b6c719dfa08ex****",
"Status": "Associated"
}
]
}
],
"RequestId": "593B0448-D13E-4C56-AC0D-FDF0******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbidden.Acl | Authentication is failed for %s. | Authentication is failed for %s. |
| 404 | ResourceNotFound.Acl | The specified resource %s is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.