updateBillingView

An API to update the attributes of the billing view.

Samples

import aws.sdk.kotlin.services.billing.model.Dimension
import aws.sdk.kotlin.services.billing.model.DimensionValues
import aws.sdk.kotlin.services.billing.model.Expression

fun main() { 
   //sampleStart 
   // Invoke UpdateBillingView
val resp = billingClient.updateBillingView {
    name = "Example Custom Billing View"
    arn = "arn:aws:billing::123456789101:billingview/custom-46f47cb2-a11d-43f3-983d-470b5708a899"
    description = "Custom Billing View Example -- updated description"
    dataFilterExpression = Expression {
        dimensions = DimensionValues {
            key = Dimension.fromValue("LINKED_ACCOUNT")
            values = listOf<String>(
                "000000000000"
            )
        }
    }
} 
   //sampleEnd
}