aws-sdk-costexplorer 1.76.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +237 -131
- data/lib/aws-sdk-costexplorer/client_api.rb +78 -0
- data/lib/aws-sdk-costexplorer/types.rb +380 -175
- data/lib/aws-sdk-costexplorer.rb +1 -1
- metadata +2 -2
@@ -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
|
@@ -945,7 +1003,7 @@ module Aws::CostExplorer
|
|
945
1003
|
# @!attribute [rw] resource_tags
|
946
1004
|
# An optional list of tags to associate with the specified [
|
947
1005
|
# `AnomalyMonitor` ][1]. You can use resource tags to control access
|
948
|
-
# to your monitor using IAM policies.
|
1006
|
+
# to your `monitor` using IAM policies.
|
949
1007
|
#
|
950
1008
|
# Each tag consists of a key and a value, and each key must be unique
|
951
1009
|
# for the resource. The following restrictions apply to resource tags:
|
@@ -958,8 +1016,8 @@ module Aws::CostExplorer
|
|
958
1016
|
#
|
959
1017
|
# * The maximum length of a value is 256 characters
|
960
1018
|
#
|
961
|
-
# *
|
962
|
-
# `_
|
1019
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
1020
|
+
# and any of the following: `_.:/=+@-`
|
963
1021
|
#
|
964
1022
|
# * Keys and values are case sensitive
|
965
1023
|
#
|
@@ -1043,8 +1101,8 @@ module Aws::CostExplorer
|
|
1043
1101
|
#
|
1044
1102
|
# * The maximum length of a value is 256 characters
|
1045
1103
|
#
|
1046
|
-
# *
|
1047
|
-
# `_
|
1104
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
1105
|
+
# and any of the following: `_.:/=+@-`
|
1048
1106
|
#
|
1049
1107
|
# * Keys and values are case sensitive
|
1050
1108
|
#
|
@@ -1191,8 +1249,8 @@ module Aws::CostExplorer
|
|
1191
1249
|
#
|
1192
1250
|
# * The maximum length of a value is 256 characters
|
1193
1251
|
#
|
1194
|
-
# *
|
1195
|
-
# `_
|
1252
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
1253
|
+
# and any of the following: `_.:/=+@-`
|
1196
1254
|
#
|
1197
1255
|
# * Keys and values are case sensitive
|
1198
1256
|
#
|
@@ -1429,7 +1487,7 @@ module Aws::CostExplorer
|
|
1429
1487
|
#
|
1430
1488
|
# @!attribute [rw] effective_end
|
1431
1489
|
# The effective end date of the Cost Category as a result of deleting
|
1432
|
-
# it. No costs after this date
|
1490
|
+
# it. No costs after this date is categorized by the deleted Cost
|
1433
1491
|
# Category.
|
1434
1492
|
# @return [String]
|
1435
1493
|
#
|
@@ -1713,7 +1771,7 @@ module Aws::CostExplorer
|
|
1713
1771
|
include Aws::Structure
|
1714
1772
|
end
|
1715
1773
|
|
1716
|
-
# Utilization metrics
|
1774
|
+
# Utilization metrics for the instance.
|
1717
1775
|
#
|
1718
1776
|
# @!attribute [rw] max_cpu_utilization_percentage
|
1719
1777
|
# The maximum observed or expected CPU utilization of the instance.
|
@@ -2552,8 +2610,8 @@ module Aws::CostExplorer
|
|
2552
2610
|
# usage numbers without taking the units into account. For example, if
|
2553
2611
|
# you aggregate `usageQuantity` across all of Amazon EC2, the results
|
2554
2612
|
# aren't meaningful because Amazon EC2 compute hours and data
|
2555
|
-
# transfer are measured in different units (for example,
|
2556
|
-
#
|
2613
|
+
# transfer are measured in different units (for example, hour or GB).
|
2614
|
+
# To get more meaningful `UsageQuantity` metrics, filter by
|
2557
2615
|
# `UsageType` or `UsageTypeGroups`.
|
2558
2616
|
#
|
2559
2617
|
# </note>
|
@@ -2601,7 +2659,7 @@ module Aws::CostExplorer
|
|
2601
2659
|
# @return [Array<Types::GroupDefinition>]
|
2602
2660
|
#
|
2603
2661
|
# @!attribute [rw] results_by_time
|
2604
|
-
# The time period that
|
2662
|
+
# The time period that's covered by the results in the response.
|
2605
2663
|
# @return [Array<Types::ResultByTime>]
|
2606
2664
|
#
|
2607
2665
|
# @!attribute [rw] dimension_value_attributes
|
@@ -2674,11 +2732,10 @@ module Aws::CostExplorer
|
|
2674
2732
|
# @!attribute [rw] search_string
|
2675
2733
|
# The value that you want to search the filter values for.
|
2676
2734
|
#
|
2677
|
-
# If you
|
2678
|
-
#
|
2679
|
-
#
|
2680
|
-
#
|
2681
|
-
# `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.
|
2682
2739
|
# @return [String]
|
2683
2740
|
#
|
2684
2741
|
# @!attribute [rw] time_period
|
@@ -2745,10 +2802,10 @@ module Aws::CostExplorer
|
|
2745
2802
|
# @return [Types::Expression]
|
2746
2803
|
#
|
2747
2804
|
# @!attribute [rw] sort_by
|
2748
|
-
# The value
|
2805
|
+
# The value that you sort the data by.
|
2749
2806
|
#
|
2750
|
-
# The key represents cost and usage metrics. The following values
|
2751
|
-
# supported:
|
2807
|
+
# The key represents the cost and usage metrics. The following values
|
2808
|
+
# are supported:
|
2752
2809
|
#
|
2753
2810
|
# * `BlendedCost`
|
2754
2811
|
#
|
@@ -2764,27 +2821,29 @@ module Aws::CostExplorer
|
|
2764
2821
|
#
|
2765
2822
|
# * `NormalizedUsageAmount`
|
2766
2823
|
#
|
2767
|
-
#
|
2824
|
+
# The supported key values for the `SortOrder` value are `ASCENDING`
|
2825
|
+
# and `DESCENDING`.
|
2768
2826
|
#
|
2769
|
-
# When
|
2770
|
-
# supported.
|
2827
|
+
# When you use the `SortBy` value, the `NextPageToken` and
|
2828
|
+
# `SearchString` key values aren't supported.
|
2771
2829
|
# @return [Array<Types::SortDefinition>]
|
2772
2830
|
#
|
2773
2831
|
# @!attribute [rw] max_results
|
2774
|
-
# 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.
|
2775
2834
|
#
|
2776
|
-
# The maximum number of objects that
|
2777
|
-
#
|
2778
|
-
#
|
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.
|
2779
2838
|
#
|
2780
|
-
# For `GetCostCategories`, MaxResults has an upper
|
2839
|
+
# For `GetCostCategories`, MaxResults has an upper quota of 1000.
|
2781
2840
|
# @return [Integer]
|
2782
2841
|
#
|
2783
2842
|
# @!attribute [rw] next_page_token
|
2784
2843
|
# If the number of objects that are still available for retrieval
|
2785
|
-
# exceeds the
|
2844
|
+
# exceeds the quota, Amazon Web Services returns a NextPageToken value
|
2786
2845
|
# in the response. To retrieve the next batch of objects, provide the
|
2787
|
-
# NextPageToken from the
|
2846
|
+
# NextPageToken from the previous call in your next request.
|
2788
2847
|
# @return [String]
|
2789
2848
|
#
|
2790
2849
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostCategoriesRequest AWS API Documentation
|
@@ -2803,7 +2862,7 @@ module Aws::CostExplorer
|
|
2803
2862
|
|
2804
2863
|
# @!attribute [rw] next_page_token
|
2805
2864
|
# If the number of objects that are still available for retrieval
|
2806
|
-
# exceeds the
|
2865
|
+
# exceeds the quota, Amazon Web Services returns a NextPageToken value
|
2807
2866
|
# in the response. To retrieve the next batch of objects, provide the
|
2808
2867
|
# marker from the prior call in your next request.
|
2809
2868
|
# @return [String]
|
@@ -2815,12 +2874,12 @@ module Aws::CostExplorer
|
|
2815
2874
|
# @!attribute [rw] cost_category_values
|
2816
2875
|
# The Cost Category values.
|
2817
2876
|
#
|
2818
|
-
# `
|
2819
|
-
#
|
2877
|
+
# If the `CostCategoryName` key isn't specified in the request, the
|
2878
|
+
# `CostCategoryValues` fields aren't returned.
|
2820
2879
|
# @return [Array<String>]
|
2821
2880
|
#
|
2822
2881
|
# @!attribute [rw] return_size
|
2823
|
-
# The number of objects returned.
|
2882
|
+
# The number of objects that are returned.
|
2824
2883
|
# @return [Integer]
|
2825
2884
|
#
|
2826
2885
|
# @!attribute [rw] total_size
|
@@ -3097,15 +3156,15 @@ module Aws::CostExplorer
|
|
3097
3156
|
# is with. Possible values are the following:
|
3098
3157
|
#
|
3099
3158
|
# \- Amazon Web Services(Amazon Web Services): The entity that sells
|
3100
|
-
# Amazon Web Services
|
3159
|
+
# Amazon Web Services.
|
3101
3160
|
#
|
3102
3161
|
# \- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian
|
3103
|
-
# entity that
|
3104
|
-
#
|
3162
|
+
# entity that's an acting reseller for Amazon Web Services in
|
3163
|
+
# India.
|
3105
3164
|
#
|
3106
3165
|
# \- Amazon Web Services Marketplace: The entity that supports the
|
3107
|
-
# sale of solutions built on Amazon Web Services by
|
3108
|
-
# software providers.
|
3166
|
+
# sale of solutions that are built on Amazon Web Services by
|
3167
|
+
# third-party software providers.
|
3109
3168
|
#
|
3110
3169
|
# * CACHE\_ENGINE - The Amazon ElastiCache operating system. Examples
|
3111
3170
|
# are Windows or Linux.
|
@@ -3120,12 +3179,12 @@ module Aws::CostExplorer
|
|
3120
3179
|
# `m4.xlarge`.
|
3121
3180
|
#
|
3122
3181
|
# * INSTANCE\_TYPE\_FAMILY - A family of instance types optimized to
|
3123
|
-
# fit different use cases. Examples are `Compute Optimized` (
|
3124
|
-
# `C5`, `C6g`, `C7g`
|
3125
|
-
# `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`).
|
3126
3185
|
#
|
3127
|
-
# * INVOICING\_ENTITY - The name of the entity
|
3128
|
-
# Services invoice.
|
3186
|
+
# * INVOICING\_ENTITY - The name of the entity that issues the Amazon
|
3187
|
+
# Web Services invoice.
|
3129
3188
|
#
|
3130
3189
|
# * LEGAL\_ENTITY\_NAME - The name of the organization that sells you
|
3131
3190
|
# Amazon Web Services services, such as Amazon Web Services.
|
@@ -3143,8 +3202,8 @@ module Aws::CostExplorer
|
|
3143
3202
|
# * PLATFORM - The Amazon EC2 operating system. Examples are Windows
|
3144
3203
|
# or Linux.
|
3145
3204
|
#
|
3146
|
-
# * PURCHASE\_TYPE - The reservation type of the purchase
|
3147
|
-
#
|
3205
|
+
# * PURCHASE\_TYPE - The reservation type of the purchase that this
|
3206
|
+
# usage is related to. Examples include On-Demand Instances and
|
3148
3207
|
# Standard Reserved Instances.
|
3149
3208
|
#
|
3150
3209
|
# * RESERVATION\_ID - The unique identifier for an Amazon Web Services
|
@@ -3170,8 +3229,8 @@ module Aws::CostExplorer
|
|
3170
3229
|
#
|
3171
3230
|
# * REGION - The Amazon Web Services Region.
|
3172
3231
|
#
|
3173
|
-
# * RECORD\_TYPE - The different types of charges such as
|
3174
|
-
# 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.
|
3175
3234
|
#
|
3176
3235
|
# * RESOURCE\_ID - The unique identifier of the resource. ResourceId
|
3177
3236
|
# is an opt-in feature only available for last 14 days for
|
@@ -3215,8 +3274,8 @@ module Aws::CostExplorer
|
|
3215
3274
|
# * SAVINGS\_PLANS\_TYPE - Type of Savings Plans (EC2 Instance or
|
3216
3275
|
# Compute)
|
3217
3276
|
#
|
3218
|
-
# * PAYMENT\_OPTION -
|
3219
|
-
# example, All Upfront)
|
3277
|
+
# * PAYMENT\_OPTION - The payment option for the given Savings Plans
|
3278
|
+
# (for example, All Upfront)
|
3220
3279
|
#
|
3221
3280
|
# * REGION - The Amazon Web Services Region.
|
3222
3281
|
#
|
@@ -3286,7 +3345,7 @@ module Aws::CostExplorer
|
|
3286
3345
|
# @return [Types::Expression]
|
3287
3346
|
#
|
3288
3347
|
# @!attribute [rw] sort_by
|
3289
|
-
# The value
|
3348
|
+
# The value that you want to sort the data by.
|
3290
3349
|
#
|
3291
3350
|
# The key represents cost and usage metrics. The following values are
|
3292
3351
|
# supported:
|
@@ -3305,18 +3364,19 @@ module Aws::CostExplorer
|
|
3305
3364
|
#
|
3306
3365
|
# * `NormalizedUsageAmount`
|
3307
3366
|
#
|
3308
|
-
#
|
3367
|
+
# The supported values for the `SortOrder` key are `ASCENDING` or
|
3368
|
+
# `DESCENDING`.
|
3309
3369
|
#
|
3310
3370
|
# When you specify a `SortBy` paramater, the context must be
|
3311
3371
|
# `COST_AND_USAGE`. Further, when using `SortBy`, `NextPageToken` and
|
3312
|
-
# `SearchString`
|
3372
|
+
# `SearchString` aren't supported.
|
3313
3373
|
# @return [Array<Types::SortDefinition>]
|
3314
3374
|
#
|
3315
3375
|
# @!attribute [rw] max_results
|
3316
3376
|
# This field is only used when SortBy is provided in the request. The
|
3317
|
-
# maximum number of objects that
|
3318
|
-
# MaxResults
|
3319
|
-
#
|
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.
|
3320
3380
|
#
|
3321
3381
|
# For `GetDimensionValues`, MaxResults has an upper limit of 1000.
|
3322
3382
|
# @return [Integer]
|
@@ -3757,7 +3817,7 @@ module Aws::CostExplorer
|
|
3757
3817
|
# }
|
3758
3818
|
#
|
3759
3819
|
# @!attribute [rw] account_id
|
3760
|
-
# The account ID that
|
3820
|
+
# The account ID that's associated with the recommendation.
|
3761
3821
|
# @return [String]
|
3762
3822
|
#
|
3763
3823
|
# @!attribute [rw] service
|
@@ -3950,11 +4010,12 @@ module Aws::CostExplorer
|
|
3950
4010
|
# }
|
3951
4011
|
#
|
3952
4012
|
# @!attribute [rw] time_period
|
3953
|
-
# Sets the start and end dates for retrieving
|
3954
|
-
# start date is inclusive, but the end date is
|
3955
|
-
# if `start` is `2017-01-01` and `end` is
|
3956
|
-
# and usage data is retrieved from
|
3957
|
-
# `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`.
|
3958
4019
|
# @return [Types::DateInterval]
|
3959
4020
|
#
|
3960
4021
|
# @!attribute [rw] group_by
|
@@ -4008,7 +4069,7 @@ module Aws::CostExplorer
|
|
4008
4069
|
# @return [Types::Expression]
|
4009
4070
|
#
|
4010
4071
|
# @!attribute [rw] sort_by
|
4011
|
-
# The value
|
4072
|
+
# The value that you want to sort the data by.
|
4012
4073
|
#
|
4013
4074
|
# The following values are supported for `Key`\:
|
4014
4075
|
#
|
@@ -4046,7 +4107,8 @@ module Aws::CostExplorer
|
|
4046
4107
|
#
|
4047
4108
|
# * `UnrealizedSavings`
|
4048
4109
|
#
|
4049
|
-
#
|
4110
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
4111
|
+
# `DESCENDING`.
|
4050
4112
|
# @return [Types::SortDefinition]
|
4051
4113
|
#
|
4052
4114
|
# @!attribute [rw] next_page_token
|
@@ -4077,11 +4139,12 @@ module Aws::CostExplorer
|
|
4077
4139
|
end
|
4078
4140
|
|
4079
4141
|
# @!attribute [rw] utilizations_by_time
|
4080
|
-
# The amount of time that you used your RIs.
|
4142
|
+
# The amount of time that you used your Reserved Instances (RIs).
|
4081
4143
|
# @return [Array<Types::UtilizationByTime>]
|
4082
4144
|
#
|
4083
4145
|
# @!attribute [rw] total
|
4084
|
-
# The total amount of time that you used your
|
4146
|
+
# The total amount of time that you used your Reserved Instances
|
4147
|
+
# (RIs).
|
4085
4148
|
# @return [Types::ReservationAggregates]
|
4086
4149
|
#
|
4087
4150
|
# @!attribute [rw] next_page_token
|
@@ -4199,12 +4262,12 @@ module Aws::CostExplorer
|
|
4199
4262
|
# @return [Types::Expression]
|
4200
4263
|
#
|
4201
4264
|
# @!attribute [rw] configuration
|
4202
|
-
#
|
4203
|
-
# can choose to view recommendations for instances
|
4204
|
-
# instance families or across different instance
|
4205
|
-
# also choose to view your estimated savings
|
4206
|
-
# recommendations with consideration of existing
|
4207
|
-
# 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.
|
4208
4271
|
# @return [Types::RightsizingRecommendationConfiguration]
|
4209
4272
|
#
|
4210
4273
|
# @!attribute [rw] service
|
@@ -4251,12 +4314,12 @@ module Aws::CostExplorer
|
|
4251
4314
|
# @return [String]
|
4252
4315
|
#
|
4253
4316
|
# @!attribute [rw] configuration
|
4254
|
-
#
|
4255
|
-
# can choose to view recommendations for instances
|
4256
|
-
# instance families or across different instance
|
4257
|
-
# also choose to view your estimated savings
|
4258
|
-
# recommendations with consideration of existing
|
4259
|
-
# 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.
|
4260
4323
|
# @return [Types::RightsizingRecommendationConfiguration]
|
4261
4324
|
#
|
4262
4325
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendationResponse AWS API Documentation
|
@@ -4386,7 +4449,7 @@ module Aws::CostExplorer
|
|
4386
4449
|
# @return [Integer]
|
4387
4450
|
#
|
4388
4451
|
# @!attribute [rw] sort_by
|
4389
|
-
# The value
|
4452
|
+
# The value that you want to sort the data by.
|
4390
4453
|
#
|
4391
4454
|
# The following values are supported for `Key`\:
|
4392
4455
|
#
|
@@ -4404,7 +4467,8 @@ module Aws::CostExplorer
|
|
4404
4467
|
#
|
4405
4468
|
# * `Service`
|
4406
4469
|
#
|
4407
|
-
#
|
4470
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
4471
|
+
# `DESCENDING`.
|
4408
4472
|
# @return [Types::SortDefinition]
|
4409
4473
|
#
|
4410
4474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansCoverageRequest AWS API Documentation
|
@@ -4485,16 +4549,16 @@ module Aws::CostExplorer
|
|
4485
4549
|
# }
|
4486
4550
|
#
|
4487
4551
|
# @!attribute [rw] savings_plans_type
|
4488
|
-
# The Savings Plans recommendation type requested.
|
4552
|
+
# The Savings Plans recommendation type that's requested.
|
4489
4553
|
# @return [String]
|
4490
4554
|
#
|
4491
4555
|
# @!attribute [rw] term_in_years
|
4492
|
-
# The savings plan recommendation term used to generate these
|
4556
|
+
# The savings plan recommendation term that's used to generate these
|
4493
4557
|
# recommendations.
|
4494
4558
|
# @return [String]
|
4495
4559
|
#
|
4496
4560
|
# @!attribute [rw] payment_option
|
4497
|
-
# The payment option used to generate these recommendations.
|
4561
|
+
# The payment option that's used to generate these recommendations.
|
4498
4562
|
# @return [String]
|
4499
4563
|
#
|
4500
4564
|
# @!attribute [rw] account_scope
|
@@ -4517,22 +4581,22 @@ module Aws::CostExplorer
|
|
4517
4581
|
# @return [Integer]
|
4518
4582
|
#
|
4519
4583
|
# @!attribute [rw] lookback_period_in_days
|
4520
|
-
# The lookback period used to generate the recommendation.
|
4584
|
+
# The lookback period that's used to generate the recommendation.
|
4521
4585
|
# @return [String]
|
4522
4586
|
#
|
4523
4587
|
# @!attribute [rw] filter
|
4524
4588
|
# You can filter your recommendations by Account ID with the
|
4525
4589
|
# `LINKED_ACCOUNT` dimension. To filter your recommendations by
|
4526
4590
|
# Account ID, specify `Key` as `LINKED_ACCOUNT` and `Value` as the
|
4527
|
-
# comma-separated Acount ID(s)
|
4528
|
-
# purchase recommendations.
|
4591
|
+
# comma-separated Acount ID(s) that you want to see Savings Plans
|
4592
|
+
# purchase recommendations for.
|
4529
4593
|
#
|
4530
|
-
# For GetSavingsPlansPurchaseRecommendation, the `Filter`
|
4594
|
+
# For GetSavingsPlansPurchaseRecommendation, the `Filter` doesn't
|
4531
4595
|
# include `CostCategories` or `Tags`. It only includes `Dimensions`.
|
4532
4596
|
# With `Dimensions`, `Key` must be `LINKED_ACCOUNT` and `Value` can be
|
4533
|
-
# a single Account ID or multiple comma-separated Account IDs
|
4534
|
-
#
|
4535
|
-
#
|
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.
|
4536
4600
|
# @return [Types::Expression]
|
4537
4601
|
#
|
4538
4602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansPurchaseRecommendationRequest AWS API Documentation
|
@@ -4551,7 +4615,7 @@ module Aws::CostExplorer
|
|
4551
4615
|
end
|
4552
4616
|
|
4553
4617
|
# @!attribute [rw] metadata
|
4554
|
-
# Information
|
4618
|
+
# Information that regards this specific recommendation set.
|
4555
4619
|
# @return [Types::SavingsPlansPurchaseRecommendationMetadata]
|
4556
4620
|
#
|
4557
4621
|
# @!attribute [rw] savings_plans_purchase_recommendation
|
@@ -4668,7 +4732,7 @@ module Aws::CostExplorer
|
|
4668
4732
|
# @return [Integer]
|
4669
4733
|
#
|
4670
4734
|
# @!attribute [rw] sort_by
|
4671
|
-
# The value
|
4735
|
+
# The value that you want to sort the data by.
|
4672
4736
|
#
|
4673
4737
|
# The following values are supported for `Key`\:
|
4674
4738
|
#
|
@@ -4686,7 +4750,8 @@ module Aws::CostExplorer
|
|
4686
4750
|
#
|
4687
4751
|
# * `AmortizedUpfrontCommitment`
|
4688
4752
|
#
|
4689
|
-
#
|
4753
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
4754
|
+
# `DESCENDING`.
|
4690
4755
|
# @return [Types::SortDefinition]
|
4691
4756
|
#
|
4692
4757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilizationDetailsRequest AWS API Documentation
|
@@ -4818,7 +4883,7 @@ module Aws::CostExplorer
|
|
4818
4883
|
# @return [Types::Expression]
|
4819
4884
|
#
|
4820
4885
|
# @!attribute [rw] sort_by
|
4821
|
-
# The value
|
4886
|
+
# The value that you want to sort the data by.
|
4822
4887
|
#
|
4823
4888
|
# The following values are supported for `Key`\:
|
4824
4889
|
#
|
@@ -4832,7 +4897,8 @@ module Aws::CostExplorer
|
|
4832
4897
|
#
|
4833
4898
|
# * `NetSavings`
|
4834
4899
|
#
|
4835
|
-
#
|
4900
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
4901
|
+
# `DESCENDING`.
|
4836
4902
|
# @return [Types::SortDefinition]
|
4837
4903
|
#
|
4838
4904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilizationRequest AWS API Documentation
|
@@ -4847,8 +4913,8 @@ module Aws::CostExplorer
|
|
4847
4913
|
end
|
4848
4914
|
|
4849
4915
|
# @!attribute [rw] savings_plans_utilizations_by_time
|
4850
|
-
# The amount of cost/commitment you used your Savings Plans.
|
4851
|
-
#
|
4916
|
+
# The amount of cost/commitment that you used your Savings Plans. You
|
4917
|
+
# can use it to specify date ranges.
|
4852
4918
|
# @return [Array<Types::SavingsPlansUtilizationByTime>]
|
4853
4919
|
#
|
4854
4920
|
# @!attribute [rw] total
|
@@ -4987,7 +5053,7 @@ module Aws::CostExplorer
|
|
4987
5053
|
# @return [Types::Expression]
|
4988
5054
|
#
|
4989
5055
|
# @!attribute [rw] sort_by
|
4990
|
-
# The value
|
5056
|
+
# The value that you want to sort the data by.
|
4991
5057
|
#
|
4992
5058
|
# The key represents cost and usage metrics. The following values are
|
4993
5059
|
# supported:
|
@@ -5006,19 +5072,20 @@ module Aws::CostExplorer
|
|
5006
5072
|
#
|
5007
5073
|
# * `NormalizedUsageAmount`
|
5008
5074
|
#
|
5009
|
-
#
|
5075
|
+
# The supported values for `SortOrder` are `ASCENDING` and
|
5076
|
+
# `DESCENDING`.
|
5010
5077
|
#
|
5011
|
-
# When
|
5078
|
+
# When you use `SortBy`, `NextPageToken` and `SearchString` aren't
|
5012
5079
|
# supported.
|
5013
5080
|
# @return [Array<Types::SortDefinition>]
|
5014
5081
|
#
|
5015
5082
|
# @!attribute [rw] max_results
|
5016
5083
|
# This field is only used when SortBy is provided in the request. The
|
5017
|
-
# maximum number of objects that
|
5018
|
-
# MaxResults
|
5019
|
-
#
|
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.
|
5020
5087
|
#
|
5021
|
-
# For `GetTags`, MaxResults has an upper
|
5088
|
+
# For `GetTags`, MaxResults has an upper quota of 1000.
|
5022
5089
|
# @return [Integer]
|
5023
5090
|
#
|
5024
5091
|
# @!attribute [rw] next_page_token
|
@@ -5116,12 +5183,12 @@ module Aws::CostExplorer
|
|
5116
5183
|
#
|
5117
5184
|
# @!attribute [rw] time_period
|
5118
5185
|
# The start and end dates of the period that you want to retrieve
|
5119
|
-
# usage forecast for. The start date is
|
5120
|
-
#
|
5121
|
-
# `2017-05-01`, then the cost and usage
|
5122
|
-
# `2017-01-01` up to and including `2017-04-30`
|
5123
|
-
# `2017-05-01`. The start date must be equal to or
|
5124
|
-
# 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.
|
5125
5192
|
# @return [Types::DateInterval]
|
5126
5193
|
#
|
5127
5194
|
# @!attribute [rw] metric
|
@@ -5195,12 +5262,12 @@ module Aws::CostExplorer
|
|
5195
5262
|
# @return [Types::Expression]
|
5196
5263
|
#
|
5197
5264
|
# @!attribute [rw] prediction_interval_level
|
5198
|
-
# Cost Explorer always returns the mean forecast
|
5199
|
-
# You can request a prediction interval around the
|
5200
|
-
# a confidence level. The higher the confidence
|
5201
|
-
# confident Cost Explorer is about the actual value
|
5202
|
-
# prediction interval. Higher confidence levels result
|
5203
|
-
# 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.
|
5204
5271
|
# @return [Integer]
|
5205
5272
|
#
|
5206
5273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetUsageForecastRequest AWS API Documentation
|
@@ -5366,6 +5433,78 @@ module Aws::CostExplorer
|
|
5366
5433
|
include Aws::Structure
|
5367
5434
|
end
|
5368
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
|
+
|
5369
5508
|
# @note When making an API call, you may pass ListCostCategoryDefinitionsRequest
|
5370
5509
|
# data as a hash:
|
5371
5510
|
#
|
@@ -5400,7 +5539,7 @@ module Aws::CostExplorer
|
|
5400
5539
|
end
|
5401
5540
|
|
5402
5541
|
# @!attribute [rw] cost_category_references
|
5403
|
-
# A reference to a Cost Category
|
5542
|
+
# A reference to a Cost Category that contains enough information to
|
5404
5543
|
# identify the Cost Category.
|
5405
5544
|
# @return [Array<Types::CostCategoryReference>]
|
5406
5545
|
#
|
@@ -5444,7 +5583,7 @@ module Aws::CostExplorer
|
|
5444
5583
|
end
|
5445
5584
|
|
5446
5585
|
# @!attribute [rw] resource_tags
|
5447
|
-
# A list of tag key value pairs that are associated with the
|
5586
|
+
# A list of tag key value pairs that are associated with the resource.
|
5448
5587
|
# @return [Array<Types::ResourceTag>]
|
5449
5588
|
#
|
5450
5589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResourceResponse AWS API Documentation
|
@@ -5474,7 +5613,7 @@ module Aws::CostExplorer
|
|
5474
5613
|
include Aws::Structure
|
5475
5614
|
end
|
5476
5615
|
|
5477
|
-
# Details
|
5616
|
+
# Details for the modification recommendation.
|
5478
5617
|
#
|
5479
5618
|
# @!attribute [rw] target_instances
|
5480
5619
|
# Determines whether this instance type is the Amazon Web Services
|
@@ -5494,20 +5633,20 @@ module Aws::CostExplorer
|
|
5494
5633
|
#
|
5495
5634
|
# @!attribute [rw] network_in_bytes_per_second
|
5496
5635
|
# The network inbound throughput utilization measured in Bytes per
|
5497
|
-
# second.
|
5636
|
+
# second (Bps).
|
5498
5637
|
# @return [String]
|
5499
5638
|
#
|
5500
5639
|
# @!attribute [rw] network_out_bytes_per_second
|
5501
5640
|
# The network outbound throughput utilization measured in Bytes per
|
5502
|
-
# second.
|
5641
|
+
# second (Bps).
|
5503
5642
|
# @return [String]
|
5504
5643
|
#
|
5505
5644
|
# @!attribute [rw] network_packets_in_per_second
|
5506
|
-
# The network
|
5645
|
+
# The network inbound packets that are measured in packets per second.
|
5507
5646
|
# @return [String]
|
5508
5647
|
#
|
5509
5648
|
# @!attribute [rw] network_packets_out_per_second
|
5510
|
-
# The network
|
5649
|
+
# The network outbound packets that are measured in packets per
|
5511
5650
|
# second.
|
5512
5651
|
# @return [String]
|
5513
5652
|
#
|
@@ -5850,7 +5989,7 @@ module Aws::CostExplorer
|
|
5850
5989
|
# Details about your recommended reservation purchase.
|
5851
5990
|
#
|
5852
5991
|
# @!attribute [rw] account_id
|
5853
|
-
# The account that this RI recommendation is for.
|
5992
|
+
# The account that this Reserved Instance (RI) recommendation is for.
|
5854
5993
|
# @return [String]
|
5855
5994
|
#
|
5856
5995
|
# @!attribute [rw] instance_details
|
@@ -5921,12 +6060,12 @@ module Aws::CostExplorer
|
|
5921
6060
|
#
|
5922
6061
|
# @!attribute [rw] estimated_monthly_savings_amount
|
5923
6062
|
# How much Amazon Web Services estimates that this specific
|
5924
|
-
# recommendation
|
6063
|
+
# recommendation might save you in a month.
|
5925
6064
|
# @return [String]
|
5926
6065
|
#
|
5927
6066
|
# @!attribute [rw] estimated_monthly_savings_percentage
|
5928
6067
|
# How much Amazon Web Services estimates that this specific
|
5929
|
-
# recommendation
|
6068
|
+
# recommendation might save you in a month, as a percentage of your
|
5930
6069
|
# overall costs.
|
5931
6070
|
# @return [String]
|
5932
6071
|
#
|
@@ -5936,8 +6075,8 @@ module Aws::CostExplorer
|
|
5936
6075
|
# @return [String]
|
5937
6076
|
#
|
5938
6077
|
# @!attribute [rw] estimated_reservation_cost_for_lookback_period
|
5939
|
-
# How much Amazon Web Services estimates that you
|
5940
|
-
#
|
6078
|
+
# How much Amazon Web Services estimates that you might spend for all
|
6079
|
+
# usage during the specified historical period if you had a
|
5941
6080
|
# reservation.
|
5942
6081
|
# @return [String]
|
5943
6082
|
#
|
@@ -6053,10 +6192,10 @@ module Aws::CostExplorer
|
|
6053
6192
|
include Aws::Structure
|
6054
6193
|
end
|
6055
6194
|
|
6056
|
-
# Details
|
6195
|
+
# Details for the resource.
|
6057
6196
|
#
|
6058
6197
|
# @!attribute [rw] ec2_resource_details
|
6059
|
-
# Details
|
6198
|
+
# Details for the Amazon EC2 resource.
|
6060
6199
|
# @return [Types::EC2ResourceDetails]
|
6061
6200
|
#
|
6062
6201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceDetails AWS API Documentation
|
@@ -6107,11 +6246,11 @@ module Aws::CostExplorer
|
|
6107
6246
|
# }
|
6108
6247
|
#
|
6109
6248
|
# @!attribute [rw] key
|
6110
|
-
# The key that
|
6249
|
+
# The key that's associated with the tag.
|
6111
6250
|
# @return [String]
|
6112
6251
|
#
|
6113
6252
|
# @!attribute [rw] value
|
6114
|
-
# The value that
|
6253
|
+
# The value that's associated with the tag.
|
6115
6254
|
# @return [String]
|
6116
6255
|
#
|
6117
6256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceTag AWS API Documentation
|
@@ -6189,8 +6328,8 @@ module Aws::CostExplorer
|
|
6189
6328
|
# @return [Types::TerminateRecommendationDetail]
|
6190
6329
|
#
|
6191
6330
|
# @!attribute [rw] finding_reason_codes
|
6192
|
-
# The list of possible reasons why the recommendation is generated
|
6193
|
-
# 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,
|
6194
6333
|
# CPU, Memory, Network).
|
6195
6334
|
# @return [Array<String>]
|
6196
6335
|
#
|
@@ -6212,7 +6351,8 @@ module Aws::CostExplorer
|
|
6212
6351
|
# recommendations for instances within the same instance families or
|
6213
6352
|
# across different instance families. You can also choose to view your
|
6214
6353
|
# estimated savings that are associated with recommendations with
|
6215
|
-
# consideration of existing Savings Plans or
|
6354
|
+
# consideration of existing Savings Plans or Reserved Instance (RI)
|
6355
|
+
# benefits, or neither.
|
6216
6356
|
#
|
6217
6357
|
# @note When making an API call, you may pass RightsizingRecommendationConfiguration
|
6218
6358
|
# data as a hash:
|
@@ -6305,12 +6445,12 @@ module Aws::CostExplorer
|
|
6305
6445
|
include Aws::Structure
|
6306
6446
|
end
|
6307
6447
|
|
6308
|
-
# The combination of Amazon Web
|
6309
|
-
#
|
6448
|
+
# The combination of Amazon Web Service, linked account, Region, and
|
6449
|
+
# usage type where a cost anomaly is observed.
|
6310
6450
|
#
|
6311
6451
|
# @!attribute [rw] service
|
6312
|
-
# The Amazon Web
|
6313
|
-
#
|
6452
|
+
# The Amazon Web Service name that's associated with the cost
|
6453
|
+
# anomaly.
|
6314
6454
|
# @return [String]
|
6315
6455
|
#
|
6316
6456
|
# @!attribute [rw] region
|
@@ -6365,7 +6505,7 @@ module Aws::CostExplorer
|
|
6365
6505
|
include Aws::Structure
|
6366
6506
|
end
|
6367
6507
|
|
6368
|
-
# The amount of Savings Plans eligible usage that
|
6508
|
+
# The amount of Savings Plans eligible usage that's covered by Savings
|
6369
6509
|
# Plans. All calculations consider the On-Demand equivalent of your
|
6370
6510
|
# Savings Plans usage.
|
6371
6511
|
#
|
@@ -6396,7 +6536,7 @@ module Aws::CostExplorer
|
|
6396
6536
|
# Savings Plans, and total Savings Plans costs for an account.
|
6397
6537
|
#
|
6398
6538
|
# @!attribute [rw] spend_covered_by_savings_plans
|
6399
|
-
# The amount of your Amazon Web Services usage that
|
6539
|
+
# The amount of your Amazon Web Services usage that's covered by a
|
6400
6540
|
# Savings Plans.
|
6401
6541
|
# @return [String]
|
6402
6542
|
#
|
@@ -6475,15 +6615,16 @@ module Aws::CostExplorer
|
|
6475
6615
|
# @return [String]
|
6476
6616
|
#
|
6477
6617
|
# @!attribute [rw] payment_option
|
6478
|
-
# The payment option used to generate the recommendation.
|
6618
|
+
# The payment option that's used to generate the recommendation.
|
6479
6619
|
# @return [String]
|
6480
6620
|
#
|
6481
6621
|
# @!attribute [rw] lookback_period_in_days
|
6482
|
-
# The lookback period in days
|
6622
|
+
# The lookback period in days that's used to generate the
|
6623
|
+
# recommendation.
|
6483
6624
|
# @return [String]
|
6484
6625
|
#
|
6485
6626
|
# @!attribute [rw] savings_plans_purchase_recommendation_details
|
6486
|
-
# Details for the Savings Plans we recommend that you purchase to
|
6627
|
+
# Details for the Savings Plans that we recommend that you purchase to
|
6487
6628
|
# cover existing Savings Plans eligible workloads.
|
6488
6629
|
# @return [Array<Types::SavingsPlansPurchaseRecommendationDetail>]
|
6489
6630
|
#
|
@@ -6542,7 +6683,7 @@ module Aws::CostExplorer
|
|
6542
6683
|
# @return [String]
|
6543
6684
|
#
|
6544
6685
|
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
6545
|
-
# The estimated On-Demand costs you
|
6686
|
+
# The estimated On-Demand costs you expect with no additional
|
6546
6687
|
# commitment, based on your usage of the selected time period and the
|
6547
6688
|
# Savings Plans you own.
|
6548
6689
|
# @return [String]
|
@@ -6617,7 +6758,7 @@ module Aws::CostExplorer
|
|
6617
6758
|
# @return [String]
|
6618
6759
|
#
|
6619
6760
|
# @!attribute [rw] generation_timestamp
|
6620
|
-
# The timestamp
|
6761
|
+
# The timestamp that shows when the recommendations were generated.
|
6621
6762
|
# @return [String]
|
6622
6763
|
#
|
6623
6764
|
# @!attribute [rw] additional_metadata
|
@@ -6688,7 +6829,7 @@ module Aws::CostExplorer
|
|
6688
6829
|
# @return [String]
|
6689
6830
|
#
|
6690
6831
|
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
6691
|
-
# The estimated On-Demand costs you
|
6832
|
+
# The estimated On-Demand costs you expect with no additional
|
6692
6833
|
# commitment. It's based on your usage of the selected time period
|
6693
6834
|
# and the Savings Plans you own.
|
6694
6835
|
# @return [String]
|
@@ -6775,8 +6916,8 @@ module Aws::CostExplorer
|
|
6775
6916
|
# @return [Types::SavingsPlansUtilization]
|
6776
6917
|
#
|
6777
6918
|
# @!attribute [rw] savings
|
6778
|
-
# The amount saved by using existing Savings Plans. Savings
|
6779
|
-
# 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
|
6780
6921
|
# `onDemandCostEquivalent` of the Savings Plans when considering the
|
6781
6922
|
# utilization rate.
|
6782
6923
|
# @return [Types::SavingsPlansSavings]
|
@@ -6796,7 +6937,7 @@ module Aws::CostExplorer
|
|
6796
6937
|
include Aws::Structure
|
6797
6938
|
end
|
6798
6939
|
|
6799
|
-
# The amount of Savings Plans utilization
|
6940
|
+
# The amount of Savings Plans utilization (in hours).
|
6800
6941
|
#
|
6801
6942
|
# @!attribute [rw] time_period
|
6802
6943
|
# The time period of the request.
|
@@ -6808,8 +6949,8 @@ module Aws::CostExplorer
|
|
6808
6949
|
# @return [Types::SavingsPlansUtilization]
|
6809
6950
|
#
|
6810
6951
|
# @!attribute [rw] savings
|
6811
|
-
# The amount saved by using existing Savings Plans. Savings
|
6812
|
-
# 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
|
6813
6954
|
# `onDemandCostEquivalent` of the Savings Plans when considering the
|
6814
6955
|
# utilization rate.
|
6815
6956
|
# @return [Types::SavingsPlansSavings]
|
@@ -6830,7 +6971,7 @@ module Aws::CostExplorer
|
|
6830
6971
|
include Aws::Structure
|
6831
6972
|
end
|
6832
6973
|
|
6833
|
-
# A single daily or monthly Savings Plans utilization rate
|
6974
|
+
# A single daily or monthly Savings Plans utilization rate and details
|
6834
6975
|
# for your account. A management account in an organization have access
|
6835
6976
|
# to member accounts. You can use `GetDimensionValues` to determine the
|
6836
6977
|
# possible dimension values.
|
@@ -6850,7 +6991,7 @@ module Aws::CostExplorer
|
|
6850
6991
|
#
|
6851
6992
|
# @!attribute [rw] savings
|
6852
6993
|
# The amount saved by using existing Savings Plans. Savings returns
|
6853
|
-
# both net savings from savings plans
|
6994
|
+
# both net savings from savings plans and also the
|
6854
6995
|
# `onDemandCostEquivalent` of the Savings Plans when considering the
|
6855
6996
|
# utilization rate.
|
6856
6997
|
# @return [Types::SavingsPlansSavings]
|
@@ -6911,7 +7052,7 @@ module Aws::CostExplorer
|
|
6911
7052
|
include Aws::Structure
|
6912
7053
|
end
|
6913
7054
|
|
6914
|
-
# The details
|
7055
|
+
# The details for how to sort the data.
|
6915
7056
|
#
|
6916
7057
|
# @note When making an API call, you may pass SortDefinition
|
6917
7058
|
# data as a hash:
|
@@ -7008,8 +7149,8 @@ module Aws::CostExplorer
|
|
7008
7149
|
#
|
7009
7150
|
# * The maximum length of a value is 256 characters
|
7010
7151
|
#
|
7011
|
-
# *
|
7012
|
-
# `_
|
7152
|
+
# * Keys and values can only contain alphanumeric characters, spaces,
|
7153
|
+
# and any of the following: `_.:/=+@-`
|
7013
7154
|
#
|
7014
7155
|
# * Keys and values are case sensitive
|
7015
7156
|
#
|
@@ -7107,7 +7248,7 @@ module Aws::CostExplorer
|
|
7107
7248
|
# @return [Types::ResourceUtilization]
|
7108
7249
|
#
|
7109
7250
|
# @!attribute [rw] platform_differences
|
7110
|
-
# Explains the actions you might need to take
|
7251
|
+
# Explains the actions that you might need to take to successfully
|
7111
7252
|
# migrate your workloads from the current instance type to the
|
7112
7253
|
# recommended instance type.
|
7113
7254
|
# @return [Array<String>]
|
@@ -7258,7 +7399,7 @@ module Aws::CostExplorer
|
|
7258
7399
|
#
|
7259
7400
|
# @!attribute [rw] resource_tag_keys
|
7260
7401
|
# A list of tag keys associated with tags that need to be removed from
|
7261
|
-
# the resource. If you specify a tag key that
|
7402
|
+
# the resource. If you specify a tag key that doesn't exist, it's
|
7262
7403
|
# ignored. Although the maximum number of array members is 200,
|
7263
7404
|
# user-tag maximum is 50. The remaining are reserved for Amazon Web
|
7264
7405
|
# Services use.
|
@@ -7382,6 +7523,70 @@ module Aws::CostExplorer
|
|
7382
7523
|
include Aws::Structure
|
7383
7524
|
end
|
7384
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
|
+
|
7385
7590
|
# @note When making an API call, you may pass UpdateCostCategoryDefinitionRequest
|
7386
7591
|
# data as a hash:
|
7387
7592
|
#
|