Skip to content

/AWS1/CL_EC2=>PROVISIONIPAMBYOASN()

About ProvisionIpamByoasn

Provisions your Autonomous System Number (ASN) for use in your Amazon Web Services account. This action requires authorization context for Amazon to bring the ASN to an Amazon Web Services account. For more information, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide.

Method Signature

IMPORTING

Required arguments:

IV_IPAMID TYPE /AWS1/EC2IPAMID /AWS1/EC2IPAMID

An IPAM ID.

IV_ASN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A public 2-byte or 4-byte ASN.

IO_ASNAUTHORIZATIONCONTEXT TYPE REF TO /AWS1/CL_EC2ASNAUTHCONTEXT /AWS1/CL_EC2ASNAUTHCONTEXT

An ASN authorization context.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2PROVISIONIPAMBYO01 /AWS1/CL_EC2PROVISIONIPAMBYO01