1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AssociateResourceErrorReason string
// Enum values for AssociateResourceErrorReason
const (
AssociateResourceErrorReasonInvalidArn AssociateResourceErrorReason = "INVALID_ARN"
AssociateResourceErrorReasonServiceLimitExceeded AssociateResourceErrorReason = "SERVICE_LIMIT_EXCEEDED"
AssociateResourceErrorReasonIllegalCustomlineitem AssociateResourceErrorReason = "ILLEGAL_CUSTOMLINEITEM"
AssociateResourceErrorReasonInternalServerException AssociateResourceErrorReason = "INTERNAL_SERVER_EXCEPTION"
AssociateResourceErrorReasonInvalidBillingPeriodRange AssociateResourceErrorReason = "INVALID_BILLING_PERIOD_RANGE"
)
// Values returns all known values for AssociateResourceErrorReason. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (AssociateResourceErrorReason) Values() []AssociateResourceErrorReason {
return []AssociateResourceErrorReason{
"INVALID_ARN",
"SERVICE_LIMIT_EXCEEDED",
"ILLEGAL_CUSTOMLINEITEM",
"INTERNAL_SERVER_EXCEPTION",
"INVALID_BILLING_PERIOD_RANGE",
}
}
type BillingGroupStatus string
// Enum values for BillingGroupStatus
const (
BillingGroupStatusActive BillingGroupStatus = "ACTIVE"
BillingGroupStatusPrimaryAccountMissing BillingGroupStatus = "PRIMARY_ACCOUNT_MISSING"
)
// Values returns all known values for BillingGroupStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (BillingGroupStatus) Values() []BillingGroupStatus {
return []BillingGroupStatus{
"ACTIVE",
"PRIMARY_ACCOUNT_MISSING",
}
}
type ConflictExceptionReason string
// Enum values for ConflictExceptionReason
const (
ConflictExceptionReasonResourceNameConflict ConflictExceptionReason = "RESOURCE_NAME_CONFLICT"
ConflictExceptionReasonPricingRuleInPricingPlanConflict ConflictExceptionReason = "PRICING_RULE_IN_PRICING_PLAN_CONFLICT"
ConflictExceptionReasonPricingPlanAttachedToBillingGroupDeleteConflict ConflictExceptionReason = "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT"
ConflictExceptionReasonPricingRuleAttachedToPricingPlanDeleteConflict ConflictExceptionReason = "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT"
ConflictExceptionReasonWriteConflictRetry ConflictExceptionReason = "WRITE_CONFLICT_RETRY"
)
// Values returns all known values for ConflictExceptionReason. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ConflictExceptionReason) Values() []ConflictExceptionReason {
return []ConflictExceptionReason{
"RESOURCE_NAME_CONFLICT",
"PRICING_RULE_IN_PRICING_PLAN_CONFLICT",
"PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT",
"PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT",
"WRITE_CONFLICT_RETRY",
}
}
type CurrencyCode string
// Enum values for CurrencyCode
const (
CurrencyCodeUsd CurrencyCode = "USD"
CurrencyCodeCny CurrencyCode = "CNY"
)
// Values returns all known values for CurrencyCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CurrencyCode) Values() []CurrencyCode {
return []CurrencyCode{
"USD",
"CNY",
}
}
type CustomLineItemRelationship string
// Enum values for CustomLineItemRelationship
const (
CustomLineItemRelationshipParent CustomLineItemRelationship = "PARENT"
CustomLineItemRelationshipChild CustomLineItemRelationship = "CHILD"
)
// Values returns all known values for CustomLineItemRelationship. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (CustomLineItemRelationship) Values() []CustomLineItemRelationship {
return []CustomLineItemRelationship{
"PARENT",
"CHILD",
}
}
type CustomLineItemType string
// Enum values for CustomLineItemType
const (
CustomLineItemTypeCredit CustomLineItemType = "CREDIT"
CustomLineItemTypeFee CustomLineItemType = "FEE"
)
// Values returns all known values for CustomLineItemType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CustomLineItemType) Values() []CustomLineItemType {
return []CustomLineItemType{
"CREDIT",
"FEE",
}
}
type GroupByAttributeName string
// Enum values for GroupByAttributeName
const (
GroupByAttributeNameProductName GroupByAttributeName = "PRODUCT_NAME"
GroupByAttributeNameBillingPeriod GroupByAttributeName = "BILLING_PERIOD"
)
// Values returns all known values for GroupByAttributeName. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (GroupByAttributeName) Values() []GroupByAttributeName {
return []GroupByAttributeName{
"PRODUCT_NAME",
"BILLING_PERIOD",
}
}
type LineItemFilterAttributeName string
// Enum values for LineItemFilterAttributeName
const (
LineItemFilterAttributeNameLineItemType LineItemFilterAttributeName = "LINE_ITEM_TYPE"
)
// Values returns all known values for LineItemFilterAttributeName. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (LineItemFilterAttributeName) Values() []LineItemFilterAttributeName {
return []LineItemFilterAttributeName{
"LINE_ITEM_TYPE",
}
}
type LineItemFilterValue string
// Enum values for LineItemFilterValue
const (
LineItemFilterValueSavingsPlanNegation LineItemFilterValue = "SAVINGS_PLAN_NEGATION"
)
// Values returns all known values for LineItemFilterValue. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LineItemFilterValue) Values() []LineItemFilterValue {
return []LineItemFilterValue{
"SAVINGS_PLAN_NEGATION",
}
}
type MatchOption string
// Enum values for MatchOption
const (
MatchOptionNotEqual MatchOption = "NOT_EQUAL"
)
// Values returns all known values for MatchOption. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (MatchOption) Values() []MatchOption {
return []MatchOption{
"NOT_EQUAL",
}
}
type PricingRuleScope string
// Enum values for PricingRuleScope
const (
PricingRuleScopeGlobal PricingRuleScope = "GLOBAL"
PricingRuleScopeService PricingRuleScope = "SERVICE"
PricingRuleScopeBillingEntity PricingRuleScope = "BILLING_ENTITY"
PricingRuleScopeSku PricingRuleScope = "SKU"
)
// Values returns all known values for PricingRuleScope. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PricingRuleScope) Values() []PricingRuleScope {
return []PricingRuleScope{
"GLOBAL",
"SERVICE",
"BILLING_ENTITY",
"SKU",
}
}
type PricingRuleType string
// Enum values for PricingRuleType
const (
PricingRuleTypeMarkup PricingRuleType = "MARKUP"
PricingRuleTypeDiscount PricingRuleType = "DISCOUNT"
PricingRuleTypeTiering PricingRuleType = "TIERING"
)
// Values returns all known values for PricingRuleType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PricingRuleType) Values() []PricingRuleType {
return []PricingRuleType{
"MARKUP",
"DISCOUNT",
"TIERING",
}
}
type ValidationExceptionReason string
// Enum values for ValidationExceptionReason
const (
ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "UNKNOWN_OPERATION"
ValidationExceptionReasonCannotParse ValidationExceptionReason = "CANNOT_PARSE"
ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "FIELD_VALIDATION_FAILED"
ValidationExceptionReasonOther ValidationExceptionReason = "OTHER"
ValidationExceptionReasonPrimaryNotAssociated ValidationExceptionReason = "PRIMARY_NOT_ASSOCIATED"
ValidationExceptionReasonPrimaryCannotDisassociate ValidationExceptionReason = "PRIMARY_CANNOT_DISASSOCIATE"
ValidationExceptionReasonAccountsNotAssociated ValidationExceptionReason = "ACCOUNTS_NOT_ASSOCIATED"
ValidationExceptionReasonAccountsAlreadyAssociated ValidationExceptionReason = "ACCOUNTS_ALREADY_ASSOCIATED"
ValidationExceptionReasonIllegalPrimaryAccount ValidationExceptionReason = "ILLEGAL_PRIMARY_ACCOUNT"
ValidationExceptionReasonIllegalAccounts ValidationExceptionReason = "ILLEGAL_ACCOUNTS"
ValidationExceptionReasonMismatchedBillinggroupArn ValidationExceptionReason = "MISMATCHED_BILLINGGROUP_ARN"
ValidationExceptionReasonMissingBillinggroup ValidationExceptionReason = "MISSING_BILLINGGROUP"
ValidationExceptionReasonMismatchedCustomlineitemArn ValidationExceptionReason = "MISMATCHED_CUSTOMLINEITEM_ARN"
ValidationExceptionReasonIllegalBillingPeriod ValidationExceptionReason = "ILLEGAL_BILLING_PERIOD"
ValidationExceptionReasonIllegalBillingPeriodRange ValidationExceptionReason = "ILLEGAL_BILLING_PERIOD_RANGE"
ValidationExceptionReasonTooManyAccountsInRequest ValidationExceptionReason = "TOO_MANY_ACCOUNTS_IN_REQUEST"
ValidationExceptionReasonDuplicateAccount ValidationExceptionReason = "DUPLICATE_ACCOUNT"
ValidationExceptionReasonInvalidBillingGroupStatus ValidationExceptionReason = "INVALID_BILLING_GROUP_STATUS"
ValidationExceptionReasonMismatchedPricingplanArn ValidationExceptionReason = "MISMATCHED_PRICINGPLAN_ARN"
ValidationExceptionReasonMissingPricingplan ValidationExceptionReason = "MISSING_PRICINGPLAN"
ValidationExceptionReasonMismatchedPricingruleArn ValidationExceptionReason = "MISMATCHED_PRICINGRULE_ARN"
ValidationExceptionReasonDuplicatePricingruleArns ValidationExceptionReason = "DUPLICATE_PRICINGRULE_ARNS"
ValidationExceptionReasonIllegalExpression ValidationExceptionReason = "ILLEGAL_EXPRESSION"
ValidationExceptionReasonIllegalScope ValidationExceptionReason = "ILLEGAL_SCOPE"
ValidationExceptionReasonIllegalService ValidationExceptionReason = "ILLEGAL_SERVICE"
ValidationExceptionReasonPricingrulesNotExist ValidationExceptionReason = "PRICINGRULES_NOT_EXIST"
ValidationExceptionReasonPricingrulesAlreadyAssociated ValidationExceptionReason = "PRICINGRULES_ALREADY_ASSOCIATED"
ValidationExceptionReasonPricingrulesNotAssociated ValidationExceptionReason = "PRICINGRULES_NOT_ASSOCIATED"
ValidationExceptionReasonInvalidTimeRange ValidationExceptionReason = "INVALID_TIME_RANGE"
ValidationExceptionReasonInvalidBillingviewArn ValidationExceptionReason = "INVALID_BILLINGVIEW_ARN"
ValidationExceptionReasonMismatchedBillingviewArn ValidationExceptionReason = "MISMATCHED_BILLINGVIEW_ARN"
ValidationExceptionReasonIllegalCustomlineitem ValidationExceptionReason = "ILLEGAL_CUSTOMLINEITEM"
ValidationExceptionReasonMissingCustomlineitem ValidationExceptionReason = "MISSING_CUSTOMLINEITEM"
ValidationExceptionReasonIllegalCustomlineitemUpdate ValidationExceptionReason = "ILLEGAL_CUSTOMLINEITEM_UPDATE"
ValidationExceptionReasonTooManyCustomlineitemsInRequest ValidationExceptionReason = "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST"
ValidationExceptionReasonIllegalChargeDetails ValidationExceptionReason = "ILLEGAL_CHARGE_DETAILS"
ValidationExceptionReasonIllegalUpdateChargeDetails ValidationExceptionReason = "ILLEGAL_UPDATE_CHARGE_DETAILS"
ValidationExceptionReasonInvalidArn ValidationExceptionReason = "INVALID_ARN"
ValidationExceptionReasonIllegalResourceArns ValidationExceptionReason = "ILLEGAL_RESOURCE_ARNS"
ValidationExceptionReasonIllegalCustomlineitemModification ValidationExceptionReason = "ILLEGAL_CUSTOMLINEITEM_MODIFICATION"
ValidationExceptionReasonMissingLinkedAccountIds ValidationExceptionReason = "MISSING_LINKED_ACCOUNT_IDS"
ValidationExceptionReasonMultipleLinkedAccountIds ValidationExceptionReason = "MULTIPLE_LINKED_ACCOUNT_IDS"
ValidationExceptionReasonMissingPricingPlanArn ValidationExceptionReason = "MISSING_PRICING_PLAN_ARN"
ValidationExceptionReasonMultiplePricingPlanArn ValidationExceptionReason = "MULTIPLE_PRICING_PLAN_ARN"
ValidationExceptionReasonIllegalChildAssociateResource ValidationExceptionReason = "ILLEGAL_CHILD_ASSOCIATE_RESOURCE"
ValidationExceptionReasonCustomLineItemAssociationExists ValidationExceptionReason = "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS"
ValidationExceptionReasonInvalidBillingGroup ValidationExceptionReason = "INVALID_BILLING_GROUP"
ValidationExceptionReasonInvalidBillingPeriodForOperation ValidationExceptionReason = "INVALID_BILLING_PERIOD_FOR_OPERATION"
ValidationExceptionReasonIllegalBillingEntity ValidationExceptionReason = "ILLEGAL_BILLING_ENTITY"
ValidationExceptionReasonIllegalModifierPercentage ValidationExceptionReason = "ILLEGAL_MODIFIER_PERCENTAGE"
ValidationExceptionReasonIllegalType ValidationExceptionReason = "ILLEGAL_TYPE"
ValidationExceptionReasonIllegalEndedBillinggroup ValidationExceptionReason = "ILLEGAL_ENDED_BILLINGGROUP"
ValidationExceptionReasonIllegalTieringInput ValidationExceptionReason = "ILLEGAL_TIERING_INPUT"
ValidationExceptionReasonIllegalOperation ValidationExceptionReason = "ILLEGAL_OPERATION"
ValidationExceptionReasonIllegalUsageType ValidationExceptionReason = "ILLEGAL_USAGE_TYPE"
ValidationExceptionReasonInvalidSkuCombo ValidationExceptionReason = "INVALID_SKU_COMBO"
ValidationExceptionReasonInvalidFilter ValidationExceptionReason = "INVALID_FILTER"
ValidationExceptionReasonTooManyAutoAssociateBillingGroups ValidationExceptionReason = "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS"
ValidationExceptionReasonCannotDeleteAutoAssociateBillingGroup ValidationExceptionReason = "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP"
ValidationExceptionReasonIllegalAccountId ValidationExceptionReason = "ILLEGAL_ACCOUNT_ID"
)
// Values returns all known values for ValidationExceptionReason. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (ValidationExceptionReason) Values() []ValidationExceptionReason {
return []ValidationExceptionReason{
"UNKNOWN_OPERATION",
"CANNOT_PARSE",
"FIELD_VALIDATION_FAILED",
"OTHER",
"PRIMARY_NOT_ASSOCIATED",
"PRIMARY_CANNOT_DISASSOCIATE",
"ACCOUNTS_NOT_ASSOCIATED",
"ACCOUNTS_ALREADY_ASSOCIATED",
"ILLEGAL_PRIMARY_ACCOUNT",
"ILLEGAL_ACCOUNTS",
"MISMATCHED_BILLINGGROUP_ARN",
"MISSING_BILLINGGROUP",
"MISMATCHED_CUSTOMLINEITEM_ARN",
"ILLEGAL_BILLING_PERIOD",
"ILLEGAL_BILLING_PERIOD_RANGE",
"TOO_MANY_ACCOUNTS_IN_REQUEST",
"DUPLICATE_ACCOUNT",
"INVALID_BILLING_GROUP_STATUS",
"MISMATCHED_PRICINGPLAN_ARN",
"MISSING_PRICINGPLAN",
"MISMATCHED_PRICINGRULE_ARN",
"DUPLICATE_PRICINGRULE_ARNS",
"ILLEGAL_EXPRESSION",
"ILLEGAL_SCOPE",
"ILLEGAL_SERVICE",
"PRICINGRULES_NOT_EXIST",
"PRICINGRULES_ALREADY_ASSOCIATED",
"PRICINGRULES_NOT_ASSOCIATED",
"INVALID_TIME_RANGE",
"INVALID_BILLINGVIEW_ARN",
"MISMATCHED_BILLINGVIEW_ARN",
"ILLEGAL_CUSTOMLINEITEM",
"MISSING_CUSTOMLINEITEM",
"ILLEGAL_CUSTOMLINEITEM_UPDATE",
"TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST",
"ILLEGAL_CHARGE_DETAILS",
"ILLEGAL_UPDATE_CHARGE_DETAILS",
"INVALID_ARN",
"ILLEGAL_RESOURCE_ARNS",
"ILLEGAL_CUSTOMLINEITEM_MODIFICATION",
"MISSING_LINKED_ACCOUNT_IDS",
"MULTIPLE_LINKED_ACCOUNT_IDS",
"MISSING_PRICING_PLAN_ARN",
"MULTIPLE_PRICING_PLAN_ARN",
"ILLEGAL_CHILD_ASSOCIATE_RESOURCE",
"CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",
"INVALID_BILLING_GROUP",
"INVALID_BILLING_PERIOD_FOR_OPERATION",
"ILLEGAL_BILLING_ENTITY",
"ILLEGAL_MODIFIER_PERCENTAGE",
"ILLEGAL_TYPE",
"ILLEGAL_ENDED_BILLINGGROUP",
"ILLEGAL_TIERING_INPUT",
"ILLEGAL_OPERATION",
"ILLEGAL_USAGE_TYPE",
"INVALID_SKU_COMBO",
"INVALID_FILTER",
"TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS",
"CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",
"ILLEGAL_ACCOUNT_ID",
}
}
|