Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) CreateAnomalyMonitor(ctx context.Context, params *costexplorer.CreateAnomalyMonitorInput, ...) (*costexplorer.CreateAnomalyMonitorOutput, error)
- func (_m *IClient) CreateAnomalySubscription(ctx context.Context, params *costexplorer.CreateAnomalySubscriptionInput, ...) (*costexplorer.CreateAnomalySubscriptionOutput, error)
- func (_m *IClient) CreateCostCategoryDefinition(ctx context.Context, params *costexplorer.CreateCostCategoryDefinitionInput, ...) (*costexplorer.CreateCostCategoryDefinitionOutput, error)
- func (_m *IClient) DeleteAnomalyMonitor(ctx context.Context, params *costexplorer.DeleteAnomalyMonitorInput, ...) (*costexplorer.DeleteAnomalyMonitorOutput, error)
- func (_m *IClient) DeleteAnomalySubscription(ctx context.Context, params *costexplorer.DeleteAnomalySubscriptionInput, ...) (*costexplorer.DeleteAnomalySubscriptionOutput, error)
- func (_m *IClient) DeleteCostCategoryDefinition(ctx context.Context, params *costexplorer.DeleteCostCategoryDefinitionInput, ...) (*costexplorer.DeleteCostCategoryDefinitionOutput, error)
- func (_m *IClient) DescribeCostCategoryDefinition(ctx context.Context, params *costexplorer.DescribeCostCategoryDefinitionInput, ...) (*costexplorer.DescribeCostCategoryDefinitionOutput, error)
- func (_m *IClient) GetAnomalies(ctx context.Context, params *costexplorer.GetAnomaliesInput, ...) (*costexplorer.GetAnomaliesOutput, error)
- func (_m *IClient) GetAnomalyMonitors(ctx context.Context, params *costexplorer.GetAnomalyMonitorsInput, ...) (*costexplorer.GetAnomalyMonitorsOutput, error)
- func (_m *IClient) GetAnomalySubscriptions(ctx context.Context, params *costexplorer.GetAnomalySubscriptionsInput, ...) (*costexplorer.GetAnomalySubscriptionsOutput, error)
- func (_m *IClient) GetApproximateUsageRecords(ctx context.Context, params *costexplorer.GetApproximateUsageRecordsInput, ...) (*costexplorer.GetApproximateUsageRecordsOutput, error)
- func (_m *IClient) GetCostAndUsage(ctx context.Context, params *costexplorer.GetCostAndUsageInput, ...) (*costexplorer.GetCostAndUsageOutput, error)
- func (_m *IClient) GetCostAndUsageWithResources(ctx context.Context, params *costexplorer.GetCostAndUsageWithResourcesInput, ...) (*costexplorer.GetCostAndUsageWithResourcesOutput, error)
- func (_m *IClient) GetCostCategories(ctx context.Context, params *costexplorer.GetCostCategoriesInput, ...) (*costexplorer.GetCostCategoriesOutput, error)
- func (_m *IClient) GetCostForecast(ctx context.Context, params *costexplorer.GetCostForecastInput, ...) (*costexplorer.GetCostForecastOutput, error)
- func (_m *IClient) GetDimensionValues(ctx context.Context, params *costexplorer.GetDimensionValuesInput, ...) (*costexplorer.GetDimensionValuesOutput, error)
- func (_m *IClient) GetReservationCoverage(ctx context.Context, params *costexplorer.GetReservationCoverageInput, ...) (*costexplorer.GetReservationCoverageOutput, error)
- func (_m *IClient) GetReservationPurchaseRecommendation(ctx context.Context, ...) (*costexplorer.GetReservationPurchaseRecommendationOutput, error)
- func (_m *IClient) GetReservationUtilization(ctx context.Context, params *costexplorer.GetReservationUtilizationInput, ...) (*costexplorer.GetReservationUtilizationOutput, error)
- func (_m *IClient) GetRightsizingRecommendation(ctx context.Context, params *costexplorer.GetRightsizingRecommendationInput, ...) (*costexplorer.GetRightsizingRecommendationOutput, error)
- func (_m *IClient) GetSavingsPlanPurchaseRecommendationDetails(ctx context.Context, ...) (*costexplorer.GetSavingsPlanPurchaseRecommendationDetailsOutput, error)
- func (_m *IClient) GetSavingsPlansCoverage(ctx context.Context, params *costexplorer.GetSavingsPlansCoverageInput, ...) (*costexplorer.GetSavingsPlansCoverageOutput, error)
- func (_m *IClient) GetSavingsPlansPurchaseRecommendation(ctx context.Context, ...) (*costexplorer.GetSavingsPlansPurchaseRecommendationOutput, error)
- func (_m *IClient) GetSavingsPlansUtilization(ctx context.Context, params *costexplorer.GetSavingsPlansUtilizationInput, ...) (*costexplorer.GetSavingsPlansUtilizationOutput, error)
- func (_m *IClient) GetSavingsPlansUtilizationDetails(ctx context.Context, ...) (*costexplorer.GetSavingsPlansUtilizationDetailsOutput, error)
- func (_m *IClient) GetTags(ctx context.Context, params *costexplorer.GetTagsInput, ...) (*costexplorer.GetTagsOutput, error)
- func (_m *IClient) GetUsageForecast(ctx context.Context, params *costexplorer.GetUsageForecastInput, ...) (*costexplorer.GetUsageForecastOutput, error)
- func (_m *IClient) ListCostAllocationTagBackfillHistory(ctx context.Context, ...) (*costexplorer.ListCostAllocationTagBackfillHistoryOutput, error)
- func (_m *IClient) ListCostAllocationTags(ctx context.Context, params *costexplorer.ListCostAllocationTagsInput, ...) (*costexplorer.ListCostAllocationTagsOutput, error)
- func (_m *IClient) ListCostCategoryDefinitions(ctx context.Context, params *costexplorer.ListCostCategoryDefinitionsInput, ...) (*costexplorer.ListCostCategoryDefinitionsOutput, error)
- func (_m *IClient) ListSavingsPlansPurchaseRecommendationGeneration(ctx context.Context, ...) (*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *costexplorer.ListTagsForResourceInput, ...) (*costexplorer.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() costexplorer.Options
- func (_m *IClient) ProvideAnomalyFeedback(ctx context.Context, params *costexplorer.ProvideAnomalyFeedbackInput, ...) (*costexplorer.ProvideAnomalyFeedbackOutput, error)
- func (_m *IClient) StartCostAllocationTagBackfill(ctx context.Context, params *costexplorer.StartCostAllocationTagBackfillInput, ...) (*costexplorer.StartCostAllocationTagBackfillOutput, error)
- func (_m *IClient) StartSavingsPlansPurchaseRecommendationGeneration(ctx context.Context, ...) (*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *costexplorer.TagResourceInput, ...) (*costexplorer.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *costexplorer.UntagResourceInput, ...) (*costexplorer.UntagResourceOutput, error)
- func (_m *IClient) UpdateAnomalyMonitor(ctx context.Context, params *costexplorer.UpdateAnomalyMonitorInput, ...) (*costexplorer.UpdateAnomalyMonitorOutput, error)
- func (_m *IClient) UpdateAnomalySubscription(ctx context.Context, params *costexplorer.UpdateAnomalySubscriptionInput, ...) (*costexplorer.UpdateAnomalySubscriptionOutput, error)
- func (_m *IClient) UpdateCostAllocationTagsStatus(ctx context.Context, params *costexplorer.UpdateCostAllocationTagsStatusInput, ...) (*costexplorer.UpdateCostAllocationTagsStatusOutput, error)
- func (_m *IClient) UpdateCostCategoryDefinition(ctx context.Context, params *costexplorer.UpdateCostCategoryDefinitionInput, ...) (*costexplorer.UpdateCostCategoryDefinitionOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IClient) CreateAnomalyMonitor ¶
func (_m *IClient) CreateAnomalyMonitor(ctx context.Context, params *costexplorer.CreateAnomalyMonitorInput, optFns ...func(*costexplorer.Options)) (*costexplorer.CreateAnomalyMonitorOutput, error)
CreateAnomalyMonitor provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateAnomalySubscription ¶
func (_m *IClient) CreateAnomalySubscription(ctx context.Context, params *costexplorer.CreateAnomalySubscriptionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.CreateAnomalySubscriptionOutput, error)
CreateAnomalySubscription provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateCostCategoryDefinition ¶
func (_m *IClient) CreateCostCategoryDefinition(ctx context.Context, params *costexplorer.CreateCostCategoryDefinitionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.CreateCostCategoryDefinitionOutput, error)
CreateCostCategoryDefinition provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteAnomalyMonitor ¶
func (_m *IClient) DeleteAnomalyMonitor(ctx context.Context, params *costexplorer.DeleteAnomalyMonitorInput, optFns ...func(*costexplorer.Options)) (*costexplorer.DeleteAnomalyMonitorOutput, error)
DeleteAnomalyMonitor provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteAnomalySubscription ¶
func (_m *IClient) DeleteAnomalySubscription(ctx context.Context, params *costexplorer.DeleteAnomalySubscriptionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.DeleteAnomalySubscriptionOutput, error)
DeleteAnomalySubscription provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteCostCategoryDefinition ¶
func (_m *IClient) DeleteCostCategoryDefinition(ctx context.Context, params *costexplorer.DeleteCostCategoryDefinitionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.DeleteCostCategoryDefinitionOutput, error)
DeleteCostCategoryDefinition provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeCostCategoryDefinition ¶
func (_m *IClient) DescribeCostCategoryDefinition(ctx context.Context, params *costexplorer.DescribeCostCategoryDefinitionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.DescribeCostCategoryDefinitionOutput, error)
DescribeCostCategoryDefinition provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAnomalies ¶
func (_m *IClient) GetAnomalies(ctx context.Context, params *costexplorer.GetAnomaliesInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetAnomaliesOutput, error)
GetAnomalies provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAnomalyMonitors ¶
func (_m *IClient) GetAnomalyMonitors(ctx context.Context, params *costexplorer.GetAnomalyMonitorsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetAnomalyMonitorsOutput, error)
GetAnomalyMonitors provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAnomalySubscriptions ¶
func (_m *IClient) GetAnomalySubscriptions(ctx context.Context, params *costexplorer.GetAnomalySubscriptionsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetAnomalySubscriptionsOutput, error)
GetAnomalySubscriptions provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetApproximateUsageRecords ¶
func (_m *IClient) GetApproximateUsageRecords(ctx context.Context, params *costexplorer.GetApproximateUsageRecordsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetApproximateUsageRecordsOutput, error)
GetApproximateUsageRecords provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetCostAndUsage ¶
func (_m *IClient) GetCostAndUsage(ctx context.Context, params *costexplorer.GetCostAndUsageInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetCostAndUsageOutput, error)
GetCostAndUsage provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetCostAndUsageWithResources ¶
func (_m *IClient) GetCostAndUsageWithResources(ctx context.Context, params *costexplorer.GetCostAndUsageWithResourcesInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetCostAndUsageWithResourcesOutput, error)
GetCostAndUsageWithResources provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetCostCategories ¶
func (_m *IClient) GetCostCategories(ctx context.Context, params *costexplorer.GetCostCategoriesInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetCostCategoriesOutput, error)
GetCostCategories provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetCostForecast ¶
func (_m *IClient) GetCostForecast(ctx context.Context, params *costexplorer.GetCostForecastInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetCostForecastOutput, error)
GetCostForecast provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetDimensionValues ¶
func (_m *IClient) GetDimensionValues(ctx context.Context, params *costexplorer.GetDimensionValuesInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetDimensionValuesOutput, error)
GetDimensionValues provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetReservationCoverage ¶
func (_m *IClient) GetReservationCoverage(ctx context.Context, params *costexplorer.GetReservationCoverageInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetReservationCoverageOutput, error)
GetReservationCoverage provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetReservationPurchaseRecommendation ¶
func (_m *IClient) GetReservationPurchaseRecommendation(ctx context.Context, params *costexplorer.GetReservationPurchaseRecommendationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetReservationPurchaseRecommendationOutput, error)
GetReservationPurchaseRecommendation provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetReservationUtilization ¶
func (_m *IClient) GetReservationUtilization(ctx context.Context, params *costexplorer.GetReservationUtilizationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetReservationUtilizationOutput, error)
GetReservationUtilization provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetRightsizingRecommendation ¶
func (_m *IClient) GetRightsizingRecommendation(ctx context.Context, params *costexplorer.GetRightsizingRecommendationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetRightsizingRecommendationOutput, error)
GetRightsizingRecommendation provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSavingsPlanPurchaseRecommendationDetails ¶
func (_m *IClient) GetSavingsPlanPurchaseRecommendationDetails(ctx context.Context, params *costexplorer.GetSavingsPlanPurchaseRecommendationDetailsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetSavingsPlanPurchaseRecommendationDetailsOutput, error)
GetSavingsPlanPurchaseRecommendationDetails provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSavingsPlansCoverage ¶
func (_m *IClient) GetSavingsPlansCoverage(ctx context.Context, params *costexplorer.GetSavingsPlansCoverageInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetSavingsPlansCoverageOutput, error)
GetSavingsPlansCoverage provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSavingsPlansPurchaseRecommendation ¶
func (_m *IClient) GetSavingsPlansPurchaseRecommendation(ctx context.Context, params *costexplorer.GetSavingsPlansPurchaseRecommendationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetSavingsPlansPurchaseRecommendationOutput, error)
GetSavingsPlansPurchaseRecommendation provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSavingsPlansUtilization ¶
func (_m *IClient) GetSavingsPlansUtilization(ctx context.Context, params *costexplorer.GetSavingsPlansUtilizationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetSavingsPlansUtilizationOutput, error)
GetSavingsPlansUtilization provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSavingsPlansUtilizationDetails ¶
func (_m *IClient) GetSavingsPlansUtilizationDetails(ctx context.Context, params *costexplorer.GetSavingsPlansUtilizationDetailsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetSavingsPlansUtilizationDetailsOutput, error)
GetSavingsPlansUtilizationDetails provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetTags ¶
func (_m *IClient) GetTags(ctx context.Context, params *costexplorer.GetTagsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetTagsOutput, error)
GetTags provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetUsageForecast ¶
func (_m *IClient) GetUsageForecast(ctx context.Context, params *costexplorer.GetUsageForecastInput, optFns ...func(*costexplorer.Options)) (*costexplorer.GetUsageForecastOutput, error)
GetUsageForecast provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListCostAllocationTagBackfillHistory ¶
func (_m *IClient) ListCostAllocationTagBackfillHistory(ctx context.Context, params *costexplorer.ListCostAllocationTagBackfillHistoryInput, optFns ...func(*costexplorer.Options)) (*costexplorer.ListCostAllocationTagBackfillHistoryOutput, error)
ListCostAllocationTagBackfillHistory provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListCostAllocationTags ¶
func (_m *IClient) ListCostAllocationTags(ctx context.Context, params *costexplorer.ListCostAllocationTagsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.ListCostAllocationTagsOutput, error)
ListCostAllocationTags provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListCostCategoryDefinitions ¶
func (_m *IClient) ListCostCategoryDefinitions(ctx context.Context, params *costexplorer.ListCostCategoryDefinitionsInput, optFns ...func(*costexplorer.Options)) (*costexplorer.ListCostCategoryDefinitionsOutput, error)
ListCostCategoryDefinitions provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListSavingsPlansPurchaseRecommendationGeneration ¶
func (_m *IClient) ListSavingsPlansPurchaseRecommendationGeneration(ctx context.Context, params *costexplorer.ListSavingsPlansPurchaseRecommendationGenerationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.ListSavingsPlansPurchaseRecommendationGenerationOutput, error)
ListSavingsPlansPurchaseRecommendationGeneration provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *costexplorer.ListTagsForResourceInput, optFns ...func(*costexplorer.Options)) (*costexplorer.ListTagsForResourceOutput, error)
ListTagsForResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) Options ¶
func (_m *IClient) Options() costexplorer.Options
Options provides a mock function with given fields:
func (*IClient) ProvideAnomalyFeedback ¶
func (_m *IClient) ProvideAnomalyFeedback(ctx context.Context, params *costexplorer.ProvideAnomalyFeedbackInput, optFns ...func(*costexplorer.Options)) (*costexplorer.ProvideAnomalyFeedbackOutput, error)
ProvideAnomalyFeedback provides a mock function with given fields: ctx, params, optFns
func (*IClient) StartCostAllocationTagBackfill ¶
func (_m *IClient) StartCostAllocationTagBackfill(ctx context.Context, params *costexplorer.StartCostAllocationTagBackfillInput, optFns ...func(*costexplorer.Options)) (*costexplorer.StartCostAllocationTagBackfillOutput, error)
StartCostAllocationTagBackfill provides a mock function with given fields: ctx, params, optFns
func (*IClient) StartSavingsPlansPurchaseRecommendationGeneration ¶
func (_m *IClient) StartSavingsPlansPurchaseRecommendationGeneration(ctx context.Context, params *costexplorer.StartSavingsPlansPurchaseRecommendationGenerationInput, optFns ...func(*costexplorer.Options)) (*costexplorer.StartSavingsPlansPurchaseRecommendationGenerationOutput, error)
StartSavingsPlansPurchaseRecommendationGeneration provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *costexplorer.TagResourceInput, optFns ...func(*costexplorer.Options)) (*costexplorer.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *costexplorer.UntagResourceInput, optFns ...func(*costexplorer.Options)) (*costexplorer.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateAnomalyMonitor ¶
func (_m *IClient) UpdateAnomalyMonitor(ctx context.Context, params *costexplorer.UpdateAnomalyMonitorInput, optFns ...func(*costexplorer.Options)) (*costexplorer.UpdateAnomalyMonitorOutput, error)
UpdateAnomalyMonitor provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateAnomalySubscription ¶
func (_m *IClient) UpdateAnomalySubscription(ctx context.Context, params *costexplorer.UpdateAnomalySubscriptionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.UpdateAnomalySubscriptionOutput, error)
UpdateAnomalySubscription provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateCostAllocationTagsStatus ¶
func (_m *IClient) UpdateCostAllocationTagsStatus(ctx context.Context, params *costexplorer.UpdateCostAllocationTagsStatusInput, optFns ...func(*costexplorer.Options)) (*costexplorer.UpdateCostAllocationTagsStatusOutput, error)
UpdateCostAllocationTagsStatus provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateCostCategoryDefinition ¶
func (_m *IClient) UpdateCostCategoryDefinition(ctx context.Context, params *costexplorer.UpdateCostCategoryDefinitionInput, optFns ...func(*costexplorer.Options)) (*costexplorer.UpdateCostCategoryDefinitionOutput, error)
UpdateCostCategoryDefinition provides a mock function with given fields: ctx, params, optFns