list_attachments
¶
list_attachments(
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
core_network_id: Optional[CoreNetworkId] = None,
attachment_type: Optional[AttachmentType] = None,
edge_location: Optional[ExternalRegionCode] = None,
state: Optional[AttachmentState] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAttachmentsResponse
Returns a list of core network attachments.
Parameters:
-
core_network_id(Optional[CoreNetworkId], default:None) –The ID of a core network.
-
attachment_type(Optional[AttachmentType], default:None) –The type of attachment.
-
edge_location(Optional[ExternalRegionCode], default:None) –The Region where the edge is located.
-
state(Optional[AttachmentState], default:None) –The state of the attachment.
-
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.
-
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
6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 | |