describe_scaling_plans
async
¶
describe_scaling_plans(
*,
config_overrides: Optional[AsyncAutoScalingPlansClientConfig] = None,
scaling_plan_names: Optional[ScalingPlanNames] = None,
scaling_plan_version: Optional[ScalingPlanVersion] = None,
application_sources: Optional[ApplicationSources] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeScalingPlansResponse
Describes one or more of your scaling plans.
Parameters:
-
scaling_plan_names(Optional[ScalingPlanNames], default:None) –The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
-
scaling_plan_version(Optional[ScalingPlanVersion], default:None) –The version number of the scaling plan. Currently, the only valid value is
1.If you specify a scaling plan version, you must also specify a scaling plan name.
-
application_sources(Optional[ApplicationSources], default:None) –The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
-
max_results(Optional[MaxResults], default:None) –The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results.
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.
-
InvalidNextTokenException–The token provided is not valid.
-
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.