ec2_create_network_interface_permission: Grants an Amazon Web Services-authorized account permission...

View source: R/ec2_operations.R

ec2_create_network_interface_permissionR Documentation

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.