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

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

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/2014-10-01/">
    <requestId>5187642e-3f16-44a3-b05f-24c3848b5162</requestId>
    <return>true</return>
</ResetNetworkInterfaceAttributeResponse>