@aws-sdk/client-budgets 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +144 -143
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +143 -0
- package/dist-es/models/errors.js +169 -0
- package/dist-es/models/models_0.js +1 -312
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +295 -0
- package/dist-types/models/errors.d.ts +210 -0
- package/dist-types/models/models_0.d.ts +1 -505
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +169 -0
- package/dist-types/ts3.4/models/errors.d.ts +99 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -268
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
export declare const ThresholdType: {
|
|
2
|
+
readonly ABSOLUTE_VALUE: "ABSOLUTE_VALUE";
|
|
3
|
+
readonly PERCENTAGE: "PERCENTAGE";
|
|
4
|
+
};
|
|
5
|
+
export type ThresholdType = (typeof ThresholdType)[keyof typeof ThresholdType];
|
|
6
|
+
export declare const ActionType: {
|
|
7
|
+
readonly IAM: "APPLY_IAM_POLICY";
|
|
8
|
+
readonly SCP: "APPLY_SCP_POLICY";
|
|
9
|
+
readonly SSM: "RUN_SSM_DOCUMENTS";
|
|
10
|
+
};
|
|
11
|
+
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
12
|
+
export declare const ApprovalModel: {
|
|
13
|
+
readonly AUTO: "AUTOMATIC";
|
|
14
|
+
readonly MANUAL: "MANUAL";
|
|
15
|
+
};
|
|
16
|
+
export type ApprovalModel = (typeof ApprovalModel)[keyof typeof ApprovalModel];
|
|
17
|
+
export declare const ActionSubType: {
|
|
18
|
+
readonly STOP_EC2: "STOP_EC2_INSTANCES";
|
|
19
|
+
readonly STOP_RDS: "STOP_RDS_INSTANCES";
|
|
20
|
+
};
|
|
21
|
+
export type ActionSubType = (typeof ActionSubType)[keyof typeof ActionSubType];
|
|
22
|
+
export declare const NotificationType: {
|
|
23
|
+
readonly ACTUAL: "ACTUAL";
|
|
24
|
+
readonly FORECASTED: "FORECASTED";
|
|
25
|
+
};
|
|
26
|
+
export type NotificationType =
|
|
27
|
+
(typeof NotificationType)[keyof typeof NotificationType];
|
|
28
|
+
export declare const ActionStatus: {
|
|
29
|
+
readonly Execution_Failure: "EXECUTION_FAILURE";
|
|
30
|
+
readonly Execution_In_Progress: "EXECUTION_IN_PROGRESS";
|
|
31
|
+
readonly Execution_Success: "EXECUTION_SUCCESS";
|
|
32
|
+
readonly Pending: "PENDING";
|
|
33
|
+
readonly Reset_Failure: "RESET_FAILURE";
|
|
34
|
+
readonly Reset_In_Progress: "RESET_IN_PROGRESS";
|
|
35
|
+
readonly Reverse_Failure: "REVERSE_FAILURE";
|
|
36
|
+
readonly Reverse_In_Progress: "REVERSE_IN_PROGRESS";
|
|
37
|
+
readonly Reverse_Success: "REVERSE_SUCCESS";
|
|
38
|
+
readonly Standby: "STANDBY";
|
|
39
|
+
};
|
|
40
|
+
export type ActionStatus = (typeof ActionStatus)[keyof typeof ActionStatus];
|
|
41
|
+
export declare const SubscriptionType: {
|
|
42
|
+
readonly EMAIL: "EMAIL";
|
|
43
|
+
readonly SNS: "SNS";
|
|
44
|
+
};
|
|
45
|
+
export type SubscriptionType =
|
|
46
|
+
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
47
|
+
export declare const EventType: {
|
|
48
|
+
readonly CreateAction: "CREATE_ACTION";
|
|
49
|
+
readonly DeleteAction: "DELETE_ACTION";
|
|
50
|
+
readonly ExecuteAction: "EXECUTE_ACTION";
|
|
51
|
+
readonly System: "SYSTEM";
|
|
52
|
+
readonly UpdateAction: "UPDATE_ACTION";
|
|
53
|
+
};
|
|
54
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
55
|
+
export declare const AutoAdjustType: {
|
|
56
|
+
readonly FORECAST: "FORECAST";
|
|
57
|
+
readonly HISTORICAL: "HISTORICAL";
|
|
58
|
+
};
|
|
59
|
+
export type AutoAdjustType =
|
|
60
|
+
(typeof AutoAdjustType)[keyof typeof AutoAdjustType];
|
|
61
|
+
export declare const BudgetType: {
|
|
62
|
+
readonly Cost: "COST";
|
|
63
|
+
readonly RICoverage: "RI_COVERAGE";
|
|
64
|
+
readonly RIUtilization: "RI_UTILIZATION";
|
|
65
|
+
readonly SPCoverage: "SAVINGS_PLANS_COVERAGE";
|
|
66
|
+
readonly SPUtilization: "SAVINGS_PLANS_UTILIZATION";
|
|
67
|
+
readonly Usage: "USAGE";
|
|
68
|
+
};
|
|
69
|
+
export type BudgetType = (typeof BudgetType)[keyof typeof BudgetType];
|
|
70
|
+
export declare const MatchOption: {
|
|
71
|
+
readonly ABSENT: "ABSENT";
|
|
72
|
+
readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
|
|
73
|
+
readonly CASE_SENSITIVE: "CASE_SENSITIVE";
|
|
74
|
+
readonly CONTAINS: "CONTAINS";
|
|
75
|
+
readonly ENDS_WITH: "ENDS_WITH";
|
|
76
|
+
readonly EQUALS: "EQUALS";
|
|
77
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
78
|
+
readonly STARTS_WITH: "STARTS_WITH";
|
|
79
|
+
};
|
|
80
|
+
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
81
|
+
export declare const Dimension: {
|
|
82
|
+
readonly AZ: "AZ";
|
|
83
|
+
readonly BILLING_ENTITY: "BILLING_ENTITY";
|
|
84
|
+
readonly CACHE_ENGINE: "CACHE_ENGINE";
|
|
85
|
+
readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
|
|
86
|
+
readonly DATABASE_ENGINE: "DATABASE_ENGINE";
|
|
87
|
+
readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
|
|
88
|
+
readonly INSTANCE_TYPE: "INSTANCE_TYPE";
|
|
89
|
+
readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
|
|
90
|
+
readonly INVOICING_ENTITY: "INVOICING_ENTITY";
|
|
91
|
+
readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
|
|
92
|
+
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
93
|
+
readonly LINKED_ACCOUNT_NAME: "LINKED_ACCOUNT_NAME";
|
|
94
|
+
readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
|
|
95
|
+
readonly OPERATION: "OPERATION";
|
|
96
|
+
readonly PAYMENT_OPTION: "PAYMENT_OPTION";
|
|
97
|
+
readonly PLATFORM: "PLATFORM";
|
|
98
|
+
readonly PURCHASE_TYPE: "PURCHASE_TYPE";
|
|
99
|
+
readonly RECORD_TYPE: "RECORD_TYPE";
|
|
100
|
+
readonly REGION: "REGION";
|
|
101
|
+
readonly RESERVATION_ID: "RESERVATION_ID";
|
|
102
|
+
readonly RESERVATION_MODIFIED: "RESERVATION_MODIFIED";
|
|
103
|
+
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
104
|
+
readonly RIGHTSIZING_TYPE: "RIGHTSIZING_TYPE";
|
|
105
|
+
readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
|
|
106
|
+
readonly SAVINGS_PLAN_ARN: "SAVINGS_PLAN_ARN";
|
|
107
|
+
readonly SCOPE: "SCOPE";
|
|
108
|
+
readonly SERVICE: "SERVICE";
|
|
109
|
+
readonly SERVICE_CODE: "SERVICE_CODE";
|
|
110
|
+
readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
|
|
111
|
+
readonly TAG_KEY: "TAG_KEY";
|
|
112
|
+
readonly TENANCY: "TENANCY";
|
|
113
|
+
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
114
|
+
readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
|
|
115
|
+
};
|
|
116
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
117
|
+
export declare const HealthStatusValue: {
|
|
118
|
+
readonly HEALTHY: "HEALTHY";
|
|
119
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
120
|
+
};
|
|
121
|
+
export type HealthStatusValue =
|
|
122
|
+
(typeof HealthStatusValue)[keyof typeof HealthStatusValue];
|
|
123
|
+
export declare const HealthStatusReason: {
|
|
124
|
+
readonly BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS";
|
|
125
|
+
readonly BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY";
|
|
126
|
+
readonly FILTER_INVALID: "FILTER_INVALID";
|
|
127
|
+
readonly MULTI_YEAR_HISTORICAL_DATA_DISABLED: "MULTI_YEAR_HISTORICAL_DATA_DISABLED";
|
|
128
|
+
};
|
|
129
|
+
export type HealthStatusReason =
|
|
130
|
+
(typeof HealthStatusReason)[keyof typeof HealthStatusReason];
|
|
131
|
+
export declare const Metric: {
|
|
132
|
+
readonly AMORTIZED_COST: "AmortizedCost";
|
|
133
|
+
readonly BLENDED_COST: "BlendedCost";
|
|
134
|
+
readonly HOURS: "Hours";
|
|
135
|
+
readonly NET_AMORTIZED_COST: "NetAmortizedCost";
|
|
136
|
+
readonly NET_UNBLENDED_COST: "NetUnblendedCost";
|
|
137
|
+
readonly NORMALIZED_USAGE_AMOUNT: "NormalizedUsageAmount";
|
|
138
|
+
readonly UNBLENDED_COST: "UnblendedCost";
|
|
139
|
+
readonly USAGE_QUANTITY: "UsageQuantity";
|
|
140
|
+
};
|
|
141
|
+
export type Metric = (typeof Metric)[keyof typeof Metric];
|
|
142
|
+
export declare const TimeUnit: {
|
|
143
|
+
readonly ANNUALLY: "ANNUALLY";
|
|
144
|
+
readonly CUSTOM: "CUSTOM";
|
|
145
|
+
readonly DAILY: "DAILY";
|
|
146
|
+
readonly MONTHLY: "MONTHLY";
|
|
147
|
+
readonly QUARTERLY: "QUARTERLY";
|
|
148
|
+
};
|
|
149
|
+
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
150
|
+
export declare const ComparisonOperator: {
|
|
151
|
+
readonly EQUAL_TO: "EQUAL_TO";
|
|
152
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
153
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
154
|
+
};
|
|
155
|
+
export type ComparisonOperator =
|
|
156
|
+
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
157
|
+
export declare const NotificationState: {
|
|
158
|
+
readonly ALARM: "ALARM";
|
|
159
|
+
readonly OK: "OK";
|
|
160
|
+
};
|
|
161
|
+
export type NotificationState =
|
|
162
|
+
(typeof NotificationState)[keyof typeof NotificationState];
|
|
163
|
+
export declare const ExecutionType: {
|
|
164
|
+
readonly ApproveBudgetAction: "APPROVE_BUDGET_ACTION";
|
|
165
|
+
readonly ResetBudgetAction: "RESET_BUDGET_ACTION";
|
|
166
|
+
readonly RetryBudgetAction: "RETRY_BUDGET_ACTION";
|
|
167
|
+
readonly ReverseBudgetAction: "REVERSE_BUDGET_ACTION";
|
|
168
|
+
};
|
|
169
|
+
export type ExecutionType = (typeof ExecutionType)[keyof typeof ExecutionType];
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BudgetsServiceException as __BaseException } from "./BudgetsServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class BillingViewHealthStatusException extends __BaseException {
|
|
12
|
+
readonly name: "BillingViewHealthStatusException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<
|
|
17
|
+
BillingViewHealthStatusException,
|
|
18
|
+
__BaseException
|
|
19
|
+
>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class CreationLimitExceededException extends __BaseException {
|
|
23
|
+
readonly name: "CreationLimitExceededException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<CreationLimitExceededException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class DuplicateRecordException extends __BaseException {
|
|
31
|
+
readonly name: "DuplicateRecordException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
Message?: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<DuplicateRecordException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class InternalErrorException extends __BaseException {
|
|
39
|
+
readonly name: "InternalErrorException";
|
|
40
|
+
readonly $fault: "server";
|
|
41
|
+
Message?: string | undefined;
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
47
|
+
readonly name: "InvalidParameterException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message?: string | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare class NotFoundException extends __BaseException {
|
|
55
|
+
readonly name: "NotFoundException";
|
|
56
|
+
readonly $fault: "client";
|
|
57
|
+
Message?: string | undefined;
|
|
58
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
61
|
+
readonly name: "ServiceQuotaExceededException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
Message?: string | undefined;
|
|
64
|
+
constructor(
|
|
65
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
export declare class ThrottlingException extends __BaseException {
|
|
69
|
+
readonly name: "ThrottlingException";
|
|
70
|
+
readonly $fault: "client";
|
|
71
|
+
Message?: string | undefined;
|
|
72
|
+
constructor(
|
|
73
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
export declare class ResourceLockedException extends __BaseException {
|
|
77
|
+
readonly name: "ResourceLockedException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
Message?: string | undefined;
|
|
80
|
+
constructor(
|
|
81
|
+
opts: __ExceptionOptionType<ResourceLockedException, __BaseException>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
85
|
+
readonly name: "InvalidNextTokenException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
Message?: string | undefined;
|
|
88
|
+
constructor(
|
|
89
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
93
|
+
readonly name: "ExpiredNextTokenException";
|
|
94
|
+
readonly $fault: "client";
|
|
95
|
+
Message?: string | undefined;
|
|
96
|
+
constructor(
|
|
97
|
+
opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
|
|
98
|
+
);
|
|
99
|
+
}
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import {
|
|
2
|
+
ActionStatus,
|
|
3
|
+
ActionSubType,
|
|
4
|
+
ActionType,
|
|
5
|
+
ApprovalModel,
|
|
6
|
+
AutoAdjustType,
|
|
7
|
+
BudgetType,
|
|
8
|
+
ComparisonOperator,
|
|
9
|
+
Dimension,
|
|
10
|
+
EventType,
|
|
11
|
+
ExecutionType,
|
|
12
|
+
HealthStatusReason,
|
|
13
|
+
HealthStatusValue,
|
|
14
|
+
MatchOption,
|
|
15
|
+
Metric,
|
|
16
|
+
NotificationState,
|
|
17
|
+
NotificationType,
|
|
18
|
+
SubscriptionType,
|
|
19
|
+
ThresholdType,
|
|
20
|
+
TimeUnit,
|
|
21
|
+
} from "./enums";
|
|
16
22
|
export interface ActionThreshold {
|
|
17
23
|
ActionThresholdValue: number | undefined;
|
|
18
24
|
ActionThresholdType: ThresholdType | undefined;
|
|
19
25
|
}
|
|
20
|
-
export declare const ActionType: {
|
|
21
|
-
readonly IAM: "APPLY_IAM_POLICY";
|
|
22
|
-
readonly SCP: "APPLY_SCP_POLICY";
|
|
23
|
-
readonly SSM: "RUN_SSM_DOCUMENTS";
|
|
24
|
-
};
|
|
25
|
-
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
26
|
-
export declare const ApprovalModel: {
|
|
27
|
-
readonly AUTO: "AUTOMATIC";
|
|
28
|
-
readonly MANUAL: "MANUAL";
|
|
29
|
-
};
|
|
30
|
-
export type ApprovalModel = (typeof ApprovalModel)[keyof typeof ApprovalModel];
|
|
31
26
|
export interface IamActionDefinition {
|
|
32
27
|
PolicyArn: string | undefined;
|
|
33
28
|
Roles?: string[] | undefined;
|
|
@@ -38,11 +33,6 @@ export interface ScpActionDefinition {
|
|
|
38
33
|
PolicyId: string | undefined;
|
|
39
34
|
TargetIds: string[] | undefined;
|
|
40
35
|
}
|
|
41
|
-
export declare const ActionSubType: {
|
|
42
|
-
readonly STOP_EC2: "STOP_EC2_INSTANCES";
|
|
43
|
-
readonly STOP_RDS: "STOP_RDS_INSTANCES";
|
|
44
|
-
};
|
|
45
|
-
export type ActionSubType = (typeof ActionSubType)[keyof typeof ActionSubType];
|
|
46
36
|
export interface SsmActionDefinition {
|
|
47
37
|
ActionSubType: ActionSubType | undefined;
|
|
48
38
|
Region: string | undefined;
|
|
@@ -53,31 +43,6 @@ export interface Definition {
|
|
|
53
43
|
ScpActionDefinition?: ScpActionDefinition | undefined;
|
|
54
44
|
SsmActionDefinition?: SsmActionDefinition | undefined;
|
|
55
45
|
}
|
|
56
|
-
export declare const NotificationType: {
|
|
57
|
-
readonly ACTUAL: "ACTUAL";
|
|
58
|
-
readonly FORECASTED: "FORECASTED";
|
|
59
|
-
};
|
|
60
|
-
export type NotificationType =
|
|
61
|
-
(typeof NotificationType)[keyof typeof NotificationType];
|
|
62
|
-
export declare const ActionStatus: {
|
|
63
|
-
readonly Execution_Failure: "EXECUTION_FAILURE";
|
|
64
|
-
readonly Execution_In_Progress: "EXECUTION_IN_PROGRESS";
|
|
65
|
-
readonly Execution_Success: "EXECUTION_SUCCESS";
|
|
66
|
-
readonly Pending: "PENDING";
|
|
67
|
-
readonly Reset_Failure: "RESET_FAILURE";
|
|
68
|
-
readonly Reset_In_Progress: "RESET_IN_PROGRESS";
|
|
69
|
-
readonly Reverse_Failure: "REVERSE_FAILURE";
|
|
70
|
-
readonly Reverse_In_Progress: "REVERSE_IN_PROGRESS";
|
|
71
|
-
readonly Reverse_Success: "REVERSE_SUCCESS";
|
|
72
|
-
readonly Standby: "STANDBY";
|
|
73
|
-
};
|
|
74
|
-
export type ActionStatus = (typeof ActionStatus)[keyof typeof ActionStatus];
|
|
75
|
-
export declare const SubscriptionType: {
|
|
76
|
-
readonly EMAIL: "EMAIL";
|
|
77
|
-
readonly SNS: "SNS";
|
|
78
|
-
};
|
|
79
|
-
export type SubscriptionType =
|
|
80
|
-
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
81
46
|
export interface Subscriber {
|
|
82
47
|
SubscriptionType: SubscriptionType | undefined;
|
|
83
48
|
Address: string | undefined;
|
|
@@ -98,26 +63,12 @@ export interface ActionHistoryDetails {
|
|
|
98
63
|
Message: string | undefined;
|
|
99
64
|
Action: Action | undefined;
|
|
100
65
|
}
|
|
101
|
-
export declare const EventType: {
|
|
102
|
-
readonly CreateAction: "CREATE_ACTION";
|
|
103
|
-
readonly DeleteAction: "DELETE_ACTION";
|
|
104
|
-
readonly ExecuteAction: "EXECUTE_ACTION";
|
|
105
|
-
readonly System: "SYSTEM";
|
|
106
|
-
readonly UpdateAction: "UPDATE_ACTION";
|
|
107
|
-
};
|
|
108
|
-
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
109
66
|
export interface ActionHistory {
|
|
110
67
|
Timestamp: Date | undefined;
|
|
111
68
|
Status: ActionStatus | undefined;
|
|
112
69
|
EventType: EventType | undefined;
|
|
113
70
|
ActionHistoryDetails: ActionHistoryDetails | undefined;
|
|
114
71
|
}
|
|
115
|
-
export declare const AutoAdjustType: {
|
|
116
|
-
readonly FORECAST: "FORECAST";
|
|
117
|
-
readonly HISTORICAL: "HISTORICAL";
|
|
118
|
-
};
|
|
119
|
-
export type AutoAdjustType =
|
|
120
|
-
(typeof AutoAdjustType)[keyof typeof AutoAdjustType];
|
|
121
72
|
export interface HistoricalOptions {
|
|
122
73
|
BudgetAdjustmentPeriod: number | undefined;
|
|
123
74
|
LookBackAvailablePeriods?: number | undefined;
|
|
@@ -127,30 +78,10 @@ export interface AutoAdjustData {
|
|
|
127
78
|
HistoricalOptions?: HistoricalOptions | undefined;
|
|
128
79
|
LastAutoAdjustTime?: Date | undefined;
|
|
129
80
|
}
|
|
130
|
-
export declare class BillingViewHealthStatusException extends __BaseException {
|
|
131
|
-
readonly name: "BillingViewHealthStatusException";
|
|
132
|
-
readonly $fault: "client";
|
|
133
|
-
Message?: string | undefined;
|
|
134
|
-
constructor(
|
|
135
|
-
opts: __ExceptionOptionType<
|
|
136
|
-
BillingViewHealthStatusException,
|
|
137
|
-
__BaseException
|
|
138
|
-
>
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
81
|
export interface Spend {
|
|
142
82
|
Amount: string | undefined;
|
|
143
83
|
Unit: string | undefined;
|
|
144
84
|
}
|
|
145
|
-
export declare const BudgetType: {
|
|
146
|
-
readonly Cost: "COST";
|
|
147
|
-
readonly RICoverage: "RI_COVERAGE";
|
|
148
|
-
readonly RIUtilization: "RI_UTILIZATION";
|
|
149
|
-
readonly SPCoverage: "SAVINGS_PLANS_COVERAGE";
|
|
150
|
-
readonly SPUtilization: "SAVINGS_PLANS_UTILIZATION";
|
|
151
|
-
readonly Usage: "USAGE";
|
|
152
|
-
};
|
|
153
|
-
export type BudgetType = (typeof BudgetType)[keyof typeof BudgetType];
|
|
154
85
|
export interface CalculatedSpend {
|
|
155
86
|
ActualSpend: Spend | undefined;
|
|
156
87
|
ForecastedSpend?: Spend | undefined;
|
|
@@ -168,58 +99,11 @@ export interface CostTypes {
|
|
|
168
99
|
IncludeDiscount?: boolean | undefined;
|
|
169
100
|
UseAmortized?: boolean | undefined;
|
|
170
101
|
}
|
|
171
|
-
export declare const MatchOption: {
|
|
172
|
-
readonly ABSENT: "ABSENT";
|
|
173
|
-
readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
|
|
174
|
-
readonly CASE_SENSITIVE: "CASE_SENSITIVE";
|
|
175
|
-
readonly CONTAINS: "CONTAINS";
|
|
176
|
-
readonly ENDS_WITH: "ENDS_WITH";
|
|
177
|
-
readonly EQUALS: "EQUALS";
|
|
178
|
-
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
179
|
-
readonly STARTS_WITH: "STARTS_WITH";
|
|
180
|
-
};
|
|
181
|
-
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
182
102
|
export interface CostCategoryValues {
|
|
183
103
|
Key?: string | undefined;
|
|
184
104
|
Values?: string[] | undefined;
|
|
185
105
|
MatchOptions?: MatchOption[] | undefined;
|
|
186
106
|
}
|
|
187
|
-
export declare const Dimension: {
|
|
188
|
-
readonly AZ: "AZ";
|
|
189
|
-
readonly BILLING_ENTITY: "BILLING_ENTITY";
|
|
190
|
-
readonly CACHE_ENGINE: "CACHE_ENGINE";
|
|
191
|
-
readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
|
|
192
|
-
readonly DATABASE_ENGINE: "DATABASE_ENGINE";
|
|
193
|
-
readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
|
|
194
|
-
readonly INSTANCE_TYPE: "INSTANCE_TYPE";
|
|
195
|
-
readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
|
|
196
|
-
readonly INVOICING_ENTITY: "INVOICING_ENTITY";
|
|
197
|
-
readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
|
|
198
|
-
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
199
|
-
readonly LINKED_ACCOUNT_NAME: "LINKED_ACCOUNT_NAME";
|
|
200
|
-
readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
|
|
201
|
-
readonly OPERATION: "OPERATION";
|
|
202
|
-
readonly PAYMENT_OPTION: "PAYMENT_OPTION";
|
|
203
|
-
readonly PLATFORM: "PLATFORM";
|
|
204
|
-
readonly PURCHASE_TYPE: "PURCHASE_TYPE";
|
|
205
|
-
readonly RECORD_TYPE: "RECORD_TYPE";
|
|
206
|
-
readonly REGION: "REGION";
|
|
207
|
-
readonly RESERVATION_ID: "RESERVATION_ID";
|
|
208
|
-
readonly RESERVATION_MODIFIED: "RESERVATION_MODIFIED";
|
|
209
|
-
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
210
|
-
readonly RIGHTSIZING_TYPE: "RIGHTSIZING_TYPE";
|
|
211
|
-
readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
|
|
212
|
-
readonly SAVINGS_PLAN_ARN: "SAVINGS_PLAN_ARN";
|
|
213
|
-
readonly SCOPE: "SCOPE";
|
|
214
|
-
readonly SERVICE: "SERVICE";
|
|
215
|
-
readonly SERVICE_CODE: "SERVICE_CODE";
|
|
216
|
-
readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
|
|
217
|
-
readonly TAG_KEY: "TAG_KEY";
|
|
218
|
-
readonly TENANCY: "TENANCY";
|
|
219
|
-
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
220
|
-
readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
|
|
221
|
-
};
|
|
222
|
-
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
223
107
|
export interface ExpressionDimensionValues {
|
|
224
108
|
Key: Dimension | undefined;
|
|
225
109
|
Values: string[] | undefined;
|
|
@@ -230,61 +114,15 @@ export interface TagValues {
|
|
|
230
114
|
Values?: string[] | undefined;
|
|
231
115
|
MatchOptions?: MatchOption[] | undefined;
|
|
232
116
|
}
|
|
233
|
-
export declare const HealthStatusValue: {
|
|
234
|
-
readonly HEALTHY: "HEALTHY";
|
|
235
|
-
readonly UNHEALTHY: "UNHEALTHY";
|
|
236
|
-
};
|
|
237
|
-
export type HealthStatusValue =
|
|
238
|
-
(typeof HealthStatusValue)[keyof typeof HealthStatusValue];
|
|
239
|
-
export declare const HealthStatusReason: {
|
|
240
|
-
readonly BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS";
|
|
241
|
-
readonly BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY";
|
|
242
|
-
readonly FILTER_INVALID: "FILTER_INVALID";
|
|
243
|
-
readonly MULTI_YEAR_HISTORICAL_DATA_DISABLED: "MULTI_YEAR_HISTORICAL_DATA_DISABLED";
|
|
244
|
-
};
|
|
245
|
-
export type HealthStatusReason =
|
|
246
|
-
(typeof HealthStatusReason)[keyof typeof HealthStatusReason];
|
|
247
117
|
export interface HealthStatus {
|
|
248
118
|
Status?: HealthStatusValue | undefined;
|
|
249
119
|
StatusReason?: HealthStatusReason | undefined;
|
|
250
120
|
LastUpdatedTime?: Date | undefined;
|
|
251
121
|
}
|
|
252
|
-
export declare const Metric: {
|
|
253
|
-
readonly AMORTIZED_COST: "AmortizedCost";
|
|
254
|
-
readonly BLENDED_COST: "BlendedCost";
|
|
255
|
-
readonly HOURS: "Hours";
|
|
256
|
-
readonly NET_AMORTIZED_COST: "NetAmortizedCost";
|
|
257
|
-
readonly NET_UNBLENDED_COST: "NetUnblendedCost";
|
|
258
|
-
readonly NORMALIZED_USAGE_AMOUNT: "NormalizedUsageAmount";
|
|
259
|
-
readonly UNBLENDED_COST: "UnblendedCost";
|
|
260
|
-
readonly USAGE_QUANTITY: "UsageQuantity";
|
|
261
|
-
};
|
|
262
|
-
export type Metric = (typeof Metric)[keyof typeof Metric];
|
|
263
122
|
export interface TimePeriod {
|
|
264
123
|
Start?: Date | undefined;
|
|
265
124
|
End?: Date | undefined;
|
|
266
125
|
}
|
|
267
|
-
export declare const TimeUnit: {
|
|
268
|
-
readonly ANNUALLY: "ANNUALLY";
|
|
269
|
-
readonly CUSTOM: "CUSTOM";
|
|
270
|
-
readonly DAILY: "DAILY";
|
|
271
|
-
readonly MONTHLY: "MONTHLY";
|
|
272
|
-
readonly QUARTERLY: "QUARTERLY";
|
|
273
|
-
};
|
|
274
|
-
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
275
|
-
export declare const ComparisonOperator: {
|
|
276
|
-
readonly EQUAL_TO: "EQUAL_TO";
|
|
277
|
-
readonly GREATER_THAN: "GREATER_THAN";
|
|
278
|
-
readonly LESS_THAN: "LESS_THAN";
|
|
279
|
-
};
|
|
280
|
-
export type ComparisonOperator =
|
|
281
|
-
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
282
|
-
export declare const NotificationState: {
|
|
283
|
-
readonly ALARM: "ALARM";
|
|
284
|
-
readonly OK: "OK";
|
|
285
|
-
};
|
|
286
|
-
export type NotificationState =
|
|
287
|
-
(typeof NotificationState)[keyof typeof NotificationState];
|
|
288
126
|
export interface Notification {
|
|
289
127
|
NotificationType: NotificationType | undefined;
|
|
290
128
|
ComparisonOperator: ComparisonOperator | undefined;
|
|
@@ -301,60 +139,6 @@ export interface ResourceTag {
|
|
|
301
139
|
Value: string | undefined;
|
|
302
140
|
}
|
|
303
141
|
export interface CreateBudgetResponse {}
|
|
304
|
-
export declare class CreationLimitExceededException extends __BaseException {
|
|
305
|
-
readonly name: "CreationLimitExceededException";
|
|
306
|
-
readonly $fault: "client";
|
|
307
|
-
Message?: string | undefined;
|
|
308
|
-
constructor(
|
|
309
|
-
opts: __ExceptionOptionType<CreationLimitExceededException, __BaseException>
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
export declare class DuplicateRecordException extends __BaseException {
|
|
313
|
-
readonly name: "DuplicateRecordException";
|
|
314
|
-
readonly $fault: "client";
|
|
315
|
-
Message?: string | undefined;
|
|
316
|
-
constructor(
|
|
317
|
-
opts: __ExceptionOptionType<DuplicateRecordException, __BaseException>
|
|
318
|
-
);
|
|
319
|
-
}
|
|
320
|
-
export declare class InternalErrorException extends __BaseException {
|
|
321
|
-
readonly name: "InternalErrorException";
|
|
322
|
-
readonly $fault: "server";
|
|
323
|
-
Message?: string | undefined;
|
|
324
|
-
constructor(
|
|
325
|
-
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
326
|
-
);
|
|
327
|
-
}
|
|
328
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
329
|
-
readonly name: "InvalidParameterException";
|
|
330
|
-
readonly $fault: "client";
|
|
331
|
-
Message?: string | undefined;
|
|
332
|
-
constructor(
|
|
333
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
|
-
export declare class NotFoundException extends __BaseException {
|
|
337
|
-
readonly name: "NotFoundException";
|
|
338
|
-
readonly $fault: "client";
|
|
339
|
-
Message?: string | undefined;
|
|
340
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
341
|
-
}
|
|
342
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
343
|
-
readonly name: "ServiceQuotaExceededException";
|
|
344
|
-
readonly $fault: "client";
|
|
345
|
-
Message?: string | undefined;
|
|
346
|
-
constructor(
|
|
347
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
export declare class ThrottlingException extends __BaseException {
|
|
351
|
-
readonly name: "ThrottlingException";
|
|
352
|
-
readonly $fault: "client";
|
|
353
|
-
Message?: string | undefined;
|
|
354
|
-
constructor(
|
|
355
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
356
|
-
);
|
|
357
|
-
}
|
|
358
142
|
export interface CreateBudgetActionRequest {
|
|
359
143
|
AccountId: string | undefined;
|
|
360
144
|
BudgetName: string | undefined;
|
|
@@ -401,14 +185,6 @@ export interface DeleteBudgetActionResponse {
|
|
|
401
185
|
BudgetName: string | undefined;
|
|
402
186
|
Action: Action | undefined;
|
|
403
187
|
}
|
|
404
|
-
export declare class ResourceLockedException extends __BaseException {
|
|
405
|
-
readonly name: "ResourceLockedException";
|
|
406
|
-
readonly $fault: "client";
|
|
407
|
-
Message?: string | undefined;
|
|
408
|
-
constructor(
|
|
409
|
-
opts: __ExceptionOptionType<ResourceLockedException, __BaseException>
|
|
410
|
-
);
|
|
411
|
-
}
|
|
412
188
|
export interface DeleteNotificationRequest {
|
|
413
189
|
AccountId: string | undefined;
|
|
414
190
|
BudgetName: string | undefined;
|
|
@@ -449,14 +225,6 @@ export interface DescribeBudgetActionHistoriesResponse {
|
|
|
449
225
|
ActionHistories: ActionHistory[] | undefined;
|
|
450
226
|
NextToken?: string | undefined;
|
|
451
227
|
}
|
|
452
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
453
|
-
readonly name: "InvalidNextTokenException";
|
|
454
|
-
readonly $fault: "client";
|
|
455
|
-
Message?: string | undefined;
|
|
456
|
-
constructor(
|
|
457
|
-
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
458
|
-
);
|
|
459
|
-
}
|
|
460
228
|
export interface DescribeBudgetActionsForAccountRequest {
|
|
461
229
|
AccountId: string | undefined;
|
|
462
230
|
MaxResults?: number | undefined;
|
|
@@ -489,14 +257,6 @@ export interface DescribeBudgetNotificationsForAccountResponse {
|
|
|
489
257
|
BudgetNotificationsForAccount?: BudgetNotificationsForAccount[] | undefined;
|
|
490
258
|
NextToken?: string | undefined;
|
|
491
259
|
}
|
|
492
|
-
export declare class ExpiredNextTokenException extends __BaseException {
|
|
493
|
-
readonly name: "ExpiredNextTokenException";
|
|
494
|
-
readonly $fault: "client";
|
|
495
|
-
Message?: string | undefined;
|
|
496
|
-
constructor(
|
|
497
|
-
opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
|
|
498
|
-
);
|
|
499
|
-
}
|
|
500
260
|
export interface DescribeBudgetPerformanceHistoryRequest {
|
|
501
261
|
AccountId: string | undefined;
|
|
502
262
|
BudgetName: string | undefined;
|
|
@@ -549,13 +309,6 @@ export interface DescribeSubscribersForNotificationResponse {
|
|
|
549
309
|
Subscribers?: Subscriber[] | undefined;
|
|
550
310
|
NextToken?: string | undefined;
|
|
551
311
|
}
|
|
552
|
-
export declare const ExecutionType: {
|
|
553
|
-
readonly ApproveBudgetAction: "APPROVE_BUDGET_ACTION";
|
|
554
|
-
readonly ResetBudgetAction: "RESET_BUDGET_ACTION";
|
|
555
|
-
readonly RetryBudgetAction: "RETRY_BUDGET_ACTION";
|
|
556
|
-
readonly ReverseBudgetAction: "REVERSE_BUDGET_ACTION";
|
|
557
|
-
};
|
|
558
|
-
export type ExecutionType = (typeof ExecutionType)[keyof typeof ExecutionType];
|
|
559
312
|
export interface ExecuteBudgetActionRequest {
|
|
560
313
|
AccountId: string | undefined;
|
|
561
314
|
BudgetName: string | undefined;
|