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
|
@@ -16,9 +16,23 @@ module Aws::Billing
|
|
|
16
16
|
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
18
18
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
19
|
+
AccountName = Shapes::StringShape.new(name: 'AccountName')
|
|
19
20
|
ActiveTimeRange = Shapes::StructureShape.new(name: 'ActiveTimeRange')
|
|
21
|
+
Amount = Shapes::StructureShape.new(name: 'Amount')
|
|
22
|
+
ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
|
|
20
23
|
AssociateSourceViewsRequest = Shapes::StructureShape.new(name: 'AssociateSourceViewsRequest')
|
|
21
24
|
AssociateSourceViewsResponse = Shapes::StructureShape.new(name: 'AssociateSourceViewsResponse')
|
|
25
|
+
BillingFeature = Shapes::StringShape.new(name: 'BillingFeature')
|
|
26
|
+
BillingFeatureFilter = Shapes::StructureShape.new(name: 'BillingFeatureFilter')
|
|
27
|
+
BillingFeatureFilterName = Shapes::StringShape.new(name: 'BillingFeatureFilterName')
|
|
28
|
+
BillingFeatureFilterValue = Shapes::StringShape.new(name: 'BillingFeatureFilterValue')
|
|
29
|
+
BillingFeatureFilterValues = Shapes::ListShape.new(name: 'BillingFeatureFilterValues')
|
|
30
|
+
BillingMonth = Shapes::StringShape.new(name: 'BillingMonth')
|
|
31
|
+
BillingPeriod = Shapes::StructureShape.new(name: 'BillingPeriod')
|
|
32
|
+
BillingPreferenceForKey = Shapes::StructureShape.new(name: 'BillingPreferenceForKey')
|
|
33
|
+
BillingPreferenceSummary = Shapes::StructureShape.new(name: 'BillingPreferenceSummary')
|
|
34
|
+
BillingPreferences = Shapes::ListShape.new(name: 'BillingPreferences')
|
|
35
|
+
BillingPreferencesPerKey = Shapes::ListShape.new(name: 'BillingPreferencesPerKey')
|
|
22
36
|
BillingViewArn = Shapes::StringShape.new(name: 'BillingViewArn')
|
|
23
37
|
BillingViewArnList = Shapes::ListShape.new(name: 'BillingViewArnList')
|
|
24
38
|
BillingViewDescription = Shapes::StringShape.new(name: 'BillingViewDescription')
|
|
@@ -35,6 +49,7 @@ module Aws::Billing
|
|
|
35
49
|
BillingViewType = Shapes::StringShape.new(name: 'BillingViewType')
|
|
36
50
|
BillingViewTypeList = Shapes::ListShape.new(name: 'BillingViewTypeList')
|
|
37
51
|
BillingViewsMaxResults = Shapes::IntegerShape.new(name: 'BillingViewsMaxResults')
|
|
52
|
+
BillingYear = Shapes::IntegerShape.new(name: 'BillingYear')
|
|
38
53
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
39
54
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
40
55
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
@@ -42,6 +57,15 @@ module Aws::Billing
|
|
|
42
57
|
CostCategoryValues = Shapes::StructureShape.new(name: 'CostCategoryValues')
|
|
43
58
|
CreateBillingViewRequest = Shapes::StructureShape.new(name: 'CreateBillingViewRequest')
|
|
44
59
|
CreateBillingViewResponse = Shapes::StructureShape.new(name: 'CreateBillingViewResponse')
|
|
60
|
+
CreditAllocationHistoryEntry = Shapes::StructureShape.new(name: 'CreditAllocationHistoryEntry')
|
|
61
|
+
CreditAllocationHistoryList = Shapes::ListShape.new(name: 'CreditAllocationHistoryList')
|
|
62
|
+
CreditData = Shapes::StructureShape.new(name: 'CreditData')
|
|
63
|
+
CreditDataList = Shapes::ListShape.new(name: 'CreditDataList')
|
|
64
|
+
CreditId = Shapes::StringShape.new(name: 'CreditId')
|
|
65
|
+
CreditSharingType = Shapes::StringShape.new(name: 'CreditSharingType')
|
|
66
|
+
CreditStatus = Shapes::StringShape.new(name: 'CreditStatus')
|
|
67
|
+
CurrencyAmount = Shapes::StringShape.new(name: 'CurrencyAmount')
|
|
68
|
+
CurrencyCode = Shapes::StringShape.new(name: 'CurrencyCode')
|
|
45
69
|
DeleteBillingViewRequest = Shapes::StructureShape.new(name: 'DeleteBillingViewRequest')
|
|
46
70
|
DeleteBillingViewResponse = Shapes::StructureShape.new(name: 'DeleteBillingViewResponse')
|
|
47
71
|
Dimension = Shapes::StringShape.new(name: 'Dimension')
|
|
@@ -50,9 +74,20 @@ module Aws::Billing
|
|
|
50
74
|
DisassociateSourceViewsResponse = Shapes::StructureShape.new(name: 'DisassociateSourceViewsResponse')
|
|
51
75
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
52
76
|
Expression = Shapes::StructureShape.new(name: 'Expression')
|
|
77
|
+
FailedMonthsList = Shapes::ListShape.new(name: 'FailedMonthsList')
|
|
53
78
|
FieldName = Shapes::StringShape.new(name: 'FieldName')
|
|
79
|
+
GetBillingPreferencesRequest = Shapes::StructureShape.new(name: 'GetBillingPreferencesRequest')
|
|
80
|
+
GetBillingPreferencesRequestFeaturesList = Shapes::ListShape.new(name: 'GetBillingPreferencesRequestFeaturesList')
|
|
81
|
+
GetBillingPreferencesRequestFiltersList = Shapes::ListShape.new(name: 'GetBillingPreferencesRequestFiltersList')
|
|
82
|
+
GetBillingPreferencesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetBillingPreferencesRequestMaxResultsInteger')
|
|
83
|
+
GetBillingPreferencesResponse = Shapes::StructureShape.new(name: 'GetBillingPreferencesResponse')
|
|
54
84
|
GetBillingViewRequest = Shapes::StructureShape.new(name: 'GetBillingViewRequest')
|
|
55
85
|
GetBillingViewResponse = Shapes::StructureShape.new(name: 'GetBillingViewResponse')
|
|
86
|
+
GetCreditAllocationHistoryRequest = Shapes::StructureShape.new(name: 'GetCreditAllocationHistoryRequest')
|
|
87
|
+
GetCreditAllocationHistoryRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetCreditAllocationHistoryRequestMaxResultsInteger')
|
|
88
|
+
GetCreditAllocationHistoryResponse = Shapes::StructureShape.new(name: 'GetCreditAllocationHistoryResponse')
|
|
89
|
+
GetCreditsRequest = Shapes::StructureShape.new(name: 'GetCreditsRequest')
|
|
90
|
+
GetCreditsResponse = Shapes::StructureShape.new(name: 'GetCreditsResponse')
|
|
56
91
|
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
|
57
92
|
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
|
58
93
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
@@ -63,9 +98,20 @@ module Aws::Billing
|
|
|
63
98
|
ListSourceViewsForBillingViewResponse = Shapes::StructureShape.new(name: 'ListSourceViewsForBillingViewResponse')
|
|
64
99
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
65
100
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
101
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
102
|
+
Month = Shapes::IntegerShape.new(name: 'Month')
|
|
66
103
|
PageToken = Shapes::StringShape.new(name: 'PageToken')
|
|
67
104
|
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
|
105
|
+
PreferenceKey = Shapes::StringShape.new(name: 'PreferenceKey')
|
|
106
|
+
PreferenceValue = Shapes::StringShape.new(name: 'PreferenceValue')
|
|
107
|
+
ProductName = Shapes::StringShape.new(name: 'ProductName')
|
|
108
|
+
ProductNames = Shapes::ListShape.new(name: 'ProductNames')
|
|
109
|
+
PromoCode = Shapes::StringShape.new(name: 'PromoCode')
|
|
110
|
+
PurchaseType = Shapes::StringShape.new(name: 'PurchaseType')
|
|
111
|
+
PurchaseTypeApplications = Shapes::ListShape.new(name: 'PurchaseTypeApplications')
|
|
68
112
|
QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
|
|
113
|
+
RedeemCreditsRequest = Shapes::StructureShape.new(name: 'RedeemCreditsRequest')
|
|
114
|
+
RedeemCreditsResponse = Shapes::StructureShape.new(name: 'RedeemCreditsResponse')
|
|
69
115
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
70
116
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
|
71
117
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
@@ -79,6 +125,8 @@ module Aws::Billing
|
|
|
79
125
|
SearchValue = Shapes::StringShape.new(name: 'SearchValue')
|
|
80
126
|
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
|
81
127
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
128
|
+
ShareableAccountIds = Shapes::ListShape.new(name: 'ShareableAccountIds')
|
|
129
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
82
130
|
StringSearch = Shapes::StructureShape.new(name: 'StringSearch')
|
|
83
131
|
StringSearches = Shapes::ListShape.new(name: 'StringSearches')
|
|
84
132
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
@@ -90,6 +138,8 @@ module Aws::Billing
|
|
|
90
138
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
91
139
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
92
140
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
141
|
+
UpdateBillingPreferencesRequest = Shapes::StructureShape.new(name: 'UpdateBillingPreferencesRequest')
|
|
142
|
+
UpdateBillingPreferencesResponse = Shapes::StructureShape.new(name: 'UpdateBillingPreferencesResponse')
|
|
93
143
|
UpdateBillingViewRequest = Shapes::StructureShape.new(name: 'UpdateBillingViewRequest')
|
|
94
144
|
UpdateBillingViewResponse = Shapes::StructureShape.new(name: 'UpdateBillingViewResponse')
|
|
95
145
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
@@ -106,6 +156,10 @@ module Aws::Billing
|
|
|
106
156
|
ActiveTimeRange.add_member(:active_before_inclusive, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "activeBeforeInclusive"))
|
|
107
157
|
ActiveTimeRange.struct_class = Types::ActiveTimeRange
|
|
108
158
|
|
|
159
|
+
Amount.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, required: true, location_name: "currencyCode"))
|
|
160
|
+
Amount.add_member(:currency_amount, Shapes::ShapeRef.new(shape: CurrencyAmount, required: true, location_name: "currencyAmount"))
|
|
161
|
+
Amount.struct_class = Types::Amount
|
|
162
|
+
|
|
109
163
|
AssociateSourceViewsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
110
164
|
AssociateSourceViewsRequest.add_member(:source_views, Shapes::ShapeRef.new(shape: BillingViewSourceViewsList, required: true, location_name: "sourceViews"))
|
|
111
165
|
AssociateSourceViewsRequest.struct_class = Types::AssociateSourceViewsRequest
|
|
@@ -113,6 +167,32 @@ module Aws::Billing
|
|
|
113
167
|
AssociateSourceViewsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
114
168
|
AssociateSourceViewsResponse.struct_class = Types::AssociateSourceViewsResponse
|
|
115
169
|
|
|
170
|
+
BillingFeatureFilter.add_member(:name, Shapes::ShapeRef.new(shape: BillingFeatureFilterName, location_name: "name"))
|
|
171
|
+
BillingFeatureFilter.add_member(:value, Shapes::ShapeRef.new(shape: BillingFeatureFilterValues, location_name: "value"))
|
|
172
|
+
BillingFeatureFilter.struct_class = Types::BillingFeatureFilter
|
|
173
|
+
|
|
174
|
+
BillingFeatureFilterValues.member = Shapes::ShapeRef.new(shape: BillingFeatureFilterValue)
|
|
175
|
+
|
|
176
|
+
BillingPeriod.add_member(:year, Shapes::ShapeRef.new(shape: BillingYear, required: true, location_name: "year"))
|
|
177
|
+
BillingPeriod.add_member(:month, Shapes::ShapeRef.new(shape: Month, required: true, location_name: "month"))
|
|
178
|
+
BillingPeriod.struct_class = Types::BillingPeriod
|
|
179
|
+
|
|
180
|
+
BillingPreferenceForKey.add_member(:key, Shapes::ShapeRef.new(shape: PreferenceKey, required: true, location_name: "key"))
|
|
181
|
+
BillingPreferenceForKey.add_member(:value, Shapes::ShapeRef.new(shape: PreferenceValue, required: true, location_name: "value"))
|
|
182
|
+
BillingPreferenceForKey.struct_class = Types::BillingPreferenceForKey
|
|
183
|
+
|
|
184
|
+
BillingPreferenceSummary.add_member(:feature, Shapes::ShapeRef.new(shape: BillingFeature, required: true, location_name: "feature"))
|
|
185
|
+
BillingPreferenceSummary.add_member(:key, Shapes::ShapeRef.new(shape: PreferenceKey, required: true, location_name: "key"))
|
|
186
|
+
BillingPreferenceSummary.add_member(:value, Shapes::ShapeRef.new(shape: PreferenceValue, required: true, location_name: "value"))
|
|
187
|
+
BillingPreferenceSummary.add_member(:account_name, Shapes::ShapeRef.new(shape: AccountName, location_name: "accountName"))
|
|
188
|
+
BillingPreferenceSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
189
|
+
BillingPreferenceSummary.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "billingPeriod"))
|
|
190
|
+
BillingPreferenceSummary.struct_class = Types::BillingPreferenceSummary
|
|
191
|
+
|
|
192
|
+
BillingPreferences.member = Shapes::ShapeRef.new(shape: BillingPreferenceSummary)
|
|
193
|
+
|
|
194
|
+
BillingPreferencesPerKey.member = Shapes::ShapeRef.new(shape: BillingPreferenceForKey)
|
|
195
|
+
|
|
116
196
|
BillingViewArnList.member = Shapes::ShapeRef.new(shape: BillingViewArn)
|
|
117
197
|
|
|
118
198
|
BillingViewElement.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, location_name: "arn"))
|
|
@@ -175,6 +255,41 @@ module Aws::Billing
|
|
|
175
255
|
CreateBillingViewResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
176
256
|
CreateBillingViewResponse.struct_class = Types::CreateBillingViewResponse
|
|
177
257
|
|
|
258
|
+
CreditAllocationHistoryEntry.add_member(:credit_id, Shapes::ShapeRef.new(shape: CreditId, required: true, location_name: "creditId"))
|
|
259
|
+
CreditAllocationHistoryEntry.add_member(:credit_amount, Shapes::ShapeRef.new(shape: Amount, required: true, location_name: "creditAmount"))
|
|
260
|
+
CreditAllocationHistoryEntry.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
261
|
+
CreditAllocationHistoryEntry.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
262
|
+
CreditAllocationHistoryEntry.add_member(:applied_service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appliedServiceName"))
|
|
263
|
+
CreditAllocationHistoryEntry.add_member(:billing_month, Shapes::ShapeRef.new(shape: BillingMonth, required: true, location_name: "billingMonth"))
|
|
264
|
+
CreditAllocationHistoryEntry.add_member(:is_estimated_bill, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isEstimatedBill"))
|
|
265
|
+
CreditAllocationHistoryEntry.struct_class = Types::CreditAllocationHistoryEntry
|
|
266
|
+
|
|
267
|
+
CreditAllocationHistoryList.member = Shapes::ShapeRef.new(shape: CreditAllocationHistoryEntry)
|
|
268
|
+
|
|
269
|
+
CreditData.add_member(:credit_id, Shapes::ShapeRef.new(shape: CreditId, required: true, location_name: "creditId"))
|
|
270
|
+
CreditData.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
271
|
+
CreditData.add_member(:credit_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "creditType"))
|
|
272
|
+
CreditData.add_member(:initial_amount, Shapes::ShapeRef.new(shape: Amount, required: true, location_name: "initialAmount"))
|
|
273
|
+
CreditData.add_member(:remaining_amount, Shapes::ShapeRef.new(shape: Amount, required: true, location_name: "remainingAmount"))
|
|
274
|
+
CreditData.add_member(:estimated_amount, Shapes::ShapeRef.new(shape: Amount, location_name: "estimatedAmount"))
|
|
275
|
+
CreditData.add_member(:applicable_product_names, Shapes::ShapeRef.new(shape: ProductNames, location_name: "applicableProductNames"))
|
|
276
|
+
CreditData.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
|
277
|
+
CreditData.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
|
278
|
+
CreditData.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
|
279
|
+
CreditData.add_member(:exhaust_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "exhaustDate"))
|
|
280
|
+
CreditData.add_member(:application_type, Shapes::ShapeRef.new(shape: ApplicationType, location_name: "applicationType"))
|
|
281
|
+
CreditData.add_member(:shareable_accounts, Shapes::ShapeRef.new(shape: ShareableAccountIds, location_name: "shareableAccounts"))
|
|
282
|
+
CreditData.add_member(:account_has_credit_sharing_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "accountHasCreditSharingEnabled"))
|
|
283
|
+
CreditData.add_member(:credit_console_visibility, Shapes::ShapeRef.new(shape: String, location_name: "creditConsoleVisibility"))
|
|
284
|
+
CreditData.add_member(:credit_sharing_type, Shapes::ShapeRef.new(shape: CreditSharingType, location_name: "creditSharingType"))
|
|
285
|
+
CreditData.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: String, location_name: "costCategoryArn"))
|
|
286
|
+
CreditData.add_member(:rule_name, Shapes::ShapeRef.new(shape: String, location_name: "ruleName"))
|
|
287
|
+
CreditData.add_member(:credit_status, Shapes::ShapeRef.new(shape: CreditStatus, location_name: "creditStatus"))
|
|
288
|
+
CreditData.add_member(:purchase_type_applications, Shapes::ShapeRef.new(shape: PurchaseTypeApplications, location_name: "purchaseTypeApplications"))
|
|
289
|
+
CreditData.struct_class = Types::CreditData
|
|
290
|
+
|
|
291
|
+
CreditDataList.member = Shapes::ShapeRef.new(shape: CreditData)
|
|
292
|
+
|
|
178
293
|
DeleteBillingViewRequest.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
179
294
|
DeleteBillingViewRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
|
|
180
295
|
DeleteBillingViewRequest.struct_class = Types::DeleteBillingViewRequest
|
|
@@ -199,12 +314,51 @@ module Aws::Billing
|
|
|
199
314
|
Expression.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
|
|
200
315
|
Expression.struct_class = Types::Expression
|
|
201
316
|
|
|
317
|
+
FailedMonthsList.member = Shapes::ShapeRef.new(shape: BillingMonth)
|
|
318
|
+
|
|
319
|
+
GetBillingPreferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
320
|
+
GetBillingPreferencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetBillingPreferencesRequestMaxResultsInteger, location_name: "maxResults"))
|
|
321
|
+
GetBillingPreferencesRequest.add_member(:features, Shapes::ShapeRef.new(shape: GetBillingPreferencesRequestFeaturesList, required: true, location_name: "features"))
|
|
322
|
+
GetBillingPreferencesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: GetBillingPreferencesRequestFiltersList, location_name: "filters"))
|
|
323
|
+
GetBillingPreferencesRequest.struct_class = Types::GetBillingPreferencesRequest
|
|
324
|
+
|
|
325
|
+
GetBillingPreferencesRequestFeaturesList.member = Shapes::ShapeRef.new(shape: BillingFeature)
|
|
326
|
+
|
|
327
|
+
GetBillingPreferencesRequestFiltersList.member = Shapes::ShapeRef.new(shape: BillingFeatureFilter)
|
|
328
|
+
|
|
329
|
+
GetBillingPreferencesResponse.add_member(:billing_preferences, Shapes::ShapeRef.new(shape: BillingPreferences, required: true, location_name: "billingPreferences"))
|
|
330
|
+
GetBillingPreferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
331
|
+
GetBillingPreferencesResponse.struct_class = Types::GetBillingPreferencesResponse
|
|
332
|
+
|
|
202
333
|
GetBillingViewRequest.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
203
334
|
GetBillingViewRequest.struct_class = Types::GetBillingViewRequest
|
|
204
335
|
|
|
205
336
|
GetBillingViewResponse.add_member(:billing_view, Shapes::ShapeRef.new(shape: BillingViewElement, required: true, location_name: "billingView"))
|
|
206
337
|
GetBillingViewResponse.struct_class = Types::GetBillingViewResponse
|
|
207
338
|
|
|
339
|
+
GetCreditAllocationHistoryRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
340
|
+
GetCreditAllocationHistoryRequest.add_member(:credit_id, Shapes::ShapeRef.new(shape: Long, location_name: "creditId"))
|
|
341
|
+
GetCreditAllocationHistoryRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
|
342
|
+
GetCreditAllocationHistoryRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endDate"))
|
|
343
|
+
GetCreditAllocationHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
344
|
+
GetCreditAllocationHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetCreditAllocationHistoryRequestMaxResultsInteger, location_name: "maxResults"))
|
|
345
|
+
GetCreditAllocationHistoryRequest.struct_class = Types::GetCreditAllocationHistoryRequest
|
|
346
|
+
|
|
347
|
+
GetCreditAllocationHistoryResponse.add_member(:credit_allocation_history_list, Shapes::ShapeRef.new(shape: CreditAllocationHistoryList, location_name: "creditAllocationHistoryList"))
|
|
348
|
+
GetCreditAllocationHistoryResponse.add_member(:partial_results, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "partialResults"))
|
|
349
|
+
GetCreditAllocationHistoryResponse.add_member(:failed_months, Shapes::ShapeRef.new(shape: FailedMonthsList, location_name: "failedMonths"))
|
|
350
|
+
GetCreditAllocationHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
|
|
351
|
+
GetCreditAllocationHistoryResponse.struct_class = Types::GetCreditAllocationHistoryResponse
|
|
352
|
+
|
|
353
|
+
GetCreditsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "accountId"))
|
|
354
|
+
GetCreditsRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
|
|
355
|
+
GetCreditsRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
|
356
|
+
GetCreditsRequest.add_member(:payer_account_flag, Shapes::ShapeRef.new(shape: Boolean, location_name: "payerAccountFlag"))
|
|
357
|
+
GetCreditsRequest.struct_class = Types::GetCreditsRequest
|
|
358
|
+
|
|
359
|
+
GetCreditsResponse.add_member(:credits, Shapes::ShapeRef.new(shape: CreditDataList, location_name: "credits"))
|
|
360
|
+
GetCreditsResponse.struct_class = Types::GetCreditsResponse
|
|
361
|
+
|
|
208
362
|
GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
|
209
363
|
GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
|
|
210
364
|
|
|
@@ -244,6 +398,15 @@ module Aws::Billing
|
|
|
244
398
|
ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "resourceTags"))
|
|
245
399
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
246
400
|
|
|
401
|
+
ProductNames.member = Shapes::ShapeRef.new(shape: ProductName)
|
|
402
|
+
|
|
403
|
+
PurchaseTypeApplications.member = Shapes::ShapeRef.new(shape: PurchaseType)
|
|
404
|
+
|
|
405
|
+
RedeemCreditsRequest.add_member(:promo_code, Shapes::ShapeRef.new(shape: PromoCode, required: true, location_name: "promoCode"))
|
|
406
|
+
RedeemCreditsRequest.struct_class = Types::RedeemCreditsRequest
|
|
407
|
+
|
|
408
|
+
RedeemCreditsResponse.struct_class = Types::RedeemCreditsResponse
|
|
409
|
+
|
|
247
410
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
|
248
411
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
|
249
412
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
|
@@ -264,6 +427,8 @@ module Aws::Billing
|
|
|
264
427
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, required: true, location_name: "quotaCode"))
|
|
265
428
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
266
429
|
|
|
430
|
+
ShareableAccountIds.member = Shapes::ShapeRef.new(shape: AccountId)
|
|
431
|
+
|
|
267
432
|
StringSearch.add_member(:search_option, Shapes::ShapeRef.new(shape: SearchOption, required: true, location_name: "searchOption"))
|
|
268
433
|
StringSearch.add_member(:search_value, Shapes::ShapeRef.new(shape: SearchValue, required: true, location_name: "searchValue"))
|
|
269
434
|
StringSearch.struct_class = Types::StringSearch
|
|
@@ -293,6 +458,12 @@ module Aws::Billing
|
|
|
293
458
|
|
|
294
459
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
|
295
460
|
|
|
461
|
+
UpdateBillingPreferencesRequest.add_member(:feature, Shapes::ShapeRef.new(shape: BillingFeature, required: true, location_name: "feature"))
|
|
462
|
+
UpdateBillingPreferencesRequest.add_member(:billing_preferences_per_key, Shapes::ShapeRef.new(shape: BillingPreferencesPerKey, required: true, location_name: "billingPreferencesPerKey"))
|
|
463
|
+
UpdateBillingPreferencesRequest.struct_class = Types::UpdateBillingPreferencesRequest
|
|
464
|
+
|
|
465
|
+
UpdateBillingPreferencesResponse.struct_class = Types::UpdateBillingPreferencesResponse
|
|
466
|
+
|
|
296
467
|
UpdateBillingViewRequest.add_member(:arn, Shapes::ShapeRef.new(shape: BillingViewArn, required: true, location_name: "arn"))
|
|
297
468
|
UpdateBillingViewRequest.add_member(:name, Shapes::ShapeRef.new(shape: BillingViewName, location_name: "name"))
|
|
298
469
|
UpdateBillingViewRequest.add_member(:description, Shapes::ShapeRef.new(shape: BillingViewDescription, location_name: "description"))
|
|
@@ -397,6 +568,18 @@ module Aws::Billing
|
|
|
397
568
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
398
569
|
end)
|
|
399
570
|
|
|
571
|
+
api.add_operation(:get_billing_preferences, Seahorse::Model::Operation.new.tap do |o|
|
|
572
|
+
o.name = "GetBillingPreferences"
|
|
573
|
+
o.http_method = "POST"
|
|
574
|
+
o.http_request_uri = "/"
|
|
575
|
+
o.input = Shapes::ShapeRef.new(shape: GetBillingPreferencesRequest)
|
|
576
|
+
o.output = Shapes::ShapeRef.new(shape: GetBillingPreferencesResponse)
|
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
581
|
+
end)
|
|
582
|
+
|
|
400
583
|
api.add_operation(:get_billing_view, Seahorse::Model::Operation.new.tap do |o|
|
|
401
584
|
o.name = "GetBillingView"
|
|
402
585
|
o.http_method = "POST"
|
|
@@ -410,6 +593,36 @@ module Aws::Billing
|
|
|
410
593
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
411
594
|
end)
|
|
412
595
|
|
|
596
|
+
api.add_operation(:get_credit_allocation_history, Seahorse::Model::Operation.new.tap do |o|
|
|
597
|
+
o.name = "GetCreditAllocationHistory"
|
|
598
|
+
o.http_method = "POST"
|
|
599
|
+
o.http_request_uri = "/"
|
|
600
|
+
o.input = Shapes::ShapeRef.new(shape: GetCreditAllocationHistoryRequest)
|
|
601
|
+
o.output = Shapes::ShapeRef.new(shape: GetCreditAllocationHistoryResponse)
|
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
606
|
+
o[:pager] = Aws::Pager.new(
|
|
607
|
+
limit_key: "max_results",
|
|
608
|
+
tokens: {
|
|
609
|
+
"next_token" => "next_token"
|
|
610
|
+
}
|
|
611
|
+
)
|
|
612
|
+
end)
|
|
613
|
+
|
|
614
|
+
api.add_operation(:get_credits, Seahorse::Model::Operation.new.tap do |o|
|
|
615
|
+
o.name = "GetCredits"
|
|
616
|
+
o.http_method = "POST"
|
|
617
|
+
o.http_request_uri = "/"
|
|
618
|
+
o.input = Shapes::ShapeRef.new(shape: GetCreditsRequest)
|
|
619
|
+
o.output = Shapes::ShapeRef.new(shape: GetCreditsResponse)
|
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
624
|
+
end)
|
|
625
|
+
|
|
413
626
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
414
627
|
o.name = "GetResourcePolicy"
|
|
415
628
|
o.http_method = "POST"
|
|
@@ -473,6 +686,18 @@ module Aws::Billing
|
|
|
473
686
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
474
687
|
end)
|
|
475
688
|
|
|
689
|
+
api.add_operation(:redeem_credits, Seahorse::Model::Operation.new.tap do |o|
|
|
690
|
+
o.name = "RedeemCredits"
|
|
691
|
+
o.http_method = "POST"
|
|
692
|
+
o.http_request_uri = "/"
|
|
693
|
+
o.input = Shapes::ShapeRef.new(shape: RedeemCreditsRequest)
|
|
694
|
+
o.output = Shapes::ShapeRef.new(shape: RedeemCreditsResponse)
|
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
699
|
+
end)
|
|
700
|
+
|
|
476
701
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
477
702
|
o.name = "TagResource"
|
|
478
703
|
o.http_method = "POST"
|
|
@@ -499,6 +724,18 @@ module Aws::Billing
|
|
|
499
724
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
500
725
|
end)
|
|
501
726
|
|
|
727
|
+
api.add_operation(:update_billing_preferences, Seahorse::Model::Operation.new.tap do |o|
|
|
728
|
+
o.name = "UpdateBillingPreferences"
|
|
729
|
+
o.http_method = "POST"
|
|
730
|
+
o.http_request_uri = "/"
|
|
731
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBillingPreferencesRequest)
|
|
732
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBillingPreferencesResponse)
|
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
737
|
+
end)
|
|
738
|
+
|
|
502
739
|
api.add_operation(:update_billing_view, Seahorse::Model::Operation.new.tap do |o|
|
|
503
740
|
o.name = "UpdateBillingView"
|
|
504
741
|
o.http_method = "POST"
|