aws-sdk-billing 1.27.0 → 1.28.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-billing/client.rb +293 -1
- data/lib/aws-sdk-billing/client_api.rb +237 -0
- data/lib/aws-sdk-billing/types.rb +508 -0
- data/lib/aws-sdk-billing.rb +1 -1
- data/sig/client.rbs +74 -0
- data/sig/types.rbs +131 -0
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -19,6 +19,12 @@ module Aws::Billing
|
|
|
19
19
|
SENSITIVE: []
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
class Amount
|
|
23
|
+
attr_accessor currency_code: ::String
|
|
24
|
+
attr_accessor currency_amount: ::String
|
|
25
|
+
SENSITIVE: []
|
|
26
|
+
end
|
|
27
|
+
|
|
22
28
|
class AssociateSourceViewsRequest
|
|
23
29
|
attr_accessor arn: ::String
|
|
24
30
|
attr_accessor source_views: ::Array[::String]
|
|
@@ -30,6 +36,34 @@ module Aws::Billing
|
|
|
30
36
|
SENSITIVE: []
|
|
31
37
|
end
|
|
32
38
|
|
|
39
|
+
class BillingFeatureFilter
|
|
40
|
+
attr_accessor name: ("PREFERENCE_KEY")
|
|
41
|
+
attr_accessor value: ::Array[::String]
|
|
42
|
+
SENSITIVE: []
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
class BillingPeriod
|
|
46
|
+
attr_accessor year: ::Integer
|
|
47
|
+
attr_accessor month: ::Integer
|
|
48
|
+
SENSITIVE: []
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
class BillingPreferenceForKey
|
|
52
|
+
attr_accessor key: ::String
|
|
53
|
+
attr_accessor value: ("ENABLED" | "DISABLED")
|
|
54
|
+
SENSITIVE: []
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class BillingPreferenceSummary
|
|
58
|
+
attr_accessor feature: ("RI_SHARING" | "RI_SHARING_HISTORY" | "CREDIT_SHARING" | "CREDIT_SHARING_HISTORY" | "CREDIT_LEVEL_SHARING" | "BILLING_ALERTS" | "CREDIT_PREFERENCE_OPTIONS")
|
|
59
|
+
attr_accessor key: ::String
|
|
60
|
+
attr_accessor value: ("ENABLED" | "DISABLED")
|
|
61
|
+
attr_accessor account_name: ::String
|
|
62
|
+
attr_accessor account_id: ::String
|
|
63
|
+
attr_accessor billing_period: Types::BillingPeriod
|
|
64
|
+
SENSITIVE: []
|
|
65
|
+
end
|
|
66
|
+
|
|
33
67
|
class BillingViewElement
|
|
34
68
|
attr_accessor arn: ::String
|
|
35
69
|
attr_accessor name: ::String
|
|
@@ -98,6 +132,41 @@ module Aws::Billing
|
|
|
98
132
|
SENSITIVE: []
|
|
99
133
|
end
|
|
100
134
|
|
|
135
|
+
class CreditAllocationHistoryEntry
|
|
136
|
+
attr_accessor credit_id: ::String
|
|
137
|
+
attr_accessor credit_amount: Types::Amount
|
|
138
|
+
attr_accessor description: ::String
|
|
139
|
+
attr_accessor account_id: ::String
|
|
140
|
+
attr_accessor applied_service_name: ::String
|
|
141
|
+
attr_accessor billing_month: ::String
|
|
142
|
+
attr_accessor is_estimated_bill: bool
|
|
143
|
+
SENSITIVE: []
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
class CreditData
|
|
147
|
+
attr_accessor credit_id: ::String
|
|
148
|
+
attr_accessor account_id: ::String
|
|
149
|
+
attr_accessor credit_type: ::String
|
|
150
|
+
attr_accessor initial_amount: Types::Amount
|
|
151
|
+
attr_accessor remaining_amount: Types::Amount
|
|
152
|
+
attr_accessor estimated_amount: Types::Amount
|
|
153
|
+
attr_accessor applicable_product_names: ::Array[::String]
|
|
154
|
+
attr_accessor description: ::String
|
|
155
|
+
attr_accessor start_date: ::Time
|
|
156
|
+
attr_accessor end_date: ::Time
|
|
157
|
+
attr_accessor exhaust_date: ::Time
|
|
158
|
+
attr_accessor application_type: ("BEFORE_CROSS_SERVICE_DISCOUNTS" | "AFTER_DISCOUNTS")
|
|
159
|
+
attr_accessor shareable_accounts: ::Array[::String]
|
|
160
|
+
attr_accessor account_has_credit_sharing_enabled: bool
|
|
161
|
+
attr_accessor credit_console_visibility: ::String
|
|
162
|
+
attr_accessor credit_sharing_type: ("DEFAULT" | "DISABLED" | "CUSTOM" | "COST_CATEGORY_RULE")
|
|
163
|
+
attr_accessor cost_category_arn: ::String
|
|
164
|
+
attr_accessor rule_name: ::String
|
|
165
|
+
attr_accessor credit_status: ("ENABLED" | "DISABLED")
|
|
166
|
+
attr_accessor purchase_type_applications: ::Array[::String]
|
|
167
|
+
SENSITIVE: []
|
|
168
|
+
end
|
|
169
|
+
|
|
101
170
|
class DeleteBillingViewRequest
|
|
102
171
|
attr_accessor arn: ::String
|
|
103
172
|
attr_accessor force: bool
|
|
@@ -134,6 +203,20 @@ module Aws::Billing
|
|
|
134
203
|
SENSITIVE: []
|
|
135
204
|
end
|
|
136
205
|
|
|
206
|
+
class GetBillingPreferencesRequest
|
|
207
|
+
attr_accessor next_token: ::String
|
|
208
|
+
attr_accessor max_results: ::Integer
|
|
209
|
+
attr_accessor features: ::Array[("RI_SHARING" | "RI_SHARING_HISTORY" | "CREDIT_SHARING" | "CREDIT_SHARING_HISTORY" | "CREDIT_LEVEL_SHARING" | "BILLING_ALERTS" | "CREDIT_PREFERENCE_OPTIONS")]
|
|
210
|
+
attr_accessor filters: ::Array[Types::BillingFeatureFilter]
|
|
211
|
+
SENSITIVE: []
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
class GetBillingPreferencesResponse
|
|
215
|
+
attr_accessor billing_preferences: ::Array[Types::BillingPreferenceSummary]
|
|
216
|
+
attr_accessor next_token: ::String
|
|
217
|
+
SENSITIVE: []
|
|
218
|
+
end
|
|
219
|
+
|
|
137
220
|
class GetBillingViewRequest
|
|
138
221
|
attr_accessor arn: ::String
|
|
139
222
|
SENSITIVE: []
|
|
@@ -144,6 +227,37 @@ module Aws::Billing
|
|
|
144
227
|
SENSITIVE: []
|
|
145
228
|
end
|
|
146
229
|
|
|
230
|
+
class GetCreditAllocationHistoryRequest
|
|
231
|
+
attr_accessor account_id: ::String
|
|
232
|
+
attr_accessor credit_id: ::Integer
|
|
233
|
+
attr_accessor start_date: ::Time
|
|
234
|
+
attr_accessor end_date: ::Time
|
|
235
|
+
attr_accessor next_token: ::String
|
|
236
|
+
attr_accessor max_results: ::Integer
|
|
237
|
+
SENSITIVE: []
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
class GetCreditAllocationHistoryResponse
|
|
241
|
+
attr_accessor credit_allocation_history_list: ::Array[Types::CreditAllocationHistoryEntry]
|
|
242
|
+
attr_accessor partial_results: bool
|
|
243
|
+
attr_accessor failed_months: ::Array[::String]
|
|
244
|
+
attr_accessor next_token: ::String
|
|
245
|
+
SENSITIVE: []
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
class GetCreditsRequest
|
|
249
|
+
attr_accessor account_id: ::String
|
|
250
|
+
attr_accessor start_date: ::Time
|
|
251
|
+
attr_accessor end_date: ::Time
|
|
252
|
+
attr_accessor payer_account_flag: bool
|
|
253
|
+
SENSITIVE: []
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
class GetCreditsResponse
|
|
257
|
+
attr_accessor credits: ::Array[Types::CreditData]
|
|
258
|
+
SENSITIVE: []
|
|
259
|
+
end
|
|
260
|
+
|
|
147
261
|
class GetResourcePolicyRequest
|
|
148
262
|
attr_accessor resource_arn: ::String
|
|
149
263
|
SENSITIVE: []
|
|
@@ -201,6 +315,14 @@ module Aws::Billing
|
|
|
201
315
|
SENSITIVE: []
|
|
202
316
|
end
|
|
203
317
|
|
|
318
|
+
class RedeemCreditsRequest
|
|
319
|
+
attr_accessor promo_code: ::String
|
|
320
|
+
SENSITIVE: []
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
class RedeemCreditsResponse < Aws::EmptyStructure
|
|
324
|
+
end
|
|
325
|
+
|
|
204
326
|
class ResourceNotFoundException
|
|
205
327
|
attr_accessor message: ::String
|
|
206
328
|
attr_accessor resource_id: ::String
|
|
@@ -264,6 +386,15 @@ module Aws::Billing
|
|
|
264
386
|
class UntagResourceResponse < Aws::EmptyStructure
|
|
265
387
|
end
|
|
266
388
|
|
|
389
|
+
class UpdateBillingPreferencesRequest
|
|
390
|
+
attr_accessor feature: ("RI_SHARING" | "RI_SHARING_HISTORY" | "CREDIT_SHARING" | "CREDIT_SHARING_HISTORY" | "CREDIT_LEVEL_SHARING" | "BILLING_ALERTS" | "CREDIT_PREFERENCE_OPTIONS")
|
|
391
|
+
attr_accessor billing_preferences_per_key: ::Array[Types::BillingPreferenceForKey]
|
|
392
|
+
SENSITIVE: []
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
class UpdateBillingPreferencesResponse < Aws::EmptyStructure
|
|
396
|
+
end
|
|
397
|
+
|
|
267
398
|
class UpdateBillingViewRequest
|
|
268
399
|
attr_accessor arn: ::String
|
|
269
400
|
attr_accessor name: ::String
|