Delete Secondary Subnet
| ec2_delete_secondary_subnet | R Documentation |
Deletes a secondary subnet¶
Description¶
Deletes a secondary subnet. A secondary subnet must not contain any secondary interfaces prior to deletion.
Usage¶
ec2_delete_secondary_subnet(ClientToken, DryRun, SecondarySubnetId)
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
|
SecondarySubnetId |
[required] The ID of the secondary subnet to delete. |
Value¶
A list with the following syntax:
list(
SecondarySubnet = list(
SecondarySubnetId = "string",
SecondarySubnetArn = "string",
SecondaryNetworkId = "string",
SecondaryNetworkType = "rdma",
OwnerId = "string",
AvailabilityZoneId = "string",
AvailabilityZone = "string",
Ipv4CidrBlockAssociations = list(
list(
AssociationId = "string",
CidrBlock = "string",
State = "associating"|"associated"|"association-failed"|"disassociating"|"disassociated"|"disassociation-failed",
StateReason = "string"
)
),
State = "create-in-progress"|"create-complete"|"create-failed"|"delete-in-progress"|"delete-complete"|"delete-failed",
StateReason = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
),
ClientToken = "string"
)
Request syntax¶
svc$delete_secondary_subnet(
ClientToken = "string",
DryRun = TRUE|FALSE,
SecondarySubnetId = "string"
)