Class: Aws::Billing::Types::CreateBillingViewRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:name, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

A unique, case-sensitive identifier you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. If the original request completes successfully, any subsequent retries complete successfully without performing any further actions with an idempotent request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1114

class CreateBillingViewRequest < Struct.new(
  :name,
  :description,
  :source_views,
  :data_filter_expression,
  :client_token,
  :resource_tags)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#data_filter_expression ⇒ Types::Expression

See Expression. Billing view only supports LINKED_ACCOUNT, Tags, and CostCategories.

Returns:



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1114

class CreateBillingViewRequest < Struct.new(
  :name,
  :description,
  :source_views,
  :data_filter_expression,
  :client_token,
  :resource_tags)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#description ⇒ String

The description of the billing view.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1114

class CreateBillingViewRequest < Struct.new(
  :name,
  :description,
  :source_views,
  :data_filter_expression,
  :client_token,
  :resource_tags)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#name ⇒ String

The name of the billing view.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1114

class CreateBillingViewRequest < Struct.new(
  :name,
  :description,
  :source_views,
  :data_filter_expression,
  :client_token,
  :resource_tags)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#resource_tags ⇒ Array<Types::ResourceTag>

A list of key value map specifying tags associated to the billing view being created.

Returns:



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1114

class CreateBillingViewRequest < Struct.new(
  :name,
  :description,
  :source_views,
  :data_filter_expression,
  :client_token,
  :resource_tags)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#source_views ⇒ Array<String>

A list of billing views used as the data source for the custom billing view. Source views can be of the following types:

  • PRIMARY - The billing view that contains all cost management data associated with an account.

  • CUSTOM - A billing view that a customer creates from one or more source views.

  • BILLING_GROUP - The billing view for an Billing Conductor billing group.

  • BILLING_TRANSFER - The billing view for the billing data that a bill transfer account is financially responsible for.

  • BILLING_TRANSFER_SHOWBACK - The billing view for billing data configured for showback or chargeback purposes.

Returns:

  • (Array<String>)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1114

class CreateBillingViewRequest < Struct.new(
  :name,
  :description,
  :source_views,
  :data_filter_expression,
  :client_token,
  :resource_tags)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end