pub type UpdateInstancePoolBody = InstancePoolUpdateRequestInput;Aliased Type§
pub struct UpdateInstancePoolBody {
pub scale_in_instances: Option<Vec<String>>,
pub subnets: Option<Vec<String>>,
pub autoscaling: Option<AutoscalingPolicyInput>,
pub description: Option<String>,
pub tags: Option<BTreeMap<String, String>>,
pub desired_count: Option<i64>,
pub min_count: Option<i64>,
pub max_count: Option<i64>,
pub template: Option<InstancePoolTemplateRequestInput>,
}Fields§
§scale_in_instances: Option<Vec<String>>Exact member UUIDs to retire. Requires an explicit lower desired_count and exactly current desired_count minus new desired_count members. The pool must have converged membership and no retirement or refresh in progress. Selected members must belong to this pool and be unprotected. Only sizing and autoscaling fields may accompany selection. Selection and sizing are committed atomically; stale or protected selections return 409 without substituting another member. Use Idempotency-Key when retrying.
subnets: Option<Vec<String>>Replace the eligible placement set. Omit to preserve it. Affects future launches; run an explicit refresh to move existing members. All selected subnets must share a VPC.
autoscaling: Option<AutoscalingPolicyInput>§description: Option<String>Customer note on the pool. Omit to preserve it; send an empty string to clear it. Changes no instances, sizing or launch configuration.
REPLACES the pool’s labels: the map you send becomes the whole set, an empty object clears them, and omitting the field leaves them alone. Replacement rather than a merge because a merge leaves no way to say a key should be removed. These label the pool, not its instances. To change what future replicas are tagged with, send template.tags.
desired_count: Option<i64>New target size, bounded by the resulting min_count/max_count and the hard platform cap of 100.
min_count: Option<i64>New lower bound; omitted desired_count rises to this bound if needed.
max_count: Option<i64>New upper bound; omitted desired_count falls to this bound if needed. A value of 0 means the pool holds no members until max_count is raised.
template: Option<InstancePoolTemplateRequestInput>Replaces the launch config WHOLESALE — the object you send is what the pool launches next, and anything you leave out is cleared rather than kept. Replacement rather than a deep merge so a shorter networks or volumes cannot be read as a truncation and silently drop an interface or a disk.