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 to use for the estimate.
-
tags(Optional[Tags], default:None) –The tags to apply to the workload estimate.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
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 could not be processed because of conflict in the current state of the resource.
-
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
2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 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 | |