aws-sdk-go: github.com/aws/aws-sdk-go/service/budgets Index | Files | Directories

package budgets

import "github.com/aws/aws-sdk-go/service/budgets"

Package budgets provides the client and types for making API requests to AWS Budgets.

The AWS Budgets API enables you to use AWS Budgets to plan your service usage, service costs, and instance reservations. The API reference provides descriptions, syntax, and usage examples for each of the actions and data types for AWS Budgets.

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 AWS, and how much your predicted
usage will accrue in charges by the end of the month

* How much of your budget has been used

AWS 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 AWS Budgets API provides the following endpoint:

* https://budgets.amazonaws.com

For information about costs that are associated with the AWS Budgets API, see AWS Cost Management Pricing (https://aws.amazon.com/aws-cost-management/pricing/).

See budgets package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/budgets/

Using the Client

To contact AWS Budgets with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Budgets client Budgets for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/budgets/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // BudgetTypeUsage is a BudgetType enum value
    BudgetTypeUsage = "USAGE"

    // BudgetTypeCost is a BudgetType enum value
    BudgetTypeCost = "COST"

    // BudgetTypeRiUtilization is a BudgetType enum value
    BudgetTypeRiUtilization = "RI_UTILIZATION"

    // BudgetTypeRiCoverage is a BudgetType enum value
    BudgetTypeRiCoverage = "RI_COVERAGE"
)

The type of a budget. It must be one of the following types:

COST, USAGE, RI_UTILIZATION, or RI_COVERAGE.

const (
    // ComparisonOperatorGreaterThan is a ComparisonOperator enum value
    ComparisonOperatorGreaterThan = "GREATER_THAN"

    // ComparisonOperatorLessThan is a ComparisonOperator enum value
    ComparisonOperatorLessThan = "LESS_THAN"

    // ComparisonOperatorEqualTo is a ComparisonOperator enum value
    ComparisonOperatorEqualTo = "EQUAL_TO"
)

The comparison operator of a notification. Currently the service supports the following operators:

GREATER_THAN, LESS_THAN, EQUAL_TO

const (
    // NotificationStateOk is a NotificationState enum value
    NotificationStateOk = "OK"

    // NotificationStateAlarm is a NotificationState enum value
    NotificationStateAlarm = "ALARM"
)
const (
    // NotificationTypeActual is a NotificationType enum value
    NotificationTypeActual = "ACTUAL"

    // NotificationTypeForecasted is a NotificationType enum value
    NotificationTypeForecasted = "FORECASTED"
)

The type of a notification. It must be ACTUAL or FORECASTED.

const (
    // SubscriptionTypeSns is a SubscriptionType enum value
    SubscriptionTypeSns = "SNS"

    // SubscriptionTypeEmail is a SubscriptionType enum value
    SubscriptionTypeEmail = "EMAIL"
)

The subscription type of the subscriber. It can be SMS or EMAIL.

const (
    // ThresholdTypePercentage is a ThresholdType enum value
    ThresholdTypePercentage = "PERCENTAGE"

    // ThresholdTypeAbsoluteValue is a ThresholdType enum value
    ThresholdTypeAbsoluteValue = "ABSOLUTE_VALUE"
)

The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.

const (
    // TimeUnitDaily is a TimeUnit enum value
    TimeUnitDaily = "DAILY"

    // TimeUnitMonthly is a TimeUnit enum value
    TimeUnitMonthly = "MONTHLY"

    // TimeUnitQuarterly is a TimeUnit enum value
    TimeUnitQuarterly = "QUARTERLY"

    // TimeUnitAnnually is a TimeUnit enum value
    TimeUnitAnnually = "ANNUALLY"
)

The time unit of the budget, such as MONTHLY or QUARTERLY.

const (

    // ErrCodeCreationLimitExceededException for service response error code
    // "CreationLimitExceededException".
    //
    // You've exceeded the notification or subscriber limit.
    ErrCodeCreationLimitExceededException = "CreationLimitExceededException"

    // ErrCodeDuplicateRecordException for service response error code
    // "DuplicateRecordException".
    //
    // The budget name already exists. Budget names must be unique within an account.
    ErrCodeDuplicateRecordException = "DuplicateRecordException"

    // ErrCodeExpiredNextTokenException for service response error code
    // "ExpiredNextTokenException".
    //
    // The pagination token expired.
    ErrCodeExpiredNextTokenException = "ExpiredNextTokenException"

    // ErrCodeInternalErrorException for service response error code
    // "InternalErrorException".
    //
    // An error on the server occurred during the processing of your request. Try
    // again later.
    ErrCodeInternalErrorException = "InternalErrorException"

    // ErrCodeInvalidNextTokenException for service response error code
    // "InvalidNextTokenException".
    //
    // The pagination token is invalid.
    ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

    // ErrCodeInvalidParameterException for service response error code
    // "InvalidParameterException".
    //
    // An error on the client occurred. Typically, the cause is an invalid input
    // value.
    ErrCodeInvalidParameterException = "InvalidParameterException"

    // ErrCodeNotFoundException for service response error code
    // "NotFoundException".
    //
    // We can’t locate the resource that you specified.
    ErrCodeNotFoundException = "NotFoundException"
)
const (
    ServiceName = "budgets"   // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "Budgets"   // ServiceID is a unique identifer of a specific service.
)

Service information constants

type Budget Uses

type Budget struct {

    // The total amount of cost, usage, RI utilization, or RI coverage that you
    // want to track with your budget.
    //
    // BudgetLimit is required for cost or usage budgets, but optional for RI utilization
    // or coverage budgets. RI utilization or coverage budgets default to 100, which
    // is the only valid value for RI utilization or coverage budgets. You can't
    // use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget
    // actions.
    BudgetLimit *Spend `type:"structure"`

    // The name of a budget. The name must be unique within an account. The : and
    // \ characters aren't allowed in BudgetName.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // Whether this budget tracks costs, usage, RI utilization, or RI coverage.
    //
    // BudgetType is a required field
    BudgetType *string `type:"string" required:"true" enum:"BudgetType"`

    // The actual and forecasted cost or usage that the budget tracks.
    CalculatedSpend *CalculatedSpend `type:"structure"`

    // The cost filters, such as service or tag, that are applied to a budget.
    //
    // AWS Budgets supports the following services as a filter for RI budgets:
    //
    //    * Amazon Elastic Compute Cloud - Compute
    //
    //    * Amazon Redshift
    //
    //    * Amazon Relational Database Service
    //
    //    * Amazon ElastiCache
    //
    //    * Amazon Elasticsearch Service
    CostFilters map[string][]*string `type:"map"`

    // The types of costs that are included in this COST budget.
    //
    // USAGE, RI_UTILIZATION, and RI_COVERAGE budgets do not have CostTypes.
    CostTypes *CostTypes `type:"structure"`

    // The last time that you updated this budget.
    LastUpdatedTime *time.Time `type:"timestamp"`

    // A map containing multiple BudgetLimit, including current or future limits.
    //
    // PlannedBudgetLimits is available for cost or usage budget and supports monthly
    // and quarterly TimeUnit.
    //
    // For monthly budgets, provide 12 months of PlannedBudgetLimits values. This
    // must start from the current month and include the next 11 months. The key
    // is the start of the month, UTC in epoch seconds.
    //
    // For quarterly budgets, provide 4 quarters of PlannedBudgetLimits value entries
    // in standard calendar quarter increments. This must start from the current
    // quarter and include the next 3 quarters. The key is the start of the quarter,
    // UTC in epoch seconds.
    //
    // If the planned budget expires before 12 months for monthly or 4 quarters
    // for quarterly, provide the PlannedBudgetLimits values only for the remaining
    // periods.
    //
    // If the budget begins at a date in the future, provide PlannedBudgetLimits
    // values from the start date of the budget.
    //
    // After all of the BudgetLimit values in PlannedBudgetLimits are used, the
    // budget continues to use the last limit as the BudgetLimit. At that point,
    // the planned budget provides the same experience as a fixed budget.
    //
    // DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits
    // will also contain BudgetLimit representing the current month or quarter limit
    // present in PlannedBudgetLimits. This only applies to budgets created with
    // PlannedBudgetLimits. Budgets created without PlannedBudgetLimits will only
    // contain BudgetLimit, and no PlannedBudgetLimits.
    PlannedBudgetLimits map[string]*Spend `type:"map"`

    // The period of time that is covered by a budget. The period has a start date
    // and an end date. The start date must come before the end date. The end date
    // must come before 06/15/87 00:00 UTC.
    //
    // If you create your budget and don't specify a start date, AWS defaults to
    // the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY).
    // For example, if you created your budget on January 24, 2018, chose DAILY,
    // and didn't set a start date, AWS set your start date to 01/24/18 00:00 UTC.
    // If you chose MONTHLY, AWS set your start date to 01/01/18 00:00 UTC. If you
    // didn't specify an end date, AWS set your end date to 06/15/87 00:00 UTC.
    // The defaults are the same for the AWS Billing and Cost Management console
    // and the API.
    //
    // You can change either date with the UpdateBudget operation.
    //
    // After the end date, AWS deletes the budget and all associated notifications
    // and subscribers.
    TimePeriod *TimePeriod `type:"structure"`

    // The length of time until a budget resets the actual and forecasted spend.
    // DAILY is available only for RI_UTILIZATION and RI_COVERAGE budgets.
    //
    // TimeUnit is a required field
    TimeUnit *string `type:"string" required:"true" enum:"TimeUnit"`
    // contains filtered or unexported fields
}

