Learn R Programming

paws.compute (version 0.7.0)

ec2_create_network_interface_permission: Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account

Description

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.

Usage

ec2_create_network_interface_permission(
  NetworkInterfaceId,
  AwsAccountId = NULL,
  AwsService = NULL,
  Permission,
  DryRun = NULL
)

Arguments

NetworkInterfaceId

[required] The ID of the network interface.

AwsAccountId

The Amazon Web Services account ID.

AwsService

The Amazon Web Services service. Currently not supported.

Permission

[required] The type of permission to grant.

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.