get_link_associations
¶
get_link_associations(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
device_id: Optional[DeviceId] = None,
link_id: Optional[LinkId] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetLinkAssociationsResponse
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
device_id(Optional[DeviceId], default:None) –The ID of the device.
-
link_id(Optional[LinkId], default:None) –The ID of the link.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 | |