update_scaling_plan
¶
update_scaling_plan(
scaling_plan_name: ScalingPlanName,
scaling_plan_version: ScalingPlanVersion,
*,
config_overrides: Optional[AutoScalingPlansClientConfig] = None,
application_source: Optional[ApplicationSource] = None,
scaling_instructions: Optional[ScalingInstructions] = None,
) -> UpdateScalingPlanResponse
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
Parameters:
-
scaling_plan_name(ScalingPlanName) –The name of the scaling plan.
-
scaling_plan_version(ScalingPlanVersion) –The version number of the scaling plan. The only valid value is
1. Currently, you cannot have multiple scaling plan versions. -
application_source(Optional[ApplicationSource], default:None) –A CloudFormation stack or set of tags.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
-
scaling_instructions(Optional[ScalingInstructions], default:None) –The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
Raises:
-
ConcurrentUpdateException–Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.
-
InternalServiceException–The service encountered an internal error.
-
ObjectNotFoundException–The specified object could not be found.
-
ValidationException–An exception was thrown for a validation issue. Review the parameters provided.
-
UnknownServiceError–The service returned an error code this client does not model.