aws-sdk-budgets 1.50.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,14 +132,6 @@ module Aws::Budgets
132
132
 
133
133
  # The trigger threshold of the action.
134
134
  #
135
- # @note When making an API call, you may pass ActionThreshold
136
- # data as a hash:
137
- #
138
- # {
139
- # action_threshold_value: 1.0, # required
140
- # action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
141
- # }
142
- #
143
135
  # @!attribute [rw] action_threshold_value
144
136
  # The threshold of a notification.
145
137
  # @return [Float]
@@ -158,18 +150,6 @@ module Aws::Budgets
158
150
  # The parameters that determine the budget amount for an auto-adjusting
159
151
  # budget.
160
152
  #
161
- # @note When making an API call, you may pass AutoAdjustData
162
- # data as a hash:
163
- #
164
- # {
165
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
166
- # historical_options: {
167
- # budget_adjustment_period: 1, # required
168
- # look_back_available_periods: 1,
169
- # },
170
- # last_auto_adjust_time: Time.now,
171
- # }
172
- #
173
153
  # @!attribute [rw] auto_adjust_type
174
154
  # The string that defines whether your budget auto-adjusts based on
175
155
  # historical or forecasted data.
@@ -200,64 +180,6 @@ module Aws::Budgets
200
180
  #
201
181
  # `arn:aws:budgets::AccountId:budget/budgetName`
202
182
  #
203
- # @note When making an API call, you may pass Budget
204
- # data as a hash:
205
- #
206
- # {
207
- # budget_name: "BudgetName", # required
208
- # budget_limit: {
209
- # amount: "NumericValue", # required
210
- # unit: "UnitValue", # required
211
- # },
212
- # planned_budget_limits: {
213
- # "GenericString" => {
214
- # amount: "NumericValue", # required
215
- # unit: "UnitValue", # required
216
- # },
217
- # },
218
- # cost_filters: {
219
- # "GenericString" => ["DimensionValue"],
220
- # },
221
- # cost_types: {
222
- # include_tax: false,
223
- # include_subscription: false,
224
- # use_blended: false,
225
- # include_refund: false,
226
- # include_credit: false,
227
- # include_upfront: false,
228
- # include_recurring: false,
229
- # include_other_subscription: false,
230
- # include_support: false,
231
- # include_discount: false,
232
- # use_amortized: false,
233
- # },
234
- # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
235
- # time_period: {
236
- # start: Time.now,
237
- # end: Time.now,
238
- # },
239
- # calculated_spend: {
240
- # actual_spend: { # required
241
- # amount: "NumericValue", # required
242
- # unit: "UnitValue", # required
243
- # },
244
- # forecasted_spend: {
245
- # amount: "NumericValue", # required
246
- # unit: "UnitValue", # required
247
- # },
248
- # },
249
- # budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
250
- # last_updated_time: Time.now,
251
- # auto_adjust_data: {
252
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
253
- # historical_options: {
254
- # budget_adjustment_period: 1, # required
255
- # look_back_available_periods: 1,
256
- # },
257
- # last_auto_adjust_time: Time.now,
258
- # },
259
- # }
260
- #
261
183
  # @!attribute [rw] budget_name
262
184
  # The name of a budget. The name must be unique within an account. The
263
185
  # `:` and `` characters aren't allowed in `BudgetName`.
@@ -497,20 +419,6 @@ module Aws::Budgets
497
419
  # dollars on Amazon EC2, your `actualSpend` is `50 USD`, and your
498
420
  # `forecastedSpend` is `75 USD`.
499
421
  #
500
- # @note When making an API call, you may pass CalculatedSpend
501
- # data as a hash:
502
- #
503
- # {
504
- # actual_spend: { # required
505
- # amount: "NumericValue", # required
506
- # unit: "UnitValue", # required
507
- # },
508
- # forecasted_spend: {
509
- # amount: "NumericValue", # required
510
- # unit: "UnitValue", # required
511
- # },
512
- # }
513
- #
514
422
  # @!attribute [rw] actual_spend
515
423
  # The amount of cost, usage, RI units, or Savings Plans units that you
516
424
  # used.
@@ -534,23 +442,6 @@ module Aws::Budgets
534
442
  # `USAGE`, `RI_UTILIZATION`, `RI_COVERAGE`, `SAVINGS_PLANS_UTILIZATION`,
