From da0c974ddf62fda7819c20d2e9545183ba75e59d Mon Sep 17 00:00:00 2001
From: awstools We can’t locate the resource that you specified. You've reached the limit on the number of tags you can associate with a resource. The number of API requests has exceeded the maximum allowed API request throttling limit
* for the account. An error on the client occurred. Typically, the cause is an invalid input value. You've reached the limit on the number of tags you can associate with a resource. The number of API requests has exceeded the maximum allowed API request throttling limit
* for the account. We can’t locate the resource that you specified. The request was received and recognized by the server, but the server rejected that
- * particular method for the requested resource. The request was received and recognized by the server, but the server rejected that
+ * particular method for the requested resource. The number of API requests has exceeded the maximum allowed API request throttling limit
diff --git a/clients/client-budgets/src/commands/DescribeBudgetNotificationsForAccountCommand.ts b/clients/client-budgets/src/commands/DescribeBudgetNotificationsForAccountCommand.ts
index 2741e4022cce..2ca6a38f41cf 100644
--- a/clients/client-budgets/src/commands/DescribeBudgetNotificationsForAccountCommand.ts
+++ b/clients/client-budgets/src/commands/DescribeBudgetNotificationsForAccountCommand.ts
@@ -36,9 +36,7 @@ export interface DescribeBudgetNotificationsForAccountCommandOutput
__MetadataBearer {}
/**
- *
- * Lists the budget names and notifications that are associated with an account.
- * Lists the budget names and notifications that are associated with an account. We can’t locate the resource that you specified. The request was received and recognized by the server, but the server rejected that
- * particular method for the requested resource. The request was received and recognized by the server, but the server rejected that
+ * particular method for the requested resource. The number of API requests has exceeded the maximum allowed API request throttling limit
diff --git a/clients/client-budgets/src/commands/ListTagsForResourceCommand.ts b/clients/client-budgets/src/commands/ListTagsForResourceCommand.ts
new file mode 100644
index 000000000000..85d45dfa57eb
--- /dev/null
+++ b/clients/client-budgets/src/commands/ListTagsForResourceCommand.ts
@@ -0,0 +1,102 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
+import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListTagsForResourceCommand}.
+ */
+export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
+/**
+ * @public
+ *
+ * The output of {@link ListTagsForResourceCommand}.
+ */
+export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
+
+/**
+ * Lists tags associated with a budget or budget action resource. You are not authorized to use this operation with the given parameters. An error on the server occurred during the processing of your request. Try again later. An error on the client occurred. Typically, the cause is an invalid input value. We can’t locate the resource that you specified. The number of API requests has exceeded the maximum allowed API request throttling limit
+ * for the account. Base exception class for all service exceptions from Budgets service. Creates tags for a budget or budget action resource. You are not authorized to use this operation with the given parameters. An error on the server occurred during the processing of your request. Try again later. An error on the client occurred. Typically, the cause is an invalid input value. We can’t locate the resource that you specified. You've reached the limit on the number of tags you can associate with a resource. The number of API requests has exceeded the maximum allowed API request throttling limit
+ * for the account. Base exception class for all service exceptions from Budgets service. Deletes tags associated with a budget or budget action resource. You are not authorized to use this operation with the given parameters. An error on the server occurred during the processing of your request. Try again later. An error on the client occurred. Typically, the cause is an invalid input value. We can’t locate the resource that you specified. The number of API requests has exceeded the maximum allowed API request throttling limit
+ * for the account. Base exception class for all service exceptions from Budgets service. We can’t locate the resource that you specified. The request was received and recognized by the server, but the server rejected that
- * particular method for the requested resource. The request was received and recognized by the server, but the server rejected that
+ * particular method for the requested resource. The number of API requests has exceeded the maximum allowed API request throttling limit
diff --git a/clients/client-budgets/src/commands/index.ts b/clients/client-budgets/src/commands/index.ts
index bfb04eabf4e9..36915c6d6944 100644
--- a/clients/client-budgets/src/commands/index.ts
+++ b/clients/client-budgets/src/commands/index.ts
@@ -18,6 +18,9 @@ export * from "./DescribeBudgetsCommand";
export * from "./DescribeNotificationsForBudgetCommand";
export * from "./DescribeSubscribersForNotificationCommand";
export * from "./ExecuteBudgetActionCommand";
+export * from "./ListTagsForResourceCommand";
+export * from "./TagResourceCommand";
+export * from "./UntagResourceCommand";
export * from "./UpdateBudgetActionCommand";
export * from "./UpdateBudgetCommand";
export * from "./UpdateNotificationCommand";
diff --git a/clients/client-budgets/src/models/models_0.ts b/clients/client-budgets/src/models/models_0.ts
index c44bd1a7b56d..750512371df8 100644
--- a/clients/client-budgets/src/models/models_0.ts
+++ b/clients/client-budgets/src/models/models_0.ts
@@ -251,7 +251,8 @@ export const SubscriptionType = {
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
/**
- * The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address. 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 has the following parameters: The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email. When you create a subscriber, the value of The address that Amazon Web Services sends budget notifications to, either an SNS topic
+ * or an email. When you create a subscriber, the value of A string that represents the budget name. The ":" and "\" characters, and the "/action/"
- * substring, aren't allowed. A string that represents the budget name. The ":" and "\" characters, and the
+ * "/action/" substring, aren't allowed. The type of action. This defines the type of tasks that can be carried out by this action.
- * This field also determines the format for definition. The type of action. This defines the type of tasks that can be carried out by this
+ * action. This field also determines the format for definition. The role passed for action execution and reversion. Roles and actions must be in the same
- * account. The role passed for action execution and reversion. Roles and actions must be in the
+ * same account. This distinguishes between whether the events are triggered by the user or are generated by
- * the system. This distinguishes between whether the events are triggered by the user or are
+ * generated by the system. The parameters that define or describe the historical data that your auto-adjusting budget is based on. The parameters that define or describe the historical data that your auto-adjusting
+ * budget is based on. The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the The number of budget periods included in the moving-average calculation that
+ * determines your auto-adjusted budget amount. The maximum value depends on the
+ * For the For the For the For the For the For the For the For the The integer that describes how many budget periods in your For example, if you set You can’t set your own The integer that describes how many budget periods in your
+ * For example, if you set You can’t set your own The string that defines whether your budget auto-adjusts based on historical or forecasted data. The string that defines whether your budget auto-adjusts based on historical or
+ * forecasted data. The parameters that define or describe the historical data that your auto-adjusting budget is based on. The parameters that define or describe the historical data that your auto-adjusting
+ * budget is based on. The cost or usage amount that's associated with a budget forecast, actual spend, or budget
- * threshold. The cost or usage amount that's associated with a budget forecast, actual spend, or
+ * budget threshold. The spend objects that are associated with this budget. The The spend objects that are associated with this budget. The For example, if it's the 20th of the month and you have spent For example, if it's the 20th of the month and you have spent The types of cost that are included in a The types of cost that are included in a
* The period of time that's covered by a budget. The period has a start date and an end date.
- * The start date must come before the end date. There are no restrictions on the end date. The period of time that's covered by a budget. The period has a start date and an end
+ * date. The start date must come before the end date. There are no restrictions on the end
+ * date. The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services 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 The start date for a budget. If you created your budget and didn't specify a start
+ * date, Amazon Web Services 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 You can change your start date with the The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to The end date for a budget. If you didn't specify an end date, Amazon Web Services set
+ * your end date to After the end date, Amazon Web Services deletes the budget and all the associated
* notifications and subscribers. You can change your end date with the
* Represents the output of the Represents the output of the This is the Amazon Resource Name (ARN) pattern for a budget:
* The name of a budget. The name must be unique within an account. The The name of a budget. The name must be unique within an account. The The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or
- * Savings Plans coverage that you want to track with your budget. The total amount of cost, usage, RI utilization, RI coverage, Savings Plans
+ * utilization, or Savings Plans coverage that you want to track with your budget.
* A map containing multiple A map containing multiple
- * For monthly budgets, provide 12 months of
+ListTagsForResource
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/budgets/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-budgets/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-budgets/Interface/ListTagsForResourceCommandOutput/)
+
+
+TagResource
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/budgets/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-budgets/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-budgets/Interface/TagResourceCommandOutput/)
+
+
+UntagResource
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/budgets/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-budgets/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-budgets/Interface/UntagResourceCommandOutput/)
+
diff --git a/clients/client-budgets/src/Budgets.ts b/clients/client-budgets/src/Budgets.ts
index 5ea43f766874..d792103219f1 100644
--- a/clients/client-budgets/src/Budgets.ts
+++ b/clients/client-budgets/src/Budgets.ts
@@ -98,6 +98,17 @@ import {
ExecuteBudgetActionCommandInput,
ExecuteBudgetActionCommandOutput,
} from "./commands/ExecuteBudgetActionCommand";
+import {
+ ListTagsForResourceCommand,
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput,
+} from "./commands/ListTagsForResourceCommand";
+import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
+import {
+ UntagResourceCommand,
+ UntagResourceCommandInput,
+ UntagResourceCommandOutput,
+} from "./commands/UntagResourceCommand";
import {
UpdateBudgetActionCommand,
UpdateBudgetActionCommandInput,
@@ -139,6 +150,9 @@ const commands = {
DescribeNotificationsForBudgetCommand,
DescribeSubscribersForNotificationCommand,
ExecuteBudgetActionCommand,
+ ListTagsForResourceCommand,
+ TagResourceCommand,
+ UntagResourceCommand,
UpdateBudgetCommand,
UpdateBudgetActionCommand,
UpdateNotificationCommand,
@@ -451,6 +465,45 @@ export interface Budgets {
cb: (err: any, data?: ExecuteBudgetActionCommandOutput) => void
): void;
+ /**
+ * @see {@link ListTagsForResourceCommand}
+ */
+ listTagsForResource(
+ args: ListTagsForResourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
*
Address
can't contain line breaks.Address
can't contain line
+ * breaks.TimeUnit
granularity of the budget:TimeUnit
granularity of the budget:
*
* @public
@@ -455,9 +465,18 @@ export interface HistoricalOptions {
BudgetAdjustmentPeriod: number | undefined;
/**
- * DAILY
granularity, the maximum value is 60
.DAILY
granularity, the maximum value is
+ * 60
.MONTHLY
granularity, the maximum value is 12
.MONTHLY
granularity, the maximum value is
+ * 12
.QUARTERLY
granularity, the maximum value is 4
.QUARTERLY
granularity, the maximum value is
+ * 4
.ANNUALLY
granularity, the maximum value is 1
.ANNUALLY
granularity, the maximum value is
+ * 1
.BudgetAdjustmentPeriod
are included in the calculation of your current BudgetLimit
. If the first budget period in your BudgetAdjustmentPeriod
has no cost data, then that budget period isn’t included in the average that determines your budget limit. BudgetAdjustmentPeriod
as 4
quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods
returns 3
. LookBackAvailablePeriods
. The value is automatically calculated from the BudgetAdjustmentPeriod
and your historical cost data.BudgetAdjustmentPeriod
are included in the calculation of your current
+ * BudgetLimit
. If the first budget period in your
+ * BudgetAdjustmentPeriod
has no cost data, then that budget period isn’t
+ * included in the average that determines your budget limit. BudgetAdjustmentPeriod
as 4
+ * quarters, but your account had no cost data in the first quarter, then only the last
+ * three quarters are included in the calculation. In this scenario,
+ * LookBackAvailablePeriods
returns 3
. LookBackAvailablePeriods
. The value is
+ * automatically calculated from the BudgetAdjustmentPeriod
and your
+ * historical cost data.actualSpend
tracks
- * how much you've used, cost, usage, RI units, or Savings Plans units and the
+ * actualSpend
+ * tracks how much you've used, cost, usage, RI units, or Savings Plans units and the
* forecastedSpend
tracks how much that you're predicted to spend based on
* your historical usage profile.50
dollars on
- * Amazon EC2, your actualSpend
is 50 USD
, and your
+ * 50
dollars
+ * on Amazon EC2, your actualSpend
is 50 USD
, and your
* forecastedSpend
is 75 USD
.COST
budget, such as tax and subscriptions.COST
budget, such as tax and
+ * subscriptions.USAGE
, RI_UTILIZATION
, RI_COVERAGE
,
* SAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
@@ -664,20 +686,29 @@ export interface CostTypes {
}
/**
- * DAILY
, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC
. If you chose MONTHLY
, Amazon Web Services set your start date to 01/01/18 00:00 UTC
. The defaults are the same for the Billing and Cost Management console and the API.DAILY
, and didn't set a start date, Amazon Web Services set your
+ * start date to 01/24/18 00:00 UTC
. If you chose MONTHLY
,
+ * Amazon Web Services set your start date to 01/01/18 00:00 UTC
. The
+ * defaults are the same for the Billing and Cost Management console and the API.UpdateBudget
operation.06/15/87 00:00 UTC
. The defaults are the same for the Billing and Cost Management console and the API.06/15/87 00:00 UTC
. The defaults are the same for the
+ * Billing and Cost Management console and the API.UpdateBudget
operation.CreateBudget
operation. The content consists of the detailed metadata and data file information, and the current status of the budget
object.CreateBudget
operation. The content consists
+ * of the detailed metadata and data file information, and the current status of the
+ * budget
object.arn:aws:budgets::AccountId:budget/budgetName
@@ -712,16 +745,16 @@ export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
*/
export interface Budget {
/**
- * :
and
- * \
characters, and the "/action/" substring, aren't allowed in
+ * :
+ * and \
characters, and the "/action/" substring, aren't allowed in
* BudgetName
.BudgetLimit
is required for cost or usage budgets, but optional for RI or
* Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or
@@ -734,20 +767,26 @@ export interface Budget {
BudgetLimit?: Spend;
/**
- * BudgetLimit
, including current or future limits.BudgetLimit
, including current or future
+ * limits.PlannedBudgetLimits
is available for cost or usage budget and supports both
- * monthly and quarterly TimeUnit
. 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. PlannedBudgetLimits
is available for cost or usage budget and supports
+ * both 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 four quarters of PlannedBudgetLimits
value
* entries in standard calendar quarter increments. This must start from the current
* quarter and include the next three quarters. The key
is the start of the
* quarter, UTC
in epoch seconds.
If the planned budget expires before 12 months for monthly or four quarters for quarterly,
- * provide the PlannedBudgetLimits
values only for the remaining
+ *
If the planned budget expires before 12 months for monthly or four 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.
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.
* The cost filters, such as The cost filters, such as Amazon Web Services Budgets supports the following services as a The types of costs that are included in this
- * DescribeBudget
and DescribeBudgets
response along with
* PlannedBudgetLimits
also contain BudgetLimit
representing
@@ -761,7 +800,9 @@ export interface Budget {
PlannedBudgetLimits?: RecordRegion
, Service
, member account
, Tag
, or Cost Category
, that are applied to a budget.Region
, Service
,
+ * LinkedAccount
, Tag
, or CostCategory
, that are
+ * applied to a budget.Service
filter for RI budgets:
*
COST
budget.USAGE
, RI_UTILIZATION
, RI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
budgets do not have CostTypes
.USAGE
, RI_UTILIZATION
, RI_COVERAGE
,
+ * SAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
+ * budgets do not have CostTypes
.
The period of time that's covered by a budget. You setthe start date and 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, Amazon Web Services 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, Amazon Web Services set your start date to 01/24/18 00:00 UTC
.
- * If you chose MONTHLY
, Amazon Web Services set your start date to
- * 01/01/18 00:00 UTC
. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC
. The defaults are the same for
- * the Billing and Cost Management console and the API.
The period of time that's covered by a budget. You setthe start date and 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, Amazon Web Services 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, Amazon Web Services set your start date to 01/24/18 00:00
+ * UTC
. If you chose MONTHLY
, Amazon Web Services set your start
+ * date to 01/01/18 00:00 UTC
. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC
. The defaults are
+ * the same for the Billing and Cost Management console and the API.
You can change either date with the UpdateBudget
operation.
After the end date, Amazon Web Services deletes the budget and all the associated * notifications and subscribers.
@@ -823,8 +866,8 @@ export interface Budget { CalculatedSpend?: CalculatedSpend; /** - *Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings - * Plans utilization, or Savings Plans coverage.
+ *Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, + * Savings Plans utilization, or Savings Plans coverage.
* @public */ BudgetType: BudgetType | undefined; @@ -872,9 +915,12 @@ export const NotificationState = { export type NotificationState = (typeof NotificationState)[keyof typeof NotificationState]; /** - *A notification that's associated with a budget. A budget can have up to ten 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 notification that's associated with a budget. A budget can have up to ten + * 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
@@ -897,8 +943,9 @@ export type NotificationState = (typeof NotificationState)[keyof typeof Notifica
*/
export interface Notification {
/**
- *
Specifies whether the notification is for how much you have spent (ACTUAL
) or
- * for how much that you're forecasted to spend (FORECASTED
).
Specifies whether the notification is for how much you have spent
+ * (ACTUAL
) or for how much that you're forecasted to spend
+ * (FORECASTED
).
The threshold that's associated with a notification. Thresholds are always a percentage, and - * many customers find value being alerted between 50% - 200% of the budgeted amount. The - * maximum limit for your threshold is 1,000,000% above the budgeted amount.
+ *The threshold that's associated with a notification. Thresholds are always a + * percentage, and many customers find value being alerted between 50% - 200% of the + * budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted + * amount.
* @public */ Threshold: number | undefined; /** - *The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds, Amazon Web Services 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%, Amazon Web Services notifies you when you go over 160 dollars.
The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds,
+ * Amazon Web Services notifies you when you go over or are forecasted to go over your
+ * total cost threshold. For
+ * PERCENTAGE
thresholds, Amazon Web Services 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%, Amazon Web Services notifies you when you go over 160 dollars.
A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.
+ *A notification with subscribers. A notification can have one SNS subscriber and up to + * 10 email subscribers, for a total of 11 subscribers.
* @public */ export interface NotificationWithSubscribers { @@ -949,6 +1004,24 @@ export interface NotificationWithSubscribers { Subscribers: Subscriber[] | undefined; } +/** + *The tag structure that contains a tag key and value.
+ * @public + */ +export interface ResourceTag { + /** + *The key that's associated with the tag.
+ * @public + */ + Key: string | undefined; + + /** + *The value that's associated with the tag.
+ * @public + */ + Value: string | undefined; +} + /** *Request of CreateBudget
* @public @@ -971,6 +1044,13 @@ export interface CreateBudgetRequest { * @public */ NotificationsWithSubscribers?: NotificationWithSubscribers[]; + + /** + *An optional list of tags to associate with the specified budget. Each tag consists of a + * key and a value, and each key must be unique for the resource.
+ * @public + */ + ResourceTags?: ResourceTag[]; } /** @@ -1083,6 +1163,32 @@ export class InvalidParameterException extends __BaseException { } } +/** + *You've reached the limit on the number of tags you can associate with a resource.
+ * @public + */ +export class ServiceQuotaExceededException extends __BaseException { + readonly name: "ServiceQuotaExceededException" = "ServiceQuotaExceededException"; + readonly $fault: "client" = "client"; + /** + *The error message the exception carries.
+ * @public + */ + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionTypeThe number of API requests has exceeded the maximum allowed API request throttling limit * for the account.
@@ -1121,8 +1227,8 @@ export interface CreateBudgetActionRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1174,6 +1280,13 @@ export interface CreateBudgetActionRequest { * @public */ Subscribers: Subscriber[] | undefined; + + /** + *An optional list of tags to associate with the specified budget action. Each tag consists of a + * key and a value, and each key must be unique for the resource.
+ * @public + */ + ResourceTags?: ResourceTag[]; } /** @@ -1187,8 +1300,8 @@ export interface CreateBudgetActionResponse { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1335,8 +1448,8 @@ export interface DeleteBudgetActionRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1361,8 +1474,8 @@ export interface DeleteBudgetActionResponse { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1375,8 +1488,8 @@ export interface DeleteBudgetActionResponse { } /** - *The request was received and recognized by the server, but the server rejected that - * particular method for the requested resource.
+ *The request was received and recognized by the server, but the server rejected that + * particular method for the requested resource.
* @public */ export class ResourceLockedException extends __BaseException { @@ -1508,8 +1621,8 @@ export interface DescribeBudgetActionRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1534,8 +1647,8 @@ export interface DescribeBudgetActionResponse { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1560,8 +1673,8 @@ export interface DescribeBudgetActionHistoriesRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1575,14 +1688,16 @@ export interface DescribeBudgetActionHistoriesRequest { ActionId: string | undefined; /** - *The period of time that's covered by a budget. The period has a start date and an end date. - * The start date must come before the end date. There are no restrictions on the end date.
+ *The period of time that's covered by a budget. The period has a start date and an end + * date. The start date must come before the end date. There are no restrictions on the end + * date.
* @public */ TimePeriod?: TimePeriod; /** - *An integer that represents how many entries a paginated response contains. The maximum is 100.
+ *An integer that represents how many entries a paginated response contains. The + * maximum is 100.
* @public */ MaxResults?: number; @@ -1650,7 +1765,8 @@ export interface DescribeBudgetActionsForAccountRequest { AccountId: string | undefined; /** - *An integer that represents how many entries a paginated response contains. The maximum is 100.
+ *An integer that represents how many entries a paginated response contains. The + * maximum is 100.
* @public */ MaxResults?: number; @@ -1692,14 +1808,15 @@ export interface DescribeBudgetActionsForBudgetRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; /** - *An integer that represents how many entries a paginated response contains. The maximum is 100.
+ *An integer that represents how many entries a paginated response contains. The + * maximum is 100.
* @public */ MaxResults?: number; @@ -1741,8 +1858,8 @@ export interface DescribeBudgetNotificationsForAccountRequest { AccountId: string | undefined; /** - *An integer that represents how many budgets a paginated response contains. The default is - * 50.
+ *An integer that represents how many budgets a paginated response contains. The + * default is 50.
* @public */ MaxResults?: number; @@ -1768,8 +1885,8 @@ export interface BudgetNotificationsForAccount { Notifications?: Notification[]; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName?: string; @@ -1780,9 +1897,7 @@ export interface BudgetNotificationsForAccount { */ export interface DescribeBudgetNotificationsForAccountResponse { /** - *- * A list of budget names and associated notifications for an account. - *
+ *A list of budget names and associated notifications for an account.
* @public */ BudgetNotificationsForAccount?: BudgetNotificationsForAccount[]; @@ -1831,8 +1946,8 @@ export interface DescribeBudgetPerformanceHistoryRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -1844,7 +1959,8 @@ export interface DescribeBudgetPerformanceHistoryRequest { TimePeriod?: TimePeriod; /** - *An integer that represents how many entries a paginated response contains. The maximum is 100.
+ *An integer that represents how many entries a paginated response contains. The + * maximum is 100.
* @public */ MaxResults?: number; @@ -1857,7 +1973,8 @@ export interface DescribeBudgetPerformanceHistoryRequest { } /** - *The amount of cost or usage that you created the budget for, compared to your actual costs or usage.
+ *The amount of cost or usage that you created the budget for, compared to your actual + * costs or usage.
* @public */ export interface BudgetedAndActualAmounts { @@ -1881,13 +1998,14 @@ export interface BudgetedAndActualAmounts { } /** - *A history of the state of a budget at the end of the budget's specified time period.
+ *A history of the state of a budget at the end of the budget's specified time + * period.
* @public */ export interface BudgetPerformanceHistory { /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName?: string; @@ -1895,7 +2013,9 @@ export interface BudgetPerformanceHistory { /** *The type of a budget. It must be one of the following types:
*
- * COST
, USAGE
, RI_UTILIZATION
, RI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, or SAVINGS_PLANS_COVERAGE
.
COST
, USAGE
, RI_UTILIZATION
,
+ * RI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, or
+ * SAVINGS_PLANS_COVERAGE
.
* @public
*/
BudgetType?: BudgetType;
@@ -1919,8 +2039,8 @@ export interface BudgetPerformanceHistory {
TimeUnit?: TimeUnit;
/**
- * A list of amounts of cost or usage that you created budgets for, which are compared to your - * actual costs or usage.
+ *A list of amounts of cost or usage that you created budgets for, which are compared to + * your actual costs or usage.
* @public */ BudgetedAndActualAmountsList?: BudgetedAndActualAmounts[]; @@ -2118,8 +2238,8 @@ export interface ExecuteBudgetActionRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -2152,8 +2272,8 @@ export interface ExecuteBudgetActionResponse { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -2175,6 +2295,72 @@ export interface ExecuteBudgetActionResponse { ExecutionType: ExecutionType | undefined; } +/** + * @public + */ +export interface ListTagsForResourceRequest { + /** + *The unique identifier for the resource.
+ * @public + */ + ResourceARN: string | undefined; +} + +/** + * @public + */ +export interface ListTagsForResourceResponse { + /** + *The tags associated with the resource.
+ * @public + */ + ResourceTags?: ResourceTag[]; +} + +/** + * @public + */ +export interface TagResourceRequest { + /** + *The unique identifier for the resource.
+ * @public + */ + ResourceARN: string | undefined; + + /** + *The tags associated with the resource.
+ * @public + */ + ResourceTags: ResourceTag[] | undefined; +} + +/** + * @public + */ +export interface TagResourceResponse {} + +/** + * @public + */ +export interface UntagResourceRequest { + /** + *The unique identifier for the resource.
+ * @public + */ + ResourceARN: string | undefined; + + /** + *The key that's associated with the tag.
+ * @public + */ + ResourceTagKeys: string[] | undefined; +} + +/** + * @public + */ +export interface UntagResourceResponse {} + /** *Request of UpdateBudget
* @public @@ -2210,8 +2396,8 @@ export interface UpdateBudgetActionRequest { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; @@ -2276,8 +2462,8 @@ export interface UpdateBudgetActionResponse { AccountId: string | undefined; /** - *A string that represents the budget name. The ":" and "\" characters, and the "/action/" - * substring, aren't allowed.
+ *A string that represents the budget name. The ":" and "\" characters, and the + * "/action/" substring, aren't allowed.
* @public */ BudgetName: string | undefined; diff --git a/clients/client-budgets/src/protocols/Aws_json1_1.ts b/clients/client-budgets/src/protocols/Aws_json1_1.ts index af4467413012..fecc7940de5c 100644 --- a/clients/client-budgets/src/protocols/Aws_json1_1.ts +++ b/clients/client-budgets/src/protocols/Aws_json1_1.ts @@ -67,6 +67,12 @@ import { ExecuteBudgetActionCommandInput, ExecuteBudgetActionCommandOutput, } from "../commands/ExecuteBudgetActionCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "../commands/ListTagsForResourceCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { UpdateBudgetActionCommandInput, UpdateBudgetActionCommandOutput } from "../commands/UpdateBudgetActionCommand"; import { UpdateBudgetCommandInput, UpdateBudgetCommandOutput } from "../commands/UpdateBudgetCommand"; import { UpdateNotificationCommandInput, UpdateNotificationCommandOutput } from "../commands/UpdateNotificationCommand"; @@ -123,16 +129,21 @@ import { InternalErrorException, InvalidNextTokenException, InvalidParameterException, + ListTagsForResourceRequest, NotFoundException, Notification, NotificationWithSubscribers, ResourceLockedException, + ResourceTag, ScpActionDefinition, + ServiceQuotaExceededException, Spend, SsmActionDefinition, Subscriber, + TagResourceRequest, ThrottlingException, TimePeriod, + UntagResourceRequest, UpdateBudgetActionRequest, UpdateBudgetActionResponse, UpdateBudgetRequest, @@ -387,6 +398,45 @@ export const se_ExecuteBudgetActionCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +/** + * serializeAws_json1_1ListTagsForResourceCommand + */ +export const se_ListTagsForResourceCommand = async ( + input: ListTagsForResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("ListTagsForResource"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +/** + * serializeAws_json1_1TagResourceCommand + */ +export const se_TagResourceCommand = async ( + input: TagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("TagResource"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + +/** + * serializeAws_json1_1UntagResourceCommand + */ +export const se_UntagResourceCommand = async ( + input: UntagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = sharedHeaders("UntagResource"); + let body: any; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + /** * serializeAws_json1_1UpdateBudgetCommand */ @@ -819,6 +869,66 @@ export const de_ExecuteBudgetActionCommand = async ( return response; }; +/** + * deserializeAws_json1_1ListTagsForResourceCommand + */ +export const de_ListTagsForResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseThe type of action. This defines the type of tasks that can be carried out by this action.\n\t\t\tThis field also determines the format for definition.
", + "smithy.api#documentation": "The type of action. This defines the type of tasks that can be carried out by this\n\t\t\taction. This field also determines the format for definition.
", "smithy.api#required": {} } }, @@ -981,7 +990,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.budgets#RoleArn", "traits": { - "smithy.api#documentation": "The role passed for action execution and reversion. Roles and actions must be in the same\n\t\t\taccount.
", + "smithy.api#documentation": "The role passed for action execution and reversion. Roles and actions must be in the\n\t\t\tsame account.
", "smithy.api#required": {} } }, @@ -1041,7 +1050,7 @@ "EventType": { "target": "com.amazonaws.budgets#EventType", "traits": { - "smithy.api#documentation": "This distinguishes between whether the events are triggered by the user or are generated by\n\t\t\tthe system.
", + "smithy.api#documentation": "This distinguishes between whether the events are triggered by the user or are\n\t\t\tgenerated by the system.
", "smithy.api#required": {} } }, @@ -1235,6 +1244,15 @@ } } }, + "com.amazonaws.budgets#AmazonResourceName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1011 + } + } + }, "com.amazonaws.budgets#ApprovalModel": { "type": "enum", "members": { @@ -1258,14 +1276,14 @@ "AutoAdjustType": { "target": "com.amazonaws.budgets#AutoAdjustType", "traits": { - "smithy.api#documentation": "The string that defines whether your budget auto-adjusts based on historical or forecasted data.
", + "smithy.api#documentation": "The string that defines whether your budget auto-adjusts based on historical or\n\t\t\tforecasted data.
", "smithy.api#required": {} } }, "HistoricalOptions": { "target": "com.amazonaws.budgets#HistoricalOptions", "traits": { - "smithy.api#documentation": "The parameters that define or describe the historical data that your auto-adjusting budget is based on.
" + "smithy.api#documentation": "The parameters that define or describe the historical data that your auto-adjusting\n\t\t\tbudget is based on.
" } }, "LastAutoAdjustTime": { @@ -1302,32 +1320,32 @@ "BudgetName": { "target": "com.amazonaws.budgets#BudgetName", "traits": { - "smithy.api#documentation": "The name of a budget. The name must be unique within an account. The :
and\n\t\t\t\t\\
characters, and the \"/action/\" substring, aren't allowed in\n\t\t\t\tBudgetName
.
The name of a budget. The name must be unique within an account. The :
\n\t\t\tand \\
characters, and the \"/action/\" substring, aren't allowed in\n\t\t\t\tBudgetName
.
The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or\n\t\t\tSavings Plans coverage that you want to track with your budget.
\n\n BudgetLimit
is required for cost or usage budgets, but optional for RI or\n\t\t\tSavings Plans utilization or coverage budgets. RI and Savings Plans utilization or\n\t\t\tcoverage budgets default to 100
. This is the only valid value for RI or\n\t\t\tSavings Plans utilization or coverage budgets. You can't use BudgetLimit
\n\t\t\twith PlannedBudgetLimits
for CreateBudget
and\n\t\t\t\tUpdateBudget
actions.
The total amount of cost, usage, RI utilization, RI coverage, Savings Plans\n\t\t\tutilization, or Savings Plans coverage that you want to track with your budget.
\n\n BudgetLimit
is required for cost or usage budgets, but optional for RI or\n\t\t\tSavings Plans utilization or coverage budgets. RI and Savings Plans utilization or\n\t\t\tcoverage budgets default to 100
. This is the only valid value for RI or\n\t\t\tSavings Plans utilization or coverage budgets. You can't use BudgetLimit
\n\t\t\twith PlannedBudgetLimits
for CreateBudget
and\n\t\t\t\tUpdateBudget
actions.
A map containing multiple BudgetLimit
, including current or future limits.
\n PlannedBudgetLimits
is available for cost or usage budget and supports both\n\t\t\tmonthly 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 four quarters of PlannedBudgetLimits
value\n\t\t\tentries in standard calendar quarter increments. This must start from the current\n\t\t\tquarter and include the next three quarters. The key
is the start of the\n\t\t\tquarter, UTC
in epoch seconds.
If the planned budget expires before 12 months for monthly or four quarters for quarterly,\n\t\t\tprovide the PlannedBudgetLimits
values only for the remaining\n\t\t\tperiods.
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.
\n DescribeBudget
and DescribeBudgets
response along with\n\t\t\t\tPlannedBudgetLimits
also contain BudgetLimit
representing\n\t\t\tthe current month or quarter limit present in PlannedBudgetLimits
. This\n\t\t\tonly applies to budgets that are created with PlannedBudgetLimits
. Budgets\n\t\t\tthat are created without PlannedBudgetLimits
only contain\n\t\t\t\tBudgetLimit
. They don't contain\n\t\t\tPlannedBudgetLimits
.
A map containing multiple BudgetLimit
, including current or future\n\t\t\tlimits.
\n PlannedBudgetLimits
is available for cost or usage budget and supports\n\t\t\tboth monthly and quarterly TimeUnit
.
For monthly budgets, provide 12 months of PlannedBudgetLimits
values.\n\t\t\tThis must start from the current month and include the next 11 months. The\n\t\t\t\tkey
is the start of the month, UTC
in epoch seconds.
For quarterly budgets, provide four quarters of PlannedBudgetLimits
value\n\t\t\tentries in standard calendar quarter increments. This must start from the current\n\t\t\tquarter and include the next three quarters. The key
is the start of the\n\t\t\tquarter, UTC
in epoch seconds.
If the planned budget expires before 12 months for monthly or four quarters for\n\t\t\tquarterly, provide the PlannedBudgetLimits
values only for the remaining\n\t\t\tperiods.
If the budget begins at a date in the future, provide PlannedBudgetLimits
\n\t\t\tvalues from the start date of the budget.
After all of the BudgetLimit
values in PlannedBudgetLimits
\n\t\t\tare used, the budget continues to use the last limit as the BudgetLimit
. At\n\t\t\tthat point, the planned budget provides the same experience as a fixed budget.
\n DescribeBudget
and DescribeBudgets
response along with\n\t\t\t\tPlannedBudgetLimits
also contain BudgetLimit
representing\n\t\t\tthe current month or quarter limit present in PlannedBudgetLimits
. This\n\t\t\tonly applies to budgets that are created with PlannedBudgetLimits
. Budgets\n\t\t\tthat are created without PlannedBudgetLimits
only contain\n\t\t\t\tBudgetLimit
. They don't contain\n\t\t\tPlannedBudgetLimits
.
The cost filters, such as Region
, Service
, member account
, Tag
, or Cost Category
, that are applied to a budget.
Amazon Web Services Budgets supports the following services as a Service
filter for RI budgets:
Amazon EC2
\nAmazon Redshift
\nAmazon Relational Database Service
\nAmazon ElastiCache
\nAmazon OpenSearch Service
\nThe cost filters, such as Region
, Service
,\n\t\t\t\tLinkedAccount
, Tag
, or CostCategory
, that are\n\t\t\tapplied to a budget.
Amazon Web Services Budgets supports the following services as a Service
filter for RI budgets:
Amazon EC2
\nAmazon Redshift
\nAmazon Relational Database Service
\nAmazon ElastiCache
\nAmazon OpenSearch Service
\nThe types of costs that are included in this COST
budget.
\n USAGE
, RI_UTILIZATION
, RI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
budgets do not have CostTypes
.
The types of costs that are included in this COST
budget.
\n USAGE
, RI_UTILIZATION
, RI_COVERAGE
,\n\t\t\t\tSAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
\n\t\t\tbudgets do not have CostTypes
.
The period of time that's covered by a budget. You setthe start date and end date. The start\n\t\t\tdate must come before the end date. The end date must come before 06/15/87 00:00\n\t\t\t\tUTC
.
If you create your budget and don't specify a start date, Amazon Web Services defaults to the\n\t\t\tstart of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example,\n\t\t\tif you created your budget on January 24, 2018, chose DAILY
, and didn't set\n\t\t\ta start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC
.\n\t\t\tIf you chose MONTHLY
, Amazon Web Services set your start date to\n\t\t\t\t01/01/18 00:00 UTC
. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC
. The defaults are the same for\n\t\t\tthe Billing and Cost Management console and the API.
You can change either date with the UpdateBudget
operation.
After the end date, Amazon Web Services deletes the budget and all the associated\n\t\t\tnotifications and subscribers.
" + "smithy.api#documentation": "The period of time that's covered by a budget. You setthe start date and end date. The\n\t\t\tstart date must come before the end date. The end date must come before 06/15/87\n\t\t\t\t00:00 UTC
.
If you create your budget and don't specify a start date, Amazon Web Services defaults\n\t\t\tto the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For\n\t\t\texample, if you created your budget on January 24, 2018, chose DAILY
, and\n\t\t\tdidn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00\n\t\t\t\tUTC
. If you chose MONTHLY
, Amazon Web Services set your start\n\t\t\tdate to 01/01/18 00:00 UTC
. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC
. The defaults are\n\t\t\tthe same for the Billing and Cost Management console and the API.
You can change either date with the UpdateBudget
operation.
After the end date, Amazon Web Services deletes the budget and all the associated\n\t\t\tnotifications and subscribers.
" } }, "CalculatedSpend": { @@ -1352,7 +1370,7 @@ "BudgetType": { "target": "com.amazonaws.budgets#BudgetType", "traits": { - "smithy.api#documentation": "Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings\n\t\t\tPlans utilization, or Savings Plans coverage.
", + "smithy.api#documentation": "Specifies whether this budget tracks costs, usage, RI utilization, RI coverage,\n\t\t\tSavings Plans utilization, or Savings Plans coverage.
", "smithy.api#required": {} } }, @@ -1370,18 +1388,18 @@ } }, "traits": { - "smithy.api#documentation": "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 Amazon Resource Name (ARN) pattern for a budget:
\n\n arn:aws:budgets::AccountId:budget/budgetName
\n
Represents the output of the CreateBudget
operation. The content consists\n\t\t\tof the detailed metadata and data file information, and the current status of the\n\t\t\t\tbudget
object.
This is the Amazon Resource Name (ARN) pattern for a budget:
\n\n arn:aws:budgets::AccountId:budget/budgetName
\n
A string that represents the budget name. The \":\" and \"\\\" characters, and the \"/action/\"\n\t\t\tsubstring, aren't allowed.
", + "smithy.api#documentation": "A string that represents the budget name. The \":\" and \"\\\" characters, and the\n\t\t\t\"/action/\" substring, aren't allowed.
", "smithy.api#length": { "min": 1, "max": 100 }, - "smithy.api#pattern": "^(?![^:\\\\]*/action/)[^:\\\\]+$" + "smithy.api#pattern": "^(?![^:\\\\]*/action/|(?i).*.*)[^:\\\\]+$" } }, "com.amazonaws.budgets#BudgetNotificationsForAccount": { @@ -1437,12 +1455,12 @@ "BudgetedAndActualAmountsList": { "target": "com.amazonaws.budgets#BudgetedAndActualAmountsList", "traits": { - "smithy.api#documentation": "A list of amounts of cost or usage that you created budgets for, which are compared to your\n\t\t\tactual costs or usage.
" + "smithy.api#documentation": "A list of amounts of cost or usage that you created budgets for, which are compared to\n\t\t\tyour actual costs or usage.
" } } }, "traits": { - "smithy.api#documentation": "A history of the state of a budget at the end of the budget's specified time period.
" + "smithy.api#documentation": "A history of the state of a budget at the end of the budget's specified time\n\t\t\tperiod.
" } }, "com.amazonaws.budgets#BudgetType": { @@ -1486,7 +1504,7 @@ } }, "traits": { - "smithy.api#documentation": "The type of a budget. It must be one of the following types:
\n\n COST
, USAGE
, RI_UTILIZATION
, RI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, or SAVINGS_PLANS_COVERAGE
.
The type of a budget. It must be one of the following types:
\n\n COST
, USAGE
, RI_UTILIZATION
,\n\t\t\t\tRI_COVERAGE
, SAVINGS_PLANS_UTILIZATION
, or\n\t\t\t\tSAVINGS_PLANS_COVERAGE
.
The amount of cost or usage that you created the budget for, compared to your actual costs or usage.
" + "smithy.api#documentation": "The amount of cost or usage that you created the budget for, compared to your actual\n\t\t\tcosts or usage.
" } }, "com.amazonaws.budgets#BudgetedAndActualAmountsList": { @@ -1548,7 +1566,7 @@ } }, "traits": { - "smithy.api#documentation": "The spend objects that are associated with this budget. The actualSpend
tracks\n\t\t\thow much you've used, cost, usage, RI units, or Savings Plans units and the\n\t\t\t\tforecastedSpend
tracks how much that you're predicted to spend based on\n\t\t\tyour historical usage profile.
For example, if it's the 20th of the month and you have spent 50
dollars on\n\t\t\tAmazon EC2, your actualSpend
is 50 USD
, and your\n\t\t\t\tforecastedSpend
is 75 USD
.
The spend objects that are associated with this budget. The actualSpend
\n\t\t\ttracks how much you've used, cost, usage, RI units, or Savings Plans units and the\n\t\t\t\tforecastedSpend
tracks how much that you're predicted to spend based on\n\t\t\tyour historical usage profile.
For example, if it's the 20th of the month and you have spent 50
dollars\n\t\t\ton Amazon EC2, your actualSpend
is 50 USD
, and your\n\t\t\t\tforecastedSpend
is 75 USD
.
The comparison operator of a notification. Currently, the service supports the following\n\t\t\toperators:
\n\n GREATER_THAN
, LESS_THAN
, EQUAL_TO
\n
The comparison operator of a notification. Currently, the service supports the\n\t\t\tfollowing operators:
\n\n GREATER_THAN
, LESS_THAN
, EQUAL_TO
\n
The types of cost that are included in a COST
budget, such as tax and subscriptions.
\n USAGE
, RI_UTILIZATION
, RI_COVERAGE
,\n\t\t\t\tSAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
\n\t\t\tbudgets don't have CostTypes
.
The types of cost that are included in a COST
budget, such as tax and\n\t\t\tsubscriptions.
\n USAGE
, RI_UTILIZATION
, RI_COVERAGE
,\n\t\t\t\tSAVINGS_PLANS_UTILIZATION
, and SAVINGS_PLANS_COVERAGE
\n\t\t\tbudgets don't have CostTypes
.
An optional list of tags to associate with the specified budget action. Each tag consists of a\n key and a value, and each key must be unique for the resource.
" + } } }, "traits": { @@ -1844,6 +1874,12 @@ "traits": { "smithy.api#documentation": "A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget
call, Amazon Web Services creates the notifications and subscribers for you.
An optional list of tags to associate with the specified budget. Each tag consists of a\n key and a value, and each key must be unique for the resource.
" + } } }, "traits": { @@ -2735,7 +2771,7 @@ } ], "traits": { - "smithy.api#documentation": "\n\t\t\tLists the budget names and notifications that are associated with an account.\n\t\t
", + "smithy.api#documentation": "Lists the budget names and notifications that are associated with an account.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -2756,7 +2792,7 @@ "MaxResults": { "target": "com.amazonaws.budgets#MaxResultsBudgetNotifications", "traits": { - "smithy.api#documentation": "An integer that represents how many budgets a paginated response contains. The default is\n\t\t\t50.
" + "smithy.api#documentation": "An integer that represents how many budgets a paginated response contains. The\n\t\t\tdefault is 50.
" } }, "NextToken": { @@ -2773,7 +2809,7 @@ "BudgetNotificationsForAccount": { "target": "com.amazonaws.budgets#BudgetNotificationsForAccountList", "traits": { - "smithy.api#documentation": "\n\t\t\tA list of budget names and associated notifications for an account.\n\t\t
" + "smithy.api#documentation": "A list of budget names and associated notifications for an account.
" } }, "NextToken": { @@ -3453,19 +3489,19 @@ "BudgetAdjustmentPeriod": { "target": "com.amazonaws.budgets#AdjustmentPeriod", "traits": { - "smithy.api#documentation": "The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit
granularity of the budget:
For the DAILY
granularity, the maximum value is 60
.
For the MONTHLY
granularity, the maximum value is 12
.
For the QUARTERLY
granularity, the maximum value is 4
.
For the ANNUALLY
granularity, the maximum value is 1
.
The number of budget periods included in the moving-average calculation that\n\t\t\tdetermines your auto-adjusted budget amount. The maximum value depends on the\n\t\t\t\tTimeUnit
granularity of the budget:
For the DAILY
granularity, the maximum value is\n\t\t\t\t\t60
.
For the MONTHLY
granularity, the maximum value is\n\t\t\t\t\t12
.
For the QUARTERLY
granularity, the maximum value is\n\t\t\t\t\t\t4
.
For the ANNUALLY
granularity, the maximum value is\n\t\t\t\t\t1
.
The integer that describes how many budget periods in your BudgetAdjustmentPeriod
are included in the calculation of your current BudgetLimit
. If the first budget period in your BudgetAdjustmentPeriod
has no cost data, then that budget period isn’t included in the average that determines your budget limit.
For example, if you set BudgetAdjustmentPeriod
as 4
quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods
returns 3
.
You can’t set your own LookBackAvailablePeriods
. The value is automatically calculated from the BudgetAdjustmentPeriod
and your historical cost data.
The integer that describes how many budget periods in your\n\t\t\t\tBudgetAdjustmentPeriod
are included in the calculation of your current\n\t\t\t\tBudgetLimit
. If the first budget period in your\n\t\t\t\tBudgetAdjustmentPeriod
has no cost data, then that budget period isn’t\n\t\t\tincluded in the average that determines your budget limit.
For example, if you set BudgetAdjustmentPeriod
as 4
\n\t\t\tquarters, but your account had no cost data in the first quarter, then only the last\n\t\t\tthree quarters are included in the calculation. In this scenario,\n\t\t\t\tLookBackAvailablePeriods
returns 3
.
You can’t set your own LookBackAvailablePeriods
. The value is\n\t\t\tautomatically calculated from the BudgetAdjustmentPeriod
and your\n\t\t\thistorical cost data.
The parameters that define or describe the historical data that your auto-adjusting budget is based on.
" + "smithy.api#documentation": "The parameters that define or describe the historical data that your auto-adjusting\n\t\t\tbudget is based on.
" } }, "com.amazonaws.budgets#IamActionDefinition": { @@ -3562,10 +3598,68 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.budgets#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.budgets#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.budgets#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.budgets#AccessDeniedException" + }, + { + "target": "com.amazonaws.budgets#InternalErrorException" + }, + { + "target": "com.amazonaws.budgets#InvalidParameterException" + }, + { + "target": "com.amazonaws.budgets#NotFoundException" + }, + { + "target": "com.amazonaws.budgets#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Lists tags associated with a budget or budget action resource.
" + } + }, + "com.amazonaws.budgets#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceARN": { + "target": "com.amazonaws.budgets#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The unique identifier for the resource.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.budgets#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "ResourceTags": { + "target": "com.amazonaws.budgets#ResourceTagList", + "traits": { + "smithy.api#documentation": "The tags associated with the resource.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.budgets#MaxResults": { "type": "integer", "traits": { - "smithy.api#documentation": "An integer that represents how many entries a paginated response contains. The maximum is 100.
", + "smithy.api#documentation": "An integer that represents how many entries a paginated response contains. The\n\t\t\tmaximum is 100.
", "smithy.api#range": { "min": 1, "max": 100 @@ -3609,7 +3703,7 @@ "NotificationType": { "target": "com.amazonaws.budgets#NotificationType", "traits": { - "smithy.api#documentation": "Specifies whether the notification is for how much you have spent (ACTUAL
) or\n\t\t\tfor how much that you're forecasted to spend (FORECASTED
).
Specifies whether the notification is for how much you have spent\n\t\t\t(ACTUAL
) or for how much that you're forecasted to spend\n\t\t\t\t(FORECASTED
).
The threshold that's associated with a notification. Thresholds are always a percentage, and\n\t\t\tmany customers find value being alerted between 50% - 200% of the budgeted amount. The\n\t\t\tmaximum limit for your threshold is 1,000,000% above the budgeted amount.
", + "smithy.api#documentation": "The threshold that's associated with a notification. Thresholds are always a\n\t\t\tpercentage, and many customers find value being alerted between 50% - 200% of the\n\t\t\tbudgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted\n\t\t\tamount.
", "smithy.api#required": {} } }, "ThresholdType": { "target": "com.amazonaws.budgets#ThresholdType", "traits": { - "smithy.api#documentation": "The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds, Amazon Web Services 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%, Amazon Web Services notifies you when you go over 160 dollars.
The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds,\n\t\t\t\tAmazon Web Services notifies you when you go over or are forecasted to go over your\n\t\t\ttotal cost threshold. For\n\t\t\t\tPERCENTAGE
thresholds, Amazon Web Services notifies you when you go over\n\t\t\tor are forecasted to go over a certain percentage of your forecasted spend. For example,\n\t\t\tif you have a budget for 200 dollars and you have a PERCENTAGE
threshold of\n\t\t\t80%, Amazon Web Services notifies you when you go over 160 dollars.
A notification that's associated with a budget. A budget can have up to ten notifications.
\nEach 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.
\nFor 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:
\nA notificationType of ACTUAL
\n
A thresholdType
of PERCENTAGE
\n
A comparisonOperator
of GREATER_THAN
\n
A notification threshold
of 80
\n
A notification that's associated with a budget. A budget can have up to ten\n\t\t\tnotifications.
\nEach notification must have at least one subscriber. A notification can have one SNS\n\t\t\tsubscriber and up to 10 email subscribers, for a total of 11 subscribers.
\nFor example, if you have a budget for 200 dollars and you want to be notified when you\n\t\t\tgo over 160 dollars, create a notification with the following parameters:
\nA notificationType of ACTUAL
\n
A thresholdType
of PERCENTAGE
\n
A comparisonOperator
of GREATER_THAN
\n
A notification threshold
of 80
\n
A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.
" + "smithy.api#documentation": "A notification with subscribers. A notification can have one SNS subscriber and up to\n\t\t\t10 email subscribers, for a total of 11 subscribers.
" } }, "com.amazonaws.budgets#NotificationWithSubscribersList": { @@ -3798,11 +3892,75 @@ } }, "traits": { - "smithy.api#documentation": "The request was received and recognized by the server, but the server rejected that\n particular method for the requested resource.
", + "smithy.api#documentation": "The request was received and recognized by the server, but the server rejected that\n particular method for the requested resource.
", "smithy.api#error": "client", "smithy.api#httpError": 423 } }, + "com.amazonaws.budgets#ResourceTag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.budgets#ResourceTagKey", + "traits": { + "smithy.api#documentation": "The key that's associated with the tag.
", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.budgets#ResourceTagValue", + "traits": { + "smithy.api#documentation": "The value that's associated with the tag.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The tag structure that contains a tag key and value.
" + } + }, + "com.amazonaws.budgets#ResourceTagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.budgets#ResourceTagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.budgets#ResourceTagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.budgets#ResourceTagList": { + "type": "list", + "member": { + "target": "com.amazonaws.budgets#ResourceTag" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.budgets#ResourceTagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, "com.amazonaws.budgets#Role": { "type": "string", "traits": { @@ -3857,13 +4015,26 @@ "smithy.api#documentation": "The service control policies (SCP) action definition details.
" } }, + "com.amazonaws.budgets#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.budgets#errorMessage" + } + }, + "traits": { + "smithy.api#documentation": "You've reached the limit on the number of tags you can associate with a resource.
", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, "com.amazonaws.budgets#Spend": { "type": "structure", "members": { "Amount": { "target": "com.amazonaws.budgets#NumericValue", "traits": { - "smithy.api#documentation": "The cost or usage amount that's associated with a budget forecast, actual spend, or budget\n\t\t\tthreshold.
", + "smithy.api#documentation": "The cost or usage amount that's associated with a budget forecast, actual spend, or\n\t\t\tbudget threshold.
", "smithy.api#required": {} } }, @@ -3921,19 +4092,19 @@ "Address": { "target": "com.amazonaws.budgets#SubscriberAddress", "traits": { - "smithy.api#documentation": "The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.
\nWhen you create a subscriber, the value of Address
can't contain line breaks.
The address that Amazon Web Services sends budget notifications to, either an SNS topic\n\t\t\tor an email.
\nWhen you create a subscriber, the value of Address
can't contain line\n\t\t\tbreaks.
The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.
\nFor example, an email subscriber has the following parameters:
\nA subscriptionType
of EMAIL
\n
An address
of example@example.com
\n
The subscriber to a budget notification. The subscriber consists of a subscription\n\t\t\ttype and either an Amazon SNS topic or an email address.
\nFor example, an email subscriber has the following parameters:
\nA subscriptionType
of EMAIL
\n
An address
of example@example.com
\n
A string that contains an email address or SNS topic for the subscriber's address.
", + "smithy.api#documentation": "A string that contains an email address or SNS topic for the subscriber's\n\t\t\taddress.
", "smithy.api#length": { "min": 1, "max": 2147483647 @@ -3975,6 +4146,67 @@ "smithy.api#documentation": "The subscription type of the subscriber. It can be SMS or EMAIL.
" } }, + "com.amazonaws.budgets#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.budgets#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.budgets#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.budgets#AccessDeniedException" + }, + { + "target": "com.amazonaws.budgets#InternalErrorException" + }, + { + "target": "com.amazonaws.budgets#InvalidParameterException" + }, + { + "target": "com.amazonaws.budgets#NotFoundException" + }, + { + "target": "com.amazonaws.budgets#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.budgets#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Creates tags for a budget or budget action resource.
" + } + }, + "com.amazonaws.budgets#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceARN": { + "target": "com.amazonaws.budgets#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The unique identifier for the resource.
", + "smithy.api#required": {} + } + }, + "ResourceTags": { + "target": "com.amazonaws.budgets#ResourceTagList", + "traits": { + "smithy.api#documentation": "The tags associated with the resource.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.budgets#TagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.budgets#TargetId": { "type": "string", "traits": { @@ -4036,18 +4268,18 @@ "Start": { "target": "com.amazonaws.budgets#GenericTimestamp", "traits": { - "smithy.api#documentation": "The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services 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, Amazon Web Services set your start date to 01/24/18 00:00 UTC
. If you chose MONTHLY
, Amazon Web Services set your start date to 01/01/18 00:00 UTC
. The defaults are the same for the Billing and Cost Management console and the API.
You can change your start date with the UpdateBudget
operation.
The start date for a budget. If you created your budget and didn't specify a start\n\t\t\tdate, Amazon Web Services defaults to the start of your chosen time period (DAILY,\n\t\t\tMONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24,\n\t\t\t2018, chose DAILY
, and didn't set a start date, Amazon Web Services set your\n\t\t\tstart date to 01/24/18 00:00 UTC
. If you chose MONTHLY
,\n\t\t\t\tAmazon Web Services set your start date to 01/01/18 00:00 UTC
. The\n\t\t\tdefaults are the same for the Billing and Cost Management console and the API.
You can change your start date with the UpdateBudget
operation.
The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC
. The defaults are the same for the Billing and Cost Management console and the API.
After the end date, Amazon Web Services deletes the budget and all the associated\n\t\t\tnotifications and subscribers. You can change your end date with the\n\t\t\t\tUpdateBudget
operation.
The end date for a budget. If you didn't specify an end date, Amazon Web Services set\n\t\t\tyour end date to 06/15/87 00:00 UTC
. The defaults are the same for the\n\t\t\t\tBilling and Cost Management console and the API.
After the end date, Amazon Web Services deletes the budget and all the associated\n\t\t\tnotifications and subscribers. You can change your end date with the\n\t\t\t\tUpdateBudget
operation.
The period of time that's covered by a budget. The period has a start date and an end date.\n\t\t\tThe start date must come before the end date. There are no restrictions on the end date.
" + "smithy.api#documentation": "The period of time that's covered by a budget. The period has a start date and an end\n\t\t\tdate. The start date must come before the end date. There are no restrictions on the end\n\t\t\tdate.
" } }, "com.amazonaws.budgets#TimeUnit": { @@ -4085,7 +4317,7 @@ "com.amazonaws.budgets#UnitValue": { "type": "string", "traits": { - "smithy.api#documentation": "A string that represents the spend unit of a budget. It can't be null or empty.
", + "smithy.api#documentation": "A string that represents the spend unit of a budget. It can't be null or\n\t\t\tempty.
", "smithy.api#length": { "min": 1, "max": 2147483647 @@ -4093,6 +4325,64 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.budgets#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.budgets#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.budgets#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.budgets#AccessDeniedException" + }, + { + "target": "com.amazonaws.budgets#InternalErrorException" + }, + { + "target": "com.amazonaws.budgets#InvalidParameterException" + }, + { + "target": "com.amazonaws.budgets#NotFoundException" + }, + { + "target": "com.amazonaws.budgets#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes tags associated with a budget or budget action resource.
" + } + }, + "com.amazonaws.budgets#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceARN": { + "target": "com.amazonaws.budgets#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The unique identifier for the resource.
", + "smithy.api#required": {} + } + }, + "ResourceTagKeys": { + "target": "com.amazonaws.budgets#ResourceTagKeyList", + "traits": { + "smithy.api#documentation": "The key that's associated with the tag.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.budgets#UntagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.budgets#UpdateBudget": { "type": "operation", "input": {