CostCategoryRule

public struct CostCategoryRule : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • An Expression object used to categorize costs. This supports dimensions, Tags, and nested expressions. Currently the only dimensions supported are LINKED_ACCOUNT, SERVICE_CODE, RECORD_TYPE, and LINKED_ACCOUNT_NAME. Root level OR is not supported. We recommend that you create a separate rule instead. RECORD_TYPE is a dimension used for Cost Explorer APIs, and is also supported for Cost Category expressions. This dimension uses different terms, depending on whether you’re using the console or API/JSON editor. For a detailed comparison, see Term Comparisons in the AWS Billing and Cost Management User Guide.

    Declaration

    Swift

    public let rule: Expression
  • Undocumented

    Declaration

    Swift

    public let value: String
  • Undocumented

    Declaration

    Swift

    public init(rule: Expression, value: String)
  • Declaration

    Swift

    public func validate(name: String) throws