aws-sdk-bcmpricingcalculator 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3550 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::BCMPricingCalculator
11
+ module Types
12
+
13
+ # You do not have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # Represents an action to add a Reserved Instance to a bill scenario.
27
+ #
28
+ # @!attribute [rw] reserved_instances_offering_id
29
+ # The ID of the Reserved Instance offering to add. For more
30
+ # information, see [ DescribeReservedInstancesOfferings][1].
31
+ #
32
+ #
33
+ #
34
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeReservedInstancesOfferings.html
35
+ # @return [String]
36
+ #
37
+ # @!attribute [rw] instance_count
38
+ # The number of instances to add for this Reserved Instance offering.
39
+ # @return [Integer]
40
+ #
41
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/AddReservedInstanceAction AWS API Documentation
42
+ #
43
+ class AddReservedInstanceAction < Struct.new(
44
+ :reserved_instances_offering_id,
45
+ :instance_count)
46
+ SENSITIVE = []
47
+ include Aws::Structure
48
+ end
49
+
50
+ # Represents an action to add a Savings Plan to a bill scenario.
51
+ #
52
+ # @!attribute [rw] savings_plan_offering_id
53
+ # The ID of the Savings Plan offering to add. For more information,
54
+ # see [ DescribeSavingsPlansOfferings][1].
55
+ #
56
+ #
57
+ #
58
+ # [1]: https://docs.aws.amazon.com/savingsplans/latest/APIReference/API_DescribeSavingsPlansOfferings.html
59
+ # @return [String]
60
+ #
61
+ # @!attribute [rw] commitment
62
+ # The hourly commitment, in the same currency of the
63
+ # `savingsPlanOfferingId`. This is a value between 0.001 and 1
64
+ # million. You cannot specify more than five digits after the decimal
65
+ # point.
66
+ # @return [Float]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/AddSavingsPlanAction AWS API Documentation
69
+ #
70
+ class AddSavingsPlanAction < Struct.new(
71
+ :savings_plan_offering_id,
72
+ :commitment)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # Represents an entry object in the batch operation to create bill
78
+ # scenario commitment modifications.
79
+ #
80
+ # @!attribute [rw] key
81
+ # A unique identifier for this entry in the batch operation. This can
82
+ # be any valid string. This key is useful to identify errors
83
+ # associated with any commitment entry as any error is returned with
84
+ # this key.
85
+ # @return [String]
86
+ #
87
+ # @!attribute [rw] group
88
+ # An optional group identifier for the commitment modification.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] usage_account_id
92
+ # The Amazon Web Services account ID to which this commitment will be
93
+ # applied to.
94
+ # @return [String]
95
+ #
96
+ # @!attribute [rw] commitment_action
97
+ # The specific commitment action to be taken (e.g., adding a Reserved
98
+ # Instance or Savings Plan).
99
+ # @return [Types::BillScenarioCommitmentModificationAction]
100
+ #
101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioCommitmentModificationEntry AWS API Documentation
102
+ #
103
+ class BatchCreateBillScenarioCommitmentModificationEntry < Struct.new(
104
+ :key,
105
+ :group,
106
+ :usage_account_id,
107
+ :commitment_action)
108
+ SENSITIVE = []
109
+ include Aws::Structure
110
+ end
111
+
112
+ # Represents an error that occurred during a batch create operation for
113
+ # bill scenario commitment modifications.
114
+ #
115
+ # @!attribute [rw] key
116
+ # The key of the entry that caused the error.
117
+ # @return [String]
118
+ #
119
+ # @!attribute [rw] error_message
120
+ # A descriptive message for the error that occurred.
121
+ # @return [String]
122
+ #
123
+ # @!attribute [rw] error_code
124
+ # The error code associated with the failed operation.
125
+ # @return [String]
126
+ #
127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioCommitmentModificationError AWS API Documentation
128
+ #
129
+ class BatchCreateBillScenarioCommitmentModificationError < Struct.new(
130
+ :key,
131
+ :error_message,
132
+ :error_code)
133
+ SENSITIVE = []
134
+ include Aws::Structure
135
+ end
136
+
137
+ # Represents a successfully created item in a batch operation for bill
138
+ # scenario commitment modifications.
139
+ #
140
+ # @!attribute [rw] key
141
+ # The key of the successfully created entry. This can be any valid
142
+ # string. This key is useful to identify errors associated with any
143
+ # commitment entry as any error is returned with this key.
144
+ # @return [String]
145
+ #
146
+ # @!attribute [rw] id
147
+ # The unique identifier assigned to the created commitment
148
+ # modification.
149
+ # @return [String]
150
+ #
151
+ # @!attribute [rw] group
152
+ # The group identifier for the created commitment modification.
153
+ # @return [String]
154
+ #
155
+ # @!attribute [rw] usage_account_id
156
+ # The Amazon Web Services account ID associated with the created
157
+ # commitment modification.
158
+ # @return [String]
159
+ #
160
+ # @!attribute [rw] commitment_action
161
+ # The specific commitment action that was taken.
162
+ # @return [Types::BillScenarioCommitmentModificationAction]
163
+ #
164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioCommitmentModificationItem AWS API Documentation
165
+ #
166
+ class BatchCreateBillScenarioCommitmentModificationItem < Struct.new(
167
+ :key,
168
+ :id,
169
+ :group,
170
+ :usage_account_id,
171
+ :commitment_action)
172
+ SENSITIVE = []
173
+ include Aws::Structure
174
+ end
175
+
176
+ # @!attribute [rw] bill_scenario_id
177
+ # The ID of the Bill Scenario for which you want to create the modeled
178
+ # commitment.
179
+ # @return [String]
180
+ #
181
+ # @!attribute [rw] commitment_modifications
182
+ # List of commitments that you want to model in the Bill Scenario.
183
+ # @return [Array<Types::BatchCreateBillScenarioCommitmentModificationEntry>]
184
+ #
185
+ # @!attribute [rw] client_token
186
+ # A unique, case-sensitive identifier that you provide to ensure the
187
+ # idempotency of the request.
188
+ #
189
+ # **A suitable default value is auto-generated.** You should normally
190
+ # not need to pass this option.
191
+ # @return [String]
192
+ #
193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioCommitmentModificationRequest AWS API Documentation
194
+ #
195
+ class BatchCreateBillScenarioCommitmentModificationRequest < Struct.new(
196
+ :bill_scenario_id,
197
+ :commitment_modifications,
198
+ :client_token)
199
+ SENSITIVE = []
200
+ include Aws::Structure
201
+ end
202
+
203
+ # @!attribute [rw] items
204
+ # Returns the list of successful commitment line items that were
205
+ # created for the Bill Scenario.
206
+ # @return [Array<Types::BatchCreateBillScenarioCommitmentModificationItem>]
207
+ #
208
+ # @!attribute [rw] errors
209
+ # Returns the list of errors reason and the commitment item keys that
210
+ # cannot be created in the Bill Scenario.
211
+ # @return [Array<Types::BatchCreateBillScenarioCommitmentModificationError>]
212
+ #
213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioCommitmentModificationResponse AWS API Documentation
214
+ #
215
+ class BatchCreateBillScenarioCommitmentModificationResponse < Struct.new(
216
+ :items,
217
+ :errors)
218
+ SENSITIVE = []
219
+ include Aws::Structure
220
+ end
221
+
222
+ # Represents an entry in a batch operation to create bill scenario usage
223
+ # modifications.
224
+ #
225
+ # @!attribute [rw] service_code
226
+ # The Amazon Web Services service code for this usage modification.
227
+ # This identifies the specific Amazon Web Services service to the
228
+ # customer as a unique short abbreviation. For example, `AmazonEC2`
229
+ # and `AWSKMS`.
230
+ # @return [String]
231
+ #
232
+ # @!attribute [rw] usage_type
233
+ # Describes the usage details of the usage line item.
234
+ # @return [String]
235
+ #
236
+ # @!attribute [rw] operation
237
+ # The specific operation associated with this usage modification.
238
+ # Describes the specific Amazon Web Services operation that this usage
239
+ # line models. For example, `RunInstances` indicates the operation of
240
+ # an Amazon EC2 instance.
241
+ # @return [String]
242
+ #
243
+ # @!attribute [rw] availability_zone
244
+ # The Availability Zone that this usage line uses.
245
+ # @return [String]
246
+ #
247
+ # @!attribute [rw] key
248
+ # A unique identifier for this entry in the batch operation. This can
249
+ # be any valid string. This key is useful to identify errors
250
+ # associated with any usage entry as any error is returned with this
251
+ # key.
252
+ # @return [String]
253
+ #
254
+ # @!attribute [rw] group
255
+ # An optional group identifier for the usage modification.
256
+ # @return [String]
257
+ #
258
+ # @!attribute [rw] usage_account_id
259
+ # The Amazon Web Services account ID to which this usage will be
260
+ # applied to.
261
+ # @return [String]
262
+ #
263
+ # @!attribute [rw] amounts
264
+ # The amount of usage you want to create for the service use you are
265
+ # modeling.
266
+ # @return [Array<Types::UsageAmount>]
267
+ #
268
+ # @!attribute [rw] historical_usage
269
+ # Historical usage data associated with this modification, if
270
+ # available.
271
+ # @return [Types::HistoricalUsageEntity]
272
+ #
273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioUsageModificationEntry AWS API Documentation
274
+ #
275
+ class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
276
+ :service_code,
277
+ :usage_type,
278
+ :operation,
279
+ :availability_zone,
280
+ :key,
281
+ :group,
282
+ :usage_account_id,
283
+ :amounts,
284
+ :historical_usage)
285
+ SENSITIVE = []
286
+ include Aws::Structure
287
+ end
288
+
289
+ # Represents an error that occurred during a batch create operation for
290
+ # bill scenario usage modifications.
291
+ #
292
+ # @!attribute [rw] key
293
+ # The key of the entry that caused the error.
294
+ # @return [String]
295
+ #
296
+ # @!attribute [rw] error_message
297
+ # A descriptive message for the error that occurred.
298
+ # @return [String]
299
+ #
300
+ # @!attribute [rw] error_code
301
+ # The error code associated with the failed operation.
302
+ # @return [String]
303
+ #
304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioUsageModificationError AWS API Documentation
305
+ #
306
+ class BatchCreateBillScenarioUsageModificationError < Struct.new(
307
+ :key,
308
+ :error_message,
309
+ :error_code)
310
+ SENSITIVE = []
311
+ include Aws::Structure
312
+ end
313
+
314
+ # Represents a successfully created item in a batch operation for bill
315
+ # scenario usage modifications.
316
+ #
317
+ # @!attribute [rw] service_code
318
+ # The Amazon Web Services service code for this usage modification.
319
+ # @return [String]
320
+ #
321
+ # @!attribute [rw] usage_type
322
+ # The type of usage that was modified.
323
+ # @return [String]
324
+ #
325
+ # @!attribute [rw] operation
326
+ # The specific operation associated with this usage modification.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] location
330
+ # The location associated with this usage modification.
331
+ # @return [String]
332
+ #
333
+ # @!attribute [rw] availability_zone
334
+ # The availability zone associated with this usage modification, if
335
+ # applicable.
336
+ # @return [String]
337
+ #
338
+ # @!attribute [rw] id
339
+ # The unique identifier assigned to the created usage modification.
340
+ # @return [String]
341
+ #
342
+ # @!attribute [rw] group
343
+ # The group identifier for the created usage modification.
344
+ # @return [String]
345
+ #
346
+ # @!attribute [rw] usage_account_id
347
+ # The Amazon Web Services account ID associated with the created usage
348
+ # modification.
349
+ # @return [String]
350
+ #
351
+ # @!attribute [rw] quantities
352
+ # The modified usage quantities.
353
+ # @return [Array<Types::UsageQuantity>]
354
+ #
355
+ # @!attribute [rw] historical_usage
356
+ # Historical usage data associated with this modification, if
357
+ # available.
358
+ # @return [Types::HistoricalUsageEntity]
359
+ #
360
+ # @!attribute [rw] key
361
+ # The key of the successfully created entry.
362
+ # @return [String]
363
+ #
364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioUsageModificationItem AWS API Documentation
365
+ #
366
+ class BatchCreateBillScenarioUsageModificationItem < Struct.new(
367
+ :service_code,
368
+ :usage_type,
369
+ :operation,
370
+ :location,
371
+ :availability_zone,
372
+ :id,
373
+ :group,
374
+ :usage_account_id,
375
+ :quantities,
376
+ :historical_usage,
377
+ :key)
378
+ SENSITIVE = []
379
+ include Aws::Structure
380
+ end
381
+
382
+ # @!attribute [rw] bill_scenario_id
383
+ # The ID of the Bill Scenario for which you want to create the modeled
384
+ # usage.
385
+ # @return [String]
386
+ #
387
+ # @!attribute [rw] usage_modifications
388
+ # List of usage that you want to model in the Bill Scenario.
389
+ # @return [Array<Types::BatchCreateBillScenarioUsageModificationEntry>]
390
+ #
391
+ # @!attribute [rw] client_token
392
+ # A unique, case-sensitive identifier that you provide to ensure the
393
+ # idempotency of the request.
394
+ #
395
+ # **A suitable default value is auto-generated.** You should normally
396
+ # not need to pass this option.
397
+ # @return [String]
398
+ #
399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioUsageModificationRequest AWS API Documentation
400
+ #
401
+ class BatchCreateBillScenarioUsageModificationRequest < Struct.new(
402
+ :bill_scenario_id,
403
+ :usage_modifications,
404
+ :client_token)
405
+ SENSITIVE = []
406
+ include Aws::Structure
407
+ end
408
+
409
+ # @!attribute [rw] items
410
+ # Returns the list of successful usage line items that were created
411
+ # for the Bill Scenario.
412
+ # @return [Array<Types::BatchCreateBillScenarioUsageModificationItem>]
413
+ #
414
+ # @!attribute [rw] errors
415
+ # Returns the list of errors reason and the usage item keys that
416
+ # cannot be created in the Bill Scenario.
417
+ # @return [Array<Types::BatchCreateBillScenarioUsageModificationError>]
418
+ #
419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateBillScenarioUsageModificationResponse AWS API Documentation
420
+ #
421
+ class BatchCreateBillScenarioUsageModificationResponse < Struct.new(
422
+ :items,
423
+ :errors)
424
+ SENSITIVE = []
425
+ include Aws::Structure
426
+ end
427
+
428
+ # Represents an entry in a batch operation to create workload estimate
429
+ # usage.
430
+ #
431
+ # @!attribute [rw] service_code
432
+ # The Amazon Web Services service code for this usage estimate.
433
+ # @return [String]
434
+ #
435
+ # @!attribute [rw] usage_type
436
+ # The type of usage being estimated.
437
+ # @return [String]
438
+ #
439
+ # @!attribute [rw] operation
440
+ # The specific operation associated with this usage estimate.
441
+ # @return [String]
442
+ #
443
+ # @!attribute [rw] key
444
+ # A unique identifier for this entry in the batch operation.
445
+ # @return [String]
446
+ #
447
+ # @!attribute [rw] group
448
+ # An optional group identifier for the usage estimate.
449
+ # @return [String]
450
+ #
451
+ # @!attribute [rw] usage_account_id
452
+ # The Amazon Web Services account ID associated with this usage
453
+ # estimate.
454
+ # @return [String]
455
+ #
456
+ # @!attribute [rw] amount
457
+ # The estimated usage amount.
458
+ # @return [Float]
459
+ #
460
+ # @!attribute [rw] historical_usage
461
+ # Historical usage data associated with this estimate, if available.
462
+ # @return [Types::HistoricalUsageEntity]
463
+ #
464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateWorkloadEstimateUsageEntry AWS API Documentation
465
+ #
466
+ class BatchCreateWorkloadEstimateUsageEntry < Struct.new(
467
+ :service_code,
468
+ :usage_type,
469
+ :operation,
470
+ :key,
471
+ :group,
472
+ :usage_account_id,
473
+ :amount,
474
+ :historical_usage)
475
+ SENSITIVE = []
476
+ include Aws::Structure
477
+ end
478
+
479
+ # Represents an error that occurred during a batch create operation for
480
+ # workload estimate usage.
481
+ #
482
+ # @!attribute [rw] key
483
+ # The key of the entry that caused the error.
484
+ # @return [String]
485
+ #
486
+ # @!attribute [rw] error_code
487
+ # The error code associated with the failed operation.
488
+ # @return [String]
489
+ #
490
+ # @!attribute [rw] error_message
491
+ # A descriptive message for the error that occurred.
492
+ # @return [String]
493
+ #
494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateWorkloadEstimateUsageError AWS API Documentation
495
+ #
496
+ class BatchCreateWorkloadEstimateUsageError < Struct.new(
497
+ :key,
498
+ :error_code,
499
+ :error_message)
500
+ SENSITIVE = []
501
+ include Aws::Structure
502
+ end
503
+
504
+ # Represents a successfully created item in a batch operation for
505
+ # workload estimate usage.
506
+ #
507
+ # @!attribute [rw] service_code
508
+ # The Amazon Web Services service code for this usage estimate.
509
+ # @return [String]
510
+ #
511
+ # @!attribute [rw] usage_type
512
+ # The type of usage that was estimated.
513
+ # @return [String]
514
+ #
515
+ # @!attribute [rw] operation
516
+ # The specific operation associated with this usage estimate.
517
+ # @return [String]
518
+ #
519
+ # @!attribute [rw] location
520
+ # The location associated with this usage estimate.
521
+ # @return [String]
522
+ #
523
+ # @!attribute [rw] id
524
+ # The unique identifier assigned to the created usage estimate.
525
+ # @return [String]
526
+ #
527
+ # @!attribute [rw] usage_account_id
528
+ # The Amazon Web Services account ID associated with the created usage
529
+ # estimate.
530
+ # @return [String]
531
+ #
532
+ # @!attribute [rw] group
533
+ # The group identifier for the created usage estimate.
534
+ # @return [String]
535
+ #
536
+ # @!attribute [rw] quantity
537
+ # The estimated usage quantity.
538
+ # @return [Types::WorkloadEstimateUsageQuantity]
539
+ #
540
+ # @!attribute [rw] cost
541
+ # The estimated cost associated with this usage.
542
+ # @return [Float]
543
+ #
544
+ # @!attribute [rw] currency
545
+ # The currency of the estimated cost.
546
+ # @return [String]
547
+ #
548
+ # @!attribute [rw] status
549
+ # The current status of the created usage estimate.
550
+ # @return [String]
551
+ #
552
+ # @!attribute [rw] historical_usage
553
+ # Historical usage data associated with this estimate, if available.
554
+ # @return [Types::HistoricalUsageEntity]
555
+ #
556
+ # @!attribute [rw] key
557
+ # The key of the successfully created entry.
558
+ # @return [String]
559
+ #
560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateWorkloadEstimateUsageItem AWS API Documentation
561
+ #
562
+ class BatchCreateWorkloadEstimateUsageItem < Struct.new(
563
+ :service_code,
564
+ :usage_type,
565
+ :operation,
566
+ :location,
567
+ :id,
568
+ :usage_account_id,
569
+ :group,
570
+ :quantity,
571
+ :cost,
572
+ :currency,
573
+ :status,
574
+ :historical_usage,
575
+ :key)
576
+ SENSITIVE = []
577
+ include Aws::Structure
578
+ end
579
+
580
+ # @!attribute [rw] workload_estimate_id
581
+ # The ID of the Workload estimate for which you want to create the
582
+ # modeled usage.
583
+ # @return [String]
584
+ #
585
+ # @!attribute [rw] usage
586
+ # List of usage that you want to model in the Workload estimate.
587
+ # @return [Array<Types::BatchCreateWorkloadEstimateUsageEntry>]
588
+ #
589
+ # @!attribute [rw] client_token
590
+ # A unique, case-sensitive identifier that you provide to ensure the
591
+ # idempotency of the request.
592
+ #
593
+ # **A suitable default value is auto-generated.** You should normally
594
+ # not need to pass this option.
595
+ # @return [String]
596
+ #
597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateWorkloadEstimateUsageRequest AWS API Documentation
598
+ #
599
+ class BatchCreateWorkloadEstimateUsageRequest < Struct.new(
600
+ :workload_estimate_id,
601
+ :usage,
602
+ :client_token)
603
+ SENSITIVE = []
604
+ include Aws::Structure
605
+ end
606
+
607
+ # @!attribute [rw] items
608
+ # Returns the list of successful usage line items that were created
609
+ # for the Workload estimate.
610
+ # @return [Array<Types::BatchCreateWorkloadEstimateUsageItem>]
611
+ #
612
+ # @!attribute [rw] errors
613
+ # Returns the list of errors reason and the usage item keys that
614
+ # cannot be created in the Workload estimate.
615
+ # @return [Array<Types::BatchCreateWorkloadEstimateUsageError>]
616
+ #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchCreateWorkloadEstimateUsageResponse AWS API Documentation
618
+ #
619
+ class BatchCreateWorkloadEstimateUsageResponse < Struct.new(
620
+ :items,
621
+ :errors)
622
+ SENSITIVE = []
623
+ include Aws::Structure
624
+ end
625
+
626
+ # Represents an error that occurred when deleting a commitment in a Bill
627
+ # Scenario.
628
+ #
629
+ # @!attribute [rw] id
630
+ # The ID of the error.
631
+ # @return [String]
632
+ #
633
+ # @!attribute [rw] error_code
634
+ # The code associated with the error.
635
+ # @return [String]
636
+ #
637
+ # @!attribute [rw] error_message
638
+ # The message that describes the error.
639
+ # @return [String]
640
+ #
641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteBillScenarioCommitmentModificationError AWS API Documentation
642
+ #
643
+ class BatchDeleteBillScenarioCommitmentModificationError < Struct.new(
644
+ :id,
645
+ :error_code,
646
+ :error_message)
647
+ SENSITIVE = []
648
+ include Aws::Structure
649
+ end
650
+
651
+ # @!attribute [rw] bill_scenario_id
652
+ # The ID of the Bill Scenario for which you want to delete the modeled
653
+ # commitment.
654
+ # @return [String]
655
+ #
656
+ # @!attribute [rw] ids
657
+ # List of commitments that you want to delete from the Bill Scenario.
658
+ # @return [Array<String>]
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteBillScenarioCommitmentModificationRequest AWS API Documentation
661
+ #
662
+ class BatchDeleteBillScenarioCommitmentModificationRequest < Struct.new(
663
+ :bill_scenario_id,
664
+ :ids)
665
+ SENSITIVE = []
666
+ include Aws::Structure
667
+ end
668
+
669
+ # @!attribute [rw] errors
670
+ # Returns the list of errors reason and the commitment item keys that
671
+ # cannot be deleted from the Bill Scenario.
672
+ # @return [Array<Types::BatchDeleteBillScenarioCommitmentModificationError>]
673
+ #
674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteBillScenarioCommitmentModificationResponse AWS API Documentation
675
+ #
676
+ class BatchDeleteBillScenarioCommitmentModificationResponse < Struct.new(
677
+ :errors)
678
+ SENSITIVE = []
679
+ include Aws::Structure
680
+ end
681
+
682
+ # Represents an error that occurred when deleting usage in a Bill
683
+ # Scenario.
684
+ #
685
+ # @!attribute [rw] id
686
+ # The ID of the error.
687
+ # @return [String]
688
+ #
689
+ # @!attribute [rw] error_message
690
+ # The message that describes the error.
691
+ # @return [String]
692
+ #
693
+ # @!attribute [rw] error_code
694
+ # The code associated with the error.
695
+ # @return [String]
696
+ #
697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteBillScenarioUsageModificationError AWS API Documentation
698
+ #
699
+ class BatchDeleteBillScenarioUsageModificationError < Struct.new(
700
+ :id,
701
+ :error_message,
702
+ :error_code)
703
+ SENSITIVE = []
704
+ include Aws::Structure
705
+ end
706
+
707
+ # @!attribute [rw] bill_scenario_id
708
+ # The ID of the Bill Scenario for which you want to delete the modeled
709
+ # usage.
710
+ # @return [String]
711
+ #
712
+ # @!attribute [rw] ids
713
+ # List of usage that you want to delete from the Bill Scenario.
714
+ # @return [Array<String>]
715
+ #
716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteBillScenarioUsageModificationRequest AWS API Documentation
717
+ #
718
+ class BatchDeleteBillScenarioUsageModificationRequest < Struct.new(
719
+ :bill_scenario_id,
720
+ :ids)
721
+ SENSITIVE = []
722
+ include Aws::Structure
723
+ end
724
+
725
+ # @!attribute [rw] errors
726
+ # Returns the list of errors reason and the usage item keys that
727
+ # cannot be deleted from the Bill Scenario.
728
+ # @return [Array<Types::BatchDeleteBillScenarioUsageModificationError>]
729
+ #
730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteBillScenarioUsageModificationResponse AWS API Documentation
731
+ #
732
+ class BatchDeleteBillScenarioUsageModificationResponse < Struct.new(
733
+ :errors)
734
+ SENSITIVE = []
735
+ include Aws::Structure
736
+ end
737
+
738
+ # Represents an error that occurred when deleting usage in a workload
739
+ # estimate.
740
+ #
741
+ # @!attribute [rw] id
742
+ # The ID of the error.
743
+ # @return [String]
744
+ #
745
+ # @!attribute [rw] error_message
746
+ # The message that describes the error.
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] error_code
750
+ # The code associated with the error.
751
+ # @return [String]
752
+ #
753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteWorkloadEstimateUsageError AWS API Documentation
754
+ #
755
+ class BatchDeleteWorkloadEstimateUsageError < Struct.new(
756
+ :id,
757
+ :error_message,
758
+ :error_code)
759
+ SENSITIVE = []
760
+ include Aws::Structure
761
+ end
762
+
763
+ # @!attribute [rw] workload_estimate_id
764
+ # The ID of the Workload estimate for which you want to delete the
765
+ # modeled usage.
766
+ # @return [String]
767
+ #
768
+ # @!attribute [rw] ids
769
+ # List of usage that you want to delete from the Workload estimate.
770
+ # @return [Array<String>]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteWorkloadEstimateUsageRequest AWS API Documentation
773
+ #
774
+ class BatchDeleteWorkloadEstimateUsageRequest < Struct.new(
775
+ :workload_estimate_id,
776
+ :ids)
777
+ SENSITIVE = []
778
+ include Aws::Structure
779
+ end
780
+
781
+ # @!attribute [rw] errors
782
+ # Returns the list of errors reason and the usage item keys that
783
+ # cannot be deleted from the Workload estimate.
784
+ # @return [Array<Types::BatchDeleteWorkloadEstimateUsageError>]
785
+ #
786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchDeleteWorkloadEstimateUsageResponse AWS API Documentation
787
+ #
788
+ class BatchDeleteWorkloadEstimateUsageResponse < Struct.new(
789
+ :errors)
790
+ SENSITIVE = []
791
+ include Aws::Structure
792
+ end
793
+
794
+ # Represents an entry in a batch operation to update bill scenario
795
+ # commitment modifications.
796
+ #
797
+ # @!attribute [rw] id
798
+ # The unique identifier of the commitment modification to update.
799
+ # @return [String]
800
+ #
801
+ # @!attribute [rw] group
802
+ # The updated group identifier for the commitment modification.
803
+ # @return [String]
804
+ #
805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioCommitmentModificationEntry AWS API Documentation
806
+ #
807
+ class BatchUpdateBillScenarioCommitmentModificationEntry < Struct.new(
808
+ :id,
809
+ :group)
810
+ SENSITIVE = []
811
+ include Aws::Structure
812
+ end
813
+
814
+ # Represents an error that occurred when updating a commitment in a Bill
815
+ # Scenario.
816
+ #
817
+ # @!attribute [rw] id
818
+ # The ID of the error.
819
+ # @return [String]
820
+ #
821
+ # @!attribute [rw] error_code
822
+ # The code associated with the error.
823
+ # @return [String]
824
+ #
825
+ # @!attribute [rw] error_message
826
+ # The message that describes the error.
827
+ # @return [String]
828
+ #
829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioCommitmentModificationError AWS API Documentation
830
+ #
831
+ class BatchUpdateBillScenarioCommitmentModificationError < Struct.new(
832
+ :id,
833
+ :error_code,
834
+ :error_message)
835
+ SENSITIVE = []
836
+ include Aws::Structure
837
+ end
838
+
839
+ # @!attribute [rw] bill_scenario_id
840
+ # The ID of the Bill Scenario for which you want to modify the
841
+ # commitment group of a modeled commitment.
842
+ # @return [String]
843
+ #
844
+ # @!attribute [rw] commitment_modifications
845
+ # List of commitments that you want to update in a Bill Scenario.
846
+ # @return [Array<Types::BatchUpdateBillScenarioCommitmentModificationEntry>]
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioCommitmentModificationRequest AWS API Documentation
849
+ #
850
+ class BatchUpdateBillScenarioCommitmentModificationRequest < Struct.new(
851
+ :bill_scenario_id,
852
+ :commitment_modifications)
853
+ SENSITIVE = []
854
+ include Aws::Structure
855
+ end
856
+
857
+ # @!attribute [rw] items
858
+ # Returns the list of successful commitment line items that were
859
+ # updated for a Bill Scenario.
860
+ # @return [Array<Types::BillScenarioCommitmentModificationItem>]
861
+ #
862
+ # @!attribute [rw] errors
863
+ # Returns the list of error reasons and commitment line item IDs that
864
+ # could not be updated for the Bill Scenario.
865
+ # @return [Array<Types::BatchUpdateBillScenarioCommitmentModificationError>]
866
+ #
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioCommitmentModificationResponse AWS API Documentation
868
+ #
869
+ class BatchUpdateBillScenarioCommitmentModificationResponse < Struct.new(
870
+ :items,
871
+ :errors)
872
+ SENSITIVE = []
873
+ include Aws::Structure
874
+ end
875
+
876
+ # Represents an entry in a batch operation to update bill scenario usage
877
+ # modifications.
878
+ #
879
+ # @!attribute [rw] id
880
+ # The unique identifier of the usage modification to update.
881
+ # @return [String]
882
+ #
883
+ # @!attribute [rw] group
884
+ # The updated group identifier for the usage modification.
885
+ # @return [String]
886
+ #
887
+ # @!attribute [rw] amounts
888
+ # The updated usage amounts for the modification.
889
+ # @return [Array<Types::UsageAmount>]
890
+ #
891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioUsageModificationEntry AWS API Documentation
892
+ #
893
+ class BatchUpdateBillScenarioUsageModificationEntry < Struct.new(
894
+ :id,
895
+ :group,
896
+ :amounts)
897
+ SENSITIVE = []
898
+ include Aws::Structure
899
+ end
900
+
901
+ # Represents an error that occurred when updating usage in a Bill
902
+ # Scenario.
903
+ #
904
+ # @!attribute [rw] id
905
+ # The ID of the error.
906
+ # @return [String]
907
+ #
908
+ # @!attribute [rw] error_message
909
+ # The message that describes the error.
910
+ # @return [String]
911
+ #
912
+ # @!attribute [rw] error_code
913
+ # The code associated with the error.
914
+ # @return [String]
915
+ #
916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioUsageModificationError AWS API Documentation
917
+ #
918
+ class BatchUpdateBillScenarioUsageModificationError < Struct.new(
919
+ :id,
920
+ :error_message,
921
+ :error_code)
922
+ SENSITIVE = []
923
+ include Aws::Structure
924
+ end
925
+
926
+ # @!attribute [rw] bill_scenario_id
927
+ # The ID of the Bill Scenario for which you want to modify the usage
928
+ # lines.
929
+ # @return [String]
930
+ #
931
+ # @!attribute [rw] usage_modifications
932
+ # List of usage lines that you want to update in a Bill Scenario
933
+ # identified by the usage ID.
934
+ # @return [Array<Types::BatchUpdateBillScenarioUsageModificationEntry>]
935
+ #
936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioUsageModificationRequest AWS API Documentation
937
+ #
938
+ class BatchUpdateBillScenarioUsageModificationRequest < Struct.new(
939
+ :bill_scenario_id,
940
+ :usage_modifications)
941
+ SENSITIVE = []
942
+ include Aws::Structure
943
+ end
944
+
945
+ # @!attribute [rw] items
946
+ # Returns the list of successful usage line items that were updated
947
+ # for a Bill Scenario.
948
+ # @return [Array<Types::BillScenarioUsageModificationItem>]
949
+ #
950
+ # @!attribute [rw] errors
951
+ # Returns the list of error reasons and usage line item IDs that could
952
+ # not be updated for the Bill Scenario.
953
+ # @return [Array<Types::BatchUpdateBillScenarioUsageModificationError>]
954
+ #
955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateBillScenarioUsageModificationResponse AWS API Documentation
956
+ #
957
+ class BatchUpdateBillScenarioUsageModificationResponse < Struct.new(
958
+ :items,
959
+ :errors)
960
+ SENSITIVE = []
961
+ include Aws::Structure
962
+ end
963
+
964
+ # Represents an entry in a batch operation to update workload estimate
965
+ # usage.
966
+ #
967
+ # @!attribute [rw] id
968
+ # The unique identifier of the usage estimate to update.
969
+ # @return [String]
970
+ #
971
+ # @!attribute [rw] group
972
+ # The updated group identifier for the usage estimate.
973
+ # @return [String]
974
+ #
975
+ # @!attribute [rw] amount
976
+ # The updated estimated usage amount.
977
+ # @return [Float]
978
+ #
979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateWorkloadEstimateUsageEntry AWS API Documentation
980
+ #
981
+ class BatchUpdateWorkloadEstimateUsageEntry < Struct.new(
982
+ :id,
983
+ :group,
984
+ :amount)
985
+ SENSITIVE = []
986
+ include Aws::Structure
987
+ end
988
+
989
+ # Represents an error that occurred when updating usage in a workload
990
+ # estimate.
991
+ #
992
+ # @!attribute [rw] id
993
+ # The ID of the error.
994
+ # @return [String]
995
+ #
996
+ # @!attribute [rw] error_message
997
+ # The message that describes the error.
998
+ # @return [String]
999
+ #
1000
+ # @!attribute [rw] error_code
1001
+ # The code associated with the error.
1002
+ # @return [String]
1003
+ #
1004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateWorkloadEstimateUsageError AWS API Documentation
1005
+ #
1006
+ class BatchUpdateWorkloadEstimateUsageError < Struct.new(
1007
+ :id,
1008
+ :error_message,
1009
+ :error_code)
1010
+ SENSITIVE = []
1011
+ include Aws::Structure
1012
+ end
1013
+
1014
+ # @!attribute [rw] workload_estimate_id
1015
+ # The ID of the Workload estimate for which you want to modify the
1016
+ # usage lines.
1017
+ # @return [String]
1018
+ #
1019
+ # @!attribute [rw] usage
1020
+ # List of usage line amounts and usage group that you want to update
1021
+ # in a Workload estimate identified by the usage ID.
1022
+ # @return [Array<Types::BatchUpdateWorkloadEstimateUsageEntry>]
1023
+ #
1024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateWorkloadEstimateUsageRequest AWS API Documentation
1025
+ #
1026
+ class BatchUpdateWorkloadEstimateUsageRequest < Struct.new(
1027
+ :workload_estimate_id,
1028
+ :usage)
1029
+ SENSITIVE = []
1030
+ include Aws::Structure
1031
+ end
1032
+
1033
+ # @!attribute [rw] items
1034
+ # Returns the list of successful usage line items that were updated
1035
+ # for a Workload estimate.
1036
+ # @return [Array<Types::WorkloadEstimateUsageItem>]
1037
+ #
1038
+ # @!attribute [rw] errors
1039
+ # Returns the list of error reasons and usage line item IDs that could
1040
+ # not be updated for the Workload estimate.
1041
+ # @return [Array<Types::BatchUpdateWorkloadEstimateUsageError>]
1042
+ #
1043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BatchUpdateWorkloadEstimateUsageResponse AWS API Documentation
1044
+ #
1045
+ class BatchUpdateWorkloadEstimateUsageResponse < Struct.new(
1046
+ :items,
1047
+ :errors)
1048
+ SENSITIVE = []
1049
+ include Aws::Structure
1050
+ end
1051
+
1052
+ # Provides a summary of commitment-related information for a bill
1053
+ # estimate.
1054
+ #
1055
+ # @!attribute [rw] id
1056
+ # The unique identifier of the commitment.
1057
+ # @return [String]
1058
+ #
1059
+ # @!attribute [rw] purchase_agreement_type
1060
+ # The type of purchase agreement (e.g., Reserved Instance, Savings
1061
+ # Plan).
1062
+ # @return [String]
1063
+ #
1064
+ # @!attribute [rw] offering_id
1065
+ # The identifier of the specific offering associated with this
1066
+ # commitment.
1067
+ # @return [String]
1068
+ #
1069
+ # @!attribute [rw] usage_account_id
1070
+ # The Amazon Web Services account ID associated with this commitment.
1071
+ # @return [String]
1072
+ #
1073
+ # @!attribute [rw] region
1074
+ # The Amazon Web Services region associated with this commitment.
1075
+ # @return [String]
1076
+ #
1077
+ # @!attribute [rw] term_length
1078
+ # The length of the commitment term.
1079
+ # @return [String]
1080
+ #
1081
+ # @!attribute [rw] payment_option
1082
+ # The payment option chosen for this commitment (e.g., All Upfront,
1083
+ # Partial Upfront, No Upfront).
1084
+ # @return [String]
1085
+ #
1086
+ # @!attribute [rw] upfront_payment
1087
+ # The upfront payment amount for this commitment, if applicable.
1088
+ # @return [Types::CostAmount]
1089
+ #
1090
+ # @!attribute [rw] monthly_payment
1091
+ # The monthly payment amount for this commitment, if applicable.
1092
+ # @return [Types::CostAmount]
1093
+ #
1094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillEstimateCommitmentSummary AWS API Documentation
1095
+ #
1096
+ class BillEstimateCommitmentSummary < Struct.new(
1097
+ :id,
1098
+ :purchase_agreement_type,
1099
+ :offering_id,
1100
+ :usage_account_id,
1101
+ :region,
1102
+ :term_length,
1103
+ :payment_option,
1104
+ :upfront_payment,
1105
+ :monthly_payment)
1106
+ SENSITIVE = []
1107
+ include Aws::Structure
1108
+ end
1109
+
1110
+ # Provides a summary of cost-related information for a bill estimate.
1111
+ #
1112
+ # @!attribute [rw] total_cost_difference
1113
+ # The total difference in cost between the estimated and historical
1114
+ # costs.
1115
+ # @return [Types::CostDifference]
1116
+ #
1117
+ # @!attribute [rw] service_cost_differences
1118
+ # A breakdown of cost differences by Amazon Web Services service.
1119
+ # @return [Hash<String,Types::CostDifference>]
1120
+ #
1121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillEstimateCostSummary AWS API Documentation
1122
+ #
1123
+ class BillEstimateCostSummary < Struct.new(
1124
+ :total_cost_difference,
1125
+ :service_cost_differences)
1126
+ SENSITIVE = []
1127
+ include Aws::Structure
1128
+ end
1129
+
1130
+ # Summarizes an input commitment modification for a bill estimate.
1131
+ #
1132
+ # @!attribute [rw] id
1133
+ # The unique identifier of the commitment modification.
1134
+ # @return [String]
1135
+ #
1136
+ # @!attribute [rw] group
1137
+ # The group identifier for the commitment modification.
1138
+ # @return [String]
1139
+ #
1140
+ # @!attribute [rw] usage_account_id
1141
+ # The Amazon Web Services account ID associated with this commitment
1142
+ # modification.
1143
+ # @return [String]
1144
+ #
1145
+ # @!attribute [rw] commitment_action
1146
+ # The specific commitment action taken in this modification.
1147
+ # @return [Types::BillScenarioCommitmentModificationAction]
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillEstimateInputCommitmentModificationSummary AWS API Documentation
1150
+ #
1151
+ class BillEstimateInputCommitmentModificationSummary < Struct.new(
1152
+ :id,
1153
+ :group,
1154
+ :usage_account_id,
1155
+ :commitment_action)
1156
+ SENSITIVE = []
1157
+ include Aws::Structure
1158
+ end
1159
+
1160
+ # Summarizes an input usage modification for a bill estimate.
1161
+ #
1162
+ # @!attribute [rw] service_code
1163
+ # The Amazon Web Services service code for this usage modification.
1164
+ # @return [String]
1165
+ #
1166
+ # @!attribute [rw] usage_type
1167
+ # The type of usage being modified.
1168
+ # @return [String]
1169
+ #
1170
+ # @!attribute [rw] operation
1171
+ # The specific operation associated with this usage modification.
1172
+ # @return [String]
1173
+ #
1174
+ # @!attribute [rw] location
1175
+ # The location associated with this usage modification.
1176
+ # @return [String]
1177
+ #
1178
+ # @!attribute [rw] availability_zone
1179
+ # The availability zone associated with this usage modification, if
1180
+ # applicable.
1181
+ # @return [String]
1182
+ #
1183
+ # @!attribute [rw] id
1184
+ # The unique identifier of the usage modification.
1185
+ # @return [String]
1186
+ #
1187
+ # @!attribute [rw] group
1188
+ # The group identifier for the usage modification.
1189
+ # @return [String]
1190
+ #
1191
+ # @!attribute [rw] usage_account_id
1192
+ # The Amazon Web Services account ID associated with this usage
1193
+ # modification.
1194
+ # @return [String]
1195
+ #
1196
+ # @!attribute [rw] quantities
1197
+ # The modified usage quantities.
1198
+ # @return [Array<Types::UsageQuantity>]
1199
+ #
1200
+ # @!attribute [rw] historical_usage
1201
+ # Historical usage data associated with this modification, if
1202
+ # available.
1203
+ # @return [Types::HistoricalUsageEntity]
1204
+ #
1205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillEstimateInputUsageModificationSummary AWS API Documentation
1206
+ #
1207
+ class BillEstimateInputUsageModificationSummary < Struct.new(
1208
+ :service_code,
1209
+ :usage_type,
1210
+ :operation,
1211
+ :location,
1212
+ :availability_zone,
1213
+ :id,
1214
+ :group,
1215
+ :usage_account_id,
1216
+ :quantities,
1217
+ :historical_usage)
1218
+ SENSITIVE = []
1219
+ include Aws::Structure
1220
+ end
1221
+
1222
+ # Provides a summary of a line item in a bill estimate.
1223
+ #
1224
+ # @!attribute [rw] service_code
1225
+ # The Amazon Web Services service code associated with this line item.
1226
+ # @return [String]
1227
+ #
1228
+ # @!attribute [rw] usage_type
1229
+ # The type of usage for this line item.
1230
+ # @return [String]
1231
+ #
1232
+ # @!attribute [rw] operation
1233
+ # The specific operation associated with this line item.
1234
+ # @return [String]
1235
+ #
1236
+ # @!attribute [rw] location
1237
+ # The location associated with this line item.
1238
+ # @return [String]
1239
+ #
1240
+ # @!attribute [rw] availability_zone
1241
+ # The availability zone associated with this line item, if applicable.
1242
+ # @return [String]
1243
+ #
1244
+ # @!attribute [rw] id
1245
+ # The unique identifier of this line item.
1246
+ # @return [String]
1247
+ #
1248
+ # @!attribute [rw] line_item_id
1249
+ # The line item identifier from the original bill.
1250
+ # @return [String]
1251
+ #
1252
+ # @!attribute [rw] line_item_type
1253
+ # The type of this line item (e.g., Usage, Tax, Credit).
1254
+ # @return [String]
1255
+ #
1256
+ # @!attribute [rw] payer_account_id
1257
+ # The Amazon Web Services account ID of the payer for this line item.
1258
+ # @return [String]
1259
+ #
1260
+ # @!attribute [rw] usage_account_id
1261
+ # The Amazon Web Services account ID associated with the usage for
1262
+ # this line item.
1263
+ # @return [String]
1264
+ #
1265
+ # @!attribute [rw] estimated_usage_quantity
1266
+ # The estimated usage quantity for this line item.
1267
+ # @return [Types::UsageQuantityResult]
1268
+ #
1269
+ # @!attribute [rw] estimated_cost
1270
+ # The estimated cost for this line item.
1271
+ # @return [Types::CostAmount]
1272
+ #
1273
+ # @!attribute [rw] historical_usage_quantity
1274
+ # The historical usage quantity for this line item.
1275
+ # @return [Types::UsageQuantityResult]
1276
+ #
1277
+ # @!attribute [rw] historical_cost
1278
+ # The historical cost for this line item.
1279
+ # @return [Types::CostAmount]
1280
+ #
1281
+ # @!attribute [rw] savings_plan_arns
1282
+ # The Amazon Resource Names (ARNs) of any Savings Plans applied to
1283
+ # this line item.
1284
+ # @return [Array<String>]
1285
+ #
1286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillEstimateLineItemSummary AWS API Documentation
1287
+ #
1288
+ class BillEstimateLineItemSummary < Struct.new(
1289
+ :service_code,
1290
+ :usage_type,
1291
+ :operation,
1292
+ :location,
1293
+ :availability_zone,
1294
+ :id,
1295
+ :line_item_id,
1296
+ :line_item_type,
1297
+ :payer_account_id,
1298
+ :usage_account_id,
1299
+ :estimated_usage_quantity,
1300
+ :estimated_cost,
1301
+ :historical_usage_quantity,
1302
+ :historical_cost,
1303
+ :savings_plan_arns)
1304
+ SENSITIVE = []
1305
+ include Aws::Structure
1306
+ end
1307
+
1308
+ # Provides a summary of a bill estimate.
1309
+ #
1310
+ # @!attribute [rw] id
1311
+ # The unique identifier of the bill estimate.
1312
+ # @return [String]
1313
+ #
1314
+ # @!attribute [rw] name
1315
+ # The name of the bill estimate.
1316
+ # @return [String]
1317
+ #
1318
+ # @!attribute [rw] status
1319
+ # The current status of the bill estimate.
1320
+ # @return [String]
1321
+ #
1322
+ # @!attribute [rw] bill_interval
1323
+ # The time period covered by the bill estimate.
1324
+ # @return [Types::BillInterval]
1325
+ #
1326
+ # @!attribute [rw] created_at
1327
+ # The timestamp when the bill estimate was created.
1328
+ # @return [Time]
1329
+ #
1330
+ # @!attribute [rw] expires_at
1331
+ # The timestamp when the bill estimate will expire.
1332
+ # @return [Time]
1333
+ #
1334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillEstimateSummary AWS API Documentation
1335
+ #
1336
+ class BillEstimateSummary < Struct.new(
1337
+ :id,
1338
+ :name,
1339
+ :status,
1340
+ :bill_interval,
1341
+ :created_at,
1342
+ :expires_at)
1343
+ SENSITIVE = []
1344
+ include Aws::Structure
1345
+ end
1346
+
1347
+ # Represents a time interval for a bill or estimate.
1348
+ #
1349
+ # @!attribute [rw] start
1350
+ # The start date and time of the interval.
1351
+ # @return [Time]
1352
+ #
1353
+ # @!attribute [rw] end
1354
+ # The end date and time of the interval.
1355
+ # @return [Time]
1356
+ #
1357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillInterval AWS API Documentation
1358
+ #
1359
+ class BillInterval < Struct.new(
1360
+ :start,
1361
+ :end)
1362
+ SENSITIVE = []
1363
+ include Aws::Structure
1364
+ end
1365
+
1366
+ # Represents an action to modify commitments in a bill scenario.
1367
+ #
1368
+ # @note BillScenarioCommitmentModificationAction is a union - when making an API calls you must set exactly one of the members.
1369
+ #
1370
+ # @note BillScenarioCommitmentModificationAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of BillScenarioCommitmentModificationAction corresponding to the set member.
1371
+ #
1372
+ # @!attribute [rw] add_reserved_instance_action
1373
+ # Action to add a Reserved Instance to the scenario.
1374
+ # @return [Types::AddReservedInstanceAction]
1375
+ #
1376
+ # @!attribute [rw] add_savings_plan_action
1377
+ # Action to add a Savings Plan to the scenario.
1378
+ # @return [Types::AddSavingsPlanAction]
1379
+ #
1380
+ # @!attribute [rw] negate_reserved_instance_action
1381
+ # Action to remove a Reserved Instance from the scenario.
1382
+ # @return [Types::NegateReservedInstanceAction]
1383
+ #
1384
+ # @!attribute [rw] negate_savings_plan_action
1385
+ # Action to remove a Savings Plan from the scenario.
1386
+ # @return [Types::NegateSavingsPlanAction]
1387
+ #
1388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillScenarioCommitmentModificationAction AWS API Documentation
1389
+ #
1390
+ class BillScenarioCommitmentModificationAction < Struct.new(
1391
+ :add_reserved_instance_action,
1392
+ :add_savings_plan_action,
1393
+ :negate_reserved_instance_action,
1394
+ :negate_savings_plan_action,
1395
+ :unknown)
1396
+ SENSITIVE = []
1397
+ include Aws::Structure
1398
+ include Aws::Structure::Union
1399
+
1400
+ class AddReservedInstanceAction < BillScenarioCommitmentModificationAction; end
1401
+ class AddSavingsPlanAction < BillScenarioCommitmentModificationAction; end
1402
+ class NegateReservedInstanceAction < BillScenarioCommitmentModificationAction; end
1403
+ class NegateSavingsPlanAction < BillScenarioCommitmentModificationAction; end
1404
+ class Unknown < BillScenarioCommitmentModificationAction; end
1405
+ end
1406
+
1407
+ # Represents a commitment modification item in a bill scenario.
1408
+ #
1409
+ # @!attribute [rw] id
1410
+ # The unique identifier of the commitment modification.
1411
+ # @return [String]
1412
+ #
1413
+ # @!attribute [rw] usage_account_id
1414
+ # The Amazon Web Services account ID associated with this commitment
1415
+ # modification.
1416
+ # @return [String]
1417
+ #
1418
+ # @!attribute [rw] group
1419
+ # The group identifier for the commitment modification.
1420
+ # @return [String]
1421
+ #
1422
+ # @!attribute [rw] commitment_action
1423
+ # The specific commitment action taken in this modification.
1424
+ # @return [Types::BillScenarioCommitmentModificationAction]
1425
+ #
1426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillScenarioCommitmentModificationItem AWS API Documentation
1427
+ #
1428
+ class BillScenarioCommitmentModificationItem < Struct.new(
1429
+ :id,
1430
+ :usage_account_id,
1431
+ :group,
1432
+ :commitment_action)
1433
+ SENSITIVE = []
1434
+ include Aws::Structure
1435
+ end
1436
+
1437
+ # Provides a summary of a bill scenario.
1438
+ #
1439
+ # @!attribute [rw] id
1440
+ # The unique identifier of the bill scenario.
1441
+ # @return [String]
1442
+ #
1443
+ # @!attribute [rw] name
1444
+ # The name of the bill scenario.
1445
+ # @return [String]
1446
+ #
1447
+ # @!attribute [rw] bill_interval
1448
+ # The time period covered by the bill scenario.
1449
+ # @return [Types::BillInterval]
1450
+ #
1451
+ # @!attribute [rw] status
1452
+ # The current status of the bill scenario.
1453
+ # @return [String]
1454
+ #
1455
+ # @!attribute [rw] created_at
1456
+ # The timestamp when the bill scenario was created.
1457
+ # @return [Time]
1458
+ #
1459
+ # @!attribute [rw] expires_at
1460
+ # The timestamp when the bill scenario will expire.
1461
+ # @return [Time]
1462
+ #
1463
+ # @!attribute [rw] failure_message
1464
+ # An error message if the bill scenario creation or processing failed.
1465
+ # @return [String]
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillScenarioSummary AWS API Documentation
1468
+ #
1469
+ class BillScenarioSummary < Struct.new(
1470
+ :id,
1471
+ :name,
1472
+ :bill_interval,
1473
+ :status,
1474
+ :created_at,
1475
+ :expires_at,
1476
+ :failure_message)
1477
+ SENSITIVE = []
1478
+ include Aws::Structure
1479
+ end
1480
+
1481
+ # Represents a usage modification item in a bill scenario.
1482
+ #
1483
+ # @!attribute [rw] service_code
1484
+ # The Amazon Web Services service code for this usage modification.
1485
+ # @return [String]
1486
+ #
1487
+ # @!attribute [rw] usage_type
1488
+ # The type of usage being modified.
1489
+ # @return [String]
1490
+ #
1491
+ # @!attribute [rw] operation
1492
+ # The specific operation associated with this usage modification.
1493
+ # @return [String]
1494
+ #
1495
+ # @!attribute [rw] location
1496
+ # The location associated with this usage modification.
1497
+ # @return [String]
1498
+ #
1499
+ # @!attribute [rw] availability_zone
1500
+ # The availability zone associated with this usage modification, if
1501
+ # applicable.
1502
+ # @return [String]
1503
+ #
1504
+ # @!attribute [rw] id
1505
+ # The unique identifier of the usage modification.
1506
+ # @return [String]
1507
+ #
1508
+ # @!attribute [rw] group
1509
+ # The group identifier for the usage modification.
1510
+ # @return [String]
1511
+ #
1512
+ # @!attribute [rw] usage_account_id
1513
+ # The Amazon Web Services account ID associated with this usage
1514
+ # modification.
1515
+ # @return [String]
1516
+ #
1517
+ # @!attribute [rw] quantities
1518
+ # The modified usage quantities.
1519
+ # @return [Array<Types::UsageQuantity>]
1520
+ #
1521
+ # @!attribute [rw] historical_usage
1522
+ # Historical usage data associated with this modification, if
1523
+ # available.
1524
+ # @return [Types::HistoricalUsageEntity]
1525
+ #
1526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/BillScenarioUsageModificationItem AWS API Documentation
1527
+ #
1528
+ class BillScenarioUsageModificationItem < Struct.new(
1529
+ :service_code,
1530
+ :usage_type,
1531
+ :operation,
1532
+ :location,
1533
+ :availability_zone,
1534
+ :id,
1535
+ :group,
1536
+ :usage_account_id,
1537
+ :quantities,
1538
+ :historical_usage)
1539
+ SENSITIVE = []
1540
+ include Aws::Structure
1541
+ end
1542
+
1543
+ # The request could not be processed because of conflict in the current
1544
+ # state of the resource.
1545
+ #
1546
+ # @!attribute [rw] message
1547
+ # @return [String]
1548
+ #
1549
+ # @!attribute [rw] resource_id
1550
+ # The identifier of the resource that was not found.
1551
+ # @return [String]
1552
+ #
1553
+ # @!attribute [rw] resource_type
1554
+ # The type of the resource that was not found.
1555
+ # @return [String]
1556
+ #
1557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ConflictException AWS API Documentation
1558
+ #
1559
+ class ConflictException < Struct.new(
1560
+ :message,
1561
+ :resource_id,
1562
+ :resource_type)
1563
+ SENSITIVE = []
1564
+ include Aws::Structure
1565
+ end
1566
+
1567
+ # Represents a monetary amount with associated currency.
1568
+ #
1569
+ # @!attribute [rw] amount
1570
+ # The numeric value of the cost.
1571
+ # @return [Float]
1572
+ #
1573
+ # @!attribute [rw] currency
1574
+ # The currency code for the cost amount.
1575
+ # @return [String]
1576
+ #
1577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CostAmount AWS API Documentation
1578
+ #
1579
+ class CostAmount < Struct.new(
1580
+ :amount,
1581
+ :currency)
1582
+ SENSITIVE = []
1583
+ include Aws::Structure
1584
+ end
1585
+
1586
+ # Represents the difference between historical and estimated costs.
1587
+ #
1588
+ # @!attribute [rw] historical_cost
1589
+ # The historical cost amount.
1590
+ # @return [Types::CostAmount]
1591
+ #
1592
+ # @!attribute [rw] estimated_cost
1593
+ # The estimated cost amount.
1594
+ # @return [Types::CostAmount]
1595
+ #
1596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CostDifference AWS API Documentation
1597
+ #
1598
+ class CostDifference < Struct.new(
1599
+ :historical_cost,
1600
+ :estimated_cost)
1601
+ SENSITIVE = []
1602
+ include Aws::Structure
1603
+ end
1604
+
1605
+ # @!attribute [rw] bill_scenario_id
1606
+ # The ID of the Bill Scenario for which you want to create a Bill
1607
+ # estimate.
1608
+ # @return [String]
1609
+ #
1610
+ # @!attribute [rw] name
1611
+ # The name of the Bill estimate that will be created. Names must be
1612
+ # unique for an account.
1613
+ # @return [String]
1614
+ #
1615
+ # @!attribute [rw] client_token
1616
+ # A unique, case-sensitive identifier that you provide to ensure the
1617
+ # idempotency of the request.
1618
+ #
1619
+ # **A suitable default value is auto-generated.** You should normally
1620
+ # not need to pass this option.
1621
+ # @return [String]
1622
+ #
1623
+ # @!attribute [rw] tags
1624
+ # An optional list of tags to associate with the specified
1625
+ # BillEstimate. You can use resource tags to control access to your
1626
+ # BillEstimate using IAM policies. Each tag consists of a key and a
1627
+ # value, and each key must be unique for the resource. The following
1628
+ # restrictions apply to resource tags:
1629
+ #
1630
+ # * Although the maximum number of array members is 200, you can
1631
+ # assign a maximum of 50 user-tags to one resource. The remaining
1632
+ # are reserved for Amazon Web Services.
1633
+ #
1634
+ # * The maximum length of a key is 128 characters.
1635
+ #
1636
+ # * The maximum length of a value is 256 characters.
1637
+ #
1638
+ # * Keys and values can only contain alphanumeric characters, spaces,
1639
+ # and any of the following: `_.:/=+@-`.
1640
+ #
1641
+ # * Keys and values are case sensitive.
1642
+ #
1643
+ # * Keys and values are trimmed for any leading or trailing
1644
+ # whitespaces.
1645
+ #
1646
+ # * Don't use `aws:` as a prefix for your keys. This prefix is
1647
+ # reserved for Amazon Web Services.
1648
+ # @return [Hash<String,String>]
1649
+ #
1650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CreateBillEstimateRequest AWS API Documentation
1651
+ #
1652
+ class CreateBillEstimateRequest < Struct.new(
1653
+ :bill_scenario_id,
1654
+ :name,
1655
+ :client_token,
1656
+ :tags)
1657
+ SENSITIVE = []
1658
+ include Aws::Structure
1659
+ end
1660
+
1661
+ # @!attribute [rw] id
1662
+ # The unique identifier of your newly created Bill estimate.
1663
+ # @return [String]
1664
+ #
1665
+ # @!attribute [rw] name
1666
+ # The name of your newly created Bill estimate.
1667
+ # @return [String]
1668
+ #
1669
+ # @!attribute [rw] status
1670
+ # The status of your newly created Bill estimate. Bill estimate
1671
+ # creation can take anywhere between 8 to 12 hours. The status will
1672
+ # allow you to identify when the Bill estimate is complete or has
1673
+ # failed.
1674
+ # @return [String]
1675
+ #
1676
+ # @!attribute [rw] failure_message
1677
+ # This attribute provides the reason if a Bill estimate result
1678
+ # generation fails.
1679
+ # @return [String]
1680
+ #
1681
+ # @!attribute [rw] bill_interval
1682
+ # The bill month start and end timestamp that was used to create the
1683
+ # Bill estimate. This is set to the last complete anniversary bill
1684
+ # month start and end timestamp.
1685
+ # @return [Types::BillInterval]
1686
+ #
1687
+ # @!attribute [rw] cost_summary
1688
+ # Returns summary-level cost information once a Bill estimate is
1689
+ # successfully generated. This summary includes: 1) the total cost
1690
+ # difference, showing the pre-tax cost change for the consolidated
1691
+ # billing family between the completed anniversary bill and the
1692
+ # estimated bill, and 2) total cost differences per service, detailing
1693
+ # the pre-tax cost of each service, comparing the completed
1694
+ # anniversary bill to the estimated bill on a per-service basis.
1695
+ # @return [Types::BillEstimateCostSummary]
1696
+ #
1697
+ # @!attribute [rw] created_at
1698
+ # The timestamp of when the Bill estimate create process was started
1699
+ # (not when it successfully completed or failed).
1700
+ # @return [Time]
1701
+ #
1702
+ # @!attribute [rw] expires_at
1703
+ # The timestamp of when the Bill estimate will expire. A Bill estimate
1704
+ # becomes inaccessible after expiration.
1705
+ # @return [Time]
1706
+ #
1707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CreateBillEstimateResponse AWS API Documentation
1708
+ #
1709
+ class CreateBillEstimateResponse < Struct.new(
1710
+ :id,
1711
+ :name,
1712
+ :status,
1713
+ :failure_message,
1714
+ :bill_interval,
1715
+ :cost_summary,
1716
+ :created_at,
1717
+ :expires_at)
1718
+ SENSITIVE = []
1719
+ include Aws::Structure
1720
+ end
1721
+
1722
+ # @!attribute [rw] name
1723
+ # A descriptive name for the bill scenario.
1724
+ # @return [String]
1725
+ #
1726
+ # @!attribute [rw] client_token
1727
+ # A unique, case-sensitive identifier to ensure idempotency of the
1728
+ # request.
1729
+ #
1730
+ # **A suitable default value is auto-generated.** You should normally
1731
+ # not need to pass this option.
1732
+ # @return [String]
1733
+ #
1734
+ # @!attribute [rw] tags
1735
+ # The tags to apply to the bill scenario.
1736
+ # @return [Hash<String,String>]
1737
+ #
1738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CreateBillScenarioRequest AWS API Documentation
1739
+ #
1740
+ class CreateBillScenarioRequest < Struct.new(
1741
+ :name,
1742
+ :client_token,
1743
+ :tags)
1744
+ SENSITIVE = []
1745
+ include Aws::Structure
1746
+ end
1747
+
1748
+ # @!attribute [rw] id
1749
+ # The unique identifier for the created bill scenario.
1750
+ # @return [String]
1751
+ #
1752
+ # @!attribute [rw] name
1753
+ # The name of the created bill scenario.
1754
+ # @return [String]
1755
+ #
1756
+ # @!attribute [rw] bill_interval
1757
+ # The time period covered by the bill scenario.
1758
+ # @return [Types::BillInterval]
1759
+ #
1760
+ # @!attribute [rw] status
1761
+ # The current status of the bill scenario.
1762
+ # @return [String]
1763
+ #
1764
+ # @!attribute [rw] created_at
1765
+ # The timestamp when the bill scenario was created.
1766
+ # @return [Time]
1767
+ #
1768
+ # @!attribute [rw] expires_at
1769
+ # The timestamp when the bill scenario will expire.
1770
+ # @return [Time]
1771
+ #
1772
+ # @!attribute [rw] failure_message
1773
+ # An error message if the bill scenario creation failed.
1774
+ # @return [String]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CreateBillScenarioResponse AWS API Documentation
1777
+ #
1778
+ class CreateBillScenarioResponse < Struct.new(
1779
+ :id,
1780
+ :name,
1781
+ :bill_interval,
1782
+ :status,
1783
+ :created_at,
1784
+ :expires_at,
1785
+ :failure_message)
1786
+ SENSITIVE = []
1787
+ include Aws::Structure
1788
+ end
1789
+
1790
+ # @!attribute [rw] name
1791
+ # A descriptive name for the workload estimate.
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] client_token
1795
+ # A unique, case-sensitive identifier to ensure idempotency of the
1796
+ # request.
1797
+ #
1798
+ # **A suitable default value is auto-generated.** You should normally
1799
+ # not need to pass this option.
1800
+ # @return [String]
1801
+ #
1802
+ # @!attribute [rw] rate_type
1803
+ # The type of pricing rates to use for the estimate.
1804
+ # @return [String]
1805
+ #
1806
+ # @!attribute [rw] tags
1807
+ # The tags to apply to the workload estimate.
1808
+ # @return [Hash<String,String>]
1809
+ #
1810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CreateWorkloadEstimateRequest AWS API Documentation
1811
+ #
1812
+ class CreateWorkloadEstimateRequest < Struct.new(
1813
+ :name,
1814
+ :client_token,
1815
+ :rate_type,
1816
+ :tags)
1817
+ SENSITIVE = []
1818
+ include Aws::Structure
1819
+ end
1820
+
1821
+ # Mixin for common fields returned by CRUD APIs
1822
+ #
1823
+ # @!attribute [rw] id
1824
+ # The unique identifier for the created workload estimate.
1825
+ # @return [String]
1826
+ #
1827
+ # @!attribute [rw] name
1828
+ # The name of the created workload estimate.
1829
+ # @return [String]
1830
+ #
1831
+ # @!attribute [rw] created_at
1832
+ # The timestamp when the workload estimate was created.
1833
+ # @return [Time]
1834
+ #
1835
+ # @!attribute [rw] expires_at
1836
+ # The timestamp when the workload estimate will expire.
1837
+ # @return [Time]
1838
+ #
1839
+ # @!attribute [rw] rate_type
1840
+ # The type of pricing rates used for the estimate.
1841
+ # @return [String]
1842
+ #
1843
+ # @!attribute [rw] rate_timestamp
1844
+ # The timestamp of the pricing rates used for the estimate.
1845
+ # @return [Time]
1846
+ #
1847
+ # @!attribute [rw] status
1848
+ # The current status of the workload estimate.
1849
+ # @return [String]
1850
+ #
1851
+ # @!attribute [rw] total_cost
1852
+ # The total estimated cost for the workload.
1853
+ # @return [Float]
1854
+ #
1855
+ # @!attribute [rw] cost_currency
1856
+ # The currency of the estimated cost.
1857
+ # @return [String]
1858
+ #
1859
+ # @!attribute [rw] failure_message
1860
+ # An error message if the workload estimate creation failed.
1861
+ # @return [String]
1862
+ #
1863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/CreateWorkloadEstimateResponse AWS API Documentation
1864
+ #
1865
+ class CreateWorkloadEstimateResponse < Struct.new(
1866
+ :id,
1867
+ :name,
1868
+ :created_at,
1869
+ :expires_at,
1870
+ :rate_type,
1871
+ :rate_timestamp,
1872
+ :status,
1873
+ :total_cost,
1874
+ :cost_currency,
1875
+ :failure_message)
1876
+ SENSITIVE = []
1877
+ include Aws::Structure
1878
+ end
1879
+
1880
+ # The requested data is currently unavailable.
1881
+ #
1882
+ # @!attribute [rw] message
1883
+ # @return [String]
1884
+ #
1885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DataUnavailableException AWS API Documentation
1886
+ #
1887
+ class DataUnavailableException < Struct.new(
1888
+ :message)
1889
+ SENSITIVE = []
1890
+ include Aws::Structure
1891
+ end
1892
+
1893
+ # @!attribute [rw] identifier
1894
+ # The unique identifier of the bill estimate to delete.
1895
+ # @return [String]
1896
+ #
1897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DeleteBillEstimateRequest AWS API Documentation
1898
+ #
1899
+ class DeleteBillEstimateRequest < Struct.new(
1900
+ :identifier)
1901
+ SENSITIVE = []
1902
+ include Aws::Structure
1903
+ end
1904
+
1905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DeleteBillEstimateResponse AWS API Documentation
1906
+ #
1907
+ class DeleteBillEstimateResponse < Aws::EmptyStructure; end
1908
+
1909
+ # @!attribute [rw] identifier
1910
+ # The unique identifier of the bill scenario to delete.
1911
+ # @return [String]
1912
+ #
1913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DeleteBillScenarioRequest AWS API Documentation
1914
+ #
1915
+ class DeleteBillScenarioRequest < Struct.new(
1916
+ :identifier)
1917
+ SENSITIVE = []
1918
+ include Aws::Structure
1919
+ end
1920
+
1921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DeleteBillScenarioResponse AWS API Documentation
1922
+ #
1923
+ class DeleteBillScenarioResponse < Aws::EmptyStructure; end
1924
+
1925
+ # @!attribute [rw] identifier
1926
+ # The unique identifier of the workload estimate to delete.
1927
+ # @return [String]
1928
+ #
1929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DeleteWorkloadEstimateRequest AWS API Documentation
1930
+ #
1931
+ class DeleteWorkloadEstimateRequest < Struct.new(
1932
+ :identifier)
1933
+ SENSITIVE = []
1934
+ include Aws::Structure
1935
+ end
1936
+
1937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/DeleteWorkloadEstimateResponse AWS API Documentation
1938
+ #
1939
+ class DeleteWorkloadEstimateResponse < Aws::EmptyStructure; end
1940
+
1941
+ # Represents a complex filtering expression for cost and usage data.
1942
+ #
1943
+ # @!attribute [rw] and
1944
+ # A list of expressions to be combined with AND logic.
1945
+ # @return [Array<Types::Expression>]
1946
+ #
1947
+ # @!attribute [rw] or
1948
+ # A list of expressions to be combined with OR logic.
1949
+ # @return [Array<Types::Expression>]
1950
+ #
1951
+ # @!attribute [rw] not
1952
+ # An expression to be negated.
1953
+ # @return [Types::Expression]
1954
+ #
1955
+ # @!attribute [rw] cost_categories
1956
+ # Filters based on cost categories.
1957
+ # @return [Types::ExpressionFilter]
1958
+ #
1959
+ # @!attribute [rw] dimensions
1960
+ # Filters based on dimensions (e.g., service, operation).
1961
+ # @return [Types::ExpressionFilter]
1962
+ #
1963
+ # @!attribute [rw] tags
1964
+ # Filters based on resource tags.
1965
+ # @return [Types::ExpressionFilter]
1966
+ #
1967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/Expression AWS API Documentation
1968
+ #
1969
+ class Expression < Struct.new(
1970
+ :and,
1971
+ :or,
1972
+ :not,
1973
+ :cost_categories,
1974
+ :dimensions,
1975
+ :tags)
1976
+ SENSITIVE = []
1977
+ include Aws::Structure
1978
+ end
1979
+
1980
+ # Represents a filter used within an expression.
1981
+ #
1982
+ # @!attribute [rw] key
1983
+ # The key or attribute to filter on.
1984
+ # @return [String]
1985
+ #
1986
+ # @!attribute [rw] match_options
1987
+ # The match options for the filter (e.g., equals, contains).
1988
+ # @return [Array<String>]
1989
+ #
1990
+ # @!attribute [rw] values
1991
+ # The values to match against.
1992
+ # @return [Array<String>]
1993
+ #
1994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ExpressionFilter AWS API Documentation
1995
+ #
1996
+ class ExpressionFilter < Struct.new(
1997
+ :key,
1998
+ :match_options,
1999
+ :values)
2000
+ SENSITIVE = []
2001
+ include Aws::Structure
2002
+ end
2003
+
2004
+ # Represents a time-based filter.
2005
+ #
2006
+ # @!attribute [rw] after_timestamp
2007
+ # Include results after this timestamp.
2008
+ # @return [Time]
2009
+ #
2010
+ # @!attribute [rw] before_timestamp
2011
+ # Include results before this timestamp.
2012
+ # @return [Time]
2013
+ #
2014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/FilterTimestamp AWS API Documentation
2015
+ #
2016
+ class FilterTimestamp < Struct.new(
2017
+ :after_timestamp,
2018
+ :before_timestamp)
2019
+ SENSITIVE = []
2020
+ include Aws::Structure
2021
+ end
2022
+
2023
+ # @!attribute [rw] identifier
2024
+ # The unique identifier of the bill estimate to retrieve.
2025
+ # @return [String]
2026
+ #
2027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetBillEstimateRequest AWS API Documentation
2028
+ #
2029
+ class GetBillEstimateRequest < Struct.new(
2030
+ :identifier)
2031
+ SENSITIVE = []
2032
+ include Aws::Structure
2033
+ end
2034
+
2035
+ # @!attribute [rw] id
2036
+ # The unique identifier of the retrieved bill estimate.
2037
+ # @return [String]
2038
+ #
2039
+ # @!attribute [rw] name
2040
+ # The name of the retrieved bill estimate.
2041
+ # @return [String]
2042
+ #
2043
+ # @!attribute [rw] status
2044
+ # The current status of the bill estimate.
2045
+ # @return [String]
2046
+ #
2047
+ # @!attribute [rw] failure_message
2048
+ # An error message if the bill estimate retrieval failed.
2049
+ # @return [String]
2050
+ #
2051
+ # @!attribute [rw] bill_interval
2052
+ # The time period covered by the bill estimate.
2053
+ # @return [Types::BillInterval]
2054
+ #
2055
+ # @!attribute [rw] cost_summary
2056
+ # A summary of the estimated costs.
2057
+ # @return [Types::BillEstimateCostSummary]
2058
+ #
2059
+ # @!attribute [rw] created_at
2060
+ # The timestamp when the bill estimate was created.
2061
+ # @return [Time]
2062
+ #
2063
+ # @!attribute [rw] expires_at
2064
+ # The timestamp when the bill estimate will expire.
2065
+ # @return [Time]
2066
+ #
2067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetBillEstimateResponse AWS API Documentation
2068
+ #
2069
+ class GetBillEstimateResponse < Struct.new(
2070
+ :id,
2071
+ :name,
2072
+ :status,
2073
+ :failure_message,
2074
+ :bill_interval,
2075
+ :cost_summary,
2076
+ :created_at,
2077
+ :expires_at)
2078
+ SENSITIVE = []
2079
+ include Aws::Structure
2080
+ end
2081
+
2082
+ # @!attribute [rw] identifier
2083
+ # The unique identifier of the bill scenario to retrieve.
2084
+ # @return [String]
2085
+ #
2086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetBillScenarioRequest AWS API Documentation
2087
+ #
2088
+ class GetBillScenarioRequest < Struct.new(
2089
+ :identifier)
2090
+ SENSITIVE = []
2091
+ include Aws::Structure
2092
+ end
2093
+
2094
+ # @!attribute [rw] id
2095
+ # The unique identifier of the retrieved bill scenario.
2096
+ # @return [String]
2097
+ #
2098
+ # @!attribute [rw] name
2099
+ # The name of the retrieved bill scenario.
2100
+ # @return [String]
2101
+ #
2102
+ # @!attribute [rw] bill_interval
2103
+ # The time period covered by the bill scenario.
2104
+ # @return [Types::BillInterval]
2105
+ #
2106
+ # @!attribute [rw] status
2107
+ # The current status of the bill scenario.
2108
+ # @return [String]
2109
+ #
2110
+ # @!attribute [rw] created_at
2111
+ # The timestamp when the bill scenario was created.
2112
+ # @return [Time]
2113
+ #
2114
+ # @!attribute [rw] expires_at
2115
+ # The timestamp when the bill scenario will expire.
2116
+ # @return [Time]
2117
+ #
2118
+ # @!attribute [rw] failure_message
2119
+ # An error message if the bill scenario retrieval failed.
2120
+ # @return [String]
2121
+ #
2122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetBillScenarioResponse AWS API Documentation
2123
+ #
2124
+ class GetBillScenarioResponse < Struct.new(
2125
+ :id,
2126
+ :name,
2127
+ :bill_interval,
2128
+ :status,
2129
+ :created_at,
2130
+ :expires_at,
2131
+ :failure_message)
2132
+ SENSITIVE = []
2133
+ include Aws::Structure
2134
+ end
2135
+
2136
+ # @api private
2137
+ #
2138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetPreferencesRequest AWS API Documentation
2139
+ #
2140
+ class GetPreferencesRequest < Aws::EmptyStructure; end
2141
+
2142
+ # @!attribute [rw] management_account_rate_type_selections
2143
+ # The preferred rate types for the management account.
2144
+ # @return [Array<String>]
2145
+ #
2146
+ # @!attribute [rw] member_account_rate_type_selections
2147
+ # The preferred rate types for member accounts.
2148
+ # @return [Array<String>]
2149
+ #
2150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetPreferencesResponse AWS API Documentation
2151
+ #
2152
+ class GetPreferencesResponse < Struct.new(
2153
+ :management_account_rate_type_selections,
2154
+ :member_account_rate_type_selections)
2155
+ SENSITIVE = []
2156
+ include Aws::Structure
2157
+ end
2158
+
2159
+ # @!attribute [rw] identifier
2160
+ # The unique identifier of the workload estimate to retrieve.
2161
+ # @return [String]
2162
+ #
2163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetWorkloadEstimateRequest AWS API Documentation
2164
+ #
2165
+ class GetWorkloadEstimateRequest < Struct.new(
2166
+ :identifier)
2167
+ SENSITIVE = []
2168
+ include Aws::Structure
2169
+ end
2170
+
2171
+ # Mixin for common fields returned by CRUD APIs
2172
+ #
2173
+ # @!attribute [rw] id
2174
+ # The unique identifier of the retrieved workload estimate.
2175
+ # @return [String]
2176
+ #
2177
+ # @!attribute [rw] name
2178
+ # The name of the retrieved workload estimate.
2179
+ # @return [String]
2180
+ #
2181
+ # @!attribute [rw] created_at
2182
+ # The timestamp when the workload estimate was created.
2183
+ # @return [Time]
2184
+ #
2185
+ # @!attribute [rw] expires_at
2186
+ # The timestamp when the workload estimate will expire.
2187
+ # @return [Time]
2188
+ #
2189
+ # @!attribute [rw] rate_type
2190
+ # The type of pricing rates used for the estimate.
2191
+ # @return [String]
2192
+ #
2193
+ # @!attribute [rw] rate_timestamp
2194
+ # The timestamp of the pricing rates used for the estimate.
2195
+ # @return [Time]
2196
+ #
2197
+ # @!attribute [rw] status
2198
+ # The current status of the workload estimate.
2199
+ # @return [String]
2200
+ #
2201
+ # @!attribute [rw] total_cost
2202
+ # The total estimated cost for the workload.
2203
+ # @return [Float]
2204
+ #
2205
+ # @!attribute [rw] cost_currency
2206
+ # The currency of the estimated cost.
2207
+ # @return [String]
2208
+ #
2209
+ # @!attribute [rw] failure_message
2210
+ # An error message if the workload estimate retrieval failed.
2211
+ # @return [String]
2212
+ #
2213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetWorkloadEstimateResponse AWS API Documentation
2214
+ #
2215
+ class GetWorkloadEstimateResponse < Struct.new(
2216
+ :id,
2217
+ :name,
2218
+ :created_at,
2219
+ :expires_at,
2220
+ :rate_type,
2221
+ :rate_timestamp,
2222
+ :status,
2223
+ :total_cost,
2224
+ :cost_currency,
2225
+ :failure_message)
2226
+ SENSITIVE = []
2227
+ include Aws::Structure
2228
+ end
2229
+
2230
+ # Represents historical usage data for a specific entity.
2231
+ #
2232
+ # @!attribute [rw] service_code
2233
+ # The Amazon Web Services service code associated with the usage.
2234
+ # @return [String]
2235
+ #
2236
+ # @!attribute [rw] usage_type
2237
+ # The type of usage.
2238
+ # @return [String]
2239
+ #
2240
+ # @!attribute [rw] operation
2241
+ # The specific operation associated with the usage.
2242
+ # @return [String]
2243
+ #
2244
+ # @!attribute [rw] location
2245
+ # The location associated with the usage.
2246
+ # @return [String]
2247
+ #
2248
+ # @!attribute [rw] usage_account_id
2249
+ # The Amazon Web Services account ID associated with the usage.
2250
+ # @return [String]
2251
+ #
2252
+ # @!attribute [rw] bill_interval
2253
+ # The time interval for the historical usage data.
2254
+ # @return [Types::BillInterval]
2255
+ #
2256
+ # @!attribute [rw] filter_expression
2257
+ # An optional filter expression to apply to the historical usage data.
2258
+ # @return [Types::Expression]
2259
+ #
2260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/HistoricalUsageEntity AWS API Documentation
2261
+ #
2262
+ class HistoricalUsageEntity < Struct.new(
2263
+ :service_code,
2264
+ :usage_type,
2265
+ :operation,
2266
+ :location,
2267
+ :usage_account_id,
2268
+ :bill_interval,
2269
+ :filter_expression)
2270
+ SENSITIVE = []
2271
+ include Aws::Structure
2272
+ end
2273
+
2274
+ # An internal error has occurred. Retry your request, but if the problem
2275
+ # persists, contact Amazon Web Services support.
2276
+ #
2277
+ # @!attribute [rw] message
2278
+ # @return [String]
2279
+ #
2280
+ # @!attribute [rw] retry_after_seconds
2281
+ # An internal error has occurred. Retry your request, but if the
2282
+ # problem persists, contact Amazon Web Services support.
2283
+ # @return [Integer]
2284
+ #
2285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/InternalServerException AWS API Documentation
2286
+ #
2287
+ class InternalServerException < Struct.new(
2288
+ :message,
2289
+ :retry_after_seconds)
2290
+ SENSITIVE = []
2291
+ include Aws::Structure
2292
+ end
2293
+
2294
+ # @!attribute [rw] bill_estimate_id
2295
+ # The unique identifier of the bill estimate to list commitments for.
2296
+ # @return [String]
2297
+ #
2298
+ # @!attribute [rw] next_token
2299
+ # A token to retrieve the next page of results.
2300
+ # @return [String]
2301
+ #
2302
+ # @!attribute [rw] max_results
2303
+ # The maximum number of results to return per page.
2304
+ # @return [Integer]
2305
+ #
2306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateCommitmentsRequest AWS API Documentation
2307
+ #
2308
+ class ListBillEstimateCommitmentsRequest < Struct.new(
2309
+ :bill_estimate_id,
2310
+ :next_token,
2311
+ :max_results)
2312
+ SENSITIVE = []
2313
+ include Aws::Structure
2314
+ end
2315
+
2316
+ # @!attribute [rw] items
2317
+ # The list of commitments associated with the bill estimate.
2318
+ # @return [Array<Types::BillEstimateCommitmentSummary>]
2319
+ #
2320
+ # @!attribute [rw] next_token
2321
+ # A token to retrieve the next page of results, if any.
2322
+ # @return [String]
2323
+ #
2324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateCommitmentsResponse AWS API Documentation
2325
+ #
2326
+ class ListBillEstimateCommitmentsResponse < Struct.new(
2327
+ :items,
2328
+ :next_token)
2329
+ SENSITIVE = []
2330
+ include Aws::Structure
2331
+ end
2332
+
2333
+ # @!attribute [rw] bill_estimate_id
2334
+ # The unique identifier of the bill estimate to list input commitment
2335
+ # modifications for.
2336
+ # @return [String]
2337
+ #
2338
+ # @!attribute [rw] next_token
2339
+ # A token to retrieve the next page of results.
2340
+ # @return [String]
2341
+ #
2342
+ # @!attribute [rw] max_results
2343
+ # The maximum number of results to return per page.
2344
+ # @return [Integer]
2345
+ #
2346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateInputCommitmentModificationsRequest AWS API Documentation
2347
+ #
2348
+ class ListBillEstimateInputCommitmentModificationsRequest < Struct.new(
2349
+ :bill_estimate_id,
2350
+ :next_token,
2351
+ :max_results)
2352
+ SENSITIVE = []
2353
+ include Aws::Structure
2354
+ end
2355
+
2356
+ # @!attribute [rw] items
2357
+ # The list of input commitment modifications associated with the bill
2358
+ # estimate.
2359
+ # @return [Array<Types::BillEstimateInputCommitmentModificationSummary>]
2360
+ #
2361
+ # @!attribute [rw] next_token
2362
+ # A token to retrieve the next page of results, if any.
2363
+ # @return [String]
2364
+ #
2365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateInputCommitmentModificationsResponse AWS API Documentation
2366
+ #
2367
+ class ListBillEstimateInputCommitmentModificationsResponse < Struct.new(
2368
+ :items,
2369
+ :next_token)
2370
+ SENSITIVE = []
2371
+ include Aws::Structure
2372
+ end
2373
+
2374
+ # @!attribute [rw] bill_estimate_id
2375
+ # The unique identifier of the bill estimate to list input usage
2376
+ # modifications for.
2377
+ # @return [String]
2378
+ #
2379
+ # @!attribute [rw] filters
2380
+ # Filters to apply to the list of input usage modifications.
2381
+ # @return [Array<Types::ListUsageFilter>]
2382
+ #
2383
+ # @!attribute [rw] next_token
2384
+ # A token to retrieve the next page of results.
2385
+ # @return [String]
2386
+ #
2387
+ # @!attribute [rw] max_results
2388
+ # The maximum number of results to return per page.
2389
+ # @return [Integer]
2390
+ #
2391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateInputUsageModificationsRequest AWS API Documentation
2392
+ #
2393
+ class ListBillEstimateInputUsageModificationsRequest < Struct.new(
2394
+ :bill_estimate_id,
2395
+ :filters,
2396
+ :next_token,
2397
+ :max_results)
2398
+ SENSITIVE = []
2399
+ include Aws::Structure
2400
+ end
2401
+
2402
+ # @!attribute [rw] items
2403
+ # The list of input usage modifications associated with the bill
2404
+ # estimate.
2405
+ # @return [Array<Types::BillEstimateInputUsageModificationSummary>]
2406
+ #
2407
+ # @!attribute [rw] next_token
2408
+ # A token to retrieve the next page of results, if any.
2409
+ # @return [String]
2410
+ #
2411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateInputUsageModificationsResponse AWS API Documentation
2412
+ #
2413
+ class ListBillEstimateInputUsageModificationsResponse < Struct.new(
2414
+ :items,
2415
+ :next_token)
2416
+ SENSITIVE = []
2417
+ include Aws::Structure
2418
+ end
2419
+
2420
+ # Represents a filter for listing bill estimate line items.
2421
+ #
2422
+ # @!attribute [rw] name
2423
+ # The name of the filter attribute.
2424
+ # @return [String]
2425
+ #
2426
+ # @!attribute [rw] values
2427
+ # The values to filter by.
2428
+ # @return [Array<String>]
2429
+ #
2430
+ # @!attribute [rw] match_option
2431
+ # The match option for the filter (e.g., equals, contains).
2432
+ # @return [String]
2433
+ #
2434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateLineItemsFilter AWS API Documentation
2435
+ #
2436
+ class ListBillEstimateLineItemsFilter < Struct.new(
2437
+ :name,
2438
+ :values,
2439
+ :match_option)
2440
+ SENSITIVE = []
2441
+ include Aws::Structure
2442
+ end
2443
+
2444
+ # @!attribute [rw] bill_estimate_id
2445
+ # The unique identifier of the bill estimate to list line items for.
2446
+ # @return [String]
2447
+ #
2448
+ # @!attribute [rw] filters
2449
+ # Filters to apply to the list of line items.
2450
+ # @return [Array<Types::ListBillEstimateLineItemsFilter>]
2451
+ #
2452
+ # @!attribute [rw] next_token
2453
+ # A token to retrieve the next page of results.
2454
+ # @return [String]
2455
+ #
2456
+ # @!attribute [rw] max_results
2457
+ # The maximum number of results to return per page.
2458
+ # @return [Integer]
2459
+ #
2460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateLineItemsRequest AWS API Documentation
2461
+ #
2462
+ class ListBillEstimateLineItemsRequest < Struct.new(
2463
+ :bill_estimate_id,
2464
+ :filters,
2465
+ :next_token,
2466
+ :max_results)
2467
+ SENSITIVE = []
2468
+ include Aws::Structure
2469
+ end
2470
+
2471
+ # @!attribute [rw] items
2472
+ # The list of line items associated with the bill estimate.
2473
+ # @return [Array<Types::BillEstimateLineItemSummary>]
2474
+ #
2475
+ # @!attribute [rw] next_token
2476
+ # A token to retrieve the next page of results, if any.
2477
+ # @return [String]
2478
+ #
2479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimateLineItemsResponse AWS API Documentation
2480
+ #
2481
+ class ListBillEstimateLineItemsResponse < Struct.new(
2482
+ :items,
2483
+ :next_token)
2484
+ SENSITIVE = []
2485
+ include Aws::Structure
2486
+ end
2487
+
2488
+ # Represents a filter for listing bill estimates.
2489
+ #
2490
+ # @!attribute [rw] name
2491
+ # The name of the filter attribute.
2492
+ # @return [String]
2493
+ #
2494
+ # @!attribute [rw] values
2495
+ # The values to filter by.
2496
+ # @return [Array<String>]
2497
+ #
2498
+ # @!attribute [rw] match_option
2499
+ # The match option for the filter (e.g., equals, contains).
2500
+ # @return [String]
2501
+ #
2502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimatesFilter AWS API Documentation
2503
+ #
2504
+ class ListBillEstimatesFilter < Struct.new(
2505
+ :name,
2506
+ :values,
2507
+ :match_option)
2508
+ SENSITIVE = []
2509
+ include Aws::Structure
2510
+ end
2511
+
2512
+ # @!attribute [rw] filters
2513
+ # Filters to apply to the list of bill estimates.
2514
+ # @return [Array<Types::ListBillEstimatesFilter>]
2515
+ #
2516
+ # @!attribute [rw] created_at_filter
2517
+ # Filter bill estimates based on their creation date.
2518
+ # @return [Types::FilterTimestamp]
2519
+ #
2520
+ # @!attribute [rw] expires_at_filter
2521
+ # Filter bill estimates based on their expiration date.
2522
+ # @return [Types::FilterTimestamp]
2523
+ #
2524
+ # @!attribute [rw] next_token
2525
+ # A token to retrieve the next page of results.
2526
+ # @return [String]
2527
+ #
2528
+ # @!attribute [rw] max_results
2529
+ # The maximum number of results to return per page.
2530
+ # @return [Integer]
2531
+ #
2532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimatesRequest AWS API Documentation
2533
+ #
2534
+ class ListBillEstimatesRequest < Struct.new(
2535
+ :filters,
2536
+ :created_at_filter,
2537
+ :expires_at_filter,
2538
+ :next_token,
2539
+ :max_results)
2540
+ SENSITIVE = []
2541
+ include Aws::Structure
2542
+ end
2543
+
2544
+ # @!attribute [rw] items
2545
+ # The list of bill estimates for the account.
2546
+ # @return [Array<Types::BillEstimateSummary>]
2547
+ #
2548
+ # @!attribute [rw] next_token
2549
+ # A token to retrieve the next page of results, if any.
2550
+ # @return [String]
2551
+ #
2552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillEstimatesResponse AWS API Documentation
2553
+ #
2554
+ class ListBillEstimatesResponse < Struct.new(
2555
+ :items,
2556
+ :next_token)
2557
+ SENSITIVE = []
2558
+ include Aws::Structure
2559
+ end
2560
+
2561
+ # @!attribute [rw] bill_scenario_id
2562
+ # The unique identifier of the bill scenario to list commitment
2563
+ # modifications for.
2564
+ # @return [String]
2565
+ #
2566
+ # @!attribute [rw] next_token
2567
+ # A token to retrieve the next page of results.
2568
+ # @return [String]
2569
+ #
2570
+ # @!attribute [rw] max_results
2571
+ # The maximum number of results to return per page.
2572
+ # @return [Integer]
2573
+ #
2574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenarioCommitmentModificationsRequest AWS API Documentation
2575
+ #
2576
+ class ListBillScenarioCommitmentModificationsRequest < Struct.new(
2577
+ :bill_scenario_id,
2578
+ :next_token,
2579
+ :max_results)
2580
+ SENSITIVE = []
2581
+ include Aws::Structure
2582
+ end
2583
+
2584
+ # @!attribute [rw] items
2585
+ # The list of commitment modifications associated with the bill
2586
+ # scenario.
2587
+ # @return [Array<Types::BillScenarioCommitmentModificationItem>]
2588
+ #
2589
+ # @!attribute [rw] next_token
2590
+ # A token to retrieve the next page of results, if any.
2591
+ # @return [String]
2592
+ #
2593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenarioCommitmentModificationsResponse AWS API Documentation
2594
+ #
2595
+ class ListBillScenarioCommitmentModificationsResponse < Struct.new(
2596
+ :items,
2597
+ :next_token)
2598
+ SENSITIVE = []
2599
+ include Aws::Structure
2600
+ end
2601
+
2602
+ # @!attribute [rw] bill_scenario_id
2603
+ # The unique identifier of the bill scenario to list usage
2604
+ # modifications for.
2605
+ # @return [String]
2606
+ #
2607
+ # @!attribute [rw] filters
2608
+ # Filters to apply to the list of usage modifications.
2609
+ # @return [Array<Types::ListUsageFilter>]
2610
+ #
2611
+ # @!attribute [rw] next_token
2612
+ # A token to retrieve the next page of results.
2613
+ # @return [String]
2614
+ #
2615
+ # @!attribute [rw] max_results
2616
+ # The maximum number of results to return per page.
2617
+ # @return [Integer]
2618
+ #
2619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenarioUsageModificationsRequest AWS API Documentation
2620
+ #
2621
+ class ListBillScenarioUsageModificationsRequest < Struct.new(
2622
+ :bill_scenario_id,
2623
+ :filters,
2624
+ :next_token,
2625
+ :max_results)
2626
+ SENSITIVE = []
2627
+ include Aws::Structure
2628
+ end
2629
+
2630
+ # @!attribute [rw] items
2631
+ # The list of usage modifications associated with the bill scenario.
2632
+ # @return [Array<Types::BillScenarioUsageModificationItem>]
2633
+ #
2634
+ # @!attribute [rw] next_token
2635
+ # A token to retrieve the next page of results, if any.
2636
+ # @return [String]
2637
+ #
2638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenarioUsageModificationsResponse AWS API Documentation
2639
+ #
2640
+ class ListBillScenarioUsageModificationsResponse < Struct.new(
2641
+ :items,
2642
+ :next_token)
2643
+ SENSITIVE = []
2644
+ include Aws::Structure
2645
+ end
2646
+
2647
+ # Represents a filter for listing bill scenarios.
2648
+ #
2649
+ # @!attribute [rw] name
2650
+ # The name of the filter attribute.
2651
+ # @return [String]
2652
+ #
2653
+ # @!attribute [rw] values
2654
+ # The values to filter by.
2655
+ # @return [Array<String>]
2656
+ #
2657
+ # @!attribute [rw] match_option
2658
+ # The match option for the filter (e.g., equals, contains).
2659
+ # @return [String]
2660
+ #
2661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenariosFilter AWS API Documentation
2662
+ #
2663
+ class ListBillScenariosFilter < Struct.new(
2664
+ :name,
2665
+ :values,
2666
+ :match_option)
2667
+ SENSITIVE = []
2668
+ include Aws::Structure
2669
+ end
2670
+
2671
+ # @!attribute [rw] filters
2672
+ # Filters to apply to the list of bill scenarios.
2673
+ # @return [Array<Types::ListBillScenariosFilter>]
2674
+ #
2675
+ # @!attribute [rw] created_at_filter
2676
+ # Filter bill scenarios based on their creation date.
2677
+ # @return [Types::FilterTimestamp]
2678
+ #
2679
+ # @!attribute [rw] expires_at_filter
2680
+ # Filter bill scenarios based on their expiration date.
2681
+ # @return [Types::FilterTimestamp]
2682
+ #
2683
+ # @!attribute [rw] next_token
2684
+ # A token to retrieve the next page of results.
2685
+ # @return [String]
2686
+ #
2687
+ # @!attribute [rw] max_results
2688
+ # The maximum number of results to return per page.
2689
+ # @return [Integer]
2690
+ #
2691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenariosRequest AWS API Documentation
2692
+ #
2693
+ class ListBillScenariosRequest < Struct.new(
2694
+ :filters,
2695
+ :created_at_filter,
2696
+ :expires_at_filter,
2697
+ :next_token,
2698
+ :max_results)
2699
+ SENSITIVE = []
2700
+ include Aws::Structure
2701
+ end
2702
+
2703
+ # @!attribute [rw] items
2704
+ # The list of bill scenarios for the account.
2705
+ # @return [Array<Types::BillScenarioSummary>]
2706
+ #
2707
+ # @!attribute [rw] next_token
2708
+ # A token to retrieve the next page of results, if any.
2709
+ # @return [String]
2710
+ #
2711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListBillScenariosResponse AWS API Documentation
2712
+ #
2713
+ class ListBillScenariosResponse < Struct.new(
2714
+ :items,
2715
+ :next_token)
2716
+ SENSITIVE = []
2717
+ include Aws::Structure
2718
+ end
2719
+
2720
+ # @!attribute [rw] arn
2721
+ # The Amazon Resource Name (ARN) of the resource to list tags for.
2722
+ # @return [String]
2723
+ #
2724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListTagsForResourceRequest AWS API Documentation
2725
+ #
2726
+ class ListTagsForResourceRequest < Struct.new(
2727
+ :arn)
2728
+ SENSITIVE = []
2729
+ include Aws::Structure
2730
+ end
2731
+
2732
+ # @!attribute [rw] tags
2733
+ # The list of tags associated with the specified resource.
2734
+ # @return [Hash<String,String>]
2735
+ #
2736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListTagsForResourceResponse AWS API Documentation
2737
+ #
2738
+ class ListTagsForResourceResponse < Struct.new(
2739
+ :tags)
2740
+ SENSITIVE = []
2741
+ include Aws::Structure
2742
+ end
2743
+
2744
+ # Represents a filter for listing usage data.
2745
+ #
2746
+ # @!attribute [rw] name
2747
+ # The name of the filter attribute.
2748
+ # @return [String]
2749
+ #
2750
+ # @!attribute [rw] values
2751
+ # The values to filter by.
2752
+ # @return [Array<String>]
2753
+ #
2754
+ # @!attribute [rw] match_option
2755
+ # The match option for the filter (e.g., equals, contains).
2756
+ # @return [String]
2757
+ #
2758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListUsageFilter AWS API Documentation
2759
+ #
2760
+ class ListUsageFilter < Struct.new(
2761
+ :name,
2762
+ :values,
2763
+ :match_option)
2764
+ SENSITIVE = []
2765
+ include Aws::Structure
2766
+ end
2767
+
2768
+ # @!attribute [rw] workload_estimate_id
2769
+ # The unique identifier of the workload estimate to list usage for.
2770
+ # @return [String]
2771
+ #
2772
+ # @!attribute [rw] filters
2773
+ # Filters to apply to the list of usage items.
2774
+ # @return [Array<Types::ListUsageFilter>]
2775
+ #
2776
+ # @!attribute [rw] next_token
2777
+ # A token to retrieve the next page of results.
2778
+ # @return [String]
2779
+ #
2780
+ # @!attribute [rw] max_results
2781
+ # The maximum number of results to return per page.
2782
+ # @return [Integer]
2783
+ #
2784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListWorkloadEstimateUsageRequest AWS API Documentation
2785
+ #
2786
+ class ListWorkloadEstimateUsageRequest < Struct.new(
2787
+ :workload_estimate_id,
2788
+ :filters,
2789
+ :next_token,
2790
+ :max_results)
2791
+ SENSITIVE = []
2792
+ include Aws::Structure
2793
+ end
2794
+
2795
+ # @!attribute [rw] items
2796
+ # The list of usage items associated with the workload estimate.
2797
+ # @return [Array<Types::WorkloadEstimateUsageItem>]
2798
+ #
2799
+ # @!attribute [rw] next_token
2800
+ # A token to retrieve the next page of results, if any.
2801
+ # @return [String]
2802
+ #
2803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListWorkloadEstimateUsageResponse AWS API Documentation
2804
+ #
2805
+ class ListWorkloadEstimateUsageResponse < Struct.new(
2806
+ :items,
2807
+ :next_token)
2808
+ SENSITIVE = []
2809
+ include Aws::Structure
2810
+ end
2811
+
2812
+ # Represents a filter for listing workload estimates.
2813
+ #
2814
+ # @!attribute [rw] name
2815
+ # The name of the filter attribute.
2816
+ # @return [String]
2817
+ #
2818
+ # @!attribute [rw] values
2819
+ # The values to filter by.
2820
+ # @return [Array<String>]
2821
+ #
2822
+ # @!attribute [rw] match_option
2823
+ # The match option for the filter (e.g., equals, contains).
2824
+ # @return [String]
2825
+ #
2826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListWorkloadEstimatesFilter AWS API Documentation
2827
+ #
2828
+ class ListWorkloadEstimatesFilter < Struct.new(
2829
+ :name,
2830
+ :values,
2831
+ :match_option)
2832
+ SENSITIVE = []
2833
+ include Aws::Structure
2834
+ end
2835
+
2836
+ # @!attribute [rw] created_at_filter
2837
+ # Filter workload estimates based on their creation date.
2838
+ # @return [Types::FilterTimestamp]
2839
+ #
2840
+ # @!attribute [rw] expires_at_filter
2841
+ # Filter workload estimates based on their expiration date.
2842
+ # @return [Types::FilterTimestamp]
2843
+ #
2844
+ # @!attribute [rw] filters
2845
+ # Filters to apply to the list of workload estimates.
2846
+ # @return [Array<Types::ListWorkloadEstimatesFilter>]
2847
+ #
2848
+ # @!attribute [rw] next_token
2849
+ # A token to retrieve the next page of results.
2850
+ # @return [String]
2851
+ #
2852
+ # @!attribute [rw] max_results
2853
+ # The maximum number of results to return per page.
2854
+ # @return [Integer]
2855
+ #
2856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListWorkloadEstimatesRequest AWS API Documentation
2857
+ #
2858
+ class ListWorkloadEstimatesRequest < Struct.new(
2859
+ :created_at_filter,
2860
+ :expires_at_filter,
2861
+ :filters,
2862
+ :next_token,
2863
+ :max_results)
2864
+ SENSITIVE = []
2865
+ include Aws::Structure
2866
+ end
2867
+
2868
+ # @!attribute [rw] items
2869
+ # The list of workload estimates for the account.
2870
+ # @return [Array<Types::WorkloadEstimateSummary>]
2871
+ #
2872
+ # @!attribute [rw] next_token
2873
+ # A token to retrieve the next page of results, if any.
2874
+ # @return [String]
2875
+ #
2876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ListWorkloadEstimatesResponse AWS API Documentation
2877
+ #
2878
+ class ListWorkloadEstimatesResponse < Struct.new(
2879
+ :items,
2880
+ :next_token)
2881
+ SENSITIVE = []
2882
+ include Aws::Structure
2883
+ end
2884
+
2885
+ # Represents an action to remove a Reserved Instance from a bill
2886
+ # scenario.
2887
+ #
2888
+ # This is the ID of an existing Reserved Instance in your account.
2889
+ #
2890
+ # @!attribute [rw] reserved_instances_id
2891
+ # The ID of the Reserved Instance to remove.
2892
+ # @return [String]
2893
+ #
2894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/NegateReservedInstanceAction AWS API Documentation
2895
+ #
2896
+ class NegateReservedInstanceAction < Struct.new(
2897
+ :reserved_instances_id)
2898
+ SENSITIVE = []
2899
+ include Aws::Structure
2900
+ end
2901
+
2902
+ # Represents an action to remove a Savings Plan from a bill scenario.
2903
+ #
2904
+ # This is the ID of an existing Savings Plan in your account.
2905
+ #
2906
+ # @!attribute [rw] savings_plan_id
2907
+ # The ID of the Savings Plan to remove.
2908
+ # @return [String]
2909
+ #
2910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/NegateSavingsPlanAction AWS API Documentation
2911
+ #
2912
+ class NegateSavingsPlanAction < Struct.new(
2913
+ :savings_plan_id)
2914
+ SENSITIVE = []
2915
+ include Aws::Structure
2916
+ end
2917
+
2918
+ # The specified resource was not found.
2919
+ #
2920
+ # @!attribute [rw] message
2921
+ # @return [String]
2922
+ #
2923
+ # @!attribute [rw] resource_id
2924
+ # The identifier of the resource that was not found.
2925
+ # @return [String]
2926
+ #
2927
+ # @!attribute [rw] resource_type
2928
+ # The type of the resource that was not found.
2929
+ # @return [String]
2930
+ #
2931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ResourceNotFoundException AWS API Documentation
2932
+ #
2933
+ class ResourceNotFoundException < Struct.new(
2934
+ :message,
2935
+ :resource_id,
2936
+ :resource_type)
2937
+ SENSITIVE = []
2938
+ include Aws::Structure
2939
+ end
2940
+
2941
+ # The request would cause you to exceed your service quota.
2942
+ #
2943
+ # @!attribute [rw] message
2944
+ # @return [String]
2945
+ #
2946
+ # @!attribute [rw] resource_id
2947
+ # The identifier of the resource that exceeded quota.
2948
+ # @return [String]
2949
+ #
2950
+ # @!attribute [rw] resource_type
2951
+ # The type of the resource that exceeded quota.
2952
+ # @return [String]
2953
+ #
2954
+ # @!attribute [rw] service_code
2955
+ # The service code that exceeded quota.
2956
+ # @return [String]
2957
+ #
2958
+ # @!attribute [rw] quota_code
2959
+ # The quota code that was exceeded.
2960
+ # @return [String]
2961
+ #
2962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ServiceQuotaExceededException AWS API Documentation
2963
+ #
2964
+ class ServiceQuotaExceededException < Struct.new(
2965
+ :message,
2966
+ :resource_id,
2967
+ :resource_type,
2968
+ :service_code,
2969
+ :quota_code)
2970
+ SENSITIVE = []
2971
+ include Aws::Structure
2972
+ end
2973
+
2974
+ # @!attribute [rw] arn
2975
+ # The Amazon Resource Name (ARN) of the resource to add tags to.
2976
+ # @return [String]
2977
+ #
2978
+ # @!attribute [rw] tags
2979
+ # The tags to add to the resource.
2980
+ # @return [Hash<String,String>]
2981
+ #
2982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/TagResourceRequest AWS API Documentation
2983
+ #
2984
+ class TagResourceRequest < Struct.new(
2985
+ :arn,
2986
+ :tags)
2987
+ SENSITIVE = []
2988
+ include Aws::Structure
2989
+ end
2990
+
2991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/TagResourceResponse AWS API Documentation
2992
+ #
2993
+ class TagResourceResponse < Aws::EmptyStructure; end
2994
+
2995
+ # The request was denied due to request throttling.
2996
+ #
2997
+ # @!attribute [rw] message
2998
+ # @return [String]
2999
+ #
3000
+ # @!attribute [rw] service_code
3001
+ # The service code that exceeded the throttling limit.
3002
+ # @return [String]
3003
+ #
3004
+ # @!attribute [rw] quota_code
3005
+ # The quota code that exceeded the throttling limit.
3006
+ # @return [String]
3007
+ #
3008
+ # @!attribute [rw] retry_after_seconds
3009
+ # The service code that exceeded the throttling limit. Retry your
3010
+ # request, but if the problem persists, contact Amazon Web Services
3011
+ # support.
3012
+ # @return [Integer]
3013
+ #
3014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ThrottlingException AWS API Documentation
3015
+ #
3016
+ class ThrottlingException < Struct.new(
3017
+ :message,
3018
+ :service_code,
3019
+ :quota_code,
3020
+ :retry_after_seconds)
3021
+ SENSITIVE = []
3022
+ include Aws::Structure
3023
+ end
3024
+
3025
+ # @!attribute [rw] arn
3026
+ # The Amazon Resource Name (ARN) of the resource to remove tags from.
3027
+ # @return [String]
3028
+ #
3029
+ # @!attribute [rw] tag_keys
3030
+ # The keys of the tags to remove from the resource.
3031
+ # @return [Array<String>]
3032
+ #
3033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UntagResourceRequest AWS API Documentation
3034
+ #
3035
+ class UntagResourceRequest < Struct.new(
3036
+ :arn,
3037
+ :tag_keys)
3038
+ SENSITIVE = []
3039
+ include Aws::Structure
3040
+ end
3041
+
3042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UntagResourceResponse AWS API Documentation
3043
+ #
3044
+ class UntagResourceResponse < Aws::EmptyStructure; end
3045
+
3046
+ # @!attribute [rw] identifier
3047
+ # The unique identifier of the bill estimate to update.
3048
+ # @return [String]
3049
+ #
3050
+ # @!attribute [rw] name
3051
+ # The new name for the bill estimate.
3052
+ # @return [String]
3053
+ #
3054
+ # @!attribute [rw] expires_at
3055
+ # The new expiration date for the bill estimate.
3056
+ # @return [Time]
3057
+ #
3058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdateBillEstimateRequest AWS API Documentation
3059
+ #
3060
+ class UpdateBillEstimateRequest < Struct.new(
3061
+ :identifier,
3062
+ :name,
3063
+ :expires_at)
3064
+ SENSITIVE = []
3065
+ include Aws::Structure
3066
+ end
3067
+
3068
+ # @!attribute [rw] id
3069
+ # The unique identifier of the updated bill estimate.
3070
+ # @return [String]
3071
+ #
3072
+ # @!attribute [rw] name
3073
+ # The updated name of the bill estimate.
3074
+ # @return [String]
3075
+ #
3076
+ # @!attribute [rw] status
3077
+ # The current status of the updated bill estimate.
3078
+ # @return [String]
3079
+ #
3080
+ # @!attribute [rw] failure_message
3081
+ # An error message if the bill estimate update failed.
3082
+ # @return [String]
3083
+ #
3084
+ # @!attribute [rw] bill_interval
3085
+ # The time period covered by the updated bill estimate.
3086
+ # @return [Types::BillInterval]
3087
+ #
3088
+ # @!attribute [rw] cost_summary
3089
+ # A summary of the updated estimated costs.
3090
+ # @return [Types::BillEstimateCostSummary]
3091
+ #
3092
+ # @!attribute [rw] created_at
3093
+ # The timestamp when the bill estimate was originally created.
3094
+ # @return [Time]
3095
+ #
3096
+ # @!attribute [rw] expires_at
3097
+ # The updated expiration timestamp for the bill estimate.
3098
+ # @return [Time]
3099
+ #
3100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdateBillEstimateResponse AWS API Documentation
3101
+ #
3102
+ class UpdateBillEstimateResponse < Struct.new(
3103
+ :id,
3104
+ :name,
3105
+ :status,
3106
+ :failure_message,
3107
+ :bill_interval,
3108
+ :cost_summary,
3109
+ :created_at,
3110
+ :expires_at)
3111
+ SENSITIVE = []
3112
+ include Aws::Structure
3113
+ end
3114
+
3115
+ # @!attribute [rw] identifier
3116
+ # The unique identifier of the bill scenario to update.
3117
+ # @return [String]
3118
+ #
3119
+ # @!attribute [rw] name
3120
+ # The new name for the bill scenario.
3121
+ # @return [String]
3122
+ #
3123
+ # @!attribute [rw] expires_at
3124
+ # The new expiration date for the bill scenario.
3125
+ # @return [Time]
3126
+ #
3127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdateBillScenarioRequest AWS API Documentation
3128
+ #
3129
+ class UpdateBillScenarioRequest < Struct.new(
3130
+ :identifier,
3131
+ :name,
3132
+ :expires_at)
3133
+ SENSITIVE = []
3134
+ include Aws::Structure
3135
+ end
3136
+
3137
+ # @!attribute [rw] id
3138
+ # The unique identifier of the updated bill scenario.
3139
+ # @return [String]
3140
+ #
3141
+ # @!attribute [rw] name
3142
+ # The updated name of the bill scenario.
3143
+ # @return [String]
3144
+ #
3145
+ # @!attribute [rw] bill_interval
3146
+ # The time period covered by the updated bill scenario.
3147
+ # @return [Types::BillInterval]
3148
+ #
3149
+ # @!attribute [rw] status
3150
+ # The current status of the updated bill scenario.
3151
+ # @return [String]
3152
+ #
3153
+ # @!attribute [rw] created_at
3154
+ # The timestamp when the bill scenario was originally created.
3155
+ # @return [Time]
3156
+ #
3157
+ # @!attribute [rw] expires_at
3158
+ # The updated expiration timestamp for the bill scenario.
3159
+ # @return [Time]
3160
+ #
3161
+ # @!attribute [rw] failure_message
3162
+ # An error message if the bill scenario update failed.
3163
+ # @return [String]
3164
+ #
3165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdateBillScenarioResponse AWS API Documentation
3166
+ #
3167
+ class UpdateBillScenarioResponse < Struct.new(
3168
+ :id,
3169
+ :name,
3170
+ :bill_interval,
3171
+ :status,
3172
+ :created_at,
3173
+ :expires_at,
3174
+ :failure_message)
3175
+ SENSITIVE = []
3176
+ include Aws::Structure
3177
+ end
3178
+
3179
+ # @!attribute [rw] management_account_rate_type_selections
3180
+ # The updated preferred rate types for the management account.
3181
+ # @return [Array<String>]
3182
+ #
3183
+ # @!attribute [rw] member_account_rate_type_selections
3184
+ # The updated preferred rate types for member accounts.
3185
+ # @return [Array<String>]
3186
+ #
3187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdatePreferencesRequest AWS API Documentation
3188
+ #
3189
+ class UpdatePreferencesRequest < Struct.new(
3190
+ :management_account_rate_type_selections,
3191
+ :member_account_rate_type_selections)
3192
+ SENSITIVE = []
3193
+ include Aws::Structure
3194
+ end
3195
+
3196
+ # @!attribute [rw] management_account_rate_type_selections
3197
+ # The updated preferred rate types for the management account.
3198
+ # @return [Array<String>]
3199
+ #
3200
+ # @!attribute [rw] member_account_rate_type_selections
3201
+ # The updated preferred rate types for member accounts.
3202
+ # @return [Array<String>]
3203
+ #
3204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdatePreferencesResponse AWS API Documentation
3205
+ #
3206
+ class UpdatePreferencesResponse < Struct.new(
3207
+ :management_account_rate_type_selections,
3208
+ :member_account_rate_type_selections)
3209
+ SENSITIVE = []
3210
+ include Aws::Structure
3211
+ end
3212
+
3213
+ # @!attribute [rw] identifier
3214
+ # The unique identifier of the workload estimate to update.
3215
+ # @return [String]
3216
+ #
3217
+ # @!attribute [rw] name
3218
+ # The new name for the workload estimate.
3219
+ # @return [String]
3220
+ #
3221
+ # @!attribute [rw] expires_at
3222
+ # The new expiration date for the workload estimate.
3223
+ # @return [Time]
3224
+ #
3225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdateWorkloadEstimateRequest AWS API Documentation
3226
+ #
3227
+ class UpdateWorkloadEstimateRequest < Struct.new(
3228
+ :identifier,
3229
+ :name,
3230
+ :expires_at)
3231
+ SENSITIVE = []
3232
+ include Aws::Structure
3233
+ end
3234
+
3235
+ # Mixin for common fields returned by CRUD APIs
3236
+ #
3237
+ # @!attribute [rw] id
3238
+ # The unique identifier of the updated workload estimate.
3239
+ # @return [String]
3240
+ #
3241
+ # @!attribute [rw] name
3242
+ # The updated name of the workload estimate.
3243
+ # @return [String]
3244
+ #
3245
+ # @!attribute [rw] created_at
3246
+ # The timestamp when the workload estimate was originally created.
3247
+ # @return [Time]
3248
+ #
3249
+ # @!attribute [rw] expires_at
3250
+ # The updated expiration timestamp for the workload estimate.
3251
+ # @return [Time]
3252
+ #
3253
+ # @!attribute [rw] rate_type
3254
+ # The type of pricing rates used for the updated estimate.
3255
+ # @return [String]
3256
+ #
3257
+ # @!attribute [rw] rate_timestamp
3258
+ # The timestamp of the pricing rates used for the updated estimate.
3259
+ # @return [Time]
3260
+ #
3261
+ # @!attribute [rw] status
3262
+ # The current status of the updated workload estimate.
3263
+ # @return [String]
3264
+ #
3265
+ # @!attribute [rw] total_cost
3266
+ # The updated total estimated cost for the workload.
3267
+ # @return [Float]
3268
+ #
3269
+ # @!attribute [rw] cost_currency
3270
+ # The currency of the updated estimated cost.
3271
+ # @return [String]
3272
+ #
3273
+ # @!attribute [rw] failure_message
3274
+ # An error message if the workload estimate update failed.
3275
+ # @return [String]
3276
+ #
3277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdateWorkloadEstimateResponse AWS API Documentation
3278
+ #
3279
+ class UpdateWorkloadEstimateResponse < Struct.new(
3280
+ :id,
3281
+ :name,
3282
+ :created_at,
3283
+ :expires_at,
3284
+ :rate_type,
3285
+ :rate_timestamp,
3286
+ :status,
3287
+ :total_cost,
3288
+ :cost_currency,
3289
+ :failure_message)
3290
+ SENSITIVE = []
3291
+ include Aws::Structure
3292
+ end
3293
+
3294
+ # Represents a usage amount for a specific time period.
3295
+ #
3296
+ # @!attribute [rw] start_hour
3297
+ # The start hour of the usage period.
3298
+ # @return [Time]
3299
+ #
3300
+ # @!attribute [rw] amount
3301
+ # The usage amount for the period.
3302
+ # @return [Float]
3303
+ #
3304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UsageAmount AWS API Documentation
3305
+ #
3306
+ class UsageAmount < Struct.new(
3307
+ :start_hour,
3308
+ :amount)
3309
+ SENSITIVE = []
3310
+ include Aws::Structure
3311
+ end
3312
+
3313
+ # Represents a usage quantity with associated unit and time period.
3314
+ #
3315
+ # @!attribute [rw] start_hour
3316
+ # The start hour of the usage period.
3317
+ # @return [Time]
3318
+ #
3319
+ # @!attribute [rw] unit
3320
+ # The unit of measurement for the usage quantity.
3321
+ # @return [String]
3322
+ #
3323
+ # @!attribute [rw] amount
3324
+ # The numeric value of the usage quantity.
3325
+ # @return [Float]
3326
+ #
3327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UsageQuantity AWS API Documentation
3328
+ #
3329
+ class UsageQuantity < Struct.new(
3330
+ :start_hour,
3331
+ :unit,
3332
+ :amount)
3333
+ SENSITIVE = []
3334
+ include Aws::Structure
3335
+ end
3336
+
3337
+ # Represents the result of a usage quantity calculation.
3338
+ #
3339
+ # @!attribute [rw] amount
3340
+ # The numeric value of the usage quantity result.
3341
+ # @return [Float]
3342
+ #
3343
+ # @!attribute [rw] unit
3344
+ # The unit of measurement for the usage quantity result.
3345
+ # @return [String]
3346
+ #
3347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UsageQuantityResult AWS API Documentation
3348
+ #
3349
+ class UsageQuantityResult < Struct.new(
3350
+ :amount,
3351
+ :unit)
3352
+ SENSITIVE = []
3353
+ include Aws::Structure
3354
+ end
3355
+
3356
+ # The input provided fails to satisfy the constraints specified by an
3357
+ # Amazon Web Services service.
3358
+ #
3359
+ # @!attribute [rw] message
3360
+ # @return [String]
3361
+ #
3362
+ # @!attribute [rw] reason
3363
+ # The reason for the validation exception.
3364
+ # @return [String]
3365
+ #
3366
+ # @!attribute [rw] field_list
3367
+ # The list of fields that are invalid.
3368
+ # @return [Array<Types::ValidationExceptionField>]
3369
+ #
3370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ValidationException AWS API Documentation
3371
+ #
3372
+ class ValidationException < Struct.new(
3373
+ :message,
3374
+ :reason,
3375
+ :field_list)
3376
+ SENSITIVE = []
3377
+ include Aws::Structure
3378
+ end
3379
+
3380
+ # Represents a field that failed validation in a request.
3381
+ #
3382
+ # @!attribute [rw] name
3383
+ # The name of the field that failed validation.
3384
+ # @return [String]
3385
+ #
3386
+ # @!attribute [rw] message
3387
+ # The error message describing why the field failed validation.
3388
+ # @return [String]
3389
+ #
3390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/ValidationExceptionField AWS API Documentation
3391
+ #
3392
+ class ValidationExceptionField < Struct.new(
3393
+ :name,
3394
+ :message)
3395
+ SENSITIVE = []
3396
+ include Aws::Structure
3397
+ end
3398
+
3399
+ # Provides a summary of a workload estimate.
3400
+ #
3401
+ # @!attribute [rw] id
3402
+ # The unique identifier of the workload estimate.
3403
+ # @return [String]
3404
+ #
3405
+ # @!attribute [rw] name
3406
+ # The name of the workload estimate.
3407
+ # @return [String]
3408
+ #
3409
+ # @!attribute [rw] created_at
3410
+ # The timestamp when the workload estimate was created.
3411
+ # @return [Time]
3412
+ #
3413
+ # @!attribute [rw] expires_at
3414
+ # The timestamp when the workload estimate will expire.
3415
+ # @return [Time]
3416
+ #
3417
+ # @!attribute [rw] rate_type
3418
+ # The type of pricing rates used for the estimate.
3419
+ # @return [String]
3420
+ #
3421
+ # @!attribute [rw] rate_timestamp
3422
+ # The timestamp of the pricing rates used for the estimate.
3423
+ # @return [Time]
3424
+ #
3425
+ # @!attribute [rw] status
3426
+ # The current status of the workload estimate.
3427
+ # @return [String]
3428
+ #
3429
+ # @!attribute [rw] total_cost
3430
+ # The total estimated cost for the workload.
3431
+ # @return [Float]
3432
+ #
3433
+ # @!attribute [rw] cost_currency
3434
+ # The currency of the estimated cost.
3435
+ # @return [String]
3436
+ #
3437
+ # @!attribute [rw] failure_message
3438
+ # An error message if the workload estimate creation or processing
3439
+ # failed.
3440
+ # @return [String]
3441
+ #
3442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/WorkloadEstimateSummary AWS API Documentation
3443
+ #
3444
+ class WorkloadEstimateSummary < Struct.new(
3445
+ :id,
3446
+ :name,
3447
+ :created_at,
3448
+ :expires_at,
3449
+ :rate_type,
3450
+ :rate_timestamp,
3451
+ :status,
3452
+ :total_cost,
3453
+ :cost_currency,
3454
+ :failure_message)
3455
+ SENSITIVE = []
3456
+ include Aws::Structure
3457
+ end
3458
+
3459
+ # Represents a usage item in a workload estimate.
3460
+ #
3461
+ # @!attribute [rw] service_code
3462
+ # The Amazon Web Services service code associated with this usage
3463
+ # item.
3464
+ # @return [String]
3465
+ #
3466
+ # @!attribute [rw] usage_type
3467
+ # The type of usage for this item.
3468
+ # @return [String]
3469
+ #
3470
+ # @!attribute [rw] operation
3471
+ # The specific operation associated with this usage item.
3472
+ # @return [String]
3473
+ #
3474
+ # @!attribute [rw] location
3475
+ # The location associated with this usage item.
3476
+ # @return [String]
3477
+ #
3478
+ # @!attribute [rw] id
3479
+ # The unique identifier of this usage item.
3480
+ # @return [String]
3481
+ #
3482
+ # @!attribute [rw] usage_account_id
3483
+ # The Amazon Web Services account ID associated with this usage item.
3484
+ # @return [String]
3485
+ #
3486
+ # @!attribute [rw] group
3487
+ # The group identifier for this usage item.
3488
+ # @return [String]
3489
+ #
3490
+ # @!attribute [rw] quantity
3491
+ # The estimated usage quantity for this item.
3492
+ # @return [Types::WorkloadEstimateUsageQuantity]
3493
+ #
3494
+ # @!attribute [rw] cost
3495
+ # The estimated cost for this usage item.
3496
+ # @return [Float]
3497
+ #
3498
+ # @!attribute [rw] currency
3499
+ # The currency of the estimated cost.
3500
+ # @return [String]
3501
+ #
3502
+ # @!attribute [rw] status
3503
+ # The current status of this usage item.
3504
+ # @return [String]
3505
+ #
3506
+ # @!attribute [rw] historical_usage
3507
+ # Historical usage data associated with this item, if available.
3508
+ # @return [Types::HistoricalUsageEntity]
3509
+ #
3510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/WorkloadEstimateUsageItem AWS API Documentation
3511
+ #
3512
+ class WorkloadEstimateUsageItem < Struct.new(
3513
+ :service_code,
3514
+ :usage_type,
3515
+ :operation,
3516
+ :location,
3517
+ :id,
3518
+ :usage_account_id,
3519
+ :group,
3520
+ :quantity,
3521
+ :cost,
3522
+ :currency,
3523
+ :status,
3524
+ :historical_usage)
3525
+ SENSITIVE = []
3526
+ include Aws::Structure
3527
+ end
3528
+
3529
+ # Represents a usage quantity for a workload estimate.
3530
+ #
3531
+ # @!attribute [rw] unit
3532
+ # The unit of measurement for the usage quantity.
3533
+ # @return [String]
3534
+ #
3535
+ # @!attribute [rw] amount
3536
+ # The numeric value of the usage quantity.
3537
+ # @return [Float]
3538
+ #
3539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/WorkloadEstimateUsageQuantity AWS API Documentation
3540
+ #
3541
+ class WorkloadEstimateUsageQuantity < Struct.new(
3542
+ :unit,
3543
+ :amount)
3544
+ SENSITIVE = []
3545
+ include Aws::Structure
3546
+ end
3547
+
3548
+ end
3549
+ end
3550
+