ModifyHosts#

Description#

Request to change the parameters of a dedicated host.

Request Parameters#

  • AutoPlacement — Specifies whether to enable or disable automated placement.

    • Type: String

    • Required: No

    • Valid values: on | off

  • HostId.N — The IDs of the dedicated hosts.

    • Type: Array of strings

    • Required: Yes

  • HostRecovery — Indicates whether to enable or disable host recovery .

    • Type: String

    • Required: No

    • Valid values: on | off

  • InstanceFamily — The Instance family. Use this parameter for a dedicated host to support multiple instance types at once. To enable support of a particular instance type, specify InstanceType.

    • Type: String

    • Required: No

    • Constraint: Cannot be used with the InstanceType option

  • InstanceType — Instance type. Use this parameter for a dedicated host to support a particular instance type. To enable support of multiple instance types, specify InstanceFamily.

    • Type: String

    • Required: No

    • Constraint: Cannot be used with the InstanceFamily option

Response Elements#

  • requestId — The request ID

    • Type: String

  • successful — List of host IDs for which the request to modify parameters has been executed successfully.

    • Type: Array of strings

  • unsuccessful — List of host IDs for which the request to modify parameters has not been executed.