Represents the output of the CreateBudget operation. The content consists of the detailed metadata and data file information, and the current status of the budget object.

This is the ARN pattern for a budget:

arn:aws:budgetservice::AccountId:budget/budgetName

func (Budget) GoString Uses

func (s Budget) GoString() string

GoString returns the string representation

func (*Budget) SetBudgetLimit Uses

func (s *Budget) SetBudgetLimit(v *Spend) *Budget

SetBudgetLimit sets the BudgetLimit field's value.

func (*Budget) SetBudgetName Uses

func (s *Budget) SetBudgetName(v string) *Budget

SetBudgetName sets the BudgetName field's value.

func (*Budget) SetBudgetType Uses

func (s *Budget) SetBudgetType(v string) *Budget

SetBudgetType sets the BudgetType field's value.

func (*Budget) SetCalculatedSpend Uses

func (s *Budget) SetCalculatedSpend(v *CalculatedSpend) *Budget

SetCalculatedSpend sets the CalculatedSpend field's value.

func (*Budget) SetCostFilters Uses

func (s *Budget) SetCostFilters(v map[string][]*string) *Budget

SetCostFilters sets the CostFilters field's value.

func (*Budget) SetCostTypes Uses

func (s *Budget) SetCostTypes(v *CostTypes) *Budget

SetCostTypes sets the CostTypes field's value.

func (*Budget) SetLastUpdatedTime Uses

func (s *Budget) SetLastUpdatedTime(v time.Time) *Budget

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Budget) SetPlannedBudgetLimits Uses

func (s *Budget) SetPlannedBudgetLimits(v map[string]*Spend) *Budget

SetPlannedBudgetLimits sets the PlannedBudgetLimits field's value.

func (*Budget) SetTimePeriod Uses

func (s *Budget) SetTimePeriod(v *TimePeriod) *Budget

SetTimePeriod sets the TimePeriod field's value.

func (*Budget) SetTimeUnit Uses

func (s *Budget) SetTimeUnit(v string) *Budget

SetTimeUnit sets the TimeUnit field's value.

func (Budget) String Uses

func (s Budget) String() string

String returns the string representation

func (*Budget) Validate Uses

func (s *Budget) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BudgetPerformanceHistory Uses

type BudgetPerformanceHistory struct {

    // A string that represents the budget name. The ":" and "\" characters aren't
    // allowed.
    BudgetName *string `min:"1" type:"string"`

    // The type of a budget. It must be one of the following types:
    //
    // COST, USAGE, RI_UTILIZATION, or RI_COVERAGE.
    BudgetType *string `type:"string" enum:"BudgetType"`

    // A list of amounts of cost or usage that you created budgets for, compared
    // to your actual costs or usage.
    BudgetedAndActualAmountsList []*BudgetedAndActualAmounts `type:"list"`

    // The history of the cost filters for a budget during the specified time period.
    CostFilters map[string][]*string `type:"map"`

    // The history of the cost types for a budget during the specified time period.
    CostTypes *CostTypes `type:"structure"`

    // The time unit of the budget, such as MONTHLY or QUARTERLY.
    TimeUnit *string `type:"string" enum:"TimeUnit"`
    // contains filtered or unexported fields
}

A history of the state of a budget at the end of the budget's specified time period.

func (BudgetPerformanceHistory) GoString Uses

func (s BudgetPerformanceHistory) GoString() string

GoString returns the string representation

func (*BudgetPerformanceHistory) SetBudgetName Uses

func (s *BudgetPerformanceHistory) SetBudgetName(v string) *BudgetPerformanceHistory

SetBudgetName sets the BudgetName field's value.

func (*BudgetPerformanceHistory) SetBudgetType Uses

func (s *BudgetPerformanceHistory) SetBudgetType(v string) *BudgetPerformanceHistory

SetBudgetType sets the BudgetType field's value.

func (*BudgetPerformanceHistory) SetBudgetedAndActualAmountsList Uses

func (s *BudgetPerformanceHistory) SetBudgetedAndActualAmountsList(v []*BudgetedAndActualAmounts) *BudgetPerformanceHistory

SetBudgetedAndActualAmountsList sets the BudgetedAndActualAmountsList field's value.

func (*BudgetPerformanceHistory) SetCostFilters Uses

func (s *BudgetPerformanceHistory) SetCostFilters(v map[string][]*string) *BudgetPerformanceHistory

SetCostFilters sets the CostFilters field's value.

func (*BudgetPerformanceHistory) SetCostTypes Uses

func (s *BudgetPerformanceHistory) SetCostTypes(v *CostTypes) *BudgetPerformanceHistory

SetCostTypes sets the CostTypes field's value.

func (*BudgetPerformanceHistory) SetTimeUnit Uses

func (s *BudgetPerformanceHistory) SetTimeUnit(v string) *BudgetPerformanceHistory

SetTimeUnit sets the TimeUnit field's value.

func (BudgetPerformanceHistory) String Uses

func (s BudgetPerformanceHistory) String() string

String returns the string representation

type BudgetedAndActualAmounts Uses

type BudgetedAndActualAmounts struct {

    // Your actual costs or usage for a budget period.
    ActualAmount *Spend `type:"structure"`

    // The amount of cost or usage that you created the budget for.
    BudgetedAmount *Spend `type:"structure"`

    // The time period covered by this budget comparison.
    TimePeriod *TimePeriod `type:"structure"`
    // contains filtered or unexported fields
}

The amount of cost or usage that you created the budget for, compared to your actual costs or usage.

func (BudgetedAndActualAmounts) GoString Uses

func (s BudgetedAndActualAmounts) GoString() string

GoString returns the string representation

func (*BudgetedAndActualAmounts) SetActualAmount Uses

func (s *BudgetedAndActualAmounts) SetActualAmount(v *Spend) *BudgetedAndActualAmounts

SetActualAmount sets the ActualAmount field's value.

func (*BudgetedAndActualAmounts) SetBudgetedAmount Uses

func (s *BudgetedAndActualAmounts) SetBudgetedAmount(v *Spend) *BudgetedAndActualAmounts

SetBudgetedAmount sets the BudgetedAmount field's value.

func (*BudgetedAndActualAmounts) SetTimePeriod Uses

func (s *BudgetedAndActualAmounts) SetTimePeriod(v *TimePeriod) *BudgetedAndActualAmounts

SetTimePeriod sets the TimePeriod field's value.

func (BudgetedAndActualAmounts) String Uses

func (s BudgetedAndActualAmounts) String() string

String returns the string representation

type Budgets Uses

type Budgets struct {
    *client.Client
}

Budgets provides the API operation methods for making requests to AWS Budgets. See this package's package overview docs for details on the service.

Budgets methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Budgets

New creates a new instance of the Budgets client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a Budgets client from just a session.
svc := budgets.New(mySession)

// Create a Budgets client with additional configuration
svc := budgets.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Budgets) CreateBudget Uses

func (c *Budgets) CreateBudget(input *CreateBudgetInput) (*CreateBudgetOutput, error)

CreateBudget API operation for AWS Budgets.

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 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_CreateBudget.html#API_CreateBudget_Examples) section.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation CreateBudget for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeCreationLimitExceededException "CreationLimitExceededException"
You've exceeded the notification or subscriber limit.

* ErrCodeDuplicateRecordException "DuplicateRecordException"
The budget name already exists. Budget names must be unique within an account.

func (*Budgets) CreateBudgetRequest Uses

func (c *Budgets) CreateBudgetRequest(input *CreateBudgetInput) (req *request.Request, output *CreateBudgetOutput)

CreateBudgetRequest generates a "aws/request.Request" representing the client's request for the CreateBudget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBudget for more information on using the CreateBudget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBudgetRequest method.
req, resp := client.CreateBudgetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) CreateBudgetWithContext Uses

func (c *Budgets) CreateBudgetWithContext(ctx aws.Context, input *CreateBudgetInput, opts ...request.Option) (*CreateBudgetOutput, error)

CreateBudgetWithContext is the same as CreateBudget with the addition of the ability to pass a context and additional request options.

See CreateBudget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) CreateNotification Uses

func (c *Budgets) CreateNotification(input *CreateNotificationInput) (*CreateNotificationOutput, error)

CreateNotification API operation for AWS Budgets.

Creates a notification. You must create the budget before you create the associated notification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation CreateNotification for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeCreationLimitExceededException "CreationLimitExceededException"
You've exceeded the notification or subscriber limit.

* ErrCodeDuplicateRecordException "DuplicateRecordException"
The budget name already exists. Budget names must be unique within an account.

func (*Budgets) CreateNotificationRequest Uses

func (c *Budgets) CreateNotificationRequest(input *CreateNotificationInput) (req *request.Request, output *CreateNotificationOutput)

CreateNotificationRequest generates a "aws/request.Request" representing the client's request for the CreateNotification operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateNotification for more information on using the CreateNotification API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateNotificationRequest method.
req, resp := client.CreateNotificationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) CreateNotificationWithContext Uses

func (c *Budgets) CreateNotificationWithContext(ctx aws.Context, input *CreateNotificationInput, opts ...request.Option) (*CreateNotificationOutput, error)

CreateNotificationWithContext is the same as CreateNotification with the addition of the ability to pass a context and additional request options.

See CreateNotification for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) CreateSubscriber Uses

func (c *Budgets) CreateSubscriber(input *CreateSubscriberInput) (*CreateSubscriberOutput, error)

CreateSubscriber API operation for AWS Budgets.

Creates a subscriber. You must create the associated budget and notification before you create the subscriber.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation CreateSubscriber for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeCreationLimitExceededException "CreationLimitExceededException"
You've exceeded the notification or subscriber limit.

