create_workload_estimate
async
¶
create_workload_estimate(
name: WorkloadEstimateName,
*,
config_overrides: Optional[AsyncBCMPricingCalculatorClientConfig] = None,
client_token: Optional[ClientToken] = None,
rate_type: Optional[WorkloadEstimateRateType] = None,
tags: Optional[Tags] = None,
) -> CreateWorkloadEstimateResponse
Creates a new workload estimate to model costs for a specific workload.
Parameters:
-
name(WorkloadEstimateName) –A descriptive name for the workload estimate.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
-
rate_type(Optional[WorkloadEstimateRateType], default:None) –The type of pricing rates for the estimate. You can only use a rate type that your Pricing Calculator rate preferences allow. If you use billing transfer as a bill source account, you can only use BEFORE_DISCOUNTS.
-
tags(Optional[Tags], default:None) –The tags to apply to the workload estimate.
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.
-
ConflictException–The request couldn't be processed because the resource is in a conflicting state. Verify the resource's current state and retry the request.
-
DataUnavailableException–The requested data is currently unavailable.
-
ServiceQuotaExceededException–The request would cause you to exceed your service quota.
-
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
2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 | |