Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.
See https://www.paws-r-sdk.com/docs/ec2_create_network_interface_permission/ for full documentation.
ec2_create_network_interface_permission(
NetworkInterfaceId,
AwsAccountId = NULL,
AwsService = NULL,
Permission,
DryRun = NULL
)
[required] The ID of the network interface.
The Amazon Web Services account ID.
The Amazon Web Services service. Currently not supported.
[required] The type of permission to grant.
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
.