aws-sdk-costexplorer 1.57.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +323 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-costexplorer.rb +2 -2
- data/lib/aws-sdk-costexplorer/client.rb +157 -16
- data/lib/aws-sdk-costexplorer/client_api.rb +44 -5
- data/lib/aws-sdk-costexplorer/errors.rb +1 -1
- data/lib/aws-sdk-costexplorer/resource.rb +1 -1
- data/lib/aws-sdk-costexplorer/types.rb +304 -24
- metadata +9 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -380,6 +380,10 @@ module Aws::CostExplorer
|
|
380
380
|
# specific cost category.
|
381
381
|
# @return [Array<Types::CostCategoryProcessingStatus>]
|
382
382
|
#
|
383
|
+
# @!attribute [rw] default_value
|
384
|
+
# The default value for the cost category.
|
385
|
+
# @return [String]
|
386
|
+
#
|
383
387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategory AWS API Documentation
|
384
388
|
#
|
385
389
|
class CostCategory < Struct.new(
|
@@ -389,7 +393,46 @@ module Aws::CostExplorer
|
|
389
393
|
:name,
|
390
394
|
:rule_version,
|
391
395
|
:rules,
|
392
|
-
:processing_status
|
396
|
+
:processing_status,
|
397
|
+
:default_value)
|
398
|
+
SENSITIVE = []
|
399
|
+
include Aws::Structure
|
400
|
+
end
|
401
|
+
|
402
|
+
# When creating or updating a cost category, you can define the
|
403
|
+
# `CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds
|
404
|
+
# the flexibility of defining a rule that dynamically inherits the cost
|
405
|
+
# category value from the dimension value defined by
|
406
|
+
# `CostCategoryInheritedValueDimension`. For example, if you wanted to
|
407
|
+
# dynamically group costs based on the value of a specific tag key, you
|
408
|
+
# would first choose an inherited value rule type, then choose the tag
|
409
|
+
# dimension and specify the tag key to use.
|
410
|
+
#
|
411
|
+
# @note When making an API call, you may pass CostCategoryInheritedValueDimension
|
412
|
+
# data as a hash:
|
413
|
+
#
|
414
|
+
# {
|
415
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
416
|
+
# dimension_key: "GenericString",
|
417
|
+
# }
|
418
|
+
#
|
419
|
+
# @!attribute [rw] dimension_name
|
420
|
+
# The name of dimension for which to group costs.
|
421
|
+
#
|
422
|
+
# If you specify `LINKED_ACCOUNT_NAME`, the cost category value will
|
423
|
+
# be based on account name. If you specify `TAG`, the cost category
|
424
|
+
# value will be based on the value of the specified tag key.
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @!attribute [rw] dimension_key
|
428
|
+
# The key to extract cost category values.
|
429
|
+
# @return [String]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryInheritedValueDimension AWS API Documentation
|
432
|
+
#
|
433
|
+
class CostCategoryInheritedValueDimension < Struct.new(
|
434
|
+
:dimension_name,
|
435
|
+
:dimension_key)
|
393
436
|
SENSITIVE = []
|
394
437
|
include Aws::Structure
|
395
438
|
end
|
@@ -449,6 +492,10 @@ module Aws::CostExplorer
|
|
449
492
|
# A list of unique cost category values in a specific cost category.
|
450
493
|
# @return [Array<String>]
|
451
494
|
#
|
495
|
+
# @!attribute [rw] default_value
|
496
|
+
# The default value for the cost category.
|
497
|
+
# @return [String]
|
498
|
+
#
|
452
499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryReference AWS API Documentation
|
453
500
|
#
|
454
501
|
class CostCategoryReference < Struct.new(
|
@@ -458,7 +505,8 @@ module Aws::CostExplorer
|
|
458
505
|
:effective_end,
|
459
506
|
:number_of_rules,
|
460
507
|
:processing_status,
|
461
|
-
:values
|
508
|
+
:values,
|
509
|
+
:default_value)
|
462
510
|
SENSITIVE = []
|
463
511
|
include Aws::Structure
|
464
512
|
end
|
@@ -471,8 +519,8 @@ module Aws::CostExplorer
|
|
471
519
|
# data as a hash:
|
472
520
|
#
|
473
521
|
# {
|
474
|
-
# value: "CostCategoryValue",
|
475
|
-
# rule: {
|
522
|
+
# value: "CostCategoryValue",
|
523
|
+
# rule: {
|
476
524
|
# or: [
|
477
525
|
# {
|
478
526
|
# # recursive Expression
|
@@ -502,11 +550,15 @@ module Aws::CostExplorer
|
|
502
550
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
503
551
|
# },
|
504
552
|
# },
|
553
|
+
# inherited_value: {
|
554
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
555
|
+
# dimension_key: "GenericString",
|
556
|
+
# },
|
557
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
505
558
|
# }
|
506
559
|
#
|
507
560
|
# @!attribute [rw] value
|
508
|
-
# The value
|
509
|
-
# rule.
|
561
|
+
# The default value for the cost category.
|
510
562
|
# @return [String]
|
511
563
|
#
|
512
564
|
# @!attribute [rw] rule
|
@@ -530,11 +582,29 @@ module Aws::CostExplorer
|
|
530
582
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms
|
531
583
|
# @return [Types::Expression]
|
532
584
|
#
|
585
|
+
# @!attribute [rw] inherited_value
|
586
|
+
# The value the line item will be categorized as, if the line item
|
587
|
+
# contains the matched dimension.
|
588
|
+
# @return [Types::CostCategoryInheritedValueDimension]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] type
|
591
|
+
# You can define the `CostCategoryRule` rule type as either `REGULAR`
|
592
|
+
# or `INHERITED_VALUE`. The `INHERITED_VALUE` rule type adds the
|
593
|
+
# flexibility of defining a rule that dynamically inherits the cost
|
594
|
+
# category value from the dimension value defined by
|
595
|
+
# `CostCategoryInheritedValueDimension`. For example, if you wanted to
|
596
|
+
# dynamically group costs based on the value of a specific tag key,
|
597
|
+
# you would first choose an inherited value rule type, then choose the
|
598
|
+
# tag dimension and specify the tag key to use.
|
599
|
+
# @return [String]
|
600
|
+
#
|
533
601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryRule AWS API Documentation
|
534
602
|
#
|
535
603
|
class CostCategoryRule < Struct.new(
|
536
604
|
:value,
|
537
|
-
:rule
|
605
|
+
:rule,
|
606
|
+
:inherited_value,
|
607
|
+
:type)
|
538
608
|
SENSITIVE = []
|
539
609
|
include Aws::Structure
|
540
610
|
end
|
@@ -848,8 +918,8 @@ module Aws::CostExplorer
|
|
848
918
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
849
919
|
# rules: [ # required
|
850
920
|
# {
|
851
|
-
# value: "CostCategoryValue",
|
852
|
-
# rule: {
|
921
|
+
# value: "CostCategoryValue",
|
922
|
+
# rule: {
|
853
923
|
# or: [
|
854
924
|
# {
|
855
925
|
# # recursive Expression
|
@@ -879,8 +949,14 @@ module Aws::CostExplorer
|
|
879
949
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
880
950
|
# },
|
881
951
|
# },
|
952
|
+
# inherited_value: {
|
953
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
954
|
+
# dimension_key: "GenericString",
|
955
|
+
# },
|
956
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
882
957
|
# },
|
883
958
|
# ],
|
959
|
+
# default_value: "CostCategoryValue",
|
884
960
|
# }
|
885
961
|
#
|
886
962
|
# @!attribute [rw] name
|
@@ -900,12 +976,17 @@ module Aws::CostExplorer
|
|
900
976
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
901
977
|
# @return [Array<Types::CostCategoryRule>]
|
902
978
|
#
|
979
|
+
# @!attribute [rw] default_value
|
980
|
+
# The default value for the cost category.
|
981
|
+
# @return [String]
|
982
|
+
#
|
903
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionRequest AWS API Documentation
|
904
984
|
#
|
905
985
|
class CreateCostCategoryDefinitionRequest < Struct.new(
|
906
986
|
:name,
|
907
987
|
:rule_version,
|
908
|
-
:rules
|
988
|
+
:rules,
|
989
|
+
:default_value)
|
909
990
|
SENSITIVE = []
|
910
991
|
include Aws::Structure
|
911
992
|
end
|
@@ -1228,6 +1309,36 @@ module Aws::CostExplorer
|
|
1228
1309
|
include Aws::Structure
|
1229
1310
|
end
|
1230
1311
|
|
1312
|
+
# The field that contains a list of disk (local storage) metrics
|
1313
|
+
# associated with the current instance.
|
1314
|
+
#
|
1315
|
+
# @!attribute [rw] disk_read_ops_per_second
|
1316
|
+
# The maximum number of read operations per second.
|
1317
|
+
# @return [String]
|
1318
|
+
#
|
1319
|
+
# @!attribute [rw] disk_write_ops_per_second
|
1320
|
+
# The maximum number of write operations per second.
|
1321
|
+
# @return [String]
|
1322
|
+
#
|
1323
|
+
# @!attribute [rw] disk_read_bytes_per_second
|
1324
|
+
# The maximum read throughput operations per second.
|
1325
|
+
# @return [String]
|
1326
|
+
#
|
1327
|
+
# @!attribute [rw] disk_write_bytes_per_second
|
1328
|
+
# The maximum write throughput operations per second.
|
1329
|
+
# @return [String]
|
1330
|
+
#
|
1331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DiskResourceUtilization AWS API Documentation
|
1332
|
+
#
|
1333
|
+
class DiskResourceUtilization < Struct.new(
|
1334
|
+
:disk_read_ops_per_second,
|
1335
|
+
:disk_write_ops_per_second,
|
1336
|
+
:disk_read_bytes_per_second,
|
1337
|
+
:disk_write_bytes_per_second)
|
1338
|
+
SENSITIVE = []
|
1339
|
+
include Aws::Structure
|
1340
|
+
end
|
1341
|
+
|
1231
1342
|
# The EBS field that contains a list of EBS metrics associated with the
|
1232
1343
|
# current instance.
|
1233
1344
|
#
|
@@ -1386,13 +1497,25 @@ module Aws::CostExplorer
|
|
1386
1497
|
# the current instance.
|
1387
1498
|
# @return [Types::EBSResourceUtilization]
|
1388
1499
|
#
|
1500
|
+
# @!attribute [rw] disk_resource_utilization
|
1501
|
+
# The field that contains a list of disk (local storage) metrics
|
1502
|
+
# associated with the current instance.
|
1503
|
+
# @return [Types::DiskResourceUtilization]
|
1504
|
+
#
|
1505
|
+
# @!attribute [rw] network_resource_utilization
|
1506
|
+
# The network field that contains a list of network metrics associated
|
1507
|
+
# with the current instance.
|
1508
|
+
# @return [Types::NetworkResourceUtilization]
|
1509
|
+
#
|
1389
1510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceUtilization AWS API Documentation
|
1390
1511
|
#
|
1391
1512
|
class EC2ResourceUtilization < Struct.new(
|
1392
1513
|
:max_cpu_utilization_percentage,
|
1393
1514
|
:max_memory_utilization_percentage,
|
1394
1515
|
:max_storage_utilization_percentage,
|
1395
|
-
:ebs_resource_utilization
|
1516
|
+
:ebs_resource_utilization,
|
1517
|
+
:disk_resource_utilization,
|
1518
|
+
:network_resource_utilization)
|
1396
1519
|
SENSITIVE = []
|
1397
1520
|
include Aws::Structure
|
1398
1521
|
end
|
@@ -1923,7 +2046,7 @@ module Aws::CostExplorer
|
|
1923
2046
|
# start: "YearMonthDay", # required
|
1924
2047
|
# end: "YearMonthDay", # required
|
1925
2048
|
# },
|
1926
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
2049
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
1927
2050
|
# filter: {
|
1928
2051
|
# or: [
|
1929
2052
|
# {
|
@@ -2087,7 +2210,7 @@ module Aws::CostExplorer
|
|
2087
2210
|
# start: "YearMonthDay", # required
|
2088
2211
|
# end: "YearMonthDay", # required
|
2089
2212
|
# },
|
2090
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
2213
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
2091
2214
|
# filter: { # required
|
2092
2215
|
# or: [
|
2093
2216
|
# {
|
@@ -2398,6 +2521,8 @@ module Aws::CostExplorer
|
|
2398
2521
|
# The maximum number of objects that to be returned for this request.
|
2399
2522
|
# If `MaxResults` is not specified with `SortBy`, the request will
|
2400
2523
|
# return 1000 results as the default value for this parameter.
|
2524
|
+
#
|
2525
|
+
# For `GetCostCategories`, MaxResults has an upper limit of 1000.
|
2401
2526
|
# @return [Integer]
|
2402
2527
|
#
|
2403
2528
|
# @!attribute [rw] next_page_token
|
@@ -2539,8 +2664,55 @@ module Aws::CostExplorer
|
|
2539
2664
|
# @return [String]
|
2540
2665
|
#
|
2541
2666
|
# @!attribute [rw] filter
|
2542
|
-
# The filters that you want to use to filter your forecast.
|
2543
|
-
#
|
2667
|
+
# The filters that you want to use to filter your forecast. The
|
2668
|
+
# `GetCostForecast` API supports filtering by the following
|
2669
|
+
# dimensions:
|
2670
|
+
#
|
2671
|
+
# * `AZ`
|
2672
|
+
#
|
2673
|
+
# * `INSTANCE_TYPE`
|
2674
|
+
#
|
2675
|
+
# * `LINKED_ACCOUNT`
|
2676
|
+
#
|
2677
|
+
# * `LINKED_ACCOUNT_NAME`
|
2678
|
+
#
|
2679
|
+
# * `OPERATION`
|
2680
|
+
#
|
2681
|
+
# * `PURCHASE_TYPE`
|
2682
|
+
#
|
2683
|
+
# * `REGION`
|
2684
|
+
#
|
2685
|
+
# * `SERVICE`
|
2686
|
+
#
|
2687
|
+
# * `USAGE_TYPE`
|
2688
|
+
#
|
2689
|
+
# * `USAGE_TYPE_GROUP`
|
2690
|
+
#
|
2691
|
+
# * `RECORD_TYPE`
|
2692
|
+
#
|
2693
|
+
# * `OPERATING_SYSTEM`
|
2694
|
+
#
|
2695
|
+
# * `TENANCY`
|
2696
|
+
#
|
2697
|
+
# * `SCOPE`
|
2698
|
+
#
|
2699
|
+
# * `PLATFORM`
|
2700
|
+
#
|
2701
|
+
# * `SUBSCRIPTION_ID`
|
2702
|
+
#
|
2703
|
+
# * `LEGAL_ENTITY_NAME`
|
2704
|
+
#
|
2705
|
+
# * `DEPLOYMENT_OPTION`
|
2706
|
+
#
|
2707
|
+
# * `DATABASE_ENGINE`
|
2708
|
+
#
|
2709
|
+
# * `INSTANCE_TYPE_FAMILY`
|
2710
|
+
#
|
2711
|
+
# * `BILLING_ENTITY`
|
2712
|
+
#
|
2713
|
+
# * `RESERVATION_ID`
|
2714
|
+
#
|
2715
|
+
# * `SAVINGS_PLAN_ARN`
|
2544
2716
|
# @return [Types::Expression]
|
2545
2717
|
#
|
2546
2718
|
# @!attribute [rw] prediction_interval_level
|
@@ -2851,6 +3023,8 @@ module Aws::CostExplorer
|
|
2851
3023
|
# maximum number of objects that to be returned for this request. If
|
2852
3024
|
# MaxResults is not specified with SortBy, the request will return
|
2853
3025
|
# 1000 results as the default value for this parameter.
|
3026
|
+
#
|
3027
|
+
# For `GetDimensionValues`, MaxResults has an upper limit of 1000.
|
2854
3028
|
# @return [Integer]
|
2855
3029
|
#
|
2856
3030
|
# @!attribute [rw] next_page_token
|
@@ -3975,7 +4149,7 @@ module Aws::CostExplorer
|
|
3975
4149
|
# data as a hash:
|
3976
4150
|
#
|
3977
4151
|
# {
|
3978
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
4152
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
3979
4153
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
3980
4154
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
3981
4155
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
@@ -4547,6 +4721,8 @@ module Aws::CostExplorer
|
|
4547
4721
|
# maximum number of objects that to be returned for this request. If
|
4548
4722
|
# MaxResults is not specified with SortBy, the request will return
|
4549
4723
|
# 1000 results as the default value for this parameter.
|
4724
|
+
#
|
4725
|
+
# For `GetTags`, MaxResults has an upper limit of 1000.
|
4550
4726
|
# @return [Integer]
|
4551
4727
|
#
|
4552
4728
|
# @!attribute [rw] next_page_token
|
@@ -4670,8 +4846,55 @@ module Aws::CostExplorer
|
|
4670
4846
|
# @return [String]
|
4671
4847
|
#
|
4672
4848
|
# @!attribute [rw] filter
|
4673
|
-
# The filters that you want to use to filter your forecast.
|
4674
|
-
#
|
4849
|
+
# The filters that you want to use to filter your forecast. The
|
4850
|
+
# `GetUsageForecast` API supports filtering by the following
|
4851
|
+
# dimensions:
|
4852
|
+
#
|
4853
|
+
# * `AZ`
|
4854
|
+
#
|
4855
|
+
# * `INSTANCE_TYPE`
|
4856
|
+
#
|
4857
|
+
# * `LINKED_ACCOUNT`
|
4858
|
+
#
|
4859
|
+
# * `LINKED_ACCOUNT_NAME`
|
4860
|
+
#
|
4861
|
+
# * `OPERATION`
|
4862
|
+
#
|
4863
|
+
# * `PURCHASE_TYPE`
|
4864
|
+
#
|
4865
|
+
# * `REGION`
|
4866
|
+
#
|
4867
|
+
# * `SERVICE`
|
4868
|
+
#
|
4869
|
+
# * `USAGE_TYPE`
|
4870
|
+
#
|
4871
|
+
# * `USAGE_TYPE_GROUP`
|
4872
|
+
#
|
4873
|
+
# * `RECORD_TYPE`
|
4874
|
+
#
|
4875
|
+
# * `OPERATING_SYSTEM`
|
4876
|
+
#
|
4877
|
+
# * `TENANCY`
|
4878
|
+
#
|
4879
|
+
# * `SCOPE`
|
4880
|
+
#
|
4881
|
+
# * `PLATFORM`
|
4882
|
+
#
|
4883
|
+
# * `SUBSCRIPTION_ID`
|
4884
|
+
#
|
4885
|
+
# * `LEGAL_ENTITY_NAME`
|
4886
|
+
#
|
4887
|
+
# * `DEPLOYMENT_OPTION`
|
4888
|
+
#
|
4889
|
+
# * `DATABASE_ENGINE`
|
4890
|
+
#
|
4891
|
+
# * `INSTANCE_TYPE_FAMILY`
|
4892
|
+
#
|
4893
|
+
# * `BILLING_ENTITY`
|
4894
|
+
#
|
4895
|
+
# * `RESERVATION_ID`
|
4896
|
+
#
|
4897
|
+
# * `SAVINGS_PLAN_ARN`
|
4675
4898
|
# @return [Types::Expression]
|
4676
4899
|
#
|
4677
4900
|
# @!attribute [rw] prediction_interval_level
|
@@ -4927,6 +5150,38 @@ module Aws::CostExplorer
|
|
4927
5150
|
include Aws::Structure
|
4928
5151
|
end
|
4929
5152
|
|
5153
|
+
# The network field that contains a list of network metrics associated
|
5154
|
+
# with the current instance.
|
5155
|
+
#
|
5156
|
+
# @!attribute [rw] network_in_bytes_per_second
|
5157
|
+
# The network ingress throughput utilization measured in Bytes per
|
5158
|
+
# second.
|
5159
|
+
# @return [String]
|
5160
|
+
#
|
5161
|
+
# @!attribute [rw] network_out_bytes_per_second
|
5162
|
+
# The network outgress throughput utilization measured in Bytes per
|
5163
|
+
# second.
|
5164
|
+
# @return [String]
|
5165
|
+
#
|
5166
|
+
# @!attribute [rw] network_packets_in_per_second
|
5167
|
+
# The network ingress packets measured in packets per second.
|
5168
|
+
# @return [String]
|
5169
|
+
#
|
5170
|
+
# @!attribute [rw] network_packets_out_per_second
|
5171
|
+
# The network outgress packets measured in packets per second.
|
5172
|
+
# @return [String]
|
5173
|
+
#
|
5174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/NetworkResourceUtilization AWS API Documentation
|
5175
|
+
#
|
5176
|
+
class NetworkResourceUtilization < Struct.new(
|
5177
|
+
:network_in_bytes_per_second,
|
5178
|
+
:network_out_bytes_per_second,
|
5179
|
+
:network_packets_in_per_second,
|
5180
|
+
:network_packets_out_per_second)
|
5181
|
+
SENSITIVE = []
|
5182
|
+
include Aws::Structure
|
5183
|
+
end
|
5184
|
+
|
4930
5185
|
# @note When making an API call, you may pass ProvideAnomalyFeedbackRequest
|
4931
5186
|
# data as a hash:
|
4932
5187
|
#
|
@@ -5540,6 +5795,12 @@ module Aws::CostExplorer
|
|
5540
5795
|
# Details for termination recommendations.
|
5541
5796
|
# @return [Types::TerminateRecommendationDetail]
|
5542
5797
|
#
|
5798
|
+
# @!attribute [rw] finding_reason_codes
|
5799
|
+
# The list of possible reasons why the recommendation is generated
|
5800
|
+
# such as under or over utilization of specific metrics (for example,
|
5801
|
+
# CPU, Memory, Network).
|
5802
|
+
# @return [Array<String>]
|
5803
|
+
#
|
5543
5804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendation AWS API Documentation
|
5544
5805
|
#
|
5545
5806
|
class RightsizingRecommendation < Struct.new(
|
@@ -5547,7 +5808,8 @@ module Aws::CostExplorer
|
|
5547
5808
|
:current_instance,
|
5548
5809
|
:rightsizing_type,
|
5549
5810
|
:modify_recommendation_detail,
|
5550
|
-
:terminate_recommendation_detail
|
5811
|
+
:terminate_recommendation_detail,
|
5812
|
+
:finding_reason_codes)
|
5551
5813
|
SENSITIVE = []
|
5552
5814
|
include Aws::Structure
|
5553
5815
|
end
|
@@ -6379,6 +6641,12 @@ module Aws::CostExplorer
|
|
6379
6641
|
# Expected utilization metrics for target instance type.
|
6380
6642
|
# @return [Types::ResourceUtilization]
|
6381
6643
|
#
|
6644
|
+
# @!attribute [rw] platform_differences
|
6645
|
+
# Explains the actions you might need to take in order to successfully
|
6646
|
+
# migrate your workloads from the current instance type to the
|
6647
|
+
# recommended instance type.
|
6648
|
+
# @return [Array<String>]
|
6649
|
+
#
|
6382
6650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TargetInstance AWS API Documentation
|
6383
6651
|
#
|
6384
6652
|
class TargetInstance < Struct.new(
|
@@ -6387,7 +6655,8 @@ module Aws::CostExplorer
|
|
6387
6655
|
:currency_code,
|
6388
6656
|
:default_target_instance,
|
6389
6657
|
:resource_details,
|
6390
|
-
:expected_resource_utilization
|
6658
|
+
:expected_resource_utilization,
|
6659
|
+
:platform_differences)
|
6391
6660
|
SENSITIVE = []
|
6392
6661
|
include Aws::Structure
|
6393
6662
|
end
|
@@ -6599,8 +6868,8 @@ module Aws::CostExplorer
|
|
6599
6868
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
6600
6869
|
# rules: [ # required
|
6601
6870
|
# {
|
6602
|
-
# value: "CostCategoryValue",
|
6603
|
-
# rule: {
|
6871
|
+
# value: "CostCategoryValue",
|
6872
|
+
# rule: {
|
6604
6873
|
# or: [
|
6605
6874
|
# {
|
6606
6875
|
# # recursive Expression
|
@@ -6630,8 +6899,14 @@ module Aws::CostExplorer
|
|
6630
6899
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
6631
6900
|
# },
|
6632
6901
|
# },
|
6902
|
+
# inherited_value: {
|
6903
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
6904
|
+
# dimension_key: "GenericString",
|
6905
|
+
# },
|
6906
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
6633
6907
|
# },
|
6634
6908
|
# ],
|
6909
|
+
# default_value: "CostCategoryValue",
|
6635
6910
|
# }
|
6636
6911
|
#
|
6637
6912
|
# @!attribute [rw] cost_category_arn
|
@@ -6651,12 +6926,17 @@ module Aws::CostExplorer
|
|
6651
6926
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
6652
6927
|
# @return [Array<Types::CostCategoryRule>]
|
6653
6928
|
#
|
6929
|
+
# @!attribute [rw] default_value
|
6930
|
+
# The default value for the cost category.
|
6931
|
+
# @return [String]
|
6932
|
+
#
|
6654
6933
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionRequest AWS API Documentation
|
6655
6934
|
#
|
6656
6935
|
class UpdateCostCategoryDefinitionRequest < Struct.new(
|
6657
6936
|
:cost_category_arn,
|
6658
6937
|
:rule_version,
|
6659
|
-
:rules
|
6938
|
+
:rules,
|
6939
|
+
:default_value)
|
6660
6940
|
SENSITIVE = []
|
6661
6941
|
include Aws::Structure
|
6662
6942
|
end
|