package
1.55.6
Repository: https://github.com/aws/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package costexploreriface provides an interface to enable mocking the AWS Cost Explorer Service service client for testing your code.

# Functions

AccountScope_Values returns all elements of the AccountScope enum.
AnomalyFeedbackType_Values returns all elements of the AnomalyFeedbackType enum.
AnomalySubscriptionFrequency_Values returns all elements of the AnomalySubscriptionFrequency enum.
ApproximationDimension_Values returns all elements of the ApproximationDimension enum.
Context_Values returns all elements of the Context enum.
CostAllocationTagBackfillStatus_Values returns all elements of the CostAllocationTagBackfillStatus enum.
CostAllocationTagStatus_Values returns all elements of the CostAllocationTagStatus enum.
CostAllocationTagType_Values returns all elements of the CostAllocationTagType enum.
CostCategoryInheritedValueDimensionName_Values returns all elements of the CostCategoryInheritedValueDimensionName enum.
CostCategoryRuleType_Values returns all elements of the CostCategoryRuleType enum.
CostCategoryRuleVersion_Values returns all elements of the CostCategoryRuleVersion enum.
CostCategorySplitChargeMethod_Values returns all elements of the CostCategorySplitChargeMethod enum.
CostCategorySplitChargeRuleParameterType_Values returns all elements of the CostCategorySplitChargeRuleParameterType enum.
CostCategoryStatus_Values returns all elements of the CostCategoryStatus enum.
CostCategoryStatusComponent_Values returns all elements of the CostCategoryStatusComponent enum.
Dimension_Values returns all elements of the Dimension enum.
FindingReasonCode_Values returns all elements of the FindingReasonCode enum.
GenerationStatus_Values returns all elements of the GenerationStatus enum.
Granularity_Values returns all elements of the Granularity enum.
GroupDefinitionType_Values returns all elements of the GroupDefinitionType enum.
LookbackPeriodInDays_Values returns all elements of the LookbackPeriodInDays enum.
MatchOption_Values returns all elements of the MatchOption enum.
Metric_Values returns all elements of the Metric enum.
MonitorDimension_Values returns all elements of the MonitorDimension enum.
MonitorType_Values returns all elements of the MonitorType enum.
New creates a new instance of the CostExplorer client with a session.
NumericOperator_Values returns all elements of the NumericOperator enum.
OfferingClass_Values returns all elements of the OfferingClass enum.
PaymentOption_Values returns all elements of the PaymentOption enum.
PlatformDifference_Values returns all elements of the PlatformDifference enum.
RecommendationTarget_Values returns all elements of the RecommendationTarget enum.
RightsizingType_Values returns all elements of the RightsizingType enum.
SavingsPlansDataType_Values returns all elements of the SavingsPlansDataType enum.
SortOrder_Values returns all elements of the SortOrder enum.
SubscriberStatus_Values returns all elements of the SubscriberStatus enum.
SubscriberType_Values returns all elements of the SubscriberType enum.
SupportedSavingsPlansType_Values returns all elements of the SupportedSavingsPlansType enum.
TermInYears_Values returns all elements of the TermInYears enum.

# Constants

