aws-sdk-pi 1.53.0 → 1.54.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: fae9c2d48c20da534600534a7a138f3b2f270c70c9501a6eff3d5d20b5d491f0
4
- data.tar.gz: 01b4afb8c502d5fbac5467745fb7849160207ca83d50ea7c949a73fa827a80f6
3
+ metadata.gz: 25cf08fbbe41c32a489adb47c765581e5b717f8f83a098a3d4dd8f9707651725
4
+ data.tar.gz: de172c6da9cbe9736c830d3f1aeeb0475bd62702217774113cceabf4364f43c6
5
5
  SHA512:
6
- metadata.gz: 65ae74bdc784080342f8eab844ce9360e4143d387249aa4a42020333923afd0e6fca372be483e2a172c4d76e07a4eb58a31d676851db3e1a604481e474deac80
7
- data.tar.gz: 511430b87c0ae4e776dee35bd9003cf677ad98d212572ffe082f0532454c5d10291211eaecf1f5eac130b46ae6a780bc2e97e7a7c655adf703d7d8772bdc1ead
6
+ metadata.gz: d876f5f79151061c15850eca6e5e506bee665df8f5836829809c51138f3a7731a52102db23bca8aef7cfa26d7811f0f913cc99db2fe6b99256ae0b20ca95b548
7
+ data.tar.gz: edeb53d1019abf274138392483aea539eaf99d2038b9e9bb05c2c814d4e23f38665e4e0d84f77808023208c5c25d505c0cf4b4f1ba694aaf10611200ddbcd058
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2024-04-23)
5
+ ------------------
6
+
7
+ * Feature - Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.
8
+
4
9
  1.53.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -883,7 +883,8 @@ module Aws::PI
883
883
 
884
884
  # Retrieve Performance Insights metrics for a set of data sources over a
885
885
  # time period. You can provide specific dimension groups and dimensions,
886
- # and provide aggregation and filtering criteria for each group.
886
+ # and provide filtering criteria for each group. You must specify an
887
+ # aggregate function for each metric.
887
888
  #
888
889
  # <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
889
890
  # elements, such as SQL statements, only the first 500 bytes are
@@ -911,8 +912,11 @@ module Aws::PI
911
912
  #
912
913
  # @option params [required, Array<Types::MetricQuery>] :metric_queries
913
914
  # An array of one or more queries to perform. Each query must specify a
914
- # Performance Insights metric, and can optionally specify aggregation
915
- # and filtering criteria.
915
+ # Performance Insights metric and specify an aggregate function, and you
916
+ # can provide filtering criteria. You must append the aggregate function
917
+ # to the metric. For example, to find the average for the metric
918
+ # `db.load` you must use `db.load.avg`. Valid values for aggregate
919
+ # functions include `.avg`, `.min`, `.max`, and `.sum`.
916
920
  #
917
921
  # @option params [required, Time,DateTime,Date,Integer,String] :start_time
918
922
  # The date and time specifying the beginning of the requested time
@@ -1372,7 +1376,7 @@ module Aws::PI
1372
1376
  params: params,
1373
1377
  config: config)
1374
1378
  context[:gem_name] = 'aws-sdk-pi'
1375
- context[:gem_version] = '1.53.0'
1379
+ context[:gem_version] = '1.54.0'
1376
1380
  Seahorse::Client::Request.new(handlers, context)
1377
1381
  end
1378
1382
 
@@ -32,7 +32,7 @@ module Aws::PI
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://pi-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -953,8 +953,11 @@ module Aws::PI
953
953
  #
954
954
  # @!attribute [rw] metric_queries
955
955
  # An array of one or more queries to perform. Each query must specify
956
- # a Performance Insights metric, and can optionally specify
957
- # aggregation and filtering criteria.
956
+ # a Performance Insights metric and specify an aggregate function, and
957
+ # you can provide filtering criteria. You must append the aggregate
958
+ # function to the metric. For example, to find the average for the
959
+ # metric `db.load` you must use `db.load.avg`. Valid values for
960
+ # aggregate functions include `.avg`, `.min`, `.max`, and `.sum`.
958
961
  # @return [Array<Types::MetricQuery>]
959
962
  #
960
963
  # @!attribute [rw] start_time
@@ -1456,11 +1459,15 @@ module Aws::PI
1456
1459
  include Aws::Structure
1457
1460
  end
1458
1461
 
1459
- # A single query to be processed. You must provide the metric to query.
1460
- # If no other parameters are specified, Performance Insights returns all
1461
- # data points for the specified metric. Optionally, you can request that
1462
- # the data points be aggregated by dimension group (`GroupBy`), and
1463
- # return only those data points that match your criteria (`Filter`).
1462
+ # A single query to be processed. You must provide the metric to query
1463
+ # and append an aggregate function to the metric. For example, to find
1464
+ # the average for the metric `db.load` you must use `db.load.avg`. Valid
1465
+ # values for aggregate functions include `.avg`, `.min`, `.max`, and
1466
+ # `.sum`. If no other parameters are specified, Performance Insights
1467
+ # returns all data points for the specified metric. Optionally, you can
1468
+ # request that the data points be aggregated by dimension group
1469
+ # (`GroupBy`), and return only those data points that match your
1470
+ # criteria (`Filter`).
1464
1471
  #
1465
1472
  # @!attribute [rw] metric
1466
1473
  # The name of a Performance Insights metric to be measured.
@@ -1476,6 +1483,9 @@ module Aws::PI
1476
1483
  # * The counter metrics listed in [Performance Insights operating
1477
1484
  # system counters][1] in the *Amazon Aurora User Guide*.
1478
1485
  #
1486
+ # * The counter metrics listed in [Performance Insights operating
1487
+ # system counters][2] in the *Amazon RDS User Guide*.
1488
+ #
1479
1489
  # If the number of active sessions is less than an internal
1480
1490
  # Performance Insights threshold, `db.load.avg` and
1481
1491
  # `db.sampledload.avg` are the same value. If the number of active
@@ -1488,6 +1498,7 @@ module Aws::PI
1488
1498
  #
1489
1499
  #
1490
1500
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
1501
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
1491
1502
  # @return [String]
1492
1503
  #
1493
1504
  # @!attribute [rw] group_by
@@ -1640,6 +1651,9 @@ module Aws::PI
1640
1651
  # * The counter metrics listed in [Performance Insights operating
1641
1652
  # system counters][1] in the *Amazon Aurora User Guide*.
1642
1653
  #
1654
+ # * The counter metrics listed in [Performance Insights operating
1655
+ # system counters][2] in the *Amazon RDS User Guide*.
1656
+ #
1643
1657
  # If the number of active sessions is less than an internal
1644
1658
  # Performance Insights threshold, `db.load.avg` and
1645
1659
  # `db.sampledload.avg` are the same value. If the number of active
@@ -1652,6 +1666,7 @@ module Aws::PI
1652
1666
  #
1653
1667
  #
1654
1668
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
1669
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS
1655
1670
  # @return [String]
1656
1671
  #
1657
1672
  # @!attribute [rw] dimensions
data/lib/aws-sdk-pi.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-pi/customizations'
52
52
  # @!group service
53
53
  module Aws::PI
54
54
 
55
- GEM_VERSION = '1.53.0'
55
+ GEM_VERSION = '1.54.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core