Skip to main content

source_views

Creates, updates, deletes, gets or lists a source_views resource.

Overview

Namesource_views
TypeResource
Idaws.billing.source_views

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
associate_source_viewsupdateregion, arn, sourceViewsAssociates one or more source billing views with an existing billing view. This allows creating aggregate billing views that combine data from multiple sources.
disassociate_source_viewsexecregion, arn, sourceViewsRemoves the association between one or more source billing views and an existing billing view. This allows modifying the composition of aggregate billing views.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

UPDATE examples

Associates one or more source billing views with an existing billing view. This allows creating aggregate billing views that combine data from multiple sources.

UPDATE aws.billing.source_views
SET
arn = '{{ arn }}',
sourceViews = '{{ sourceViews }}'
WHERE
region = '{{ region }}' --required
AND arn = '{{ arn }}' --required
AND sourceViews = '{{ sourceViews }}' --required
RETURNING
arn;

Lifecycle Methods

Removes the association between one or more source billing views and an existing billing view. This allows modifying the composition of aggregate billing views.

EXEC aws.billing.source_views.disassociate_source_views
@region='{{ region }}' --required
@@json=
'{
"arn": "{{ arn }}",
"sourceViews": "{{ sourceViews }}"
}'
;