aws-sdk-costexplorer 1.112.0 → 1.114.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dab202d80a354c1213041cac7506862ad7e1ab782b0791c56d905124e996b03f
4
- data.tar.gz: 1589188da51f237eb63019d5edf1c53c11228497c4bca1aa5039363c1947cde6
3
+ metadata.gz: f2374b85791a640d979d5b1bd6e063a70f391d93b9ec5b4da8e415ea088ae676
4
+ data.tar.gz: 565f0866059c9dfe1ee4d193f3fb88985e4ecaa975ef035abe66a86884114548
5
5
  SHA512:
6
- metadata.gz: a261a0de58affc6d01e8fdd8f50f0d7d692c0fcc0bd722f2d1f69896f92d74f571a4ab40a8521b38c390a49164221812b96d35295292ab168ec137dba148c8e3
7
- data.tar.gz: e9e1b4c800f9fd03d0a7cddb9cb50475c6173201a24e3821120c4c91225d31c7c45c76998ea34fce7817c59551405ab894b7f1216ef9392da188aafa7fcd57fa
6
+ metadata.gz: acacd9bc83c3a0075a680b75a78c3872ee2b9ec3d7adce0b817f251d14948e3206da62d5aeeebf5f33d93733a01af41a9802c4ae3aa3537c8b1c7ec6f205ba3f
7
+ data.tar.gz: 453b3a4993497d0bd9f627fcae05f326beabb9f497aff9460eccdc642e633210c0c84b44f114e51e5ddf64e260954d12dbfdaf36352d5aafd871f3c69391e3bf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.114.0 (2024-11-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.113.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.112.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.112.0
1
+ 1.114.0
@@ -1665,8 +1665,8 @@ module Aws::CostExplorer
1665
1665
  # Virginia)`.
1666
1666
  #
1667
1667
  # * The corresponding `Expression` for this example is as follows:
1668
- # `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
1669
- # "us-west-1" ] \} \}`
1668
+ # `{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1",
1669
+ # "us-west-1" ] } }`
1670
1670
  #
1671
1671
  # * As shown in the previous example, lists of dimension values are
1672
1672
  # combined with `OR` when applying the filter.
@@ -1679,8 +1679,8 @@ module Aws::CostExplorer
1679
1679
  # with "a".
1680
1680
  #
1681
1681
  # * The corresponding `Expression` for this example is as follows:
1682
- # `\{ "Dimensions": \{ "Key": "LINKED_ACCOUNT_NAME",
1683
- # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] \} \}`
1682
+ # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
1683
+ # [ "STARTS_WITH" ], "Values": [ "a" ] } }`
1684
1684
  #
1685
1685
  # * Compound `Expression` types with logical operations.
1686
1686
  #
@@ -1692,17 +1692,17 @@ module Aws::CostExplorer
1692
1692
  # us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
1693
1693
  # DataTransfer)`.
1694
1694
  #
1695
- # * The corresponding `Expression` for this example is as follows: `\{
1696
- # "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values": [
1697
- # "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
1698
- # "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions": \{ "Key":
1699
- # "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \} `
1695
+ # * The corresponding `Expression` for this example is as follows: `{
1696
+ # "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
1697
+ # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
1698
+ # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
1699
+ # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
1700
1700
  #
1701
1701
  # <note markdown="1"> Because each `Expression` can have only one operator, the service
1702
1702
  # returns an error if more than one is specified. The following
1703
- # example shows an `Expression` object that creates an error: ` \{
1704
- # "And": [ ... ], "Dimensions": \{ "Key": "USAGE_TYPE", "Values": [
1705
- # "DataTransfer" ] \} \} `
1703
+ # example shows an `Expression` object that creates an error: ` {
1704
+ # "And": [ ... ], "Dimensions": { "Key": "USAGE_TYPE", "Values": [
1705
+ # "DataTransfer" ] } } `
1706
1706
  #
1707
1707
  # The following is an example of the corresponding error message:
1708
1708
  # `"Expression has more than one roots. Only one root operator is
@@ -2211,8 +2211,8 @@ module Aws::CostExplorer
2211
2211
  # Virginia)`.
2212
2212
  #
2213
2213
  # * The corresponding `Expression` for this example is as follows:
2214
- # `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
2215
- # "us-west-1" ] \} \}`
2214
+ # `{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1",
2215
+ # "us-west-1" ] } }`
2216
2216
  #
2217
2217
  # * As shown in the previous example, lists of dimension values are
2218
2218
  # combined with `OR` when applying the filter.
@@ -2225,8 +2225,8 @@ module Aws::CostExplorer
2225
2225
  # with "a".
2226
2226
  #
2227
2227
  # * The corresponding `Expression` for this example is as follows:
2228
- # `\{ "Dimensions": \{ "Key": "LINKED_ACCOUNT_NAME",
2229
- # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] \} \}`
2228
+ # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
2229
+ # [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2230
2230
  #
2231
2231
  # * Compound `Expression` types with logical operations.
2232
2232
  #
@@ -2238,17 +2238,17 @@ module Aws::CostExplorer
2238
2238
  # us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
2239
2239
  # DataTransfer)`.
2240
2240
  #
2241
- # * The corresponding `Expression` for this example is as follows: `\{
2242
- # "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values": [
2243
- # "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
2244
- # "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions": \{ "Key":
2245
- # "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \} `
2241
+ # * The corresponding `Expression` for this example is as follows: `{
2242
+ # "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
2243
+ # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
2244
+ # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
2245
+ # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2246
2246
  #
2247
2247
  # <note markdown="1"> Because each `Expression` can have only one operator, the service
2248
2248
  # returns an error if more than one is specified. The following
2249
- # example shows an `Expression` object that creates an error: ` \{
2250
- # "And": [ ... ], "Dimensions": \{ "Key": "USAGE_TYPE", "Values": [
2251
- # "DataTransfer" ] \} \} `
2249
+ # example shows an `Expression` object that creates an error: ` {
2250
+ # "And": [ ... ], "Dimensions": { "Key": "USAGE_TYPE", "Values": [
2251
+ # "DataTransfer" ] } } `
2252
2252
  #
2253
2253
  # The following is an example of the corresponding error message:
2254
2254
  # `"Expression has more than one roots. Only one root operator is
@@ -2721,8 +2721,8 @@ module Aws::CostExplorer
2721
2721
  # Virginia)`.
2722
2722
  #
2723
2723
  # * The corresponding `Expression` for this example is as follows:
2724
- # `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
2725
- # "us-west-1" ] \} \}`
2724
+ # `{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1",
2725
+ # "us-west-1" ] } }`
2726
2726
  #
2727
2727
  # * As shown in the previous example, lists of dimension values are
2728
2728
  # combined with `OR` when applying the filter.
@@ -2735,8 +2735,8 @@ module Aws::CostExplorer
2735
2735
  # with "a".
2736
2736
  #
2737
2737
  # * The corresponding `Expression` for this example is as follows:
2738
- # `\{ "Dimensions": \{ "Key": "LINKED_ACCOUNT_NAME",
2739
- # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] \} \}`
2738
+ # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
2739
+ # [ "STARTS_WITH" ], "Values": [ "a" ] } }`
2740
2740
  #
2741
2741
  # * Compound `Expression` types with logical operations.
2742
2742
  #
@@ -2748,17 +2748,17 @@ module Aws::CostExplorer
2748
2748
  # us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
2749
2749
  # DataTransfer)`.
2750
2750
  #
2751
- # * The corresponding `Expression` for this example is as follows: `\{
2752
- # "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values": [
2753
- # "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
2754
- # "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions": \{ "Key":
2755
- # "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \} `
2751
+ # * The corresponding `Expression` for this example is as follows: `{
2752
+ # "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
2753
+ # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
2754
+ # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
2755
+ # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
2756
2756
  #
2757
2757
  # <note markdown="1"> Because each `Expression` can have only one operator, the service
2758
2758
  # returns an error if more than one is specified. The following
2759
- # example shows an `Expression` object that creates an error: ` \{
2760
- # "And": [ ... ], "Dimensions": \{ "Key": "USAGE_TYPE", "Values": [
2761
- # "DataTransfer" ] \} \} `
2759
+ # example shows an `Expression` object that creates an error: ` {
2760
+ # "And": [ ... ], "Dimensions": { "Key": "USAGE_TYPE", "Values": [
2761
+ # "DataTransfer" ] } } `
2762
2762
  #
2763
2763
  # The following is an example of the corresponding error message:
2764
2764
  # `"Expression has more than one roots. Only one root operator is
@@ -3242,8 +3242,8 @@ module Aws::CostExplorer
3242
3242
  # Virginia)`.
3243
3243
  #
3244
3244
  # * The corresponding `Expression` for this example is as follows:
3245
- # `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
3246
- # "us-west-1" ] \} \}`
3245
+ # `{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1",
3246
+ # "us-west-1" ] } }`
3247
3247
  #
3248
3248
  # * As shown in the previous example, lists of dimension values are
3249
3249
  # combined with `OR` when applying the filter.
@@ -3256,8 +3256,8 @@ module Aws::CostExplorer
3256
3256
  # with "a".
3257
3257
  #
3258
3258
  # * The corresponding `Expression` for this example is as follows:
3259
- # `\{ "Dimensions": \{ "Key": "LINKED_ACCOUNT_NAME",
3260
- # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] \} \}`
3259
+ # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
3260
+ # [ "STARTS_WITH" ], "Values": [ "a" ] } }`
3261
3261
  #
3262
3262
  # * Compound `Expression` types with logical operations.
3263
3263
  #
@@ -3269,17 +3269,17 @@ module Aws::CostExplorer
3269
3269
  # us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
3270
3270
  # DataTransfer)`.
3271
3271
  #
3272
- # * The corresponding `Expression` for this example is as follows: `\{
3273
- # "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values": [
3274
- # "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
3275
- # "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions": \{ "Key":
3276
- # "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \} `
3272
+ # * The corresponding `Expression` for this example is as follows: `{
3273
+ # "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
3274
+ # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
3275
+ # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
3276
+ # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
3277
3277
  #
3278
3278
  # <note markdown="1"> Because each `Expression` can have only one operator, the service
3279
3279
  # returns an error if more than one is specified. The following
3280
- # example shows an `Expression` object that creates an error: ` \{
3281
- # "And": [ ... ], "Dimensions": \{ "Key": "USAGE_TYPE", "Values": [
3282
- # "DataTransfer" ] \} \} `
3280
+ # example shows an `Expression` object that creates an error: ` {
3281
+ # "And": [ ... ], "Dimensions": { "Key": "USAGE_TYPE", "Values": [
3282
+ # "DataTransfer" ] } } `
3283
3283
  #
3284
3284
  # The following is an example of the corresponding error message:
3285
3285
  # `"Expression has more than one roots. Only one root operator is
@@ -4220,8 +4220,8 @@ module Aws::CostExplorer
4220
4220
  # Virginia)`.
4221
4221
  #
4222
4222
  # * The corresponding `Expression` for this example is as follows:
4223
- # `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
4224
- # "us-west-1" ] \} \}`
4223
+ # `{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1",
4224
+ # "us-west-1" ] } }`
4225
4225
  #
4226
4226
  # * As shown in the previous example, lists of dimension values are
4227
4227
  # combined with `OR` when applying the filter.
@@ -4234,8 +4234,8 @@ module Aws::CostExplorer
4234
4234
  # with "a".
4235
4235
  #
4236
4236
  # * The corresponding `Expression` for this example is as follows:
4237
- # `\{ "Dimensions": \{ "Key": "LINKED_ACCOUNT_NAME",
4238
- # "MatchOptions": [ "STARTS_WITH" ], "Values": [ "a" ] \} \}`
4237
+ # `{ "Dimensions": { "Key": "LINKED_ACCOUNT_NAME", "MatchOptions":
4238
+ # [ "STARTS_WITH" ], "Values": [ "a" ] } }`
4239
4239
  #
4240
4240
  # * Compound `Expression` types with logical operations.
4241
4241
  #
@@ -4247,17 +4247,17 @@ module Aws::CostExplorer
4247
4247
  # us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
4248
4248
  # DataTransfer)`.
4249
4249
  #
4250
- # * The corresponding `Expression` for this example is as follows: `\{
4251
- # "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values": [
4252
- # "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
4253
- # "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions": \{ "Key":
4254
- # "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \} `
4250
+ # * The corresponding `Expression` for this example is as follows: `{
4251
+ # "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
4252
+ # "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName",
4253
+ # "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key":
4254
+ # "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } `
4255
4255
  #
4256
4256
  # <note markdown="1"> Because each `Expression` can have only one operator, the service
4257
4257
  # returns an error if more than one is specified. The following
4258
- # example shows an `Expression` object that creates an error: ` \{
4259
- # "And": [ ... ], "Dimensions": \{ "Key": "USAGE_TYPE", "Values": [
4260
- # "DataTransfer" ] \} \} `
4258
+ # example shows an `Expression` object that creates an error: ` {
4259
+ # "And": [ ... ], "Dimensions": { "Key": "USAGE_TYPE", "Values": [
4260
+ # "DataTransfer" ] } } `
4261
4261
  #
4262
4262
  # The following is an example of the corresponding error message:
4263
4263
  # `"Expression has more than one roots. Only one root operator is
@@ -5095,27 +5095,25 @@ module Aws::CostExplorer
5095
5095
  #
5096
5096
  # The following are examples of valid ThresholdExpressions:
5097
5097
  #
5098
- # * Absolute threshold: `\{ "Dimensions": \{ "Key":
5098
+ # * Absolute threshold: `{ "Dimensions": { "Key":
5099
5099
  # "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [
5100
- # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] \} \}`
5100
+ # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }`
5101
5101
  #
5102
- # * Percentage threshold: `\{ "Dimensions": \{ "Key":
5102
+ # * Percentage threshold: `{ "Dimensions": { "Key":
5103
5103
  # "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [
5104
- # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] \} \}`
5104
+ # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }`
5105
5105
  #
5106
- # * `AND` two thresholds together: `\{ "And": [ \{ "Dimensions": \{
5107
- # "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [
5108
- # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] \} \}, \{
5109
- # "Dimensions": \{ "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
5110
- # "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] \}
5111
- # \} ] \}`
5106
+ # * `AND` two thresholds together: `{ "And": [ { "Dimensions": { "Key":
5107
+ # "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [
5108
+ # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions":
5109
+ # { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [
5110
+ # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }`
5112
5111
  #
5113
- # * `OR` two thresholds together: `\{ "Or": [ \{ "Dimensions": \{ "Key":
5112
+ # * `OR` two thresholds together: `{ "Or": [ { "Dimensions": { "Key":
5114
5113
  # "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [
5115
- # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] \} \}, \{
5116
- # "Dimensions": \{ "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
5117
- # "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] \}
5118
- # \} ] \}`
5114
+ # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions":
5115
+ # { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [
5116
+ # "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }`
5119
5117
  #
5120
5118
  #
5121
5119
  #
@@ -5358,7 +5356,7 @@ module Aws::CostExplorer
5358
5356
  tracer: tracer
5359
5357
  )
5360
5358
  context[:gem_name] = 'aws-sdk-costexplorer'
5361
- context[:gem_version] = '1.112.0'
5359
+ context[:gem_version] = '1.114.0'
5362
5360
  Seahorse::Client::Request.new(handlers, context)
5363
5361
  end
5364
5362
 
@@ -52,15 +52,18 @@ module Aws::CostExplorer
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end