package costexplorer
import "github.com/aws/aws-sdk-go-v2/service/costexplorer"
Package costexplorer provides the API client, operations, and parameter types for AWS Cost Explorer Service.
The Cost Explorer API enables you to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data, such as the number of daily write operations for Amazon DynamoDB database tables in your production environment. Service Endpoint The Cost Explorer API provides the following endpoint:
* https://ce.us-east-1.amazonaws.com
For information about costs associated with the Cost Explorer API, see AWS Cost Management Pricing (http://aws.amazon.com/aws-cost-management/pricing/).
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) CreateAnomalyMonitor(ctx context.Context, params *CreateAnomalyMonitorInput, optFns ...func(*Options)) (*CreateAnomalyMonitorOutput, error)
- func (c *Client) CreateAnomalySubscription(ctx context.Context, params *CreateAnomalySubscriptionInput, optFns ...func(*Options)) (*CreateAnomalySubscriptionOutput, error)
- func (c *Client) CreateCostCategoryDefinition(ctx context.Context, params *CreateCostCategoryDefinitionInput, optFns ...func(*Options)) (*CreateCostCategoryDefinitionOutput, error)
- func (c *Client) DeleteAnomalyMonitor(ctx context.Context, params *DeleteAnomalyMonitorInput, optFns ...func(*Options)) (*DeleteAnomalyMonitorOutput, error)
- func (c *Client) DeleteAnomalySubscription(ctx context.Context, params *DeleteAnomalySubscriptionInput, optFns ...func(*Options)) (*DeleteAnomalySubscriptionOutput, error)
- func (c *Client) DeleteCostCategoryDefinition(ctx context.Context, params *DeleteCostCategoryDefinitionInput, optFns ...func(*Options)) (*DeleteCostCategoryDefinitionOutput, error)
- func (c *Client) DescribeCostCategoryDefinition(ctx context.Context, params *DescribeCostCategoryDefinitionInput, optFns ...func(*Options)) (*DescribeCostCategoryDefinitionOutput, error)
- func (c *Client) GetAnomalies(ctx context.Context, params *GetAnomaliesInput, optFns ...func(*Options)) (*GetAnomaliesOutput, error)
- func (c *Client) GetAnomalyMonitors(ctx context.Context, params *GetAnomalyMonitorsInput, optFns ...func(*Options)) (*GetAnomalyMonitorsOutput, error)
- func (c *Client) GetAnomalySubscriptions(ctx context.Context, params *GetAnomalySubscriptionsInput, optFns ...func(*Options)) (*GetAnomalySubscriptionsOutput, error)
- func (c *Client) GetCostAndUsage(ctx context.Context, params *GetCostAndUsageInput, optFns ...func(*Options)) (*GetCostAndUsageOutput, error)
- func (c *Client) GetCostAndUsageWithResources(ctx context.Context, params *GetCostAndUsageWithResourcesInput, optFns ...func(*Options)) (*GetCostAndUsageWithResourcesOutput, error)
- func (c *Client) GetCostCategories(ctx context.Context, params *GetCostCategoriesInput, optFns ...func(*Options)) (*GetCostCategoriesOutput, error)
- func (c *Client) GetCostForecast(ctx context.Context, params *GetCostForecastInput, optFns ...func(*Options)) (*GetCostForecastOutput, error)
- func (c *Client) GetDimensionValues(ctx context.Context, params *GetDimensionValuesInput, optFns ...func(*Options)) (*GetDimensionValuesOutput, error)
- func (c *Client) GetReservationCoverage(ctx context.Context, params *GetReservationCoverageInput, optFns ...func(*Options)) (*GetReservationCoverageOutput, error)
- func (c *Client) GetReservationPurchaseRecommendation(ctx context.Context, params *GetReservationPurchaseRecommendationInput, optFns ...func(*Options)) (*GetReservationPurchaseRecommendationOutput, error)
- func (c *Client) GetReservationUtilization(ctx context.Context, params *GetReservationUtilizationInput, optFns ...func(*Options)) (*GetReservationUtilizationOutput, error)
- func (c *Client) GetRightsizingRecommendation(ctx context.Context, params *GetRightsizingRecommendationInput, optFns ...func(*Options)) (*GetRightsizingRecommendationOutput, error)
- func (c *Client) GetSavingsPlansCoverage(ctx context.Context, params *GetSavingsPlansCoverageInput, optFns ...func(*Options)) (*GetSavingsPlansCoverageOutput, error)
- func (c *Client) GetSavingsPlansPurchaseRecommendation(ctx context.Context, params *GetSavingsPlansPurchaseRecommendationInput, optFns ...func(*Options)) (*GetSavingsPlansPurchaseRecommendationOutput, error)
- func (c *Client) GetSavingsPlansUtilization(ctx context.Context, params *GetSavingsPlansUtilizationInput, optFns ...func(*Options)) (*GetSavingsPlansUtilizationOutput, error)
- func (c *Client) GetSavingsPlansUtilizationDetails(ctx context.Context, params *GetSavingsPlansUtilizationDetailsInput, optFns ...func(*Options)) (*GetSavingsPlansUtilizationDetailsOutput, error)
- func (c *Client) GetTags(ctx context.Context, params *GetTagsInput, optFns ...func(*Options)) (*GetTagsOutput, error)
- func (c *Client) GetUsageForecast(ctx context.Context, params *GetUsageForecastInput, optFns ...func(*Options)) (*GetUsageForecastOutput, error)
- func (c *Client) ListCostCategoryDefinitions(ctx context.Context, params *ListCostCategoryDefinitionsInput, optFns ...func(*Options)) (*ListCostCategoryDefinitionsOutput, error)
- func (c *Client) ProvideAnomalyFeedback(ctx context.Context, params *ProvideAnomalyFeedbackInput, optFns ...func(*Options)) (*ProvideAnomalyFeedbackOutput, error)
- func (c *Client) UpdateAnomalyMonitor(ctx context.Context, params *UpdateAnomalyMonitorInput, optFns ...func(*Options)) (*UpdateAnomalyMonitorOutput, error)
- func (c *Client) UpdateAnomalySubscription(ctx context.Context, params *UpdateAnomalySubscriptionInput, optFns ...func(*Options)) (*UpdateAnomalySubscriptionOutput, error)
- func (c *Client) UpdateCostCategoryDefinition(ctx context.Context, params *UpdateCostCategoryDefinitionInput, optFns ...func(*Options)) (*UpdateCostCategoryDefinitionOutput, error)
- type CreateAnomalyMonitorInput
- type CreateAnomalyMonitorOutput
- type CreateAnomalySubscriptionInput
- type CreateAnomalySubscriptionOutput
- type CreateCostCategoryDefinitionInput
- type CreateCostCategoryDefinitionOutput
- type DeleteAnomalyMonitorInput
- type DeleteAnomalyMonitorOutput
- type DeleteAnomalySubscriptionInput
- type DeleteAnomalySubscriptionOutput
- type DeleteCostCategoryDefinitionInput
- type DeleteCostCategoryDefinitionOutput
- type DescribeCostCategoryDefinitionInput
- type DescribeCostCategoryDefinitionOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAnomaliesInput
- type GetAnomaliesOutput
- type GetAnomalyMonitorsInput
- type GetAnomalyMonitorsOutput
- type GetAnomalySubscriptionsInput
- type GetAnomalySubscriptionsOutput
- type GetCostAndUsageInput
- type GetCostAndUsageOutput
- type GetCostAndUsageWithResourcesInput
- type GetCostAndUsageWithResourcesOutput
- type GetCostCategoriesInput
- type GetCostCategoriesOutput
- type GetCostForecastInput
- type GetCostForecastOutput
- type GetDimensionValuesInput
- type GetDimensionValuesOutput
- type GetReservationCoverageInput
- type GetReservationCoverageOutput
- type GetReservationPurchaseRecommendationInput
- type GetReservationPurchaseRecommendationOutput
- type GetReservationUtilizationInput
- type GetReservationUtilizationOutput
- type GetRightsizingRecommendationInput
- type GetRightsizingRecommendationOutput
- type GetSavingsPlansCoverageAPIClient
- type GetSavingsPlansCoverageInput
- type GetSavingsPlansCoverageOutput
- type GetSavingsPlansCoveragePaginator
- func NewGetSavingsPlansCoveragePaginator(client GetSavingsPlansCoverageAPIClient, params *GetSavingsPlansCoverageInput, optFns ...func(*GetSavingsPlansCoveragePaginatorOptions)) *GetSavingsPlansCoveragePaginator
- func (p *GetSavingsPlansCoveragePaginator) HasMorePages() bool
- func (p *GetSavingsPlansCoveragePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetSavingsPlansCoverageOutput, error)
- type GetSavingsPlansCoveragePaginatorOptions
- type GetSavingsPlansPurchaseRecommendationInput
- type GetSavingsPlansPurchaseRecommendationOutput
- type GetSavingsPlansUtilizationDetailsAPIClient
- type GetSavingsPlansUtilizationDetailsInput
- type GetSavingsPlansUtilizationDetailsOutput
- type GetSavingsPlansUtilizationDetailsPaginator
- func NewGetSavingsPlansUtilizationDetailsPaginator(client GetSavingsPlansUtilizationDetailsAPIClient, params *GetSavingsPlansUtilizationDetailsInput, optFns ...func(*GetSavingsPlansUtilizationDetailsPaginatorOptions)) *GetSavingsPlansUtilizationDetailsPaginator
- func (p *GetSavingsPlansUtilizationDetailsPaginator) HasMorePages() bool
- func (p *GetSavingsPlansUtilizationDetailsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetSavingsPlansUtilizationDetailsOutput, error)
- type GetSavingsPlansUtilizationDetailsPaginatorOptions
- type GetSavingsPlansUtilizationInput
- type GetSavingsPlansUtilizationOutput
- type GetTagsInput
- type GetTagsOutput
- type GetUsageForecastInput
- type GetUsageForecastOutput
- type HTTPClient
- type HTTPSignerV4
- type ListCostCategoryDefinitionsAPIClient
- type ListCostCategoryDefinitionsInput
- type ListCostCategoryDefinitionsOutput
- type ListCostCategoryDefinitionsPaginator
- func NewListCostCategoryDefinitionsPaginator(client ListCostCategoryDefinitionsAPIClient, params *ListCostCategoryDefinitionsInput, optFns ...func(*ListCostCategoryDefinitionsPaginatorOptions)) *ListCostCategoryDefinitionsPaginator
- func (p *ListCostCategoryDefinitionsPaginator) HasMorePages() bool
- func (p *ListCostCategoryDefinitionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCostCategoryDefinitionsOutput, error)
- type ListCostCategoryDefinitionsPaginatorOptions
- type Options
- type ProvideAnomalyFeedbackInput
- type ProvideAnomalyFeedbackOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type UpdateAnomalyMonitorInput
- type UpdateAnomalyMonitorOutput
- type UpdateAnomalySubscriptionInput
- type UpdateAnomalySubscriptionOutput
- type UpdateCostCategoryDefinitionInput
- type UpdateCostCategoryDefinitionOutput
Constants ¶
const ServiceAPIVersion = "2017-10-25"
const ServiceID = "Cost Explorer"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Cost Explorer Service.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateAnomalyMonitor ¶
func (c *Client) CreateAnomalyMonitor(ctx context.Context, params *CreateAnomalyMonitorInput, optFns ...func(*Options)) (*CreateAnomalyMonitorOutput, error)
Creates a new cost anomaly detection monitor with the requested type and monitor specification.
func (*Client) CreateAnomalySubscription ¶
func (c *Client) CreateAnomalySubscription(ctx context.Context, params *CreateAnomalySubscriptionInput, optFns ...func(*Options)) (*CreateAnomalySubscriptionOutput, error)
Adds a subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set a dollar threshold and a time frequency for receiving notifications.
func (*Client) CreateCostCategoryDefinition ¶
func (c *Client) CreateCostCategoryDefinition(ctx context.Context, params *CreateCostCategoryDefinitionInput, optFns ...func(*Options)) (*CreateCostCategoryDefinitionOutput, error)
Creates a new Cost Category with the requested name and rules.
func (*Client) DeleteAnomalyMonitor ¶
func (c *Client) DeleteAnomalyMonitor(ctx context.Context, params *DeleteAnomalyMonitorInput, optFns ...func(*Options)) (*DeleteAnomalyMonitorOutput, error)
Deletes a cost anomaly monitor.
func (*Client) DeleteAnomalySubscription ¶
func (c *Client) DeleteAnomalySubscription(ctx context.Context, params *DeleteAnomalySubscriptionInput, optFns ...func(*Options)) (*DeleteAnomalySubscriptionOutput, error)
Deletes a cost anomaly subscription.
func (*Client) DeleteCostCategoryDefinition ¶
func (c *Client) DeleteCostCategoryDefinition(ctx context.Context, params *DeleteCostCategoryDefinitionInput, optFns ...func(*Options)) (*DeleteCostCategoryDefinitionOutput, error)
Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category.
func (*Client) DescribeCostCategoryDefinition ¶
func (c *Client) DescribeCostCategoryDefinition(ctx context.Context, params *DescribeCostCategoryDefinitionInput, optFns ...func(*Options)) (*DescribeCostCategoryDefinitionOutput, error)
Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account. You have the option to use EffectiveOn to return a Cost Category that is active on a specific date. If there is no EffectiveOn specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response.
func (*Client) GetAnomalies ¶
func (c *Client) GetAnomalies(ctx context.Context, params *GetAnomaliesInput, optFns ...func(*Options)) (*GetAnomaliesOutput, error)
Retrieves all of the cost anomalies detected on your account, during the time period specified by the DateInterval object.
func (*Client) GetAnomalyMonitors ¶
func (c *Client) GetAnomalyMonitors(ctx context.Context, params *GetAnomalyMonitorsInput, optFns ...func(*Options)) (*GetAnomalyMonitorsOutput, error)
Retrieves the cost anomaly monitor definitions for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs).
func (*Client) GetAnomalySubscriptions ¶
func (c *Client) GetAnomalySubscriptions(ctx context.Context, params *GetAnomalySubscriptionsInput, optFns ...func(*Options)) (*GetAnomalySubscriptionsOutput, error)
Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs).
func (*Client) GetCostAndUsage ¶
func (c *Client) GetCostAndUsage(ctx context.Context, params *GetCostAndUsageInput, optFns ...func(*Options)) (*GetCostAndUsageOutput, error)
Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html) operation. Management account in an organization in AWS Organizations have access to all member accounts. For information about filter limitations, see Quotas and restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html) in the Billing and Cost Management User Guide.
func (*Client) GetCostAndUsageWithResources ¶
func (c *Client) GetCostAndUsageWithResources(ctx context.Context, params *GetCostAndUsageWithResourcesInput, optFns ...func(*Options)) (*GetCostAndUsageWithResourcesOutput, error)
Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html) operation. Management account in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html) in the AWS Billing and Cost Management User Guide.
func (*Client) GetCostCategories ¶
func (c *Client) GetCostCategories(ctx context.Context, params *GetCostCategoriesInput, optFns ...func(*Options)) (*GetCostCategoriesOutput, error)
Retrieves an array of Cost Category names and values incurred cost. If some Cost Category names and values are not associated with any cost, they will not be returned by this API.
func (*Client) GetCostForecast ¶
func (c *Client) GetCostForecast(ctx context.Context, params *GetCostForecastInput, optFns ...func(*Options)) (*GetCostForecastOutput, error)
Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs.
func (*Client) GetDimensionValues ¶
func (c *Client) GetDimensionValues(ctx context.Context, params *GetDimensionValuesInput, optFns ...func(*Options)) (*GetDimensionValuesOutput, error)
Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string.
func (*Client) GetReservationCoverage ¶
func (c *Client) GetReservationCoverage(ctx context.Context, params *GetReservationCoverageInput, optFns ...func(*Options)) (*GetReservationCoverageOutput, error)
Retrieves the reservation coverage for your account. This enables you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or Amazon Redshift usage is covered by a reservation. An organization's management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data about reservation usage by the following dimensions:
* AZ
* CACHE_ENGINE
* DATABASE_ENGINE
* DEPLOYMENT_OPTION
* INSTANCE_TYPE
* LINKED_ACCOUNT
* OPERATING_SYSTEM
* PLATFORM
* REGION
* SERVICE
* TAG
* TENANCY
To determine valid values for a dimension, use the GetDimensionValues operation.
func (*Client) GetReservationPurchaseRecommendation ¶
func (c *Client) GetReservationPurchaseRecommendation(ctx context.Context, params *GetReservationPurchaseRecommendationInput, optFns ...func(*Options)) (*GetReservationPurchaseRecommendationOutput, error)
Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing. AWS generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage into categories that are eligible for a reservation. After AWS has these categories, it simulates every combination of reservations in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings. For example, AWS automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. AWS recommends the smallest size instance in an instance family. This makes it easier to purchase a size-flexible RI. AWS also shows the equal number of normalized units so that you can purchase any instance size that you want. For this example, your RI recommendation would be for c4.large because that is the smallest size instance in the c4 instance family.
func (*Client) GetReservationUtilization ¶
func (c *Client) GetReservationUtilization(ctx context.Context, params *GetReservationUtilizationInput, optFns ...func(*Options)) (*GetReservationUtilizationOutput, error)
Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID.
func (*Client) GetRightsizingRecommendation ¶
func (c *Client) GetRightsizingRecommendation(ctx context.Context, params *GetRightsizingRecommendationInput, optFns ...func(*Options)) (*GetRightsizingRecommendationOutput, error)
Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances. Recommendations are generated to either downsize or terminate instances, along with providing savings detail and metrics. For details on calculation and function, see Optimizing Your Cost with Rightsizing Recommendations (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html) in the AWS Billing and Cost Management User Guide.
func (*Client) GetSavingsPlansCoverage ¶
func (c *Client) GetSavingsPlansCoverage(ctx context.Context, params *GetSavingsPlansCoverageInput, optFns ...func(*Options)) (*GetSavingsPlansCoverageOutput, error)
Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions:
* LINKED_ACCOUNT
* REGION
* SERVICE
* INSTANCE_FAMILY
To determine valid values for a dimension, use the GetDimensionValues operation.
func (*Client) GetSavingsPlansPurchaseRecommendation ¶
func (c *Client) GetSavingsPlansPurchaseRecommendation(ctx context.Context, params *GetSavingsPlansPurchaseRecommendationInput, optFns ...func(*Options)) (*GetSavingsPlansPurchaseRecommendationOutput, error)
Retrieves your request parameters, Savings Plan Recommendations Summary and Details.
func (*Client) GetSavingsPlansUtilization ¶
func (c *Client) GetSavingsPlansUtilization(ctx context.Context, params *GetSavingsPlansUtilizationInput, optFns ...func(*Options)) (*GetSavingsPlansUtilizationOutput, error)
Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
func (*Client) GetSavingsPlansUtilizationDetails ¶
func (c *Client) GetSavingsPlansUtilizationDetails(ctx context.Context, params *GetSavingsPlansUtilizationDetailsInput, optFns ...func(*Options)) (*GetSavingsPlansUtilizationDetailsOutput, error)
Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.
func (*Client) GetTags ¶
func (c *Client) GetTags(ctx context.Context, params *GetTagsInput, optFns ...func(*Options)) (*GetTagsOutput, error)
Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string.
func (*Client) GetUsageForecast ¶
func (c *Client) GetUsageForecast(ctx context.Context, params *GetUsageForecastInput, optFns ...func(*Options)) (*GetUsageForecastOutput, error)
Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage.
func (*Client) ListCostCategoryDefinitions ¶
func (c *Client) ListCostCategoryDefinitions(ctx context.Context, params *ListCostCategoryDefinitionsInput, optFns ...func(*Options)) (*ListCostCategoryDefinitionsOutput, error)
Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories defined in the account. You have the option to use EffectiveOn to return a list of Cost Categories that were active on a specific date. If there is no EffectiveOn specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. ListCostCategoryDefinitions supports pagination. The request can have a MaxResults range up to 100.
func (*Client) ProvideAnomalyFeedback ¶
func (c *Client) ProvideAnomalyFeedback(ctx context.Context, params *ProvideAnomalyFeedbackInput, optFns ...func(*Options)) (*ProvideAnomalyFeedbackOutput, error)
Modifies the feedback property of a given cost anomaly.
func (*Client) UpdateAnomalyMonitor ¶
func (c *Client) UpdateAnomalyMonitor(ctx context.Context, params *UpdateAnomalyMonitorInput, optFns ...func(*Options)) (*UpdateAnomalyMonitorOutput, error)
Updates an existing cost anomaly monitor. The changes made are applied going forward, and does not change anomalies detected in the past.
func (*Client) UpdateAnomalySubscription ¶
func (c *Client) UpdateAnomalySubscription(ctx context.Context, params *UpdateAnomalySubscriptionInput, optFns ...func(*Options)) (*UpdateAnomalySubscriptionOutput, error)
Updates an existing cost anomaly monitor subscription.
func (*Client) UpdateCostCategoryDefinition ¶
func (c *Client) UpdateCostCategoryDefinition(ctx context.Context, params *UpdateCostCategoryDefinitionInput, optFns ...func(*Options)) (*UpdateCostCategoryDefinitionOutput, error)
Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months.
type CreateAnomalyMonitorInput ¶
type CreateAnomalyMonitorInput struct { // The cost anomaly detection monitor object that you want to create. // // This member is required. AnomalyMonitor *types.AnomalyMonitor }
type CreateAnomalyMonitorOutput ¶
type CreateAnomalyMonitorOutput struct { // The unique identifier of your newly created cost anomaly detection monitor. // // This member is required. MonitorArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateAnomalySubscriptionInput ¶
type CreateAnomalySubscriptionInput struct { // The cost anomaly subscription object that you want to create. // // This member is required. AnomalySubscription *types.AnomalySubscription }
type CreateAnomalySubscriptionOutput ¶
type CreateAnomalySubscriptionOutput struct { // The unique identifier of your newly created cost anomaly subscription. // // This member is required. SubscriptionArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateCostCategoryDefinitionInput ¶
type CreateCostCategoryDefinitionInput struct { // The unique name of the Cost Category. // // This member is required. Name *string // The rule schema version in this particular Cost Category. // // This member is required. RuleVersion types.CostCategoryRuleVersion // The Cost Category rules used to categorize costs. For more information, see // CostCategoryRule // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html). // // This member is required. Rules []types.CostCategoryRule }
type CreateCostCategoryDefinitionOutput ¶
type CreateCostCategoryDefinitionOutput struct { // The unique identifier for your newly created Cost Category. CostCategoryArn *string // The Cost Category's effective start date. EffectiveStart *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAnomalyMonitorInput ¶
type DeleteAnomalyMonitorInput struct { // The unique identifier of the cost anomaly monitor that you want to delete. // // This member is required. MonitorArn *string }
type DeleteAnomalyMonitorOutput ¶
type DeleteAnomalyMonitorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAnomalySubscriptionInput ¶
type DeleteAnomalySubscriptionInput struct { // The unique identifier of the cost anomaly subscription that you want to delete. // // This member is required. SubscriptionArn *string }
type DeleteAnomalySubscriptionOutput ¶
type DeleteAnomalySubscriptionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteCostCategoryDefinitionInput ¶
type DeleteCostCategoryDefinitionInput struct { // The unique identifier for your Cost Category. // // This member is required. CostCategoryArn *string }
type DeleteCostCategoryDefinitionOutput ¶
type DeleteCostCategoryDefinitionOutput struct { // The unique identifier for your Cost Category. CostCategoryArn *string // The effective end date of the Cost Category as a result of deleting it. No costs // after this date will be categorized by the deleted Cost Category. EffectiveEnd *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeCostCategoryDefinitionInput ¶
type DescribeCostCategoryDefinitionInput struct { // The unique identifier for your Cost Category. // // This member is required. CostCategoryArn *string // The date when the Cost Category was effective. EffectiveOn *string }
type DescribeCostCategoryDefinitionOutput ¶
type DescribeCostCategoryDefinitionOutput struct { // The structure of Cost Categories. This includes detailed metadata and the set of // rules for the CostCategory object. CostCategory *types.CostCategory // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetAnomaliesInput ¶
type GetAnomaliesInput struct { // Assigns the start and end dates for retrieving cost anomalies. The returned // anomaly object will have an AnomalyEndDate in the specified time range. // // This member is required. DateInterval *types.AnomalyDateInterval // Filters anomaly results by the feedback field on the anomaly object. Feedback types.AnomalyFeedbackType // The number of entries a paginated response contains. MaxResults *int32 // Retrieves all of the cost anomalies detected for a specific cost anomaly monitor // Amazon Resource Name (ARN). MonitorArn *string // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // Filters anomaly results by the total impact field on the anomaly object. For // example, you can filter anomalies GREATER_THAN 200.00 to retrieve anomalies, // with an estimated dollar impact greater than 200. TotalImpact *types.TotalImpactFilter }
type GetAnomaliesOutput ¶
type GetAnomaliesOutput struct { // A list of cost anomalies. // // This member is required. Anomalies []types.Anomaly // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAnomalyMonitorsInput ¶
type GetAnomalyMonitorsInput struct { // The number of entries a paginated response contains. MaxResults *int32 // A list of cost anomaly monitor ARNs. MonitorArnList []string // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string }
type GetAnomalyMonitorsOutput ¶
type GetAnomalyMonitorsOutput struct { // A list of cost anomaly monitors that includes the detailed metadata for each // monitor. // // This member is required. AnomalyMonitors []types.AnomalyMonitor // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAnomalySubscriptionsInput ¶
type GetAnomalySubscriptionsInput struct { // The number of entries a paginated response contains. MaxResults *int32 // Cost anomaly monitor ARNs. MonitorArn *string // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // A list of cost anomaly subscription ARNs. SubscriptionArnList []string }
type GetAnomalySubscriptionsOutput ¶
type GetAnomalySubscriptionsOutput struct { // A list of cost anomaly subscriptions that includes the detailed metadata for // each one. // // This member is required. AnomalySubscriptions []types.AnomalySubscription // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetCostAndUsageInput ¶
type GetCostAndUsageInput struct { // Which metrics are returned in the query. For more information about blended and // unblended rates, see Why does the "blended" annotation appear on some line items // in my bill? // (http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/). // Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, // NormalizedUsageAmount, UnblendedCost, and UsageQuantity. If you return the // UsageQuantity metric, the service aggregates all usage numbers without taking // into account the units. For example, if you aggregate usageQuantity across all // of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours // and data transfer are measured in different units (for example, hours vs. GB). // To get more meaningful UsageQuantity metrics, filter by UsageType or // UsageTypeGroups. Metrics is required for GetCostAndUsage requests. // // This member is required. Metrics []string // Sets the start and end dates for retrieving AWS costs. The start date is // inclusive, but the end date is exclusive. For example, if start is 2017-01-01 // and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 // up to and including 2017-04-30 but not including 2017-05-01. // // This member is required. TimePeriod *types.DateInterval // Filters AWS costs by different dimensions. For example, you can specify SERVICE // and LINKED_ACCOUNT and get the costs that are associated with that account's // usage of that service. You can nest Expression objects to define any combination // of dimension filters. For more information, see Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html). Filter *types.Expression // Sets the AWS cost granularity to MONTHLY or DAILY, or HOURLY. If Granularity // isn't set, the response object doesn't include the Granularity, either MONTHLY // or DAILY, or HOURLY. Granularity types.Granularity // You can group AWS costs using up to two different groups, either dimensions, tag // keys, cost categories, or any two group by types. When you group by tag key, you // get all tag values, including empty strings. Valid values are AZ, INSTANCE_TYPE, // LEGAL_ENTITY_NAME, LINKED_ACCOUNT, OPERATION, PLATFORM, PURCHASE_TYPE, SERVICE, // TAGS, TENANCY, RECORD_TYPE, and USAGE_TYPE. GroupBy []types.GroupDefinition // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string }
type GetCostAndUsageOutput ¶
type GetCostAndUsageOutput struct { // The attributes that apply to a specific dimension value. For example, if the // value is a linked account, the attribute is that account name. DimensionValueAttributes []types.DimensionValuesWithAttributes // The groups that are specified by the Filter or GroupBy parameters in the // request. GroupDefinitions []types.GroupDefinition // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // The time period that is covered by the results in the response. ResultsByTime []types.ResultByTime // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetCostAndUsageWithResourcesInput ¶
type GetCostAndUsageWithResourcesInput struct { // Filters Amazon Web Services costs by different dimensions. For example, you can // specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with // that account's usage of that service. You can nest Expression objects to define // any combination of dimension filters. For more information, see Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html). // The GetCostAndUsageWithResources operation requires that you either group by or // filter by a ResourceId. It requires the Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html)"SERVICE // = Amazon Elastic Compute Cloud - Compute" in the filter. // // This member is required. Filter *types.Expression // Sets the start and end dates for retrieving Amazon Web Services costs. The range // must be within the last 14 days (the start date cannot be earlier than 14 days // ago). The start date is inclusive, but the end date is exclusive. For example, // if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is // retrieved from 2017-01-01 up to and including 2017-04-30 but not including // 2017-05-01. // // This member is required. TimePeriod *types.DateInterval // Sets the AWS cost granularity to MONTHLY, DAILY, or HOURLY. If Granularity isn't // set, the response object doesn't include the Granularity, MONTHLY, DAILY, or // HOURLY. Granularity types.Granularity // You can group Amazon Web Services costs using up to two different groups: // DIMENSION, TAG, COST_CATEGORY. GroupBy []types.GroupDefinition // Which metrics are returned in the query. For more information about blended and // unblended rates, see Why does the "blended" annotation appear on some line items // in my bill? // (http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/). // Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, // NormalizedUsageAmount, UnblendedCost, and UsageQuantity. If you return the // UsageQuantity metric, the service aggregates all usage numbers without taking // the units into account. For example, if you aggregate usageQuantity across all // of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours // and data transfer are measured in different units (for example, hours vs. GB). // To get more meaningful UsageQuantity metrics, filter by UsageType or // UsageTypeGroups. Metrics is required for GetCostAndUsageWithResources requests. Metrics []string // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string }
type GetCostAndUsageWithResourcesOutput ¶
type GetCostAndUsageWithResourcesOutput struct { // The attributes that apply to a specific dimension value. For example, if the // value is a linked account, the attribute is that account name. DimensionValueAttributes []types.DimensionValuesWithAttributes // The groups that are specified by the Filter or GroupBy parameters in the // request. GroupDefinitions []types.GroupDefinition // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // The time period that is covered by the results in the response. ResultsByTime []types.ResultByTime // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetCostCategoriesInput ¶
type GetCostCategoriesInput struct { // The time period of the request. // // This member is required. TimePeriod *types.DateInterval // The unique name of the Cost Category. CostCategoryName *string // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple // dimension values - You can set the dimension name and values for the filters // that you plan to use. For example, you can filter for REGION==us-east-1 OR // REGION==us-west-1. For GetRightsizingRecommendation, the Region is a full name // (for example, REGION==US East (N. Virginia). The Expression example looks like: // { "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } } // The list of dimension values are OR'd together to retrieve cost or usage data. // You can create Expression and DimensionValues objects using either with* methods // or set* methods in multiple lines. // // * Compound dimension values with logical // operations - You can use multiple Expression types and the logical operators // AND/OR/NOT to create a list of one or more Expression objects. This allows you // to filter on more advanced options. For example, you can filter on ((REGION == // us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != // DataTransfer). The Expression for that looks like this: { "And": [ {"Or": [ // {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, // {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": // { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each // Expression can have only one operator, the service returns an error if more than // one is specified. The following example shows an Expression object that creates // an error. { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", // "Values": [ "DataTransfer" ] } } // // For the GetRightsizingRecommendation action, a // combination of OR and NOT is not supported. OR is not supported between // different dimensions, or dimensions and tags. NOT operators aren't supported. // Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For // the GetReservationPurchaseRecommendation action, only NOT is supported. AND and // OR are not supported. Dimensions are limited to LINKED_ACCOUNT. Filter *types.Expression // This field is only used when SortBy is provided in the request. The maximum // number of objects that to be returned for this request. If MaxResults is not // specified with SortBy, the request will return 1000 results as the default value // for this parameter. For GetCostCategories, MaxResults has an upper limit of // 1000. MaxResults int32 // If the number of objects that are still available for retrieval exceeds the // limit, AWS returns a NextPageToken value in the response. To retrieve the next // batch of objects, provide the NextPageToken from the prior call in your next // request. NextPageToken *string // The value that you want to search the filter values for. If you do not specify a // CostCategoryName, SearchString will be used to filter Cost Category names that // match the SearchString pattern. If you do specifiy a CostCategoryName, // SearchString will be used to filter Cost Category values that match the // SearchString pattern. SearchString *string // The value by which you want to sort the data. The key represents cost and usage // metrics. The following values are supported: // // * BlendedCost // // * UnblendedCost // // * // AmortizedCost // // * NetAmortizedCost // // * NetUnblendedCost // // * UsageQuantity // // * // NormalizedUsageAmount // // Supported values for SortOrder are ASCENDING or // DESCENDING. When using SortBy, NextPageToken and SearchString are not supported. SortBy []types.SortDefinition }
type GetCostCategoriesOutput ¶
type GetCostCategoriesOutput struct { // The number of objects returned. // // This member is required. ReturnSize *int32 // The total number of objects. // // This member is required. TotalSize *int32 // The names of the Cost Categories. CostCategoryNames []string // The Cost Category values. CostCategoryValues are not returned if // CostCategoryName is not specified in the request. CostCategoryValues []string // If the number of objects that are still available for retrieval exceeds the // limit, AWS returns a NextPageToken value in the response. To retrieve the next // batch of objects, provide the marker from the prior call in your next request. NextPageToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetCostForecastInput ¶
type GetCostForecastInput struct { // How granular you want the forecast to be. You can get 3 months of DAILY // forecasts or 12 months of MONTHLY forecasts. The GetCostForecast operation // supports only DAILY and MONTHLY granularities. // // This member is required. Granularity types.Granularity // Which metric Cost Explorer uses to create your forecast. For more information // about blended and unblended rates, see Why does the "blended" annotation appear // on some line items in my bill? // (http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/). // Valid values for a GetCostForecast call are the following: // // * AMORTIZED_COST // // * // BLENDED_COST // // * NET_AMORTIZED_COST // // * NET_UNBLENDED_COST // // * UNBLENDED_COST // // This member is required. Metric types.Metric // The period of time that you want the forecast to cover. The start date must be // equal to or no later than the current date to avoid a validation error. // // This member is required. TimePeriod *types.DateInterval // The filters that you want to use to filter your forecast. The GetCostForecast // API supports filtering by the following dimensions: // // * AZ // // * INSTANCE_TYPE // // * // LINKED_ACCOUNT // // * LINKED_ACCOUNT_NAME // // * OPERATION // // * PURCHASE_TYPE // // * REGION // // * // SERVICE // // * USAGE_TYPE // // * USAGE_TYPE_GROUP // // * RECORD_TYPE // // * OPERATING_SYSTEM // // * // TENANCY // // * SCOPE // // * PLATFORM // // * SUBSCRIPTION_ID // // * LEGAL_ENTITY_NAME // // * // DEPLOYMENT_OPTION // // * DATABASE_ENGINE // // * INSTANCE_TYPE_FAMILY // // * // BILLING_ENTITY // // * RESERVATION_ID // // * SAVINGS_PLAN_ARN Filter *types.Expression // Cost Explorer always returns the mean forecast as a single point. You can // request a prediction interval around the mean by specifying a confidence level. // The higher the confidence level, the more confident Cost Explorer is about the // actual value falling in the prediction interval. Higher confidence levels result // in wider prediction intervals. PredictionIntervalLevel *int32 }
type GetCostForecastOutput ¶
type GetCostForecastOutput struct { // The forecasts for your query, in order. For DAILY forecasts, this is a list of // days. For MONTHLY forecasts, this is a list of months. ForecastResultsByTime []types.ForecastResult // How much you are forecasted to spend over the forecast period, in USD. Total *types.MetricValue // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetDimensionValuesInput ¶
type GetDimensionValuesInput struct { // The name of the dimension. Each Dimension is available for a different Context. // For more information, see Context. // // This member is required. Dimension types.Dimension // The start and end dates for retrieving the dimension values. The start date is // inclusive, but the end date is exclusive. For example, if start is 2017-01-01 // and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 // up to and including 2017-04-30 but not including 2017-05-01. // // This member is required. TimePeriod *types.DateInterval // The context for the call to GetDimensionValues. This can be RESERVATIONS or // COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to // RESERVATIONS, the resulting dimension values can be used in the // GetReservationUtilization operation. If the context is set to COST_AND_USAGE, // the resulting dimension values can be used in the GetCostAndUsage operation. If // you set the context to COST_AND_USAGE, you can use the following dimensions for // searching: // // * AZ - The Availability Zone. An example is us-east-1a. // // * // DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are // Aurora or MySQL. // // * INSTANCE_TYPE - The type of Amazon EC2 instance. An example // is m4.xlarge. // // * LEGAL_ENTITY_NAME - The name of the organization that sells you // AWS services, such as Amazon Web Services. // // * LINKED_ACCOUNT - The description // in the attribute map that includes the full name of the member account. The // value field contains the AWS ID of the member account. // // * OPERATING_SYSTEM - The // operating system. Examples are Windows or Linux. // // * OPERATION - The action // performed. Examples include RunInstance and CreateBucket. // // * PLATFORM - The // Amazon EC2 operating system. Examples are Windows or Linux. // // * PURCHASE_TYPE - // The reservation type of the purchase to which this usage is related. Examples // include On-Demand Instances and Standard Reserved Instances. // // * SERVICE - The // AWS service such as Amazon DynamoDB. // // * USAGE_TYPE - The type of usage. An // example is DataTransfer-In-Bytes. The response for the GetDimensionValues // operation includes a unit attribute. Examples include GB and Hrs. // // * // USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: // CloudWatch – Alarms. The response for this operation includes a unit // attribute. // // * REGION - The AWS Region. // // * RECORD_TYPE - The different types of // charges such as RI fees, usage costs, tax refunds, and credits. // // * RESOURCE_ID - // The unique identifier of the resource. ResourceId is an opt-in feature only // available for last 14 days for EC2-Compute Service. // // If you set the context to // RESERVATIONS, you can use the following dimensions for searching: // // * AZ - The // Availability Zone. An example is us-east-1a. // // * CACHE_ENGINE - The Amazon // ElastiCache operating system. Examples are Windows or Linux. // // * // DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. // Valid values are SingleAZ and MultiAZ. // // * INSTANCE_TYPE - The type of Amazon EC2 // instance. An example is m4.xlarge. // // * LINKED_ACCOUNT - The description in the // attribute map that includes the full name of the member account. The value field // contains the AWS ID of the member account. // // * PLATFORM - The Amazon EC2 // operating system. Examples are Windows or Linux. // // * REGION - The AWS Region. // // * // SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are // regional or a single Availability Zone. // // * TAG (Coverage only) - The tags that // are associated with a Reserved Instance (RI). // // * TENANCY - The tenancy of a // resource. Examples are shared or dedicated. // // If you set the context to // SAVINGS_PLANS, you can use the following dimensions for searching: // // * // SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) // // * // PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All // Upfront) // // * REGION - The AWS Region. // // * INSTANCE_TYPE_FAMILY - The family of // instances (For example, m5) // // * LINKED_ACCOUNT - The description in the attribute // map that includes the full name of the member account. The value field contains // the AWS ID of the member account. // // * SAVINGS_PLAN_ARN - The unique identifier // for your Savings Plan Context types.Context // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple // dimension values - You can set the dimension name and values for the filters // that you plan to use. For example, you can filter for REGION==us-east-1 OR // REGION==us-west-1. For GetRightsizingRecommendation, the Region is a full name // (for example, REGION==US East (N. Virginia). The Expression example looks like: // { "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } } // The list of dimension values are OR'd together to retrieve cost or usage data. // You can create Expression and DimensionValues objects using either with* methods // or set* methods in multiple lines. // // * Compound dimension values with logical // operations - You can use multiple Expression types and the logical operators // AND/OR/NOT to create a list of one or more Expression objects. This allows you // to filter on more advanced options. For example, you can filter on ((REGION == // us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != // DataTransfer). The Expression for that looks like this: { "And": [ {"Or": [ // {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, // {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": // { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each // Expression can have only one operator, the service returns an error if more than // one is specified. The following example shows an Expression object that creates // an error. { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", // "Values": [ "DataTransfer" ] } } // // For the GetRightsizingRecommendation action, a // combination of OR and NOT is not supported. OR is not supported between // different dimensions, or dimensions and tags. NOT operators aren't supported. // Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For // the GetReservationPurchaseRecommendation action, only NOT is supported. AND and // OR are not supported. Dimensions are limited to LINKED_ACCOUNT. Filter *types.Expression // This field is only used when SortBy is provided in the request. The maximum // number of objects that to be returned for this request. If MaxResults is not // specified with SortBy, the request will return 1000 results as the default value // for this parameter. For GetDimensionValues, MaxResults has an upper limit of // 1000. MaxResults int32 // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // The value that you want to search the filter values for. SearchString *string // The value by which you want to sort the data. The key represents cost and usage // metrics. The following values are supported: // // * BlendedCost // // * UnblendedCost // // * // AmortizedCost // // * NetAmortizedCost // // * NetUnblendedCost // // * UsageQuantity // // * // NormalizedUsageAmount // // Supported values for SortOrder are ASCENDING or // DESCENDING. When you specify a SortBy paramater, the context must be // COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString are // not supported. SortBy []types.SortDefinition }
type GetDimensionValuesOutput ¶
type GetDimensionValuesOutput struct { // The filters that you used to filter your request. Some dimensions are available // only for a specific context. If you set the context to COST_AND_USAGE, you can // use the following dimensions for searching: // // * AZ - The Availability Zone. An // example is us-east-1a. // // * DATABASE_ENGINE - The Amazon Relational Database // Service database. Examples are Aurora or MySQL. // // * INSTANCE_TYPE - The type of // Amazon EC2 instance. An example is m4.xlarge. // // * LEGAL_ENTITY_NAME - The name of // the organization that sells you AWS services, such as Amazon Web Services. // // * // LINKED_ACCOUNT - The description in the attribute map that includes the full // name of the member account. The value field contains the AWS ID of the member // account. // // * OPERATING_SYSTEM - The operating system. Examples are Windows or // Linux. // // * OPERATION - The action performed. Examples include RunInstance and // CreateBucket. // // * PLATFORM - The Amazon EC2 operating system. Examples are // Windows or Linux. // // * PURCHASE_TYPE - The reservation type of the purchase to // which this usage is related. Examples include On-Demand Instances and Standard // Reserved Instances. // // * SERVICE - The AWS service such as Amazon DynamoDB. // // * // USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The // response for the GetDimensionValues operation includes a unit attribute. // Examples include GB and Hrs. // // * USAGE_TYPE_GROUP - The grouping of common usage // types. An example is Amazon EC2: CloudWatch – Alarms. The response for this // operation includes a unit attribute. // // * RECORD_TYPE - The different types of // charges such as RI fees, usage costs, tax refunds, and credits. // // * RESOURCE_ID - // The unique identifier of the resource. ResourceId is an opt-in feature only // available for last 14 days for EC2-Compute Service. // // If you set the context to // RESERVATIONS, you can use the following dimensions for searching: // // * AZ - The // Availability Zone. An example is us-east-1a. // // * CACHE_ENGINE - The Amazon // ElastiCache operating system. Examples are Windows or Linux. // // * // DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. // Valid values are SingleAZ and MultiAZ. // // * INSTANCE_TYPE - The type of Amazon EC2 // instance. An example is m4.xlarge. // // * LINKED_ACCOUNT - The description in the // attribute map that includes the full name of the member account. The value field // contains the AWS ID of the member account. // // * PLATFORM - The Amazon EC2 // operating system. Examples are Windows or Linux. // // * REGION - The AWS Region. // // * // SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are // regional or a single Availability Zone. // // * TAG (Coverage only) - The tags that // are associated with a Reserved Instance (RI). // // * TENANCY - The tenancy of a // resource. Examples are shared or dedicated. // // If you set the context to // SAVINGS_PLANS, you can use the following dimensions for searching: // // * // SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) // // * // PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All // Upfront) // // * REGION - The AWS Region. // // * INSTANCE_TYPE_FAMILY - The family of // instances (For example, m5) // // * LINKED_ACCOUNT - The description in the attribute // map that includes the full name of the member account. The value field contains // the AWS ID of the member account. // // * SAVINGS_PLAN_ARN - The unique identifier // for your Savings Plan // // This member is required. DimensionValues []types.DimensionValuesWithAttributes // The number of results that AWS returned at one time. // // This member is required. ReturnSize *int32 // The total number of search results. // // This member is required. TotalSize *int32 // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetReservationCoverageInput ¶
type GetReservationCoverageInput struct { // The start and end dates of the period that you want to retrieve data about // reservation coverage for. You can retrieve data for a maximum of 13 months: the // last 12 months and the current month. The start date is inclusive, but the end // date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, // then the cost and usage data is retrieved from 2017-01-01 up to and including // 2017-04-30 but not including 2017-05-01. // // This member is required. TimePeriod *types.DateInterval // Filters utilization data by dimensions. You can filter by the following // dimensions: // // * AZ // // * CACHE_ENGINE // // * DATABASE_ENGINE // // * DEPLOYMENT_OPTION // // * // INSTANCE_TYPE // // * LINKED_ACCOUNT // // * OPERATING_SYSTEM // // * PLATFORM // // * REGION // // * // SERVICE // // * TAG // // * TENANCY // // GetReservationCoverage uses the same Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. // You can nest only one level deep. If there are multiple values for a dimension, // they are OR'd together. If you don't provide a SERVICE filter, Cost Explorer // defaults to EC2. Cost category is also supported. Filter *types.Expression // The granularity of the AWS cost data for the reservation. Valid values are // MONTHLY and DAILY. If GroupBy is set, Granularity can't be set. If Granularity // isn't set, the response object doesn't include Granularity, either MONTHLY or // DAILY. The GetReservationCoverage operation supports only DAILY and MONTHLY // granularities. Granularity types.Granularity // You can group the data by the following attributes: // // * AZ // // * CACHE_ENGINE // // * // DATABASE_ENGINE // // * DEPLOYMENT_OPTION // // * INSTANCE_TYPE // // * LINKED_ACCOUNT // // * // OPERATING_SYSTEM // // * PLATFORM // // * REGION // // * TENANCY GroupBy []types.GroupDefinition // The maximum number of objects that you returned for this request. If more // objects are available, in the response, AWS provides a NextPageToken value that // you can use in a subsequent call to get the next batch of objects. MaxResults int32 // The measurement that you want your reservation coverage reported in. Valid // values are Hour, Unit, and Cost. You can use multiple values in a request. Metrics []string // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // The value by which you want to sort the data. The following values are supported // for Key: // // * OnDemandCost // // * CoverageHoursPercentage // // * OnDemandHours // // * // ReservedHours // // * TotalRunningHours // // * CoverageNormalizedUnitsPercentage // // * // OnDemandNormalizedUnits // // * ReservedNormalizedUnits // // * // TotalRunningNormalizedUnits // // * Time // // Supported values for SortOrder are // ASCENDING or DESCENDING. SortBy *types.SortDefinition }
You can use the following request parameters to query for how much of your instance usage a reservation covered.
type GetReservationCoverageOutput ¶
type GetReservationCoverageOutput struct { // The amount of time that your reservations covered. // // This member is required. CoveragesByTime []types.CoverageByTime // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // The total amount of instance usage that a reservation covered. Total *types.Coverage // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetReservationPurchaseRecommendationInput ¶
type GetReservationPurchaseRecommendationInput struct { // The specific service that you want recommendations for. // // This member is required. Service *string // The account ID that is associated with the recommendation. AccountId *string // The account scope that you want your recommendations for. Amazon Web Services // calculates recommendations including the management account and member accounts // if the value is set to PAYER. If the value is LINKED, recommendations are // calculated for individual member accounts only. AccountScope types.AccountScope // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple // dimension values - You can set the dimension name and values for the filters // that you plan to use. For example, you can filter for REGION==us-east-1 OR // REGION==us-west-1. For GetRightsizingRecommendation, the Region is a full name // (for example, REGION==US East (N. Virginia). The Expression example looks like: // { "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } } // The list of dimension values are OR'd together to retrieve cost or usage data. // You can create Expression and DimensionValues objects using either with* methods // or set* methods in multiple lines. // // * Compound dimension values with logical // operations - You can use multiple Expression types and the logical operators // AND/OR/NOT to create a list of one or more Expression objects. This allows you // to filter on more advanced options. For example, you can filter on ((REGION == // us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != // DataTransfer). The Expression for that looks like this: { "And": [ {"Or": [ // {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, // {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": // { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each // Expression can have only one operator, the service returns an error if more than // one is specified. The following example shows an Expression object that creates // an error. { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", // "Values": [ "DataTransfer" ] } } // // For the GetRightsizingRecommendation action, a // combination of OR and NOT is not supported. OR is not supported between // different dimensions, or dimensions and tags. NOT operators aren't supported. // Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For // the GetReservationPurchaseRecommendation action, only NOT is supported. AND and // OR are not supported. Dimensions are limited to LINKED_ACCOUNT. Filter *types.Expression // The number of previous days that you want AWS to consider when it calculates // your recommendations. LookbackPeriodInDays types.LookbackPeriodInDays // The pagination token that indicates the next set of results that you want to // retrieve. NextPageToken *string // The number of recommendations that you want returned in a single response // object. PageSize int32 // The reservation purchase option that you want recommendations for. PaymentOption types.PaymentOption // The hardware specifications for the service instances that you want // recommendations for, such as standard or convertible Amazon EC2 instances. ServiceSpecification *types.ServiceSpecification // The reservation term that you want recommendations for. TermInYears types.TermInYears }
type GetReservationPurchaseRecommendationOutput ¶
type GetReservationPurchaseRecommendationOutput struct { // Information about this specific recommendation call, such as the time stamp for // when Cost Explorer generated this recommendation. Metadata *types.ReservationPurchaseRecommendationMetadata // The pagination token for the next set of retrievable results. NextPageToken *string // Recommendations for reservations to purchase. Recommendations []types.ReservationPurchaseRecommendation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetReservationUtilizationInput ¶
type GetReservationUtilizationInput struct { // Sets the start and end dates for retrieving RI utilization. The start date is // inclusive, but the end date is exclusive. For example, if start is 2017-01-01 // and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 // up to and including 2017-04-30 but not including 2017-05-01. // // This member is required. TimePeriod *types.DateInterval // Filters utilization data by dimensions. You can filter by the following // dimensions: // // * AZ // // * CACHE_ENGINE // // * DEPLOYMENT_OPTION // // * INSTANCE_TYPE // // * // LINKED_ACCOUNT // // * OPERATING_SYSTEM // // * PLATFORM // // * REGION // // * SERVICE // // * SCOPE // // * // TENANCY // // GetReservationUtilization uses the same Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension, // and nesting is supported up to only one level deep. If there are multiple values // for a dimension, they are OR'd together. Filter *types.Expression // If GroupBy is set, Granularity can't be set. If Granularity isn't set, the // response object doesn't include Granularity, either MONTHLY or DAILY. If both // GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY. // The GetReservationUtilization operation supports only DAILY and MONTHLY // granularities. Granularity types.Granularity // Groups only by SUBSCRIPTION_ID. Metadata is included. GroupBy []types.GroupDefinition // The maximum number of objects that you returned for this request. If more // objects are available, in the response, AWS provides a NextPageToken value that // you can use in a subsequent call to get the next batch of objects. MaxResults int32 // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // The value by which you want to sort the data. The following values are supported // for Key: // // * UtilizationPercentage // // * UtilizationPercentageInUnits // // * // PurchasedHours // // * PurchasedUnits // // * TotalActualHours // // * TotalActualUnits // // * // UnusedHours // // * UnusedUnits // // * OnDemandCostOfRIHoursUsed // // * NetRISavings // // * // TotalPotentialRISavings // // * AmortizedUpfrontFee // // * AmortizedRecurringFee // // * // TotalAmortizedFee // // * RICostForUnusedHours // // * RealizedSavings // // * // UnrealizedSavings // // Supported values for SortOrder are ASCENDING or DESCENDING. SortBy *types.SortDefinition }
type GetReservationUtilizationOutput ¶
type GetReservationUtilizationOutput struct { // The amount of time that you used your RIs. // // This member is required. UtilizationsByTime []types.UtilizationByTime // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // The total amount of time that you used your RIs. Total *types.ReservationAggregates // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetRightsizingRecommendationInput ¶
type GetRightsizingRecommendationInput struct { // The specific service that you want recommendations for. The only valid value for // GetRightsizingRecommendation is "AmazonEC2". // // This member is required. Service *string // Enables you to customize recommendations across two attributes. You can choose // to view recommendations for instances within the same instance families or // across different instance families. You can also choose to view your estimated // savings associated with recommendations with consideration of existing Savings // Plans or RI benefits, or neither. Configuration *types.RightsizingRecommendationConfiguration // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple // dimension values - You can set the dimension name and values for the filters // that you plan to use. For example, you can filter for REGION==us-east-1 OR // REGION==us-west-1. For GetRightsizingRecommendation, the Region is a full name // (for example, REGION==US East (N. Virginia). The Expression example looks like: // { "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } } // The list of dimension values are OR'd together to retrieve cost or usage data. // You can create Expression and DimensionValues objects using either with* methods // or set* methods in multiple lines. // // * Compound dimension values with logical // operations - You can use multiple Expression types and the logical operators // AND/OR/NOT to create a list of one or more Expression objects. This allows you // to filter on more advanced options. For example, you can filter on ((REGION == // us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != // DataTransfer). The Expression for that looks like this: { "And": [ {"Or": [ // {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, // {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": // { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each // Expression can have only one operator, the service returns an error if more than // one is specified. The following example shows an Expression object that creates // an error. { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", // "Values": [ "DataTransfer" ] } } // // For the GetRightsizingRecommendation action, a // combination of OR and NOT is not supported. OR is not supported between // different dimensions, or dimensions and tags. NOT operators aren't supported. // Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For // the GetReservationPurchaseRecommendation action, only NOT is supported. AND and // OR are not supported. Dimensions are limited to LINKED_ACCOUNT. Filter *types.Expression // The pagination token that indicates the next set of results that you want to // retrieve. NextPageToken *string // The number of recommendations that you want returned in a single response // object. PageSize int32 }
type GetRightsizingRecommendationOutput ¶
type GetRightsizingRecommendationOutput struct { // Enables you to customize recommendations across two attributes. You can choose // to view recommendations for instances within the same instance families or // across different instance families. You can also choose to view your estimated // savings associated with recommendations with consideration of existing Savings // Plans or RI benefits, or neither. Configuration *types.RightsizingRecommendationConfiguration // Information regarding this specific recommendation set. Metadata *types.RightsizingRecommendationMetadata // The token to retrieve the next set of results. NextPageToken *string // Recommendations to rightsize resources. RightsizingRecommendations []types.RightsizingRecommendation // Summary of this recommendation set. Summary *types.RightsizingRecommendationSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetSavingsPlansCoverageAPIClient ¶
type GetSavingsPlansCoverageAPIClient interface { GetSavingsPlansCoverage(context.Context, *GetSavingsPlansCoverageInput, ...func(*Options)) (*GetSavingsPlansCoverageOutput, error) }
GetSavingsPlansCoverageAPIClient is a client that implements the GetSavingsPlansCoverage operation.
type GetSavingsPlansCoverageInput ¶
type GetSavingsPlansCoverageInput struct { // The time period that you want the usage and costs for. The Start date must be // within 13 months. The End date must be after the Start date, and before the // current date. Future dates can't be used as an End date. // // This member is required. TimePeriod *types.DateInterval // Filters Savings Plans coverage data by dimensions. You can filter data for // Savings Plans usage with the following dimensions: // // * LINKED_ACCOUNT // // * // REGION // // * SERVICE // // * INSTANCE_FAMILY // // GetSavingsPlansCoverage uses the same // Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. // If there are multiple values for a dimension, they are OR'd together. Cost // category is also supported. Filter *types.Expression // The granularity of the Amazon Web Services cost data for your Savings Plans. // Granularity can't be set if GroupBy is set. The GetSavingsPlansCoverage // operation supports only DAILY and MONTHLY granularities. Granularity types.Granularity // You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE. GroupBy []types.GroupDefinition // The number of items to be returned in a response. The default is 20, with a // minimum value of 1. MaxResults int32 // The measurement that you want your Savings Plans coverage reported in. The only // valid value is SpendCoveredBySavingsPlans. Metrics []string // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextToken *string // The value by which you want to sort the data. The following values are supported // for Key: // // * SpendCoveredBySavingsPlan // // * OnDemandCost // // * CoveragePercentage // // * // TotalCost // // * InstanceFamily // // * Region // // * Service // // Supported values for SortOrder // are ASCENDING or DESCENDING. SortBy *types.SortDefinition }
type GetSavingsPlansCoverageOutput ¶
type GetSavingsPlansCoverageOutput struct { // The amount of spend that your Savings Plans covered. // // This member is required. SavingsPlansCoverages []types.SavingsPlansCoverage // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetSavingsPlansCoveragePaginator ¶
type GetSavingsPlansCoveragePaginator struct {
// contains filtered or unexported fields
}
GetSavingsPlansCoveragePaginator is a paginator for GetSavingsPlansCoverage
func NewGetSavingsPlansCoveragePaginator ¶
func NewGetSavingsPlansCoveragePaginator(client GetSavingsPlansCoverageAPIClient, params *GetSavingsPlansCoverageInput, optFns ...func(*GetSavingsPlansCoveragePaginatorOptions)) *GetSavingsPlansCoveragePaginator
NewGetSavingsPlansCoveragePaginator returns a new GetSavingsPlansCoveragePaginator
func (*GetSavingsPlansCoveragePaginator) HasMorePages ¶
func (p *GetSavingsPlansCoveragePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetSavingsPlansCoveragePaginator) NextPage ¶
func (p *GetSavingsPlansCoveragePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetSavingsPlansCoverageOutput, error)
NextPage retrieves the next GetSavingsPlansCoverage page.
type GetSavingsPlansCoveragePaginatorOptions ¶
type GetSavingsPlansCoveragePaginatorOptions struct { // The number of items to be returned in a response. The default is 20, with a // minimum value of 1. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetSavingsPlansCoveragePaginatorOptions is the paginator options for GetSavingsPlansCoverage
type GetSavingsPlansPurchaseRecommendationInput ¶
type GetSavingsPlansPurchaseRecommendationInput struct { // The lookback period used to generate the recommendation. // // This member is required. LookbackPeriodInDays types.LookbackPeriodInDays // The payment option used to generate these recommendations. // // This member is required. PaymentOption types.PaymentOption // The Savings Plans recommendation type requested. // // This member is required. SavingsPlansType types.SupportedSavingsPlansType // The savings plan recommendation term used to generate these recommendations. // // This member is required. TermInYears types.TermInYears // The account scope that you want your recommendations for. Amazon Web Services // calculates recommendations including the management account and member accounts // if the value is set to PAYER. If the value is LINKED, recommendations are // calculated for individual member accounts only. AccountScope types.AccountScope // You can filter your recommendations by Account ID with the LINKED_ACCOUNT // dimension. To filter your recommendations by Account ID, specify Key as // LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for which you want // to see Savings Plans purchase recommendations. For // GetSavingsPlansPurchaseRecommendation, the Filter does not include // CostCategories or Tags. It only includes Dimensions. With Dimensions, Key must // be LINKED_ACCOUNT and Value can be a single Account ID or multiple // comma-separated Account IDs for which you want to see Savings Plans Purchase // Recommendations. AND and OR operators are not supported. Filter *types.Expression // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextPageToken *string // The number of recommendations that you want returned in a single response // object. PageSize int32 }
type GetSavingsPlansPurchaseRecommendationOutput ¶
type GetSavingsPlansPurchaseRecommendationOutput struct { // Information regarding this specific recommendation set. Metadata *types.SavingsPlansPurchaseRecommendationMetadata // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // Contains your request parameters, Savings Plan Recommendations Summary, and // Details. SavingsPlansPurchaseRecommendation *types.SavingsPlansPurchaseRecommendation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetSavingsPlansUtilizationDetailsAPIClient ¶
type GetSavingsPlansUtilizationDetailsAPIClient interface { GetSavingsPlansUtilizationDetails(context.Context, *GetSavingsPlansUtilizationDetailsInput, ...func(*Options)) (*GetSavingsPlansUtilizationDetailsOutput, error) }
GetSavingsPlansUtilizationDetailsAPIClient is a client that implements the GetSavingsPlansUtilizationDetails operation.
type GetSavingsPlansUtilizationDetailsInput ¶
type GetSavingsPlansUtilizationDetailsInput struct { // The time period that you want the usage and costs for. The Start date must be // within 13 months. The End date must be after the Start date, and before the // current date. Future dates can't be used as an End date. // // This member is required. TimePeriod *types.DateInterval // The data type. DataType []types.SavingsPlansDataType // Filters Savings Plans utilization coverage data for active Savings Plans // dimensions. You can filter data with the following dimensions: // // * // LINKED_ACCOUNT // // * SAVINGS_PLAN_ARN // // * REGION // // * PAYMENT_OPTION // // * // INSTANCE_TYPE_FAMILY // // GetSavingsPlansUtilizationDetails uses the same Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. Filter *types.Expression // The number of items to be returned in a response. The default is 20, with a // minimum value of 1. MaxResults int32 // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextToken *string // The value by which you want to sort the data. The following values are supported // for Key: // // * UtilizationPercentage // // * TotalCommitment // // * UsedCommitment // // * // UnusedCommitment // // * NetSavings // // * AmortizedRecurringCommitment // // * // AmortizedUpfrontCommitment // // Supported values for SortOrder are ASCENDING or // DESCENDING. SortBy *types.SortDefinition }
type GetSavingsPlansUtilizationDetailsOutput ¶
type GetSavingsPlansUtilizationDetailsOutput struct { // Retrieves a single daily or monthly Savings Plans utilization rate and details // for your account. // // This member is required. SavingsPlansUtilizationDetails []types.SavingsPlansUtilizationDetail // The time period of the request. // // This member is required. TimePeriod *types.DateInterval // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextToken *string // The total Savings Plans utilization, regardless of time period. Total *types.SavingsPlansUtilizationAggregates // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetSavingsPlansUtilizationDetailsPaginator ¶
type GetSavingsPlansUtilizationDetailsPaginator struct {
// contains filtered or unexported fields
}
GetSavingsPlansUtilizationDetailsPaginator is a paginator for GetSavingsPlansUtilizationDetails
func NewGetSavingsPlansUtilizationDetailsPaginator ¶
func NewGetSavingsPlansUtilizationDetailsPaginator(client GetSavingsPlansUtilizationDetailsAPIClient, params *GetSavingsPlansUtilizationDetailsInput, optFns ...func(*GetSavingsPlansUtilizationDetailsPaginatorOptions)) *GetSavingsPlansUtilizationDetailsPaginator
NewGetSavingsPlansUtilizationDetailsPaginator returns a new GetSavingsPlansUtilizationDetailsPaginator
func (*GetSavingsPlansUtilizationDetailsPaginator) HasMorePages ¶
func (p *GetSavingsPlansUtilizationDetailsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetSavingsPlansUtilizationDetailsPaginator) NextPage ¶
func (p *GetSavingsPlansUtilizationDetailsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetSavingsPlansUtilizationDetailsOutput, error)
NextPage retrieves the next GetSavingsPlansUtilizationDetails page.
type GetSavingsPlansUtilizationDetailsPaginatorOptions ¶
type GetSavingsPlansUtilizationDetailsPaginatorOptions struct { // The number of items to be returned in a response. The default is 20, with a // minimum value of 1. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetSavingsPlansUtilizationDetailsPaginatorOptions is the paginator options for GetSavingsPlansUtilizationDetails
type GetSavingsPlansUtilizationInput ¶
type GetSavingsPlansUtilizationInput struct { // The time period that you want the usage and costs for. The Start date must be // within 13 months. The End date must be after the Start date, and before the // current date. Future dates can't be used as an End date. // // This member is required. TimePeriod *types.DateInterval // Filters Savings Plans utilization coverage data for active Savings Plans // dimensions. You can filter data with the following dimensions: // // * // LINKED_ACCOUNT // // * SAVINGS_PLAN_ARN // // * SAVINGS_PLANS_TYPE // // * REGION // // * // PAYMENT_OPTION // // * INSTANCE_TYPE_FAMILY // // GetSavingsPlansUtilization uses the same // Expression // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. Filter *types.Expression // The granularity of the Amazon Web Services utillization data for your Savings // Plans. The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY // granularities. Granularity types.Granularity // The value by which you want to sort the data. The following values are supported // for Key: // // * UtilizationPercentage // // * TotalCommitment // // * UsedCommitment // // * // UnusedCommitment // // * NetSavings // // Supported values for SortOrder are ASCENDING or // DESCENDING. SortBy *types.SortDefinition }
type GetSavingsPlansUtilizationOutput ¶
type GetSavingsPlansUtilizationOutput struct { // The total amount of cost/commitment that you used your Savings Plans, regardless // of date ranges. // // This member is required. Total *types.SavingsPlansUtilizationAggregates // The amount of cost/commitment you used your Savings Plans. This allows you to // specify date ranges. SavingsPlansUtilizationsByTime []types.SavingsPlansUtilizationByTime // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetTagsInput ¶
type GetTagsInput struct { // The start and end dates for retrieving the dimension values. The start date is // inclusive, but the end date is exclusive. For example, if start is 2017-01-01 // and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 // up to and including 2017-04-30 but not including 2017-05-01. // // This member is required. TimePeriod *types.DateInterval // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple // dimension values - You can set the dimension name and values for the filters // that you plan to use. For example, you can filter for REGION==us-east-1 OR // REGION==us-west-1. For GetRightsizingRecommendation, the Region is a full name // (for example, REGION==US East (N. Virginia). The Expression example looks like: // { "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } } // The list of dimension values are OR'd together to retrieve cost or usage data. // You can create Expression and DimensionValues objects using either with* methods // or set* methods in multiple lines. // // * Compound dimension values with logical // operations - You can use multiple Expression types and the logical operators // AND/OR/NOT to create a list of one or more Expression objects. This allows you // to filter on more advanced options. For example, you can filter on ((REGION == // us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != // DataTransfer). The Expression for that looks like this: { "And": [ {"Or": [ // {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, // {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": // { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each // Expression can have only one operator, the service returns an error if more than // one is specified. The following example shows an Expression object that creates // an error. { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", // "Values": [ "DataTransfer" ] } } // // For the GetRightsizingRecommendation action, a // combination of OR and NOT is not supported. OR is not supported between // different dimensions, or dimensions and tags. NOT operators aren't supported. // Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For // the GetReservationPurchaseRecommendation action, only NOT is supported. AND and // OR are not supported. Dimensions are limited to LINKED_ACCOUNT. Filter *types.Expression // This field is only used when SortBy is provided in the request. The maximum // number of objects that to be returned for this request. If MaxResults is not // specified with SortBy, the request will return 1000 results as the default value // for this parameter. For GetTags, MaxResults has an upper limit of 1000. MaxResults int32 // The token to retrieve the next set of results. AWS provides the token when the // response from a previous call has more results than the maximum page size. NextPageToken *string // The value that you want to search for. SearchString *string // The value by which you want to sort the data. The key represents cost and usage // metrics. The following values are supported: // // * BlendedCost // // * UnblendedCost // // * // AmortizedCost // // * NetAmortizedCost // // * NetUnblendedCost // // * UsageQuantity // // * // NormalizedUsageAmount // // Supported values for SortOrder are ASCENDING or // DESCENDING. When using SortBy, NextPageToken and SearchString are not supported. SortBy []types.SortDefinition // The key of the tag that you want to return values for. TagKey *string }
type GetTagsOutput ¶
type GetTagsOutput struct { // The number of query results that AWS returns at a time. // // This member is required. ReturnSize *int32 // The tags that match your request. // // This member is required. Tags []string // The total number of query results. // // This member is required. TotalSize *int32 // The token for the next set of retrievable results. AWS provides the token when // the response from a previous call has more results than the maximum page size. NextPageToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetUsageForecastInput ¶
type GetUsageForecastInput struct { // How granular you want the forecast to be. You can get 3 months of DAILY // forecasts or 12 months of MONTHLY forecasts. The GetUsageForecast operation // supports only DAILY and MONTHLY granularities. // // This member is required. Granularity types.Granularity // Which metric Cost Explorer uses to create your forecast. Valid values for a // GetUsageForecast call are the following: // // * USAGE_QUANTITY // // * // NORMALIZED_USAGE_AMOUNT // // This member is required. Metric types.Metric // The start and end dates of the period that you want to retrieve usage forecast // for. The start date is inclusive, but the end date is exclusive. For example, if // start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is // retrieved from 2017-01-01 up to and including 2017-04-30 but not including // 2017-05-01. The start date must be equal to or later than the current date to // avoid a validation error. // // This member is required. TimePeriod *types.DateInterval // The filters that you want to use to filter your forecast. The GetUsageForecast // API supports filtering by the following dimensions: // // * AZ // // * INSTANCE_TYPE // // * // LINKED_ACCOUNT // // * LINKED_ACCOUNT_NAME // // * OPERATION // // * PURCHASE_TYPE // // * REGION // // * // SERVICE // // * USAGE_TYPE // // * USAGE_TYPE_GROUP // // * RECORD_TYPE // // * OPERATING_SYSTEM // // * // TENANCY // // * SCOPE // // * PLATFORM // // * SUBSCRIPTION_ID // // * LEGAL_ENTITY_NAME // // * // DEPLOYMENT_OPTION // // * DATABASE_ENGINE // // * INSTANCE_TYPE_FAMILY // // * // BILLING_ENTITY // // * RESERVATION_ID // // * SAVINGS_PLAN_ARN Filter *types.Expression // Cost Explorer always returns the mean forecast as a single point. You can // request a prediction interval around the mean by specifying a confidence level. // The higher the confidence level, the more confident Cost Explorer is about the // actual value falling in the prediction interval. Higher confidence levels result // in wider prediction intervals. PredictionIntervalLevel *int32 }
type GetUsageForecastOutput ¶
type GetUsageForecastOutput struct { // The forecasts for your query, in order. For DAILY forecasts, this is a list of // days. For MONTHLY forecasts, this is a list of months. ForecastResultsByTime []types.ForecastResult // How much you're forecasted to use over the forecast period. Total *types.MetricValue // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type ListCostCategoryDefinitionsAPIClient ¶
type ListCostCategoryDefinitionsAPIClient interface { ListCostCategoryDefinitions(context.Context, *ListCostCategoryDefinitionsInput, ...func(*Options)) (*ListCostCategoryDefinitionsOutput, error) }
ListCostCategoryDefinitionsAPIClient is a client that implements the ListCostCategoryDefinitions operation.
type ListCostCategoryDefinitionsInput ¶
type ListCostCategoryDefinitionsInput struct { // The date when the Cost Category was effective. EffectiveOn *string // The number of entries a paginated response contains. MaxResults int32 // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextToken *string }
type ListCostCategoryDefinitionsOutput ¶
type ListCostCategoryDefinitionsOutput struct { // A reference to a Cost Category containing enough information to identify the // Cost Category. CostCategoryReferences []types.CostCategoryReference // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum // page size. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListCostCategoryDefinitionsPaginator ¶
type ListCostCategoryDefinitionsPaginator struct {
// contains filtered or unexported fields
}
ListCostCategoryDefinitionsPaginator is a paginator for ListCostCategoryDefinitions
func NewListCostCategoryDefinitionsPaginator ¶
func NewListCostCategoryDefinitionsPaginator(client ListCostCategoryDefinitionsAPIClient, params *ListCostCategoryDefinitionsInput, optFns ...func(*ListCostCategoryDefinitionsPaginatorOptions)) *ListCostCategoryDefinitionsPaginator
NewListCostCategoryDefinitionsPaginator returns a new ListCostCategoryDefinitionsPaginator
func (*ListCostCategoryDefinitionsPaginator) HasMorePages ¶
func (p *ListCostCategoryDefinitionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCostCategoryDefinitionsPaginator) NextPage ¶
func (p *ListCostCategoryDefinitionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCostCategoryDefinitionsOutput, error)
NextPage retrieves the next ListCostCategoryDefinitions page.
type ListCostCategoryDefinitionsPaginatorOptions ¶
type ListCostCategoryDefinitionsPaginatorOptions struct { // The number of entries a paginated response contains. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCostCategoryDefinitionsPaginatorOptions is the paginator options for ListCostCategoryDefinitions
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type ProvideAnomalyFeedbackInput ¶
type ProvideAnomalyFeedbackInput struct { // A cost anomaly ID. // // This member is required. AnomalyId *string // Describes whether the cost anomaly was a planned activity or you considered it // an anomaly. // // This member is required. Feedback types.AnomalyFeedbackType }
type ProvideAnomalyFeedbackOutput ¶
type ProvideAnomalyFeedbackOutput struct { // The ID of the modified cost anomaly. // // This member is required. AnomalyId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type UpdateAnomalyMonitorInput ¶
type UpdateAnomalyMonitorInput struct { // Cost anomaly monitor Amazon Resource Names (ARNs). // // This member is required. MonitorArn *string // The new name for the cost anomaly monitor. MonitorName *string }
type UpdateAnomalyMonitorOutput ¶
type UpdateAnomalyMonitorOutput struct { // A cost anomaly monitor ARN. // // This member is required. MonitorArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAnomalySubscriptionInput ¶
type UpdateAnomalySubscriptionInput struct { // A cost anomaly subscription Amazon Resource Name (ARN). // // This member is required. SubscriptionArn *string // The update to the frequency value at which subscribers will receive // notifications. Frequency types.AnomalySubscriptionFrequency // A list of cost anomaly monitor ARNs. MonitorArnList []string // The update to the subscriber list. Subscribers []types.Subscriber // The subscription's new name. SubscriptionName *string // The update to the threshold value for receiving notifications. Threshold *float64 }
type UpdateAnomalySubscriptionOutput ¶
type UpdateAnomalySubscriptionOutput struct { // A cost anomaly subscription ARN. // // This member is required. SubscriptionArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateCostCategoryDefinitionInput ¶
type UpdateCostCategoryDefinitionInput struct { // The unique identifier for your Cost Category. // // This member is required. CostCategoryArn *string // The rule schema version in this particular Cost Category. // // This member is required. RuleVersion types.CostCategoryRuleVersion // The Expression object used to categorize costs. For more information, see // CostCategoryRule // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html). // // This member is required. Rules []types.CostCategoryRule }
type UpdateCostCategoryDefinitionOutput ¶
type UpdateCostCategoryDefinitionOutput struct { // The unique identifier for your Cost Category. CostCategoryArn *string // The Cost Category's effective start date. EffectiveStart *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_CreateAnomalyMonitor.go api_op_CreateAnomalySubscription.go api_op_CreateCostCategoryDefinition.go api_op_DeleteAnomalyMonitor.go api_op_DeleteAnomalySubscription.go api_op_DeleteCostCategoryDefinition.go api_op_DescribeCostCategoryDefinition.go api_op_GetAnomalies.go api_op_GetAnomalyMonitors.go api_op_GetAnomalySubscriptions.go api_op_GetCostAndUsage.go api_op_GetCostAndUsageWithResources.go api_op_GetCostCategories.go api_op_GetCostForecast.go api_op_GetDimensionValues.go api_op_GetReservationCoverage.go api_op_GetReservationPurchaseRecommendation.go api_op_GetReservationUtilization.go api_op_GetRightsizingRecommendation.go api_op_GetSavingsPlansCoverage.go api_op_GetSavingsPlansPurchaseRecommendation.go api_op_GetSavingsPlansUtilization.go api_op_GetSavingsPlansUtilizationDetails.go api_op_GetTags.go api_op_GetUsageForecast.go api_op_ListCostCategoryDefinitions.go api_op_ProvideAnomalyFeedback.go api_op_UpdateAnomalyMonitor.go api_op_UpdateAnomalySubscription.go api_op_UpdateCostCategoryDefinition.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.2.0
- Published
- Mar 18, 2021
- Platform
- js/wasm
- Imports
- 26 packages
- Last checked
- 3 weeks ago –
Tools for package owners.