Skip to content

Deprovision Ipam Byoasn

ec2_deprovision_ipam_byoasn R Documentation

Deprovisions your Autonomous System Number (ASN) from your Amazon Web Services account

Description

Deprovisions your Autonomous System Number (ASN) from your Amazon Web Services account. This action can only be called after any BYOIP CIDR associations are removed from your Amazon Web Services account with disassociate_ipam_byoasn. For more information, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide.

Usage

ec2_deprovision_ipam_byoasn(DryRun, IpamId, Asn)

Arguments

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.

IpamId

[required] The IPAM ID.

Asn

[required] An ASN.

Value

A list with the following syntax:

list(
  Byoasn = list(
    Asn = "string",
    IpamId = "string",
    StatusMessage = "string",
    State = "deprovisioned"|"failed-deprovision"|"failed-provision"|"pending-deprovision"|"pending-provision"|"provisioned"
  )
)

Request syntax

svc$deprovision_ipam_byoasn(
  DryRun = TRUE|FALSE,
  IpamId = "string",
  Asn = "string"
)