* ErrCodeDuplicateRecordException "DuplicateRecordException"
The budget name already exists. Budget names must be unique within an account.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

func (*Budgets) CreateSubscriberRequest Uses

func (c *Budgets) CreateSubscriberRequest(input *CreateSubscriberInput) (req *request.Request, output *CreateSubscriberOutput)

CreateSubscriberRequest generates a "aws/request.Request" representing the client's request for the CreateSubscriber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSubscriber for more information on using the CreateSubscriber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSubscriberRequest method.
req, resp := client.CreateSubscriberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) CreateSubscriberWithContext Uses

func (c *Budgets) CreateSubscriberWithContext(ctx aws.Context, input *CreateSubscriberInput, opts ...request.Option) (*CreateSubscriberOutput, error)

CreateSubscriberWithContext is the same as CreateSubscriber with the addition of the ability to pass a context and additional request options.

See CreateSubscriber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DeleteBudget Uses

func (c *Budgets) DeleteBudget(input *DeleteBudgetInput) (*DeleteBudgetOutput, error)

DeleteBudget API operation for AWS Budgets.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DeleteBudget for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

func (*Budgets) DeleteBudgetRequest Uses

func (c *Budgets) DeleteBudgetRequest(input *DeleteBudgetInput) (req *request.Request, output *DeleteBudgetOutput)

DeleteBudgetRequest generates a "aws/request.Request" representing the client's request for the DeleteBudget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBudget for more information on using the DeleteBudget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBudgetRequest method.
req, resp := client.DeleteBudgetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DeleteBudgetWithContext Uses

func (c *Budgets) DeleteBudgetWithContext(ctx aws.Context, input *DeleteBudgetInput, opts ...request.Option) (*DeleteBudgetOutput, error)

DeleteBudgetWithContext is the same as DeleteBudget with the addition of the ability to pass a context and additional request options.

See DeleteBudget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DeleteNotification Uses

func (c *Budgets) DeleteNotification(input *DeleteNotificationInput) (*DeleteNotificationOutput, error)

DeleteNotification API operation for AWS Budgets.

Deletes a notification.

Deleting a notification also deletes the subscribers that are associated with the notification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DeleteNotification for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

func (*Budgets) DeleteNotificationRequest Uses

func (c *Budgets) DeleteNotificationRequest(input *DeleteNotificationInput) (req *request.Request, output *DeleteNotificationOutput)

DeleteNotificationRequest generates a "aws/request.Request" representing the client's request for the DeleteNotification operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteNotification for more information on using the DeleteNotification API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteNotificationRequest method.
req, resp := client.DeleteNotificationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DeleteNotificationWithContext Uses

func (c *Budgets) DeleteNotificationWithContext(ctx aws.Context, input *DeleteNotificationInput, opts ...request.Option) (*DeleteNotificationOutput, error)

DeleteNotificationWithContext is the same as DeleteNotification with the addition of the ability to pass a context and additional request options.

See DeleteNotification for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DeleteSubscriber Uses

func (c *Budgets) DeleteSubscriber(input *DeleteSubscriberInput) (*DeleteSubscriberOutput, error)

DeleteSubscriber API operation for AWS Budgets.

Deletes a subscriber.

Deleting the last subscriber to a notification also deletes the notification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DeleteSubscriber for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

func (*Budgets) DeleteSubscriberRequest Uses

func (c *Budgets) DeleteSubscriberRequest(input *DeleteSubscriberInput) (req *request.Request, output *DeleteSubscriberOutput)

DeleteSubscriberRequest generates a "aws/request.Request" representing the client's request for the DeleteSubscriber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSubscriber for more information on using the DeleteSubscriber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSubscriberRequest method.
req, resp := client.DeleteSubscriberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DeleteSubscriberWithContext Uses

func (c *Budgets) DeleteSubscriberWithContext(ctx aws.Context, input *DeleteSubscriberInput, opts ...request.Option) (*DeleteSubscriberOutput, error)

DeleteSubscriberWithContext is the same as DeleteSubscriber with the addition of the ability to pass a context and additional request options.

See DeleteSubscriber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DescribeBudget Uses

func (c *Budgets) DescribeBudget(input *DescribeBudgetInput) (*DescribeBudgetOutput, error)

DescribeBudget API operation for AWS Budgets.

Describes a budget.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudget.html#API_DescribeBudget_Examples) section.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DescribeBudget for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

func (*Budgets) DescribeBudgetPerformanceHistory Uses

func (c *Budgets) DescribeBudgetPerformanceHistory(input *DescribeBudgetPerformanceHistoryInput) (*DescribeBudgetPerformanceHistoryOutput, error)

DescribeBudgetPerformanceHistory API operation for AWS Budgets.

Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DescribeBudgetPerformanceHistory for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The pagination token is invalid.

* ErrCodeExpiredNextTokenException "ExpiredNextTokenException"
The pagination token expired.

func (*Budgets) DescribeBudgetPerformanceHistoryRequest Uses

func (c *Budgets) DescribeBudgetPerformanceHistoryRequest(input *DescribeBudgetPerformanceHistoryInput) (req *request.Request, output *DescribeBudgetPerformanceHistoryOutput)

DescribeBudgetPerformanceHistoryRequest generates a "aws/request.Request" representing the client's request for the DescribeBudgetPerformanceHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBudgetPerformanceHistory for more information on using the DescribeBudgetPerformanceHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBudgetPerformanceHistoryRequest method.
req, resp := client.DescribeBudgetPerformanceHistoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DescribeBudgetPerformanceHistoryWithContext Uses

func (c *Budgets) DescribeBudgetPerformanceHistoryWithContext(ctx aws.Context, input *DescribeBudgetPerformanceHistoryInput, opts ...request.Option) (*DescribeBudgetPerformanceHistoryOutput, error)

DescribeBudgetPerformanceHistoryWithContext is the same as DescribeBudgetPerformanceHistory with the addition of the ability to pass a context and additional request options.

See DescribeBudgetPerformanceHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DescribeBudgetRequest Uses

func (c *Budgets) DescribeBudgetRequest(input *DescribeBudgetInput) (req *request.Request, output *DescribeBudgetOutput)

DescribeBudgetRequest generates a "aws/request.Request" representing the client's request for the DescribeBudget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBudget for more information on using the DescribeBudget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBudgetRequest method.
req, resp := client.DescribeBudgetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DescribeBudgetWithContext Uses

func (c *Budgets) DescribeBudgetWithContext(ctx aws.Context, input *DescribeBudgetInput, opts ...request.Option) (*DescribeBudgetOutput, error)

DescribeBudgetWithContext is the same as DescribeBudget with the addition of the ability to pass a context and additional request options.

See DescribeBudget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DescribeBudgets Uses

func (c *Budgets) DescribeBudgets(input *DescribeBudgetsInput) (*DescribeBudgetsOutput, error)

DescribeBudgets API operation for AWS Budgets.

Lists the budgets that are associated with an account.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudgets.html#API_DescribeBudgets_Examples) section.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DescribeBudgets for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The pagination token is invalid.

* ErrCodeExpiredNextTokenException "ExpiredNextTokenException"
The pagination token expired.

func (*Budgets) DescribeBudgetsRequest Uses

func (c *Budgets) DescribeBudgetsRequest(input *DescribeBudgetsInput) (req *request.Request, output *DescribeBudgetsOutput)

DescribeBudgetsRequest generates a "aws/request.Request" representing the client's request for the DescribeBudgets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBudgets for more information on using the DescribeBudgets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBudgetsRequest method.
req, resp := client.DescribeBudgetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DescribeBudgetsWithContext Uses

func (c *Budgets) DescribeBudgetsWithContext(ctx aws.Context, input *DescribeBudgetsInput, opts ...request.Option) (*DescribeBudgetsOutput, error)

DescribeBudgetsWithContext is the same as DescribeBudgets with the addition of the ability to pass a context and additional request options.

See DescribeBudgets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DescribeNotificationsForBudget Uses

func (c *Budgets) DescribeNotificationsForBudget(input *DescribeNotificationsForBudgetInput) (*DescribeNotificationsForBudgetOutput, error)

DescribeNotificationsForBudget API operation for AWS Budgets.

Lists the notifications that are associated with a budget.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DescribeNotificationsForBudget for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The pagination token is invalid.

* ErrCodeExpiredNextTokenException "ExpiredNextTokenException"
The pagination token expired.

func (*Budgets) DescribeNotificationsForBudgetRequest Uses

func (c *Budgets) DescribeNotificationsForBudgetRequest(input *DescribeNotificationsForBudgetInput) (req *request.Request, output *DescribeNotificationsForBudgetOutput)

DescribeNotificationsForBudgetRequest generates a "aws/request.Request" representing the client's request for the DescribeNotificationsForBudget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeNotificationsForBudget for more information on using the DescribeNotificationsForBudget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeNotificationsForBudgetRequest method.
req, resp := client.DescribeNotificationsForBudgetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DescribeNotificationsForBudgetWithContext Uses

func (c *Budgets) DescribeNotificationsForBudgetWithContext(ctx aws.Context, input *DescribeNotificationsForBudgetInput, opts ...request.Option) (*DescribeNotificationsForBudgetOutput, error)

DescribeNotificationsForBudgetWithContext is the same as DescribeNotificationsForBudget with the addition of the ability to pass a context and additional request options.

See DescribeNotificationsForBudget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) DescribeSubscribersForNotification Uses

