Billing / Client / update_billing_view
update_billing_view#
- Billing.Client.update_billing_view(**kwargs)#
An API to update the attributes of the billing view.
See also: AWS API Documentation
Request Syntax
response = client.update_billing_view( arn='string', name='string', description='string', dataFilterExpression={ 'dimensions': { 'key': 'LINKED_ACCOUNT', 'values': [ 'string', ] }, 'tags': { 'key': 'string', 'values': [ 'string', ] } } )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
name (string) – The name of the billing view.
description (string) – The description of the billing view.
dataFilterExpression (dict) –
See Expression. Billing view only supports
LINKED_ACCOUNT
andTags
.dimensions (dict) –
The specific
Dimension
to use forExpression
.key (string) – [REQUIRED]
The names of the metadata types that you can use to filter and group your results.
values (list) – [REQUIRED]
The metadata values that you can use to filter and group your results.
(string) –
tags (dict) –
The specific
Tag
to use forExpression
.key (string) – [REQUIRED]
The key for the tag.
values (list) – [REQUIRED]
The specific value of the tag.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
updatedAt (datetime) –
The time when the billing view was last updated.
Exceptions
Billing.Client.exceptions.ServiceQuotaExceededException
Billing.Client.exceptions.ThrottlingException
Billing.Client.exceptions.ResourceNotFoundException
Billing.Client.exceptions.AccessDeniedException
Billing.Client.exceptions.ConflictException
Billing.Client.exceptions.ValidationException
Billing.Client.exceptions.InternalServerException