create_connect_attachment
async
¶
create_connect_attachment(
core_network_id: CoreNetworkId,
edge_location: ExternalRegionCode,
transport_attachment_id: AttachmentId,
options: ConnectAttachmentOptions,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
routing_policy_label: Optional[ConstrainedString] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateConnectAttachmentResponse
Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
Parameters:
-
core_network_id(CoreNetworkId) –The ID of a core network where you want to create the attachment.
-
edge_location(ExternalRegionCode) –The Region where the edge is located.
-
transport_attachment_id(AttachmentId) –The ID of the attachment between the two connections.
-
routing_policy_label(Optional[ConstrainedString], default:None) –The routing policy label to apply to the Connect attachment for traffic routing decisions.
-
options(ConnectAttachmentOptions) –Options for creating an attachment.
-
tags(Optional[TagList], default:None) –The list of key-value tags associated with the request.
-
client_token(Optional[ClientToken], default:None) –The client token associated with the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
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/async_network_manager.py
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 | |