Module Smaws_Client_Billing

Billing client library built on EIO.

Types

module Types : sig ... end

Builders

val make_validation_exception_field : message:Types.error_message -> name:Types.field_name -> unit -> Types.validation_exception_field
val make_update_billing_view_response : ?updated_at:Smaws_Lib.Smithy_api.Types.timestamp -> arn:Types.billing_view_arn -> unit -> Types.update_billing_view_response
val make_dimension_values : values:Types.values -> key:Types.dimension -> unit -> Types.dimension_values
val make_tag_values : values:Types.values -> key:Types.tag_key -> unit -> Types.tag_values
val make_cost_category_values : values:Types.values -> key:Types.cost_category_name -> unit -> Types.cost_category_values
val make_time_range : ?end_date_inclusive:Smaws_Lib.Smithy_api.Types.timestamp -> ?begin_date_inclusive:Smaws_Lib.Smithy_api.Types.timestamp -> unit -> Types.time_range
val make_expression : ?time_range:Types.time_range -> ?cost_categories:Types.cost_category_values -> ?tags:Types.tag_values -> ?dimensions:Types.dimension_values -> unit -> Types.expression
val make_update_billing_view_request : ?data_filter_expression:Types.expression -> ?description:Types.billing_view_description -> ?name:Types.billing_view_name -> arn:Types.billing_view_arn -> unit -> Types.update_billing_view_request
val make_untag_resource_response : unit -> unit
val make_untag_resource_request : resource_tag_keys:Types.resource_tag_key_list -> resource_arn:Types.resource_arn -> unit -> Types.untag_resource_request
val make_tag_resource_response : unit -> unit
val make_resource_tag : ?value:Types.resource_tag_value -> key:Types.resource_tag_key -> unit -> Types.resource_tag
val make_tag_resource_request : resource_tags:Types.resource_tag_list -> resource_arn:Types.resource_arn -> unit -> Types.tag_resource_request
val make_list_tags_for_resource_response : ?resource_tags:Types.resource_tag_list -> unit -> Types.list_tags_for_resource_response
val make_list_tags_for_resource_request : resource_arn:Types.resource_arn -> unit -> Types.list_tags_for_resource_request
val make_list_source_views_for_billing_view_response : ?next_token:Types.page_token -> source_views:Types.billing_view_source_views_list -> unit -> Types.list_source_views_for_billing_view_response
val make_list_source_views_for_billing_view_request : ?next_token:Types.page_token -> ?max_results:Types.billing_views_max_results -> arn:Types.billing_view_arn -> unit -> Types.list_source_views_for_billing_view_request
val make_billing_view_health_status : ?status_reasons:Types.billing_view_status_reasons -> ?status_code:Types.billing_view_status -> unit -> Types.billing_view_health_status
val make_billing_view_list_element : ?health_status:Types.billing_view_health_status -> ?billing_view_type:Types.billing_view_type -> ?source_account_id:Types.account_id -> ?owner_account_id:Types.account_id -> ?description:Types.billing_view_description -> ?name:Types.billing_view_name -> ?arn:Types.billing_view_arn -> unit -> Types.billing_view_list_element
val make_list_billing_views_response : ?next_token:Types.page_token -> billing_views:Types.billing_view_list -> unit -> Types.list_billing_views_response
val make_active_time_range : active_before_inclusive:Smaws_Lib.Smithy_api.Types.timestamp -> active_after_inclusive:Smaws_Lib.Smithy_api.Types.timestamp -> unit -> Types.active_time_range
val make_list_billing_views_request : ?next_token:Types.page_token -> ?max_results:Types.billing_views_max_results -> ?source_account_id:Types.account_id -> ?owner_account_id:Types.account_id -> ?names:Types.string_searches -> ?billing_view_types:Types.billing_view_type_list -> ?arns:Types.billing_view_arn_list -> ?active_time_range:Types.active_time_range -> unit -> Types.list_billing_views_request
val make_get_resource_policy_response : ?policy:Types.policy_document -> resource_arn:Types.resource_arn -> unit -> Types.get_resource_policy_response
val make_get_resource_policy_request : resource_arn:Types.resource_arn -> unit -> Types.get_resource_policy_request
val make_billing_view_element : ?health_status:Types.billing_view_health_status -> ?view_definition_last_updated_at:Smaws_Lib.Smithy_api.Types.timestamp -> ?source_view_count:Smaws_Lib.Smithy_api.Types.integer -> ?derived_view_count:Smaws_Lib.Smithy_api.Types.integer -> ?updated_at:Smaws_Lib.Smithy_api.Types.timestamp -> ?created_at:Smaws_Lib.Smithy_api.Types.timestamp -> ?data_filter_expression:Types.expression -> ?source_account_id:Types.account_id -> ?owner_account_id:Types.account_id -> ?billing_view_type:Types.billing_view_type -> ?description:Types.billing_view_description -> ?name:Types.billing_view_name -> ?arn:Types.billing_view_arn -> unit -> Types.billing_view_element
val make_get_billing_view_response : billing_view:Types.billing_view_element -> unit -> Types.get_billing_view_response
val make_get_billing_view_request : arn:Types.billing_view_arn -> unit -> Types.get_billing_view_request
val make_disassociate_source_views_response : arn:Types.billing_view_arn -> unit -> Types.disassociate_source_views_response
val make_disassociate_source_views_request : source_views:Types.billing_view_source_views_list -> arn:Types.billing_view_arn -> unit -> Types.disassociate_source_views_request
val make_delete_billing_view_response : arn:Types.billing_view_arn -> unit -> Types.delete_billing_view_response
val make_delete_billing_view_request : ?force:Smaws_Lib.Smithy_api.Types.boolean_ -> arn:Types.billing_view_arn -> unit -> Types.delete_billing_view_request
val make_create_billing_view_response : ?created_at:Smaws_Lib.Smithy_api.Types.timestamp -> arn:Types.billing_view_arn -> unit -> Types.create_billing_view_response
val make_create_billing_view_request : ?resource_tags:Types.resource_tag_list -> ?client_token:Types.client_token -> ?data_filter_expression:Types.expression -> ?description:Types.billing_view_description -> source_views:Types.billing_view_source_views_list -> name:Types.billing_view_name -> unit -> Types.create_billing_view_request
val make_associate_source_views_response : arn:Types.billing_view_arn -> unit -> Types.associate_source_views_response
val make_associate_source_views_request : source_views:Types.billing_view_source_views_list -> arn:Types.billing_view_arn -> unit -> Types.associate_source_views_request

Operations

module AssociateSourceViews : sig ... end

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

module CreateBillingView : sig ... end

Creates a billing view with the specified billing view attributes.

module DeleteBillingView : sig ... end

Deletes the specified billing view.

module DisassociateSourceViews : sig ... end

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

module GetBillingView : sig ... end

Returns the metadata associated to the specified billing view ARN.

module GetResourcePolicy : sig ... end

Returns the resource-based policy document attached to the resource in JSON format.

module ListBillingViews : sig ... end

Lists the billing views available for a given time period.

module ListSourceViewsForBillingView : sig ... end

Lists the source views (managed Amazon Web Services billing views) associated with the billing view.

module ListTagsForResource : sig ... end

Lists tags associated with the billing view resource.

module TagResource : sig ... end

An API operation for adding one or more tags (key-value pairs) to a resource.

module UntagResource : sig ... end

Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.

module UpdateBillingView : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end