Deletes a secondary network¶
Description¶
Deletes a secondary network. You must delete all secondary subnets in the secondary network before you can delete the secondary network.
Usage¶
Arguments¶
-
ClientTokenUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
-
DryRunChecks 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 isUnauthorizedOperation. -
SecondaryNetworkId[required] The ID of the secondary network.
Value¶
A list with the following syntax:
list(
SecondaryNetwork = list(
SecondaryNetworkId = "string",
SecondaryNetworkArn = "string",
OwnerId = "string",
Type = "rdma",
State = "create-in-progress"|"create-complete"|"create-failed"|"delete-in-progress"|"delete-complete"|"delete-failed",
StateReason = "string",
Ipv4CidrBlockAssociations = list(
list(
AssociationId = "string",
CidrBlock = "string",
State = "associating"|"associated"|"association-failed"|"disassociating"|"disassociated"|"disassociation-failed",
StateReason = "string"
)
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
),
ClientToken = "string"
)