535
443
  # and `SAVINGS_PLANS_COVERAGE` budgets don't have `CostTypes`.
536
444
  #
537
- # @note When making an API call, you may pass CostTypes
538
- # data as a hash:
539
- #
540
- # {
541
- # include_tax: false,
542
- # include_subscription: false,
543
- # use_blended: false,
544
- # include_refund: false,
545
- # include_credit: false,
546
- # include_upfront: false,
547
- # include_recurring: false,
548
- # include_other_subscription: false,
549
- # include_support: false,
550
- # include_discount: false,
551
- # use_amortized: false,
552
- # }
553
- #
554
445
  # @!attribute [rw] include_tax
555
446
  # Specifies whether a budget includes taxes.
556
447
  #
@@ -634,45 +525,6 @@ module Aws::Budgets
634
525
  include Aws::Structure
635
526
  end
636
527
 
637
- # @note When making an API call, you may pass CreateBudgetActionRequest
638
- # data as a hash:
639
- #
640
- # {
641
- # account_id: "AccountId", # required
642
- # budget_name: "BudgetName", # required
643
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
644
- # action_type: "APPLY_IAM_POLICY", # required, accepts APPLY_IAM_POLICY, APPLY_SCP_POLICY, RUN_SSM_DOCUMENTS
645
- # action_threshold: { # required
646
- # action_threshold_value: 1.0, # required
647
- # action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
648
- # },
649
- # definition: { # required
650
- # iam_action_definition: {
651
- # policy_arn: "PolicyArn", # required
652
- # roles: ["Role"],
653
- # groups: ["Group"],
654
- # users: ["User"],
655
- # },
656
- # scp_action_definition: {
657
- # policy_id: "PolicyId", # required
658
- # target_ids: ["TargetId"], # required
659
- # },
660
- # ssm_action_definition: {
661
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
662
- # region: "Region", # required
663
- # instance_ids: ["InstanceId"], # required
664
- # },
665
- # },
666
- # execution_role_arn: "RoleArn", # required
667
- # approval_model: "AUTOMATIC", # required, accepts AUTOMATIC, MANUAL
668
- # subscribers: [ # required
669
- # {
670
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
671
- # address: "SubscriberAddress", # required
672
- # },
673
- # ],
674
- # }
675
- #
676
528
  # @!attribute [rw] account_id
677
529
  # The account ID of the user. It's a 12-digit number.
678
530
  # @return [String]
@@ -751,84 +603,6 @@ module Aws::Budgets
751
603
 
752
604
  # Request of CreateBudget
753
605
  #
754
- # @note When making an API call, you may pass CreateBudgetRequest
755
- # data as a hash:
756
- #
757
- # {
758
- # account_id: "AccountId", # required
759
- # budget: { # required
760
- # budget_name: "BudgetName", # required
761
- # budget_limit: {
762
- # amount: "NumericValue", # required
763
- # unit: "UnitValue", # required
764
- # },
765
- # planned_budget_limits: {
766
- # "GenericString" => {
767
- # amount: "NumericValue", # required
768
- # unit: "UnitValue", # required
769
- # },
770
- # },
771
- # cost_filters: {
772
- # "GenericString" => ["DimensionValue"],
773
- # },
774
- # cost_types: {
775
- # include_tax: false,
776
- # include_subscription: false,
777
- # use_blended: false,
778
- # include_refund: false,
779
- # include_credit: false,
780
- # include_upfront: false,
781
- # include_recurring: false,
782
- # include_other_subscription: false,
783
- # include_support: false,
784
- # include_discount: false,
785
- # use_amortized: false,
786
- # },
787
- # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
788
- # time_period: {
789
- # start: Time.now,
790
- # end: Time.now,
791
- # },
792
- # calculated_spend: {
793
- # actual_spend: { # required
794
- # amount: "NumericValue", # required
795
- # unit: "UnitValue", # required
796
- # },
797
- # forecasted_spend: {
798
- # amount: "NumericValue", # required
799
- # unit: "UnitValue", # required
800
- # },
801
- # },
802
- # budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
803
- # last_updated_time: Time.now,
804
- # auto_adjust_data: {
805
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
806
- # historical_options: {
807
- # budget_adjustment_period: 1, # required
808
- # look_back_available_periods: 1,
809
- # },
810
- # last_auto_adjust_time: Time.now,
811
- # },
812
- # },
813
- # notifications_with_subscribers: [
814
- # {
815
- # notification: { # required
816
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
817
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
818
- # threshold: 1.0, # required
819
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
820
- # notification_state: "OK", # accepts OK, ALARM
821
- # },
822
- # subscribers: [ # required
823
- # {
824
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
825
- # address: "SubscriberAddress", # required
826
- # },
827
- # ],
828
- # },
829
- # ],
830
- # }
831
- #
832
606
  # @!attribute [rw] account_id
