aws-sdk-costexplorer 1.61.0 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +208 -141
- data/lib/aws-sdk-costexplorer/client_api.rb +55 -0
- data/lib/aws-sdk-costexplorer/types.rb +721 -460
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adfccc2ce1a07dd1304317c556794b7c589dd2d49c96f7569487cef241006aa7
|
4
|
+
data.tar.gz: 52ab43f169965dbe9bebd7507f5649d100b9bdeab3bc50cf9d34ec05f90d751f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c37ff2a65ebad9046c4ed75708651ca7e45d0b4dd1717d8c6f3447e351d7c0e4819cc9f44922eae8ba786a62aa621ac7e0512506da481c3ddebae7251ac3d72
|
7
|
+
data.tar.gz: 3c22d5b570961987e0d674e0022840485f588602a514da7714207b9c394b657f799a426703eb87c6f12b51d3baed02248ad72b07f6b5fdbe95866bf2fa8581f3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.65.0 (2021-08-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release is a new feature for Cost Categories: Split charge rules. Split charge rules enable you to allocate shared costs between your cost category values.
|
8
|
+
|
9
|
+
1.64.0 (2021-07-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.63.0 (2021-07-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.62.0 (2021-05-24)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action
|
23
|
+
|
4
24
|
1.61.0 (2021-04-19)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.0
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -469,6 +469,10 @@ module Aws::CostExplorer
|
|
469
469
|
# @option params [String] :default_value
|
470
470
|
# The default value for the cost category.
|
471
471
|
#
|
472
|
+
# @option params [Array<Types::CostCategorySplitChargeRule>] :split_charge_rules
|
473
|
+
# The split charge rules used to allocate your charges between your Cost
|
474
|
+
# Category values.
|
475
|
+
#
|
472
476
|
# @return [Types::CreateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
473
477
|
#
|
474
478
|
# * {Types::CreateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
|
@@ -520,6 +524,19 @@ module Aws::CostExplorer
|
|
520
524
|
# },
|
521
525
|
# ],
|
522
526
|
# default_value: "CostCategoryValue",
|
527
|
+
# split_charge_rules: [
|
528
|
+
# {
|
529
|
+
# source: "GenericString", # required
|
530
|
+
# targets: ["GenericString"], # required
|
531
|
+
# method: "FIXED", # required, accepts FIXED, PROPORTIONAL, EVEN
|
532
|
+
# parameters: [
|
533
|
+
# {
|
534
|
+
# type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
|
535
|
+
# values: ["GenericString"], # required
|
536
|
+
# },
|
537
|
+
# ],
|
538
|
+
# },
|
539
|
+
# ],
|
523
540
|
# })
|
524
541
|
#
|
525
542
|
# @example Response structure
|
@@ -671,6 +688,15 @@ module Aws::CostExplorer
|
|
671
688
|
# resp.cost_category.rules[0].inherited_value.dimension_name #=> String, one of "LINKED_ACCOUNT_NAME", "TAG"
|
672
689
|
# resp.cost_category.rules[0].inherited_value.dimension_key #=> String
|
673
690
|
# resp.cost_category.rules[0].type #=> String, one of "REGULAR", "INHERITED_VALUE"
|
691
|
+
# resp.cost_category.split_charge_rules #=> Array
|
692
|
+
# resp.cost_category.split_charge_rules[0].source #=> String
|
693
|
+
# resp.cost_category.split_charge_rules[0].targets #=> Array
|
694
|
+
# resp.cost_category.split_charge_rules[0].targets[0] #=> String
|
695
|
+
# resp.cost_category.split_charge_rules[0].method #=> String, one of "FIXED", "PROPORTIONAL", "EVEN"
|
696
|
+
# resp.cost_category.split_charge_rules[0].parameters #=> Array
|
697
|
+
# resp.cost_category.split_charge_rules[0].parameters[0].type #=> String, one of "ALLOCATION_PERCENTAGES"
|
698
|
+
# resp.cost_category.split_charge_rules[0].parameters[0].values #=> Array
|
699
|
+
# resp.cost_category.split_charge_rules[0].parameters[0].values[0] #=> String
|
674
700
|
# resp.cost_category.processing_status #=> Array
|
675
701
|
# resp.cost_category.processing_status[0].component #=> String, one of "COST_EXPLORER"
|
676
702
|
# resp.cost_category.processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
@@ -685,8 +711,8 @@ module Aws::CostExplorer
|
|
685
711
|
req.send_request(options)
|
686
712
|
end
|
687
713
|
|
688
|
-
# Retrieves all of the cost anomalies detected on your account
|
689
|
-
# the time period specified by the `DateInterval` object.
|
714
|
+
# Retrieves all of the cost anomalies detected on your account during
|
715
|
+
# the time period that's specified by the `DateInterval` object.
|
690
716
|
#
|
691
717
|
# @option params [String] :monitor_arn
|
692
718
|
# Retrieves all of the cost anomalies detected for a specific cost
|
@@ -706,9 +732,9 @@ module Aws::CostExplorer
|
|
706
732
|
# retrieve anomalies, with an estimated dollar impact greater than 200.
|
707
733
|
#
|
708
734
|
# @option params [String] :next_page_token
|
709
|
-
# The token to retrieve the next set of results.
|
710
|
-
# when the response from a previous call has more
|
711
|
-
# maximum page size.
|
735
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
736
|
+
# provides the token when the response from a previous call has more
|
737
|
+
# results than the maximum page size.
|
712
738
|
#
|
713
739
|
# @option params [Integer] :max_results
|
714
740
|
# The number of entries a paginated response contains.
|
@@ -773,12 +799,12 @@ module Aws::CostExplorer
|
|
773
799
|
# A list of cost anomaly monitor ARNs.
|
774
800
|
#
|
775
801
|
# @option params [String] :next_page_token
|
776
|
-
# The token to retrieve the next set of results.
|
777
|
-
# when the response from a previous call has more
|
778
|
-
# maximum page size.
|
802
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
803
|
+
# provides the token when the response from a previous call has more
|
804
|
+
# results than the maximum page size.
|
779
805
|
#
|
780
806
|
# @option params [Integer] :max_results
|
781
|
-
# The number of entries a paginated response contains.
|
807
|
+
# The number of entries that a paginated response contains.
|
782
808
|
#
|
783
809
|
# @return [Types::GetAnomalyMonitorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
784
810
|
#
|
@@ -846,9 +872,9 @@ module Aws::CostExplorer
|
|
846
872
|
# Cost anomaly monitor ARNs.
|
847
873
|
#
|
848
874
|
# @option params [String] :next_page_token
|
849
|
-
# The token to retrieve the next set of results.
|
850
|
-
# when the response from a previous call has more
|
851
|
-
# maximum page size.
|
875
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
876
|
+
# provides the token when the response from a previous call has more
|
877
|
+
# results than the maximum page size.
|
852
878
|
#
|
853
879
|
# @option params [Integer] :max_results
|
854
880
|
# The number of entries a paginated response contains.
|
@@ -893,13 +919,13 @@ module Aws::CostExplorer
|
|
893
919
|
end
|
894
920
|
|
895
921
|
# Retrieves cost and usage metrics for your account. You can specify
|
896
|
-
# which cost and usage-related metric
|
897
|
-
#
|
898
|
-
# filter and group your data by various
|
899
|
-
# `AZ`, in a specific time range. For a
|
900
|
-
# dimensions, see the [GetDimensionValues][1]
|
901
|
-
# account in an organization in
|
902
|
-
# member accounts.
|
922
|
+
# which cost and usage-related metric that you want the request to
|
923
|
+
# return. For example, you can specify `BlendedCosts` or
|
924
|
+
# `UsageQuantity`. You can also filter and group your data by various
|
925
|
+
# dimensions, such as `SERVICE` or `AZ`, in a specific time range. For a
|
926
|
+
# complete list of valid dimensions, see the [GetDimensionValues][1]
|
927
|
+
# operation. Management account in an organization in Organizations have
|
928
|
+
# access to all member accounts.
|
903
929
|
#
|
904
930
|
# For information about filter limitations, see [Quotas and
|
905
931
|
# restrictions][2] in the *Billing and Cost Management User Guide*.
|
@@ -910,23 +936,23 @@ module Aws::CostExplorer
|
|
910
936
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html
|
911
937
|
#
|
912
938
|
# @option params [required, Types::DateInterval] :time_period
|
913
|
-
# Sets the start and end
|
914
|
-
# is inclusive, but the end date is exclusive. For
|
915
|
-
# is `2017-01-01` and `end` is `2017-05-01`, then
|
916
|
-
# data is retrieved from `2017-01-01` up to and
|
917
|
-
# but not including `2017-05-01`.
|
939
|
+
# Sets the start date and end date for retrieving Amazon Web Services
|
940
|
+
# costs. The start date is inclusive, but the end date is exclusive. For
|
941
|
+
# example, if `start` is `2017-01-01` and `end` is `2017-05-01`, then
|
942
|
+
# the cost and usage data is retrieved from `2017-01-01` up to and
|
943
|
+
# including `2017-04-30` but not including `2017-05-01`.
|
918
944
|
#
|
919
945
|
# @option params [required, String] :granularity
|
920
|
-
# Sets the
|
921
|
-
# `Granularity` isn't set, the response object doesn't
|
922
|
-
# `Granularity`, either `MONTHLY` or `DAILY`, or `HOURLY`.
|
946
|
+
# Sets the Amazon Web Services cost granularity to `MONTHLY` or `DAILY`,
|
947
|
+
# or `HOURLY`. If `Granularity` isn't set, the response object doesn't
|
948
|
+
# include the `Granularity`, either `MONTHLY` or `DAILY`, or `HOURLY`.
|
923
949
|
#
|
924
950
|
# @option params [Types::Expression] :filter
|
925
|
-
# Filters
|
926
|
-
# specify `SERVICE` and `LINKED_ACCOUNT` and get the
|
927
|
-
# associated with that account's usage of that service.
|
928
|
-
# `Expression` objects to define any combination of
|
929
|
-
# For more information, see [Expression][1].
|
951
|
+
# Filters Amazon Web Services costs by different dimensions. For
|
952
|
+
# example, you can specify `SERVICE` and `LINKED_ACCOUNT` and get the
|
953
|
+
# costs that are associated with that account's usage of that service.
|
954
|
+
# You can nest `Expression` objects to define any combination of
|
955
|
+
# dimension filters. For more information, see [Expression][1].
|
930
956
|
#
|
931
957
|
#
|
932
958
|
#
|
@@ -945,7 +971,7 @@ module Aws::CostExplorer
|
|
945
971
|
# usage numbers without taking into account the units. For example, if
|
946
972
|
# you aggregate `usageQuantity` across all of Amazon EC2, the results
|
947
973
|
# aren't meaningful because Amazon EC2 compute hours and data transfer
|
948
|
-
# are measured in different units (for example, hours
|
974
|
+
# are measured in different units (for example, hours and GB). To get
|
949
975
|
# more meaningful `UsageQuantity` metrics, filter by `UsageType` or
|
950
976
|
# `UsageTypeGroups`.
|
951
977
|
#
|
@@ -958,20 +984,22 @@ module Aws::CostExplorer
|
|
958
984
|
# [1]: http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/
|
959
985
|
#
|
960
986
|
# @option params [Array<Types::GroupDefinition>] :group_by
|
961
|
-
# You can group
|
962
|
-
# dimensions, tag keys, cost categories, or any two group
|
987
|
+
# You can group Amazon Web Services costs using up to two different
|
988
|
+
# groups, either dimensions, tag keys, cost categories, or any two group
|
989
|
+
# by types.
|
963
990
|
#
|
964
|
-
#
|
965
|
-
#
|
991
|
+
# Valid values for the `DIMENSION` type are `AZ`, `INSTANCE_TYPE`,
|
992
|
+
# `LEGAL_ENTITY_NAME`, `LINKED_ACCOUNT`, `OPERATION`, `PLATFORM`,
|
993
|
+
# `PURCHASE_TYPE`, `SERVICE`, `TENANCY`, `RECORD_TYPE`, and
|
994
|
+
# `USAGE_TYPE`.
|
966
995
|
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
# `TAGS`, `TENANCY`, `RECORD_TYPE`, and `USAGE_TYPE`.
|
996
|
+
# When you group by the `TAG` type and include a valid tag key, you get
|
997
|
+
# all tag values, including empty strings.
|
970
998
|
#
|
971
999
|
# @option params [String] :next_page_token
|
972
|
-
# The token to retrieve the next set of results.
|
973
|
-
# when the response from a previous call has more
|
974
|
-
# maximum page size.
|
1000
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
1001
|
+
# provides the token when the response from a previous call has more
|
1002
|
+
# results than the maximum page size.
|
975
1003
|
#
|
976
1004
|
# @return [Types::GetCostAndUsageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
977
1005
|
#
|
@@ -1067,14 +1095,14 @@ module Aws::CostExplorer
|
|
1067
1095
|
# return. You can also filter and group your data by various dimensions,
|
1068
1096
|
# such as `SERVICE` or `AZ`, in a specific time range. For a complete
|
1069
1097
|
# list of valid dimensions, see the [GetDimensionValues][1] operation.
|
1070
|
-
# Management account in an organization in
|
1071
|
-
#
|
1098
|
+
# Management account in an organization in Organizations have access to
|
1099
|
+
# all member accounts. This API is currently available for the Amazon
|
1072
1100
|
# Elastic Compute Cloud – Compute service only.
|
1073
1101
|
#
|
1074
1102
|
# <note markdown="1"> This is an opt-in only feature. You can enable this feature from the
|
1075
1103
|
# Cost Explorer Settings page. For information on how to access the
|
1076
1104
|
# Settings page, see [Controlling Access for Cost Explorer][2] in the
|
1077
|
-
# *
|
1105
|
+
# *Billing and Cost Management User Guide*.
|
1078
1106
|
#
|
1079
1107
|
# </note>
|
1080
1108
|
#
|
@@ -1093,9 +1121,9 @@ module Aws::CostExplorer
|
|
1093
1121
|
# `2017-05-01`.
|
1094
1122
|
#
|
1095
1123
|
# @option params [required, String] :granularity
|
1096
|
-
# Sets the
|
1097
|
-
# `Granularity` isn't set, the response object doesn't
|
1098
|
-
# `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
1124
|
+
# Sets the Amazon Web Services cost granularity to `MONTHLY`, `DAILY`,
|
1125
|
+
# or `HOURLY`. If `Granularity` isn't set, the response object doesn't
|
1126
|
+
# include the `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
1099
1127
|
#
|
1100
1128
|
# @option params [required, Types::Expression] :filter
|
1101
1129
|
# Filters Amazon Web Services costs by different dimensions. For
|
@@ -1142,9 +1170,9 @@ module Aws::CostExplorer
|
|
1142
1170
|
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
1143
1171
|
#
|
1144
1172
|
# @option params [String] :next_page_token
|
1145
|
-
# The token to retrieve the next set of results.
|
1146
|
-
# when the response from a previous call has more
|
1147
|
-
# maximum page size.
|
1173
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
1174
|
+
# provides the token when the response from a previous call has more
|
1175
|
+
# results than the maximum page size.
|
1148
1176
|
#
|
1149
1177
|
# @return [Types::GetCostAndUsageWithResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1150
1178
|
#
|
@@ -1265,7 +1293,7 @@ module Aws::CostExplorer
|
|
1265
1293
|
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
1266
1294
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
1267
1295
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
1268
|
-
#
|
1296
|
+
# is as follows:
|
1269
1297
|
#
|
1270
1298
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
1271
1299
|
# “us-west-1” ] \} \}`
|
@@ -1277,11 +1305,11 @@ module Aws::CostExplorer
|
|
1277
1305
|
#
|
1278
1306
|
# * Compound dimension values with logical operations - You can use
|
1279
1307
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
1280
|
-
# to create a list of one or more `Expression` objects.
|
1281
|
-
# you
|
1308
|
+
# to create a list of one or more `Expression` objects. By doing this,
|
1309
|
+
# you can filter on more advanced options. For example, you can filter
|
1282
1310
|
# on `((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type ==
|
1283
1311
|
# Type1)) AND (USAGE_TYPE != DataTransfer)`. The `Expression` for that
|
1284
|
-
#
|
1312
|
+
# is as follows:
|
1285
1313
|
#
|
1286
1314
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values":
|
1287
1315
|
# [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
|
@@ -1298,13 +1326,13 @@ module Aws::CostExplorer
|
|
1298
1326
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
1299
1327
|
#
|
1300
1328
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR and
|
1301
|
-
# NOT
|
1329
|
+
# NOT isn't supported. OR isn't supported between different
|
1302
1330
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
1303
1331
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
1304
1332
|
# `RIGHTSIZING_TYPE`.
|
1305
1333
|
#
|
1306
1334
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
1307
|
-
# supported. AND and OR
|
1335
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
1308
1336
|
# `LINKED_ACCOUNT`.
|
1309
1337
|
#
|
1310
1338
|
# </note>
|
@@ -1345,9 +1373,9 @@ module Aws::CostExplorer
|
|
1345
1373
|
#
|
1346
1374
|
# @option params [String] :next_page_token
|
1347
1375
|
# If the number of objects that are still available for retrieval
|
1348
|
-
# exceeds the limit,
|
1349
|
-
# To retrieve the next batch of objects, provide the
|
1350
|
-
# the prior call in your next request.
|
1376
|
+
# exceeds the limit, Amazon Web Services returns a NextPageToken value
|
1377
|
+
# in the response. To retrieve the next batch of objects, provide the
|
1378
|
+
# NextPageToken from the prior call in your next request.
|
1351
1379
|
#
|
1352
1380
|
# @return [Types::GetCostCategoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1353
1381
|
#
|
@@ -1595,10 +1623,10 @@ module Aws::CostExplorer
|
|
1595
1623
|
# The value that you want to search the filter values for.
|
1596
1624
|
#
|
1597
1625
|
# @option params [required, Types::DateInterval] :time_period
|
1598
|
-
# The start and end
|
1599
|
-
# date is inclusive, but the end date is exclusive. For example,
|
1600
|
-
# `start` is `2017-01-01` and `end` is `2017-05-01`, then the cost
|
1601
|
-
# usage data is retrieved from `2017-01-01` up to and including
|
1626
|
+
# The start date and end date for retrieving the dimension values. The
|
1627
|
+
# start date is inclusive, but the end date is exclusive. For example,
|
1628
|
+
# if `start` is `2017-01-01` and `end` is `2017-05-01`, then the cost
|
1629
|
+
# and usage data is retrieved from `2017-01-01` up to and including
|
1602
1630
|
# `2017-04-30` but not including `2017-05-01`.
|
1603
1631
|
#
|
1604
1632
|
# @option params [required, String] :dimension
|
@@ -1626,11 +1654,11 @@ module Aws::CostExplorer
|
|
1626
1654
|
# `m4.xlarge`.
|
1627
1655
|
#
|
1628
1656
|
# * LEGAL\_ENTITY\_NAME - The name of the organization that sells you
|
1629
|
-
#
|
1657
|
+
# Amazon Web Services services, such as Amazon Web Services.
|
1630
1658
|
#
|
1631
1659
|
# * LINKED\_ACCOUNT - The description in the attribute map that includes
|
1632
1660
|
# the full name of the member account. The value field contains the
|
1633
|
-
#
|
1661
|
+
# Amazon Web Services ID of the member account.
|
1634
1662
|
#
|
1635
1663
|
# * OPERATING\_SYSTEM - The operating system. Examples are Windows or
|
1636
1664
|
# Linux.
|
@@ -1645,7 +1673,7 @@ module Aws::CostExplorer
|
|
1645
1673
|
# usage is related. Examples include On-Demand Instances and Standard
|
1646
1674
|
# Reserved Instances.
|
1647
1675
|
#
|
1648
|
-
# * SERVICE - The
|
1676
|
+
# * SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
|
1649
1677
|
#
|
1650
1678
|
# * USAGE\_TYPE - The type of usage. An example is
|
1651
1679
|
# DataTransfer-In-Bytes. The response for the `GetDimensionValues`
|
@@ -1655,7 +1683,7 @@ module Aws::CostExplorer
|
|
1655
1683
|
# is Amazon EC2: CloudWatch – Alarms. The response for this operation
|
1656
1684
|
# includes a unit attribute.
|
1657
1685
|
#
|
1658
|
-
# * REGION - The
|
1686
|
+
# * REGION - The Amazon Web Services Region.
|
1659
1687
|
#
|
1660
1688
|
# * RECORD\_TYPE - The different types of charges such as RI fees, usage
|
1661
1689
|
# costs, tax refunds, and credits.
|
@@ -1680,12 +1708,12 @@ module Aws::CostExplorer
|
|
1680
1708
|
#
|
1681
1709
|
# * LINKED\_ACCOUNT - The description in the attribute map that includes
|
1682
1710
|
# the full name of the member account. The value field contains the
|
1683
|
-
#
|
1711
|
+
# Amazon Web Services ID of the member account.
|
1684
1712
|
#
|
1685
1713
|
# * PLATFORM - The Amazon EC2 operating system. Examples are Windows or
|
1686
1714
|
# Linux.
|
1687
1715
|
#
|
1688
|
-
# * REGION - The
|
1716
|
+
# * REGION - The Amazon Web Services Region.
|
1689
1717
|
#
|
1690
1718
|
# * SCOPE (Utilization only) - The scope of a Reserved Instance (RI).
|
1691
1719
|
# Values are regional or a single Availability Zone.
|
@@ -1705,13 +1733,13 @@ module Aws::CostExplorer
|
|
1705
1733
|
# * PAYMENT\_OPTION - Payment option for the given Savings Plans (for
|
1706
1734
|
# example, All Upfront)
|
1707
1735
|
#
|
1708
|
-
# * REGION - The
|
1736
|
+
# * REGION - The Amazon Web Services Region.
|
1709
1737
|
#
|
1710
1738
|
# * INSTANCE\_TYPE\_FAMILY - The family of instances (For example, `m5`)
|
1711
1739
|
#
|
1712
1740
|
# * LINKED\_ACCOUNT - The description in the attribute map that includes
|
1713
1741
|
# the full name of the member account. The value field contains the
|
1714
|
-
#
|
1742
|
+
# Amazon Web Services ID of the member account.
|
1715
1743
|
#
|
1716
1744
|
# * SAVINGS\_PLAN\_ARN - The unique identifier for your Savings Plan
|
1717
1745
|
#
|
@@ -1724,7 +1752,7 @@ module Aws::CostExplorer
|
|
1724
1752
|
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
1725
1753
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
1726
1754
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
1727
|
-
#
|
1755
|
+
# is as follows:
|
1728
1756
|
#
|
1729
1757
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
1730
1758
|
# “us-west-1” ] \} \}`
|
@@ -1736,11 +1764,11 @@ module Aws::CostExplorer
|
|
1736
1764
|
#
|
1737
1765
|
# * Compound dimension values with logical operations - You can use
|
1738
1766
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
1739
|
-
# to create a list of one or more `Expression` objects.
|
1740
|
-
# you
|
1767
|
+
# to create a list of one or more `Expression` objects. By doing this,
|
1768
|
+
# you can filter on more advanced options. For example, you can filter
|
1741
1769
|
# on `((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type ==
|
1742
1770
|
# Type1)) AND (USAGE_TYPE != DataTransfer)`. The `Expression` for that
|
1743
|
-
#
|
1771
|
+
# is as follows:
|
1744
1772
|
#
|
1745
1773
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values":
|
1746
1774
|
# [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
|
@@ -1757,13 +1785,13 @@ module Aws::CostExplorer
|
|
1757
1785
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
1758
1786
|
#
|
1759
1787
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR and
|
1760
|
-
# NOT
|
1788
|
+
# NOT isn't supported. OR isn't supported between different
|
1761
1789
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
1762
1790
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
1763
1791
|
# `RIGHTSIZING_TYPE`.
|
1764
1792
|
#
|
1765
1793
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
1766
|
-
# supported. AND and OR
|
1794
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
1767
1795
|
# `LINKED_ACCOUNT`.
|
1768
1796
|
#
|
1769
1797
|
# </note>
|
@@ -1803,9 +1831,9 @@ module Aws::CostExplorer
|
|
1803
1831
|
# For `GetDimensionValues`, MaxResults has an upper limit of 1000.
|
1804
1832
|
#
|
1805
1833
|
# @option params [String] :next_page_token
|
1806
|
-
# The token to retrieve the next set of results.
|
1807
|
-
# when the response from a previous call has more
|
1808
|
-
# maximum page size.
|
1834
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
1835
|
+
# provides the token when the response from a previous call has more
|
1836
|
+
# results than the maximum page size.
|
1809
1837
|
#
|
1810
1838
|
# @return [Types::GetDimensionValuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1811
1839
|
#
|
@@ -1952,8 +1980,8 @@ module Aws::CostExplorer
|
|
1952
1980
|
# * TENANCY
|
1953
1981
|
#
|
1954
1982
|
# @option params [String] :granularity
|
1955
|
-
# The granularity of the
|
1956
|
-
# are `MONTHLY` and `DAILY`.
|
1983
|
+
# The granularity of the Amazon Web Services cost data for the
|
1984
|
+
# reservation. Valid values are `MONTHLY` and `DAILY`.
|
1957
1985
|
#
|
1958
1986
|
# If `GroupBy` is set, `Granularity` can't be set. If `Granularity`
|
1959
1987
|
# isn't set, the response object doesn't include `Granularity`, either
|
@@ -2011,9 +2039,9 @@ module Aws::CostExplorer
|
|
2011
2039
|
# values in a request.
|
2012
2040
|
#
|
2013
2041
|
# @option params [String] :next_page_token
|
2014
|
-
# The token to retrieve the next set of results.
|
2015
|
-
# when the response from a previous call has more
|
2016
|
-
# maximum page size.
|
2042
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2043
|
+
# provides the token when the response from a previous call has more
|
2044
|
+
# results than the maximum page size.
|
2017
2045
|
#
|
2018
2046
|
# @option params [Types::SortDefinition] :sort_by
|
2019
2047
|
# The value by which you want to sort the data.
|
@@ -2044,9 +2072,9 @@ module Aws::CostExplorer
|
|
2044
2072
|
#
|
2045
2073
|
# @option params [Integer] :max_results
|
2046
2074
|
# The maximum number of objects that you returned for this request. If
|
2047
|
-
# more objects are available, in the response,
|
2048
|
-
# NextPageToken value that you can use in a subsequent call
|
2049
|
-
# next batch of objects.
|
2075
|
+
# more objects are available, in the response, Amazon Web Services
|
2076
|
+
# provides a NextPageToken value that you can use in a subsequent call
|
2077
|
+
# to get the next batch of objects.
|
2050
2078
|
#
|
2051
2079
|
# @return [Types::GetReservationCoverageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2052
2080
|
#
|
@@ -2157,22 +2185,24 @@ module Aws::CostExplorer
|
|
2157
2185
|
# recommendations could help you reduce your costs. Reservations provide
|
2158
2186
|
# a discounted hourly rate (up to 75%) compared to On-Demand pricing.
|
2159
2187
|
#
|
2160
|
-
#
|
2161
|
-
# during a specific time period and collecting your
|
2162
|
-
# categories that are eligible for a reservation. After
|
2163
|
-
# categories, it simulates every
|
2164
|
-
#
|
2165
|
-
# purchase to maximize your estimated
|
2166
|
-
#
|
2167
|
-
#
|
2168
|
-
#
|
2169
|
-
#
|
2170
|
-
#
|
2171
|
-
#
|
2172
|
-
#
|
2173
|
-
#
|
2174
|
-
#
|
2175
|
-
#
|
2188
|
+
# Amazon Web Services generates your recommendations by identifying your
|
2189
|
+
# On-Demand usage during a specific time period and collecting your
|
2190
|
+
# usage into categories that are eligible for a reservation. After
|
2191
|
+
# Amazon Web Services has these categories, it simulates every
|
2192
|
+
# combination of reservations in each category of usage to identify the
|
2193
|
+
# best number of each type of RI to purchase to maximize your estimated
|
2194
|
+
# savings.
|
2195
|
+
#
|
2196
|
+
# For example, Amazon Web Services automatically aggregates your Amazon
|
2197
|
+
# EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon)
|
2198
|
+
# Region and recommends that you buy size-flexible regional reservations
|
2199
|
+
# to apply to the c4 family usage. Amazon Web Services recommends the
|
2200
|
+
# smallest size instance in an instance family. This makes it easier to
|
2201
|
+
# purchase a size-flexible RI. Amazon Web Services also shows the equal
|
2202
|
+
# number of normalized units so that you can purchase any instance size
|
2203
|
+
# that you want. For this example, your RI recommendation would be for
|
2204
|
+
# `c4.large` because that is the smallest size instance in the c4
|
2205
|
+
# instance family.
|
2176
2206
|
#
|
2177
2207
|
# @option params [String] :account_id
|
2178
2208
|
# The account ID that is associated with the recommendation.
|
@@ -2189,7 +2219,7 @@ module Aws::CostExplorer
|
|
2189
2219
|
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
2190
2220
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
2191
2221
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
2192
|
-
#
|
2222
|
+
# is as follows:
|
2193
2223
|
#
|
2194
2224
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
2195
2225
|
# “us-west-1” ] \} \}`
|
@@ -2201,11 +2231,11 @@ module Aws::CostExplorer
|
|
2201
2231
|
#
|
2202
2232
|
# * Compound dimension values with logical operations - You can use
|
2203
2233
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
2204
|
-
# to create a list of one or more `Expression` objects.
|
2205
|
-
# you
|
2234
|
+
# to create a list of one or more `Expression` objects. By doing this,
|
2235
|
+
# you can filter on more advanced options. For example, you can filter
|
2206
2236
|
# on `((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type ==
|
2207
2237
|
# Type1)) AND (USAGE_TYPE != DataTransfer)`. The `Expression` for that
|
2208
|
-
#
|
2238
|
+
# is as follows:
|
2209
2239
|
#
|
2210
2240
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values":
|
2211
2241
|
# [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
|
@@ -2222,13 +2252,13 @@ module Aws::CostExplorer
|
|
2222
2252
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
2223
2253
|
#
|
2224
2254
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR and
|
2225
|
-
# NOT
|
2255
|
+
# NOT isn't supported. OR isn't supported between different
|
2226
2256
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
2227
2257
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
2228
2258
|
# `RIGHTSIZING_TYPE`.
|
2229
2259
|
#
|
2230
2260
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
2231
|
-
# supported. AND and OR
|
2261
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
2232
2262
|
# `LINKED_ACCOUNT`.
|
2233
2263
|
#
|
2234
2264
|
# </note>
|
@@ -2241,8 +2271,8 @@ module Aws::CostExplorer
|
|
2241
2271
|
# accounts only.
|
2242
2272
|
#
|
2243
2273
|
# @option params [String] :lookback_period_in_days
|
2244
|
-
# The number of previous days that you want
|
2245
|
-
# calculates your recommendations.
|
2274
|
+
# The number of previous days that you want Amazon Web Services to
|
2275
|
+
# consider when it calculates your recommendations.
|
2246
2276
|
#
|
2247
2277
|
# @option params [String] :term_in_years
|
2248
2278
|
# The reservation term that you want recommendations for.
|
@@ -2495,15 +2525,15 @@ module Aws::CostExplorer
|
|
2495
2525
|
# Supported values for `SortOrder` are `ASCENDING` or `DESCENDING`.
|
2496
2526
|
#
|
2497
2527
|
# @option params [String] :next_page_token
|
2498
|
-
# The token to retrieve the next set of results.
|
2499
|
-
# when the response from a previous call has more
|
2500
|
-
# maximum page size.
|
2528
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2529
|
+
# provides the token when the response from a previous call has more
|
2530
|
+
# results than the maximum page size.
|
2501
2531
|
#
|
2502
2532
|
# @option params [Integer] :max_results
|
2503
2533
|
# The maximum number of objects that you returned for this request. If
|
2504
|
-
# more objects are available, in the response,
|
2505
|
-
# NextPageToken value that you can use in a subsequent call
|
2506
|
-
# next batch of objects.
|
2534
|
+
# more objects are available, in the response, Amazon Web Services
|
2535
|
+
# provides a NextPageToken value that you can use in a subsequent call
|
2536
|
+
# to get the next batch of objects.
|
2507
2537
|
#
|
2508
2538
|
# @return [Types::GetReservationUtilizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2509
2539
|
#
|
@@ -2641,8 +2671,8 @@ module Aws::CostExplorer
|
|
2641
2671
|
# Recommendations are generated to either downsize or terminate
|
2642
2672
|
# instances, along with providing savings detail and metrics. For
|
2643
2673
|
# details on calculation and function, see [Optimizing Your Cost with
|
2644
|
-
# Rightsizing Recommendations][1] in the *
|
2645
|
-
#
|
2674
|
+
# Rightsizing Recommendations][1] in the *Billing and Cost Management
|
2675
|
+
# User Guide*.
|
2646
2676
|
#
|
2647
2677
|
#
|
2648
2678
|
#
|
@@ -2657,7 +2687,7 @@ module Aws::CostExplorer
|
|
2657
2687
|
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
2658
2688
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
2659
2689
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
2660
|
-
#
|
2690
|
+
# is as follows:
|
2661
2691
|
#
|
2662
2692
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
2663
2693
|
# “us-west-1” ] \} \}`
|
@@ -2669,11 +2699,11 @@ module Aws::CostExplorer
|
|
2669
2699
|
#
|
2670
2700
|
# * Compound dimension values with logical operations - You can use
|
2671
2701
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
2672
|
-
# to create a list of one or more `Expression` objects.
|
2673
|
-
# you
|
2702
|
+
# to create a list of one or more `Expression` objects. By doing this,
|
2703
|
+
# you can filter on more advanced options. For example, you can filter
|
2674
2704
|
# on `((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type ==
|
2675
2705
|
# Type1)) AND (USAGE_TYPE != DataTransfer)`. The `Expression` for that
|
2676
|
-
#
|
2706
|
+
# is as follows:
|
2677
2707
|
#
|
2678
2708
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values":
|
2679
2709
|
# [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
|
@@ -2690,13 +2720,13 @@ module Aws::CostExplorer
|
|
2690
2720
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
2691
2721
|
#
|
2692
2722
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR and
|
2693
|
-
# NOT
|
2723
|
+
# NOT isn't supported. OR isn't supported between different
|
2694
2724
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
2695
2725
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
2696
2726
|
# `RIGHTSIZING_TYPE`.
|
2697
2727
|
#
|
2698
2728
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
2699
|
-
# supported. AND and OR
|
2729
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
2700
2730
|
# `LINKED_ACCOUNT`.
|
2701
2731
|
#
|
2702
2732
|
# </note>
|
@@ -2807,6 +2837,14 @@ module Aws::CostExplorer
|
|
2807
2837
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
2808
2838
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
2809
2839
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
2840
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_ops_per_second #=> String
|
2841
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_ops_per_second #=> String
|
2842
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_bytes_per_second #=> String
|
2843
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_bytes_per_second #=> String
|
2844
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_in_bytes_per_second #=> String
|
2845
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_out_bytes_per_second #=> String
|
2846
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_in_per_second #=> String
|
2847
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_out_per_second #=> String
|
2810
2848
|
# resp.rightsizing_recommendations[0].current_instance.reservation_covered_hours_in_lookback_period #=> String
|
2811
2849
|
# resp.rightsizing_recommendations[0].current_instance.savings_plans_covered_hours_in_lookback_period #=> String
|
2812
2850
|
# resp.rightsizing_recommendations[0].current_instance.on_demand_hours_in_lookback_period #=> String
|
@@ -2835,8 +2873,20 @@ module Aws::CostExplorer
|
|
2835
2873
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
2836
2874
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
2837
2875
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
2876
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_ops_per_second #=> String
|
2877
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_ops_per_second #=> String
|
2878
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_bytes_per_second #=> String
|
2879
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_bytes_per_second #=> String
|
2880
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_in_bytes_per_second #=> String
|
2881
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_out_bytes_per_second #=> String
|
2882
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_in_per_second #=> String
|
2883
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_out_per_second #=> String
|
2884
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].platform_differences #=> Array
|
2885
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].platform_differences[0] #=> String, one of "HYPERVISOR", "NETWORK_INTERFACE", "STORAGE_INTERFACE", "INSTANCE_STORE_AVAILABILITY", "VIRTUALIZATION_TYPE"
|
2838
2886
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
|
2839
2887
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
|
2888
|
+
# resp.rightsizing_recommendations[0].finding_reason_codes #=> Array
|
2889
|
+
# resp.rightsizing_recommendations[0].finding_reason_codes[0] #=> String, one of "CPU_OVER_PROVISIONED", "CPU_UNDER_PROVISIONED", "MEMORY_OVER_PROVISIONED", "MEMORY_UNDER_PROVISIONED", "EBS_THROUGHPUT_OVER_PROVISIONED", "EBS_THROUGHPUT_UNDER_PROVISIONED", "EBS_IOPS_OVER_PROVISIONED", "EBS_IOPS_UNDER_PROVISIONED", "NETWORK_BANDWIDTH_OVER_PROVISIONED", "NETWORK_BANDWIDTH_UNDER_PROVISIONED", "NETWORK_PPS_OVER_PROVISIONED", "NETWORK_PPS_UNDER_PROVISIONED", "DISK_IOPS_OVER_PROVISIONED", "DISK_IOPS_UNDER_PROVISIONED", "DISK_THROUGHPUT_OVER_PROVISIONED", "DISK_THROUGHPUT_UNDER_PROVISIONED"
|
2840
2890
|
# resp.next_page_token #=> String
|
2841
2891
|
# resp.configuration.recommendation_target #=> String, one of "SAME_INSTANCE_FAMILY", "CROSS_INSTANCE_FAMILY"
|
2842
2892
|
# resp.configuration.benefits_considered #=> Boolean
|
@@ -3507,7 +3557,7 @@ module Aws::CostExplorer
|
|
3507
3557
|
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
3508
3558
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
3509
3559
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
3510
|
-
#
|
3560
|
+
# is as follows:
|
3511
3561
|
#
|
3512
3562
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
3513
3563
|
# “us-west-1” ] \} \}`
|
@@ -3519,11 +3569,11 @@ module Aws::CostExplorer
|
|
3519
3569
|
#
|
3520
3570
|
# * Compound dimension values with logical operations - You can use
|
3521
3571
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
3522
|
-
# to create a list of one or more `Expression` objects.
|
3523
|
-
# you
|
3572
|
+
# to create a list of one or more `Expression` objects. By doing this,
|
3573
|
+
# you can filter on more advanced options. For example, you can filter
|
3524
3574
|
# on `((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type ==
|
3525
3575
|
# Type1)) AND (USAGE_TYPE != DataTransfer)`. The `Expression` for that
|
3526
|
-
#
|
3576
|
+
# is as follows:
|
3527
3577
|
#
|
3528
3578
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values":
|
3529
3579
|
# [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
|
@@ -3540,13 +3590,13 @@ module Aws::CostExplorer
|
|
3540
3590
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
3541
3591
|
#
|
3542
3592
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR and
|
3543
|
-
# NOT
|
3593
|
+
# NOT isn't supported. OR isn't supported between different
|
3544
3594
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
3545
3595
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
3546
3596
|
# `RIGHTSIZING_TYPE`.
|
3547
3597
|
#
|
3548
3598
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
3549
|
-
# supported. AND and OR
|
3599
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
3550
3600
|
# `LINKED_ACCOUNT`.
|
3551
3601
|
#
|
3552
3602
|
# </note>
|
@@ -3585,9 +3635,9 @@ module Aws::CostExplorer
|
|
3585
3635
|
# For `GetTags`, MaxResults has an upper limit of 1000.
|
3586
3636
|
#
|
3587
3637
|
# @option params [String] :next_page_token
|
3588
|
-
# The token to retrieve the next set of results.
|
3589
|
-
# when the response from a previous call has more
|
3590
|
-
# maximum page size.
|
3638
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
3639
|
+
# provides the token when the response from a previous call has more
|
3640
|
+
# results than the maximum page size.
|
3591
3641
|
#
|
3592
3642
|
# @return [Types::GetTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3593
3643
|
#
|
@@ -3910,7 +3960,7 @@ module Aws::CostExplorer
|
|
3910
3960
|
end
|
3911
3961
|
|
3912
3962
|
# Updates an existing cost anomaly monitor. The changes made are applied
|
3913
|
-
# going forward, and
|
3963
|
+
# going forward, and doesn'tt change anomalies detected in the past.
|
3914
3964
|
#
|
3915
3965
|
# @option params [required, String] :monitor_arn
|
3916
3966
|
# Cost anomaly monitor Amazon Resource Names (ARNs).
|
@@ -3951,7 +4001,7 @@ module Aws::CostExplorer
|
|
3951
4001
|
# The update to the threshold value for receiving notifications.
|
3952
4002
|
#
|
3953
4003
|
# @option params [String] :frequency
|
3954
|
-
# The update to the frequency value
|
4004
|
+
# The update to the frequency value that subscribers receive
|
3955
4005
|
# notifications.
|
3956
4006
|
#
|
3957
4007
|
# @option params [Array<String>] :monitor_arn_list
|
@@ -3961,7 +4011,7 @@ module Aws::CostExplorer
|
|
3961
4011
|
# The update to the subscriber list.
|
3962
4012
|
#
|
3963
4013
|
# @option params [String] :subscription_name
|
3964
|
-
# The
|
4014
|
+
# The new name of the subscription.
|
3965
4015
|
#
|
3966
4016
|
# @return [Types::UpdateAnomalySubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3967
4017
|
#
|
@@ -4019,6 +4069,10 @@ module Aws::CostExplorer
|
|
4019
4069
|
# @option params [String] :default_value
|
4020
4070
|
# The default value for the cost category.
|
4021
4071
|
#
|
4072
|
+
# @option params [Array<Types::CostCategorySplitChargeRule>] :split_charge_rules
|
4073
|
+
# The split charge rules used to allocate your charges between your Cost
|
4074
|
+
# Category values.
|
4075
|
+
#
|
4022
4076
|
# @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4023
4077
|
#
|
4024
4078
|
# * {Types::UpdateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
|
@@ -4070,6 +4124,19 @@ module Aws::CostExplorer
|
|
4070
4124
|
# },
|
4071
4125
|
# ],
|
4072
4126
|
# default_value: "CostCategoryValue",
|
4127
|
+
# split_charge_rules: [
|
4128
|
+
# {
|
4129
|
+
# source: "GenericString", # required
|
4130
|
+
# targets: ["GenericString"], # required
|
4131
|
+
# method: "FIXED", # required, accepts FIXED, PROPORTIONAL, EVEN
|
4132
|
+
# parameters: [
|
4133
|
+
# {
|
4134
|
+
# type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
|
4135
|
+
# values: ["GenericString"], # required
|
4136
|
+
# },
|
4137
|
+
# ],
|
4138
|
+
# },
|
4139
|
+
# ],
|
4073
4140
|
# })
|
4074
4141
|
#
|
4075
4142
|
# @example Response structure
|
@@ -4099,7 +4166,7 @@ module Aws::CostExplorer
|
|
4099
4166
|
params: params,
|
4100
4167
|
config: config)
|
4101
4168
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
4102
|
-
context[:gem_version] = '1.
|
4169
|
+
context[:gem_version] = '1.65.0'
|
4103
4170
|
Seahorse::Client::Request.new(handlers, context)
|
4104
4171
|
end
|
4105
4172
|
|