create_workload_estimate
¶
create_workload_estimate(
name: WorkloadEstimateName,
*,
config_overrides: Optional[BCMPricingCalculatorClientConfig] = 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/bcm_pricing_calculator.py
2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 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 | |