Skip to contents

Deletes a secondary network. You must delete all secondary subnets in the secondary network before you can delete the secondary network.

See https://www.paws-r-sdk.com/docs/ec2_delete_secondary_network/ for full documentation.

Usage

ec2_delete_secondary_network(
  ClientToken = NULL,
  DryRun = NULL,
  SecondaryNetworkId
)

Arguments

ClientToken

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

DryRun

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.

SecondaryNetworkId

[required] The ID of the secondary network.