ModifyVpcAttribute

GET /?Action=ModifyVpcAttribute
Description

Modifies a specified attribute of a VPC.
You can modify only one attribute at a time.

Body parameter

Required: false
Name: ModifyVpcAttributeRequest

Name Description Required Schema Default Example

EnableDnsHostnames

If set to true, instances launched in the VPC get DNS hostnames (by default, true).

false

AttributeBooleanValue

EnableDnsSupport

If set to true, DNS resolution is supported for the VPC (by default, true).

false

AttributeBooleanValue

VpcId

The ID of the VPC.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

ModifyVpcAttributeResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the request succeeds. Otherwise, an error is returned.

false

boolean