EC2 / Client / delete_virtual_edge_network_route_server_peer

delete_virtual_edge_network_route_server_peer

EC2.Client.delete_virtual_edge_network_route_server_peer(**kwargs)

Deletes a virtual edge network route server peer.

See also: AWS API Documentation

Request Syntax

response = client.delete_virtual_edge_network_route_server_peer(
    ClientToken='string',
    VirtualEdgeNetworkRouteServerPeerId='string',
    DryRun=True|False
)
Parameters:
  • ClientToken (string) –

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

    This field is autopopulated if not provided.

  • VirtualEdgeNetworkRouteServerPeerId (string) –

    [REQUIRED]

    The ID of the route server peer.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'VirtualEdgeNetworkRouteServerPeer': {
        'VirtualEdgeNetworkRouteServerPeerId': 'string',
        'VirtualEdgeNetworkRouteServerPeerArn': 'string',
        'SecondarySubnetId': 'string',
        'OwnerId': 'string',
        'AvailabilityZoneId': 'string',
        'AvailabilityZone': 'string',
        'AmazonSideAsn': 123,
        'Ipv4PeerAddressRange': 'string',
        'Ipv6PeerAddressRange': 'string',
        'BgpOptions': {
            'PeerAsn': 123,
            'PeerLivenessDetection': 'bgp-keepalive'|'bfd',
            'BfdConfiguration': {
                'Duration': 123,
                'Multiplier': 123
            }
        },
        'State': 'create-in-progress'|'create-complete'|'create-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
        'StateReason': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        'RouteServerEndpoint': 'endpoint-1'|'endpoint-2'
    },
    'ClientToken': 'string'
}

Response Structure

  • (dict) –

    • VirtualEdgeNetworkRouteServerPeer (dict) –

      Information about the route server peer.

      • VirtualEdgeNetworkRouteServerPeerId (string) –

        The ID of the route server peer.

      • VirtualEdgeNetworkRouteServerPeerArn (string) –

        The Amazon Resource Name (ARN) of the route server peer.

      • SecondarySubnetId (string) –

        The ID of the secondary subnet.

      • OwnerId (string) –

        The ID of the Amazon Web Services account that owns the route server peer.

      • AvailabilityZoneId (string) –

        The ID of the Availability Zone of the route server peer.

      • AvailabilityZone (string) –

        The Availability Zone of the route server peer.

      • AmazonSideAsn (integer) –

        The autonomous system number (ASN) for the Amazon side of the BGP session.

      • Ipv4PeerAddressRange (string) –

        The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.

      • Ipv6PeerAddressRange (string) –

        The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.

      • BgpOptions (dict) –

        The BGP options for the route server peer.

        • PeerAsn (integer) –

          The autonomous system number (ASN) of the peer.

        • PeerLivenessDetection (string) –

          The method used to detect whether the peer is available.

        • BfdConfiguration (dict) –

          The BFD configuration for the peer.

          • Duration (integer) –

            The minimum interval, in milliseconds, between BFD control packets.

          • Multiplier (integer) –

            The number of consecutive BFD control packets that can be missed before the peer is considered unavailable.

      • State (string) –

        The state of the route server peer.

      • StateReason (string) –

        The reason for the current state of the route server peer.

      • Tags (list) –

        The tags assigned to the route server peer.

        • (dict) –

          Describes a tag.

          • Key (string) –

            The key of the tag.

            Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

          • Value (string) –

            The value of the tag.

            Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

      • RouteServerEndpoint (string) –

        The route server endpoint that the route server peer connects to.

    • ClientToken (string) –

      Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.