Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2015-04-15)

ResetNetworkInterfaceAttribute

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

Request Parameters

For information about the common parameters that all actions use, see Common Query Parameters.

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.

Type: Boolean

Required: No

NetworkInterfaceId

The ID of the network interface.

Type: String

Required: Yes

SourceDestCheck

The source/destination checking attribute. Resets the value to true.

Type: String

Required: No

Response Elements

The following elements are returned.

requestId

The ID of the request.

Type: String

return

Is true if the request succeeds, and an error otherwise.

Type: Boolean

Errors

For information about the errors that are common to all actions, see Common Client Errors.

Examples

Example

This example resets the sourceDestCheck attribute for the specified network interface.

Sample Request

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

Sample Response

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