833
607
  # The `accountId` that is associated with the budget.
834
608
  # @return [String]
@@ -859,27 +633,6 @@ module Aws::Budgets
859
633
 
860
634
  # Request of CreateNotification
861
635
  #
862
- # @note When making an API call, you may pass CreateNotificationRequest
863
- # data as a hash:
864
- #
865
- # {
866
- # account_id: "AccountId", # required
867
- # budget_name: "BudgetName", # required
868
- # notification: { # required
869
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
870
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
871
- # threshold: 1.0, # required
872
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
873
- # notification_state: "OK", # accepts OK, ALARM
874
- # },
875
- # subscribers: [ # required
876
- # {
877
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
878
- # address: "SubscriberAddress", # required
879
- # },
880
- # ],
881
- # }
882
- #
883
636
  # @!attribute [rw] account_id
884
637
  # The `accountId` that is associated with the budget that you want to
885
638
  # create a notification for.
@@ -915,25 +668,6 @@ module Aws::Budgets
915
668
 
916
669
  # Request of CreateSubscriber
917
670
  #
918
- # @note When making an API call, you may pass CreateSubscriberRequest
919
- # data as a hash:
920
- #
921
- # {
922
- # account_id: "AccountId", # required
923
- # budget_name: "BudgetName", # required
924
- # notification: { # required
925
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
926
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
927
- # threshold: 1.0, # required
928
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
929
- # notification_state: "OK", # accepts OK, ALARM
930
- # },
931
- # subscriber: { # required
932
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
933
- # address: "SubscriberAddress", # required
934
- # },
935
- # }
936
- #
937
671
  # @!attribute [rw] account_id
938
672
  # The `accountId` that is associated with the budget that you want to
939
673
  # create a subscriber for.
@@ -980,27 +714,6 @@ module Aws::Budgets
980
714
 
981
715
  # Specifies all of the type-specific parameters.
982
716
  #
983
- # @note When making an API call, you may pass Definition
984
- # data as a hash:
985
- #
986
- # {
987
- # iam_action_definition: {
988
- # policy_arn: "PolicyArn", # required
989
- # roles: ["Role"],
990
- # groups: ["Group"],
991
- # users: ["User"],
992
- # },
993
- # scp_action_definition: {
994
- # policy_id: "PolicyId", # required
995
- # target_ids: ["TargetId"], # required
996
- # },
997
- # ssm_action_definition: {
998
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
999
- # region: "Region", # required
1000
- # instance_ids: ["InstanceId"], # required
1001
- # },
1002
- # }
1003
- #
1004
717
  # @!attribute [rw] iam_action_definition
1005
718
  # The Identity and Access Management (IAM) action definition details.
1006
719
  # @return [Types::IamActionDefinition]
@@ -1022,15 +735,6 @@ module Aws::Budgets
1022
735
  include Aws::Structure
1023
736
  end
1024
737
 
1025
- # @note When making an API call, you may pass DeleteBudgetActionRequest
1026
- # data as a hash:
1027
- #
1028
- # {
1029
- # account_id: "AccountId", # required
1030
- # budget_name: "BudgetName", # required
1031
- # action_id: "ActionId", # required
1032
- # }
1033
- #
1034
738
  # @!attribute [rw] account_id
1035
739
  # The account ID of the user. It's a 12-digit number.
1036
740
  # @return [String]
@@ -1076,14 +780,6 @@ module Aws::Budgets
1076
780
 
1077
781
  # Request of DeleteBudget
1078
782
  #
1079
- # @note When making an API call, you may pass DeleteBudgetRequest
1080
- # data as a hash:
1081
- #
1082
- # {
1083
- # account_id: "AccountId", # required
1084
- # budget_name: "BudgetName", # required
1085
- # }
1086
- #
1087
783
  # @!attribute [rw] account_id
1088
784
  # The `accountId` that is associated with the budget that you want to
1089
785
  # delete.
@@ -1106,21 +802,6 @@ module Aws::Budgets
1106
802
 
