list_workload_estimate_usage
async
¶
list_workload_estimate_usage(
workload_estimate_id: ResourceId,
*,
config_overrides: Optional[AsyncBCMPricingCalculatorClientConfig] = None,
filters: Optional[ListUsageFilters] = None,
next_token: Optional[NextPageToken] = None,
max_results: Optional[WorkloadEstimateUsageMaxResults] = None,
) -> ListWorkloadEstimateUsageResponse
Lists the usage associated with a workload estimate.
Parameters:
-
workload_estimate_id(ResourceId) –The unique identifier of the workload estimate to list usage for.
-
filters(Optional[ListUsageFilters], default:None) –Filters to apply to the list of usage items.
-
next_token(Optional[NextPageToken], default:None) –A token to retrieve the next page of results.
-
max_results(Optional[WorkloadEstimateUsageMaxResults], default:None) –The maximum number of results to return per page.
Raises:
-
AccessDeniedException–The request is denied because you don't have sufficient permissions to perform this operation. Verify that you have the required permissions and try again.
-
InternalServerException–An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
-
DataUnavailableException–The requested data is currently unavailable.
-
ResourceNotFoundException–The specified resource wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bcm_pricing_calculator/_services/async_bcm_pricing_calculator.py
2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 | |