BillingandCostManagementPricingCalculator / Client / update_bill_scenario
update_bill_scenario#
- BillingandCostManagementPricingCalculator.Client.update_bill_scenario(**kwargs)#
Updates an existing bill scenario.
See also: AWS API Documentation
Request Syntax
response = client.update_bill_scenario( identifier='string', name='string', expiresAt=datetime(2015, 1, 1) )
- Parameters:
identifier (string) –
[REQUIRED]
The unique identifier of the bill scenario to update.
name (string) – The new name for the bill scenario.
expiresAt (datetime) – The new expiration date for the bill scenario.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'name': 'string', 'billInterval': { 'start': datetime(2015, 1, 1), 'end': datetime(2015, 1, 1) }, 'status': 'READY'|'LOCKED'|'FAILED', 'createdAt': datetime(2015, 1, 1), 'expiresAt': datetime(2015, 1, 1), 'failureMessage': 'string' }
Response Structure
(dict) –
id (string) –
The unique identifier of the updated bill scenario.
name (string) –
The updated name of the bill scenario.
billInterval (dict) –
The time period covered by the updated bill scenario.
start (datetime) –
The start date and time of the interval.
end (datetime) –
The end date and time of the interval.
status (string) –
The current status of the updated bill scenario.
createdAt (datetime) –
The timestamp when the bill scenario was originally created.
expiresAt (datetime) –
The updated expiration timestamp for the bill scenario.
failureMessage (string) –
An error message if the bill scenario 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