func (c *Budgets) DescribeSubscribersForNotification(input *DescribeSubscribersForNotificationInput) (*DescribeSubscribersForNotificationOutput, error)

DescribeSubscribersForNotification API operation for AWS Budgets.

Lists the subscribers that are associated with a notification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation DescribeSubscribersForNotification for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeInvalidNextTokenException "InvalidNextTokenException"
The pagination token is invalid.

* ErrCodeExpiredNextTokenException "ExpiredNextTokenException"
The pagination token expired.

func (*Budgets) DescribeSubscribersForNotificationRequest Uses

func (c *Budgets) DescribeSubscribersForNotificationRequest(input *DescribeSubscribersForNotificationInput) (req *request.Request, output *DescribeSubscribersForNotificationOutput)

DescribeSubscribersForNotificationRequest generates a "aws/request.Request" representing the client's request for the DescribeSubscribersForNotification operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSubscribersForNotification for more information on using the DescribeSubscribersForNotification API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSubscribersForNotificationRequest method.
req, resp := client.DescribeSubscribersForNotificationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) DescribeSubscribersForNotificationWithContext Uses

func (c *Budgets) DescribeSubscribersForNotificationWithContext(ctx aws.Context, input *DescribeSubscribersForNotificationInput, opts ...request.Option) (*DescribeSubscribersForNotificationOutput, error)

DescribeSubscribersForNotificationWithContext is the same as DescribeSubscribersForNotification with the addition of the ability to pass a context and additional request options.

See DescribeSubscribersForNotification for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) UpdateBudget Uses

func (c *Budgets) UpdateBudget(input *UpdateBudgetInput) (*UpdateBudgetOutput, error)

UpdateBudget API operation for AWS Budgets.

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 AWS 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 (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_UpdateBudget.html#API_UpdateBudget_Examples) section.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation UpdateBudget for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

func (*Budgets) UpdateBudgetRequest Uses

func (c *Budgets) UpdateBudgetRequest(input *UpdateBudgetInput) (req *request.Request, output *UpdateBudgetOutput)

UpdateBudgetRequest generates a "aws/request.Request" representing the client's request for the UpdateBudget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateBudget for more information on using the UpdateBudget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateBudgetRequest method.
req, resp := client.UpdateBudgetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) UpdateBudgetWithContext Uses

func (c *Budgets) UpdateBudgetWithContext(ctx aws.Context, input *UpdateBudgetInput, opts ...request.Option) (*UpdateBudgetOutput, error)

UpdateBudgetWithContext is the same as UpdateBudget with the addition of the ability to pass a context and additional request options.

See UpdateBudget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) UpdateNotification Uses

func (c *Budgets) UpdateNotification(input *UpdateNotificationInput) (*UpdateNotificationOutput, error)

UpdateNotification API operation for AWS Budgets.

Updates a notification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation UpdateNotification for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeDuplicateRecordException "DuplicateRecordException"
The budget name already exists. Budget names must be unique within an account.

func (*Budgets) UpdateNotificationRequest Uses

func (c *Budgets) UpdateNotificationRequest(input *UpdateNotificationInput) (req *request.Request, output *UpdateNotificationOutput)

UpdateNotificationRequest generates a "aws/request.Request" representing the client's request for the UpdateNotification operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateNotification for more information on using the UpdateNotification API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateNotificationRequest method.
req, resp := client.UpdateNotificationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) UpdateNotificationWithContext Uses

func (c *Budgets) UpdateNotificationWithContext(ctx aws.Context, input *UpdateNotificationInput, opts ...request.Option) (*UpdateNotificationOutput, error)

UpdateNotificationWithContext is the same as UpdateNotification with the addition of the ability to pass a context and additional request options.

See UpdateNotification for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Budgets) UpdateSubscriber Uses

func (c *Budgets) UpdateSubscriber(input *UpdateSubscriberInput) (*UpdateSubscriberOutput, error)

UpdateSubscriber API operation for AWS Budgets.

Updates a subscriber.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Budgets's API operation UpdateSubscriber for usage and error information.

Returned Error Codes:

* ErrCodeInternalErrorException "InternalErrorException"
An error on the server occurred during the processing of your request. Try
again later.

* ErrCodeInvalidParameterException "InvalidParameterException"
An error on the client occurred. Typically, the cause is an invalid input
value.

* ErrCodeNotFoundException "NotFoundException"
We can’t locate the resource that you specified.

* ErrCodeDuplicateRecordException "DuplicateRecordException"
The budget name already exists. Budget names must be unique within an account.

func (*Budgets) UpdateSubscriberRequest Uses

func (c *Budgets) UpdateSubscriberRequest(input *UpdateSubscriberInput) (req *request.Request, output *UpdateSubscriberOutput)

UpdateSubscriberRequest generates a "aws/request.Request" representing the client's request for the UpdateSubscriber operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSubscriber for more information on using the UpdateSubscriber API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSubscriberRequest method.
req, resp := client.UpdateSubscriberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*Budgets) UpdateSubscriberWithContext Uses

func (c *Budgets) UpdateSubscriberWithContext(ctx aws.Context, input *UpdateSubscriberInput, opts ...request.Option) (*UpdateSubscriberOutput, error)

UpdateSubscriberWithContext is the same as UpdateSubscriber with the addition of the ability to pass a context and additional request options.

See UpdateSubscriber for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type CalculatedSpend Uses

type CalculatedSpend struct {

    // The amount of cost, usage, or RI units that you have used.
    //
    // ActualSpend is a required field
    ActualSpend *Spend `type:"structure" required:"true"`

    // The amount of cost, usage, or RI units that you are forecasted to use.
    ForecastedSpend *Spend `type:"structure"`
    // contains filtered or unexported fields
}

The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, or RI units, and the forecastedSpend tracks how much you are predicted to spend if your current usage remains steady.

For example, if it is the 20th of the month and you have spent 50 dollars on Amazon EC2, your actualSpend is 50 USD, and your forecastedSpend is 75 USD.

func (CalculatedSpend) GoString Uses

func (s CalculatedSpend) GoString() string

GoString returns the string representation

func (*CalculatedSpend) SetActualSpend Uses

func (s *CalculatedSpend) SetActualSpend(v *Spend) *CalculatedSpend

SetActualSpend sets the ActualSpend field's value.

func (*CalculatedSpend) SetForecastedSpend Uses

func (s *CalculatedSpend) SetForecastedSpend(v *Spend) *CalculatedSpend

SetForecastedSpend sets the ForecastedSpend field's value.

func (CalculatedSpend) String Uses

func (s CalculatedSpend) String() string

String returns the string representation

func (*CalculatedSpend) Validate Uses

func (s *CalculatedSpend) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CostTypes Uses

type CostTypes struct {

    // Specifies whether a budget includes credits.
    //
    // The default value is true.
    IncludeCredit *bool `type:"boolean"`

    // Specifies whether a budget includes discounts.
    //
    // The default value is true.
    IncludeDiscount *bool `type:"boolean"`

    // Specifies whether a budget includes non-RI subscription costs.
    //
    // The default value is true.
    IncludeOtherSubscription *bool `type:"boolean"`

    // Specifies whether a budget includes recurring fees such as monthly RI fees.
    //
    // The default value is true.
    IncludeRecurring *bool `type:"boolean"`

    // Specifies whether a budget includes refunds.
    //
    // The default value is true.
    IncludeRefund *bool `type:"boolean"`

    // Specifies whether a budget includes subscriptions.
    //
    // The default value is true.
    IncludeSubscription *bool `type:"boolean"`

    // Specifies whether a budget includes support subscription fees.
    //
    // The default value is true.
    IncludeSupport *bool `type:"boolean"`

    // Specifies whether a budget includes taxes.
    //
    // The default value is true.
    IncludeTax *bool `type:"boolean"`

    // Specifies whether a budget includes upfront RI costs.
    //
    // The default value is true.
    IncludeUpfront *bool `type:"boolean"`

    // Specifies whether a budget uses the amortized rate.
    //
    // The default value is false.
    UseAmortized *bool `type:"boolean"`

    // Specifies whether a budget uses a blended rate.
    //
    // The default value is false.
    UseBlended *bool `type:"boolean"`
    // contains filtered or unexported fields
}

The types of cost that are included in a COST budget, such as tax and subscriptions.

USAGE, RI_UTILIZATION, and RI_COVERAGE budgets do not have CostTypes.

func (CostTypes) GoString Uses

func (s CostTypes) GoString() string

GoString returns the string representation

func (*CostTypes) SetIncludeCredit Uses

func (s *CostTypes) SetIncludeCredit(v bool) *CostTypes

SetIncludeCredit sets the IncludeCredit field's value.

func (*CostTypes) SetIncludeDiscount Uses

func (s *CostTypes) SetIncludeDiscount(v bool) *CostTypes

SetIncludeDiscount sets the IncludeDiscount field's value.

func (*CostTypes) SetIncludeOtherSubscription Uses

func (s *CostTypes) SetIncludeOtherSubscription(v bool) *CostTypes

SetIncludeOtherSubscription sets the IncludeOtherSubscription field's value.

func (*CostTypes) SetIncludeRecurring Uses

func (s *CostTypes) SetIncludeRecurring(v bool) *CostTypes

SetIncludeRecurring sets the IncludeRecurring field's value.

func (*CostTypes) SetIncludeRefund Uses

func (s *CostTypes) SetIncludeRefund(v bool) *CostTypes

SetIncludeRefund sets the IncludeRefund field's value.

func (*CostTypes) SetIncludeSubscription Uses

