/AWS1/CL_EC2=>CREATENETWORKINTERFACEPERM()
¶
About CreateNetworkInterfacePermission¶
Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.
You can grant permission to a single Amazon Web Services account only, and only one account at a time.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NETWORKINTERFACEID
TYPE /AWS1/EC2NETWORKINTERFACEID
/AWS1/EC2NETWORKINTERFACEID
¶
The ID of the network interface.
IV_PERMISSION
TYPE /AWS1/EC2INTERFACEPERMTYPE
/AWS1/EC2INTERFACEPERMTYPE
¶
The type of permission to grant.
Optional arguments:¶
IV_AWSACCOUNTID
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The Amazon Web Services account ID.
IV_AWSSERVICE
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The Amazon Web Service. Currently not supported.
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 isUnauthorizedOperation
.