BillingandCostManagementPricingCalculator / Client / update_workload_estimate
update_workload_estimate#
- BillingandCostManagementPricingCalculator.Client.update_workload_estimate(**kwargs)#
Updates an existing workload estimate.
See also: AWS API Documentation
Request Syntax
response = client.update_workload_estimate( identifier='string', name='string', expiresAt=datetime(2015, 1, 1) )
- Parameters:
identifier (string) –
[REQUIRED]
The unique identifier of the workload estimate to update.
name (string) – The new name for the workload estimate.
expiresAt (datetime) – The new expiration date for the workload estimate.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'name': 'string', 'createdAt': datetime(2015, 1, 1), 'expiresAt': datetime(2015, 1, 1), 'rateType': 'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS', 'rateTimestamp': datetime(2015, 1, 1), 'status': 'UPDATING'|'VALID'|'INVALID'|'ACTION_NEEDED', 'totalCost': 123.0, 'costCurrency': 'USD', 'failureMessage': 'string' }
Response Structure
(dict) –
Mixin for common fields returned by CRUD APIs
id (string) –
The unique identifier of the updated workload estimate.
name (string) –
The updated name of the workload estimate.
createdAt (datetime) –
The timestamp when the workload estimate was originally created.
expiresAt (datetime) –
The updated expiration timestamp for the workload estimate.
rateType (string) –
The type of pricing rates used for the updated estimate.
rateTimestamp (datetime) –
The timestamp of the pricing rates used for the updated estimate.
status (string) –
The current status of the updated workload estimate.
totalCost (float) –
The updated total estimated cost for the workload.
costCurrency (string) –
The currency of the updated estimated cost.
failureMessage (string) –
An error message if the workload estimate update failed.
Exceptions
BillingandCostManagementPricingCalculator.Client.exceptions.ConflictException
BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException
BillingandCostManagementPricingCalculator.Client.exceptions.DataUnavailableException
BillingandCostManagementPricingCalculator.Client.exceptions.InternalServerException
BillingandCostManagementPricingCalculator.Client.exceptions.ResourceNotFoundException
BillingandCostManagementPricingCalculator.Client.exceptions.AccessDeniedException
BillingandCostManagementPricingCalculator.Client.exceptions.ThrottlingException