func (s *CostTypes) SetIncludeSubscription(v bool) *CostTypes

SetIncludeSubscription sets the IncludeSubscription field's value.

func (*CostTypes) SetIncludeSupport Uses

func (s *CostTypes) SetIncludeSupport(v bool) *CostTypes

SetIncludeSupport sets the IncludeSupport field's value.

func (*CostTypes) SetIncludeTax Uses

func (s *CostTypes) SetIncludeTax(v bool) *CostTypes

SetIncludeTax sets the IncludeTax field's value.

func (*CostTypes) SetIncludeUpfront Uses

func (s *CostTypes) SetIncludeUpfront(v bool) *CostTypes

SetIncludeUpfront sets the IncludeUpfront field's value.

func (*CostTypes) SetUseAmortized Uses

func (s *CostTypes) SetUseAmortized(v bool) *CostTypes

SetUseAmortized sets the UseAmortized field's value.

func (*CostTypes) SetUseBlended Uses

func (s *CostTypes) SetUseBlended(v bool) *CostTypes

SetUseBlended sets the UseBlended field's value.

func (CostTypes) String Uses

func (s CostTypes) String() string

String returns the string representation

type CreateBudgetInput Uses

type CreateBudgetInput struct {

    // The accountId that is associated with the budget.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The budget object that you want to create.
    //
    // Budget is a required field
    Budget *Budget `type:"structure" required:"true"`

    // 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, AWS creates the notifications and subscribers
    // for you.
    NotificationsWithSubscribers []*NotificationWithSubscribers `type:"list"`
    // contains filtered or unexported fields
}

Request of CreateBudget

func (CreateBudgetInput) GoString Uses

func (s CreateBudgetInput) GoString() string

GoString returns the string representation

func (*CreateBudgetInput) SetAccountId Uses

func (s *CreateBudgetInput) SetAccountId(v string) *CreateBudgetInput

SetAccountId sets the AccountId field's value.

func (*CreateBudgetInput) SetBudget Uses

func (s *CreateBudgetInput) SetBudget(v *Budget) *CreateBudgetInput

SetBudget sets the Budget field's value.

func (*CreateBudgetInput) SetNotificationsWithSubscribers Uses

func (s *CreateBudgetInput) SetNotificationsWithSubscribers(v []*NotificationWithSubscribers) *CreateBudgetInput

SetNotificationsWithSubscribers sets the NotificationsWithSubscribers field's value.

func (CreateBudgetInput) String Uses

func (s CreateBudgetInput) String() string

String returns the string representation

func (*CreateBudgetInput) Validate Uses

func (s *CreateBudgetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBudgetOutput Uses

type CreateBudgetOutput struct {
    // contains filtered or unexported fields
}

Response of CreateBudget

func (CreateBudgetOutput) GoString Uses

func (s CreateBudgetOutput) GoString() string

GoString returns the string representation

func (CreateBudgetOutput) String Uses

func (s CreateBudgetOutput) String() string

String returns the string representation

type CreateNotificationInput Uses

type CreateNotificationInput struct {

    // The accountId that is associated with the budget that you want to create
    // a notification for.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget that you want AWS to notify you about. Budget names
    // must be unique within an account.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // The notification that you want to create.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`

    // 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.
    //
    // Subscribers is a required field
    Subscribers []*Subscriber `min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

Request of CreateNotification

func (CreateNotificationInput) GoString Uses

func (s CreateNotificationInput) GoString() string

GoString returns the string representation

func (*CreateNotificationInput) SetAccountId Uses

func (s *CreateNotificationInput) SetAccountId(v string) *CreateNotificationInput

SetAccountId sets the AccountId field's value.

func (*CreateNotificationInput) SetBudgetName Uses

func (s *CreateNotificationInput) SetBudgetName(v string) *CreateNotificationInput

SetBudgetName sets the BudgetName field's value.

func (*CreateNotificationInput) SetNotification Uses

func (s *CreateNotificationInput) SetNotification(v *Notification) *CreateNotificationInput

SetNotification sets the Notification field's value.

func (*CreateNotificationInput) SetSubscribers Uses

func (s *CreateNotificationInput) SetSubscribers(v []*Subscriber) *CreateNotificationInput

SetSubscribers sets the Subscribers field's value.

func (CreateNotificationInput) String Uses

func (s CreateNotificationInput) String() string

String returns the string representation

func (*CreateNotificationInput) Validate Uses

func (s *CreateNotificationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateNotificationOutput Uses

type CreateNotificationOutput struct {
    // contains filtered or unexported fields
}

Response of CreateNotification

func (CreateNotificationOutput) GoString Uses

func (s CreateNotificationOutput) GoString() string

GoString returns the string representation

func (CreateNotificationOutput) String Uses

func (s CreateNotificationOutput) String() string

String returns the string representation

type CreateSubscriberInput Uses

type CreateSubscriberInput struct {

    // The accountId that is associated with the budget that you want to create
    // a subscriber for.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget that you want to subscribe to. Budget names must be
    // unique within an account.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // The notification that you want to create a subscriber for.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`

    // The subscriber that you want to associate with a budget notification.
    //
    // Subscriber is a required field
    Subscriber *Subscriber `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of CreateSubscriber

func (CreateSubscriberInput) GoString Uses

func (s CreateSubscriberInput) GoString() string

GoString returns the string representation

func (*CreateSubscriberInput) SetAccountId Uses

func (s *CreateSubscriberInput) SetAccountId(v string) *CreateSubscriberInput

SetAccountId sets the AccountId field's value.

func (*CreateSubscriberInput) SetBudgetName Uses

func (s *CreateSubscriberInput) SetBudgetName(v string) *CreateSubscriberInput

SetBudgetName sets the BudgetName field's value.

func (*CreateSubscriberInput) SetNotification Uses

func (s *CreateSubscriberInput) SetNotification(v *Notification) *CreateSubscriberInput

SetNotification sets the Notification field's value.

func (*CreateSubscriberInput) SetSubscriber Uses

func (s *CreateSubscriberInput) SetSubscriber(v *Subscriber) *CreateSubscriberInput

SetSubscriber sets the Subscriber field's value.

func (CreateSubscriberInput) String Uses

func (s CreateSubscriberInput) String() string

String returns the string representation

func (*CreateSubscriberInput) Validate Uses

func (s *CreateSubscriberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSubscriberOutput Uses

type CreateSubscriberOutput struct {
    // contains filtered or unexported fields
}

Response of CreateSubscriber

func (CreateSubscriberOutput) GoString Uses

func (s CreateSubscriberOutput) GoString() string

GoString returns the string representation

func (CreateSubscriberOutput) String Uses

func (s CreateSubscriberOutput) String() string

String returns the string representation

type DeleteBudgetInput Uses

type DeleteBudgetInput struct {

    // The accountId that is associated with the budget that you want to delete.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget that you want to delete.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request of DeleteBudget

func (DeleteBudgetInput) GoString Uses

func (s DeleteBudgetInput) GoString() string

GoString returns the string representation

func (*DeleteBudgetInput) SetAccountId Uses

func (s *DeleteBudgetInput) SetAccountId(v string) *DeleteBudgetInput

SetAccountId sets the AccountId field's value.

func (*DeleteBudgetInput) SetBudgetName Uses

func (s *DeleteBudgetInput) SetBudgetName(v string) *DeleteBudgetInput

SetBudgetName sets the BudgetName field's value.

func (DeleteBudgetInput) String Uses

func (s DeleteBudgetInput) String() string

String returns the string representation

func (*DeleteBudgetInput) Validate Uses

func (s *DeleteBudgetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBudgetOutput Uses

type DeleteBudgetOutput struct {
    // contains filtered or unexported fields
}

Response of DeleteBudget

func (DeleteBudgetOutput) GoString Uses

func (s DeleteBudgetOutput) GoString() string

GoString returns the string representation

func (DeleteBudgetOutput) String Uses

func (s DeleteBudgetOutput) String() string

String returns the string representation

type DeleteNotificationInput Uses

type DeleteNotificationInput struct {

    // The accountId that is associated with the budget whose notification you want
    // to delete.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget whose notification you want to delete.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // The notification that you want to delete.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of DeleteNotification

func (DeleteNotificationInput) GoString Uses

func (s DeleteNotificationInput) GoString() string

GoString returns the string representation

func (*DeleteNotificationInput) SetAccountId Uses

func (s *DeleteNotificationInput) SetAccountId(v string) *DeleteNotificationInput

SetAccountId sets the AccountId field's value.

func (*DeleteNotificationInput) SetBudgetName Uses

func (s *DeleteNotificationInput) SetBudgetName(v string) *DeleteNotificationInput

SetBudgetName sets the BudgetName field's value.

func (*DeleteNotificationInput) SetNotification Uses

func (s *DeleteNotificationInput) SetNotification(v *Notification) *DeleteNotificationInput

SetNotification sets the Notification field's value.

func (DeleteNotificationInput) String Uses

func (s DeleteNotificationInput) String() string

String returns the string representation

func (*DeleteNotificationInput) Validate Uses

func (s *DeleteNotificationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteNotificationOutput Uses

type DeleteNotificationOutput struct {
    // contains filtered or unexported fields
}

Response of DeleteNotification

func (DeleteNotificationOutput) GoString Uses

func (s DeleteNotificationOutput) GoString() string

GoString returns the string representation

func (DeleteNotificationOutput) String Uses

func (s DeleteNotificationOutput) String() string

String returns the string representation

type DeleteSubscriberInput Uses

type DeleteSubscriberInput struct {

    // The accountId that is associated with the budget whose subscriber you want
    // to delete.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget whose subscriber you want to delete.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // The notification whose subscriber you want to delete.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`

    // The subscriber that you want to delete.
    //
    // Subscriber is a required field
    Subscriber *Subscriber `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of DeleteSubscriber

func (DeleteSubscriberInput) GoString Uses

func (s DeleteSubscriberInput) GoString() string

GoString returns the string representation

func (*DeleteSubscriberInput) SetAccountId Uses

func (s *DeleteSubscriberInput) SetAccountId(v string) *DeleteSubscriberInput

SetAccountId sets the AccountId field's value.

func (*DeleteSubscriberInput) SetBudgetName Uses

func (s *DeleteSubscriberInput) SetBudgetName(v string) *DeleteSubscriberInput

SetBudgetName sets the BudgetName field's value.

func (*DeleteSubscriberInput) SetNotification Uses

func (s *DeleteSubscriberInput) SetNotification(v *Notification) *DeleteSubscriberInput

SetNotification sets the Notification field's value.

func (*DeleteSubscriberInput) SetSubscriber Uses

func (s *DeleteSubscriberInput) SetSubscriber(v *Subscriber) *DeleteSubscriberInput

SetSubscriber sets the Subscriber field's value.

func (DeleteSubscriberInput) String Uses

func (s DeleteSubscriberInput) String() string

String returns the string representation

func (*DeleteSubscriberInput) Validate Uses

func (s *DeleteSubscriberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSubscriberOutput Uses

type DeleteSubscriberOutput struct {
    // contains filtered or unexported fields
}

Response of DeleteSubscriber

func (DeleteSubscriberOutput) GoString Uses

func (s DeleteSubscriberOutput) GoString() string

GoString returns the string representation

func (DeleteSubscriberOutput) String Uses

func (s DeleteSubscriberOutput) String() string

String returns the string representation

type DescribeBudgetInput Uses

type DescribeBudgetInput struct {

    // The accountId that is associated with the budget that you want a description
    // of.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget that you want a description of.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Request of DescribeBudget

func (DescribeBudgetInput) GoString Uses

func (s DescribeBudgetInput) GoString() string

GoString returns the string representation

func (*DescribeBudgetInput) SetAccountId Uses

func (s *DescribeBudgetInput) SetAccountId(v string) *DescribeBudgetInput

SetAccountId sets the AccountId field's value.

func (*DescribeBudgetInput) SetBudgetName Uses

func (s *DescribeBudgetInput) SetBudgetName(v string) *DescribeBudgetInput

SetBudgetName sets the BudgetName field's value.

func (DescribeBudgetInput) String Uses

func (s DescribeBudgetInput) String() string

String returns the string representation

func (*DescribeBudgetInput) Validate Uses

func (s *DescribeBudgetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBudgetOutput Uses

type DescribeBudgetOutput struct {

    // The description of the budget.
    Budget *Budget `type:"structure"`
    // contains filtered or unexported fields
}

Response of DescribeBudget

func (DescribeBudgetOutput) GoString Uses

func (s DescribeBudgetOutput) GoString() string

GoString returns the string representation

func (*DescribeBudgetOutput) SetBudget Uses

func (s *DescribeBudgetOutput) SetBudget(v *Budget) *DescribeBudgetOutput

SetBudget sets the Budget field's value.

func (DescribeBudgetOutput) String Uses

func (s DescribeBudgetOutput) String() string

String returns the string representation

type DescribeBudgetPerformanceHistoryInput Uses

type DescribeBudgetPerformanceHistoryInput struct {

    // The account ID of the user. It should be a 12-digit number.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // A string that represents the budget name. The ":" and "\" characters aren't
    // allowed.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // An integer that represents how many entries a paginated response contains.
    // The maximum is 100.
    MaxResults *int64 `min:"1" type:"integer"`

    // A generic string.
    NextToken *string `type:"string"`

    // Retrieves how often the budget went into an ALARM state for the specified
    // time period.
    TimePeriod *TimePeriod `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeBudgetPerformanceHistoryInput) GoString Uses

func (s DescribeBudgetPerformanceHistoryInput) GoString() string

GoString returns the string representation

func (*DescribeBudgetPerformanceHistoryInput) SetAccountId Uses

func (s *DescribeBudgetPerformanceHistoryInput) SetAccountId(v string) *DescribeBudgetPerformanceHistoryInput

SetAccountId sets the AccountId field's value.

func (*DescribeBudgetPerformanceHistoryInput) SetBudgetName Uses

func (s *DescribeBudgetPerformanceHistoryInput) SetBudgetName(v string) *DescribeBudgetPerformanceHistoryInput

SetBudgetName sets the BudgetName field's value.

func (*DescribeBudgetPerformanceHistoryInput) SetMaxResults Uses

func (s *DescribeBudgetPerformanceHistoryInput) SetMaxResults(v int64) *DescribeBudgetPerformanceHistoryInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeBudgetPerformanceHistoryInput) SetNextToken Uses

