aws-sdk-costexplorer 1.74.0 → 1.77.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +484 -128
- data/lib/aws-sdk-costexplorer/client_api.rb +155 -0
- data/lib/aws-sdk-costexplorer/errors.rb +26 -0
- data/lib/aws-sdk-costexplorer/types.rb +694 -176
- data/lib/aws-sdk-costexplorer.rb +1 -1
- metadata +4 -4
|
@@ -26,8 +26,8 @@ module Aws::CostExplorer
|
|
|
26
26
|
# @return [String]
|
|
27
27
|
#
|
|
28
28
|
# @!attribute [rw] dimension_value
|
|
29
|
-
# The dimension for the anomaly (for example, an Amazon Web
|
|
30
|
-
#
|
|
29
|
+
# The dimension for the anomaly (for example, an Amazon Web Service in
|
|
30
|
+
# a service monitor).
|
|
31
31
|
# @return [String]
|
|
32
32
|
#
|
|
33
33
|
# @!attribute [rw] root_causes
|
|
@@ -346,6 +346,63 @@ module Aws::CostExplorer
|
|
|
346
346
|
include Aws::Structure
|
|
347
347
|
end
|
|
348
348
|
|
|
349
|
+
# The cost allocation tag structure. This includes detailed metadata for
|
|
350
|
+
# the `CostAllocationTag` object.
|
|
351
|
+
#
|
|
352
|
+
# @!attribute [rw] tag_key
|
|
353
|
+
# The key for the cost allocation tag.
|
|
354
|
+
# @return [String]
|
|
355
|
+
#
|
|
356
|
+
# @!attribute [rw] type
|
|
357
|
+
# The type of cost allocation tag. You can use `AWSGenerated` or
|
|
358
|
+
# `UserDefined` type tags. `AWSGenerated` type tags are tags that
|
|
359
|
+
# Amazon Web Services defines and applies to support Amazon Web
|
|
360
|
+
# Services resources for cost allocation purposes. `UserDefined` type
|
|
361
|
+
# tags are tags that you define, create, and apply to resources.
|
|
362
|
+
# @return [String]
|
|
363
|
+
#
|
|
364
|
+
# @!attribute [rw] status
|
|
365
|
+
# The status of a cost allocation tag.
|
|
366
|
+
# @return [String]
|
|
367
|
+
#
|
|
368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostAllocationTag AWS API Documentation
|
|
369
|
+
#
|
|
370
|
+
class CostAllocationTag < Struct.new(
|
|
371
|
+
:tag_key,
|
|
372
|
+
:type,
|
|
373
|
+
:status)
|
|
374
|
+
SENSITIVE = []
|
|
375
|
+
include Aws::Structure
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# The cost allocation tag status. The status of a key can either be
|
|
379
|
+
# active or inactive.
|
|
380
|
+
#
|
|
381
|
+
# @note When making an API call, you may pass CostAllocationTagStatusEntry
|
|
382
|
+
# data as a hash:
|
|
383
|
+
#
|
|
384
|
+
# {
|
|
385
|
+
# tag_key: "TagKey", # required
|
|
386
|
+
# status: "Active", # required, accepts Active, Inactive
|
|
387
|
+
# }
|
|
388
|
+
#
|
|
389
|
+
# @!attribute [rw] tag_key
|
|
390
|
+
# The key for the cost allocation tag.
|
|
391
|
+
# @return [String]
|
|
392
|
+
#
|
|
393
|
+
# @!attribute [rw] status
|
|
394
|
+
# The status of a cost allocation tag.
|
|
395
|
+
# @return [String]
|
|
396
|
+
#
|
|
397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostAllocationTagStatusEntry AWS API Documentation
|
|
398
|
+
#
|
|
399
|
+
class CostAllocationTagStatusEntry < Struct.new(
|
|
400
|
+
:tag_key,
|
|
401
|
+
:status)
|
|
402
|
+
SENSITIVE = []
|
|
403
|
+
include Aws::Structure
|
|
404
|
+
end
|
|
405
|
+
|
|
349
406
|
# The structure of Cost Categories. This includes detailed metadata and
|
|
350
407
|
# the set of rules for the `CostCategory` object.
|
|
351
408
|
#
|
|
@@ -405,14 +462,14 @@ module Aws::CostExplorer
|
|
|
405
462
|
include Aws::Structure
|
|
406
463
|
end
|
|
407
464
|
|
|
408
|
-
# When
|
|
465
|
+
# When you create or update a cost category, you can define the
|
|
409
466
|
# `CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds
|
|
410
|
-
# the flexibility
|
|
411
|
-
# category value from the dimension value defined by
|
|
412
|
-
# `CostCategoryInheritedValueDimension`. For example,
|
|
413
|
-
# dynamically group costs that are based on the value of a
|
|
414
|
-
# key,
|
|
415
|
-
# dimension and specify the tag key to use.
|
|
467
|
+
# the flexibility to define a rule that dynamically inherits the cost
|
|
468
|
+
# category value from the dimension value that's defined by
|
|
469
|
+
# `CostCategoryInheritedValueDimension`. For example, suppose that you
|
|
470
|
+
# want to dynamically group costs that are based on the value of a
|
|
471
|
+
# specific tag key. First, choose an inherited value rule type, and then
|
|
472
|
+
# choose the tag dimension and specify the tag key to use.
|
|
416
473
|
#
|
|
417
474
|
# @note When making an API call, you may pass CostCategoryInheritedValueDimension
|
|
418
475
|
# data as a hash:
|
|
@@ -427,7 +484,7 @@ module Aws::CostExplorer
|
|
|
427
484
|
#
|
|
428
485
|
# If you specify `LINKED_ACCOUNT_NAME`, the cost category value is
|
|
429
486
|
# based on account name. If you specify `TAG`, the cost category value
|
|
430
|
-
#
|
|
487
|
+
# is based on the value of the specified tag key.
|
|
431
488
|
# @return [String]
|
|
432
489
|
#
|
|
433
490
|
# @!attribute [rw] dimension_key
|
|
@@ -597,12 +654,13 @@ module Aws::CostExplorer
|
|
|
597
654
|
# @!attribute [rw] type
|
|
598
655
|
# You can define the `CostCategoryRule` rule type as either `REGULAR`
|
|
599
656
|
# or `INHERITED_VALUE`. The `INHERITED_VALUE` rule type adds the
|
|
600
|
-
# flexibility
|
|
601
|
-
# category value from the dimension value
|
|
602
|
-
# `CostCategoryInheritedValueDimension`. For example,
|
|
603
|
-
#
|
|
604
|
-
#
|
|
605
|
-
# dimension and specify the tag key
|
|
657
|
+
# flexibility to define a rule that dynamically inherits the cost
|
|
658
|
+
# category value. This value is from the dimension value that's
|
|
659
|
+
# defined by `CostCategoryInheritedValueDimension`. For example,
|
|
660
|
+
# suppose that you want to costs to be dynamically grouped based on
|
|
661
|
+
# the value of a specific tag key. First, choose an inherited value
|
|
662
|
+
# rule type, and then choose the tag dimension and specify the tag key
|
|
663
|
+
# to use.
|
|
606
664
|
# @return [String]
|
|
607
665
|
#
|
|
608
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryRule AWS API Documentation
|
|
@@ -930,16 +988,55 @@ module Aws::CostExplorer
|
|
|
930
988
|
# },
|
|
931
989
|
# dimensional_value_count: 1,
|
|
932
990
|
# },
|
|
991
|
+
# resource_tags: [
|
|
992
|
+
# {
|
|
993
|
+
# key: "ResourceTagKey", # required
|
|
994
|
+
# value: "ResourceTagValue", # required
|
|
995
|
+
# },
|
|
996
|
+
# ],
|
|
933
997
|
# }
|
|
934
998
|
#
|
|
935
999
|
# @!attribute [rw] anomaly_monitor
|
|
936
1000
|
# The cost anomaly detection monitor object that you want to create.
|
|
937
1001
|
# @return [Types::AnomalyMonitor]
|
|
938
1002
|
#
|
|
1003
|
+
# @!attribute [rw] resource_tags
|
|
1004
|
+
# An optional list of tags to associate with the specified [
|
|
1005
|
+
# `AnomalyMonitor` ][1]. You can use resource tags to control access
|
|
1006
|
+
# to your `monitor` using IAM policies.
|
|
1007
|
+
#
|
|
1008
|
+
# Each tag consists of a key and a value, and each key must be unique
|
|
1009
|
+
# for the resource. The following restrictions apply to resource tags:
|
|
1010
|
+
#
|
|
1011
|
+
# * Although the maximum number of array members is 200, you can
|
|
1012
|
+
# assign a maximum of 50 user-tags to one resource. The remaining
|
|
1013
|
+
# are reserved for Amazon Web Services use
|
|
1014
|
+
#
|
|
1015
|
+
# * The maximum length of a key is 128 characters
|
|
1016
|
+
#
|
|
1017
|
+
# * The maximum length of a value is 256 characters
|
|
1018
|
+
#
|
|
1019
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
|
1020
|
+
# and any of the following: `_.:/=+@-`
|
|
1021
|
+
#
|
|
1022
|
+
# * Keys and values are case sensitive
|
|
1023
|
+
#
|
|
1024
|
+
# * Keys and values are trimmed for any leading or trailing
|
|
1025
|
+
# whitespaces
|
|
1026
|
+
#
|
|
1027
|
+
# * Don’t use `aws:` as a prefix for your keys. This prefix is
|
|
1028
|
+
# reserved for Amazon Web Services use
|
|
1029
|
+
#
|
|
1030
|
+
#
|
|
1031
|
+
#
|
|
1032
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html
|
|
1033
|
+
# @return [Array<Types::ResourceTag>]
|
|
1034
|
+
#
|
|
939
1035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalyMonitorRequest AWS API Documentation
|
|
940
1036
|
#
|
|
941
1037
|
class CreateAnomalyMonitorRequest < Struct.new(
|
|
942
|
-
:anomaly_monitor
|
|
1038
|
+
:anomaly_monitor,
|
|
1039
|
+
:resource_tags)
|
|
943
1040
|
SENSITIVE = []
|
|
944
1041
|
include Aws::Structure
|
|
945
1042
|
end
|
|
@@ -976,16 +1073,55 @@ module Aws::CostExplorer
|
|
|
976
1073
|
# frequency: "DAILY", # required, accepts DAILY, IMMEDIATE, WEEKLY
|
|
977
1074
|
# subscription_name: "GenericString", # required
|
|
978
1075
|
# },
|
|
1076
|
+
# resource_tags: [
|
|
1077
|
+
# {
|
|
1078
|
+
# key: "ResourceTagKey", # required
|
|
1079
|
+
# value: "ResourceTagValue", # required
|
|
1080
|
+
# },
|
|
1081
|
+
# ],
|
|
979
1082
|
# }
|
|
980
1083
|
#
|
|
981
1084
|
# @!attribute [rw] anomaly_subscription
|
|
982
1085
|
# The cost anomaly subscription object that you want to create.
|
|
983
1086
|
# @return [Types::AnomalySubscription]
|
|
984
1087
|
#
|
|
1088
|
+
# @!attribute [rw] resource_tags
|
|
1089
|
+
# An optional list of tags to associate with the specified [
|
|
1090
|
+
# `AnomalySubscription` ][1]. You can use resource tags to control
|
|
1091
|
+
# access to your `subscription` using IAM policies.
|
|
1092
|
+
#
|
|
1093
|
+
# Each tag consists of a key and a value, and each key must be unique
|
|
1094
|
+
# for the resource. The following restrictions apply to resource tags:
|
|
1095
|
+
#
|
|
1096
|
+
# * Although the maximum number of array members is 200, you can
|
|
1097
|
+
# assign a maximum of 50 user-tags to one resource. The remaining
|
|
1098
|
+
# are reserved for Amazon Web Services use
|
|
1099
|
+
#
|
|
1100
|
+
# * The maximum length of a key is 128 characters
|
|
1101
|
+
#
|
|
1102
|
+
# * The maximum length of a value is 256 characters
|
|
1103
|
+
#
|
|
1104
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
|
1105
|
+
# and any of the following: `_.:/=+@-`
|
|
1106
|
+
#
|
|
1107
|
+
# * Keys and values are case sensitive
|
|
1108
|
+
#
|
|
1109
|
+
# * Keys and values are trimmed for any leading or trailing
|
|
1110
|
+
# whitespaces
|
|
1111
|
+
#
|
|
1112
|
+
# * Don’t use `aws:` as a prefix for your keys. This prefix is
|
|
1113
|
+
# reserved for Amazon Web Services use
|
|
1114
|
+
#
|
|
1115
|
+
#
|
|
1116
|
+
#
|
|
1117
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html
|
|
1118
|
+
# @return [Array<Types::ResourceTag>]
|
|
1119
|
+
#
|
|
985
1120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalySubscriptionRequest AWS API Documentation
|
|
986
1121
|
#
|
|
987
1122
|
class CreateAnomalySubscriptionRequest < Struct.new(
|
|
988
|
-
:anomaly_subscription
|
|
1123
|
+
:anomaly_subscription,
|
|
1124
|
+
:resource_tags)
|
|
989
1125
|
SENSITIVE = []
|
|
990
1126
|
include Aws::Structure
|
|
991
1127
|
end
|
|
@@ -1063,6 +1199,12 @@ module Aws::CostExplorer
|
|
|
1063
1199
|
# ],
|
|
1064
1200
|
# },
|
|
1065
1201
|
# ],
|
|
1202
|
+
# resource_tags: [
|
|
1203
|
+
# {
|
|
1204
|
+
# key: "ResourceTagKey", # required
|
|
1205
|
+
# value: "ResourceTagValue", # required
|
|
1206
|
+
# },
|
|
1207
|
+
# ],
|
|
1066
1208
|
# }
|
|
1067
1209
|
#
|
|
1068
1210
|
# @!attribute [rw] name
|
|
@@ -1091,6 +1233,38 @@ module Aws::CostExplorer
|
|
|
1091
1233
|
# Cost Category values.
|
|
1092
1234
|
# @return [Array<Types::CostCategorySplitChargeRule>]
|
|
1093
1235
|
#
|
|
1236
|
+
# @!attribute [rw] resource_tags
|
|
1237
|
+
# An optional list of tags to associate with the specified [
|
|
1238
|
+
# `CostCategory` ][1]. You can use resource tags to control access to
|
|
1239
|
+
# your `cost category` using IAM policies.
|
|
1240
|
+
#
|
|
1241
|
+
# Each tag consists of a key and a value, and each key must be unique
|
|
1242
|
+
# for the resource. The following restrictions apply to resource tags:
|
|
1243
|
+
#
|
|
1244
|
+
# * Although the maximum number of array members is 200, you can
|
|
1245
|
+
# assign a maximum of 50 user-tags to one resource. The remaining
|
|
1246
|
+
# are reserved for Amazon Web Services use
|
|
1247
|
+
#
|
|
1248
|
+
# * The maximum length of a key is 128 characters
|
|
1249
|
+
#
|
|
1250
|
+
# * The maximum length of a value is 256 characters
|
|
1251
|
+
#
|
|
1252
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
|
1253
|
+
# and any of the following: `_.:/=+@-`
|
|
1254
|
+
#
|
|
1255
|
+
# * Keys and values are case sensitive
|
|
1256
|
+
#
|
|
1257
|
+
# * Keys and values are trimmed for any leading or trailing
|
|
1258
|
+
# whitespaces
|
|
1259
|
+
#
|
|
1260
|
+
# * Don’t use `aws:` as a prefix for your keys. This prefix is
|
|
1261
|
+
# reserved for Amazon Web Services use
|
|
1262
|
+
#
|
|
1263
|
+
#
|
|
1264
|
+
#
|
|
1265
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html
|
|
1266
|
+
# @return [Array<Types::ResourceTag>]
|
|
1267
|
+
#
|
|
1094
1268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionRequest AWS API Documentation
|
|
1095
1269
|
#
|
|
1096
1270
|
class CreateCostCategoryDefinitionRequest < Struct.new(
|
|
@@ -1098,7 +1272,8 @@ module Aws::CostExplorer
|
|
|
1098
1272
|
:rule_version,
|
|
1099
1273
|
:rules,
|
|
1100
1274
|
:default_value,
|
|
1101
|
-
:split_charge_rules
|
|
1275
|
+
:split_charge_rules,
|
|
1276
|
+
:resource_tags)
|
|
1102
1277
|
SENSITIVE = []
|
|
1103
1278
|
include Aws::Structure
|
|
1104
1279
|
end
|
|
@@ -1312,7 +1487,7 @@ module Aws::CostExplorer
|
|
|
1312
1487
|
#
|
|
1313
1488
|
# @!attribute [rw] effective_end
|
|
1314
1489
|
# The effective end date of the Cost Category as a result of deleting
|
|
1315
|
-
# it. No costs after this date
|
|
1490
|
+
# it. No costs after this date is categorized by the deleted Cost
|
|
1316
1491
|
# Category.
|
|
1317
1492
|
# @return [String]
|
|
1318
1493
|
#
|
|
@@ -1596,7 +1771,7 @@ module Aws::CostExplorer
|
|
|
1596
1771
|
include Aws::Structure
|
|
1597
1772
|
end
|
|
1598
1773
|
|
|
1599
|
-
# Utilization metrics
|
|
1774
|
+
# Utilization metrics for the instance.
|
|
1600
1775
|
#
|
|
1601
1776
|
# @!attribute [rw] max_cpu_utilization_percentage
|
|
1602
1777
|
# The maximum observed or expected CPU utilization of the instance.
|
|
@@ -2230,13 +2405,13 @@ module Aws::CostExplorer
|
|
|
2230
2405
|
# service. You can nest `Expression` objects to define any combination
|
|
2231
2406
|
# of dimension filters. For more information, see [Expression][1].
|
|
2232
2407
|
#
|
|
2233
|
-
# Valid values for `MatchOptions` for `
|
|
2234
|
-
# `EQUALS`, `ABSENT`, and `CASE_SENSITIVE`.
|
|
2235
|
-
#
|
|
2236
|
-
# The default values are `EQUALS` and `CASE_SENSITIVE`. Valid values
|
|
2237
|
-
# for `MatchOptions` for `Dimensions` are `EQUALS` and
|
|
2408
|
+
# Valid values for `MatchOptions` for `Dimensions` are `EQUALS` and
|
|
2238
2409
|
# `CASE_SENSITIVE`.
|
|
2239
2410
|
#
|
|
2411
|
+
# Valid values for `MatchOptions` for `CostCategories` and `Tags` are
|
|
2412
|
+
# `EQUALS`, `ABSENT`, and `CASE_SENSITIVE`. Default values are
|
|
2413
|
+
# `EQUALS` and `CASE_SENSITIVE`.
|
|
2414
|
+
#
|
|
2240
2415
|
#
|
|
2241
2416
|
#
|
|
2242
2417
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
|
@@ -2410,13 +2585,13 @@ module Aws::CostExplorer
|
|
|
2410
2585
|
# [Expression][1] `"SERVICE = Amazon Elastic Compute Cloud - Compute"`
|
|
2411
2586
|
# in the filter.
|
|
2412
2587
|
#
|
|
2413
|
-
# Valid values for `MatchOptions` for `
|
|
2414
|
-
# `EQUALS`, `ABSENT`, and `CASE_SENSITIVE`.
|
|
2415
|
-
#
|
|
2416
|
-
# The default values are `EQUALS` and `CASE_SENSITIVE`. Valid values
|
|
2417
|
-
# for `MatchOptions` for `Dimensions` are `EQUALS` and
|
|
2588
|
+
# Valid values for `MatchOptions` for `Dimensions` are `EQUALS` and
|
|
2418
2589
|
# `CASE_SENSITIVE`.
|
|
2419
2590
|
#
|
|
2591
|
+
# Valid values for `MatchOptions` for `CostCategories` and `Tags` are
|
|
2592
|
+
# `EQUALS`, `ABSENT`, and `CASE_SENSITIVE`. Default values are
|
|
2593
|
+
# `EQUALS` and `CASE_SENSITIVE`.
|
|
2594
|
+
#
|
|
2420
2595
|
#
|
|
2421
2596
|
#
|
|
2422
2597
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
|
@@ -2435,8 +2610,8 @@ module Aws::CostExplorer
|
|
|
2435
2610
|
# usage numbers without taking the units into account. For example, if
|
|
2436
2611
|
# you aggregate `usageQuantity` across all of Amazon EC2, the results
|
|
2437
2612
|
# aren't meaningful because Amazon EC2 compute hours and data
|
|
2438
|
-
# transfer are measured in different units (for example,
|
|
2439
|
-
#
|
|
2613
|
+
# transfer are measured in different units (for example, hour or GB).
|
|
2614
|
+
# To get more meaningful `UsageQuantity` metrics, filter by
|
|
2440
2615
|
# `UsageType` or `UsageTypeGroups`.
|
|
2441
2616
|
#
|
|
2442
2617
|
# </note>
|
|
@@ -2484,7 +2659,7 @@ module Aws::CostExplorer
|
|
|
2484
2659
|
# @return [Array<Types::GroupDefinition>]
|
|
2485
2660
|
#
|
|
2486
2661
|
# @!attribute [rw] results_by_time
|
|
2487
|
-
# The time period that
|
|
2662
|
+
# The time period that's covered by the results in the response.
|
|
2488
2663
|
# @return [Array<Types::ResultByTime>]
|
|
2489
2664
|
#
|
|
2490
2665
|
# @!attribute [rw] dimension_value_attributes
|
|
@@ -2557,11 +2732,10 @@ module Aws::CostExplorer
|
|
|
2557
2732
|
# @!attribute [rw] search_string
|
|
2558
2733
|
# The value that you want to search the filter values for.
|
|
2559
2734
|
#
|
|
2560
|
-
# If you
|
|
2561
|
-
#
|
|
2562
|
-
#
|
|
2563
|
-
#
|
|
2564
|
-
# `SearchString` pattern.
|
|
2735
|
+
# If you don't specify a `CostCategoryName`, `SearchString` is used
|
|
2736
|
+
# to filter Cost Category names that match the `SearchString` pattern.
|
|
2737
|
+
# If you specify a `CostCategoryName`, `SearchString` is used to
|
|
2738
|
+
# filter Cost Category values that match the `SearchString` pattern.
|
|
2565
2739
|
# @return [String]
|
|
2566
2740
|
#
|
|
2567
2741
|
# @!attribute [rw] time_period
|
|
@@ -2628,10 +2802,10 @@ module Aws::CostExplorer
|
|
|
2628
2802
|
# @return [Types::Expression]
|
|
2629
2803
|
#
|
|
2630
2804
|
# @!attribute [rw] sort_by
|
|
2631
|
-
# The value
|
|
2805
|
+
# The value that you sort the data by.
|
|
2632
2806
|
#
|
|
2633
|
-
# The key represents cost and usage metrics. The following values
|
|
2634
|
-
# supported:
|
|
2807
|
+
# The key represents the cost and usage metrics. The following values
|
|
2808
|
+
# are supported:
|
|
2635
2809
|
#
|
|
2636
2810
|
# * `BlendedCost`
|
|
2637
2811
|
#
|
|
@@ -2647,27 +2821,29 @@ module Aws::CostExplorer
|
|
|
2647
2821
|
#
|
|
2648
2822
|
# * `NormalizedUsageAmount`
|
|
2649
2823
|
#
|
|
2650
|
-
#
|
|
2824
|
+
# The supported key values for the `SortOrder` value are `ASCENDING`
|
|
2825
|
+
# and `DESCENDING`.
|
|
2651
2826
|
#
|
|
2652
|
-
# When
|
|
2653
|
-
# supported.
|
|
2827
|
+
# When you use the `SortBy` value, the `NextPageToken` and
|
|
2828
|
+
# `SearchString` key values aren't supported.
|
|
2654
2829
|
# @return [Array<Types::SortDefinition>]
|
|
2655
2830
|
#
|
|
2656
2831
|
# @!attribute [rw] max_results
|
|
2657
|
-
# This field is only used when `SortBy` is provided in the
|
|
2832
|
+
# This field is only used when the `SortBy` value is provided in the
|
|
2833
|
+
# request.
|
|
2658
2834
|
#
|
|
2659
|
-
# The maximum number of objects that
|
|
2660
|
-
#
|
|
2661
|
-
#
|
|
2835
|
+
# The maximum number of objects that are returned for this request. If
|
|
2836
|
+
# `MaxResults` isn't specified with the `SortBy` value, the request
|
|
2837
|
+
# returns 1000 results as the default value for this parameter.
|
|
2662
2838
|
#
|
|
2663
|
-
# For `GetCostCategories`, MaxResults has an upper
|
|
2839
|
+
# For `GetCostCategories`, MaxResults has an upper quota of 1000.
|
|
2664
2840
|
# @return [Integer]
|
|
2665
2841
|
#
|
|
2666
2842
|
# @!attribute [rw] next_page_token
|
|
2667
2843
|
# If the number of objects that are still available for retrieval
|
|
2668
|
-
# exceeds the
|
|
2844
|
+
# exceeds the quota, Amazon Web Services returns a NextPageToken value
|
|
2669
2845
|
# in the response. To retrieve the next batch of objects, provide the
|
|
2670
|
-
# NextPageToken from the
|
|
2846
|
+
# NextPageToken from the previous call in your next request.
|
|
2671
2847
|
# @return [String]
|
|
2672
2848
|
#
|
|
2673
2849
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostCategoriesRequest AWS API Documentation
|
|
@@ -2686,7 +2862,7 @@ module Aws::CostExplorer
|
|
|
2686
2862
|
|
|
2687
2863
|
# @!attribute [rw] next_page_token
|
|
2688
2864
|
# If the number of objects that are still available for retrieval
|
|
2689
|
-
# exceeds the
|
|
2865
|
+
# exceeds the quota, Amazon Web Services returns a NextPageToken value
|
|
2690
2866
|
# in the response. To retrieve the next batch of objects, provide the
|
|
2691
2867
|
# marker from the prior call in your next request.
|
|
2692
2868
|
# @return [String]
|
|
@@ -2698,12 +2874,12 @@ module Aws::CostExplorer
|
|
|
2698
2874
|
# @!attribute [rw] cost_category_values
|
|
2699
2875
|
# The Cost Category values.
|
|
2700
2876
|
#
|
|
2701
|
-
# `
|
|
2702
|
-
#
|
|
2877
|
+
# If the `CostCategoryName` key isn't specified in the request, the
|
|
2878
|
+
# `CostCategoryValues` fields aren't returned.
|
|
2703
2879
|
# @return [Array<String>]
|
|
2704
2880
|
#
|
|
2705
2881
|
# @!attribute [rw] return_size
|
|
2706
|
-
# The number of objects returned.
|
|
2882
|
+
# The number of objects that are returned.
|
|
2707
2883
|
# @return [Integer]
|
|
2708
2884
|
#
|
|
2709
2885
|
# @!attribute [rw] total_size
|
|
@@ -2980,15 +3156,15 @@ module Aws::CostExplorer
|
|
|
2980
3156
|
# is with. Possible values are the following:
|
|
2981
3157
|
#
|
|
2982
3158
|
# \- Amazon Web Services(Amazon Web Services): The entity that sells
|
|
2983
|
-
# Amazon Web Services
|
|
3159
|
+
# Amazon Web Services.
|
|
2984
3160
|
#
|
|
2985
3161
|
# \- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian
|
|
2986
|
-
# entity that
|
|
2987
|
-
#
|
|
3162
|
+
# entity that's an acting reseller for Amazon Web Services in
|
|
3163
|
+
# India.
|
|
2988
3164
|
#
|
|
2989
3165
|
# \- Amazon Web Services Marketplace: The entity that supports the
|
|
2990
|
-
# sale of solutions built on Amazon Web Services by
|
|
2991
|
-
# software providers.
|
|
3166
|
+
# sale of solutions that are built on Amazon Web Services by
|
|
3167
|
+
# third-party software providers.
|
|
2992
3168
|
#
|
|
2993
3169
|
# * CACHE\_ENGINE - The Amazon ElastiCache operating system. Examples
|
|
2994
3170
|
# are Windows or Linux.
|
|
@@ -3003,12 +3179,12 @@ module Aws::CostExplorer
|
|
|
3003
3179
|
# `m4.xlarge`.
|
|
3004
3180
|
#
|
|
3005
3181
|
# * INSTANCE\_TYPE\_FAMILY - A family of instance types optimized to
|
|
3006
|
-
# fit different use cases. Examples are `Compute Optimized` (
|
|
3007
|
-
# `C5`, `C6g`, `C7g`
|
|
3008
|
-
# `R5b`, `R6g`
|
|
3182
|
+
# fit different use cases. Examples are `Compute Optimized` (for
|
|
3183
|
+
# example, `C4`, `C5`, `C6g`, and `C7g`), `Memory Optimization` (for
|
|
3184
|
+
# example, `R4`, `R5n`, `R5b`, and `R6g`).
|
|
3009
3185
|
#
|
|
3010
|
-
# * INVOICING\_ENTITY - The name of the entity
|
|
3011
|
-
# Services invoice.
|
|
3186
|
+
# * INVOICING\_ENTITY - The name of the entity that issues the Amazon
|
|
3187
|
+
# Web Services invoice.
|
|
3012
3188
|
#
|
|
3013
3189
|
# * LEGAL\_ENTITY\_NAME - The name of the organization that sells you
|
|
3014
3190
|
# Amazon Web Services services, such as Amazon Web Services.
|
|
@@ -3026,8 +3202,8 @@ module Aws::CostExplorer
|
|
|
3026
3202
|
# * PLATFORM - The Amazon EC2 operating system. Examples are Windows
|
|
3027
3203
|
# or Linux.
|
|
3028
3204
|
#
|
|
3029
|
-
# * PURCHASE\_TYPE - The reservation type of the purchase
|
|
3030
|
-
#
|
|
3205
|
+
# * PURCHASE\_TYPE - The reservation type of the purchase that this
|
|
3206
|
+
# usage is related to. Examples include On-Demand Instances and
|
|
3031
3207
|
# Standard Reserved Instances.
|
|
3032
3208
|
#
|
|
3033
3209
|
# * RESERVATION\_ID - The unique identifier for an Amazon Web Services
|
|
@@ -3053,8 +3229,8 @@ module Aws::CostExplorer
|
|
|
3053
3229
|
#
|
|
3054
3230
|
# * REGION - The Amazon Web Services Region.
|
|
3055
3231
|
#
|
|
3056
|
-
# * RECORD\_TYPE - The different types of charges such as
|
|
3057
|
-
# usage costs, tax refunds, and credits.
|
|
3232
|
+
# * RECORD\_TYPE - The different types of charges such as Reserved
|
|
3233
|
+
# Instance (RI) fees, usage costs, tax refunds, and credits.
|
|
3058
3234
|
#
|
|
3059
3235
|
# * RESOURCE\_ID - The unique identifier of the resource. ResourceId
|
|
3060
3236
|
# is an opt-in feature only available for last 14 days for
|
|
@@ -3098,8 +3274,8 @@ module Aws::CostExplorer
|
|
|
3098
3274
|
# * SAVINGS\_PLANS\_TYPE - Type of Savings Plans (EC2 Instance or
|
|
3099
3275
|
# Compute)
|
|
3100
3276
|
#
|
|
3101
|
-
# * PAYMENT\_OPTION -
|
|
3102
|
-
# example, All Upfront)
|
|
3277
|
+
# * PAYMENT\_OPTION - The payment option for the given Savings Plans
|
|
3278
|
+
# (for example, All Upfront)
|
|
3103
3279
|
#
|
|
3104
3280
|
# * REGION - The Amazon Web Services Region.
|
|
3105
3281
|
#
|
|
@@ -3169,7 +3345,7 @@ module Aws::CostExplorer
|
|
|
3169
3345
|
# @return [Types::Expression]
|
|
3170
3346
|
#
|
|
3171
3347
|
# @!attribute [rw] sort_by
|
|
3172
|
-
# The value
|
|
3348
|
+
# The value that you want to sort the data by.
|
|
3173
3349
|
#
|
|
3174
3350
|
# The key represents cost and usage metrics. The following values are
|
|
3175
3351
|
# supported:
|
|
@@ -3188,18 +3364,19 @@ module Aws::CostExplorer
|
|
|
3188
3364
|
#
|
|
3189
3365
|
# * `NormalizedUsageAmount`
|
|
3190
3366
|
#
|
|
3191
|
-
#
|
|
3367
|
+
# The supported values for the `SortOrder` key are `ASCENDING` or
|
|
3368
|
+
# `DESCENDING`.
|
|
3192
3369
|
#
|
|
3193
3370
|
# When you specify a `SortBy` paramater, the context must be
|
|
3194
3371
|
# `COST_AND_USAGE`. Further, when using `SortBy`, `NextPageToken` and
|
|
3195
|
-
# `SearchString`
|
|
3372
|
+
# `SearchString` aren't supported.
|
|
3196
3373
|
# @return [Array<Types::SortDefinition>]
|
|
3197
3374
|
#
|
|
3198
3375
|
# @!attribute [rw] max_results
|
|
3199
3376
|
# This field is only used when SortBy is provided in the request. The
|
|
3200
|
-
# maximum number of objects that
|
|
3201
|
-
# MaxResults
|
|
3202
|
-
#
|
|
3377
|
+
# maximum number of objects that are returned for this request. If
|
|
3378
|
+
# MaxResults isn't specified with SortBy, the request returns 1000
|
|
3379
|
+
# results as the default value for this parameter.
|
|
3203
3380
|
#
|
|
3204
3381
|
# For `GetDimensionValues`, MaxResults has an upper limit of 1000.
|
|
3205
3382
|
# @return [Integer]
|
|
@@ -3640,7 +3817,7 @@ module Aws::CostExplorer
|
|
|
3640
3817
|
# }
|
|
3641
3818
|
#
|
|
3642
3819
|
# @!attribute [rw] account_id
|
|
3643
|
-
# The account ID that
|
|
3820
|
+
# The account ID that's associated with the recommendation.
|
|
3644
3821
|
# @return [String]
|
|
3645
3822
|
#
|
|
3646
3823
|
# @!attribute [rw] service
|
|
@@ -3833,11 +4010,12 @@ module Aws::CostExplorer
|
|
|
3833
4010
|
# }
|
|
3834
4011
|
#
|
|
3835
4012
|
# @!attribute [rw] time_period
|
|
3836
|
-
# Sets the start and end dates for retrieving
|
|
3837
|
-
# start date is inclusive, but the end date is
|
|
3838
|
-
# if `start` is `2017-01-01` and `end` is
|
|
3839
|
-
# and usage data is retrieved from
|
|
3840
|
-
# `2017-
|
|
4013
|
+
# Sets the start and end dates for retrieving Reserved Instance (RI)
|
|
4014
|
+
# utilization. The start date is inclusive, but the end date is
|
|
4015
|
+
# exclusive. For example, if `start` is `2017-01-01` and `end` is
|
|
4016
|
+
# `2017-05-01`, then the cost and usage data is retrieved from
|
|
4017
|
+
# `2017-01-01` up to and including `2017-04-30` but not including
|
|
4018
|
+
# `2017-05-01`.
|
|
3841
4019
|
# @return [Types::DateInterval]
|
|
3842
4020
|
#
|
|
3843
4021
|
# @!attribute [rw] group_by
|
|
@@ -3891,7 +4069,7 @@ module Aws::CostExplorer
|
|
|
3891
4069
|
# @return [Types::Expression]
|
|
3892
4070
|
#
|
|
3893
4071
|
# @!attribute [rw] sort_by
|
|
3894
|
-
# The value
|
|
4072
|
+
# The value that you want to sort the data by.
|
|
3895
4073
|
#
|
|
3896
4074
|
# The following values are supported for `Key`\:
|
|
3897
4075
|
#
|
|
@@ -3929,7 +4107,8 @@ module Aws::CostExplorer
|
|
|
3929
4107
|
#
|
|
3930
4108
|
# * `UnrealizedSavings`
|
|
3931
4109
|
#
|
|
3932
|
-
#
|
|
4110
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
|
4111
|
+
# `DESCENDING`.
|
|
3933
4112
|
# @return [Types::SortDefinition]
|
|
3934
4113
|
#
|
|
3935
4114
|
# @!attribute [rw] next_page_token
|
|
@@ -3960,11 +4139,12 @@ module Aws::CostExplorer
|
|
|
3960
4139
|
end
|
|
3961
4140
|
|
|
3962
4141
|
# @!attribute [rw] utilizations_by_time
|
|
3963
|
-
# The amount of time that you used your RIs.
|
|
4142
|
+
# The amount of time that you used your Reserved Instances (RIs).
|
|
3964
4143
|
# @return [Array<Types::UtilizationByTime>]
|
|
3965
4144
|
#
|
|
3966
4145
|
# @!attribute [rw] total
|
|
3967
|
-
# The total amount of time that you used your
|
|
4146
|
+
# The total amount of time that you used your Reserved Instances
|
|
4147
|
+
# (RIs).
|
|
3968
4148
|
# @return [Types::ReservationAggregates]
|
|
3969
4149
|
#
|
|
3970
4150
|
# @!attribute [rw] next_page_token
|
|
@@ -4082,12 +4262,12 @@ module Aws::CostExplorer
|
|
|
4082
4262
|
# @return [Types::Expression]
|
|
4083
4263
|
#
|
|
4084
4264
|
# @!attribute [rw] configuration
|
|
4085
|
-
#
|
|
4086
|
-
# can choose to view recommendations for instances
|
|
4087
|
-
# instance families or across different instance
|
|
4088
|
-
# also choose to view your estimated savings
|
|
4089
|
-
# recommendations with consideration of existing
|
|
4090
|
-
# benefits, or neither.
|
|
4265
|
+
# You can use Configuration to customize recommendations across two
|
|
4266
|
+
# attributes. You can choose to view recommendations for instances
|
|
4267
|
+
# within the same instance families or across different instance
|
|
4268
|
+
# families. You can also choose to view your estimated savings that
|
|
4269
|
+
# are associated with recommendations with consideration of existing
|
|
4270
|
+
# Savings Plans or RI benefits, or neither.
|
|
4091
4271
|
# @return [Types::RightsizingRecommendationConfiguration]
|
|
4092
4272
|
#
|
|
4093
4273
|
# @!attribute [rw] service
|
|
@@ -4134,12 +4314,12 @@ module Aws::CostExplorer
|
|
|
4134
4314
|
# @return [String]
|
|
4135
4315
|
#
|
|
4136
4316
|
# @!attribute [rw] configuration
|
|
4137
|
-
#
|
|
4138
|
-
# can choose to view recommendations for instances
|
|
4139
|
-
# instance families or across different instance
|
|
4140
|
-
# also choose to view your estimated savings
|
|
4141
|
-
# recommendations with consideration of existing
|
|
4142
|
-
# benefits, or neither.
|
|
4317
|
+
# You can use Configuration to customize recommendations across two
|
|
4318
|
+
# attributes. You can choose to view recommendations for instances
|
|
4319
|
+
# within the same instance families or across different instance
|
|
4320
|
+
# families. You can also choose to view your estimated savings that
|
|
4321
|
+
# are associated with recommendations with consideration of existing
|
|
4322
|
+
# Savings Plans or RI benefits, or neither.
|
|
4143
4323
|
# @return [Types::RightsizingRecommendationConfiguration]
|
|
4144
4324
|
#
|
|
4145
4325
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendationResponse AWS API Documentation
|
|
@@ -4269,7 +4449,7 @@ module Aws::CostExplorer
|
|
|
4269
4449
|
# @return [Integer]
|
|
4270
4450
|
#
|
|
4271
4451
|
# @!attribute [rw] sort_by
|
|
4272
|
-
# The value
|
|
4452
|
+
# The value that you want to sort the data by.
|
|
4273
4453
|
#
|
|
4274
4454
|
# The following values are supported for `Key`\:
|
|
4275
4455
|
#
|
|
@@ -4287,7 +4467,8 @@ module Aws::CostExplorer
|
|
|
4287
4467
|
#
|
|
4288
4468
|
# * `Service`
|
|
4289
4469
|
#
|
|
4290
|
-
#
|
|
4470
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
|
4471
|
+
# `DESCENDING`.
|
|
4291
4472
|
# @return [Types::SortDefinition]
|
|
4292
4473
|
#
|
|
4293
4474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansCoverageRequest AWS API Documentation
|
|
@@ -4368,16 +4549,16 @@ module Aws::CostExplorer
|
|
|
4368
4549
|
# }
|
|
4369
4550
|
#
|
|
4370
4551
|
# @!attribute [rw] savings_plans_type
|
|
4371
|
-
# The Savings Plans recommendation type requested.
|
|
4552
|
+
# The Savings Plans recommendation type that's requested.
|
|
4372
4553
|
# @return [String]
|
|
4373
4554
|
#
|
|
4374
4555
|
# @!attribute [rw] term_in_years
|
|
4375
|
-
# The savings plan recommendation term used to generate these
|
|
4556
|
+
# The savings plan recommendation term that's used to generate these
|
|
4376
4557
|
# recommendations.
|
|
4377
4558
|
# @return [String]
|
|
4378
4559
|
#
|
|
4379
4560
|
# @!attribute [rw] payment_option
|
|
4380
|
-
# The payment option used to generate these recommendations.
|
|
4561
|
+
# The payment option that's used to generate these recommendations.
|
|
4381
4562
|
# @return [String]
|
|
4382
4563
|
#
|
|
4383
4564
|
# @!attribute [rw] account_scope
|
|
@@ -4400,22 +4581,22 @@ module Aws::CostExplorer
|
|
|
4400
4581
|
# @return [Integer]
|
|
4401
4582
|
#
|
|
4402
4583
|
# @!attribute [rw] lookback_period_in_days
|
|
4403
|
-
# The lookback period used to generate the recommendation.
|
|
4584
|
+
# The lookback period that's used to generate the recommendation.
|
|
4404
4585
|
# @return [String]
|
|
4405
4586
|
#
|
|
4406
4587
|
# @!attribute [rw] filter
|
|
4407
4588
|
# You can filter your recommendations by Account ID with the
|
|
4408
4589
|
# `LINKED_ACCOUNT` dimension. To filter your recommendations by
|
|
4409
4590
|
# Account ID, specify `Key` as `LINKED_ACCOUNT` and `Value` as the
|
|
4410
|
-
# comma-separated Acount ID(s)
|
|
4411
|
-
# purchase recommendations.
|
|
4591
|
+
# comma-separated Acount ID(s) that you want to see Savings Plans
|
|
4592
|
+
# purchase recommendations for.
|
|
4412
4593
|
#
|
|
4413
|
-
# For GetSavingsPlansPurchaseRecommendation, the `Filter`
|
|
4594
|
+
# For GetSavingsPlansPurchaseRecommendation, the `Filter` doesn't
|
|
4414
4595
|
# include `CostCategories` or `Tags`. It only includes `Dimensions`.
|
|
4415
4596
|
# With `Dimensions`, `Key` must be `LINKED_ACCOUNT` and `Value` can be
|
|
4416
|
-
# a single Account ID or multiple comma-separated Account IDs
|
|
4417
|
-
#
|
|
4418
|
-
#
|
|
4597
|
+
# a single Account ID or multiple comma-separated Account IDs that you
|
|
4598
|
+
# want to see Savings Plans Purchase Recommendations for. `AND` and
|
|
4599
|
+
# `OR` operators are not supported.
|
|
4419
4600
|
# @return [Types::Expression]
|
|
4420
4601
|
#
|
|
4421
4602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansPurchaseRecommendationRequest AWS API Documentation
|
|
@@ -4434,7 +4615,7 @@ module Aws::CostExplorer
|
|
|
4434
4615
|
end
|
|
4435
4616
|
|
|
4436
4617
|
# @!attribute [rw] metadata
|
|
4437
|
-
# Information
|
|
4618
|
+
# Information that regards this specific recommendation set.
|
|
4438
4619
|
# @return [Types::SavingsPlansPurchaseRecommendationMetadata]
|
|
4439
4620
|
#
|
|
4440
4621
|
# @!attribute [rw] savings_plans_purchase_recommendation
|
|
@@ -4551,7 +4732,7 @@ module Aws::CostExplorer
|
|
|
4551
4732
|
# @return [Integer]
|
|
4552
4733
|
#
|
|
4553
4734
|
# @!attribute [rw] sort_by
|
|
4554
|
-
# The value
|
|
4735
|
+
# The value that you want to sort the data by.
|
|
4555
4736
|
#
|
|
4556
4737
|
# The following values are supported for `Key`\:
|
|
4557
4738
|
#
|
|
@@ -4569,7 +4750,8 @@ module Aws::CostExplorer
|
|
|
4569
4750
|
#
|
|
4570
4751
|
# * `AmortizedUpfrontCommitment`
|
|
4571
4752
|
#
|
|
4572
|
-
#
|
|
4753
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
|
4754
|
+
# `DESCENDING`.
|
|
4573
4755
|
# @return [Types::SortDefinition]
|
|
4574
4756
|
#
|
|
4575
4757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilizationDetailsRequest AWS API Documentation
|
|
@@ -4701,7 +4883,7 @@ module Aws::CostExplorer
|
|
|
4701
4883
|
# @return [Types::Expression]
|
|
4702
4884
|
#
|
|
4703
4885
|
# @!attribute [rw] sort_by
|
|
4704
|
-
# The value
|
|
4886
|
+
# The value that you want to sort the data by.
|
|
4705
4887
|
#
|
|
4706
4888
|
# The following values are supported for `Key`\:
|
|
4707
4889
|
#
|
|
@@ -4715,7 +4897,8 @@ module Aws::CostExplorer
|
|
|
4715
4897
|
#
|
|
4716
4898
|
# * `NetSavings`
|
|
4717
4899
|
#
|
|
4718
|
-
#
|
|
4900
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
|
4901
|
+
# `DESCENDING`.
|
|
4719
4902
|
# @return [Types::SortDefinition]
|
|
4720
4903
|
#
|
|
4721
4904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilizationRequest AWS API Documentation
|
|
@@ -4730,8 +4913,8 @@ module Aws::CostExplorer
|
|
|
4730
4913
|
end
|
|
4731
4914
|
|
|
4732
4915
|
# @!attribute [rw] savings_plans_utilizations_by_time
|
|
4733
|
-
# The amount of cost/commitment you used your Savings Plans.
|
|
4734
|
-
#
|
|
4916
|
+
# The amount of cost/commitment that you used your Savings Plans. You
|
|
4917
|
+
# can use it to specify date ranges.
|
|
4735
4918
|
# @return [Array<Types::SavingsPlansUtilizationByTime>]
|
|
4736
4919
|
#
|
|
4737
4920
|
# @!attribute [rw] total
|
|
@@ -4870,7 +5053,7 @@ module Aws::CostExplorer
|
|
|
4870
5053
|
# @return [Types::Expression]
|
|
4871
5054
|
#
|
|
4872
5055
|
# @!attribute [rw] sort_by
|
|
4873
|
-
# The value
|
|
5056
|
+
# The value that you want to sort the data by.
|
|
4874
5057
|
#
|
|
4875
5058
|
# The key represents cost and usage metrics. The following values are
|
|
4876
5059
|
# supported:
|
|
@@ -4889,19 +5072,20 @@ module Aws::CostExplorer
|
|
|
4889
5072
|
#
|
|
4890
5073
|
# * `NormalizedUsageAmount`
|
|
4891
5074
|
#
|
|
4892
|
-
#
|
|
5075
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
|
5076
|
+
# `DESCENDING`.
|
|
4893
5077
|
#
|
|
4894
|
-
# When
|
|
5078
|
+
# When you use `SortBy`, `NextPageToken` and `SearchString` aren't
|
|
4895
5079
|
# supported.
|
|
4896
5080
|
# @return [Array<Types::SortDefinition>]
|
|
4897
5081
|
#
|
|
4898
5082
|
# @!attribute [rw] max_results
|
|
4899
5083
|
# This field is only used when SortBy is provided in the request. The
|
|
4900
|
-
# maximum number of objects that
|
|
4901
|
-
# MaxResults
|
|
4902
|
-
#
|
|
5084
|
+
# maximum number of objects that are returned for this request. If
|
|
5085
|
+
# MaxResults isn't specified with SortBy, the request returns 1000
|
|
5086
|
+
# results as the default value for this parameter.
|
|
4903
5087
|
#
|
|
4904
|
-
# For `GetTags`, MaxResults has an upper
|
|
5088
|
+
# For `GetTags`, MaxResults has an upper quota of 1000.
|
|
4905
5089
|
# @return [Integer]
|
|
4906
5090
|
#
|
|
4907
5091
|
# @!attribute [rw] next_page_token
|
|
@@ -4999,12 +5183,12 @@ module Aws::CostExplorer
|
|
|
4999
5183
|
#
|
|
5000
5184
|
# @!attribute [rw] time_period
|
|
5001
5185
|
# The start and end dates of the period that you want to retrieve
|
|
5002
|
-
# usage forecast for. The start date is
|
|
5003
|
-
#
|
|
5004
|
-
# `2017-05-01`, then the cost and usage
|
|
5005
|
-
# `2017-01-01` up to and including `2017-04-30`
|
|
5006
|
-
# `2017-05-01`. The start date must be equal to or
|
|
5007
|
-
# current date to avoid a validation error.
|
|
5186
|
+
# usage forecast for. The start date is included in the period, but
|
|
5187
|
+
# the end date isn't included in the period. For example, if `start`
|
|
5188
|
+
# is `2017-01-01` and `end` is `2017-05-01`, then the cost and usage
|
|
5189
|
+
# data is retrieved from `2017-01-01` up to and including `2017-04-30`
|
|
5190
|
+
# but not including `2017-05-01`. The start date must be equal to or
|
|
5191
|
+
# later than the current date to avoid a validation error.
|
|
5008
5192
|
# @return [Types::DateInterval]
|
|
5009
5193
|
#
|
|
5010
5194
|
# @!attribute [rw] metric
|
|
@@ -5078,12 +5262,12 @@ module Aws::CostExplorer
|
|
|
5078
5262
|
# @return [Types::Expression]
|
|
5079
5263
|
#
|
|
5080
5264
|
# @!attribute [rw] prediction_interval_level
|
|
5081
|
-
# Cost Explorer always returns the mean forecast
|
|
5082
|
-
# You can request a prediction interval around the
|
|
5083
|
-
# a confidence level. The higher the confidence
|
|
5084
|
-
# confident Cost Explorer is about the actual value
|
|
5085
|
-
# prediction interval. Higher confidence levels result
|
|
5086
|
-
# prediction intervals.
|
|
5265
|
+
# Amazon Web Services Cost Explorer always returns the mean forecast
|
|
5266
|
+
# as a single point. You can request a prediction interval around the
|
|
5267
|
+
# mean by specifying a confidence level. The higher the confidence
|
|
5268
|
+
# level, the more confident Cost Explorer is about the actual value
|
|
5269
|
+
# falling in the prediction interval. Higher confidence levels result
|
|
5270
|
+
# in wider prediction intervals.
|
|
5087
5271
|
# @return [Integer]
|
|
5088
5272
|
#
|
|
5089
5273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetUsageForecastRequest AWS API Documentation
|
|
@@ -5249,6 +5433,78 @@ module Aws::CostExplorer
|
|
|
5249
5433
|
include Aws::Structure
|
|
5250
5434
|
end
|
|
5251
5435
|
|
|
5436
|
+
# @note When making an API call, you may pass ListCostAllocationTagsRequest
|
|
5437
|
+
# data as a hash:
|
|
5438
|
+
#
|
|
5439
|
+
# {
|
|
5440
|
+
# status: "Active", # accepts Active, Inactive
|
|
5441
|
+
# tag_keys: ["TagKey"],
|
|
5442
|
+
# type: "AWSGenerated", # accepts AWSGenerated, UserDefined
|
|
5443
|
+
# next_token: "NextPageToken",
|
|
5444
|
+
# max_results: 1,
|
|
5445
|
+
# }
|
|
5446
|
+
#
|
|
5447
|
+
# @!attribute [rw] status
|
|
5448
|
+
# The status of cost allocation tag keys that are returned for this
|
|
5449
|
+
# request.
|
|
5450
|
+
# @return [String]
|
|
5451
|
+
#
|
|
5452
|
+
# @!attribute [rw] tag_keys
|
|
5453
|
+
# The list of cost allocation tag keys that are returned for this
|
|
5454
|
+
# request.
|
|
5455
|
+
# @return [Array<String>]
|
|
5456
|
+
#
|
|
5457
|
+
# @!attribute [rw] type
|
|
5458
|
+
# The type of `CostAllocationTag` object that are returned for this
|
|
5459
|
+
# request. The `AWSGenerated` type tags are tags that Amazon Web
|
|
5460
|
+
# Services defines and applies to support Amazon Web Services
|
|
5461
|
+
# resources for cost allocation purposes. The `UserDefined` type tags
|
|
5462
|
+
# are tags that you define, create, and apply to resources.
|
|
5463
|
+
# @return [String]
|
|
5464
|
+
#
|
|
5465
|
+
# @!attribute [rw] next_token
|
|
5466
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
|
5467
|
+
# provides the token when the response from a previous call has more
|
|
5468
|
+
# results than the maximum page size.
|
|
5469
|
+
# @return [String]
|
|
5470
|
+
#
|
|
5471
|
+
# @!attribute [rw] max_results
|
|
5472
|
+
# The maximum number of objects that are returned for this request. By
|
|
5473
|
+
# default, the request returns 100 results.
|
|
5474
|
+
# @return [Integer]
|
|
5475
|
+
#
|
|
5476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostAllocationTagsRequest AWS API Documentation
|
|
5477
|
+
#
|
|
5478
|
+
class ListCostAllocationTagsRequest < Struct.new(
|
|
5479
|
+
:status,
|
|
5480
|
+
:tag_keys,
|
|
5481
|
+
:type,
|
|
5482
|
+
:next_token,
|
|
5483
|
+
:max_results)
|
|
5484
|
+
SENSITIVE = []
|
|
5485
|
+
include Aws::Structure
|
|
5486
|
+
end
|
|
5487
|
+
|
|
5488
|
+
# @!attribute [rw] cost_allocation_tags
|
|
5489
|
+
# A list of cost allocation tags that includes the detailed metadata
|
|
5490
|
+
# for each one.
|
|
5491
|
+
# @return [Array<Types::CostAllocationTag>]
|
|
5492
|
+
#
|
|
5493
|
+
# @!attribute [rw] next_token
|
|
5494
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
|
5495
|
+
# provides the token when the response from a previous call has more
|
|
5496
|
+
# results than the maximum page size.
|
|
5497
|
+
# @return [String]
|
|
5498
|
+
#
|
|
5499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostAllocationTagsResponse AWS API Documentation
|
|
5500
|
+
#
|
|
5501
|
+
class ListCostAllocationTagsResponse < Struct.new(
|
|
5502
|
+
:cost_allocation_tags,
|
|
5503
|
+
:next_token)
|
|
5504
|
+
SENSITIVE = []
|
|
5505
|
+
include Aws::Structure
|
|
5506
|
+
end
|
|
5507
|
+
|
|
5252
5508
|
# @note When making an API call, you may pass ListCostCategoryDefinitionsRequest
|
|
5253
5509
|
# data as a hash:
|
|
5254
5510
|
#
|
|
@@ -5283,7 +5539,7 @@ module Aws::CostExplorer
|
|
|
5283
5539
|
end
|
|
5284
5540
|
|
|
5285
5541
|
# @!attribute [rw] cost_category_references
|
|
5286
|
-
# A reference to a Cost Category
|
|
5542
|
+
# A reference to a Cost Category that contains enough information to
|
|
5287
5543
|
# identify the Cost Category.
|
|
5288
5544
|
# @return [Array<Types::CostCategoryReference>]
|
|
5289
5545
|
#
|
|
@@ -5302,6 +5558,42 @@ module Aws::CostExplorer
|
|
|
5302
5558
|
include Aws::Structure
|
|
5303
5559
|
end
|
|
5304
5560
|
|
|
5561
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
5562
|
+
# data as a hash:
|
|
5563
|
+
#
|
|
5564
|
+
# {
|
|
5565
|
+
# resource_arn: "Arn", # required
|
|
5566
|
+
# }
|
|
5567
|
+
#
|
|
5568
|
+
# @!attribute [rw] resource_arn
|
|
5569
|
+
# The Amazon Resource Name (ARN) of the resource. For a list of
|
|
5570
|
+
# supported resources, see [ResourceTag][1].
|
|
5571
|
+
#
|
|
5572
|
+
#
|
|
5573
|
+
#
|
|
5574
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html
|
|
5575
|
+
# @return [String]
|
|
5576
|
+
#
|
|
5577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResourceRequest AWS API Documentation
|
|
5578
|
+
#
|
|
5579
|
+
class ListTagsForResourceRequest < Struct.new(
|
|
5580
|
+
:resource_arn)
|
|
5581
|
+
SENSITIVE = []
|
|
5582
|
+
include Aws::Structure
|
|
5583
|
+
end
|
|
5584
|
+
|
|
5585
|
+
# @!attribute [rw] resource_tags
|
|
5586
|
+
# A list of tag key value pairs that are associated with the resource.
|
|
5587
|
+
# @return [Array<Types::ResourceTag>]
|
|
5588
|
+
#
|
|
5589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResourceResponse AWS API Documentation
|
|
5590
|
+
#
|
|
5591
|
+
class ListTagsForResourceResponse < Struct.new(
|
|
5592
|
+
:resource_tags)
|
|
5593
|
+
SENSITIVE = []
|
|
5594
|
+
include Aws::Structure
|
|
5595
|
+
end
|
|
5596
|
+
|
|
5305
5597
|
# The aggregated value for a metric.
|
|
5306
5598
|
#
|
|
5307
5599
|
# @!attribute [rw] amount
|
|
@@ -5321,7 +5613,7 @@ module Aws::CostExplorer
|
|
|
5321
5613
|
include Aws::Structure
|
|
5322
5614
|
end
|
|
5323
5615
|
|
|
5324
|
-
# Details
|
|
5616
|
+
# Details for the modification recommendation.
|
|
5325
5617
|
#
|
|
5326
5618
|
# @!attribute [rw] target_instances
|
|
5327
5619
|
# Determines whether this instance type is the Amazon Web Services
|
|
@@ -5341,20 +5633,20 @@ module Aws::CostExplorer
|
|
|
5341
5633
|
#
|
|
5342
5634
|
# @!attribute [rw] network_in_bytes_per_second
|
|
5343
5635
|
# The network inbound throughput utilization measured in Bytes per
|
|
5344
|
-
# second.
|
|
5636
|
+
# second (Bps).
|
|
5345
5637
|
# @return [String]
|
|
5346
5638
|
#
|
|
5347
5639
|
# @!attribute [rw] network_out_bytes_per_second
|
|
5348
5640
|
# The network outbound throughput utilization measured in Bytes per
|
|
5349
|
-
# second.
|
|
5641
|
+
# second (Bps).
|
|
5350
5642
|
# @return [String]
|
|
5351
5643
|
#
|
|
5352
5644
|
# @!attribute [rw] network_packets_in_per_second
|
|
5353
|
-
# The network
|
|
5645
|
+
# The network inbound packets that are measured in packets per second.
|
|
5354
5646
|
# @return [String]
|
|
5355
5647
|
#
|
|
5356
5648
|
# @!attribute [rw] network_packets_out_per_second
|
|
5357
|
-
# The network
|
|
5649
|
+
# The network outbound packets that are measured in packets per
|
|
5358
5650
|
# second.
|
|
5359
5651
|
# @return [String]
|
|
5360
5652
|
#
|
|
@@ -5697,7 +5989,7 @@ module Aws::CostExplorer
|
|
|
5697
5989
|
# Details about your recommended reservation purchase.
|
|
5698
5990
|
#
|
|
5699
5991
|
# @!attribute [rw] account_id
|
|
5700
|
-
# The account that this RI recommendation is for.
|
|
5992
|
+
# The account that this Reserved Instance (RI) recommendation is for.
|
|
5701
5993
|
# @return [String]
|
|
5702
5994
|
#
|
|
5703
5995
|
# @!attribute [rw] instance_details
|
|
@@ -5768,12 +6060,12 @@ module Aws::CostExplorer
|
|
|
5768
6060
|
#
|
|
5769
6061
|
# @!attribute [rw] estimated_monthly_savings_amount
|
|
5770
6062
|
# How much Amazon Web Services estimates that this specific
|
|
5771
|
-
# recommendation
|
|
6063
|
+
# recommendation might save you in a month.
|
|
5772
6064
|
# @return [String]
|
|
5773
6065
|
#
|
|
5774
6066
|
# @!attribute [rw] estimated_monthly_savings_percentage
|
|
5775
6067
|
# How much Amazon Web Services estimates that this specific
|
|
5776
|
-
# recommendation
|
|
6068
|
+
# recommendation might save you in a month, as a percentage of your
|
|
5777
6069
|
# overall costs.
|
|
5778
6070
|
# @return [String]
|
|
5779
6071
|
#
|
|
@@ -5783,8 +6075,8 @@ module Aws::CostExplorer
|
|
|
5783
6075
|
# @return [String]
|
|
5784
6076
|
#
|
|
5785
6077
|
# @!attribute [rw] estimated_reservation_cost_for_lookback_period
|
|
5786
|
-
# How much Amazon Web Services estimates that you
|
|
5787
|
-
#
|
|
6078
|
+
# How much Amazon Web Services estimates that you might spend for all
|
|
6079
|
+
# usage during the specified historical period if you had a
|
|
5788
6080
|
# reservation.
|
|
5789
6081
|
# @return [String]
|
|
5790
6082
|
#
|
|
@@ -5900,10 +6192,10 @@ module Aws::CostExplorer
|
|
|
5900
6192
|
include Aws::Structure
|
|
5901
6193
|
end
|
|
5902
6194
|
|
|
5903
|
-
# Details
|
|
6195
|
+
# Details for the resource.
|
|
5904
6196
|
#
|
|
5905
6197
|
# @!attribute [rw] ec2_resource_details
|
|
5906
|
-
# Details
|
|
6198
|
+
# Details for the Amazon EC2 resource.
|
|
5907
6199
|
# @return [Types::EC2ResourceDetails]
|
|
5908
6200
|
#
|
|
5909
6201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceDetails AWS API Documentation
|
|
@@ -5919,10 +6211,53 @@ module Aws::CostExplorer
|
|
|
5919
6211
|
# @!attribute [rw] message
|
|
5920
6212
|
# @return [String]
|
|
5921
6213
|
#
|
|
6214
|
+
# @!attribute [rw] resource_name
|
|
6215
|
+
# @return [String]
|
|
6216
|
+
#
|
|
5922
6217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceNotFoundException AWS API Documentation
|
|
5923
6218
|
#
|
|
5924
6219
|
class ResourceNotFoundException < Struct.new(
|
|
5925
|
-
:message
|
|
6220
|
+
:message,
|
|
6221
|
+
:resource_name)
|
|
6222
|
+
SENSITIVE = []
|
|
6223
|
+
include Aws::Structure
|
|
6224
|
+
end
|
|
6225
|
+
|
|
6226
|
+
# The tag structure that contains a tag key and value.
|
|
6227
|
+
#
|
|
6228
|
+
# <note markdown="1"> Tagging is supported only for the following Cost Explorer resource
|
|
6229
|
+
# types: [ `AnomalyMonitor` ][1], [ `AnomalySubscription` ][2], [
|
|
6230
|
+
# `CostCategory` ][3].
|
|
6231
|
+
#
|
|
6232
|
+
# </note>
|
|
6233
|
+
#
|
|
6234
|
+
#
|
|
6235
|
+
#
|
|
6236
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html
|
|
6237
|
+
# [2]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html
|
|
6238
|
+
# [3]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html
|
|
6239
|
+
#
|
|
6240
|
+
# @note When making an API call, you may pass ResourceTag
|
|
6241
|
+
# data as a hash:
|
|
6242
|
+
#
|
|
6243
|
+
# {
|
|
6244
|
+
# key: "ResourceTagKey", # required
|
|
6245
|
+
# value: "ResourceTagValue", # required
|
|
6246
|
+
# }
|
|
6247
|
+
#
|
|
6248
|
+
# @!attribute [rw] key
|
|
6249
|
+
# The key that's associated with the tag.
|
|
6250
|
+
# @return [String]
|
|
6251
|
+
#
|
|
6252
|
+
# @!attribute [rw] value
|
|
6253
|
+
# The value that's associated with the tag.
|
|
6254
|
+
# @return [String]
|
|
6255
|
+
#
|
|
6256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceTag AWS API Documentation
|
|
6257
|
+
#
|
|
6258
|
+
class ResourceTag < Struct.new(
|
|
6259
|
+
:key,
|
|
6260
|
+
:value)
|
|
5926
6261
|
SENSITIVE = []
|
|
5927
6262
|
include Aws::Structure
|
|
5928
6263
|
end
|
|
@@ -5993,8 +6328,8 @@ module Aws::CostExplorer
|
|
|
5993
6328
|
# @return [Types::TerminateRecommendationDetail]
|
|
5994
6329
|
#
|
|
5995
6330
|
# @!attribute [rw] finding_reason_codes
|
|
5996
|
-
# The list of possible reasons why the recommendation is generated
|
|
5997
|
-
# such as under or over
|
|
6331
|
+
# The list of possible reasons why the recommendation is generated,
|
|
6332
|
+
# such as under- or over-utilization of specific metrics (for example,
|
|
5998
6333
|
# CPU, Memory, Network).
|
|
5999
6334
|
# @return [Array<String>]
|
|
6000
6335
|
#
|
|
@@ -6016,7 +6351,8 @@ module Aws::CostExplorer
|
|
|
6016
6351
|
# recommendations for instances within the same instance families or
|
|
6017
6352
|
# across different instance families. You can also choose to view your
|
|
6018
6353
|
# estimated savings that are associated with recommendations with
|
|
6019
|
-
# consideration of existing Savings Plans or
|
|
6354
|
+
# consideration of existing Savings Plans or Reserved Instance (RI)
|
|
6355
|
+
# benefits, or neither.
|
|
6020
6356
|
#
|
|
6021
6357
|
# @note When making an API call, you may pass RightsizingRecommendationConfiguration
|
|
6022
6358
|
# data as a hash:
|
|
@@ -6109,12 +6445,12 @@ module Aws::CostExplorer
|
|
|
6109
6445
|
include Aws::Structure
|
|
6110
6446
|
end
|
|
6111
6447
|
|
|
6112
|
-
# The combination of Amazon Web
|
|
6113
|
-
#
|
|
6448
|
+
# The combination of Amazon Web Service, linked account, Region, and
|
|
6449
|
+
# usage type where a cost anomaly is observed.
|
|
6114
6450
|
#
|
|
6115
6451
|
# @!attribute [rw] service
|
|
6116
|
-
# The Amazon Web
|
|
6117
|
-
#
|
|
6452
|
+
# The Amazon Web Service name that's associated with the cost
|
|
6453
|
+
# anomaly.
|
|
6118
6454
|
# @return [String]
|
|
6119
6455
|
#
|
|
6120
6456
|
# @!attribute [rw] region
|
|
@@ -6169,7 +6505,7 @@ module Aws::CostExplorer
|
|
|
6169
6505
|
include Aws::Structure
|
|
6170
6506
|
end
|
|
6171
6507
|
|
|
6172
|
-
# The amount of Savings Plans eligible usage that
|
|
6508
|
+
# The amount of Savings Plans eligible usage that's covered by Savings
|
|
6173
6509
|
# Plans. All calculations consider the On-Demand equivalent of your
|
|
6174
6510
|
# Savings Plans usage.
|
|
6175
6511
|
#
|
|
@@ -6200,7 +6536,7 @@ module Aws::CostExplorer
|
|
|
6200
6536
|
# Savings Plans, and total Savings Plans costs for an account.
|
|
6201
6537
|
#
|
|
6202
6538
|
# @!attribute [rw] spend_covered_by_savings_plans
|
|
6203
|
-
# The amount of your Amazon Web Services usage that
|
|
6539
|
+
# The amount of your Amazon Web Services usage that's covered by a
|
|
6204
6540
|
# Savings Plans.
|
|
6205
6541
|
# @return [String]
|
|
6206
6542
|
#
|
|
@@ -6279,15 +6615,16 @@ module Aws::CostExplorer
|
|
|
6279
6615
|
# @return [String]
|
|
6280
6616
|
#
|
|
6281
6617
|
# @!attribute [rw] payment_option
|
|
6282
|
-
# The payment option used to generate the recommendation.
|
|
6618
|
+
# The payment option that's used to generate the recommendation.
|
|
6283
6619
|
# @return [String]
|
|
6284
6620
|
#
|
|
6285
6621
|
# @!attribute [rw] lookback_period_in_days
|
|
6286
|
-
# The lookback period in days
|
|
6622
|
+
# The lookback period in days that's used to generate the
|
|
6623
|
+
# recommendation.
|
|
6287
6624
|
# @return [String]
|
|
6288
6625
|
#
|
|
6289
6626
|
# @!attribute [rw] savings_plans_purchase_recommendation_details
|
|
6290
|
-
# Details for the Savings Plans we recommend that you purchase to
|
|
6627
|
+
# Details for the Savings Plans that we recommend that you purchase to
|
|
6291
6628
|
# cover existing Savings Plans eligible workloads.
|
|
6292
6629
|
# @return [Array<Types::SavingsPlansPurchaseRecommendationDetail>]
|
|
6293
6630
|
#
|
|
@@ -6346,7 +6683,7 @@ module Aws::CostExplorer
|
|
|
6346
6683
|
# @return [String]
|
|
6347
6684
|
#
|
|
6348
6685
|
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
|
6349
|
-
# The estimated On-Demand costs you
|
|
6686
|
+
# The estimated On-Demand costs you expect with no additional
|
|
6350
6687
|
# commitment, based on your usage of the selected time period and the
|
|
6351
6688
|
# Savings Plans you own.
|
|
6352
6689
|
# @return [String]
|
|
@@ -6421,7 +6758,7 @@ module Aws::CostExplorer
|
|
|
6421
6758
|
# @return [String]
|
|
6422
6759
|
#
|
|
6423
6760
|
# @!attribute [rw] generation_timestamp
|
|
6424
|
-
# The timestamp
|
|
6761
|
+
# The timestamp that shows when the recommendations were generated.
|
|
6425
6762
|
# @return [String]
|
|
6426
6763
|
#
|
|
6427
6764
|
# @!attribute [rw] additional_metadata
|
|
@@ -6492,7 +6829,7 @@ module Aws::CostExplorer
|
|
|
6492
6829
|
# @return [String]
|
|
6493
6830
|
#
|
|
6494
6831
|
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
|
6495
|
-
# The estimated On-Demand costs you
|
|
6832
|
+
# The estimated On-Demand costs you expect with no additional
|
|
6496
6833
|
# commitment. It's based on your usage of the selected time period
|
|
6497
6834
|
# and the Savings Plans you own.
|
|
6498
6835
|
# @return [String]
|
|
@@ -6579,8 +6916,8 @@ module Aws::CostExplorer
|
|
|
6579
6916
|
# @return [Types::SavingsPlansUtilization]
|
|
6580
6917
|
#
|
|
6581
6918
|
# @!attribute [rw] savings
|
|
6582
|
-
# The amount saved by using existing Savings Plans. Savings
|
|
6583
|
-
# both net savings from Savings Plans
|
|
6919
|
+
# The amount that's saved by using existing Savings Plans. Savings
|
|
6920
|
+
# returns both net savings from Savings Plans and also the
|
|
6584
6921
|
# `onDemandCostEquivalent` of the Savings Plans when considering the
|
|
6585
6922
|
# utilization rate.
|
|
6586
6923
|
# @return [Types::SavingsPlansSavings]
|
|
@@ -6600,7 +6937,7 @@ module Aws::CostExplorer
|
|
|
6600
6937
|
include Aws::Structure
|
|
6601
6938
|
end
|
|
6602
6939
|
|
|
6603
|
-
# The amount of Savings Plans utilization
|
|
6940
|
+
# The amount of Savings Plans utilization (in hours).
|
|
6604
6941
|
#
|
|
6605
6942
|
# @!attribute [rw] time_period
|
|
6606
6943
|
# The time period of the request.
|
|
@@ -6612,8 +6949,8 @@ module Aws::CostExplorer
|
|
|
6612
6949
|
# @return [Types::SavingsPlansUtilization]
|
|
6613
6950
|
#
|
|
6614
6951
|
# @!attribute [rw] savings
|
|
6615
|
-
# The amount saved by using existing Savings Plans. Savings
|
|
6616
|
-
# both net savings from Savings Plans
|
|
6952
|
+
# The amount that's saved by using existing Savings Plans. Savings
|
|
6953
|
+
# returns both net savings from Savings Plans and also the
|
|
6617
6954
|
# `onDemandCostEquivalent` of the Savings Plans when considering the
|
|
6618
6955
|
# utilization rate.
|
|
6619
6956
|
# @return [Types::SavingsPlansSavings]
|
|
@@ -6634,7 +6971,7 @@ module Aws::CostExplorer
|
|
|
6634
6971
|
include Aws::Structure
|
|
6635
6972
|
end
|
|
6636
6973
|
|
|
6637
|
-
# A single daily or monthly Savings Plans utilization rate
|
|
6974
|
+
# A single daily or monthly Savings Plans utilization rate and details
|
|
6638
6975
|
# for your account. A management account in an organization have access
|
|
6639
6976
|
# to member accounts. You can use `GetDimensionValues` to determine the
|
|
6640
6977
|
# possible dimension values.
|
|
@@ -6654,7 +6991,7 @@ module Aws::CostExplorer
|
|
|
6654
6991
|
#
|
|
6655
6992
|
# @!attribute [rw] savings
|
|
6656
6993
|
# The amount saved by using existing Savings Plans. Savings returns
|
|
6657
|
-
# both net savings from savings plans
|
|
6994
|
+
# both net savings from savings plans and also the
|
|
6658
6995
|
# `onDemandCostEquivalent` of the Savings Plans when considering the
|
|
6659
6996
|
# utilization rate.
|
|
6660
6997
|
# @return [Types::SavingsPlansSavings]
|
|
@@ -6715,7 +7052,7 @@ module Aws::CostExplorer
|
|
|
6715
7052
|
include Aws::Structure
|
|
6716
7053
|
end
|
|
6717
7054
|
|
|
6718
|
-
# The details
|
|
7055
|
+
# The details for how to sort the data.
|
|
6719
7056
|
#
|
|
6720
7057
|
# @note When making an API call, you may pass SortDefinition
|
|
6721
7058
|
# data as a hash:
|
|
@@ -6776,6 +7113,67 @@ module Aws::CostExplorer
|
|
|
6776
7113
|
include Aws::Structure
|
|
6777
7114
|
end
|
|
6778
7115
|
|
|
7116
|
+
# @note When making an API call, you may pass TagResourceRequest
|
|
7117
|
+
# data as a hash:
|
|
7118
|
+
#
|
|
7119
|
+
# {
|
|
7120
|
+
# resource_arn: "Arn", # required
|
|
7121
|
+
# resource_tags: [ # required
|
|
7122
|
+
# {
|
|
7123
|
+
# key: "ResourceTagKey", # required
|
|
7124
|
+
# value: "ResourceTagValue", # required
|
|
7125
|
+
# },
|
|
7126
|
+
# ],
|
|
7127
|
+
# }
|
|
7128
|
+
#
|
|
7129
|
+
# @!attribute [rw] resource_arn
|
|
7130
|
+
# The Amazon Resource Name (ARN) of the resource. For a list of
|
|
7131
|
+
# supported resources, see [ResourceTag][1].
|
|
7132
|
+
#
|
|
7133
|
+
#
|
|
7134
|
+
#
|
|
7135
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html
|
|
7136
|
+
# @return [String]
|
|
7137
|
+
#
|
|
7138
|
+
# @!attribute [rw] resource_tags
|
|
7139
|
+
# A list of tag key-value pairs to be added to the resource.
|
|
7140
|
+
#
|
|
7141
|
+
# Each tag consists of a key and a value, and each key must be unique
|
|
7142
|
+
# for the resource. The following restrictions apply to resource tags:
|
|
7143
|
+
#
|
|
7144
|
+
# * Although the maximum number of array members is 200, you can
|
|
7145
|
+
# assign a maximum of 50 user-tags to one resource. The remaining
|
|
7146
|
+
# are reserved for Amazon Web Services use
|
|
7147
|
+
#
|
|
7148
|
+
# * The maximum length of a key is 128 characters
|
|
7149
|
+
#
|
|
7150
|
+
# * The maximum length of a value is 256 characters
|
|
7151
|
+
#
|
|
7152
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
|
7153
|
+
# and any of the following: `_.:/=+@-`
|
|
7154
|
+
#
|
|
7155
|
+
# * Keys and values are case sensitive
|
|
7156
|
+
#
|
|
7157
|
+
# * Keys and values are trimmed for any leading or trailing
|
|
7158
|
+
# whitespaces
|
|
7159
|
+
#
|
|
7160
|
+
# * Don’t use `aws:` as a prefix for your keys. This prefix is
|
|
7161
|
+
# reserved for Amazon Web Services use
|
|
7162
|
+
# @return [Array<Types::ResourceTag>]
|
|
7163
|
+
#
|
|
7164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagResourceRequest AWS API Documentation
|
|
7165
|
+
#
|
|
7166
|
+
class TagResourceRequest < Struct.new(
|
|
7167
|
+
:resource_arn,
|
|
7168
|
+
:resource_tags)
|
|
7169
|
+
SENSITIVE = []
|
|
7170
|
+
include Aws::Structure
|
|
7171
|
+
end
|
|
7172
|
+
|
|
7173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagResourceResponse AWS API Documentation
|
|
7174
|
+
#
|
|
7175
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
|
7176
|
+
|
|
6779
7177
|
# The values that are available for a tag.
|
|
6780
7178
|
#
|
|
6781
7179
|
# If `Values` and `Key` aren't specified, the `ABSENT` `MatchOption` is
|
|
@@ -6850,7 +7248,7 @@ module Aws::CostExplorer
|
|
|
6850
7248
|
# @return [Types::ResourceUtilization]
|
|
6851
7249
|
#
|
|
6852
7250
|
# @!attribute [rw] platform_differences
|
|
6853
|
-
# Explains the actions you might need to take
|
|
7251
|
+
# Explains the actions that you might need to take to successfully
|
|
6854
7252
|
# migrate your workloads from the current instance type to the
|
|
6855
7253
|
# recommended instance type.
|
|
6856
7254
|
# @return [Array<String>]
|
|
@@ -6890,6 +7288,24 @@ module Aws::CostExplorer
|
|
|
6890
7288
|
include Aws::Structure
|
|
6891
7289
|
end
|
|
6892
7290
|
|
|
7291
|
+
# Can occur if you specify a number of tags for a resource greater than
|
|
7292
|
+
# the maximum 50 user tags per resource.
|
|
7293
|
+
#
|
|
7294
|
+
# @!attribute [rw] message
|
|
7295
|
+
# @return [String]
|
|
7296
|
+
#
|
|
7297
|
+
# @!attribute [rw] resource_name
|
|
7298
|
+
# @return [String]
|
|
7299
|
+
#
|
|
7300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TooManyTagsException AWS API Documentation
|
|
7301
|
+
#
|
|
7302
|
+
class TooManyTagsException < Struct.new(
|
|
7303
|
+
:message,
|
|
7304
|
+
:resource_name)
|
|
7305
|
+
SENSITIVE = []
|
|
7306
|
+
include Aws::Structure
|
|
7307
|
+
end
|
|
7308
|
+
|
|
6893
7309
|
# Filters cost anomalies based on the total impact.
|
|
6894
7310
|
#
|
|
6895
7311
|
# @note When making an API call, you may pass TotalImpactFilter
|
|
@@ -6964,6 +7380,44 @@ module Aws::CostExplorer
|
|
|
6964
7380
|
include Aws::Structure
|
|
6965
7381
|
end
|
|
6966
7382
|
|
|
7383
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
|
7384
|
+
# data as a hash:
|
|
7385
|
+
#
|
|
7386
|
+
# {
|
|
7387
|
+
# resource_arn: "Arn", # required
|
|
7388
|
+
# resource_tag_keys: ["ResourceTagKey"], # required
|
|
7389
|
+
# }
|
|
7390
|
+
#
|
|
7391
|
+
# @!attribute [rw] resource_arn
|
|
7392
|
+
# The Amazon Resource Name (ARN) of the resource. For a list of
|
|
7393
|
+
# supported resources, see [ResourceTag][1].
|
|
7394
|
+
#
|
|
7395
|
+
#
|
|
7396
|
+
#
|
|
7397
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html
|
|
7398
|
+
# @return [String]
|
|
7399
|
+
#
|
|
7400
|
+
# @!attribute [rw] resource_tag_keys
|
|
7401
|
+
# A list of tag keys associated with tags that need to be removed from
|
|
7402
|
+
# the resource. If you specify a tag key that doesn't exist, it's
|
|
7403
|
+
# ignored. Although the maximum number of array members is 200,
|
|
7404
|
+
# user-tag maximum is 50. The remaining are reserved for Amazon Web
|
|
7405
|
+
# Services use.
|
|
7406
|
+
# @return [Array<String>]
|
|
7407
|
+
#
|
|
7408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResourceRequest AWS API Documentation
|
|
7409
|
+
#
|
|
7410
|
+
class UntagResourceRequest < Struct.new(
|
|
7411
|
+
:resource_arn,
|
|
7412
|
+
:resource_tag_keys)
|
|
7413
|
+
SENSITIVE = []
|
|
7414
|
+
include Aws::Structure
|
|
7415
|
+
end
|
|
7416
|
+
|
|
7417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResourceResponse AWS API Documentation
|
|
7418
|
+
#
|
|
7419
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
|
7420
|
+
|
|
6967
7421
|
# @note When making an API call, you may pass UpdateAnomalyMonitorRequest
|
|
6968
7422
|
# data as a hash:
|
|
6969
7423
|
#
|
|
@@ -7069,6 +7523,70 @@ module Aws::CostExplorer
|
|
|
7069
7523
|
include Aws::Structure
|
|
7070
7524
|
end
|
|
7071
7525
|
|
|
7526
|
+
# Gives a detailed description of the result of an action. It's on each
|
|
7527
|
+
# cost allocation tag entry in the request.
|
|
7528
|
+
#
|
|
7529
|
+
# @!attribute [rw] tag_key
|
|
7530
|
+
# The key for the cost allocation tag.
|
|
7531
|
+
# @return [String]
|
|
7532
|
+
#
|
|
7533
|
+
# @!attribute [rw] code
|
|
7534
|
+
# An error code representing why the action failed on this entry.
|
|
7535
|
+
# @return [String]
|
|
7536
|
+
#
|
|
7537
|
+
# @!attribute [rw] message
|
|
7538
|
+
# A message explaining why the action failed on this entry.
|
|
7539
|
+
# @return [String]
|
|
7540
|
+
#
|
|
7541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostAllocationTagsStatusError AWS API Documentation
|
|
7542
|
+
#
|
|
7543
|
+
class UpdateCostAllocationTagsStatusError < Struct.new(
|
|
7544
|
+
:tag_key,
|
|
7545
|
+
:code,
|
|
7546
|
+
:message)
|
|
7547
|
+
SENSITIVE = []
|
|
7548
|
+
include Aws::Structure
|
|
7549
|
+
end
|
|
7550
|
+
|
|
7551
|
+
# @note When making an API call, you may pass UpdateCostAllocationTagsStatusRequest
|
|
7552
|
+
# data as a hash:
|
|
7553
|
+
#
|
|
7554
|
+
# {
|
|
7555
|
+
# cost_allocation_tags_status: [ # required
|
|
7556
|
+
# {
|
|
7557
|
+
# tag_key: "TagKey", # required
|
|
7558
|
+
# status: "Active", # required, accepts Active, Inactive
|
|
7559
|
+
# },
|
|
7560
|
+
# ],
|
|
7561
|
+
# }
|
|
7562
|
+
#
|
|
7563
|
+
# @!attribute [rw] cost_allocation_tags_status
|
|
7564
|
+
# The list of `CostAllocationTagStatusEntry` objects that are used to
|
|
7565
|
+
# update cost allocation tags status for this request.
|
|
7566
|
+
# @return [Array<Types::CostAllocationTagStatusEntry>]
|
|
7567
|
+
#
|
|
7568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostAllocationTagsStatusRequest AWS API Documentation
|
|
7569
|
+
#
|
|
7570
|
+
class UpdateCostAllocationTagsStatusRequest < Struct.new(
|
|
7571
|
+
:cost_allocation_tags_status)
|
|
7572
|
+
SENSITIVE = []
|
|
7573
|
+
include Aws::Structure
|
|
7574
|
+
end
|
|
7575
|
+
|
|
7576
|
+
# @!attribute [rw] errors
|
|
7577
|
+
# A list of `UpdateCostAllocationTagsStatusError` objects with error
|
|
7578
|
+
# details about each cost allocation tag that can't be updated. If
|
|
7579
|
+
# there's no failure, an empty array returns.
|
|
7580
|
+
# @return [Array<Types::UpdateCostAllocationTagsStatusError>]
|
|
7581
|
+
#
|
|
7582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostAllocationTagsStatusResponse AWS API Documentation
|
|
7583
|
+
#
|
|
7584
|
+
class UpdateCostAllocationTagsStatusResponse < Struct.new(
|
|
7585
|
+
:errors)
|
|
7586
|
+
SENSITIVE = []
|
|
7587
|
+
include Aws::Structure
|
|
7588
|
+
end
|
|
7589
|
+
|
|
7072
7590
|
# @note When making an API call, you may pass UpdateCostCategoryDefinitionRequest
|
|
7073
7591
|
# data as a hash:
|
|
7074
7592
|
#
|