1107
803
  # Request of DeleteNotification
1108
804
  #
1109
- # @note When making an API call, you may pass DeleteNotificationRequest
1110
- # data as a hash:
1111
- #
1112
- # {
1113
- # account_id: "AccountId", # required
1114
- # budget_name: "BudgetName", # required
1115
- # notification: { # required
1116
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1117
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
1118
- # threshold: 1.0, # required
1119
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
1120
- # notification_state: "OK", # accepts OK, ALARM
1121
- # },
1122
- # }
1123
- #
1124
805
  # @!attribute [rw] account_id
1125
806
  # The `accountId` that is associated with the budget whose
1126
807
  # notification you want to delete.
@@ -1148,25 +829,6 @@ module Aws::Budgets
1148
829
 
1149
830
  # Request of DeleteSubscriber
1150
831
  #
1151
- # @note When making an API call, you may pass DeleteSubscriberRequest
1152
- # data as a hash:
1153
- #
1154
- # {
1155
- # account_id: "AccountId", # required
1156
- # budget_name: "BudgetName", # required
1157
- # notification: { # required
1158
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1159
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
1160
- # threshold: 1.0, # required
1161
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
1162
- # notification_state: "OK", # accepts OK, ALARM
1163
- # },
1164
- # subscriber: { # required
1165
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
1166
- # address: "SubscriberAddress", # required
1167
- # },
1168
- # }
1169
- #
1170
832
  # @!attribute [rw] account_id
1171
833
  # The `accountId` that is associated with the budget whose subscriber
1172
834
  # you want to delete.
@@ -1197,21 +859,6 @@ module Aws::Budgets
1197
859
  #
1198
860
  class DeleteSubscriberResponse < Aws::EmptyStructure; end
1199
861
 
1200
- # @note When making an API call, you may pass DescribeBudgetActionHistoriesRequest
1201
- # data as a hash:
1202
- #
1203
- # {
1204
- # account_id: "AccountId", # required
1205
- # budget_name: "BudgetName", # required
1206
- # action_id: "ActionId", # required
1207
- # time_period: {
1208
- # start: Time.now,
1209
- # end: Time.now,
1210
- # },
1211
- # max_results: 1,
1212
- # next_token: "GenericString",
1213
- # }
1214
- #
1215
862
  # @!attribute [rw] account_id
1216
863
  # The account ID of the user. It's a 12-digit number.
1217
864
  # @return [String]
@@ -1267,15 +914,6 @@ module Aws::Budgets
1267
914
  include Aws::Structure
1268
915
  end
1269
916
 
1270
- # @note When making an API call, you may pass DescribeBudgetActionRequest
1271
- # data as a hash:
1272
- #
1273
- # {
1274
- # account_id: "AccountId", # required
1275
- # budget_name: "BudgetName", # required
1276
- # action_id: "ActionId", # required
1277
- # }
1278
- #
1279
917
  # @!attribute [rw] account_id
1280
918
  # The account ID of the user. It's a 12-digit number.
1281
919
  # @return [String]
@@ -1319,15 +957,6 @@ module Aws::Budgets
1319
957
  include Aws::Structure
1320
958
  end
1321
959
 
1322
- # @note When making an API call, you may pass DescribeBudgetActionsForAccountRequest
1323
- # data as a hash:
1324
- #
1325
- # {
1326
- # account_id: "AccountId", # required
1327
- # max_results: 1,
1328
- # next_token: "GenericString",
1329
- # }
1330
- #
1331
960
  # @!attribute [rw] account_id
1332
961
  # The account ID of the user. It's a 12-digit number.
1333
962
  # @return [String]
@@ -1364,16 +993,6 @@ module Aws::Budgets
1364
993
  include Aws::Structure
1365
994
  end
1366
995
 
1367
- # @note When making an API call, you may pass DescribeBudgetActionsForBudgetRequest
1368
- # data as a hash:
1369
- #
1370
- # {
1371
- # account_id: "AccountId", # required
1372
- # budget_name: "BudgetName", # required
1373
- # max_results: 1,
1374
- # next_token: "GenericString",
1375
- # }
1376
- #
1377
996
  # @!attribute [rw] account_id
1378
997
  # The account ID of the user. It's a 12-digit number.
1379
998
  # @return [String]
@@ -1416,15 +1035,6 @@ module Aws::Budgets
1416
1035
  include Aws::Structure
