Documentation ¶
Index ¶
- type AccessDeniedException
- type AccountAssociationsListElement
- type AccountGrouping
- type AssociateResourceError
- type AssociateResourceErrorReason
- type AssociateResourceResponseElement
- type Attribute
- type BillingGroupCostReportElement
- type BillingGroupCostReportResultElement
- type BillingGroupListElement
- type BillingGroupStatus
- type BillingPeriodRange
- type ComputationPreference
- type ConflictException
- type ConflictExceptionReason
- type CreateFreeTierConfig
- type CreateTieringInput
- type CurrencyCode
- type CustomLineItemBillingPeriodRange
- type CustomLineItemChargeDetails
- type CustomLineItemFlatChargeDetails
- type CustomLineItemListElement
- type CustomLineItemPercentageChargeDetails
- type CustomLineItemRelationship
- type CustomLineItemType
- type CustomLineItemVersionListElement
- type DisassociateResourceResponseElement
- type FreeTierConfig
- type GroupByAttributeName
- type InternalServerException
- type LineItemFilter
- type LineItemFilterAttributeName
- type LineItemFilterValue
- type ListAccountAssociationsFilter
- type ListBillingGroupAccountGrouping
- type ListBillingGroupCostReportsFilter
- type ListBillingGroupsFilter
- type ListCustomLineItemChargeDetails
- type ListCustomLineItemFlatChargeDetails
- type ListCustomLineItemPercentageChargeDetails
- type ListCustomLineItemVersionsBillingPeriodRangeFilter
- type ListCustomLineItemVersionsFilter
- type ListCustomLineItemsFilter
- type ListPricingPlansFilter
- type ListPricingRulesFilter
- type ListResourcesAssociatedToCustomLineItemFilter
- type ListResourcesAssociatedToCustomLineItemResponseElement
- type MatchOption
- type PricingPlanListElement
- type PricingRuleListElement
- type PricingRuleScope
- type PricingRuleType
- type ResourceNotFoundException
- type ServiceLimitExceededException
- type ThrottlingException
- type Tiering
- type UpdateBillingGroupAccountGrouping
- type UpdateCustomLineItemChargeDetails
- type UpdateCustomLineItemFlatChargeDetails
- type UpdateCustomLineItemPercentageChargeDetails
- type UpdateFreeTierConfig
- type UpdateTieringInput
- type ValidationException
- type ValidationExceptionField
- type ValidationExceptionReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type AccountAssociationsListElement ¶
type AccountAssociationsListElement struct { // The Amazon Web Services account email. AccountEmail *string // The associating array of account IDs. AccountId *string // The Amazon Web Services account name. AccountName *string // The Billing Group Arn that the linked account is associated to. BillingGroupArn *string // contains filtered or unexported fields }
A representation of a linked account.
type AccountGrouping ¶
type AccountGrouping struct { // The account IDs that make up the billing group. Account IDs must be a part of // the consolidated billing family, and not associated with another billing group. // // This member is required. LinkedAccountIds []string // Specifies if this billing group will automatically associate newly added Amazon // Web Services accounts that join your consolidated billing family. AutoAssociate *bool // contains filtered or unexported fields }
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.
type AssociateResourceError ¶
type AssociateResourceError struct { // The reason why the resource association failed. Message *string // A static error code that's used to classify the type of failure. Reason AssociateResourceErrorReason // contains filtered or unexported fields }
A representation of a resource association error.
type AssociateResourceErrorReason ¶
type AssociateResourceErrorReason string
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" )
Enum values for AssociateResourceErrorReason
func (AssociateResourceErrorReason) Values ¶
func (AssociateResourceErrorReason) Values() []AssociateResourceErrorReason
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.
type AssociateResourceResponseElement ¶
type AssociateResourceResponseElement struct { // The resource ARN that was associated to the custom line item. Arn *string // An AssociateResourceError that will populate if the resource association fails. Error *AssociateResourceError // contains filtered or unexported fields }
A resource association result for a percentage custom line item.
type Attribute ¶
type Attribute struct { // The key in a key-value pair that describes the margin summary. Key *string // The value in a key-value pair that describes the margin summary. Value *string // contains filtered or unexported fields }
The key-value pair that represents the attribute by which the BillingGroupCostReportResults are grouped. For example, if you want a service-level breakdown for Amazon Simple Storage Service (Amazon S3) of the billing group, the attribute will be a key-value pair of "PRODUCT_NAME" and "S3" .
type BillingGroupCostReportElement ¶
type BillingGroupCostReportElement struct { // The actual Amazon Web Services charges for the billing group. AWSCost *string // The Amazon Resource Name (ARN) of a billing group. Arn *string // The displayed currency. Currency *string // The billing group margin. Margin *string // The percentage of billing group margin. MarginPercentage *string // The hypothetical Amazon Web Services charges based on the associated pricing // plan of a billing group. ProformaCost *string // contains filtered or unexported fields }
A summary report of actual Amazon Web Services charges and calculated Amazon Web Services charges, based on the associated pricing plan of a billing group.
type BillingGroupCostReportResultElement ¶
type BillingGroupCostReportResultElement struct { // The actual Amazon Web Services charges for the billing group. AWSCost *string // The Amazon Resource Number (ARN) that uniquely identifies the billing group. Arn *string // The list of key-value pairs that represent the attributes by which the // BillingGroupCostReportResults are grouped. For example, if you want the Amazon // S3 service-level breakdown of a billing group for November 2023, the attributes // list will contain a key-value pair of "PRODUCT_NAME" and "S3" and a key-value // pair of "BILLING_PERIOD" and "Nov 2023" . Attributes []Attribute // The displayed currency. Currency *string // The billing group margin. Margin *string // The percentage of the billing group margin. MarginPercentage *string // The hypothetical Amazon Web Services charges based on the associated pricing // plan of a billing group. ProformaCost *string // contains filtered or unexported fields }
A paginated call to retrieve a list of summary reports of actual Amazon Web Services charges and the calculated Amazon Web Services charges, broken down by attributes.
type BillingGroupListElement ¶
type BillingGroupListElement struct { // Specifies if the billing group has automatic account association ( AutoAssociate // ) enabled. AccountGrouping *ListBillingGroupAccountGrouping // The Amazon Resource Number (ARN) that can be used to uniquely identify the // billing group. Arn *string // The preferences and settings that will be used to compute the Amazon Web // Services charges for a billing group. ComputationPreference *ComputationPreference // The time when the billing group was created. CreationTime int64 // The description of the billing group. Description *string // The most recent time when the billing group was modified. LastModifiedTime int64 // The name of the billing group. Name *string // The account ID that serves as the main account in a billing group. PrimaryAccountId *string // The number of accounts in the particular billing group. Size int64 // The billing group status. Only one of the valid values can be used. Status BillingGroupStatus // The reason why the billing group is in its current status. StatusReason *string // contains filtered or unexported fields }
A representation of a billing group.
type BillingGroupStatus ¶
type BillingGroupStatus string
const ( BillingGroupStatusActive BillingGroupStatus = "ACTIVE" BillingGroupStatusPrimaryAccountMissing BillingGroupStatus = "PRIMARY_ACCOUNT_MISSING" )
Enum values for BillingGroupStatus
func (BillingGroupStatus) Values ¶
func (BillingGroupStatus) Values() []BillingGroupStatus
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.
type BillingPeriodRange ¶
type BillingPeriodRange struct { // The exclusive end billing period that defines a billing period range for the // margin summary. For example, if you choose a billing period that starts in // October 2023 and ends in December 2023, the margin summary will only include // data from October 2023 and November 2023. // // This member is required. ExclusiveEndBillingPeriod *string // The inclusive start billing period that defines a billing period range for the // margin summary. // // This member is required. InclusiveStartBillingPeriod *string // contains filtered or unexported fields }
A time range for which the margin summary is effective. The time range can be up to 12 months.
type ComputationPreference ¶
type ComputationPreference struct { // The Amazon Resource Name (ARN) of the pricing plan that's used to compute the // Amazon Web Services charges for a billing group. // // This member is required. PricingPlanArn *string // contains filtered or unexported fields }
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string Reason ConflictExceptionReason // contains filtered or unexported fields }
You can cause an inconsistent state by updating or deleting a resource.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type ConflictExceptionReason ¶
type ConflictExceptionReason string
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" )
Enum values for ConflictExceptionReason
func (ConflictExceptionReason) Values ¶
func (ConflictExceptionReason) Values() []ConflictExceptionReason
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.
type CreateFreeTierConfig ¶
type CreateFreeTierConfig struct { // Activate or deactivate Amazon Web Services Free Tier. // // This member is required. Activated *bool // contains filtered or unexported fields }
The possible Amazon Web Services Free Tier configurations.
type CreateTieringInput ¶
type CreateTieringInput struct { // The possible Amazon Web Services Free Tier configurations. // // This member is required. FreeTier *CreateFreeTierConfig // contains filtered or unexported fields }
The set of tiering configurations for the pricing rule.
type CurrencyCode ¶
type CurrencyCode string
const ( CurrencyCodeUsd CurrencyCode = "USD" CurrencyCodeCny CurrencyCode = "CNY" )
Enum values for CurrencyCode
func (CurrencyCode) Values ¶
func (CurrencyCode) Values() []CurrencyCode
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.
type CustomLineItemBillingPeriodRange ¶
type CustomLineItemBillingPeriodRange struct { // The inclusive start billing period that defines a billing period range where a // custom line is applied. // // This member is required. InclusiveStartBillingPeriod *string // The inclusive end billing period that defines a billing period range where a // custom line is applied. ExclusiveEndBillingPeriod *string // contains filtered or unexported fields }
The billing period range in which the custom line item request will be applied.
type CustomLineItemChargeDetails ¶
type CustomLineItemChargeDetails struct { // The type of the custom line item that indicates whether the charge is a fee or // credit. // // This member is required. Type CustomLineItemType // A CustomLineItemFlatChargeDetails that describes the charge details of a flat // custom line item. Flat *CustomLineItemFlatChargeDetails // A representation of the line item filter. LineItemFilters []LineItemFilter // A CustomLineItemPercentageChargeDetails that describes the charge details of a // percentage custom line item. Percentage *CustomLineItemPercentageChargeDetails // contains filtered or unexported fields }
The charge details of a custom line item. It should contain only one of Flat or Percentage .
type CustomLineItemFlatChargeDetails ¶
type CustomLineItemFlatChargeDetails struct { // The custom line item's fixed charge value in USD. // // This member is required. ChargeValue *float64 // contains filtered or unexported fields }
A representation of the charge details that are associated with a flat custom line item.
type CustomLineItemListElement ¶
type CustomLineItemListElement struct { // The Amazon Web Services account in which this custom line item will be applied // to. AccountId *string // The Amazon Resource Names (ARNs) for custom line items. Arn *string // The number of resources that are associated to the custom line item. AssociationSize int64 // The Amazon Resource Name (ARN) that references the billing group where the // custom line item applies to. BillingGroupArn *string // A ListCustomLineItemChargeDetails that describes the charge details of a custom // line item. ChargeDetails *ListCustomLineItemChargeDetails // The time created. CreationTime int64 // The custom line item's charge value currency. Only one of the valid values can // be used. CurrencyCode CurrencyCode // The custom line item's description. This is shown on the Bills page in // association with the charge value. Description *string // The most recent time when the custom line item was modified. LastModifiedTime int64 // The custom line item's name. Name *string // The product code that's associated with the custom line item. ProductCode *string // contains filtered or unexported fields }
A representation of a custom line item.
type CustomLineItemPercentageChargeDetails ¶
type CustomLineItemPercentageChargeDetails struct { // The custom line item's percentage value. This will be multiplied against the // combined value of its associated resources to determine its charge value. // // This member is required. PercentageValue *float64 // A list of resource ARNs to associate to the percentage custom line item. AssociatedValues []string // contains filtered or unexported fields }
A representation of the charge details that are associated with a percentage custom line item.
type CustomLineItemRelationship ¶
type CustomLineItemRelationship string
const ( CustomLineItemRelationshipParent CustomLineItemRelationship = "PARENT" CustomLineItemRelationshipChild CustomLineItemRelationship = "CHILD" )
Enum values for CustomLineItemRelationship
func (CustomLineItemRelationship) Values ¶
func (CustomLineItemRelationship) Values() []CustomLineItemRelationship
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.
type CustomLineItemType ¶
type CustomLineItemType string
const ( CustomLineItemTypeCredit CustomLineItemType = "CREDIT" CustomLineItemTypeFee CustomLineItemType = "FEE" )
Enum values for CustomLineItemType
func (CustomLineItemType) Values ¶
func (CustomLineItemType) Values() []CustomLineItemType
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.
type CustomLineItemVersionListElement ¶
type CustomLineItemVersionListElement struct { // The Amazon Web Services account in which this custom line item will be applied // to. AccountId *string // A list of custom line item Amazon Resource Names (ARNs) to retrieve // information. Arn *string // The number of resources that are associated with the custom line item. AssociationSize int64 // The Amazon Resource Name (ARN) of the billing group that the custom line item // applies to. BillingGroupArn *string // A representation of the charge details of a custom line item. ChargeDetails *ListCustomLineItemChargeDetails // The time when the custom line item version was created. CreationTime int64 // The charge value currency of the custom line item. CurrencyCode CurrencyCode // The description of the custom line item. Description *string // The end billing period of the custom line item version. EndBillingPeriod *string // The most recent time that the custom line item version was modified. LastModifiedTime int64 // The name of the custom line item. Name *string // The product code that’s associated with the custom line item. ProductCode *string // The start billing period of the custom line item version. StartBillingPeriod *string // The inclusive start time. StartTime int64 // contains filtered or unexported fields }
A representation of a custom line item version.
type DisassociateResourceResponseElement ¶
type DisassociateResourceResponseElement struct { // The resource ARN that was disassociated from the custom line item. Arn *string // An AssociateResourceError that's shown if the resource disassociation fails. Error *AssociateResourceError // contains filtered or unexported fields }
A resource disassociation result for a percentage custom line item.
type FreeTierConfig ¶
type FreeTierConfig struct { // Activate or deactivate Amazon Web Services Free Tier application. // // This member is required. Activated *bool // contains filtered or unexported fields }
The possible Amazon Web Services Free Tier configurations.
type GroupByAttributeName ¶
type GroupByAttributeName string
const ( GroupByAttributeNameProductName GroupByAttributeName = "PRODUCT_NAME" GroupByAttributeNameBillingPeriod GroupByAttributeName = "BILLING_PERIOD" )
Enum values for GroupByAttributeName
func (GroupByAttributeName) Values ¶
func (GroupByAttributeName) Values() []GroupByAttributeName
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.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int32 // contains filtered or unexported fields }
An unexpected error occurred while processing a request.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type LineItemFilter ¶
type LineItemFilter struct { // The attribute of the line item filter. This specifies what attribute that you // can filter on. // // This member is required. Attribute LineItemFilterAttributeName // The match criteria of the line item filter. This parameter specifies whether // not to include the resource value from the billing group total cost. // // This member is required. MatchOption MatchOption // The values of the line item filter. This specifies the values to filter on. // Currently, you can only exclude Savings Plan discounts. // // This member is required. Values []LineItemFilterValue // contains filtered or unexported fields }
A representation of the line item filter for your custom line item. You can use line item filters to include or exclude specific resource values from the billing group's total cost. For example, if you create a custom line item and you want to filter out a value, such as Savings Plan discounts, you can update LineItemFilter to exclude it.
type LineItemFilterAttributeName ¶
type LineItemFilterAttributeName string
const (
LineItemFilterAttributeNameLineItemType LineItemFilterAttributeName = "LINE_ITEM_TYPE"
)
Enum values for LineItemFilterAttributeName
func (LineItemFilterAttributeName) Values ¶
func (LineItemFilterAttributeName) Values() []LineItemFilterAttributeName
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.
type LineItemFilterValue ¶
type LineItemFilterValue string
const (
LineItemFilterValueSavingsPlanNegation LineItemFilterValue = "SAVINGS_PLAN_NEGATION"
)
Enum values for LineItemFilterValue
func (LineItemFilterValue) Values ¶
func (LineItemFilterValue) Values() []LineItemFilterValue
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.
type ListAccountAssociationsFilter ¶
type ListAccountAssociationsFilter struct { // The Amazon Web Services account ID to filter on. AccountId *string // The list of Amazon Web Services IDs to retrieve their associated billing group // for a given time range. AccountIds []string // MONITORED : linked accounts that are associated to billing groups. // // UNMONITORED : linked accounts that are not associated to billing groups. // // Billing Group Arn : linked accounts that are associated to the provided Billing // Group Arn. Association *string // contains filtered or unexported fields }
The filter on the account ID of the linked account, or any of the following:
MONITORED : linked accounts that are associated to billing groups.
UNMONITORED : linked accounts that are not associated to billing groups.
Billing Group Arn : linked accounts that are associated to the provided Billing Group Arn.
type ListBillingGroupAccountGrouping ¶
type ListBillingGroupAccountGrouping struct { // Specifies if this billing group will automatically associate newly added Amazon // Web Services accounts that join your consolidated billing family. AutoAssociate *bool // contains filtered or unexported fields }
Specifies if the billing group has the following features enabled.
type ListBillingGroupCostReportsFilter ¶
type ListBillingGroupCostReportsFilter struct { // The list of Amazon Resource Names (ARNs) used to filter billing groups to // retrieve reports. BillingGroupArns []string // contains filtered or unexported fields }
The filter used to retrieve specific BillingGroupCostReportElements .
type ListBillingGroupsFilter ¶
type ListBillingGroupsFilter struct { // The list of billing group Amazon Resource Names (ARNs) to retrieve information. Arns []string // Specifies if this billing group will automatically associate newly added Amazon // Web Services accounts that join your consolidated billing family. AutoAssociate *bool // The pricing plan Amazon Resource Names (ARNs) to retrieve information. PricingPlan *string // A list of billing groups to retrieve their current status for a specific time // range Statuses []BillingGroupStatus // contains filtered or unexported fields }
The filter that specifies the billing groups and pricing plans to retrieve billing group information.
type ListCustomLineItemChargeDetails ¶
type ListCustomLineItemChargeDetails struct { // The type of the custom line item that indicates whether the charge is a fee or // credit . // // This member is required. Type CustomLineItemType // A ListCustomLineItemFlatChargeDetails that describes the charge details of a // flat custom line item. Flat *ListCustomLineItemFlatChargeDetails // A representation of the line item filter. LineItemFilters []LineItemFilter // A ListCustomLineItemPercentageChargeDetails that describes the charge details // of a percentage custom line item. Percentage *ListCustomLineItemPercentageChargeDetails // contains filtered or unexported fields }
A representation of the charge details of a custom line item.
type ListCustomLineItemFlatChargeDetails ¶
type ListCustomLineItemFlatChargeDetails struct { // The custom line item's fixed charge value in USD. // // This member is required. ChargeValue *float64 // contains filtered or unexported fields }
A representation of the charge details that are associated with a flat custom
line item.
type ListCustomLineItemPercentageChargeDetails ¶
type ListCustomLineItemPercentageChargeDetails struct { // The custom line item's percentage value. This will be multiplied against the // combined value of its associated resources to determine its charge value. // // This member is required. PercentageValue *float64 // contains filtered or unexported fields }
A representation of the charge details that are associated with a percentage
custom line item.
type ListCustomLineItemVersionsBillingPeriodRangeFilter ¶
type ListCustomLineItemVersionsBillingPeriodRangeFilter struct { // The exclusive end billing period that defines a billing period range where a // custom line item version is applied. EndBillingPeriod *string // The inclusive start billing period that defines a billing period range where a // custom line item version is applied. StartBillingPeriod *string // contains filtered or unexported fields }
A billing period filter that specifies the custom line item versions to retrieve.
type ListCustomLineItemVersionsFilter ¶
type ListCustomLineItemVersionsFilter struct { // The billing period range in which the custom line item version is applied. BillingPeriodRange *ListCustomLineItemVersionsBillingPeriodRangeFilter // contains filtered or unexported fields }
A filter that specifies the billing period range where the custom line item versions reside.
type ListCustomLineItemsFilter ¶
type ListCustomLineItemsFilter struct { // The Amazon Web Services accounts in which this custom line item will be applied // to. AccountIds []string // A list of custom line item ARNs to retrieve information. Arns []string // The billing group Amazon Resource Names (ARNs) to retrieve information. BillingGroups []string // A list of custom line items to retrieve information. Names []string // contains filtered or unexported fields }
A filter that specifies the custom line items and billing groups to retrieve FFLI information.
type ListPricingPlansFilter ¶
type ListPricingPlansFilter struct { // A list of pricing plan Amazon Resource Names (ARNs) to retrieve information. Arns []string // contains filtered or unexported fields }
The filter that specifies the Amazon Resource Names (ARNs) of pricing plans, to retrieve pricing plan information.
type ListPricingRulesFilter ¶
type ListPricingRulesFilter struct { // A list containing the pricing rule Amazon Resource Names (ARNs) to include in // the API response. Arns []string // contains filtered or unexported fields }
The filter that specifies criteria that the pricing rules returned by the
ListPricingRules API will adhere to.
type ListResourcesAssociatedToCustomLineItemFilter ¶
type ListResourcesAssociatedToCustomLineItemFilter struct { // The type of relationship between the custom line item and the associated // resource. Relationship CustomLineItemRelationship // contains filtered or unexported fields }
A filter that specifies the type of resource associations that should be
retrieved for a custom line item.
type ListResourcesAssociatedToCustomLineItemResponseElement ¶
type ListResourcesAssociatedToCustomLineItemResponseElement struct { // The ARN of the associated resource. Arn *string // The end billing period of the associated resource. EndBillingPeriod *string // The type of relationship between the custom line item and the associated // resource. Relationship CustomLineItemRelationship // contains filtered or unexported fields }
A representation of a resource association for a custom line item.
type MatchOption ¶
type MatchOption string
const (
MatchOptionNotEqual MatchOption = "NOT_EQUAL"
)
Enum values for MatchOption
func (MatchOption) Values ¶
func (MatchOption) Values() []MatchOption
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.
type PricingPlanListElement ¶
type PricingPlanListElement struct { // The pricing plan Amazon Resource Names (ARN). This can be used to uniquely // identify a pricing plan. Arn *string // The time when the pricing plan was created. CreationTime int64 // The pricing plan description. Description *string // The most recent time when the pricing plan was modified. LastModifiedTime int64 // The name of a pricing plan. Name *string // The pricing rules count that's currently associated with this pricing plan list // element. Size int64 // contains filtered or unexported fields }
A representation of a pricing plan.
type PricingRuleListElement ¶
type PricingRuleListElement struct { // The Amazon Resource Name (ARN) used to uniquely identify a pricing rule. Arn *string // The pricing plans count that this pricing rule is associated with. AssociatedPricingPlanCount int64 // The seller of services provided by Amazon Web Services, their affiliates, or // third-party providers selling services via Amazon Web Services Marketplace. BillingEntity *string // The time when the pricing rule was created. CreationTime int64 // The pricing rule description. Description *string // The most recent time when the pricing rule was modified. LastModifiedTime int64 // A percentage modifier applied on the public pricing rates. ModifierPercentage *float64 // The name of a pricing rule. Name *string // Operation is the specific Amazon Web Services action covered by this line // item. This describes the specific usage of the line item. // // If the Scope attribute is set to SKU , this attribute indicates which operation // the PricingRule is modifying. For example, a value of RunInstances:0202 // indicates the operation of running an Amazon EC2 instance. Operation *string // The scope of pricing rule that indicates if it is globally applicable, or if it // is service-specific. Scope PricingRuleScope // If the Scope attribute is SERVICE , this attribute indicates which service the // PricingRule is applicable for. Service *string // The set of tiering configurations for the pricing rule. Tiering *Tiering // The type of pricing rule. Type PricingRuleType // Usage type is the unit that each service uses to measure the usage of a // specific type of resource. // // If the Scope attribute is set to SKU , this attribute indicates which usage type // the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an // M2 High Memory Double Extra Large instance in the US West (Oregon) Region. UsageType *string // contains filtered or unexported fields }
A representation of a pricing rule.
type PricingRuleScope ¶
type PricingRuleScope string
const ( PricingRuleScopeGlobal PricingRuleScope = "GLOBAL" PricingRuleScopeService PricingRuleScope = "SERVICE" PricingRuleScopeBillingEntity PricingRuleScope = "BILLING_ENTITY" PricingRuleScopeSku PricingRuleScope = "SKU" )
Enum values for PricingRuleScope
func (PricingRuleScope) Values ¶
func (PricingRuleScope) Values() []PricingRuleScope
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.
type PricingRuleType ¶
type PricingRuleType string
const ( PricingRuleTypeMarkup PricingRuleType = "MARKUP" PricingRuleTypeDiscount PricingRuleType = "DISCOUNT" PricingRuleTypeTiering PricingRuleType = "TIERING" )
Enum values for PricingRuleType
func (PricingRuleType) Values ¶
func (PricingRuleType) Values() []PricingRuleType
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.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string // contains filtered or unexported fields }
The request references a resource that doesn't exist.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ServiceLimitExceededException ¶
type ServiceLimitExceededException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string LimitCode *string ServiceCode *string // contains filtered or unexported fields }
The request would cause a service limit to exceed.
func (*ServiceLimitExceededException) Error ¶
func (e *ServiceLimitExceededException) Error() string
func (*ServiceLimitExceededException) ErrorCode ¶
func (e *ServiceLimitExceededException) ErrorCode() string
func (*ServiceLimitExceededException) ErrorFault ¶
func (e *ServiceLimitExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceLimitExceededException) ErrorMessage ¶
func (e *ServiceLimitExceededException) ErrorMessage() string
type ThrottlingException ¶
type ThrottlingException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int32 // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type Tiering ¶
type Tiering struct { // The possible Amazon Web Services Free Tier configurations. // // This member is required. FreeTier *FreeTierConfig // contains filtered or unexported fields }
The set of tiering configurations for the pricing rule.
type UpdateBillingGroupAccountGrouping ¶
type UpdateBillingGroupAccountGrouping struct { // Specifies if this billing group will automatically associate newly added Amazon // Web Services accounts that join your consolidated billing family. AutoAssociate *bool // contains filtered or unexported fields }
Specifies if the billing group has the following features enabled.
type UpdateCustomLineItemChargeDetails ¶
type UpdateCustomLineItemChargeDetails struct { // An UpdateCustomLineItemFlatChargeDetails that describes the new charge details // of a flat custom line item. Flat *UpdateCustomLineItemFlatChargeDetails // A representation of the line item filter. LineItemFilters []LineItemFilter // An UpdateCustomLineItemPercentageChargeDetails that describes the new charge // details of a percentage custom line item. Percentage *UpdateCustomLineItemPercentageChargeDetails // contains filtered or unexported fields }
A representation of the new charge details of a custom line item. This should
contain only one of Flat or Percentage .
type UpdateCustomLineItemFlatChargeDetails ¶
type UpdateCustomLineItemFlatChargeDetails struct { // The custom line item's new fixed charge value in USD. // // This member is required. ChargeValue *float64 // contains filtered or unexported fields }
A representation of the new charge details that are associated with a flat
custom line item.
type UpdateCustomLineItemPercentageChargeDetails ¶
type UpdateCustomLineItemPercentageChargeDetails struct { // The custom line item's new percentage value. This will be multiplied against // the combined value of its associated resources to determine its charge value. // // This member is required. PercentageValue *float64 // contains filtered or unexported fields }
A representation of the new charge details that are associated with a
percentage custom line item.
type UpdateFreeTierConfig ¶
type UpdateFreeTierConfig struct { // Activate or deactivate application of Amazon Web Services Free Tier. // // This member is required. Activated *bool // contains filtered or unexported fields }
The possible Amazon Web Services Free Tier configurations.
type UpdateTieringInput ¶
type UpdateTieringInput struct { // The possible Amazon Web Services Free Tier configurations. // // This member is required. FreeTier *UpdateFreeTierConfig // contains filtered or unexported fields }
The set of tiering configurations for the pricing rule.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string Reason ValidationExceptionReason Fields []ValidationExceptionField // contains filtered or unexported fields }
The input doesn't match with the constraints specified by Amazon Web Services.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type ValidationExceptionField ¶
type ValidationExceptionField struct { // The message describing why the field failed validation. // // This member is required. Message *string // The field name. // // This member is required. Name *string // contains filtered or unexported fields }
The field's information of a request that resulted in an exception.
type ValidationExceptionReason ¶
type ValidationExceptionReason string
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" )
Enum values for ValidationExceptionReason
func (ValidationExceptionReason) Values ¶
func (ValidationExceptionReason) Values() []ValidationExceptionReason
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.