func (s *DescribeBudgetPerformanceHistoryInput) SetNextToken(v string) *DescribeBudgetPerformanceHistoryInput

SetNextToken sets the NextToken field's value.

func (*DescribeBudgetPerformanceHistoryInput) SetTimePeriod Uses

func (s *DescribeBudgetPerformanceHistoryInput) SetTimePeriod(v *TimePeriod) *DescribeBudgetPerformanceHistoryInput

SetTimePeriod sets the TimePeriod field's value.

func (DescribeBudgetPerformanceHistoryInput) String Uses

func (s DescribeBudgetPerformanceHistoryInput) String() string

String returns the string representation

func (*DescribeBudgetPerformanceHistoryInput) Validate Uses

func (s *DescribeBudgetPerformanceHistoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBudgetPerformanceHistoryOutput Uses

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 *BudgetPerformanceHistory `type:"structure"`

    // A generic string.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeBudgetPerformanceHistoryOutput) GoString Uses

func (s DescribeBudgetPerformanceHistoryOutput) GoString() string

GoString returns the string representation

func (*DescribeBudgetPerformanceHistoryOutput) SetBudgetPerformanceHistory Uses

func (s *DescribeBudgetPerformanceHistoryOutput) SetBudgetPerformanceHistory(v *BudgetPerformanceHistory) *DescribeBudgetPerformanceHistoryOutput

SetBudgetPerformanceHistory sets the BudgetPerformanceHistory field's value.

func (*DescribeBudgetPerformanceHistoryOutput) SetNextToken Uses

func (s *DescribeBudgetPerformanceHistoryOutput) SetNextToken(v string) *DescribeBudgetPerformanceHistoryOutput

SetNextToken sets the NextToken field's value.

func (DescribeBudgetPerformanceHistoryOutput) String Uses

func (s DescribeBudgetPerformanceHistoryOutput) String() string

String returns the string representation

type DescribeBudgetsInput Uses

type DescribeBudgetsInput struct {

    // The accountId that is associated with the budgets that you want descriptions
    // of.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // An optional integer that represents how many entries a paginated response
    // contains. The maximum is 100.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token that you include in your request to indicate the next
    // set of results that you want to retrieve.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Request of DescribeBudgets

func (DescribeBudgetsInput) GoString Uses

func (s DescribeBudgetsInput) GoString() string

GoString returns the string representation

func (*DescribeBudgetsInput) SetAccountId Uses

func (s *DescribeBudgetsInput) SetAccountId(v string) *DescribeBudgetsInput

SetAccountId sets the AccountId field's value.

func (*DescribeBudgetsInput) SetMaxResults Uses

func (s *DescribeBudgetsInput) SetMaxResults(v int64) *DescribeBudgetsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeBudgetsInput) SetNextToken Uses

func (s *DescribeBudgetsInput) SetNextToken(v string) *DescribeBudgetsInput

SetNextToken sets the NextToken field's value.

func (DescribeBudgetsInput) String Uses

func (s DescribeBudgetsInput) String() string

String returns the string representation

func (*DescribeBudgetsInput) Validate Uses

func (s *DescribeBudgetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBudgetsOutput Uses

type DescribeBudgetsOutput struct {

    // A list of budgets.
    Budgets []*Budget `type:"list"`

    // The pagination token in the service response that indicates the next set
    // of results that you can retrieve.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Response of DescribeBudgets

func (DescribeBudgetsOutput) GoString Uses

func (s DescribeBudgetsOutput) GoString() string

GoString returns the string representation

func (*DescribeBudgetsOutput) SetBudgets Uses

func (s *DescribeBudgetsOutput) SetBudgets(v []*Budget) *DescribeBudgetsOutput

SetBudgets sets the Budgets field's value.

func (*DescribeBudgetsOutput) SetNextToken Uses

func (s *DescribeBudgetsOutput) SetNextToken(v string) *DescribeBudgetsOutput

SetNextToken sets the NextToken field's value.

func (DescribeBudgetsOutput) String Uses

func (s DescribeBudgetsOutput) String() string

String returns the string representation

type DescribeNotificationsForBudgetInput Uses

type DescribeNotificationsForBudgetInput struct {

    // The accountId that is associated with the budget whose notifications you
    // want descriptions of.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget whose notifications you want descriptions of.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // An optional integer that represents how many entries a paginated response
    // contains. The maximum is 100.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token that you include in your request to indicate the next
    // set of results that you want to retrieve.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Request of DescribeNotificationsForBudget

func (DescribeNotificationsForBudgetInput) GoString Uses

func (s DescribeNotificationsForBudgetInput) GoString() string

GoString returns the string representation

func (*DescribeNotificationsForBudgetInput) SetAccountId Uses

func (s *DescribeNotificationsForBudgetInput) SetAccountId(v string) *DescribeNotificationsForBudgetInput

SetAccountId sets the AccountId field's value.

func (*DescribeNotificationsForBudgetInput) SetBudgetName Uses

func (s *DescribeNotificationsForBudgetInput) SetBudgetName(v string) *DescribeNotificationsForBudgetInput

SetBudgetName sets the BudgetName field's value.

func (*DescribeNotificationsForBudgetInput) SetMaxResults Uses

func (s *DescribeNotificationsForBudgetInput) SetMaxResults(v int64) *DescribeNotificationsForBudgetInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeNotificationsForBudgetInput) SetNextToken Uses

func (s *DescribeNotificationsForBudgetInput) SetNextToken(v string) *DescribeNotificationsForBudgetInput

SetNextToken sets the NextToken field's value.

func (DescribeNotificationsForBudgetInput) String Uses

func (s DescribeNotificationsForBudgetInput) String() string

String returns the string representation

func (*DescribeNotificationsForBudgetInput) Validate Uses

func (s *DescribeNotificationsForBudgetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeNotificationsForBudgetOutput Uses

type DescribeNotificationsForBudgetOutput struct {

    // The pagination token in the service response that indicates the next set
    // of results that you can retrieve.
    NextToken *string `type:"string"`

    // A list of notifications that are associated with a budget.
    Notifications []*Notification `type:"list"`
    // contains filtered or unexported fields
}

Response of GetNotificationsForBudget

func (DescribeNotificationsForBudgetOutput) GoString Uses

func (s DescribeNotificationsForBudgetOutput) GoString() string

GoString returns the string representation

func (*DescribeNotificationsForBudgetOutput) SetNextToken Uses

func (s *DescribeNotificationsForBudgetOutput) SetNextToken(v string) *DescribeNotificationsForBudgetOutput

SetNextToken sets the NextToken field's value.

func (*DescribeNotificationsForBudgetOutput) SetNotifications Uses

func (s *DescribeNotificationsForBudgetOutput) SetNotifications(v []*Notification) *DescribeNotificationsForBudgetOutput

SetNotifications sets the Notifications field's value.

func (DescribeNotificationsForBudgetOutput) String Uses

func (s DescribeNotificationsForBudgetOutput) String() string

String returns the string representation

type DescribeSubscribersForNotificationInput Uses

type DescribeSubscribersForNotificationInput struct {

    // The accountId that is associated with the budget whose subscribers you want
    // descriptions of.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget whose subscribers you want descriptions of.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // An optional integer that represents how many entries a paginated response
    // contains. The maximum is 100.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token that you include in your request to indicate the next
    // set of results that you want to retrieve.
    NextToken *string `type:"string"`

    // The notification whose subscribers you want to list.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of DescribeSubscribersForNotification

func (DescribeSubscribersForNotificationInput) GoString Uses

func (s DescribeSubscribersForNotificationInput) GoString() string

GoString returns the string representation

func (*DescribeSubscribersForNotificationInput) SetAccountId Uses

func (s *DescribeSubscribersForNotificationInput) SetAccountId(v string) *DescribeSubscribersForNotificationInput

SetAccountId sets the AccountId field's value.

func (*DescribeSubscribersForNotificationInput) SetBudgetName Uses

func (s *DescribeSubscribersForNotificationInput) SetBudgetName(v string) *DescribeSubscribersForNotificationInput

SetBudgetName sets the BudgetName field's value.

func (*DescribeSubscribersForNotificationInput) SetMaxResults Uses

func (s *DescribeSubscribersForNotificationInput) SetMaxResults(v int64) *DescribeSubscribersForNotificationInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeSubscribersForNotificationInput) SetNextToken Uses

func (s *DescribeSubscribersForNotificationInput) SetNextToken(v string) *DescribeSubscribersForNotificationInput

SetNextToken sets the NextToken field's value.

func (*DescribeSubscribersForNotificationInput) SetNotification Uses

func (s *DescribeSubscribersForNotificationInput) SetNotification(v *Notification) *DescribeSubscribersForNotificationInput

SetNotification sets the Notification field's value.

func (DescribeSubscribersForNotificationInput) String Uses

func (s DescribeSubscribersForNotificationInput) String() string

String returns the string representation

func (*DescribeSubscribersForNotificationInput) Validate Uses

func (s *DescribeSubscribersForNotificationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSubscribersForNotificationOutput Uses

type DescribeSubscribersForNotificationOutput struct {

    // The pagination token in the service response that indicates the next set
    // of results that you can retrieve.
    NextToken *string `type:"string"`

    // A list of subscribers that are associated with a notification.
    Subscribers []*Subscriber `min:"1" type:"list"`
    // contains filtered or unexported fields
}

Response of DescribeSubscribersForNotification

func (DescribeSubscribersForNotificationOutput) GoString Uses

func (s DescribeSubscribersForNotificationOutput) GoString() string

GoString returns the string representation

func (*DescribeSubscribersForNotificationOutput) SetNextToken Uses

func (s *DescribeSubscribersForNotificationOutput) SetNextToken(v string) *DescribeSubscribersForNotificationOutput

SetNextToken sets the NextToken field's value.

func (*DescribeSubscribersForNotificationOutput) SetSubscribers Uses

func (s *DescribeSubscribersForNotificationOutput) SetSubscribers(v []*Subscriber) *DescribeSubscribersForNotificationOutput

SetSubscribers sets the Subscribers field's value.

func (DescribeSubscribersForNotificationOutput) String Uses

func (s DescribeSubscribersForNotificationOutput) String() string

String returns the string representation

type Notification Uses

type Notification struct {

    // The comparison that is used for this notification.
    //
    // ComparisonOperator is a required field
    ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`

    // Whether this notification is in alarm. If a budget notification is in the
    // ALARM state, you have passed the set threshold for the budget.
    NotificationState *string `type:"string" enum:"NotificationState"`

    // Whether the notification is for how much you have spent (ACTUAL) or for how
    // much you're forecasted to spend (FORECASTED).
    //
    // NotificationType is a required field
    NotificationType *string `type:"string" required:"true" enum:"NotificationType"`

    // The threshold that is associated with a notification. Thresholds are always
    // a percentage.
    //
    // Threshold is a required field
    Threshold *float64 `type:"double" required:"true"`

    // The type of threshold for a notification. For ABSOLUTE_VALUE thresholds,
    // AWS notifies you when you go over or are forecasted to go over your total
    // cost threshold. For PERCENTAGE thresholds, AWS notifies you when you go over
    // or are forecasted to go over a certain percentage of your forecasted spend.
    // For example, if you have a budget for 200 dollars and you have a PERCENTAGE
    // threshold of 80%, AWS notifies you when you go over 160 dollars.
    ThresholdType *string `type:"string" enum:"ThresholdType"`
    // contains filtered or unexported fields
}

A notification that is associated with a budget. A budget can have up to five notifications.

Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.

For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:

* A notificationType of ACTUAL

* A thresholdType of PERCENTAGE

* A comparisonOperator of GREATER_THAN

* A notification threshold of 80

func (Notification) GoString Uses

func (s Notification) GoString() string

GoString returns the string representation

func (*Notification) SetComparisonOperator Uses

func (s *Notification) SetComparisonOperator(v string) *Notification

SetComparisonOperator sets the ComparisonOperator field's value.

func (*Notification) SetNotificationState Uses

func (s *Notification) SetNotificationState(v string) *Notification

SetNotificationState sets the NotificationState field's value.

func (*Notification) SetNotificationType Uses

func (s *Notification) SetNotificationType(v string) *Notification

SetNotificationType sets the NotificationType field's value.

func (*Notification) SetThreshold Uses

func (s *Notification) SetThreshold(v float64) *Notification

SetThreshold sets the Threshold field's value.

func (*Notification) SetThresholdType Uses

func (s *Notification) SetThresholdType(v string) *Notification

SetThresholdType sets the ThresholdType field's value.

func (Notification) String Uses

func (s Notification) String() string

String returns the string representation

func (*Notification) Validate Uses

func (s *Notification) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type NotificationWithSubscribers Uses

type NotificationWithSubscribers struct {

    // The notification that is associated with a budget.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`

    // A list of subscribers who are subscribed to this notification.
    //
    // Subscribers is a required field
    Subscribers []*Subscriber `min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.

func (NotificationWithSubscribers) GoString Uses

func (s NotificationWithSubscribers) GoString() string

GoString returns the string representation

func (*NotificationWithSubscribers) SetNotification Uses

func (s *NotificationWithSubscribers) SetNotification(v *Notification) *NotificationWithSubscribers

SetNotification sets the Notification field's value.

func (*NotificationWithSubscribers) SetSubscribers Uses

func (s *NotificationWithSubscribers) SetSubscribers(v []*Subscriber) *NotificationWithSubscribers

SetSubscribers sets the Subscribers field's value.

func (NotificationWithSubscribers) String Uses

func (s NotificationWithSubscribers) String() string

String returns the string representation

func (*NotificationWithSubscribers) Validate Uses

func (s *NotificationWithSubscribers) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Spend Uses

type Spend struct {

    // The cost or usage amount that is associated with a budget forecast, actual
    // spend, or budget threshold.
    //
    // Amount is a required field
    Amount *string `min:"1" type:"string" required:"true"`

    // The unit of measurement that is used for the budget forecast, actual spend,
    // or budget threshold, such as dollars or GB.
    //
    // Unit is a required field
    Unit *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The amount of cost or usage that is measured for a budget.

For example, a Spend for 3 GB of S3 usage would have the following parameters:

* An Amount of 3

* A unit of GB

func (Spend) GoString Uses

func (s Spend) GoString() string

GoString returns the string representation

func (*Spend) SetAmount Uses

func (s *Spend) SetAmount(v string) *Spend

SetAmount sets the Amount field's value.

func (*Spend) SetUnit Uses

func (s *Spend) SetUnit(v string) *Spend

SetUnit sets the Unit field's value.

func (Spend) String Uses

func (s Spend) String() string

String returns the string representation

func (*Spend) Validate Uses

func (s *Spend) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Subscriber Uses

type Subscriber struct {

    // The address that AWS sends budget notifications to, either an SNS topic or
    // an email.
    //
    // AWS validates the address for a CreateSubscriber request with the .* regex.
    //
    // Address is a required field
    Address *string `min:"1" type:"string" required:"true" sensitive:"true"`

    // The type of notification that AWS sends to a subscriber.
    //
    // SubscriptionType is a required field
    SubscriptionType *string `type:"string" required:"true" enum:"SubscriptionType"`
    // contains filtered or unexported fields
}

The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.

For example, an email subscriber would have the following parameters:

* A subscriptionType of EMAIL

* An address of example@example.com

func (Subscriber) GoString Uses

func (s Subscriber) GoString() string

GoString returns the string representation

func (*Subscriber) SetAddress Uses

func (s *Subscriber) SetAddress(v string) *Subscriber

SetAddress sets the Address field's value.

func (*Subscriber) SetSubscriptionType Uses

func (s *Subscriber) SetSubscriptionType(v string) *Subscriber

SetSubscriptionType sets the SubscriptionType field's value.

func (Subscriber) String Uses

func (s Subscriber) String() string

String returns the string representation

func (*Subscriber) Validate Uses

func (s *Subscriber) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TimePeriod Uses

type TimePeriod struct {

    // The end date for a budget. If you didn't specify an end date, AWS set your
    // end date to 06/15/87 00:00 UTC. The defaults are the same for the AWS Billing
    // and Cost Management console and the API.
    //
    // After the end date, AWS deletes the budget and all associated notifications
    // and subscribers. You can change your end date with the UpdateBudget operation.
    End *time.Time `type:"timestamp"`

    // The start date for a budget. If you created your budget and didn't specify
    // a start date, AWS defaults to the start of your chosen time period (DAILY,
    // MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget
    // on January 24, 2018, chose DAILY, and didn't set a start date, AWS set your
    // start date to 01/24/18 00:00 UTC. If you chose MONTHLY, AWS set your start
    // date to 01/01/18 00:00 UTC. The defaults are the same for the AWS Billing
    // and Cost Management console and the API.
    //
    // You can change your start date with the UpdateBudget operation.
    Start *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

The period of time that is 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.

func (TimePeriod) GoString Uses

func (s TimePeriod) GoString() string

GoString returns the string representation

func (*TimePeriod) SetEnd Uses

func (s *TimePeriod) SetEnd(v time.Time) *TimePeriod

SetEnd sets the End field's value.

func (*TimePeriod) SetStart Uses

func (s *TimePeriod) SetStart(v time.Time) *TimePeriod

SetStart sets the Start field's value.

func (TimePeriod) String Uses

func (s TimePeriod) String() string

String returns the string representation

type UpdateBudgetInput Uses

type UpdateBudgetInput struct {

    // The accountId that is associated with the budget that you want to update.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The budget that you want to update your budget to.
    //
    // NewBudget is a required field
    NewBudget *Budget `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of UpdateBudget

func (UpdateBudgetInput) GoString Uses

func (s UpdateBudgetInput) GoString() string

GoString returns the string representation

func (*UpdateBudgetInput) SetAccountId Uses

func (s *UpdateBudgetInput) SetAccountId(v string) *UpdateBudgetInput

SetAccountId sets the AccountId field's value.

func (*UpdateBudgetInput) SetNewBudget Uses

func (s *UpdateBudgetInput) SetNewBudget(v *Budget) *UpdateBudgetInput

SetNewBudget sets the NewBudget field's value.

func (UpdateBudgetInput) String Uses

func (s UpdateBudgetInput) String() string

String returns the string representation

func (*UpdateBudgetInput) Validate Uses

func (s *UpdateBudgetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateBudgetOutput Uses

type UpdateBudgetOutput struct {
    // contains filtered or unexported fields
}

Response of UpdateBudget

func (UpdateBudgetOutput) GoString Uses

func (s UpdateBudgetOutput) GoString() string

GoString returns the string representation

func (UpdateBudgetOutput) String Uses

func (s UpdateBudgetOutput) String() string

String returns the string representation

type UpdateNotificationInput Uses

type UpdateNotificationInput struct {

    // The accountId that is associated with the budget whose notification you want
    // to update.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget whose notification you want to update.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // The updated notification to be associated with a budget.
    //
    // NewNotification is a required field
    NewNotification *Notification `type:"structure" required:"true"`

    // The previous notification that is associated with a budget.
    //
    // OldNotification is a required field
    OldNotification *Notification `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of UpdateNotification

func (UpdateNotificationInput) GoString Uses

func (s UpdateNotificationInput) GoString() string

GoString returns the string representation

func (*UpdateNotificationInput) SetAccountId Uses

func (s *UpdateNotificationInput) SetAccountId(v string) *UpdateNotificationInput

SetAccountId sets the AccountId field's value.

func (*UpdateNotificationInput) SetBudgetName Uses

func (s *UpdateNotificationInput) SetBudgetName(v string) *UpdateNotificationInput

SetBudgetName sets the BudgetName field's value.

func (*UpdateNotificationInput) SetNewNotification Uses

func (s *UpdateNotificationInput) SetNewNotification(v *Notification) *UpdateNotificationInput

SetNewNotification sets the NewNotification field's value.

func (*UpdateNotificationInput) SetOldNotification Uses

func (s *UpdateNotificationInput) SetOldNotification(v *Notification) *UpdateNotificationInput

SetOldNotification sets the OldNotification field's value.

func (UpdateNotificationInput) String Uses

func (s UpdateNotificationInput) String() string

String returns the string representation

func (*UpdateNotificationInput) Validate Uses

func (s *UpdateNotificationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateNotificationOutput Uses

type UpdateNotificationOutput struct {
    // contains filtered or unexported fields
}

Response of UpdateNotification

func (UpdateNotificationOutput) GoString Uses

func (s UpdateNotificationOutput) GoString() string

GoString returns the string representation

func (UpdateNotificationOutput) String Uses

func (s UpdateNotificationOutput) String() string

String returns the string representation

type UpdateSubscriberInput Uses

type UpdateSubscriberInput struct {

    // The accountId that is associated with the budget whose subscriber you want
    // to update.
    //
    // AccountId is a required field
    AccountId *string `min:"12" type:"string" required:"true"`

    // The name of the budget whose subscriber you want to update.
    //
    // BudgetName is a required field
    BudgetName *string `min:"1" type:"string" required:"true"`

    // The updated subscriber that is associated with a budget notification.
    //
    // NewSubscriber is a required field
    NewSubscriber *Subscriber `type:"structure" required:"true"`

    // The notification whose subscriber you want to update.
    //
    // Notification is a required field
    Notification *Notification `type:"structure" required:"true"`

    // The previous subscriber that is associated with a budget notification.
    //
    // OldSubscriber is a required field
    OldSubscriber *Subscriber `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Request of UpdateSubscriber

func (UpdateSubscriberInput) GoString Uses

func (s UpdateSubscriberInput) GoString() string

GoString returns the string representation

func (*UpdateSubscriberInput) SetAccountId Uses

func (s *UpdateSubscriberInput) SetAccountId(v string) *UpdateSubscriberInput

SetAccountId sets the AccountId field's value.

func (*UpdateSubscriberInput) SetBudgetName Uses

func (s *UpdateSubscriberInput) SetBudgetName(v string) *UpdateSubscriberInput

SetBudgetName sets the BudgetName field's value.

func (*UpdateSubscriberInput) SetNewSubscriber Uses

func (s *UpdateSubscriberInput) SetNewSubscriber(v *Subscriber) *UpdateSubscriberInput

SetNewSubscriber sets the NewSubscriber field's value.

func (*UpdateSubscriberInput) SetNotification Uses

func (s *UpdateSubscriberInput) SetNotification(v *Notification) *UpdateSubscriberInput

SetNotification sets the Notification field's value.

func (*UpdateSubscriberInput) SetOldSubscriber Uses

func (s *UpdateSubscriberInput) SetOldSubscriber(v *Subscriber) *UpdateSubscriberInput

SetOldSubscriber sets the OldSubscriber field's value.

func (UpdateSubscriberInput) String Uses

func (s UpdateSubscriberInput) String() string

String returns the string representation

func (*UpdateSubscriberInput) Validate Uses

func (s *UpdateSubscriberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSubscriberOutput Uses

type UpdateSubscriberOutput struct {
    // contains filtered or unexported fields
}

Response of UpdateSubscriber

func (UpdateSubscriberOutput) GoString Uses

func (s UpdateSubscriberOutput) GoString() string

GoString returns the string representation

func (UpdateSubscriberOutput) String Uses

func (s UpdateSubscriberOutput) String() string

String returns the string representation

Directories

PathSynopsis
budgetsifacePackage budgetsiface provides an interface to enable mocking the AWS Budgets service client for testing your code.

Package budgets imports 10 packages (graph) and is imported by 17 packages. Updated 2019-05-30. Refresh now. Tools for package owners.