1417
1036
  end
1418
1037
 
1419
- # @note When making an API call, you may pass DescribeBudgetNotificationsForAccountRequest
1420
- # data as a hash:
1421
- #
1422
- # {
1423
- # account_id: "AccountId", # required
1424
- # max_results: 1,
1425
- # next_token: "GenericString",
1426
- # }
1427
- #
1428
1038
  # @!attribute [rw] account_id
1429
1039
  # The account ID of the user. It's a 12-digit number.
1430
1040
  # @return [String]
@@ -1461,20 +1071,6 @@ module Aws::Budgets
1461
1071
  include Aws::Structure
1462
1072
  end
1463
1073
 
1464
- # @note When making an API call, you may pass DescribeBudgetPerformanceHistoryRequest
1465
- # data as a hash:
1466
- #
1467
- # {
1468
- # account_id: "AccountId", # required
1469
- # budget_name: "BudgetName", # required
1470
- # time_period: {
1471
- # start: Time.now,
1472
- # end: Time.now,
1473
- # },
1474
- # max_results: 1,
1475
- # next_token: "GenericString",
1476
- # }
1477
- #
1478
1074
  # @!attribute [rw] account_id
1479
1075
  # The account ID of the user. It's a 12-digit number.
1480
1076
  # @return [String]
@@ -1531,14 +1127,6 @@ module Aws::Budgets
1531
1127
 
1532
1128
  # Request of DescribeBudget
1533
1129
  #
1534
- # @note When making an API call, you may pass DescribeBudgetRequest
1535
- # data as a hash:
1536
- #
1537
- # {
1538
- # account_id: "AccountId", # required
1539
- # budget_name: "BudgetName", # required
1540
- # }
1541
- #
1542
1130
  # @!attribute [rw] account_id
1543
1131
  # The `accountId` that is associated with the budget that you want a
1544
1132
  # description of.
@@ -1569,15 +1157,6 @@ module Aws::Budgets
1569
1157
 
1570
1158
  # Request of DescribeBudgets
1571
1159
  #
1572
- # @note When making an API call, you may pass DescribeBudgetsRequest
1573
- # data as a hash:
1574
- #
1575
- # {
1576
- # account_id: "AccountId", # required
1577
- # max_results: 1,
1578
- # next_token: "GenericString",
1579
- # }
1580
- #
1581
1160
  # @!attribute [rw] account_id
1582
1161
  # The `accountId` that is associated with the budgets that you want
1583
1162
  # descriptions of.
@@ -1621,16 +1200,6 @@ module Aws::Budgets
1621
1200
 
1622
1201
  # Request of DescribeNotificationsForBudget
1623
1202
  #
1624
- # @note When making an API call, you may pass DescribeNotificationsForBudgetRequest
1625
- # data as a hash:
1626
- #
1627
- # {
1628
- # account_id: "AccountId", # required
1629
- # budget_name: "BudgetName", # required
1630
- # max_results: 1,
1631
- # next_token: "GenericString",
1632
- # }
1633
- #
1634
1203
  # @!attribute [rw] account_id
1635
1204
  # The `accountId` that is associated with the budget whose
1636
1205
  # notifications you want descriptions of.
@@ -1679,23 +1248,6 @@ module Aws::Budgets
1679
1248
 
1680
1249
  # Request of DescribeSubscribersForNotification
1681
1250
  #
1682
- # @note When making an API call, you may pass DescribeSubscribersForNotificationRequest
1683
- # data as a hash:
1684
- #
1685
- # {
1686
- # account_id: "AccountId", # required
1687
- # budget_name: "BudgetName", # required
1688
- # notification: { # required
1689
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1690
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
1691
- # threshold: 1.0, # required
1692
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
1693
- # notification_state: "OK", # accepts OK, ALARM
1694
- # },
1695
- # max_results: 1,
1696
- # next_token: "GenericString",
1697
- # }
1698
- #
1699
1251
  # @!attribute [rw] account_id
1700
1252
  # The `accountId` that is associated with the budget whose subscribers
1701
1253
  # you want descriptions of.
@@ -1760,16 +1312,6 @@ module Aws::Budgets
1760
1312
  include Aws::Structure
1761
1313
  end
1762
1314
 
