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 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/bcm_pricing_calculator.py
2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 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 | |