ResetInstanceAttribute
Description
Resets an attribute of an instance to its default value.
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: instanceId
, ResetInstanceAttributesGroup
instanceId
ID of the instance on which the attribute will be reset.
Type: xsd:string
Default: None
Ancestor: ResetInstanceAttributeType
Children: None
Yes
ResetInstanceAttributesGroup
Group of attributes to reset.
Type: ResetInstanceAttributesGroup
Ancestor: ResetInstanceAttributeType
Children: kernel
, ramdisk
kernel
The kernel ID.
Type: EmptyElementType
Ancestor: ResetInstanceAttributesGroup
Children: none
No
none
This element contains no options.
Type: xsd:string
Default: None
Ancestor: kernel
Children: None
No
ramdisk
The RAM disk ID.
Type: EmptyElementType
Ancestor: ResetInstanceAttributesGroup
Children: none
No
none
This element contains no options.
Type: xsd:string
Default: None
Ancestor: ramdisk
Children: None
No
Response Elements
Name | Description |
---|---|
|
Type: ResetInstanceAttributeResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Indicates whether the attribute successfully reset. Type: xsd:boolean Ancestor: Children: None |
Examples
Example Request
This example resets the kernel
attribute.
<ResetInstanceAttribute xmlns="http://ec2.amazonaws.com/doc/2009-10-31/"> <instanceId>i-10a64379</instanceId> <kernel/> </ResetInstanceAttribute>
Example Response
<ResetInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-10-31/"> <return>true</return> </ResetInstanceAttributeResponse>