1763
- # @note When making an API call, you may pass ExecuteBudgetActionRequest
1764
- # data as a hash:
1765
- #
1766
- # {
1767
- # account_id: "AccountId", # required
1768
- # budget_name: "BudgetName", # required
1769
- # action_id: "ActionId", # required
1770
- # execution_type: "APPROVE_BUDGET_ACTION", # required, accepts APPROVE_BUDGET_ACTION, RETRY_BUDGET_ACTION, REVERSE_BUDGET_ACTION, RESET_BUDGET_ACTION
1771
- # }
1772
- #
1773
1315
  # @!attribute [rw] account_id
1774
1316
  # The account ID of the user. It's a 12-digit number.
1775
1317
  # @return [String]
@@ -1839,14 +1381,6 @@ module Aws::Budgets
1839
1381
  # The parameters that define or describe the historical data that your
1840
1382
  # auto-adjusting budget is based on.
1841
1383
  #
1842
- # @note When making an API call, you may pass HistoricalOptions
1843
- # data as a hash:
1844
- #
1845
- # {
1846
- # budget_adjustment_period: 1, # required
1847
- # look_back_available_periods: 1,
1848
- # }
1849
- #
1850
1384
  # @!attribute [rw] budget_adjustment_period
1851
1385
  # The number of budget periods included in the moving-average
1852
1386
  # calculation that determines your auto-adjusted budget amount. The
@@ -1887,16 +1421,6 @@ module Aws::Budgets
1887
1421
 
1888
1422
  # The Identity and Access Management (IAM) action definition details.
1889
1423
  #
1890
- # @note When making an API call, you may pass IamActionDefinition
1891
- # data as a hash:
1892
- #
1893
- # {
1894
- # policy_arn: "PolicyArn", # required
1895
- # roles: ["Role"],
1896
- # groups: ["Group"],
1897
- # users: ["User"],
1898
- # }
1899
- #
1900
1424
  # @!attribute [rw] policy_arn
1901
1425
  # The Amazon Resource Name (ARN) of the policy to be attached.
1902
1426
  # @return [String]
@@ -1991,17 +1515,6 @@ module Aws::Budgets
1991
1515
  #
1992
1516
  # * A notification `threshold` of `80`
1993
1517
  #
1994
- # @note When making an API call, you may pass Notification
1995
- # data as a hash:
1996
- #
1997
- # {
1998
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
1999
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2000
- # threshold: 1.0, # required
2001
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2002
- # notification_state: "OK", # accepts OK, ALARM
2003
- # }
2004
- #
2005
1518
  # @!attribute [rw] notification_type
2006
1519
  # Specifies whether the notification is for how much you have spent
2007
1520
  # (`ACTUAL`) or for how much that you're forecasted to spend
@@ -2050,25 +1563,6 @@ module Aws::Budgets
2050
1563
  # subscriber and up to 10 email subscribers, for a total of 11
2051
1564
  # subscribers.
2052
1565
  #
2053
- # @note When making an API call, you may pass NotificationWithSubscribers
2054
- # data as a hash:
2055
- #
2056
- # {
2057
- # notification: { # required
2058
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2059
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2060
- # threshold: 1.0, # required
2061
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2062
- # notification_state: "OK", # accepts OK, ALARM
2063
- # },
2064
- # subscribers: [ # required
2065
- # {
2066
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2067
- # address: "SubscriberAddress", # required
2068
- # },
2069
- # ],
2070
- # }
2071
- #
2072
1566
  # @!attribute [rw] notification
2073
1567
  # The notification that's associated with a budget.
2074
1568
  # @return [Types::Notification]
@@ -2099,14 +1593,6 @@ module Aws::Budgets
2099
1593
 
2100
1594
  # The service control policies (SCP) action definition details.
2101
1595
  #
2102
- # @note When making an API call, you may pass ScpActionDefinition
2103
- # data as a hash:
2104
- #
2105
- # {
2106
- # policy_id: "PolicyId", # required
2107
- # target_ids: ["TargetId"], # required
2108
- # }
2109
- #
2110
1596
  # @!attribute [rw] policy_id
2111
1597
  # The policy ID attached.
2112
1598
  # @return [String]
@@ -2131,14 +1617,6 @@ module Aws::Budgets
2131
1617
  #
2132
1618
  # * A `unit` of `GB`
2133
1619
  #
2134
- # @note When making an API call, you may pass Spend
2135
- # data as a hash:
2136
- #
2137
- # {
2138
- # amount: "NumericValue", # required
2139
- # unit: "UnitValue", # required
2140
- # }
2141
- #
2142
1620
  # @!attribute [rw] amount
