Documentation ¶
Overview ¶
Package budgets provides the API client, operations, and parameter types for AWS Budgets.
Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature.
Budgets provide you with a way to see the following information:
How close your plan is to your budgeted amount or to the free tier limits
Your usage-to-date, including how much you've used of your Reserved Instances (RIs)
Your current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month
How much of your budget has been used
Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:
Cost budgets - Plan how much you want to spend on a service.
Usage budgets - Plan how much you want to use one or more services.
RI utilization budgets - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.
RI coverage budgets - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.
Service Endpoint ¶
The Amazon Web Services Budgets API provides the following endpoint:
For information about costs that are associated with the Amazon Web Services Budgets API, see Amazon Web Services Cost Management Pricing.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateBudget(ctx context.Context, params *CreateBudgetInput, optFns ...func(*Options)) (*CreateBudgetOutput, error)
- func (c *Client) CreateBudgetAction(ctx context.Context, params *CreateBudgetActionInput, optFns ...func(*Options)) (*CreateBudgetActionOutput, error)
- func (c *Client) CreateNotification(ctx context.Context, params *CreateNotificationInput, optFns ...func(*Options)) (*CreateNotificationOutput, error)
- func (c *Client) CreateSubscriber(ctx context.Context, params *CreateSubscriberInput, optFns ...func(*Options)) (*CreateSubscriberOutput, error)
- func (c *Client) DeleteBudget(ctx context.Context, params *DeleteBudgetInput, optFns ...func(*Options)) (*DeleteBudgetOutput, error)
- func (c *Client) DeleteBudgetAction(ctx context.Context, params *DeleteBudgetActionInput, optFns ...func(*Options)) (*DeleteBudgetActionOutput, error)
- func (c *Client) DeleteNotification(ctx context.Context, params *DeleteNotificationInput, optFns ...func(*Options)) (*DeleteNotificationOutput, error)
- func (c *Client) DeleteSubscriber(ctx context.Context, params *DeleteSubscriberInput, optFns ...func(*Options)) (*DeleteSubscriberOutput, error)
- func (c *Client) DescribeBudget(ctx context.Context, params *DescribeBudgetInput, optFns ...func(*Options)) (*DescribeBudgetOutput, error)
- func (c *Client) DescribeBudgetAction(ctx context.Context, params *DescribeBudgetActionInput, ...) (*DescribeBudgetActionOutput, error)
- func (c *Client) DescribeBudgetActionHistories(ctx context.Context, params *DescribeBudgetActionHistoriesInput, ...) (*DescribeBudgetActionHistoriesOutput, error)
- func (c *Client) DescribeBudgetActionsForAccount(ctx context.Context, params *DescribeBudgetActionsForAccountInput, ...) (*DescribeBudgetActionsForAccountOutput, error)
- func (c *Client) DescribeBudgetActionsForBudget(ctx context.Context, params *DescribeBudgetActionsForBudgetInput, ...) (*DescribeBudgetActionsForBudgetOutput, error)
- func (c *Client) DescribeBudgetNotificationsForAccount(ctx context.Context, params *DescribeBudgetNotificationsForAccountInput, ...) (*DescribeBudgetNotificationsForAccountOutput, error)
- func (c *Client) DescribeBudgetPerformanceHistory(ctx context.Context, params *DescribeBudgetPerformanceHistoryInput, ...) (*DescribeBudgetPerformanceHistoryOutput, error)
- func (c *Client) DescribeBudgets(ctx context.Context, params *DescribeBudgetsInput, optFns ...func(*Options)) (*DescribeBudgetsOutput, error)
- func (c *Client) DescribeNotificationsForBudget(ctx context.Context, params *DescribeNotificationsForBudgetInput, ...) (*DescribeNotificationsForBudgetOutput, error)
- func (c *Client) DescribeSubscribersForNotification(ctx context.Context, params *DescribeSubscribersForNotificationInput, ...) (*DescribeSubscribersForNotificationOutput, error)
- func (c *Client) ExecuteBudgetAction(ctx context.Context, params *ExecuteBudgetActionInput, ...) (*ExecuteBudgetActionOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateBudget(ctx context.Context, params *UpdateBudgetInput, optFns ...func(*Options)) (*UpdateBudgetOutput, error)
- func (c *Client) UpdateBudgetAction(ctx context.Context, params *UpdateBudgetActionInput, optFns ...func(*Options)) (*UpdateBudgetActionOutput, error)
- func (c *Client) UpdateNotification(ctx context.Context, params *UpdateNotificationInput, optFns ...func(*Options)) (*UpdateNotificationOutput, error)
- func (c *Client) UpdateSubscriber(ctx context.Context, params *UpdateSubscriberInput, optFns ...func(*Options)) (*UpdateSubscriberOutput, error)
- type CreateBudgetActionInput
- type CreateBudgetActionOutput
- type CreateBudgetInput
- type CreateBudgetOutput
- type CreateNotificationInput
- type CreateNotificationOutput
- type CreateSubscriberInput
- type CreateSubscriberOutput
- type DeleteBudgetActionInput
- type DeleteBudgetActionOutput
- type DeleteBudgetInput
- type DeleteBudgetOutput
- type DeleteNotificationInput
- type DeleteNotificationOutput
- type DeleteSubscriberInput
- type DeleteSubscriberOutput
- type DescribeBudgetActionHistoriesAPIClient
- type DescribeBudgetActionHistoriesInput
- type DescribeBudgetActionHistoriesOutput
- type DescribeBudgetActionHistoriesPaginator
- type DescribeBudgetActionHistoriesPaginatorOptions
- type DescribeBudgetActionInput
- type DescribeBudgetActionOutput
- type DescribeBudgetActionsForAccountAPIClient
- type DescribeBudgetActionsForAccountInput
- type DescribeBudgetActionsForAccountOutput
- type DescribeBudgetActionsForAccountPaginator
- type DescribeBudgetActionsForAccountPaginatorOptions
- type DescribeBudgetActionsForBudgetAPIClient
- type DescribeBudgetActionsForBudgetInput
- type DescribeBudgetActionsForBudgetOutput
- type DescribeBudgetActionsForBudgetPaginator
- type DescribeBudgetActionsForBudgetPaginatorOptions
- type DescribeBudgetInput
- type DescribeBudgetNotificationsForAccountAPIClient
- type DescribeBudgetNotificationsForAccountInput
- type DescribeBudgetNotificationsForAccountOutput
- type DescribeBudgetNotificationsForAccountPaginator
- type DescribeBudgetNotificationsForAccountPaginatorOptions
- type DescribeBudgetOutput
- type DescribeBudgetPerformanceHistoryAPIClient
- type DescribeBudgetPerformanceHistoryInput
- type DescribeBudgetPerformanceHistoryOutput
- type DescribeBudgetPerformanceHistoryPaginator
- type DescribeBudgetPerformanceHistoryPaginatorOptions
- type DescribeBudgetsAPIClient
- type DescribeBudgetsInput
- type DescribeBudgetsOutput
- type DescribeBudgetsPaginator
- type DescribeBudgetsPaginatorOptions
- type DescribeNotificationsForBudgetAPIClient
- type DescribeNotificationsForBudgetInput
- type DescribeNotificationsForBudgetOutput
- type DescribeNotificationsForBudgetPaginator
- type DescribeNotificationsForBudgetPaginatorOptions
- type DescribeSubscribersForNotificationAPIClient
- type DescribeSubscribersForNotificationInput
- type DescribeSubscribersForNotificationOutput
- type DescribeSubscribersForNotificationPaginator
- type DescribeSubscribersForNotificationPaginatorOptions
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type ExecuteBudgetActionInput
- type ExecuteBudgetActionOutput
- type HTTPClient
- type HTTPSignerV4
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateBudgetActionInput
- type UpdateBudgetActionOutput
- type UpdateBudgetInput
- type UpdateBudgetOutput
- type UpdateNotificationInput
- type UpdateNotificationOutput
- type UpdateSubscriberInput
- type UpdateSubscriberOutput
Constants ¶
const ServiceAPIVersion = "2016-10-20"
const ServiceID = "Budgets"
Variables ¶
This section is empty.
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
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Budgets.
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) CreateBudget ¶
func (c *Client) CreateBudget(ctx context.Context, params *CreateBudgetInput, optFns ...func(*Options)) (*CreateBudgetOutput, error)
Creates a budget and, if included, notifications and subscribers.
Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits , see the Examples section.
func (*Client) CreateBudgetAction ¶
func (c *Client) CreateBudgetAction(ctx context.Context, params *CreateBudgetActionInput, optFns ...func(*Options)) (*CreateBudgetActionOutput, error)
Creates a budget action.
func (*Client) CreateNotification ¶
func (c *Client) CreateNotification(ctx context.Context, params *CreateNotificationInput, optFns ...func(*Options)) (*CreateNotificationOutput, error)
Creates a notification. You must create the budget before you create the associated notification.
func (*Client) CreateSubscriber ¶
func (c *Client) CreateSubscriber(ctx context.Context, params *CreateSubscriberInput, optFns ...func(*Options)) (*CreateSubscriberOutput, error)
Creates a subscriber. You must create the associated budget and notification before you create the subscriber.
func (*Client) DeleteBudget ¶
func (c *Client) DeleteBudget(ctx context.Context, params *DeleteBudgetInput, optFns ...func(*Options)) (*DeleteBudgetOutput, error)
Deletes a budget. You can delete your budget at any time.
Deleting a budget also deletes the notifications and subscribers that are associated with that budget.
func (*Client) DeleteBudgetAction ¶
func (c *Client) DeleteBudgetAction(ctx context.Context, params *DeleteBudgetActionInput, optFns ...func(*Options)) (*DeleteBudgetActionOutput, error)
Deletes a budget action.
func (*Client) DeleteNotification ¶
func (c *Client) DeleteNotification(ctx context.Context, params *DeleteNotificationInput, optFns ...func(*Options)) (*DeleteNotificationOutput, error)
Deletes a notification.
Deleting a notification also deletes the subscribers that are associated with the notification.
func (*Client) DeleteSubscriber ¶
func (c *Client) DeleteSubscriber(ctx context.Context, params *DeleteSubscriberInput, optFns ...func(*Options)) (*DeleteSubscriberOutput, error)
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
func (*Client) DescribeBudget ¶
func (c *Client) DescribeBudget(ctx context.Context, params *DescribeBudgetInput, optFns ...func(*Options)) (*DescribeBudgetOutput, error)
Describes a budget.
The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits , see the Examplessection.
func (*Client) DescribeBudgetAction ¶
func (c *Client) DescribeBudgetAction(ctx context.Context, params *DescribeBudgetActionInput, optFns ...func(*Options)) (*DescribeBudgetActionOutput, error)
Describes a budget action detail.
func (*Client) DescribeBudgetActionHistories ¶
func (c *Client) DescribeBudgetActionHistories(ctx context.Context, params *DescribeBudgetActionHistoriesInput, optFns ...func(*Options)) (*DescribeBudgetActionHistoriesOutput, error)
Describes a budget action history detail.
func (*Client) DescribeBudgetActionsForAccount ¶
func (c *Client) DescribeBudgetActionsForAccount(ctx context.Context, params *DescribeBudgetActionsForAccountInput, optFns ...func(*Options)) (*DescribeBudgetActionsForAccountOutput, error)
Describes all of the budget actions for an account.
func (*Client) DescribeBudgetActionsForBudget ¶
func (c *Client) DescribeBudgetActionsForBudget(ctx context.Context, params *DescribeBudgetActionsForBudgetInput, optFns ...func(*Options)) (*DescribeBudgetActionsForBudgetOutput, error)
Describes all of the budget actions for a budget.
func (*Client) DescribeBudgetNotificationsForAccount ¶
func (c *Client) DescribeBudgetNotificationsForAccount(ctx context.Context, params *DescribeBudgetNotificationsForAccountInput, optFns ...func(*Options)) (*DescribeBudgetNotificationsForAccountOutput, error)
Lists the budget names and notifications that are associated with an account.
func (*Client) DescribeBudgetPerformanceHistory ¶
func (c *Client) DescribeBudgetPerformanceHistory(ctx context.Context, params *DescribeBudgetPerformanceHistoryInput, optFns ...func(*Options)) (*DescribeBudgetPerformanceHistoryOutput, error)
Describes the history for DAILY , MONTHLY , and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.
func (*Client) DescribeBudgets ¶
func (c *Client) DescribeBudgets(ctx context.Context, params *DescribeBudgetsInput, optFns ...func(*Options)) (*DescribeBudgetsOutput, error)
Lists the budgets that are associated with an account.
The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits , see the Examplessection.
func (*Client) DescribeNotificationsForBudget ¶
func (c *Client) DescribeNotificationsForBudget(ctx context.Context, params *DescribeNotificationsForBudgetInput, optFns ...func(*Options)) (*DescribeNotificationsForBudgetOutput, error)
Lists the notifications that are associated with a budget.
func (*Client) DescribeSubscribersForNotification ¶
func (c *Client) DescribeSubscribersForNotification(ctx context.Context, params *DescribeSubscribersForNotificationInput, optFns ...func(*Options)) (*DescribeSubscribersForNotificationOutput, error)
Lists the subscribers that are associated with a notification.
func (*Client) ExecuteBudgetAction ¶
func (c *Client) ExecuteBudgetAction(ctx context.Context, params *ExecuteBudgetActionInput, optFns ...func(*Options)) (*ExecuteBudgetActionOutput, error)
Executes a budget action.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists tags associated with a budget or budget action resource.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Creates tags for a budget or budget action resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes tags associated with a budget or budget action resource.
func (*Client) UpdateBudget ¶
func (c *Client) UpdateBudget(ctx context.Context, params *UpdateBudgetInput, optFns ...func(*Options)) (*UpdateBudgetOutput, error)
Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend . When you modify a budget, the calculatedSpend drops to zero until Amazon Web Services has new usage data to use for forecasting.
Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits , see the Examples section.
func (*Client) UpdateBudgetAction ¶
func (c *Client) UpdateBudgetAction(ctx context.Context, params *UpdateBudgetActionInput, optFns ...func(*Options)) (*UpdateBudgetActionOutput, error)
Updates a budget action.
func (*Client) UpdateNotification ¶
func (c *Client) UpdateNotification(ctx context.Context, params *UpdateNotificationInput, optFns ...func(*Options)) (*UpdateNotificationOutput, error)
Updates a notification.
func (*Client) UpdateSubscriber ¶
func (c *Client) UpdateSubscriber(ctx context.Context, params *UpdateSubscriberInput, optFns ...func(*Options)) (*UpdateSubscriberOutput, error)
Updates a subscriber.
type CreateBudgetActionInput ¶
type CreateBudgetActionInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // The trigger threshold of the action. // // This member is required. ActionThreshold *types.ActionThreshold // The type of action. This defines the type of tasks that can be carried out by // this action. This field also determines the format for definition. // // This member is required. ActionType types.ActionType // This specifies if the action needs manual or automatic approval. // // This member is required. ApprovalModel types.ApprovalModel // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // Specifies all of the type-specific parameters. // // This member is required. Definition *types.Definition // The role passed for action execution and reversion. Roles and actions must be // in the same account. // // This member is required. ExecutionRoleArn *string // The type of a notification. It must be ACTUAL or FORECASTED. // // This member is required. NotificationType types.NotificationType // A list of subscribers. // // This member is required. Subscribers []types.Subscriber // An optional list of tags to associate with the specified budget action. Each // tag consists of a key and a value, and each key must be unique for the resource. ResourceTags []types.ResourceTag // contains filtered or unexported fields }
type CreateBudgetActionOutput ¶
type CreateBudgetActionOutput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateBudgetInput ¶
type CreateBudgetInput struct { // The accountId that is associated with the budget. // // This member is required. AccountId *string // The budget object that you want to create. // // This member is required. Budget *types.Budget // A notification that you want to associate with a budget. A budget can have up // to five notifications, and each notification can have one SNS subscriber and up // to 10 email subscribers. If you include notifications and subscribers in your // CreateBudget call, Amazon Web Services creates the notifications and subscribers // for you. NotificationsWithSubscribers []types.NotificationWithSubscribers // An optional list of tags to associate with the specified budget. Each tag // consists of a key and a value, and each key must be unique for the resource. ResourceTags []types.ResourceTag // contains filtered or unexported fields }
Request of CreateBudget
type CreateBudgetOutput ¶
type CreateBudgetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of CreateBudget
type CreateNotificationInput ¶
type CreateNotificationInput struct { // The accountId that is associated with the budget that you want to create a // notification for. // // This member is required. AccountId *string // The name of the budget that you want Amazon Web Services to notify you about. // Budget names must be unique within an account. // // This member is required. BudgetName *string // The notification that you want to create. // // This member is required. Notification *types.Notification // A list of subscribers that you want to associate with the notification. Each // notification can have one SNS subscriber and up to 10 email subscribers. // // This member is required. Subscribers []types.Subscriber // contains filtered or unexported fields }
Request of CreateNotification
type CreateNotificationOutput ¶
type CreateNotificationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of CreateNotification
type CreateSubscriberInput ¶
type CreateSubscriberInput struct { // The accountId that is associated with the budget that you want to create a // subscriber for. // // This member is required. AccountId *string // The name of the budget that you want to subscribe to. Budget names must be // unique within an account. // // This member is required. BudgetName *string // The notification that you want to create a subscriber for. // // This member is required. Notification *types.Notification // The subscriber that you want to associate with a budget notification. // // This member is required. Subscriber *types.Subscriber // contains filtered or unexported fields }
Request of CreateSubscriber
type CreateSubscriberOutput ¶
type CreateSubscriberOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of CreateSubscriber
type DeleteBudgetActionInput ¶
type DeleteBudgetActionInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // contains filtered or unexported fields }
type DeleteBudgetActionOutput ¶
type DeleteBudgetActionOutput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A budget action resource. // // This member is required. Action *types.Action // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBudgetInput ¶
type DeleteBudgetInput struct { // The accountId that is associated with the budget that you want to delete. // // This member is required. AccountId *string // The name of the budget that you want to delete. // // This member is required. BudgetName *string // contains filtered or unexported fields }
Request of DeleteBudget
type DeleteBudgetOutput ¶
type DeleteBudgetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of DeleteBudget
type DeleteNotificationInput ¶
type DeleteNotificationInput struct { // The accountId that is associated with the budget whose notification you want to // delete. // // This member is required. AccountId *string // The name of the budget whose notification you want to delete. // // This member is required. BudgetName *string // The notification that you want to delete. // // This member is required. Notification *types.Notification // contains filtered or unexported fields }
Request of DeleteNotification
type DeleteNotificationOutput ¶
type DeleteNotificationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of DeleteNotification
type DeleteSubscriberInput ¶
type DeleteSubscriberInput struct { // The accountId that is associated with the budget whose subscriber you want to // delete. // // This member is required. AccountId *string // The name of the budget whose subscriber you want to delete. // // This member is required. BudgetName *string // The notification whose subscriber you want to delete. // // This member is required. Notification *types.Notification // The subscriber that you want to delete. // // This member is required. Subscriber *types.Subscriber // contains filtered or unexported fields }
Request of DeleteSubscriber
type DeleteSubscriberOutput ¶
type DeleteSubscriberOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of DeleteSubscriber
type DescribeBudgetActionHistoriesAPIClient ¶
type DescribeBudgetActionHistoriesAPIClient interface {
DescribeBudgetActionHistories(context.Context, *DescribeBudgetActionHistoriesInput, ...func(*Options)) (*DescribeBudgetActionHistoriesOutput, error)
}
DescribeBudgetActionHistoriesAPIClient is a client that implements the DescribeBudgetActionHistories operation.
type DescribeBudgetActionHistoriesInput ¶
type DescribeBudgetActionHistoriesInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // An integer that represents how many entries a paginated response contains. The // maximum is 100. MaxResults *int32 // A generic string. NextToken *string // The period of time that's covered by a budget. The period has a start date and // an end date. The start date must come before the end date. There are no // restrictions on the end date. TimePeriod *types.TimePeriod // contains filtered or unexported fields }
type DescribeBudgetActionHistoriesOutput ¶
type DescribeBudgetActionHistoriesOutput struct { // The historical record of the budget action resource. // // This member is required. ActionHistories []types.ActionHistory // A generic string. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBudgetActionHistoriesPaginator ¶
type DescribeBudgetActionHistoriesPaginator struct {
// contains filtered or unexported fields
}
DescribeBudgetActionHistoriesPaginator is a paginator for DescribeBudgetActionHistories
func NewDescribeBudgetActionHistoriesPaginator ¶
func NewDescribeBudgetActionHistoriesPaginator(client DescribeBudgetActionHistoriesAPIClient, params *DescribeBudgetActionHistoriesInput, optFns ...func(*DescribeBudgetActionHistoriesPaginatorOptions)) *DescribeBudgetActionHistoriesPaginator
NewDescribeBudgetActionHistoriesPaginator returns a new DescribeBudgetActionHistoriesPaginator
func (*DescribeBudgetActionHistoriesPaginator) HasMorePages ¶
func (p *DescribeBudgetActionHistoriesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeBudgetActionHistoriesPaginator) NextPage ¶
func (p *DescribeBudgetActionHistoriesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeBudgetActionHistoriesOutput, error)
NextPage retrieves the next DescribeBudgetActionHistories page.
type DescribeBudgetActionHistoriesPaginatorOptions ¶
type DescribeBudgetActionHistoriesPaginatorOptions struct { // An integer that represents how many entries a paginated response contains. The // maximum is 100. 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 }
DescribeBudgetActionHistoriesPaginatorOptions is the paginator options for DescribeBudgetActionHistories
type DescribeBudgetActionInput ¶
type DescribeBudgetActionInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // contains filtered or unexported fields }
type DescribeBudgetActionOutput ¶
type DescribeBudgetActionOutput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A budget action resource. // // This member is required. Action *types.Action // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBudgetActionsForAccountAPIClient ¶
type DescribeBudgetActionsForAccountAPIClient interface {
DescribeBudgetActionsForAccount(context.Context, *DescribeBudgetActionsForAccountInput, ...func(*Options)) (*DescribeBudgetActionsForAccountOutput, error)
}
DescribeBudgetActionsForAccountAPIClient is a client that implements the DescribeBudgetActionsForAccount operation.
type DescribeBudgetActionsForAccountInput ¶
type DescribeBudgetActionsForAccountInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // An integer that represents how many entries a paginated response contains. The // maximum is 100. MaxResults *int32 // A generic string. NextToken *string // contains filtered or unexported fields }
type DescribeBudgetActionsForAccountOutput ¶
type DescribeBudgetActionsForAccountOutput struct { // A list of the budget action resources information. // // This member is required. Actions []types.Action // A generic string. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBudgetActionsForAccountPaginator ¶
type DescribeBudgetActionsForAccountPaginator struct {
// contains filtered or unexported fields
}
DescribeBudgetActionsForAccountPaginator is a paginator for DescribeBudgetActionsForAccount
func NewDescribeBudgetActionsForAccountPaginator ¶
func NewDescribeBudgetActionsForAccountPaginator(client DescribeBudgetActionsForAccountAPIClient, params *DescribeBudgetActionsForAccountInput, optFns ...func(*DescribeBudgetActionsForAccountPaginatorOptions)) *DescribeBudgetActionsForAccountPaginator
NewDescribeBudgetActionsForAccountPaginator returns a new DescribeBudgetActionsForAccountPaginator
func (*DescribeBudgetActionsForAccountPaginator) HasMorePages ¶
func (p *DescribeBudgetActionsForAccountPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeBudgetActionsForAccountPaginator) NextPage ¶
func (p *DescribeBudgetActionsForAccountPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeBudgetActionsForAccountOutput, error)
NextPage retrieves the next DescribeBudgetActionsForAccount page.
type DescribeBudgetActionsForAccountPaginatorOptions ¶
type DescribeBudgetActionsForAccountPaginatorOptions struct { // An integer that represents how many entries a paginated response contains. The // maximum is 100. 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 }
DescribeBudgetActionsForAccountPaginatorOptions is the paginator options for DescribeBudgetActionsForAccount
type DescribeBudgetActionsForBudgetAPIClient ¶
type DescribeBudgetActionsForBudgetAPIClient interface {
DescribeBudgetActionsForBudget(context.Context, *DescribeBudgetActionsForBudgetInput, ...func(*Options)) (*DescribeBudgetActionsForBudgetOutput, error)
}
DescribeBudgetActionsForBudgetAPIClient is a client that implements the DescribeBudgetActionsForBudget operation.
type DescribeBudgetActionsForBudgetInput ¶
type DescribeBudgetActionsForBudgetInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // An integer that represents how many entries a paginated response contains. The // maximum is 100. MaxResults *int32 // A generic string. NextToken *string // contains filtered or unexported fields }
type DescribeBudgetActionsForBudgetOutput ¶
type DescribeBudgetActionsForBudgetOutput struct { // A list of the budget action resources information. // // This member is required. Actions []types.Action // A generic string. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBudgetActionsForBudgetPaginator ¶
type DescribeBudgetActionsForBudgetPaginator struct {
// contains filtered or unexported fields
}
DescribeBudgetActionsForBudgetPaginator is a paginator for DescribeBudgetActionsForBudget
func NewDescribeBudgetActionsForBudgetPaginator ¶
func NewDescribeBudgetActionsForBudgetPaginator(client DescribeBudgetActionsForBudgetAPIClient, params *DescribeBudgetActionsForBudgetInput, optFns ...func(*DescribeBudgetActionsForBudgetPaginatorOptions)) *DescribeBudgetActionsForBudgetPaginator
NewDescribeBudgetActionsForBudgetPaginator returns a new DescribeBudgetActionsForBudgetPaginator
func (*DescribeBudgetActionsForBudgetPaginator) HasMorePages ¶
func (p *DescribeBudgetActionsForBudgetPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeBudgetActionsForBudgetPaginator) NextPage ¶
func (p *DescribeBudgetActionsForBudgetPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeBudgetActionsForBudgetOutput, error)
NextPage retrieves the next DescribeBudgetActionsForBudget page.
type DescribeBudgetActionsForBudgetPaginatorOptions ¶
type DescribeBudgetActionsForBudgetPaginatorOptions struct { // An integer that represents how many entries a paginated response contains. The // maximum is 100. 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 }
DescribeBudgetActionsForBudgetPaginatorOptions is the paginator options for DescribeBudgetActionsForBudget
type DescribeBudgetInput ¶
type DescribeBudgetInput struct { // The accountId that is associated with the budget that you want a description of. // // This member is required. AccountId *string // The name of the budget that you want a description of. // // This member is required. BudgetName *string // contains filtered or unexported fields }
Request of DescribeBudget
type DescribeBudgetNotificationsForAccountAPIClient ¶
type DescribeBudgetNotificationsForAccountAPIClient interface {
DescribeBudgetNotificationsForAccount(context.Context, *DescribeBudgetNotificationsForAccountInput, ...func(*Options)) (*DescribeBudgetNotificationsForAccountOutput, error)
}
DescribeBudgetNotificationsForAccountAPIClient is a client that implements the DescribeBudgetNotificationsForAccount operation.
type DescribeBudgetNotificationsForAccountInput ¶
type DescribeBudgetNotificationsForAccountInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // An integer that represents how many budgets a paginated response contains. The // default is 50. MaxResults *int32 // A generic string. NextToken *string // contains filtered or unexported fields }
type DescribeBudgetNotificationsForAccountOutput ¶
type DescribeBudgetNotificationsForAccountOutput struct { // A list of budget names and associated notifications for an account. BudgetNotificationsForAccount []types.BudgetNotificationsForAccount // A generic string. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBudgetNotificationsForAccountPaginator ¶
type DescribeBudgetNotificationsForAccountPaginator struct {
// contains filtered or unexported fields
}
DescribeBudgetNotificationsForAccountPaginator is a paginator for DescribeBudgetNotificationsForAccount
func NewDescribeBudgetNotificationsForAccountPaginator ¶
func NewDescribeBudgetNotificationsForAccountPaginator(client DescribeBudgetNotificationsForAccountAPIClient, params *DescribeBudgetNotificationsForAccountInput, optFns ...func(*DescribeBudgetNotificationsForAccountPaginatorOptions)) *DescribeBudgetNotificationsForAccountPaginator
NewDescribeBudgetNotificationsForAccountPaginator returns a new DescribeBudgetNotificationsForAccountPaginator
func (*DescribeBudgetNotificationsForAccountPaginator) HasMorePages ¶
func (p *DescribeBudgetNotificationsForAccountPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeBudgetNotificationsForAccountPaginator) NextPage ¶
func (p *DescribeBudgetNotificationsForAccountPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeBudgetNotificationsForAccountOutput, error)
NextPage retrieves the next DescribeBudgetNotificationsForAccount page.
type DescribeBudgetNotificationsForAccountPaginatorOptions ¶
type DescribeBudgetNotificationsForAccountPaginatorOptions struct { // An integer that represents how many budgets a paginated response contains. The // default is 50. 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 }
DescribeBudgetNotificationsForAccountPaginatorOptions is the paginator options for DescribeBudgetNotificationsForAccount
type DescribeBudgetOutput ¶
type DescribeBudgetOutput struct { // The description of the budget. Budget *types.Budget // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of DescribeBudget
type DescribeBudgetPerformanceHistoryAPIClient ¶
type DescribeBudgetPerformanceHistoryAPIClient interface {
DescribeBudgetPerformanceHistory(context.Context, *DescribeBudgetPerformanceHistoryInput, ...func(*Options)) (*DescribeBudgetPerformanceHistoryOutput, error)
}
DescribeBudgetPerformanceHistoryAPIClient is a client that implements the DescribeBudgetPerformanceHistory operation.
type DescribeBudgetPerformanceHistoryInput ¶
type DescribeBudgetPerformanceHistoryInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // An integer that represents how many entries a paginated response contains. The // maximum is 100. MaxResults *int32 // A generic string. NextToken *string // Retrieves how often the budget went into an ALARM state for the specified time // period. TimePeriod *types.TimePeriod // contains filtered or unexported fields }
type DescribeBudgetPerformanceHistoryOutput ¶
type DescribeBudgetPerformanceHistoryOutput struct { // The history of how often the budget has gone into an ALARM state. // // For DAILY budgets, the history saves the state of the budget for the last 60 // days. For MONTHLY budgets, the history saves the state of the budget for the // current month plus the last 12 months. For QUARTERLY budgets, the history saves // the state of the budget for the last four quarters. BudgetPerformanceHistory *types.BudgetPerformanceHistory // A generic string. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBudgetPerformanceHistoryPaginator ¶
type DescribeBudgetPerformanceHistoryPaginator struct {
// contains filtered or unexported fields
}
DescribeBudgetPerformanceHistoryPaginator is a paginator for DescribeBudgetPerformanceHistory
func NewDescribeBudgetPerformanceHistoryPaginator ¶
func NewDescribeBudgetPerformanceHistoryPaginator(client DescribeBudgetPerformanceHistoryAPIClient, params *DescribeBudgetPerformanceHistoryInput, optFns ...func(*DescribeBudgetPerformanceHistoryPaginatorOptions)) *DescribeBudgetPerformanceHistoryPaginator
NewDescribeBudgetPerformanceHistoryPaginator returns a new DescribeBudgetPerformanceHistoryPaginator
func (*DescribeBudgetPerformanceHistoryPaginator) HasMorePages ¶
func (p *DescribeBudgetPerformanceHistoryPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeBudgetPerformanceHistoryPaginator) NextPage ¶
func (p *DescribeBudgetPerformanceHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeBudgetPerformanceHistoryOutput, error)
NextPage retrieves the next DescribeBudgetPerformanceHistory page.
type DescribeBudgetPerformanceHistoryPaginatorOptions ¶
type DescribeBudgetPerformanceHistoryPaginatorOptions struct { // An integer that represents how many entries a paginated response contains. The // maximum is 100. 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 }
DescribeBudgetPerformanceHistoryPaginatorOptions is the paginator options for DescribeBudgetPerformanceHistory
type DescribeBudgetsAPIClient ¶
type DescribeBudgetsAPIClient interface {
DescribeBudgets(context.Context, *DescribeBudgetsInput, ...func(*Options)) (*DescribeBudgetsOutput, error)
}
DescribeBudgetsAPIClient is a client that implements the DescribeBudgets operation.
type DescribeBudgetsInput ¶
type DescribeBudgetsInput struct { // The accountId that is associated with the budgets that you want to describe. // // This member is required. AccountId *string // An integer that represents how many budgets a paginated response contains. The // default is 100. MaxResults *int32 // The pagination token that you include in your request to indicate the next set // of results that you want to retrieve. NextToken *string // contains filtered or unexported fields }
Request of DescribeBudgets
type DescribeBudgetsOutput ¶
type DescribeBudgetsOutput struct { // A list of budgets. Budgets []types.Budget // The pagination token in the service response that indicates the next set of // results that you can retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of DescribeBudgets
type DescribeBudgetsPaginator ¶
type DescribeBudgetsPaginator struct {
// contains filtered or unexported fields
}
DescribeBudgetsPaginator is a paginator for DescribeBudgets
func NewDescribeBudgetsPaginator ¶
func NewDescribeBudgetsPaginator(client DescribeBudgetsAPIClient, params *DescribeBudgetsInput, optFns ...func(*DescribeBudgetsPaginatorOptions)) *DescribeBudgetsPaginator
NewDescribeBudgetsPaginator returns a new DescribeBudgetsPaginator
func (*DescribeBudgetsPaginator) HasMorePages ¶
func (p *DescribeBudgetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeBudgetsPaginator) NextPage ¶
func (p *DescribeBudgetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeBudgetsOutput, error)
NextPage retrieves the next DescribeBudgets page.
type DescribeBudgetsPaginatorOptions ¶
type DescribeBudgetsPaginatorOptions struct { // An integer that represents how many budgets a paginated response contains. The // default is 100. 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 }
DescribeBudgetsPaginatorOptions is the paginator options for DescribeBudgets
type DescribeNotificationsForBudgetAPIClient ¶
type DescribeNotificationsForBudgetAPIClient interface {
DescribeNotificationsForBudget(context.Context, *DescribeNotificationsForBudgetInput, ...func(*Options)) (*DescribeNotificationsForBudgetOutput, error)
}
DescribeNotificationsForBudgetAPIClient is a client that implements the DescribeNotificationsForBudget operation.
type DescribeNotificationsForBudgetInput ¶
type DescribeNotificationsForBudgetInput struct { // The accountId that is associated with the budget whose notifications you want // descriptions of. // // This member is required. AccountId *string // The name of the budget whose notifications you want descriptions of. // // This member is required. BudgetName *string // An optional integer that represents how many entries a paginated response // contains. MaxResults *int32 // The pagination token that you include in your request to indicate the next set // of results that you want to retrieve. NextToken *string // contains filtered or unexported fields }
Request of DescribeNotificationsForBudget
type DescribeNotificationsForBudgetOutput ¶
type DescribeNotificationsForBudgetOutput struct { // The pagination token in the service response that indicates the next set of // results that you can retrieve. NextToken *string // A list of notifications that are associated with a budget. Notifications []types.Notification // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of GetNotificationsForBudget
type DescribeNotificationsForBudgetPaginator ¶
type DescribeNotificationsForBudgetPaginator struct {
// contains filtered or unexported fields
}
DescribeNotificationsForBudgetPaginator is a paginator for DescribeNotificationsForBudget
func NewDescribeNotificationsForBudgetPaginator ¶
func NewDescribeNotificationsForBudgetPaginator(client DescribeNotificationsForBudgetAPIClient, params *DescribeNotificationsForBudgetInput, optFns ...func(*DescribeNotificationsForBudgetPaginatorOptions)) *DescribeNotificationsForBudgetPaginator
NewDescribeNotificationsForBudgetPaginator returns a new DescribeNotificationsForBudgetPaginator
func (*DescribeNotificationsForBudgetPaginator) HasMorePages ¶
func (p *DescribeNotificationsForBudgetPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeNotificationsForBudgetPaginator) NextPage ¶
func (p *DescribeNotificationsForBudgetPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeNotificationsForBudgetOutput, error)
NextPage retrieves the next DescribeNotificationsForBudget page.
type DescribeNotificationsForBudgetPaginatorOptions ¶
type DescribeNotificationsForBudgetPaginatorOptions struct { // An optional integer that represents how many 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 }
DescribeNotificationsForBudgetPaginatorOptions is the paginator options for DescribeNotificationsForBudget
type DescribeSubscribersForNotificationAPIClient ¶
type DescribeSubscribersForNotificationAPIClient interface {
DescribeSubscribersForNotification(context.Context, *DescribeSubscribersForNotificationInput, ...func(*Options)) (*DescribeSubscribersForNotificationOutput, error)
}
DescribeSubscribersForNotificationAPIClient is a client that implements the DescribeSubscribersForNotification operation.
type DescribeSubscribersForNotificationInput ¶
type DescribeSubscribersForNotificationInput struct { // The accountId that is associated with the budget whose subscribers you want // descriptions of. // // This member is required. AccountId *string // The name of the budget whose subscribers you want descriptions of. // // This member is required. BudgetName *string // The notification whose subscribers you want to list. // // This member is required. Notification *types.Notification // An optional integer that represents how many entries a paginated response // contains. MaxResults *int32 // The pagination token that you include in your request to indicate the next set // of results that you want to retrieve. NextToken *string // contains filtered or unexported fields }
Request of DescribeSubscribersForNotification
type DescribeSubscribersForNotificationOutput ¶
type DescribeSubscribersForNotificationOutput struct { // The pagination token in the service response that indicates the next set of // results that you can retrieve. NextToken *string // A list of subscribers that are associated with a notification. Subscribers []types.Subscriber // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of DescribeSubscribersForNotification
type DescribeSubscribersForNotificationPaginator ¶
type DescribeSubscribersForNotificationPaginator struct {
// contains filtered or unexported fields
}
DescribeSubscribersForNotificationPaginator is a paginator for DescribeSubscribersForNotification
func NewDescribeSubscribersForNotificationPaginator ¶
func NewDescribeSubscribersForNotificationPaginator(client DescribeSubscribersForNotificationAPIClient, params *DescribeSubscribersForNotificationInput, optFns ...func(*DescribeSubscribersForNotificationPaginatorOptions)) *DescribeSubscribersForNotificationPaginator
NewDescribeSubscribersForNotificationPaginator returns a new DescribeSubscribersForNotificationPaginator
func (*DescribeSubscribersForNotificationPaginator) HasMorePages ¶
func (p *DescribeSubscribersForNotificationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeSubscribersForNotificationPaginator) NextPage ¶
func (p *DescribeSubscribersForNotificationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeSubscribersForNotificationOutput, error)
NextPage retrieves the next DescribeSubscribersForNotification page.
type DescribeSubscribersForNotificationPaginatorOptions ¶
type DescribeSubscribersForNotificationPaginatorOptions struct { // An optional integer that represents how many 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 }
DescribeSubscribersForNotificationPaginatorOptions is the paginator options for DescribeSubscribersForNotification
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
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 EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type ExecuteBudgetActionInput ¶
type ExecuteBudgetActionInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // The type of execution. // // This member is required. ExecutionType types.ExecutionType // contains filtered or unexported fields }
type ExecuteBudgetActionOutput ¶
type ExecuteBudgetActionOutput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // The type of execution. // // This member is required. ExecutionType types.ExecutionType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The unique identifier for the resource. // // This member is required. ResourceARN *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags associated with the resource. ResourceTags []types.ResourceTag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // 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 configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // 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 // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
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 TagResourceInput ¶
type TagResourceInput struct { // The unique identifier for the resource. // // This member is required. ResourceARN *string // The tags associated with the resource. // // This member is required. ResourceTags []types.ResourceTag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateBudgetActionInput ¶
type UpdateBudgetActionInput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A system-generated universally unique identifier (UUID) for the action. // // This member is required. ActionId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // The trigger threshold of the action. ActionThreshold *types.ActionThreshold // This specifies if the action needs manual or automatic approval. ApprovalModel types.ApprovalModel // Specifies all of the type-specific parameters. Definition *types.Definition // The role passed for action execution and reversion. Roles and actions must be // in the same account. ExecutionRoleArn *string // The type of a notification. It must be ACTUAL or FORECASTED. NotificationType types.NotificationType // A list of subscribers. Subscribers []types.Subscriber // contains filtered or unexported fields }
type UpdateBudgetActionOutput ¶
type UpdateBudgetActionOutput struct { // The account ID of the user. It's a 12-digit number. // // This member is required. AccountId *string // A string that represents the budget name. The ":" and "\" characters, and the // "/action/" substring, aren't allowed. // // This member is required. BudgetName *string // The updated action resource information. // // This member is required. NewAction *types.Action // The previous action resource information. // // This member is required. OldAction *types.Action // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateBudgetInput ¶
type UpdateBudgetInput struct { // The accountId that is associated with the budget that you want to update. // // This member is required. AccountId *string // The budget that you want to update your budget to. // // This member is required. NewBudget *types.Budget // contains filtered or unexported fields }
Request of UpdateBudget
type UpdateBudgetOutput ¶
type UpdateBudgetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of UpdateBudget
type UpdateNotificationInput ¶
type UpdateNotificationInput struct { // The accountId that is associated with the budget whose notification you want to // update. // // This member is required. AccountId *string // The name of the budget whose notification you want to update. // // This member is required. BudgetName *string // The updated notification to be associated with a budget. // // This member is required. NewNotification *types.Notification // The previous notification that is associated with a budget. // // This member is required. OldNotification *types.Notification // contains filtered or unexported fields }
Request of UpdateNotification
type UpdateNotificationOutput ¶
type UpdateNotificationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of UpdateNotification
type UpdateSubscriberInput ¶
type UpdateSubscriberInput struct { // The accountId that is associated with the budget whose subscriber you want to // update. // // This member is required. AccountId *string // The name of the budget whose subscriber you want to update. // // This member is required. BudgetName *string // The updated subscriber that is associated with a budget notification. // // This member is required. NewSubscriber *types.Subscriber // The notification whose subscriber you want to update. // // This member is required. Notification *types.Notification // The previous subscriber that is associated with a budget notification. // // This member is required. OldSubscriber *types.Subscriber // contains filtered or unexported fields }
Request of UpdateSubscriber
type UpdateSubscriberOutput ¶
type UpdateSubscriberOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Response of UpdateSubscriber
Source Files ¶
- api_client.go
- api_op_CreateBudget.go
- api_op_CreateBudgetAction.go
- api_op_CreateNotification.go
- api_op_CreateSubscriber.go
- api_op_DeleteBudget.go
- api_op_DeleteBudgetAction.go
- api_op_DeleteNotification.go
- api_op_DeleteSubscriber.go
- api_op_DescribeBudget.go
- api_op_DescribeBudgetAction.go
- api_op_DescribeBudgetActionHistories.go
- api_op_DescribeBudgetActionsForAccount.go
- api_op_DescribeBudgetActionsForBudget.go
- api_op_DescribeBudgetNotificationsForAccount.go
- api_op_DescribeBudgetPerformanceHistory.go
- api_op_DescribeBudgets.go
- api_op_DescribeNotificationsForBudget.go
- api_op_DescribeSubscribersForNotification.go
- api_op_ExecuteBudgetAction.go
- api_op_ListTagsForResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateBudget.go
- api_op_UpdateBudgetAction.go
- api_op_UpdateNotification.go
- api_op_UpdateSubscriber.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go