describe_load_balancers
async
¶
describe_load_balancers(
*,
config_overrides: Optional[AsyncElasticLoadBalancingClientConfig] = None,
load_balancer_names: Optional[LoadBalancerNames] = None,
marker: Optional[Marker] = None,
page_size: Optional[PageSize] = None,
) -> DescribeAccessPointsOutput
Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
Parameters:
-
load_balancer_names(Optional[LoadBalancerNames], default:None) –The names of the load balancers.
-
marker(Optional[Marker], default:None) –The marker for the next set of results. (You received this marker from a previous call.)
-
page_size(Optional[PageSize], default:None) –The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
Raises:
-
AccessPointNotFoundException–The specified load balancer does not exist.
-
DependencyThrottleException–A request made by Elastic Load Balancing to another service exceeds the maximum request rate permitted for your account.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe one of your load balancers This example describes the specified load balancer.
Source code in docs_src/capo_elastic_load_balancing/_services/async_elastic_load_balancing.py
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 | |