ModifySubnetAttribute

GET /?Action=ModifySubnetAttribute
Description

Modifies the specified attribute of a subnet.

Body parameter

Required: false
Name: ModifySubnetAttributeRequest

Name Description Required Schema Default Example

MapPublicIpOnLaunch

If set to true, a public IP address is assigned to the network interfaces created in the specified subnet.

false

AttributeBooleanValue

SubnetId

The ID of the subnet.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

ModifySubnetAttributeResult

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