Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

ResetNetworkInterfaceAttribute

Description

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

Request Parameters

NetworkInterfaceId

The ID of the network interface.

Type: String

Default: None

Required: Yes

Attribute=[sourceDestCheck]

The name of the attribute to reset; sourceDestCheck defaults to true.

Type: String

Default: None

Required: Yes

Response Elements

The following elements are returned in a ResetNetworkInterfaceAttributeResponse element.

requestId

The ID of the request.

Type: xsd:string

return

Returns true if the request succeeds. Otherwise, returns an error.

Type: xsd:boolean

Examples

Example Request

This example resets the sourceDestCheck attribute for the elastic network interface (ENI) eni-ffda3197.

https://ec2.amazonaws.com/?Action=ResetNetworkInterfaceAttribute&NetworkInterfaceId=eni-ffda3197&Attribute=sourceDestCheck&AUTHPARAMS

Example Response

<ResetNetworkInterfaceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/">
    <requestId>5187642e-3f16-44a3-b05f-24c3848b5162</requestId>
    <return>true</return>
</ResetNetworkInterfaceAttributeResponse>