create_connect_peer
async
¶
create_connect_peer(
connect_attachment_id: AttachmentId,
peer_address: IPAddress,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
core_network_address: Optional[IPAddress] = None,
bgp_options: Optional[BgpOptions] = None,
inside_cidr_blocks: Optional[ConstrainedStringList] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
subnet_arn: Optional[SubnetArn] = None,
) -> CreateConnectPeerResponse
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
Parameters:
-
connect_attachment_id(AttachmentId) –The ID of the connection attachment.
-
core_network_address(Optional[IPAddress], default:None) –A Connect peer core network address. This only applies only when the protocol is
GRE. -
peer_address(IPAddress) –The Connect peer address.
-
bgp_options(Optional[BgpOptions], default:None) –The Connect peer BGP options. This only applies only when the protocol is
GRE. -
inside_cidr_blocks(Optional[ConstrainedStringList], default:None) –The inside IP addresses used for BGP peering.
-
tags(Optional[TagList], default:None) –The tags associated with the peer request.
-
client_token(Optional[ClientToken], default:None) –The client token associated with the request.
-
subnet_arn(Optional[SubnetArn], default:None) –The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
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
874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 | |