EC2 / Client / delete_virtual_edge_network_gateway

delete_virtual_edge_network_gateway

EC2.Client.delete_virtual_edge_network_gateway(**kwargs)

Deletes a virtual edge network gateway. A virtual edge network gateway must not have any route tables or allowed advertisements prior to deletion.

See also: AWS API Documentation

Request Syntax

response = client.delete_virtual_edge_network_gateway(
    ClientToken='string',
    VirtualEdgeNetworkGatewayId='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.

  • VirtualEdgeNetworkGatewayId (string) –

    [REQUIRED]

    The ID of the virtual edge network gateway.

  • 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

{
    'VirtualEdgeNetworkGateway': {
        'VirtualEdgeNetworkGatewayId': 'string',
        'VirtualEdgeNetworkGatewayArn': 'string',
        'OwnerId': 'string',
        'SecondaryNetworkId': 'string',
        'AvailabilityZoneId': 'string',
        'AvailabilityZone': 'string',
        'State': 'create-in-progress'|'create-complete'|'create-failed'|'update-in-progress'|'update-complete'|'update-failed'|'delete-in-progress'|'delete-complete'|'delete-failed',
        'StateReason': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    },
    'ClientToken': 'string'
}

Response Structure

  • (dict) –

    • VirtualEdgeNetworkGateway (dict) –

      Information about the virtual edge network gateway.

      • VirtualEdgeNetworkGatewayId (string) –

        The ID of the virtual edge network gateway.

      • VirtualEdgeNetworkGatewayArn (string) –

        The Amazon Resource Name (ARN) of the virtual edge network gateway.

      • OwnerId (string) –

        The ID of the Amazon Web Services account that owns the virtual edge network gateway.

      • SecondaryNetworkId (string) –

        The ID of the secondary network that contains the virtual edge network gateway.

      • AvailabilityZoneId (string) –

        The ID of the Availability Zone of the virtual edge network gateway.

      • AvailabilityZone (string) –

        The Availability Zone of the virtual edge network gateway.

      • State (string) –

        The state of the virtual edge network gateway.

      • StateReason (string) –

        The reason for the current state of the virtual edge network gateway.

      • Tags (list) –

        The tags assigned to the virtual edge network gateway.

        • (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.

    • ClientToken (string) –

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