2143
1621
  # The cost or usage amount that's associated with a budget forecast,
2144
1622
  # actual spend, or budget threshold.
@@ -2159,15 +1637,6 @@ module Aws::Budgets
2159
1637
  # The Amazon Web Services Systems Manager (SSM) action definition
2160
1638
  # details.
2161
1639
  #
2162
- # @note When making an API call, you may pass SsmActionDefinition
2163
- # data as a hash:
2164
- #
2165
- # {
2166
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
2167
- # region: "Region", # required
2168
- # instance_ids: ["InstanceId"], # required
2169
- # }
2170
- #
2171
1640
  # @!attribute [rw] action_sub_type
2172
1641
  # The action subType.
2173
1642
  # @return [String]
@@ -2197,14 +1666,6 @@ module Aws::Budgets
2197
1666
  #
2198
1667
  # * An `address` of `example@example.com`
2199
1668
  #
2200
- # @note When making an API call, you may pass Subscriber
2201
- # data as a hash:
2202
- #
2203
- # {
2204
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2205
- # address: "SubscriberAddress", # required
2206
- # }
2207
- #
2208
1669
  # @!attribute [rw] subscription_type
2209
1670
  # The type of notification that Amazon Web Services sends to a
2210
1671
  # subscriber.
@@ -2242,14 +1703,6 @@ module Aws::Budgets
2242
1703
  # date and an end date. The start date must come before the end date.
2243
1704
  # There are no restrictions on the end date.
2244
1705
  #
2245
- # @note When making an API call, you may pass TimePeriod
2246
- # data as a hash:
2247
- #
2248
- # {
2249
- # start: Time.now,
2250
- # end: Time.now,
2251
- # }
2252
- #
2253
1706
  # @!attribute [rw] start
2254
1707
  # The start date for a budget. If you created your budget and didn't
2255
1708
  # specify a start date, Amazon Web Services defaults to the start of
@@ -2282,45 +1735,6 @@ module Aws::Budgets
2282
1735
  include Aws::Structure
2283
1736
  end
2284
1737
 
2285
- # @note When making an API call, you may pass UpdateBudgetActionRequest
2286
- # data as a hash:
2287
- #
2288
- # {
2289
- # account_id: "AccountId", # required
2290
- # budget_name: "BudgetName", # required
2291
- # action_id: "ActionId", # required
2292
- # notification_type: "ACTUAL", # accepts ACTUAL, FORECASTED
2293
- # action_threshold: {
2294
- # action_threshold_value: 1.0, # required
2295
- # action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
2296
- # },
2297
- # definition: {
2298
- # iam_action_definition: {
2299
- # policy_arn: "PolicyArn", # required
2300
- # roles: ["Role"],
2301
- # groups: ["Group"],
2302
- # users: ["User"],
2303
- # },
2304
- # scp_action_definition: {
2305
- # policy_id: "PolicyId", # required
2306
- # target_ids: ["TargetId"], # required
2307
- # },
2308
- # ssm_action_definition: {
2309
- # action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
2310
- # region: "Region", # required
2311
- # instance_ids: ["InstanceId"], # required
2312
- # },
2313
- # },
2314
- # execution_role_arn: "RoleArn",
2315
- # approval_model: "AUTOMATIC", # accepts AUTOMATIC, MANUAL
2316
- # subscribers: [
2317
- # {
2318
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2319
- # address: "SubscriberAddress", # required
2320
- # },
2321
- # ],
2322
- # }
2323
- #
2324
1738
  # @!attribute [rw] account_id
2325
1739
  # The account ID of the user. It's a 12-digit number.
2326
1740
  # @return [String]
@@ -2402,67 +1816,6 @@ module Aws::Budgets
2402
1816
 
2403
1817
  # Request of UpdateBudget
2404
1818
  #
