aws-sdk-pi 1.53.0 → 1.54.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pi/client.rb +8 -4
- data/lib/aws-sdk-pi/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-pi/types.rb +22 -7
- data/lib/aws-sdk-pi.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25cf08fbbe41c32a489adb47c765581e5b717f8f83a098a3d4dd8f9707651725
|
4
|
+
data.tar.gz: de172c6da9cbe9736c830d3f1aeeb0475bd62702217774113cceabf4364f43c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d876f5f79151061c15850eca6e5e506bee665df8f5836829809c51138f3a7731a52102db23bca8aef7cfa26d7811f0f913cc99db2fe6b99256ae0b20ca95b548
|
7
|
+
data.tar.gz: edeb53d1019abf274138392483aea539eaf99d2038b9e9bb05c2c814d4e23f38665e4e0d84f77808023208c5c25d505c0cf4b4f1ba694aaf10611200ddbcd058
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -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
|
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
|
915
|
-
#
|
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.
|
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?(
|
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"
|
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -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
|
957
|
-
#
|
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
|
-
#
|
1461
|
-
#
|
1462
|
-
#
|
1463
|
-
#
|
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
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.
|
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-
|
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
|