describe_scaling_plan_resources
async
¶
describe_scaling_plan_resources(
scaling_plan_name: ScalingPlanName,
scaling_plan_version: ScalingPlanVersion,
*,
config_overrides: Optional[AsyncAutoScalingPlansClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeScalingPlanResourcesResponse
Describes the scalable resources in the specified scaling plan.
Parameters:
-
scaling_plan_name(ScalingPlanName) –The name of the scaling plan.
-
scaling_plan_version(ScalingPlanVersion) –The version number of the scaling plan. Currently, the only valid value is
1. -
max_results(Optional[MaxResults], default:None) –The maximum number of scalable resources to return. The value must 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.