Learn R Programming

paws.compute (version 0.1.12)

ec2_describe_network_interface_attribute: Describes a network interface attribute

Description

Describes a network interface attribute. You can specify only one attribute at a time.

Usage

ec2_describe_network_interface_attribute(Attribute, DryRun,
  NetworkInterfaceId)

Value

A list with the following syntax:

list(
  Attachment = list(
    AttachTime = as.POSIXct(
      "2015-01-01"
    ),
    AttachmentId = "string",
    DeleteOnTermination = TRUE|FALSE,
    DeviceIndex = 123,
    NetworkCardIndex = 123,
    InstanceId = "string",
    InstanceOwnerId = "string",
    Status = "attaching"|"attached"|"detaching"|"detached"
  ),
  Description = list(
    Value = "string"
  ),
  Groups = list(
    list(
      GroupName = "string",
      GroupId = "string"
    )
  ),
  NetworkInterfaceId = "string",
  SourceDestCheck = list(
    Value = TRUE|FALSE
  )
)

Arguments

Attribute

The attribute of the network interface. This parameter is required.

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.

NetworkInterfaceId

[required] The ID of the network interface.

Request syntax

svc$describe_network_interface_attribute(
  Attribute = "description"|"groupSet"|"sourceDestCheck"|"attachment",
  DryRun = TRUE|FALSE,
  NetworkInterfaceId = "string"
)

Examples

Run this code
if (FALSE) {
# This example describes the attachment attribute of the specified network
# interface.
svc$describe_network_interface_attribute(
  Attribute = "attachment",
  NetworkInterfaceId = "eni-686ea200"
)

# This example describes the description attribute of the specified
# network interface.
svc$describe_network_interface_attribute(
  Attribute = "description",
  NetworkInterfaceId = "eni-686ea200"
)

# This example describes the groupSet attribute of the specified network
# interface.
svc$describe_network_interface_attribute(
  Attribute = "groupSet",
  NetworkInterfaceId = "eni-686ea200"
)

# This example describes the sourceDestCheck attribute of the specified
# network interface.
svc$describe_network_interface_attribute(
  Attribute = "sourceDestCheck",
  NetworkInterfaceId = "eni-686ea200"
)
}

Run the code above in your browser using DataLab