AccountScopeLinked is a AccountScope enum value.
AccountScopePayer is a AccountScope enum value.
AnomalyFeedbackTypeNo is a AnomalyFeedbackType enum value.
AnomalyFeedbackTypePlannedActivity is a AnomalyFeedbackType enum value.
AnomalyFeedbackTypeYes is a AnomalyFeedbackType enum value.
AnomalySubscriptionFrequencyDaily is a AnomalySubscriptionFrequency enum value.
AnomalySubscriptionFrequencyImmediate is a AnomalySubscriptionFrequency enum value.
AnomalySubscriptionFrequencyWeekly is a AnomalySubscriptionFrequency enum value.
ApproximationDimensionResource is a ApproximationDimension enum value.
ApproximationDimensionService is a ApproximationDimension enum value.
ContextCostAndUsage is a Context enum value.
ContextReservations is a Context enum value.
ContextSavingsPlans is a Context enum value.
CostAllocationTagBackfillStatusFailed is a CostAllocationTagBackfillStatus enum value.
CostAllocationTagBackfillStatusProcessing is a CostAllocationTagBackfillStatus enum value.
CostAllocationTagBackfillStatusSucceeded is a CostAllocationTagBackfillStatus enum value.
CostAllocationTagStatusActive is a CostAllocationTagStatus enum value.
CostAllocationTagStatusInactive is a CostAllocationTagStatus enum value.
CostAllocationTagTypeAwsgenerated is a CostAllocationTagType enum value.
CostAllocationTagTypeUserDefined is a CostAllocationTagType enum value.
CostCategoryInheritedValueDimensionNameLinkedAccountName is a CostCategoryInheritedValueDimensionName enum value.
CostCategoryInheritedValueDimensionNameTag is a CostCategoryInheritedValueDimensionName enum value.
CostCategoryRuleTypeInheritedValue is a CostCategoryRuleType enum value.
CostCategoryRuleTypeRegular is a CostCategoryRuleType enum value.
CostCategoryRuleVersionCostCategoryExpressionV1 is a CostCategoryRuleVersion enum value.
CostCategorySplitChargeMethodEven is a CostCategorySplitChargeMethod enum value.
CostCategorySplitChargeMethodFixed is a CostCategorySplitChargeMethod enum value.
CostCategorySplitChargeMethodProportional is a CostCategorySplitChargeMethod enum value.
CostCategorySplitChargeRuleParameterTypeAllocationPercentages is a CostCategorySplitChargeRuleParameterType enum value.
CostCategoryStatusApplied is a CostCategoryStatus enum value.
CostCategoryStatusComponentCostExplorer is a CostCategoryStatusComponent enum value.
CostCategoryStatusProcessing is a CostCategoryStatus enum value.
DimensionAgreementEndDateTimeAfter is a Dimension enum value.
DimensionAgreementEndDateTimeBefore is a Dimension enum value.
DimensionAnomalyTotalImpactAbsolute is a Dimension enum value.
DimensionAnomalyTotalImpactPercentage is a Dimension enum value.
DimensionAz is a Dimension enum value.
DimensionBillingEntity is a Dimension enum value.
DimensionCacheEngine is a Dimension enum value.
DimensionDatabaseEngine is a Dimension enum value.
DimensionDeploymentOption is a Dimension enum value.
DimensionInstanceType is a Dimension enum value.
DimensionInstanceTypeFamily is a Dimension enum value.
DimensionInvoicingEntity is a Dimension enum value.
DimensionLegalEntityName is a Dimension enum value.
DimensionLinkedAccount is a Dimension enum value.
DimensionLinkedAccountName is a Dimension enum value.
DimensionOperatingSystem is a Dimension enum value.
DimensionOperation is a Dimension enum value.
DimensionPaymentOption is a Dimension enum value.
DimensionPlatform is a Dimension enum value.
DimensionPurchaseType is a Dimension enum value.
DimensionRecordType is a Dimension enum value.
DimensionRegion is a Dimension enum value.
DimensionReservationId is a Dimension enum value.
DimensionResourceId is a Dimension enum value.
DimensionRightsizingType is a Dimension enum value.
DimensionSavingsPlanArn is a Dimension enum value.
DimensionSavingsPlansType is a Dimension enum value.
DimensionScope is a Dimension enum value.
DimensionService is a Dimension enum value.
DimensionServiceCode is a Dimension enum value.
DimensionSubscriptionId is a Dimension enum value.
DimensionTenancy is a Dimension enum value.
DimensionUsageType is a Dimension enum value.
DimensionUsageTypeGroup is a Dimension enum value.
ID to lookup a service endpoint with.
ErrCodeBackfillLimitExceededException for service response error code "BackfillLimitExceededException".
ErrCodeBillExpirationException for service response error code "BillExpirationException".
ErrCodeDataUnavailableException for service response error code "DataUnavailableException".
ErrCodeGenerationExistsException for service response error code "GenerationExistsException".
ErrCodeInvalidNextTokenException for service response error code "InvalidNextTokenException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodeRequestChangedException for service response error code "RequestChangedException".
ErrCodeResourceNotFoundException for service response error code "ResourceNotFoundException".
ErrCodeServiceQuotaExceededException for service response error code "ServiceQuotaExceededException".
ErrCodeTooManyTagsException for service response error code "TooManyTagsException".
ErrCodeUnknownMonitorException for service response error code "UnknownMonitorException".
ErrCodeUnknownSubscriptionException for service response error code "UnknownSubscriptionException".
ErrCodeUnresolvableUsageUnitException for service response error code "UnresolvableUsageUnitException".
FindingReasonCodeCpuOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeCpuUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeDiskIopsOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeDiskIopsUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeDiskThroughputOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeDiskThroughputUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeEbsIopsOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeEbsIopsUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeEbsThroughputOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeEbsThroughputUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeMemoryOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeMemoryUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeNetworkBandwidthOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeNetworkBandwidthUnderProvisioned is a FindingReasonCode enum value.
FindingReasonCodeNetworkPpsOverProvisioned is a FindingReasonCode enum value.
FindingReasonCodeNetworkPpsUnderProvisioned is a FindingReasonCode enum value.
GenerationStatusFailed is a GenerationStatus enum value.
GenerationStatusProcessing is a GenerationStatus enum value.
GenerationStatusSucceeded is a GenerationStatus enum value.
GranularityDaily is a Granularity enum value.
GranularityHourly is a Granularity enum value.
GranularityMonthly is a Granularity enum value.
GroupDefinitionTypeCostCategory is a GroupDefinitionType enum value.
GroupDefinitionTypeDimension is a GroupDefinitionType enum value.
GroupDefinitionTypeTag is a GroupDefinitionType enum value.
LookbackPeriodInDaysSevenDays is a LookbackPeriodInDays enum value.
LookbackPeriodInDaysSixtyDays is a LookbackPeriodInDays enum value.
LookbackPeriodInDaysThirtyDays is a LookbackPeriodInDays enum value.
MatchOptionAbsent is a MatchOption enum value.
MatchOptionCaseInsensitive is a MatchOption enum value.
MatchOptionCaseSensitive is a MatchOption enum value.
MatchOptionContains is a MatchOption enum value.
MatchOptionEndsWith is a MatchOption enum value.
MatchOptionEquals is a MatchOption enum value.
MatchOptionGreaterThanOrEqual is a MatchOption enum value.
MatchOptionStartsWith is a MatchOption enum value.
MetricAmortizedCost is a Metric enum value.
MetricBlendedCost is a Metric enum value.
MetricNetAmortizedCost is a Metric enum value.
MetricNetUnblendedCost is a Metric enum value.
MetricNormalizedUsageAmount is a Metric enum value.
MetricUnblendedCost is a Metric enum value.
MetricUsageQuantity is a Metric enum value.
MonitorDimensionService is a MonitorDimension enum value.
MonitorTypeCustom is a MonitorType enum value.
MonitorTypeDimensional is a MonitorType enum value.
NumericOperatorBetween is a NumericOperator enum value.
NumericOperatorEqual is a NumericOperator enum value.
NumericOperatorGreaterThan is a NumericOperator enum value.
NumericOperatorGreaterThanOrEqual is a NumericOperator enum value.
NumericOperatorLessThan is a NumericOperator enum value.
NumericOperatorLessThanOrEqual is a NumericOperator enum value.
OfferingClassConvertible is a OfferingClass enum value.
OfferingClassStandard is a OfferingClass enum value.
PaymentOptionAllUpfront is a PaymentOption enum value.
PaymentOptionHeavyUtilization is a PaymentOption enum value.
PaymentOptionLightUtilization is a PaymentOption enum value.
PaymentOptionMediumUtilization is a PaymentOption enum value.
PaymentOptionNoUpfront is a PaymentOption enum value.
PaymentOptionPartialUpfront is a PaymentOption enum value.
PlatformDifferenceHypervisor is a PlatformDifference enum value.
PlatformDifferenceInstanceStoreAvailability is a PlatformDifference enum value.
PlatformDifferenceNetworkInterface is a PlatformDifference enum value.
PlatformDifferenceStorageInterface is a PlatformDifference enum value.
PlatformDifferenceVirtualizationType is a PlatformDifference enum value.
RecommendationTargetCrossInstanceFamily is a RecommendationTarget enum value.
RecommendationTargetSameInstanceFamily is a RecommendationTarget enum value.
RightsizingTypeModify is a RightsizingType enum value.
RightsizingTypeTerminate is a RightsizingType enum value.
SavingsPlansDataTypeAmortizedCommitment is a SavingsPlansDataType enum value.
SavingsPlansDataTypeAttributes is a SavingsPlansDataType enum value.
SavingsPlansDataTypeSavings is a SavingsPlansDataType enum value.
SavingsPlansDataTypeUtilization is a SavingsPlansDataType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
SortOrderAscending is a SortOrder enum value.
SortOrderDescending is a SortOrder enum value.
SubscriberStatusConfirmed is a SubscriberStatus enum value.
SubscriberStatusDeclined is a SubscriberStatus enum value.
SubscriberTypeEmail is a SubscriberType enum value.
SubscriberTypeSns is a SubscriberType enum value.
SupportedSavingsPlansTypeComputeSp is a SupportedSavingsPlansType enum value.
SupportedSavingsPlansTypeEc2InstanceSp is a SupportedSavingsPlansType enum value.
SupportedSavingsPlansTypeSagemakerSp is a SupportedSavingsPlansType enum value.
TermInYearsOneYear is a TermInYears enum value.
TermInYearsThreeYears is a TermInYears enum value.

