create_bill_scenario
¶
create_bill_scenario(
name: BillScenarioName,
*,
config_overrides: Optional[BCMPricingCalculatorClientConfig] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[Tags] = None,
group_sharing_preference: Optional[GroupSharingPreferenceEnum] = None,
cost_category_group_sharing_preference_arn: Optional[CostCategoryArn] = None,
) -> CreateBillScenarioResponse
Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.
Parameters:
-
name(BillScenarioName) –A descriptive name for the bill scenario.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
-
tags(Optional[Tags], default:None) –The tags to apply to the bill scenario.
-
group_sharing_preference(Optional[GroupSharingPreferenceEnum], default:None) –The setting for the reserved instance and savings plan group sharing used in this estimate.
-
cost_category_group_sharing_preference_arn(Optional[CostCategoryArn], default:None) –The arn of the cost category used in the reserved and prioritized group sharing.
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
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 | |