aws-sdk-budgets 1.106.0 → 1.107.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-budgets/client.rb +1 -1
- data/lib/aws-sdk-budgets.rb +1 -1
- data/sig/client.rbs +12 -204
- data/sig/params.rbs +182 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9d5f499518666dee365014685f93b08cf5b14609218c20c5e1656cf0bdc5c06
|
|
4
|
+
data.tar.gz: 4cd233f561cf60d0e52e248df3c34585c4f1b9bd002fadced475e8d7dbb18e15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efb6d3dced329030ac25c6765097e8e14ef60cd84f0d06596d5ce1fe247279800c04f023ae9e1908273f011ea02cd56ba4955d20b39c73b7ecb27a057492b459
|
|
7
|
+
data.tar.gz: f00baedd57e24be2b10a6861c09b0a2968289590761ae3619560756d3558302c8039d15a8ee16b8184f0334c4811b1bb8e2bfcf24bffba88a5d1c9a3f23304db
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.107.0
|
data/lib/aws-sdk-budgets.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -85,87 +85,7 @@ module Aws
|
|
|
85
85
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Budgets/Client.html#create_budget-instance_method
|
|
86
86
|
def create_budget: (
|
|
87
87
|
account_id: ::String,
|
|
88
|
-
budget:
|
|
89
|
-
budget_name: ::String,
|
|
90
|
-
budget_limit: {
|
|
91
|
-
amount: ::String,
|
|
92
|
-
unit: ::String
|
|
93
|
-
}?,
|
|
94
|
-
planned_budget_limits: Hash[::String, {
|
|
95
|
-
amount: ::String,
|
|
96
|
-
unit: ::String
|
|
97
|
-
}]?,
|
|
98
|
-
cost_filters: Hash[::String, Array[::String]]?,
|
|
99
|
-
cost_types: {
|
|
100
|
-
include_tax: bool?,
|
|
101
|
-
include_subscription: bool?,
|
|
102
|
-
use_blended: bool?,
|
|
103
|
-
include_refund: bool?,
|
|
104
|
-
include_credit: bool?,
|
|
105
|
-
include_upfront: bool?,
|
|
106
|
-
include_recurring: bool?,
|
|
107
|
-
include_other_subscription: bool?,
|
|
108
|
-
include_support: bool?,
|
|
109
|
-
include_discount: bool?,
|
|
110
|
-
use_amortized: bool?
|
|
111
|
-
}?,
|
|
112
|
-
time_unit: ("DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY" | "CUSTOM"),
|
|
113
|
-
time_period: {
|
|
114
|
-
start: ::Time?,
|
|
115
|
-
end: ::Time?
|
|
116
|
-
}?,
|
|
117
|
-
calculated_spend: {
|
|
118
|
-
actual_spend: {
|
|
119
|
-
amount: ::String,
|
|
120
|
-
unit: ::String
|
|
121
|
-
},
|
|
122
|
-
forecasted_spend: {
|
|
123
|
-
amount: ::String,
|
|
124
|
-
unit: ::String
|
|
125
|
-
}?
|
|
126
|
-
}?,
|
|
127
|
-
budget_type: ("USAGE" | "COST" | "RI_UTILIZATION" | "RI_COVERAGE" | "SAVINGS_PLANS_UTILIZATION" | "SAVINGS_PLANS_COVERAGE"),
|
|
128
|
-
last_updated_time: ::Time?,
|
|
129
|
-
auto_adjust_data: {
|
|
130
|
-
auto_adjust_type: ("HISTORICAL" | "FORECAST"),
|
|
131
|
-
historical_options: {
|
|
132
|
-
budget_adjustment_period: ::Integer,
|
|
133
|
-
look_back_available_periods: ::Integer?
|
|
134
|
-
}?,
|
|
135
|
-
last_auto_adjust_time: ::Time?
|
|
136
|
-
}?,
|
|
137
|
-
filter_expression: {
|
|
138
|
-
or: Array[
|
|
139
|
-
untyped,
|
|
140
|
-
]?,
|
|
141
|
-
and: Array[
|
|
142
|
-
untyped,
|
|
143
|
-
]?,
|
|
144
|
-
not: untyped?,
|
|
145
|
-
dimensions: {
|
|
146
|
-
key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"),
|
|
147
|
-
values: Array[::String],
|
|
148
|
-
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
149
|
-
}?,
|
|
150
|
-
tags: {
|
|
151
|
-
key: ::String?,
|
|
152
|
-
values: Array[::String]?,
|
|
153
|
-
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
154
|
-
}?,
|
|
155
|
-
cost_categories: {
|
|
156
|
-
key: ::String?,
|
|
157
|
-
values: Array[::String]?,
|
|
158
|
-
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
159
|
-
}?
|
|
160
|
-
}?,
|
|
161
|
-
metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?,
|
|
162
|
-
billing_view_arn: ::String?,
|
|
163
|
-
health_status: {
|
|
164
|
-
status: ("HEALTHY" | "UNHEALTHY")?,
|
|
165
|
-
status_reason: ("BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID" | "MULTI_YEAR_HISTORICAL_DATA_DISABLED")?,
|
|
166
|
-
last_updated_time: ::Time?
|
|
167
|
-
}?
|
|
168
|
-
},
|
|
88
|
+
budget: Params::budget,
|
|
169
89
|
?notifications_with_subscribers: Array[
|
|
170
90
|
{
|
|
171
91
|
notification: {
|
|
@@ -179,15 +99,15 @@ module Aws
|
|
|
179
99
|
{
|
|
180
100
|
subscription_type: ("SNS" | "EMAIL"),
|
|
181
101
|
address: ::String
|
|
182
|
-
}
|
|
102
|
+
}
|
|
183
103
|
]
|
|
184
|
-
}
|
|
104
|
+
}
|
|
185
105
|
],
|
|
186
106
|
?resource_tags: Array[
|
|
187
107
|
{
|
|
188
108
|
key: ::String,
|
|
189
109
|
value: ::String
|
|
190
|
-
}
|
|
110
|
+
}
|
|
191
111
|
]
|
|
192
112
|
) -> _CreateBudgetResponseSuccess
|
|
193
113
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBudgetResponseSuccess
|
|
@@ -208,36 +128,20 @@ module Aws
|
|
|
208
128
|
action_threshold_value: ::Float,
|
|
209
129
|
action_threshold_type: ("PERCENTAGE" | "ABSOLUTE_VALUE")
|
|
210
130
|
},
|
|
211
|
-
definition:
|
|
212
|
-
iam_action_definition: {
|
|
213
|
-
policy_arn: ::String,
|
|
214
|
-
roles: Array[::String]?,
|
|
215
|
-
groups: Array[::String]?,
|
|
216
|
-
users: Array[::String]?
|
|
217
|
-
}?,
|
|
218
|
-
scp_action_definition: {
|
|
219
|
-
policy_id: ::String,
|
|
220
|
-
target_ids: Array[::String]
|
|
221
|
-
}?,
|
|
222
|
-
ssm_action_definition: {
|
|
223
|
-
action_sub_type: ("STOP_EC2_INSTANCES" | "STOP_RDS_INSTANCES"),
|
|
224
|
-
region: ::String,
|
|
225
|
-
instance_ids: Array[::String]
|
|
226
|
-
}?
|
|
227
|
-
},
|
|
131
|
+
definition: Params::definition,
|
|
228
132
|
execution_role_arn: ::String,
|
|
229
133
|
approval_model: ("AUTOMATIC" | "MANUAL"),
|
|
230
134
|
subscribers: Array[
|
|
231
135
|
{
|
|
232
136
|
subscription_type: ("SNS" | "EMAIL"),
|
|
233
137
|
address: ::String
|
|
234
|
-
}
|
|
138
|
+
}
|
|
235
139
|
],
|
|
236
140
|
?resource_tags: Array[
|
|
237
141
|
{
|
|
238
142
|
key: ::String,
|
|
239
143
|
value: ::String
|
|
240
|
-
}
|
|
144
|
+
}
|
|
241
145
|
]
|
|
242
146
|
) -> _CreateBudgetActionResponseSuccess
|
|
243
147
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBudgetActionResponseSuccess
|
|
@@ -260,7 +164,7 @@ module Aws
|
|
|
260
164
|
{
|
|
261
165
|
subscription_type: ("SNS" | "EMAIL"),
|
|
262
166
|
address: ::String
|
|
263
|
-
}
|
|
167
|
+
}
|
|
264
168
|
]
|
|
265
169
|
) -> _CreateNotificationResponseSuccess
|
|
266
170
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNotificationResponseSuccess
|
|
@@ -536,7 +440,7 @@ module Aws
|
|
|
536
440
|
{
|
|
537
441
|
key: ::String,
|
|
538
442
|
value: ::String
|
|
539
|
-
}
|
|
443
|
+
}
|
|
540
444
|
]
|
|
541
445
|
) -> _TagResourceResponseSuccess
|
|
542
446
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
@@ -557,87 +461,7 @@ module Aws
|
|
|
557
461
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Budgets/Client.html#update_budget-instance_method
|
|
558
462
|
def update_budget: (
|
|
559
463
|
account_id: ::String,
|
|
560
|
-
new_budget:
|
|
561
|
-
budget_name: ::String,
|
|
562
|
-
budget_limit: {
|
|
563
|
-
amount: ::String,
|
|
564
|
-
unit: ::String
|
|
565
|
-
}?,
|
|
566
|
-
planned_budget_limits: Hash[::String, {
|
|
567
|
-
amount: ::String,
|
|
568
|
-
unit: ::String
|
|
569
|
-
}]?,
|
|
570
|
-
cost_filters: Hash[::String, Array[::String]]?,
|
|
571
|
-
cost_types: {
|
|
572
|
-
include_tax: bool?,
|
|
573
|
-
include_subscription: bool?,
|
|
574
|
-
use_blended: bool?,
|
|
575
|
-
include_refund: bool?,
|
|
576
|
-
include_credit: bool?,
|
|
577
|
-
include_upfront: bool?,
|
|
578
|
-
include_recurring: bool?,
|
|
579
|
-
include_other_subscription: bool?,
|
|
580
|
-
include_support: bool?,
|
|
581
|
-
include_discount: bool?,
|
|
582
|
-
use_amortized: bool?
|
|
583
|
-
}?,
|
|
584
|
-
time_unit: ("DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY" | "CUSTOM"),
|
|
585
|
-
time_period: {
|
|
586
|
-
start: ::Time?,
|
|
587
|
-
end: ::Time?
|
|
588
|
-
}?,
|
|
589
|
-
calculated_spend: {
|
|
590
|
-
actual_spend: {
|
|
591
|
-
amount: ::String,
|
|
592
|
-
unit: ::String
|
|
593
|
-
},
|
|
594
|
-
forecasted_spend: {
|
|
595
|
-
amount: ::String,
|
|
596
|
-
unit: ::String
|
|
597
|
-
}?
|
|
598
|
-
}?,
|
|
599
|
-
budget_type: ("USAGE" | "COST" | "RI_UTILIZATION" | "RI_COVERAGE" | "SAVINGS_PLANS_UTILIZATION" | "SAVINGS_PLANS_COVERAGE"),
|
|
600
|
-
last_updated_time: ::Time?,
|
|
601
|
-
auto_adjust_data: {
|
|
602
|
-
auto_adjust_type: ("HISTORICAL" | "FORECAST"),
|
|
603
|
-
historical_options: {
|
|
604
|
-
budget_adjustment_period: ::Integer,
|
|
605
|
-
look_back_available_periods: ::Integer?
|
|
606
|
-
}?,
|
|
607
|
-
last_auto_adjust_time: ::Time?
|
|
608
|
-
}?,
|
|
609
|
-
filter_expression: {
|
|
610
|
-
or: Array[
|
|
611
|
-
untyped,
|
|
612
|
-
]?,
|
|
613
|
-
and: Array[
|
|
614
|
-
untyped,
|
|
615
|
-
]?,
|
|
616
|
-
not: untyped?,
|
|
617
|
-
dimensions: {
|
|
618
|
-
key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"),
|
|
619
|
-
values: Array[::String],
|
|
620
|
-
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
621
|
-
}?,
|
|
622
|
-
tags: {
|
|
623
|
-
key: ::String?,
|
|
624
|
-
values: Array[::String]?,
|
|
625
|
-
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
626
|
-
}?,
|
|
627
|
-
cost_categories: {
|
|
628
|
-
key: ::String?,
|
|
629
|
-
values: Array[::String]?,
|
|
630
|
-
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
631
|
-
}?
|
|
632
|
-
}?,
|
|
633
|
-
metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?,
|
|
634
|
-
billing_view_arn: ::String?,
|
|
635
|
-
health_status: {
|
|
636
|
-
status: ("HEALTHY" | "UNHEALTHY")?,
|
|
637
|
-
status_reason: ("BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID" | "MULTI_YEAR_HISTORICAL_DATA_DISABLED")?,
|
|
638
|
-
last_updated_time: ::Time?
|
|
639
|
-
}?
|
|
640
|
-
}
|
|
464
|
+
new_budget: Params::budget
|
|
641
465
|
) -> _UpdateBudgetResponseSuccess
|
|
642
466
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBudgetResponseSuccess
|
|
643
467
|
|
|
@@ -658,30 +482,14 @@ module Aws
|
|
|
658
482
|
action_threshold_value: ::Float,
|
|
659
483
|
action_threshold_type: ("PERCENTAGE" | "ABSOLUTE_VALUE")
|
|
660
484
|
},
|
|
661
|
-
?definition:
|
|
662
|
-
iam_action_definition: {
|
|
663
|
-
policy_arn: ::String,
|
|
664
|
-
roles: Array[::String]?,
|
|
665
|
-
groups: Array[::String]?,
|
|
666
|
-
users: Array[::String]?
|
|
667
|
-
}?,
|
|
668
|
-
scp_action_definition: {
|
|
669
|
-
policy_id: ::String,
|
|
670
|
-
target_ids: Array[::String]
|
|
671
|
-
}?,
|
|
672
|
-
ssm_action_definition: {
|
|
673
|
-
action_sub_type: ("STOP_EC2_INSTANCES" | "STOP_RDS_INSTANCES"),
|
|
674
|
-
region: ::String,
|
|
675
|
-
instance_ids: Array[::String]
|
|
676
|
-
}?
|
|
677
|
-
},
|
|
485
|
+
?definition: Params::definition,
|
|
678
486
|
?execution_role_arn: ::String,
|
|
679
487
|
?approval_model: ("AUTOMATIC" | "MANUAL"),
|
|
680
488
|
?subscribers: Array[
|
|
681
489
|
{
|
|
682
490
|
subscription_type: ("SNS" | "EMAIL"),
|
|
683
491
|
address: ::String
|
|
684
|
-
}
|
|
492
|
+
}
|
|
685
493
|
]
|
|
686
494
|
) -> _UpdateBudgetActionResponseSuccess
|
|
687
495
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBudgetActionResponseSuccess
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module Budgets
|
|
10
|
+
module Params
|
|
11
|
+
type cost_types = {
|
|
12
|
+
include_tax: bool?,
|
|
13
|
+
include_subscription: bool?,
|
|
14
|
+
use_blended: bool?,
|
|
15
|
+
include_refund: bool?,
|
|
16
|
+
include_credit: bool?,
|
|
17
|
+
include_upfront: bool?,
|
|
18
|
+
include_recurring: bool?,
|
|
19
|
+
include_other_subscription: bool?,
|
|
20
|
+
include_support: bool?,
|
|
21
|
+
include_discount: bool?,
|
|
22
|
+
use_amortized: bool?
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type calculated_spend = {
|
|
26
|
+
actual_spend: {
|
|
27
|
+
amount: ::String,
|
|
28
|
+
unit: ::String
|
|
29
|
+
},
|
|
30
|
+
forecasted_spend: {
|
|
31
|
+
amount: ::String,
|
|
32
|
+
unit: ::String
|
|
33
|
+
}?
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type auto_adjust_data = {
|
|
37
|
+
auto_adjust_type: ("HISTORICAL" | "FORECAST"),
|
|
38
|
+
historical_options: {
|
|
39
|
+
budget_adjustment_period: ::Integer,
|
|
40
|
+
look_back_available_periods: ::Integer?
|
|
41
|
+
}?,
|
|
42
|
+
last_auto_adjust_time: ::Time?
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type expression = {
|
|
46
|
+
or: Array[
|
|
47
|
+
{
|
|
48
|
+
or: untyped?,
|
|
49
|
+
and: untyped?,
|
|
50
|
+
not: untyped?,
|
|
51
|
+
dimensions: {
|
|
52
|
+
key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"),
|
|
53
|
+
values: Array[::String],
|
|
54
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
55
|
+
}?,
|
|
56
|
+
tags: {
|
|
57
|
+
key: ::String?,
|
|
58
|
+
values: Array[::String]?,
|
|
59
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
60
|
+
}?,
|
|
61
|
+
cost_categories: {
|
|
62
|
+
key: ::String?,
|
|
63
|
+
values: Array[::String]?,
|
|
64
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
65
|
+
}?
|
|
66
|
+
}
|
|
67
|
+
]?,
|
|
68
|
+
and: Array[
|
|
69
|
+
{
|
|
70
|
+
or: untyped?,
|
|
71
|
+
and: untyped?,
|
|
72
|
+
not: untyped?,
|
|
73
|
+
dimensions: {
|
|
74
|
+
key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"),
|
|
75
|
+
values: Array[::String],
|
|
76
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
77
|
+
}?,
|
|
78
|
+
tags: {
|
|
79
|
+
key: ::String?,
|
|
80
|
+
values: Array[::String]?,
|
|
81
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
82
|
+
}?,
|
|
83
|
+
cost_categories: {
|
|
84
|
+
key: ::String?,
|
|
85
|
+
values: Array[::String]?,
|
|
86
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
87
|
+
}?
|
|
88
|
+
}
|
|
89
|
+
]?,
|
|
90
|
+
not: {
|
|
91
|
+
or: Array[
|
|
92
|
+
untyped
|
|
93
|
+
]?,
|
|
94
|
+
and: Array[
|
|
95
|
+
untyped
|
|
96
|
+
]?,
|
|
97
|
+
not: untyped?,
|
|
98
|
+
dimensions: {
|
|
99
|
+
key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"),
|
|
100
|
+
values: Array[::String],
|
|
101
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
102
|
+
}?,
|
|
103
|
+
tags: {
|
|
104
|
+
key: ::String?,
|
|
105
|
+
values: Array[::String]?,
|
|
106
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
107
|
+
}?,
|
|
108
|
+
cost_categories: {
|
|
109
|
+
key: ::String?,
|
|
110
|
+
values: Array[::String]?,
|
|
111
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
112
|
+
}?
|
|
113
|
+
}?,
|
|
114
|
+
dimensions: {
|
|
115
|
+
key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"),
|
|
116
|
+
values: Array[::String],
|
|
117
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
118
|
+
}?,
|
|
119
|
+
tags: {
|
|
120
|
+
key: ::String?,
|
|
121
|
+
values: Array[::String]?,
|
|
122
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
123
|
+
}?,
|
|
124
|
+
cost_categories: {
|
|
125
|
+
key: ::String?,
|
|
126
|
+
values: Array[::String]?,
|
|
127
|
+
match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
|
|
128
|
+
}?
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
type budget = {
|
|
132
|
+
budget_name: ::String,
|
|
133
|
+
budget_limit: {
|
|
134
|
+
amount: ::String,
|
|
135
|
+
unit: ::String
|
|
136
|
+
}?,
|
|
137
|
+
planned_budget_limits: Hash[::String, {
|
|
138
|
+
amount: ::String,
|
|
139
|
+
unit: ::String
|
|
140
|
+
}]?,
|
|
141
|
+
cost_filters: Hash[::String, Array[::String]]?,
|
|
142
|
+
cost_types: Params::cost_types?,
|
|
143
|
+
time_unit: ("DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY" | "CUSTOM"),
|
|
144
|
+
time_period: {
|
|
145
|
+
start: ::Time?,
|
|
146
|
+
end: ::Time?
|
|
147
|
+
}?,
|
|
148
|
+
calculated_spend: Params::calculated_spend?,
|
|
149
|
+
budget_type: ("USAGE" | "COST" | "RI_UTILIZATION" | "RI_COVERAGE" | "SAVINGS_PLANS_UTILIZATION" | "SAVINGS_PLANS_COVERAGE"),
|
|
150
|
+
last_updated_time: ::Time?,
|
|
151
|
+
auto_adjust_data: Params::auto_adjust_data?,
|
|
152
|
+
filter_expression: Params::expression?,
|
|
153
|
+
metrics: Array[("BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours")]?,
|
|
154
|
+
billing_view_arn: ::String?,
|
|
155
|
+
health_status: {
|
|
156
|
+
status: ("HEALTHY" | "UNHEALTHY")?,
|
|
157
|
+
status_reason: ("BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID" | "MULTI_YEAR_HISTORICAL_DATA_DISABLED")?,
|
|
158
|
+
last_updated_time: ::Time?
|
|
159
|
+
}?
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
type definition = {
|
|
163
|
+
iam_action_definition: {
|
|
164
|
+
policy_arn: ::String,
|
|
165
|
+
roles: Array[::String]?,
|
|
166
|
+
groups: Array[::String]?,
|
|
167
|
+
users: Array[::String]?
|
|
168
|
+
}?,
|
|
169
|
+
scp_action_definition: {
|
|
170
|
+
policy_id: ::String,
|
|
171
|
+
target_ids: Array[::String]
|
|
172
|
+
}?,
|
|
173
|
+
ssm_action_definition: {
|
|
174
|
+
action_sub_type: ("STOP_EC2_INSTANCES" | "STOP_RDS_INSTANCES"),
|
|
175
|
+
region: ::String,
|
|
176
|
+
instance_ids: Array[::String]
|
|
177
|
+
}?
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-budgets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.107.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- lib/aws-sdk-budgets/types.rb
|
|
68
68
|
- sig/client.rbs
|
|
69
69
|
- sig/errors.rbs
|
|
70
|
+
- sig/params.rbs
|
|
70
71
|
- sig/resource.rbs
|
|
71
72
|
- sig/types.rbs
|
|
72
73
|
- sig/waiters.rbs
|