2405
- # @note When making an API call, you may pass UpdateBudgetRequest
2406
- # data as a hash:
2407
- #
2408
- # {
2409
- # account_id: "AccountId", # required
2410
- # new_budget: { # required
2411
- # budget_name: "BudgetName", # required
2412
- # budget_limit: {
2413
- # amount: "NumericValue", # required
2414
- # unit: "UnitValue", # required
2415
- # },
2416
- # planned_budget_limits: {
2417
- # "GenericString" => {
2418
- # amount: "NumericValue", # required
2419
- # unit: "UnitValue", # required
2420
- # },
2421
- # },
2422
- # cost_filters: {
2423
- # "GenericString" => ["DimensionValue"],
2424
- # },
2425
- # cost_types: {
2426
- # include_tax: false,
2427
- # include_subscription: false,
2428
- # use_blended: false,
2429
- # include_refund: false,
2430
- # include_credit: false,
2431
- # include_upfront: false,
2432
- # include_recurring: false,
2433
- # include_other_subscription: false,
2434
- # include_support: false,
2435
- # include_discount: false,
2436
- # use_amortized: false,
2437
- # },
2438
- # time_unit: "DAILY", # required, accepts DAILY, MONTHLY, QUARTERLY, ANNUALLY
2439
- # time_period: {
2440
- # start: Time.now,
2441
- # end: Time.now,
2442
- # },
2443
- # calculated_spend: {
2444
- # actual_spend: { # required
2445
- # amount: "NumericValue", # required
2446
- # unit: "UnitValue", # required
2447
- # },
2448
- # forecasted_spend: {
2449
- # amount: "NumericValue", # required
2450
- # unit: "UnitValue", # required
2451
- # },
2452
- # },
2453
- # budget_type: "USAGE", # required, accepts USAGE, COST, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, SAVINGS_PLANS_COVERAGE
2454
- # last_updated_time: Time.now,
2455
- # auto_adjust_data: {
2456
- # auto_adjust_type: "HISTORICAL", # required, accepts HISTORICAL, FORECAST
2457
- # historical_options: {
2458
- # budget_adjustment_period: 1, # required
2459
- # look_back_available_periods: 1,
2460
- # },
2461
- # last_auto_adjust_time: Time.now,
2462
- # },
2463
- # },
2464
- # }
2465
- #
2466
1819
  # @!attribute [rw] account_id
2467
1820
  # The `accountId` that is associated with the budget that you want to
2468
1821
  # update.
@@ -2485,28 +1838,6 @@ module Aws::Budgets
2485
1838
 
2486
1839
  # Request of UpdateNotification
2487
1840
  #
2488
- # @note When making an API call, you may pass UpdateNotificationRequest
2489
- # data as a hash:
2490
- #
2491
- # {
2492
- # account_id: "AccountId", # required
2493
- # budget_name: "BudgetName", # required
2494
- # old_notification: { # required
2495
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2496
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2497
- # threshold: 1.0, # required
2498
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2499
- # notification_state: "OK", # accepts OK, ALARM
2500
- # },
2501
- # new_notification: { # required
2502
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2503
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2504
- # threshold: 1.0, # required
2505
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2506
- # notification_state: "OK", # accepts OK, ALARM
2507
- # },
2508
- # }
2509
- #
2510
1841
  # @!attribute [rw] account_id
2511
1842
  # The `accountId` that is associated with the budget whose
2512
1843
  # notification you want to update.
@@ -2539,29 +1870,6 @@ module Aws::Budgets
2539
1870
 
2540
1871
  # Request of UpdateSubscriber
2541
1872
  #
2542
- # @note When making an API call, you may pass UpdateSubscriberRequest
2543
- # data as a hash:
2544
- #
2545
- # {
2546
- # account_id: "AccountId", # required
2547
- # budget_name: "BudgetName", # required
2548
- # notification: { # required
2549
- # notification_type: "ACTUAL", # required, accepts ACTUAL, FORECASTED
2550
- # comparison_operator: "GREATER_THAN", # required, accepts GREATER_THAN, LESS_THAN, EQUAL_TO
2551
- # threshold: 1.0, # required
2552
- # threshold_type: "PERCENTAGE", # accepts PERCENTAGE, ABSOLUTE_VALUE
2553
- # notification_state: "OK", # accepts OK, ALARM
2554
- # },
2555
- # old_subscriber: { # required
2556
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2557
- # address: "SubscriberAddress", # required
2558
- # },
2559
- # new_subscriber: { # required
2560
- # subscription_type: "SNS", # required, accepts SNS, EMAIL
2561
- # address: "SubscriberAddress", # required
2562
- # },
2563
- # }
2564
- #
2565
1873
  # @!attribute [rw] account_id
2566
1874
  # The `accountId` that is associated with the budget whose subscriber
2567
1875
  # you want to update.