# Structs

An unusual cost pattern.
The time period for an anomaly.
This object continuously inspects your account's cost data for anomalies.
Quantifies the anomaly.
An AnomalySubscription resource (also referred to as an alert subscription) sends notifications about specific anomalies that meet an alerting criteria defined by you.
A request to backfill is already in progress.
The requested report expired.
The cost allocation tag structure.
The cost allocation tag backfill request structure that contains metadata and details of a certain backfill.
The cost allocation tag status.
The structure of Cost Categories.
When you create or update a cost category, you can define the CostCategoryRule rule type as INHERITED_VALUE.
The list of processing statuses for Cost Management products for a specific cost category.
A reference to a Cost Category containing only enough information to identify the Cost Category.
Rules are processed in order.
Use the split charge rule to split the cost of one Cost Category value across several other target values.
The parameters for a split charge method.
The Cost Categories values used for filtering the costs.
CostExplorer provides the API operation methods for making requests to AWS Cost Explorer Service.
The amount of instance usage that a reservation covered.
Reservation coverage for a specified period, in hours.
How much it costs to run an instance.
How long a running instance either used a reservation or was On-Demand.
The amount of instance usage, in normalized units.
Context about the current instance.
The requested data is unavailable.
The time period of the request.
The metadata that you can use to filter and group your results.
The metadata of a specific type that you can use to filter and group your results.
The field that contains a list of disk (local storage) metrics that are associated with the current instance.
The EBS field that contains a list of EBS metrics that are associated with the current instance.
Details about the Amazon EC2 reservations that Amazon Web Services recommends that you purchase.
Details on the Amazon EC2 Resource.
Utilization metrics for the instance.
The Amazon EC2 hardware specifications that you want Amazon Web Services to provide recommendations for.
Details about the Amazon ElastiCache reservations that Amazon Web Services recommends that you purchase.
Details about the Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.
Use Expression to filter in various Cost Explorer APIs.
The forecast that's created for your query.
A request to generate a recommendation is already in progress.
The summary of the Savings Plans recommendation generation.
You can use the following request parameters to query for how much of your instance usage a reservation covered.
One level of grouped data in the results.
Represents a group when you specify a group by criteria or in the response to a query with a specific grouping.
The dollar value of the anomaly.
Details about the reservations that Amazon Web Services recommends that you purchase.
The pagination token is invalid.
You made too many calls in a short period of time.
Details about the MemoryDB reservations that Amazon Web Services recommends that you purchase.
The aggregated value for a metric.
Details for the modification recommendation.
The network field that contains a list of network metrics that are associated with the current instance.
Details about the Amazon RDS reservations that Amazon Web Services recommends that you purchase.
The details and metrics for the given recommendation.
Contains the hourly metrics for the given recommendation over the lookback period.
Details about the Amazon Redshift reservations that Amazon Web Services recommends that you purchase.
Your request parameters changed between pages.
The aggregated numbers for your reservation usage.
A group of reservations that share a set of attributes.
A specific reservation that Amazon Web Services recommends for purchase.
Details about your recommended reservation purchase.
Information about a recommendation, such as the timestamp for when Amazon Web Services made a specific recommendation.
A summary about this recommendation, such as the currency code, the amount that Amazon Web Services estimates that you could save, and the total amount of reservation to purchase.
A group of reservations that share a set of attributes.
Details for the resource.
The specified ARN in the request doesn't exist.
The tag structure that contains a tag key and value.
Resource utilization of current resource.
The result that's associated with a time period.
Recommendations to rightsize resources.
You can use RightsizingRecommendationConfiguration to customize recommendations across two attributes.
Metadata for a recommendation set.
The summary of rightsizing recommendations.
The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed.
The amortized amount of Savings Plans purchased in a specific account during a specific time interval.
The amount of Savings Plans eligible usage that's covered by Savings Plans.
Specific coverage percentage, On-Demand costs, and spend covered by Savings Plans, and total Savings Plans costs for an account.
The attribute details on a specific Savings Plan.
Contains your request parameters, Savings Plan Recommendations Summary, and Details.
Details for your recommended Savings Plans.
Metadata about your Savings Plans Purchase Recommendations.
Summary metrics for your Savings Plans Purchase Recommendations.
The amount of savings that you're accumulating, against the public On-Demand rate of the usage accrued in an account.
The measurement of how well you're using your existing Savings Plans.
The aggregated utilization metrics for your Savings Plans usage.
The amount of Savings Plans utilization (in hours).
A single daily or monthly Savings Plans utilization rate and details for your account.
You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.
Hardware specifications for the service that you want recommendations for.
The details for how to sort the data.
The recipient of AnomalySubscription notifications.
The values that are available for a tag.
Details on recommended instance.
Details on termination recommendation.
Can occur if you specify a number of tags for a resource greater than the maximum 50 user tags per resource.
Filters cost anomalies based on the total impact.
The cost anomaly monitor does not exist for the account.
The cost anomaly subscription does not exist for the account.
Cost Explorer was unable to identify the usage unit.
Gives a detailed description of the result of an action.
The amount of utilization, in hours.